Hi Robert, Thanks a lot for the reply. You are right, the name of the file I reference in the class is different than the name of the actual file in the file system (case-sensitive issue). I have fixed that, so I will update here after I hear from the people in charge for the server, but I think that this is it.
Cheers, Filip On Thu, Jun 28, 2012 at 1:18 AM, robertdzeigler [via Tapestry] < ml-node+s1045711n5714126...@n5.nabble.com> wrote: > I'm guessing you have a file name case sensitivity problem. > The Windows file system is case-insensitive. The commonly used file > systems on Linux are case-sensitive. > On windows: bettertooltip.js and betterToolTip.js are the same file. On > Linux, they are two different files. > Check your files and the way you're referring to them to make sure they > are the same. > > Tapestry is case-insensitive in many places, but when it comes to finding > files, it follows whatever the OS does. > > Cheers, > > Robert > > On Jun 27, 2012, at 6/276:09 PM , filiprd wrote: > > > Hi all, > > > > This is my first post, so here is a quick introduction! My name is > Filip, I > > am currently a PhD student (AI), and I've been using Tapestry for quite > a > > while. And now I have a small problem that I've been trying to solve, > but I > > was not able to find a solution here nor on other pages. > > > > I use Tapestry 5.3.3 for my application, for which I use jQuery in one > page. > > The issue is the following: > > The app works perfectly fine when I run it using maven, or if I deploy a > WAR > > file in the Tomcat server that runs on my local machine (Windows). > However, > > the app throws an exception when the same WAR is deployed in one of our > > servers (Linux). > > > > The exception is the following: > > > > /Unable to locate asset 'context:js/jquery.betterToolTip.js' (the file > does > > not exist)./ > > > > The js files are located in /src/main/webapp/js/ / folder. I use @Import > > annotation to include them: > > > > /@Import(library={"context:js/jquery-1.3.1.min.js", > > "context:js/jquery.betterToolTip.js"}) > > public class Index{ > > ... > > }/ > > > > And for some reason, when deployed on the server it does not work. My > guess > > was that there is an issue with the permissions to access the files, but > I > > was told by the person who maintains the server that it is not the > problem. > > Also, the thing that confuses me is that it works on Tomcat on my > laptop. > > > > I tried to fix it, but without any success. If someone might have a clue > of > > what is the problem or how to solve it, I would appreciate any hints. > > > > Cheers, > > Filip > > > > > > > > -- > > View this message in context: > http://tapestry.1045711.n5.nabble.com/jQuery-file-does-not-exist-when-deployed-on-Tomcat-tp5714125.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=5714126&i=0> > > For additional commands, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=5714126&i=1> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5714126&i=2> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5714126&i=3> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://tapestry.1045711.n5.nabble.com/jQuery-file-does-not-exist-when-deployed-on-Tomcat-tp5714125p5714126.html > To unsubscribe from jQuery file does not exist when deployed on Tomcat?, > click > here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5714125&code=ZmlsaXByZEBnbWFpbC5jb218NTcxNDEyNXwxMzUyOTk0MTg1> > . > NAML<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Filip Radulovic www.filip.milstan.net -- View this message in context: http://tapestry.1045711.n5.nabble.com/jQuery-file-does-not-exist-when-deployed-on-Tomcat-tp5714125p5714127.html Sent from the Tapestry - User mailing list archive at Nabble.com.