RE: old load-on-startup tag

2002-05-31 Thread Shapira, Yoav

Hi,
Hmm... That should work.  Can you send the actual error message from
tomcat parsing web.xml?

Meanwhile, try just load-on-startup/load-on-startup without a
number.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 8:38 AM
To: [EMAIL PROTECTED]
Subject: old load-on-startup tag

hello !

i try to use tomcat 4.0. I have an aplication which run on tomcat 3.2.4
but
i have a problem with tomcat 4.0. It seems that tomcat 4.0 can't
understand
the tag :
load-on-startup1/load-on-startup in the web.xml file.
Could you say me how can i replace this tag to obtain the same result
in
tomcat 4.0...

Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra


hi,

with your suggestion : load-on-startup/load-on-startup without number i
get the error :

PARSE error at line 154 column -1
org.xml.sax.SAXParseException: Element servlet-mapping allows no further
input; load-on-startup is not allowed.

when i try to run tomcat with a load-on-startup tag with a number, i
don't get any error message because tomcat simply crash

here is the concerned part of my web.xml file :

servlet
servlet-nameOdataJDOinitializer/servlet-name
servlet-classlds.odata.web.servlets.OdataJDOinitializer/servlet-class
load-on-startup1/load-on-startup
/servlet

regards,

Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
[EMAIL PROTECTED]


   
 
Shapira,  
 
YoavTo: Tomcat Users List 
[EMAIL PROTECTED]   
Yoav.Shapiracc:   
 
@mpi.comSubject: RE: old load-on-startup tag
 
   
 
05/31/02   
 
03:00 PM   
 
Please 
 
respond to 
 
Tomcat Users  
 
List  
 
   
 
   
 




Hi,
Hmm... That should work.  Can you send the actual error message from
tomcat parsing web.xml?

Meanwhile, try just load-on-startup/load-on-startup without a
number.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 8:38 AM
To: [EMAIL PROTECTED]
Subject: old load-on-startup tag

hello !

i try to use tomcat 4.0. I have an aplication which run on tomcat 3.2.4
but
i have a problem with tomcat 4.0. It seems that tomcat 4.0 can't
understand
the tag :
load-on-startup1/load-on-startup in the web.xml file.
Could you say me how can i replace this tag to obtain the same result
in
tomcat 4.0...

Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: old load-on-startup tag

2002-05-31 Thread Shapira, Yoav

Howdy,

PARSE error at line 154 column -1
org.xml.sax.SAXParseException: Element servlet-mapping allows no
further
input; load-on-startup is not allowed.

This suggests your put the load-on-startup tag inside a servlet-mapping
element.  It goes inside the servlet element, not servlet-mapping.  See
the Servlet Spec (v2.3 for tomcat 4.x) for details... Does that help?

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra


ok that's help me..
i have another problem. Tomcat crash probably because i have a problem with
the servlet which is loaded on startup. The problem is that i can see the
trace of the error because the DOS window is closed automatically. How can
i change this behaviour ?


Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
[EMAIL PROTECTED]


   
 
Shapira,  
 
YoavTo: Tomcat Users List 
[EMAIL PROTECTED]   
Yoav.Shapiracc:   
 
@mpi.comSubject: RE: old load-on-startup tag
 
   
 
05/31/02   
 
03:42 PM   
 
Please 
 
respond to 
 
Tomcat Users  
 
List  
 
   
 
   
 




Howdy,

PARSE error at line 154 column -1
org.xml.sax.SAXParseException: Element servlet-mapping allows no
further
input; load-on-startup is not allowed.

This suggests your put the load-on-startup tag inside a servlet-mapping
element.  It goes inside the servlet element, not servlet-mapping.  See
the Servlet Spec (v2.3 for tomcat 4.x) for details... Does that help?

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: old load-on-startup tag

2002-05-31 Thread John Niven

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
 Sent: 31 May 2002 14:49
 To: Tomcat Users List
 Subject: RE: old load-on-startup tag
 
 
 
 ok that's help me..
 i have another problem. Tomcat crash probably because i have 
 a problem with the servlet which is loaded on startup. The 
 problem is that i can see the trace of the error because the 
 DOS window is closed automatically. How can i change this behaviour ?
 
 
Patrick

Two options:

1. Open up a DOS window (_DON'T_ double-click on startup.bat).  Change
directory (CD) to $CATALINA_HOME/bin.  Type catalina run.  Tomcat will run
as normal, but the DOS window won't disappear when Tomcat crashes.

2. Install Tomcat as an NT service (check the archives - there are numerous
posts on how to do this).  The messages you'd normally get in the DOS window
will now be logged to $CATALINA_HOME/logs/stderr.txt

HTH
John

 --
John Niven
Please reply through mailing list

 Patrick PIERRA
 Linedata Services Luxembourg
 00 352 29 56 65 282
 [EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra


ok i can see the trace of error with your first solution catalina run
 the problem is :  java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServlet

is because all my servlets extends this class. That's work with tomcat
3.2.4 but not with tomcat 4.0. I think that's because tomcat 4.0 implements
servlet 2.3 spec. The problem is that i use a test environnement (tomcat
3.2) in visual age. Can i found a test environnement that implements the
new servlet 2.3 implementation ?


Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
[EMAIL PROTECTED]


   
 
John Niven 
 
John.Niven@mTo: 'Tomcat Users List' 
[EMAIL PROTECTED] 
arcat.com   cc:   
 
 Subject: RE: old load-on-startup tag
 
05/31/02   
 
04:02 PM   
 
Please 
 
respond to 
 
Tomcat Users  
 
List  
 
   
 
   
 




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: 31 May 2002 14:49
 To: Tomcat Users List
 Subject: RE: old load-on-startup tag



 ok that's help me..
 i have another problem. Tomcat crash probably because i have
 a problem with the servlet which is loaded on startup. The
 problem is that i can see the trace of the error because the
 DOS window is closed automatically. How can i change this behaviour ?


Patrick

Two options:

1. Open up a DOS window (_DON'T_ double-click on startup.bat).  Change
directory (CD) to $CATALINA_HOME/bin.  Type catalina run.  Tomcat will
run
as normal, but the DOS window won't disappear when Tomcat crashes.

2. Install Tomcat as an NT service (check the archives - there are numerous
posts on how to do this).  The messages you'd normally get in the DOS
window
will now be logged to $CATALINA_HOME/logs/stderr.txt

HTH
John

 --
John Niven
Please reply through mailing list

 Patrick PIERRA
 Linedata Services Luxembourg
 00 352 29 56 65 282
 [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: old load-on-startup tag

2002-05-31 Thread Phillip Morelock

this indicates possibly other problems.

1.  Have you set CATALINA_HOME properly?

2.  In the olden days they used to have a separate download for the servlet
api classes that you could put in /lib, but I don't know if that's current
knowledge anymore.

javax.servlet.http.* is still in Servlet 2.3, just slightly expanded.

cheers
fillup


On 5/31/02 7:25 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 
 ok i can see the trace of error with your first solution catalina run
 the problem is :  java.lang.NoClassDefFoundError:
 javax/servlet/http/HttpServlet
 
 is because all my servlets extends this class. That's work with tomcat
 3.2.4 but not with tomcat 4.0. I think that's because tomcat 4.0 implements
 servlet 2.3 spec. The problem is that i use a test environnement (tomcat
 3.2) in visual age. Can i found a test environnement that implements the
 new servlet 2.3 implementation ?
 
 
 Patrick PIERRA
 Linedata Services Luxembourg
 00 352 29 56 65 282
 [EMAIL PROTECTED]
 
 
  
   John Niven
   John.Niven@mTo: 'Tomcat Users List'
 [EMAIL PROTECTED]
   arcat.com   cc:
Subject: RE: old load-on-startup
 tag  
   05/31/02
   04:02 PM
   Please
   respond to
   Tomcat Users
   List
  
  
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: 31 May 2002 14:49
 To: Tomcat Users List
 Subject: RE: old load-on-startup tag
 
 
 
 ok that's help me..
 i have another problem. Tomcat crash probably because i have
 a problem with the servlet which is loaded on startup. The
 problem is that i can see the trace of the error because the
 DOS window is closed automatically. How can i change this behaviour ?
 
 
 Patrick
 
 Two options:
 
 1. Open up a DOS window (_DON'T_ double-click on startup.bat).  Change
 directory (CD) to $CATALINA_HOME/bin.  Type catalina run.  Tomcat will
 run
 as normal, but the DOS window won't disappear when Tomcat crashes.
 
 2. Install Tomcat as an NT service (check the archives - there are numerous
 posts on how to do this).  The messages you'd normally get in the DOS
 window
 will now be logged to $CATALINA_HOME/logs/stderr.txt
 
 HTH
 John
 
 --
 John Niven
 Please reply through mailing list
 
 Patrick PIERRA
 Linedata Services Luxembourg
 00 352 29 56 65 282
 [EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]