- This topic has 1 reply, 2 voices, and was last updated 19 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
corwin42MemberIs there anywhere a tutorial how to setup deployment to application servers under Linux?
I had the problem that I couldn’t start or stop Tomcat5 with myeclipse. My current solution is that I opened the Tomcat home directory so that any user can write to ist. Then the deployment works quite well but I think this is not the best solution under a Linux System. I even have to restart the Tomcat Server every time I redeploy.
I think the best solution for testing would be to start Tomcat in the user context. Is this somehow possible?
Can I use the debugging facilities on a Linux system? If yes, how can I setup this?
Riyad KallaMemberMy current solution is that I opened the Tomcat home directory so that any user can write to ist.
It is assumed that you have a development copy of Tomcat installed that you are deploying to, not a system-wide/production install of Tomcat. So you should likely install Tomcat to your $HOME dir somewhere, like ~/dev/tomcat-5.0. So your solution is correct but I would suggest to just remove the system wide install and move it under your user dir.
I think the best solution for testing would be to start Tomcat in the user context. Is this somehow possible?
If it is possible, our connector does not support it. It is intended to be used against developmental installs of your application server.
Can I use the debugging facilities on a Linux system? If yes, how can I setup this?
Once you get Tomcat installed and running correctly, you should simply be able to set breakpoints in your JSP and Java files, then excercise the application as it is running to hit the break points.
All of these questions are covered in our Working with Web Projects documentation, it IS for Windows, but the same applies to Linux… just imagine the paths are different 😉
-
AuthorPosts