You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Maxim Kolchin <ko...@gmail.com> on 2013/12/15 13:53:01 UTC

404 Not Found - /webjars/jquery/1.8.2/jquery.min.js

Hello,

I downloaded the war from the Download section
(http://marmotta.apache.org/download.html) and deployed it on my
remote server (Tomcat 7.0.42). I opened the Users section
(http://192.168.134.110:8080/marmotta/user/me.html) and in Firebug
console I saw the error indicating that
/webjars/jquery/1.8.2/jquery.min.js is not found, later I found out
that the correct path should be
/marmotta/webjars/jquery/1.8.2/jquery.min.js.

I can see that there are closed issues related to this problem
(MARMOTTA-234 and MARMOTTA-224) with comments saying that the bug is
observed only in case of Tomcat < 7.0.30, but I see this with Tomcat
7.0.42.

Attaching the catalina.out...

Am I doing something wrong or the issues should be reopened?

Thanks in advance!
Max

Re: 404 Not Found - /webjars/jquery/1.8.2/jquery.min.js

Posted by Maxim Kolchin <ko...@gmail.com>.
Hi Sergio,

It works now! :) Thank you for the quick fix!

Max

On Mon, Dec 16, 2013 at 12:01 PM, Sergio Fernández <wi...@apache.org> wrote:
> Hi Maxim,
>
>
> On 15/12/13 13:53, Maxim Kolchin wrote:
>>
>> I downloaded the war from the Download section
>> (http://marmotta.apache.org/download.html) and deployed it on my
>> remote server (Tomcat 7.0.42). I opened the Users section
>> (http://192.168.134.110:8080/marmotta/user/me.html) and in Firebug
>> console I saw the error indicating that
>> /webjars/jquery/1.8.2/jquery.min.js is not found, later I found out
>> that the correct path should be
>> /marmotta/webjars/jquery/1.8.2/jquery.min.js.
>
>
> The path to the script is wrong. I created MARMOTTA-407 to work on it. I
> fixed it in the source code repository, both in the develop and
> maintenance-3.1.x branches. Please, check if it works now for you. At the
> website you have instructions to build Marmotta from the source code:
>
>   http://marmotta.apache.org/installation.html#source
>
>
>> I can see that there are closed issues related to this problem
>> (MARMOTTA-234 and MARMOTTA-224) with comments saying that the bug is
>> observed only in case of Tomcat < 7.0.30, but I see this with Tomcat
>> 7.0.42.
>
>
> Those issues are not really related with yours. It was a much simpler bug.
> But your are right, in principle it could be related.
>
> Thanks for the bug report.
>
> Best regards,
>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at

Re: 404 Not Found - /webjars/jquery/1.8.2/jquery.min.js

Posted by Sergio Fernández <wi...@apache.org>.
Hi Maxim,

On 15/12/13 13:53, Maxim Kolchin wrote:
> I downloaded the war from the Download section
> (http://marmotta.apache.org/download.html) and deployed it on my
> remote server (Tomcat 7.0.42). I opened the Users section
> (http://192.168.134.110:8080/marmotta/user/me.html) and in Firebug
> console I saw the error indicating that
> /webjars/jquery/1.8.2/jquery.min.js is not found, later I found out
> that the correct path should be
> /marmotta/webjars/jquery/1.8.2/jquery.min.js.

The path to the script is wrong. I created MARMOTTA-407 to work on it. I 
fixed it in the source code repository, both in the develop and 
maintenance-3.1.x branches. Please, check if it works now for you. At 
the website you have instructions to build Marmotta from the source code:

   http://marmotta.apache.org/installation.html#source

> I can see that there are closed issues related to this problem
> (MARMOTTA-234 and MARMOTTA-224) with comments saying that the bug is
> observed only in case of Tomcat < 7.0.30, but I see this with Tomcat
> 7.0.42.

Those issues are not really related with yours. It was a much simpler 
bug. But your are right, in principle it could be related.

Thanks for the bug report.

Best regards,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at