ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What errors are you getting? Is Tomcat working properly (the standard pages and samples display OK)? Where and how have you deployed your classes?
Please provide more information when you post - you'll find it easier to get help if people don't end up playing 20 questions to get at what the problem is...
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133
Original Poster
Rep:
I've deployed servlets and jsp under windows many times but under fedora 5 i get 404 error the resource isn't found at all,but under slackware tomcat never works at all.
thanks alot
The good news is that Tomcat does run under Slackware.
I'm assuming that you've created a user/group for Tomcat to run as (for example, user tomcat, group tomcat - not root) and that you can connect to http://localhost:8080/ - is that correct?
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133
Original Poster
Rep:
Should i make a new group for tomcat to run under fedora, that'sn't mysql to do that at all. http://localhost:8080 works enough to play my jsp files , hey i'm sun certified but still dont know what the heck with fedora,although url-mapping is pretty correct. but slackware drives me crazy most programming frameworks never work correctly.
That's odd - Slackware runs my dev tools (Java, Eclipse, Apache/Tomcat, Oracle, CVS, etc.) without any problems.
Yes, I'd create a tomcat group rather than use mysql. The deployment process is the same - just drop your .war file in the webapps directory. If you manually deploy, then you'd put classes under webapps/yourwebappname/WEB-INF/classes. I'm assuming that .jsp files still go under webapps/yourwebappname, I haven't used them for a while now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.