Hi,
I am by no means an expert, however generally I too have had problems
running the latest versions of tomcat using Java < 1.6.0.
I am not sure of the reason but using Java 1.6.0_02 makes most problems
go away. (I am guessing the tomcat 6 distro is compiled with java 1.6?)
Try this to get a working tomcat 1.6.0 (unix only)
- Make an empty directory (i do "adduser appserver")
- Download and install java 1.6.0 into it
- Download and isntall tomcat 6 into it
- Edit catalina.sh to force it to use java 1.6.0.
- Copy your web apps over.
This usually takes me all of 5 minutes on a linux box, and gets me a
stable working version of tomcat every time. (Which we have running
production). When it comes time to upgrade I just repeat above steps
with newer versions in a new directory. The beauty if this is that if
there is a problem you can always go back.
And not only this but I find that ubuntu and some other distros make
some strange changes that cause me problems. (ie, like Ubuntu's
predilections to not use Suns Java. I agree with the philosophy, but in
reality causes much grief).
Best Regards,
Jacob
Deepa Paranjpe wrote:
Hi all,
I was using tomcat's version of 4.1 for a long time and it was working fine. But then I decided to move to version 6. I kept getting these errors -->
javax.servlet.ServletException: Cannot allocate servlet instance for path
/mystuff/servlet/RelatedQuestions
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]