What is the problem with tomcat 5.0

2004-03-03 Thread Joao Araujo
   I''ve been trying to start tomcat without success.
   I dont know why every time I run startup.sh I get the following error:
java.lang.NoClassDefFoundError: javax/management/ListenerNotFoundException
   at 
javax.management.MBeanServerDelegate.init(MBeanServerDelegate.java:65)
   at 
com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.init(MBeanServerDelegateImpl.java:93)
   at 
com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanServer.java:1356)
   at 
javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerBuilder.java:61)
   at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)
   at org.apache.commons.modeler.Registry.getMBeanServer(Registry.java:665)
   at 
org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:1700)
   at org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:160)
   at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(GlobalResourcesLifecycleListener.java:112)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

   Any idea of what is happening?
JOao,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: What is the problem with tomcat 5.0

2004-03-03 Thread Joao Araujo

did you set the java_home  environnement variable?

   Yes. All off the variables described and possible of use.
   It even displays the correct information.
Joao,



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: Joao Araujo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: What is the problem with tomcat 5.0
Date: Wed, 03 Mar 2004 13:39:45 -0500
   I''ve been trying to start tomcat without success.
   I dont know why every time I run startup.sh I get the following 
error:

java.lang.NoClassDefFoundError: 
javax/management/ListenerNotFoundException
   at 
javax.management.MBeanServerDelegate.init(MBeanServerDelegate.java:65)
   at 
com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.init(MBeanServerDelegateImpl.java:93) 

   at 
com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanServer.java:1356) 

   at 
javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerBuilder.java:61) 

   at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) 

   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227) 

   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188) 

   at 
org.apache.commons.modeler.Registry.getMBeanServer(Registry.java:665)
   at 
org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:1700)
   at 
org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:160)
   at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(GlobalResourcesLifecycleListener.java:112) 

   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 



   Any idea of what is happening?
JOao,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

-
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: What is the problem with tomcat 5.0

2004-03-03 Thread Joao Araujo
Shapira,

Hi,
What jars that didn't ship with tomcat are in your runtime classpath?
 

   I;ve nothing set on my classpath. I saw that tomcat override 
whatever you set . The script
   setclasspath.sh  does the job. It does this.

   CLASSPATH=$JAVA_HOME/lib/tools.jar

   Those are my settiings
   Using CATALINA_BASE:   /export/tomcat
   Using CATALINA_HOME:   /export/tomcat
   Using CATALINA_TMPDIR: /export/tomcat/temp
   Using JAVA_HOME:   /usr/java/j2sdk
  Thanks in advance,
joao,
Yoav Shapira
Millennium ChemInformatics
 

-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 1:40 PM
To: [EMAIL PROTECTED]
Subject: What is the problem with tomcat 5.0
  I''ve been trying to start tomcat without success.
  I dont know why every time I run startup.sh I get the following
   

error:
 

java.lang.NoClassDefFoundError:
   

javax/management/ListenerNotFoundException
 

  at
javax.management.MBeanServerDelegate.init(MBeanServerDelegate.java:65
   

)
 

  at
com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.init(MBeanServerDeleg
   

ateI
 

mpl.java:93)
  at
com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanS
   

erve
 

r.java:1356)
  at
javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerB
   

uild
 

er.java:61)
  at
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.j
   

ava:
 

316)
  at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactor
   

y.ja
 

va:227)
  at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactor
   

y.ja
 

va:188)
  at
org.apache.commons.modeler.Registry.getMBeanServer(Registry.java:665)
  at
org.apache.catalina.mbeans.MBeanUtils.createServer(MBeanUtils.java:1700
   

)
 

  at
   

org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:160)
 

  at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(Gl
   

obal
 

ResourcesLifecycleListener.java:112)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
  at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
   

Acce
 

ssorImpl.java:39)

  Any idea of what is happening?
JOao,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

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




Re: What is the problem with tomcat 5.0

2004-03-03 Thread Joao Araujo
Shapira,

Hi,

 

What jars that didn't ship with tomcat are in your runtime classpath?



 

  I;ve nothing set on my classpath. I saw that tomcat override
whatever you set . The script
  setclasspath.sh  does the job. It does this.
   

I'm aware of this script and what it does -- thanks ;)  But that's not
what I asked.  By what's in your runtime classpath, I mean exactly that:
your runtime classpath includes the WEB-INF/classes directory of your
webapp, WEB-INF/lib, common/lib, shared/lib, the bootstrap classloader,
system endorsed directories, and others possibly.  (See tomcat's
classloader howto if you're not sure what I'm talking about).  If one of
these directories that comes before common/lib in the runtime classpath
has an older JMX jar without the exception, you'd get the error you're
getting.
 

  Thanks a lot. I  had already read this. Anyway, I decided to read 
it more carefully.
  As this was not a simple problem to find. I  found good 
information about this problem.
  In my case it was not the jmx.jar  file that  was duplicated. 
But, some old stuff installed
  in the jdk 1.4 ext diretory was messing up the class loaders.  I 
found good information
  on these two articles that  leaded me to the reason of the problem.

   
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
   
http://marc.theaimsgroup.com/?l=tomcat-userm=103843452413727w=2

  Thanks for all the help the group gave.

Joao,

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

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



Error when starting tomcat ListenerNotFoundException

2004-03-02 Thread Joao Araujo
Hi,

  I've installed tomcat many times without problems. Unfortunately,
  after I downloaded the last version of tomcat 5.0.19 the 
following error is driving me crazy:

java.lang.NoClassDefFoundError: javax/management/ListenerNotFoundException
   at 
javax.management.MBeanServerDelegate.init(MBeanServerDelegate.java:65)
   at 
com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.init(MBeanServerDelegateImpl.java:93)
   at 
com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanServer.java:1356)
   at 
javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerBuilder.java:61)
   at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:227)
   at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:188)

  Can anyone help me with this?

  BTW, the same problem also happens  with version 4.1.30

  Environment.
  RedHat 9.0
  j2sdk  1.4.02
  Thanks in advance.

Joao,