[Mulgara-general] Mulgara-2.1.2 WAR cannot load RDF files

Chuck Borromeo cborromeo3 at yahoo.com
Tue Aug 11 17:07:55 UTC 2009


I made the change and ran the 'mulgara-war' ant target.  It didn't fix the error.  I'll just run a .jar file on the server for now.
Thanks,
Chuck



----- Original Message ----
From: Paul Gearon <gearon at ieee.org>
To: Mulgara General <mulgara-general at mulgara.org>
Sent: Tuesday, August 11, 2009 12:14:13 PM
Subject: Re: [Mulgara-general] Mulgara-2.1.2 WAR cannot load RDF files

Hmmm, it looks like the form is trying to load with a relative path
rather than an absolute one.

Try the following and see if it works for you:

Index: src/jar/web/resources/template.html
===================================================================
--- src/jar/web/resources/template.html    (revision 1736)
+++ src/jar/web/resources/template.html    (working copy)
@@ -75,7 +75,7 @@
                   <td colspan="2">&nbsp;</td>
                 </tr>
               </form>
-              <form enctype='multipart/form-data'
action="@@execute@@" method="post" name="UploadForm">
+              <form enctype='multipart/form-data'
action="@@base@@@@execute@@" method="post" name="UploadForm">
                 <tr>
                   <td><strong>File:</strong> </td>
                   <td>


Regards,
Paul
Paul

On Tue, Aug 11, 2009 at 8:54 AM, Paul Gearon<gearon at ieee.org> wrote:
> Hi Chuck,
>
> The link it's supposed to be uploading to should have been:
>  http://ctsaws.dbmi.pitt.edu/mulgara/webui/ExecuteQuery
> But unfortunately it looks like it's dropped the "webui" portion of the path.
>
> I'll see if I can see if there's something obvious to fix it, but I
> won't be able to test until I get back home, sorry.
>
> Paul
>
> On Tue, Aug 11, 2009 at 8:28 AM, Chuck Borromeo<cborromeo3 at yahoo.com> wrote:
>> Hi Paul,
>>  The website I deployed is:
>>
>> http://ctsaws.dbmi.pitt.edu/mulgara/webui
>>
>> I renamed the mulgara-2.1.2.war file to mulgara.war.  Here is the contents of the 404 error message I get after I press the Upload button:
>>
>> HTTP Status 404 - /mulgara/ExecuteQuery
>> type Status report
>> message /mulgara/ExecuteQuery
>> description The requested resource (/mulgara/ExecuteQuery) is not available.
>> Apache Tomcat/5.5.23
>>
>> This is not a pressing worry, I can deploy a mulgara-2.1.2.jar file and run that for now.
>> Thanks,
>> Chuck
>>
>>
>>
>> ----- Original Message ----
>> From: Paul Gearon <gearon at ieee.org>
>> To: Mulgara General <mulgara-general at mulgara.org>
>> Sent: Tuesday, August 11, 2009 11:17:32 AM
>> Subject: Re: [Mulgara-general] Mulgara-2.1.2 WAR cannot load RDF files
>>
>> The servlet for this has to adjust the paths for links on this page so
>> that it can handle a couple of different deployment options. I'm
>> guessing that this got messed up for Tomcat. Unfortunately I'm away
>> from home at the moment, and don't have a Tomcat instance I can easily
>> work with until the end of the week, so I can't look at this problem
>> straight away.
>>
>> BTW, what is the full URL of the web page you're using at the moment
>> please? I'm guessing that the "path" in the URL does not look like
>> /mulgara/ExecuteQuery?
>>
>> Paul
>>
>> On Tue, Aug 11, 2009 at 7:00 AM, Chuck Borromeo<cborromeo3 at yahoo.com> wrote:
>>> Hello,
>>>  I am trying to deploy the Mulgara-2.1.2 .war file on Tomcat5.  I deployed the mulgara-2.1.2.war found in http://www.mulgara.org/files/v2.1.2/mulgara-2.1.2-bin-all.zip.  After starting the Tomcat5 server, I can see the SPARQL Endpoint and Web UI links on the "Mulgara Services" page.
>>>
>>> My problem is I cannot use the Web UI  page to load data into the Mulgara system.  If I try to use the Upload button, I get a 404 Error with the message: The requested resource (/mulgara/ExecuteQuery) is not available.  Was the ExecuteQuery deliberately excluded from the .war?  Is there some other way to load RDF data into a Mulgara system deployed via a .war file?  I was going to try using iTQL shell, but I don't see how to launch the iTQL shell from the files in the .war.
>>>
>>> Thanks,
>>> Chuck
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Mulgara-general mailing list
>>> Mulgara-general at mulgara.org
>>> http://mulgara.org/mailman/listinfo/mulgara-general
>>>
>> _______________________________________________
>> Mulgara-general mailing list
>> Mulgara-general at mulgara.org
>> http://mulgara.org/mailman/listinfo/mulgara-general
>>
>>
>>
>>
>> _______________________________________________
>> Mulgara-general mailing list
>> Mulgara-general at mulgara.org
>> http://mulgara.org/mailman/listinfo/mulgara-general
>>
>
_______________________________________________
Mulgara-general mailing list
Mulgara-general at mulgara.org
http://mulgara.org/mailman/listinfo/mulgara-general


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Mulgara-general mailing list