LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-30-2006, 01:26 PM   #1
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Rep: Reputation: 16
tomcat


hey guys wanna ask
'bout tomcat, if anyone has already deployed jsp files under fedora or slackware, my pages never work .
thanks alot
 
Old 12-30-2006, 02:19 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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...
 
Old 12-31-2006, 01:40 PM   #3
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Original Poster
Rep: Reputation: 16
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
 
Old 12-31-2006, 01:49 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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?
 
Old 12-31-2006, 02:04 PM   #5
sci3ntist
Member
 
Registered: Dec 2006
Distribution: Debian,Slackware,FreeBSD,CentOS,Red Hat,Windows Server 2008
Posts: 133

Original Poster
Rep: Reputation: 16
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.
 
Old 12-31-2006, 02:23 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help regarding tomcat farhank Linux - Software 2 03-24-2008 07:00 AM
How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? g18397 Linux - Software 0 05-16-2006 03:16 AM
Tomcat merchtemeagle Linux - Software 1 03-10-2005 06:14 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration