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

Paul Gearon gearon at ieee.org
Tue Aug 11 19:49:13 UTC 2009


Hi Chuck,

Sorry about the bug. I'll make sure the fix is in the next release.

The difference between the two files is that one represents the
initial page, while the other represents a page full of results. They
are supposed to look the same at the top, so everything down to where
the results start is just a copy/paste. So a change to one file should
have been put into both files. (sorry I missed that in the first
place)

Regards,
Paul

On Tue, Aug 11, 2009 at 12:36 PM, Chuck Borromeo<cborromeo3 at yahoo.com> wrote:
> Hi Paul,
>  The modification to template_head.html worked!  If I just changed template.html, it didn't work.  Modifying both files fixed the issue.
> Thanks,
> Chuck
>
>
>
> ----- Original Message ----
> From: Paul Gearon <gearon at ieee.org>
> To: Mulgara General <mulgara-general at mulgara.org>
> Sent: Tuesday, August 11, 2009 1:37:00 PM
> Subject: Re: [Mulgara-general] Mulgara-2.1.2 WAR cannot load RDF files
>
> Hi Chuck,
>
> Did anything change, or was the error still the same?
>
> I just realized that I only changed one file. This is the page you'd
> see on the first access to the webui. If you'd already submitted any
> queries then it presents another page, and I forgot to change that
> one:
>
> Index: src/jar/web/resources/template_head.html
> ===================================================================
> --- src/jar/web/resources/template_head.html    (revision 1736)
> +++ src/jar/web/resources/template_head.html    (working copy)
> @@ -72,7 +72,7 @@
>                   </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 Gearon
>
> On Tue, Aug 11, 2009 at 10:07 AM, Chuck Borromeo<cborromeo3 at yahoo.com> wrote:
>> 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"> </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
>> _______________________________________________
>> 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
>



More information about the Mulgara-general mailing list