RE: Tomcat Won't Start When 1024Mb JVM Memory Specified

2005-04-18 Thread Caldarale, Charles R
 From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat Won't Start When 1024Mb JVM Memory Specified
 
 Is there a 1Gb limit on the JVM?  On Tomcat? 

Not on those, but Windows normally provides only 2GB of virtual space
for each process.  (There's an initialization switch that can change
this to 3GB, but that introduces some other issues.)  Unfortunately,
this space is fragmented, and the JVM heap is allocated in one
contiguous chunk (at least it was in 1.4.1).  I'm a bit surprised you
ran out at 1GB.

 Should I configure by editing startup.bat/catalina.bat instead?

Definitely makes it easier to fiddle with the values until you find the
maxima.  You don't need to start Tomcat to play with -Xmx and the other
heap settings - a simple HelloWorld will suffice.  Always set -Xms and
-Xmx to the same value when you're trying to find the limit.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat won't start

2003-11-03 Thread Nathan Mcminn
The problem posted below appears to be caused by Tomcat not being able
to find catalina.jar.  This file should be (and is) located in
catalina_home/server/lib.  Anybody know why Tomcat would have problems
finding it?

 
 One of our servers running Tomcat as started experiencing an 
 odd problem.  Tomcat will not start, it is complaining about 
 not being able to find some classes.  The problem started 
 shortly after applying some updates using YAST.  The 
 exception it throws is shown below.  We are running Tomcat 
 4.1.24 on JDK 1.4.1-b21 on SUSE 8.  We have another server 
 with a very similar config that works perfectly (only 
 difference is the distribution it runs on, RH vs SUSE)  I 
 have checked CATALINA_HOME and JAVA_HOME and they both point 
 to the correct locations.  I modified catalina.sh to display 
 the CLASSPATH it uses when starting catalina and included it 
 as well.  There are a couple references to this problem in 
 the mailing list archives, but it was never answered.
 
 JAVA_HOME=/usr/lib/java
 CATALINA_HOME=/opt/jakarta 
 CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/bootstrap.jar
 
 Any ideas?
 
 ERROR reading /opt/jakarta/conf/server.xml
 At Line 5 /Server/Listener/ 
 className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0
 
 Catalina.start: java.lang.ClassNotFoundException: 
 org.apache.catalina.mbeans.ServerLifecycleListener
 java.lang.ClassNotFoundException: 
 org.apache.catalina.mbeans.ServerLifecycleListener
 
 
 Nathan McMinn
 Application Developer
 NequalsOne - HealthCare marketing tools 
 mailto:[EMAIL PROTECTED]  http://www.NequalsOne.com 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Tomcat won't start

2003-11-03 Thread Giorgio Franceschetti
I have had a similar problema, but on win XP. The problem was due to the 
fact that I had set the JAVA_HOME and the CATALINA_HOME as session 
variable and not like system ones.
Don't know if this is the case, but
Good luck!
   Giorgio

Nathan Mcminn wrote:

The problem posted below appears to be caused by Tomcat not being able
to find catalina.jar.  This file should be (and is) located in
catalina_home/server/lib.  Anybody know why Tomcat would have problems
finding it?
 

One of our servers running Tomcat as started experiencing an 
odd problem.  Tomcat will not start, it is complaining about 
not being able to find some classes.  The problem started 
shortly after applying some updates using YAST.  The 
exception it throws is shown below.  We are running Tomcat 
4.1.24 on JDK 1.4.1-b21 on SUSE 8.  We have another server 
with a very similar config that works perfectly (only 
difference is the distribution it runs on, RH vs SUSE)  I 
have checked CATALINA_HOME and JAVA_HOME and they both point 
to the correct locations.  I modified catalina.sh to display 
the CLASSPATH it uses when starting catalina and included it 
as well.  There are a couple references to this problem in 
the mailing list archives, but it was never answered.

JAVA_HOME=/usr/lib/java
CATALINA_HOME=/opt/jakarta 
CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/bootstrap.jar

Any ideas?

ERROR reading /opt/jakarta/conf/server.xml
At Line 5 /Server/Listener/ 
className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0

Catalina.start: java.lang.ClassNotFoundException: 
org.apache.catalina.mbeans.ServerLifecycleListener
java.lang.ClassNotFoundException: 
org.apache.catalina.mbeans.ServerLifecycleListener


Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools 
mailto:[EMAIL PROTECTED]  http://www.NequalsOne.com 



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

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



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


RE: Tomcat won't start

2003-11-03 Thread Nathan Mcminn
I don't think that is the problem.  The startup script has no problem
reading JAVA_HOME or CATALINA_HOME.  It is only after bootstrap.jar is
executed and the server.xml file is read that the problem occurs.  It is
almost like the classloader that is being used cannot see catalina.jar
in /server/lib.  Is there any way to determine what classpaths are
available to the classloader at that point?


Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com 

 -Original Message-
 From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] 
 Sent: Monday, November 03, 2003 10:42 AM
 To: Tomcat Users List
 Subject: Re: Tomcat won't start
 
 
 I have had a similar problema, but on win XP. The problem was 
 due to the 
 fact that I had set the JAVA_HOME and the CATALINA_HOME as session 
 variable and not like system ones.
 Don't know if this is the case, but
 Good luck!
 Giorgio
 
 Nathan Mcminn wrote:
 
 The problem posted below appears to be caused by Tomcat not 
 being able 
 to find catalina.jar.  This file should be (and is) located in 
 catalina_home/server/lib.  Anybody know why Tomcat would 
 have problems 
 finding it?
 
  
   
 
 One of our servers running Tomcat as started experiencing an
 odd problem.  Tomcat will not start, it is complaining about 
 not being able to find some classes.  The problem started 
 shortly after applying some updates using YAST.  The 
 exception it throws is shown below.  We are running Tomcat 
 4.1.24 on JDK 1.4.1-b21 on SUSE 8.  We have another server 
 with a very similar config that works perfectly (only 
 difference is the distribution it runs on, RH vs SUSE)  I 
 have checked CATALINA_HOME and JAVA_HOME and they both point 
 to the correct locations.  I modified catalina.sh to display 
 the CLASSPATH it uses when starting catalina and included it 
 as well.  There are a couple references to this problem in 
 the mailing list archives, but it was never answered.
 
 JAVA_HOME=/usr/lib/java
 CATALINA_HOME=/opt/jakarta
 CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/bootstrap.jar
 
 Any ideas?
 
 ERROR reading /opt/jakarta/conf/server.xml
 At Line 5 /Server/Listener/
 className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0
 
 Catalina.start: java.lang.ClassNotFoundException:
 org.apache.catalina.mbeans.ServerLifecycleListener
 java.lang.ClassNotFoundException: 
 org.apache.catalina.mbeans.ServerLifecycleListener
 
 
 Nathan McMinn
 Application Developer
 NequalsOne - HealthCare marketing tools
 mailto:[EMAIL PROTECTED]  http://www.NequalsOne.com 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Tomcat won't start

2003-11-03 Thread Giorgio Franceschetti
Probably it is not that, but I had a similar problem and I edited the 
startup file to echo the values of the variables.
It showed what I expected.
The problem is that tomcat is started in another shell.
This new shell doesn't have its parent's environment variables, only the 
ones set globally.
Bye,
  Giorgio

Nathan Mcminn wrote:

I don't think that is the problem.  The startup script has no problem
reading JAVA_HOME or CATALINA_HOME.  It is only after bootstrap.jar is
executed and the server.xml file is read that the problem occurs.  It is
almost like the classloader that is being used cannot see catalina.jar
in /server/lib.  Is there any way to determine what classpaths are
available to the classloader at that point?

Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com 

 

-Original Message-
From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2003 10:42 AM
To: Tomcat Users List
Subject: Re: Tomcat won't start

I have had a similar problema, but on win XP. The problem was 
due to the 
fact that I had set the JAVA_HOME and the CATALINA_HOME as session 
variable and not like system ones.
Don't know if this is the case, but
Good luck!
   Giorgio

Nathan Mcminn wrote:

   

The problem posted below appears to be caused by Tomcat not 
 

being able 
   

to find catalina.jar.  This file should be (and is) located in 
catalina_home/server/lib.  Anybody know why Tomcat would 
 

have problems 
   

finding it?



 

One of our servers running Tomcat as started experiencing an
odd problem.  Tomcat will not start, it is complaining about 
not being able to find some classes.  The problem started 
shortly after applying some updates using YAST.  The 
exception it throws is shown below.  We are running Tomcat 
4.1.24 on JDK 1.4.1-b21 on SUSE 8.  We have another server 
with a very similar config that works perfectly (only 
difference is the distribution it runs on, RH vs SUSE)  I 
have checked CATALINA_HOME and JAVA_HOME and they both point 
to the correct locations.  I modified catalina.sh to display 
the CLASSPATH it uses when starting catalina and included it 
as well.  There are a couple references to this problem in 
the mailing list archives, but it was never answered.

JAVA_HOME=/usr/lib/java
CATALINA_HOME=/opt/jakarta
CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/bootstrap.jar
Any ideas?

ERROR reading /opt/jakarta/conf/server.xml
At Line 5 /Server/Listener/
className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleListener
java.lang.ClassNotFoundException: 
org.apache.catalina.mbeans.ServerLifecycleListener


Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]  http://www.NequalsOne.com 




   

-
   

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

   

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


 

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

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



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


Re: Tomcat Won't start on NT

2003-01-18 Thread Manavendra Gupta
This problem of running tomcat 4.1 and above, with JDK 1.4 and above has
been documented (and quite well too) at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
(scroll down to the section XML Parsers and JDK 1.4).

In essence, the conflict is caused by the built-in JAXP parser supplied with
JDK1.4 and the one you are trying to use for your application. You can still
use JDK 1.4 or above, but you'd need to set the parameter
java.endorsed.dirs, while installing the application.Read
http://java.sun.com/j2se/1.4/docs/guide/standards/index.html for more
information.

~Manav.
- Original Message -
From: Stefán Freyr Stefánsson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 5:13 AM
Subject: Re: Tomcat Won't start on NT


 I think you can still use JDK 1.3 but I'd reccommend using 1.4.

 How you get this to work on JDK 1.3, I'm not sure... you can start by
trying
 to get an XML parser implementation (like Xerces) and either put that
 somewhere in your classpath or (better yet since I hate the global
classpath)
 put it in your {TOMCAT_HOME}/lib directory.

 I don't know if it's enough to just put it there but at least it's a
starting
 point.  You may need to configure some things but I don't know more about
 that.  I seem to recall reading that you need to remove the jaxp.jar and
 parser.jar files when you put xerces.jar instead so the classloader
doesn't
 get confused.

 Go ahead and try that and let us know how it works out.

 Regards, Stefan.

 p.s. don't completely delete the jaxp.jar and parser.jar files... just
move
 them somewhere temporarily since I only vaguely remember reading this...
this
 might not even be neccessary at all.

 On Monday 13 January 2003 12:33, Raj wrote:
  But can't I use JDK 1.3? Is it absolutely necessary to use 1.4?
 
  - Original Message -
  From: Stefán Freyr Stefánsson [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, January 13, 2003 5:51 PM
  Subject: Re: Tomcat Won't start on NT
 
 
  I imagine that you have a problem with an XML parser definition.  If you
  have
  JDK 1.4.x installed you might try to run tomcat using that JDK since it
has
  a
  built in XML implementation.
 
  Regards, Stefan.
 
  On Monday 13 January 2003 12:03, Raj wrote:
   Hello Reynir,
   This is what I get. What could be wrong?
  
   C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
   Using CATALINA_BASE:   ..
   Using CATALINA_HOME:   ..
   Using CATALINA_TMPDIR: ..\temp
   Using JAVA_HOME:   c:\jdk1.3
   Exception during startup processing
   java.lang.reflect.InvocationTargetException:
   javax.xml.parsers.FactoryConfigurat
   ionError: Provider null could not be instantiated:
   java.lang.NullPointerExceptio
   n
   at javax.xml.parsers.SAXParserFactory.newInstance(Unknown
Source)
   at
   org.apache.commons.digester.Digester.getFactory(Digester.java:511)
   at
   org.apache.commons.digester.Digester.getParser(Digester.java:676) at
   org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
   at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
   at
org.apache.catalina.startup.Catalina.start(Catalina.java:449)
   at
   org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at
   org.apache.catalina.startup.Catalina.process(Catalina.java:180) at
   java.lang.reflect.Method.invoke(Native Method)
   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
  
   C:\Program Files\Apache Group\Tomcat 4.1\bin


 --
 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: Tomcat Won't start on NT

2003-01-13 Thread Reynir Hübner
There are many things that may be wrong.
Try opening a command console, browse to the tomcat/bin directory and type in the 
following to start up tomcat :
C:\ tomcat\bin\catalina run

It will then try to start it self on the console and you should be able to see the 
error messages as the error happens.

Hope it helps
-reynir


 -Original Message-
 From: Raj [mailto:[EMAIL PROTECTED]]
 Sent: 13. janúar 2003 10:51
 To: Tomcat Users List
 Subject: Tomcat Won't start on NT


 Hi,
 I installed Tomcat 4.1.17 on Win NT 4. Installation went
 through fine without any problems. Previously, I have
 installed JDK 1.3.0. When I started installing, it said
 Using JDK found in c:\jdk1.3. Then, when I click on
 StartProgram FilesApache GroupStart Tomcat, nothing happens. The
 Startconsole
 window comes up, stays for a second, and then vanishesIt
 is working on a different Win NT machine. What could be the problem?

 Thanks and regards,
 Raj


 --
 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: Tomcat Won't start on NT

2003-01-13 Thread Triptpal Singh Lamba

Raj do a ctrl alt delete and tell us if tomcat the process is running or
not. It is possible that you chose run as a system process while
installing on NT.

To do a double check run it as you are and then check
http://localhost:portno/

If u see the page - it means tomcat is running as a background process
and u need to make it not disappear. If not then tomcat could be
throwing some expceptions which is the 2nd thing we will go for.

Tript Singh


-Original Message-
From: Raj [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 5:51 AM
To: Tomcat Users List
Subject: Tomcat Won't start on NT


Hi,
I installed Tomcat 4.1.17 on Win NT 4. Installation went through fine
without any problems. Previously, I have installed JDK 1.3.0. When I
started installing, it said Using JDK found in c:\jdk1.3. Then, when I
click on
StartProgram FilesApache GroupStart Tomcat, nothing happens. The
Startconsole
window comes up, stays for a second, and then vanishesIt is working
on a different Win NT machine. What could be the problem?

Thanks and regards,
Raj


--
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: Tomcat Won't start on NT

2003-01-13 Thread Raj
In Control PanelServices, Tomcat is Started. In the processes list, I can
see Tomcat.exe, but it is not running because I can't view localhost:8080. I
even tried reading the startup.bat file and figured out that it calls
CATALINA.bat with a start option. So, I typed catalina start, but didn't
work.

- Original Message -
From: Triptpal Singh Lamba [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 5:01 PM
Subject: RE: Tomcat Won't start on NT



 Raj do a ctrl alt delete and tell us if tomcat the process is running or
 not. It is possible that you chose run as a system process while
 installing on NT.

 To do a double check run it as you are and then check
 http://localhost:portno/

 If u see the page - it means tomcat is running as a background process
 and u need to make it not disappear. If not then tomcat could be
 throwing some expceptions which is the 2nd thing we will go for.

 Tript Singh





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




RE: Tomcat Won't start on NT

2003-01-13 Thread Reynir Hübner
Catalina run (not catalina start).
Read the catalina log (from your tomcat\logs\ directory).

Often it's because you have an error in one of the configuration XML files or because 
there is something else running on the port you are trying to start tomcat on.

Hope it helps
-reynir


 -Original Message-
 From: Raj [mailto:[EMAIL PROTECTED]]
 Sent: 13. janúar 2003 11:43
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Tomcat Won't start on NT


 In Control PanelServices, Tomcat is Started. In the
 processes list, I can see Tomcat.exe, but it is not running
 because I can't view localhost:8080. I even tried reading the
 startup.bat file and figured out that it calls CATALINA.bat
 with a start option. So, I typed catalina start, but didn't work.

 - Original Message -
 From: Triptpal Singh Lamba [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 5:01 PM
 Subject: RE: Tomcat Won't start on NT


 
  Raj do a ctrl alt delete and tell us if tomcat the process
 is running
  or not. It is possible that you chose run as a system process while
  installing on NT.
 
  To do a double check run it as you are and then check
  http://localhost:portno/
 
  If u see the page - it means tomcat is running as a
 background process
  and u need to make it not disappear. If not then tomcat could be
  throwing some expceptions which is the 2nd thing we will go for.
 
  Tript Singh
 
 



 --
 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: Tomcat Won't start on NT

2003-01-13 Thread Raj

Hello Reynir,
This is what I get. What could be wrong?

C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   c:\jdk1.3
Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurat
ionError: Provider null could not be instantiated:
java.lang.NullPointerExceptio
n
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at
org.apache.commons.digester.Digester.getFactory(Digester.java:511)
at org.apache.commons.digester.Digester.getParser(Digester.java:676)
at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

C:\Program Files\Apache Group\Tomcat 4.1\bin


- Original Message -
From: Reynir Hübner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 4:25 PM
Subject: RE: Tomcat Won't start on NT


There are many things that may be wrong.
Try opening a command console, browse to the tomcat/bin directory and type
in the following to start up tomcat :
C:\ tomcat\bin\catalina run

It will then try to start it self on the console and you should be able to
see the error messages as the error happens.

Hope it helps
-reynir



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




Re: Tomcat Won't start on NT

2003-01-13 Thread Stefán Freyr Stefánsson
I imagine that you have a problem with an XML parser definition.  If you have 
JDK 1.4.x installed you might try to run tomcat using that JDK since it has a 
built in XML implementation.

Regards, Stefan.

On Monday 13 January 2003 12:03, Raj wrote:
 Hello Reynir,
 This is what I get. What could be wrong?

 C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
 Using CATALINA_BASE:   ..
 Using CATALINA_HOME:   ..
 Using CATALINA_TMPDIR: ..\temp
 Using JAVA_HOME:   c:\jdk1.3
 Exception during startup processing
 java.lang.reflect.InvocationTargetException:
 javax.xml.parsers.FactoryConfigurat
 ionError: Provider null could not be instantiated:
 java.lang.NullPointerExceptio
 n
 at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
 at
 org.apache.commons.digester.Digester.getFactory(Digester.java:511)
 at
 org.apache.commons.digester.Digester.getParser(Digester.java:676) at
 org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
 at org.apache.commons.digester.Digester.parse(Digester.java:1495)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

 C:\Program Files\Apache Group\Tomcat 4.1\bin


 - Original Message -
 From: Reynir Hübner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 4:25 PM
 Subject: RE: Tomcat Won't start on NT


 There are many things that may be wrong.
 Try opening a command console, browse to the tomcat/bin directory and type
 in the following to start up tomcat :
 C:\ tomcat\bin\catalina run

 It will then try to start it self on the console and you should be able to
 see the error messages as the error happens.

 Hope it helps
 -reynir


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




Re: Tomcat Won't start on NT

2003-01-13 Thread Raj
But can't I use JDK 1.3? Is it absolutely necessary to use 1.4?

- Original Message -
From: Stefán Freyr Stefánsson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 5:51 PM
Subject: Re: Tomcat Won't start on NT


I imagine that you have a problem with an XML parser definition.  If you
have
JDK 1.4.x installed you might try to run tomcat using that JDK since it has
a
built in XML implementation.

Regards, Stefan.

On Monday 13 January 2003 12:03, Raj wrote:
 Hello Reynir,
 This is what I get. What could be wrong?

 C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
 Using CATALINA_BASE:   ..
 Using CATALINA_HOME:   ..
 Using CATALINA_TMPDIR: ..\temp
 Using JAVA_HOME:   c:\jdk1.3
 Exception during startup processing
 java.lang.reflect.InvocationTargetException:
 javax.xml.parsers.FactoryConfigurat
 ionError: Provider null could not be instantiated:
 java.lang.NullPointerExceptio
 n
 at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
 at
 org.apache.commons.digester.Digester.getFactory(Digester.java:511)
 at
 org.apache.commons.digester.Digester.getParser(Digester.java:676) at
 org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
 at org.apache.commons.digester.Digester.parse(Digester.java:1495)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

 C:\Program Files\Apache Group\Tomcat 4.1\bin



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




RE: Tomcat Won't start on NT

2003-01-13 Thread Reynir Hübner
I suspect the same as stefán. 

No you can use 1.4. bu then you have to download the correct full version of tomcat 
(not the LE dist). 

http://apache.rhnet.is/dist/jakarta/tomcat-4/binaries/

Hope it helps
-reynir

 -Original Message-
 From: Raj [mailto:[EMAIL PROTECTED]] 
 Sent: 13. janúar 2003 12:33
 To: Tomcat Users List
 Subject: Re: Tomcat Won't start on NT
 
 
 But can't I use JDK 1.3? Is it absolutely necessary to use 1.4?
 
 - Original Message -
 From: Stefán Freyr Stefánsson [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 5:51 PM
 Subject: Re: Tomcat Won't start on NT
 
 
 I imagine that you have a problem with an XML parser 
 definition.  If you have JDK 1.4.x installed you might try to 
 run tomcat using that JDK since it has a built in XML implementation.
 
 Regards, Stefan.
 
 On Monday 13 January 2003 12:03, Raj wrote:
  Hello Reynir,
  This is what I get. What could be wrong?
 
  C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
  Using CATALINA_BASE:   ..
  Using CATALINA_HOME:   ..
  Using CATALINA_TMPDIR: ..\temp
  Using JAVA_HOME:   c:\jdk1.3
  Exception during startup processing
  java.lang.reflect.InvocationTargetException:
  javax.xml.parsers.FactoryConfigurat
  ionError: Provider null could not be instantiated: 
  java.lang.NullPointerExceptio n
  at 
 javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
  at
  org.apache.commons.digester.Digester.getFactory(Digester.java:511)
  at
  org.apache.commons.digester.Digester.getParser(Digester.java:676) at
  org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
  at 
 org.apache.commons.digester.Digester.parse(Digester.java:1495)
  at 
 org.apache.catalina.startup.Catalina.start(Catalina.java:449)
  at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
  at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:180)
  at java.lang.reflect.Method.invoke(Native Method)
  at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
  C:\Program Files\Apache Group\Tomcat 4.1\bin
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [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: Tomcat Won't start on NT

2003-01-13 Thread Raj
You mean I can still use JDK 1.3?

- Original Message -
From: Reynir Hübner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 6:04 PM
Subject: RE: Tomcat Won't start on NT


I suspect the same as stefán.

No you can use 1.4. bu then you have to download the correct full version of
tomcat (not the LE dist).

http://apache.rhnet.is/dist/jakarta/tomcat-4/binaries/

Hope it helps
-reynir



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




RE: Tomcat Won't start on NT

2003-01-13 Thread Reynir Hübner
Yeah... 


 -Original Message-
 From: Raj [mailto:[EMAIL PROTECTED]] 
 Sent: 13. janúar 2003 12:41
 To: Tomcat Users List
 Subject: Re: Tomcat Won't start on NT
 
 
 You mean I can still use JDK 1.3?
 
 - Original Message -
 From: Reynir Hübner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 6:04 PM
 Subject: RE: Tomcat Won't start on NT
 
 
 I suspect the same as stefán.
 
 No you can use 1.4. bu then you have to download the correct 
 full version of tomcat (not the LE dist).
 
http://apache.rhnet.is/dist/jakarta/tomcat-4/binaries/

Hope it helps
-reynir



--
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: Tomcat Won't start on NT

2003-01-13 Thread Stefán Freyr Stefánsson
I think you can still use JDK 1.3 but I'd reccommend using 1.4.

How you get this to work on JDK 1.3, I'm not sure... you can start by trying 
to get an XML parser implementation (like Xerces) and either put that 
somewhere in your classpath or (better yet since I hate the global classpath) 
put it in your {TOMCAT_HOME}/lib directory.

I don't know if it's enough to just put it there but at least it's a starting 
point.  You may need to configure some things but I don't know more about 
that.  I seem to recall reading that you need to remove the jaxp.jar and 
parser.jar files when you put xerces.jar instead so the classloader doesn't 
get confused.

Go ahead and try that and let us know how it works out.

Regards, Stefan.

p.s. don't completely delete the jaxp.jar and parser.jar files... just move 
them somewhere temporarily since I only vaguely remember reading this... this 
might not even be neccessary at all.

On Monday 13 January 2003 12:33, Raj wrote:
 But can't I use JDK 1.3? Is it absolutely necessary to use 1.4?

 - Original Message -
 From: Stefán Freyr Stefánsson [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 5:51 PM
 Subject: Re: Tomcat Won't start on NT


 I imagine that you have a problem with an XML parser definition.  If you
 have
 JDK 1.4.x installed you might try to run tomcat using that JDK since it has
 a
 built in XML implementation.

 Regards, Stefan.

 On Monday 13 January 2003 12:03, Raj wrote:
  Hello Reynir,
  This is what I get. What could be wrong?
 
  C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
  Using CATALINA_BASE:   ..
  Using CATALINA_HOME:   ..
  Using CATALINA_TMPDIR: ..\temp
  Using JAVA_HOME:   c:\jdk1.3
  Exception during startup processing
  java.lang.reflect.InvocationTargetException:
  javax.xml.parsers.FactoryConfigurat
  ionError: Provider null could not be instantiated:
  java.lang.NullPointerExceptio
  n
  at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
  at
  org.apache.commons.digester.Digester.getFactory(Digester.java:511)
  at
  org.apache.commons.digester.Digester.getParser(Digester.java:676) at
  org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
  at org.apache.commons.digester.Digester.parse(Digester.java:1495)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
  at
  org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at
  org.apache.catalina.startup.Catalina.process(Catalina.java:180) at
  java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
  C:\Program Files\Apache Group\Tomcat 4.1\bin


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




Re: Tomcat Won't start on NT

2003-01-13 Thread Raj
Hello Reynir and all,
I downloaded 4.1.18 (not the LE), but still I get the same exception

C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run
Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   c:\jdk1.3
Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurat
ionError: Provider null could not be instantiated:
java.lang.NullPointerExceptio
n
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at
org.apache.commons.digester.Digester.getFactory(Digester.java:511)
at org.apache.commons.digester.Digester.getParser(Digester.java:676)
at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:892)
at org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

C:\Program Files\Apache Group\Tomcat 4.1\bin

Is JDK1.4 the only way out?

 - Original Message -
 From: Reynir Hübner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 13, 2003 6:04 PM
 Subject: RE: Tomcat Won't start on NT


 I suspect the same as stefán.

 No you can use 1.4. bu then you have to download the correct
 full version of tomcat (not the LE dist).

http://apache.rhnet.is/dist/jakarta/tomcat-4/binaries/

Hope it helps
-reynir



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




Re: Tomcat won't start.

2002-05-23 Thread Glen Verran

Hi Barbara,

I am using tomcat 4.0.3 full, not the LE one.

~Glen


 Hi Glen,

 I guess you have tomcat4.0.3 LE. This version of Tomcat does not
 include an XML Parser
 since it is designed for use with jdk1.4 (jdk1.4 has an XML Parser
included).

 If I am right, the solution is:
 Get the other Tomcat edition (not the lightweight one).

 regards,

 Barbara



 Tomcat won't start when I start the Tomat Service.  I check the stdout.log
 file and get the following error below:

 Can somebody please help me in resolving the reason why I am getting this
 and how I can get Tomcat to start and run?This is very urgent that I
get
 this going.

 Thanks
 ~Glen

 Create Catalina server
 Exception during startup processing
 java.lang.reflect.InvocationTargetException:
 javax.xml.parsers.FactoryConfigurationError: Provider
 org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated:
 java.lang.SecurityException: sealing violation
  at
 javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:141)
  at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
  at
 org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:189)
  at

org.apache.catalina.startup.CatalinaService.execute(CatalinaService.java:171
 )
  at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
  at java.lang.reflect.Method.invoke(Native Method)
  at

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:428)



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




Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-27 Thread Krishna Muthyala

I have been using xerces with 1.3.1 albeit on WinNT
and have no problems with it. You have to make sure in
your tomcat.properties, wrapper.properties and
tomcat.bat, you mention xerces.jar on the top where
ever you configure the library files

for example in tomcat.properties
wrapper.classpath=c:\tomcat\lib\xerces.jar; 
wrapper.classpath=

the xerces.jar needs to load up in the context first
and everything should work

Goodluck
Kris


--- pete [EMAIL PROTECTED] wrote:
 I get this. It sucks.
 
 The issue, for me at least, stems from the fact that
 i am running a 
 Struts project, and i need to override the jaxp.jar
 classes with xerces 
 parser classes.
 
 I previously did this by putting a jar named
 0xerces.jar in the lib/ 
 folder of my tomcat install, which worked fine,
 since those classes 
 loaded before the ones specified in jaxp.jar.
 
 This worked great with IBM's JDK1.3.0 - never used
 Sun's 1.2.2 on Linux.
 
 However, since 'upgrading' to Sun's JDK1.3.1 with
 Hotspot, the JVM 
 segfaults when tomcat starts up, giving the same
 error you describe.
 
 I'm not sure why this happens, but maybe 1.3.1
 doesn't like having its 
 classes overridden.
 
 There are 2 ways around this - invoke the JVM with
 the '-classic' 
 switch, thus disabling the JIT, or to remove
 0xerces.jar from lib/, 
 which breaks my Struts projects.
 
 The third solution is not to use the JDK1.3.1 at
 all, and stick with the 
 IBM JDK, which is my current course of action.
 
 Hope this helps, and i hope you find a better
 solution than i did.
 
 -Pete
 
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-27 Thread Jeffrey Lam

Switching to IBM's JDK 1.3 solved my problem of the HttpConnectionHandler not
being able to start.  Thank you!

I was using Sun's JDK 1.3.0_02 and my problem arose when I upgraded to Sun's
JDK1.3.1

Thanks again!

- Original Message -
From: pete [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 0:58
Subject: Re: Tomcat won't start with j2sdk 1.3.1  Linux


 I get this. It sucks.

 The issue, for me at least, stems from the fact that i am running a
 Struts project, and i need to override the jaxp.jar classes with xerces
 parser classes.

 I previously did this by putting a jar named 0xerces.jar in the lib/
 folder of my tomcat install, which worked fine, since those classes
 loaded before the ones specified in jaxp.jar.

 This worked great with IBM's JDK1.3.0 - never used Sun's 1.2.2 on Linux.

 However, since 'upgrading' to Sun's JDK1.3.1 with Hotspot, the JVM
 segfaults when tomcat starts up, giving the same error you describe.

 I'm not sure why this happens, but maybe 1.3.1 doesn't like having its
 classes overridden.

 There are 2 ways around this - invoke the JVM with the '-classic'
 switch, thus disabling the JIT, or to remove 0xerces.jar from lib/,
 which breaks my Struts projects.

 The third solution is not to use the JDK1.3.1 at all, and stick with the
 IBM JDK, which is my current course of action.

 Hope this helps, and i hope you find a better solution than i did.

 -Pete








Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-27 Thread Peter Davison

We've been using Sun's JDK 1.3.1 on Linux for a while now.
Currently we use Tomcat 3.2.1 and xerces version 1.3.0.

It seemed to work fine on RedHat 6.1 but on 7.1 there was a link that missing.
I think I experienced the same seg fault issue that is referred to below.

If this is the problem it can be fixed by doing the following as root:

cd /lib/i686

The required link is libpthread.so.  If it isn't there then create it:

ln -s libpthread.so.0 libpthread.so

Then run:
/sbin/ldconfig

This fixed the problem with regards to running 1.3.1 on RedHat Linux 7.1.

Hope this helps.

P.

On Wed, 27 Jun 2001 11:33:37 -0400
Jeffrey Lam [EMAIL PROTECTED] wrote:

JL Switching to IBM's JDK 1.3 solved my problem of the HttpConnectionHandler not
JL being able to start.  Thank you!
JL 
JL I was using Sun's JDK 1.3.0_02 and my problem arose when I upgraded to Sun's
JL JDK1.3.1
JL 
JL Thanks again!
JL 
JL - Original Message -
JL From: pete [EMAIL PROTECTED]
JL To: [EMAIL PROTECTED]
JL Cc: [EMAIL PROTECTED]
JL Sent: Wednesday, June 27, 2001 0:58
JL Subject: Re: Tomcat won't start with j2sdk 1.3.1  Linux
JL 
JL 
JL  I get this. It sucks.
JL 
JL  The issue, for me at least, stems from the fact that i am running a
JL  Struts project, and i need to override the jaxp.jar classes with xerces
JL  parser classes.
JL 
JL  I previously did this by putting a jar named 0xerces.jar in the lib/
JL  folder of my tomcat install, which worked fine, since those classes
JL  loaded before the ones specified in jaxp.jar.
JL 
JL  This worked great with IBM's JDK1.3.0 - never used Sun's 1.2.2 on Linux.
JL 
JL  However, since 'upgrading' to Sun's JDK1.3.1 with Hotspot, the JVM
JL  segfaults when tomcat starts up, giving the same error you describe.
JL 
JL  I'm not sure why this happens, but maybe 1.3.1 doesn't like having its
JL  classes overridden.
JL 
JL  There are 2 ways around this - invoke the JVM with the '-classic'
JL  switch, thus disabling the JIT, or to remove 0xerces.jar from lib/,
JL  which breaks my Struts projects.
JL 
JL  The third solution is not to use the JDK1.3.1 at all, and stick with the
JL  IBM JDK, which is my current course of action.
JL 
JL  Hope this helps, and i hope you find a better solution than i did.
JL 
JL  -Pete
JL 
JL 
JL 
JL 



Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-27 Thread pete

Krishna Muthyala wrote:

Yep, on WinNT this works fine. However, it has been a long time since i 
have used WinNT for anything on my servers, and i'm not about to go back 
there anytime soon.

This issue is JVM-related, not classpath etc. anyway, since the JVM 
should not segfault, no matter which java classes (all compiled with 
JDK1.3.1 from source, no less) it tries to load.


 I have been using xerces with 1.3.1 albeit on WinNT
 and have no problems with it. You have to make sure in
 your tomcat.properties, wrapper.properties and
 tomcat.bat, you mention xerces.jar on the top where
 ever you configure the library files
 
 for example in tomcat.properties
 wrapper.classpath=c:\tomcat\lib\xerces.jar; 
 wrapper.classpath=
 
 the xerces.jar needs to load up in the context first
 and everything should work
 
 Goodluck
 Kris
 
 
 --- pete [EMAIL PROTECTED] wrote:
 
 I get this. It sucks.
 
 The issue, for me at least, stems from the fact that
 i am running a 
 Struts project, and i need to override the jaxp.jar
 classes with xerces 
 parser classes.
 
 I previously did this by putting a jar named
 0xerces.jar in the lib/ 
 folder of my tomcat install, which worked fine,
 since those classes 
 loaded before the ones specified in jaxp.jar.
 
 This worked great with IBM's JDK1.3.0 - never used
 Sun's 1.2.2 on Linux.
 
 However, since 'upgrading' to Sun's JDK1.3.1 with
 Hotspot, the JVM 
 segfaults when tomcat starts up, giving the same
 error you describe.
 
 I'm not sure why this happens, but maybe 1.3.1
 doesn't like having its 
 classes overridden.
 
 There are 2 ways around this - invoke the JVM with
 the '-classic' 
 switch, thus disabling the JIT, or to remove
 0xerces.jar from lib/, 
 which breaks my Struts projects.
 
 The third solution is not to use the JDK1.3.1 at
 all, and stick with the 
 IBM JDK, which is my current course of action.
 
 Hope this helps, and i hope you find a better
 solution than i did.
 
 -Pete
 
 
 
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.com/






Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-27 Thread pete

Tried that, no go.

The odd thing is that JDK 1.3.1 will work quite happily without 
0xerces.jar in the tomcat /lib folder. When i remove it, tomcat starts 
up normally. when i put it in, segfault.

I added the symlink to /lib (I use Mandrake 8, not RH 7.1 so no i686 
folder) and re-ran ldconfig. Same behaviour.

This looks to be a bug with the Linux JDK1.3.1

-Pete

 We've been using Sun's JDK 1.3.1 on Linux for a while now.
 Currently we use Tomcat 3.2.1 and xerces version 1.3.0.
 
 It seemed to work fine on RedHat 6.1 but on 7.1 there was a link that missing.
 I think I experienced the same seg fault issue that is referred to below.
 
 If this is the problem it can be fixed by doing the following as root:
 
 cd /lib/i686
 
 The required link is libpthread.so.  If it isn't there then create it:
 
 ln -s libpthread.so.0 libpthread.so
 
 Then run:
 /sbin/ldconfig
 
 This fixed the problem with regards to running 1.3.1 on RedHat Linux 7.1.
 
 Hope this helps.
 
 P.
 
 On Wed, 27 Jun 2001 11:33:37 -0400
 Jeffrey Lam [EMAIL PROTECTED] wrote:
 
 JL Switching to IBM's JDK 1.3 solved my problem of the HttpConnectionHandler not
 JL being able to start.  Thank you!
 JL 
 JL I was using Sun's JDK 1.3.0_02 and my problem arose when I upgraded to Sun's
 JL JDK1.3.1
 JL 
 JL Thanks again!
 JL 
 JL - Original Message -
 JL From: pete [EMAIL PROTECTED]
 JL To: [EMAIL PROTECTED]
 JL Cc: [EMAIL PROTECTED]
 JL Sent: Wednesday, June 27, 2001 0:58
 JL Subject: Re: Tomcat won't start with j2sdk 1.3.1  Linux
 JL 
 JL 
 JL  I get this. It sucks.
 JL 
 JL  The issue, for me at least, stems from the fact that i am running a
 JL  Struts project, and i need to override the jaxp.jar classes with xerces
 JL  parser classes.
 JL 
 JL  I previously did this by putting a jar named 0xerces.jar in the lib/
 JL  folder of my tomcat install, which worked fine, since those classes
 JL  loaded before the ones specified in jaxp.jar.
 JL 
 JL  This worked great with IBM's JDK1.3.0 - never used Sun's 1.2.2 on Linux.
 JL 
 JL  However, since 'upgrading' to Sun's JDK1.3.1 with Hotspot, the JVM
 JL  segfaults when tomcat starts up, giving the same error you describe.
 JL 
 JL  I'm not sure why this happens, but maybe 1.3.1 doesn't like having its
 JL  classes overridden.
 JL 
 JL  There are 2 ways around this - invoke the JVM with the '-classic'
 JL  switch, thus disabling the JIT, or to remove 0xerces.jar from lib/,
 JL  which breaks my Struts projects.
 JL 
 JL  The third solution is not to use the JDK1.3.1 at all, and stick with the
 JL  IBM JDK, which is my current course of action.
 JL 
 JL  Hope this helps, and i hope you find a better solution than i did.
 JL 
 JL  -Pete
 JL 
 JL 
 JL 
 JL 






Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-26 Thread pete

I get this. It sucks.

The issue, for me at least, stems from the fact that i am running a 
Struts project, and i need to override the jaxp.jar classes with xerces 
parser classes.

I previously did this by putting a jar named 0xerces.jar in the lib/ 
folder of my tomcat install, which worked fine, since those classes 
loaded before the ones specified in jaxp.jar.

This worked great with IBM's JDK1.3.0 - never used Sun's 1.2.2 on Linux.

However, since 'upgrading' to Sun's JDK1.3.1 with Hotspot, the JVM 
segfaults when tomcat starts up, giving the same error you describe.

I'm not sure why this happens, but maybe 1.3.1 doesn't like having its 
classes overridden.

There are 2 ways around this - invoke the JVM with the '-classic' 
switch, thus disabling the JIT, or to remove 0xerces.jar from lib/, 
which breaks my Struts projects.

The third solution is not to use the JDK1.3.1 at all, and stick with the 
IBM JDK, which is my current course of action.

Hope this helps, and i hope you find a better solution than i did.

-Pete






Re: Tomcat won't start with j2sdk 1.3.1 Linux

2001-06-16 Thread Douglas E. Hornig

Should I take the complete lack of any feedback on this subject to mean that no one 
has tried Tomcat/Linux/j2sdk 1.3.1?

--- Forwarded message from Douglas E. Hornig ---

Date: 15 Jun 2001 12:45:17 EDT
From: Douglas E. Hornig
Subject: Tomcat won't start with j2sdk 1.3.1  Linux
To: [EMAIL PROTECTED]

Has anyone run Tomcat under linux with j2sdk 1.3.1-b24?  I have been using Tomcat 
3.2.1 (and now 3.2.2) happily for some time now with j2sdk 1.3 and linux (SuSE 7.1, 
kernel 2.4.5).  I decided to get current with my Java VM, but when I try to start up 
Tomcat I get this error:

/usr/local/tomcat/bin/tomcat.sh: line 180: 20646 Segmentation fault  $JAVACMD 
$TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat $@

The only difference is the new Java SDK.  Other Java applications run successfully 
with the new SDK.  I also have Tomcat 3.2.2/j2sdk 1.3.1-b24 running fine under Solaris 
8.

Any ideas?

Thanks,
Douglas Hornig
Dartmouth-Hitchcock Medical Center