• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help me!! about Tomcat and Apache

 
jeff_guo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a application with JSP, and I use Tomcat3.2 and Apache. Recently, I fing that there will be a error dialog to indicate that java.exe occur errors when I run some JSPs(they are all OK before). the error message is, the memory refered by [0x.....] instruction can't be read. Why? if you click ok, then tomcat will terminate(I use JDK1.3). what can I do?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
memory refered by [0x.....] instruction can't be read.
this usually means that your jdk is crashing and so tomcat
goes down with it. To run JSP's tomcat is sufficient.
Apache is a different thing, lets not get into it right now.
So are you able to start tomcat and see the JSP examples...
Let us know.
More importantly, your name is not is accordance with the
javaranch guidelines. Pl. visit http://www.javaranch.com/name.jsp
and re-register. Thanks for your cooperation.
Welcome to the ranch and hope you enjoy it!
- satya
 
Jeff Guo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sure that all the JSP and servlets examples is ok.
 
Jeff Guo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because not all the JSPs will make java.exe crashed, So, through the symptom of this problem, I detect that it usually occur when I evoke a JSP which insert some records into database. but it is not absolute, they also can run one or two times in some time. so I really can't what's wrong with my business.
please help me, thanks in advance.
(whether it is result from my operation system(WinNT4), I don't know).
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
usually occur when I evoke a JSP which insert some records into database.
How sure are you abt your JDBC stuff. all connections closed,
etc etc etc.......Since you mentioned that you get it after a
couple of attempts, chk out this one. then we will worry abt
tomcat.
And Btw Thanks for changing your name. We appreciate it!
regds.
- satya
 
Jeff Guo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have update my tomcat3.1.1 to the version 3.2.1, but i also not ok. so I think there maybe is not problem in tomcat. I doubt that my operation system environment have some things wrong, though I don't like to admit this.
thanks at all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic