jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Tomcat web implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Tomcat web implementation" Watch "Tomcat web implementation" New topic

Tomcat web implementation

orelia hans
Ranch Hand

Joined: Jan 29, 2004
Posts: 37
The web application I was working on is working fine.... on my machine. I would like to move everything on the server so that everything would be available on the company's intranet.
Do I have to install tomcat on the server all over again? Do I have to have console window running 24/7? Do I have to change my classpath again? Anyone know a website that have a tutorial on all this for my implementation.
Thanks for any help.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Do you have to install Tomcat?
Maybe, maybe not. Depends on whether there's an appserver installed already.
Do you need a console window?
No. You can run Java programs without one. On Unix use the command syntax to push the process to the background, on Windows use javaw instead of java to start Tomcat.
In either case, redirect all output to some logfiles
Do you have to set up the server classpath?
Possibly, if needed to run Tomcat. A well-behaved webapp will use only its internal classpath (WEB-INF/classes and everything in WEB-INF/lib and that't it) which is automatic.
Tomcat startup scripts will set the classpath as needed for Tomcat.
You WILL need to have Java installed on the server of course...
Best contact your network admin. He'll want to control what happens to the server, it's not your place to install software on it (except small tools for personal use, if that's allowed).

orelia hans
Ranch Hand

Joined: Jan 29, 2004
Posts: 37
I read on the internet about JK2 connector connecting tomcat with IIS(internet infromation services). Is it the only way for me to implement my website?
I will install java on the server and also tomcat, but i am not sure about this jk2 connector(jakarta connector).
Please tell me if you know anything about this
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat web implementation
It's not a secret anymore!