To cause a servlet to load on starting tomcat, i found the <load-on-startup> tag has 
been used in tomcat's default web.xml in the conf directory.what does  the no. 
supplied(-2147483646) stand for?.i used the same no. for my own servlet and it worked 
fine.
Try this: Can i create a servlet which loads on tomcat startup,and access database in 
the init method?if yes--my server window showed that the servlet retrieved data from 
database as expected,but then an illegal operation window appeared  and my server 
stopped repeatedly.
if this is due memory shortage is it due my Database,jvm,tomcat being on the same 
machine(Win98,oracle personal ed.,tomcat3.2.1,jdk1.2.2). on suggested by 
Andrew([EMAIL PROTECTED]) i played with the memory settings in dos properties 
frame,but to no avail.(Incidentally can i use multiple jvms.)
this same window appears when i use a jsp page accessing database.but it disappears if 
i use only servlets accessing database.
the msgbox showed the following:

JAVA caused an invalid page fault in
module <unknown> at 0000:1f6c4269.
Registers:
EAX=05d706b4 CS=0177 EIP=1f6c4269 EFLGS=00010297
EBX=05d709d4 SS=017f ESP=050dfd2c EBP=050dfd4c
ECX=00000000 DS=017f ESI=05d70080 FS=35d7
EDX=05d70080 ES=017f EDI=00000000 GS=0000
Bytes at CS:EIP:

Stack dump:
1f7025d1 06821528 00000000 01860000 007b1ec0 00679470 00000000 00000000 050dfda4 
1f702505 05d70080 00000000 00000010 01866a40 007b1ec0 50472958 

this has been a problem too old! please show me a way.(Then i shall kneel to the 
divine in u!)
thanx



[EMAIL PROTECTED]


ddr

____________________________________________________
http://www.monsterindia.com - The Best Jobs. For the Best Minds.



Reply via email to