hello guys im a noob to tomcat, and pretty new to java. I just deployed an application onto my linux server all done through eclipse IDE. however when i put all the files on the Tomcat it dosent see them in other words. i have to put all my jar files under the root of the tomcat install in order for my application to see them? i dont get it. ive been reading that every application needs to have its own web.xml and web-inf directory. wich my has. however the only way my application works is if i litterally put all my jar files in the root/web-inf folder? can someone give me a hint on what i might be doing wrong. why dosent the application default to webapps/learn/web-inf which is where mine is located. I would appreciate any help.
thanks for the article and i apologize i was not clear to begin with sometimes frustuation gets the best of me. Im sure you understand.
Anywho. i have the Jars in WEB-INF/lib already and im working with Tomcat 5.5. im not sure why the application is not working as it supposed to. the funny thing is that if i move the files from my
WEB-INF/lib to the ROOT/WEB-INF/lib the application works...? I'm just not sure why this could be?
Apparently your Tomcat structure is messed up because somehow your app and the root app are mixed up. How did you set up the folder structure of your web app.
Joined: Jun 26, 2011
Bear Bibeault wrote:Apparently your Tomcat structure is messed up because somehow your app and the root app are mixed up. How did you set up the folder structure of your web app.
well i hope im answering this question correctly but basically my application is set up as follows
TomcatInstall/webapps/ROOT/Learn/WEB-INF/lib has all my jars
is this what you are asking me?
Joined: Jun 26, 2011
I'm such an idiot your last post gave me the final clue. I'm placing my files under the ROOT directory when they should be placed under the webapps directory. this was my problem all along. gosh what an idiot I'm.
Thanks for your help.
subject: why dosen't my web application on tomcat see the correct lib file?