GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes tomcat   error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "tomcat   error" Watch "tomcat   error" New topic
Author

tomcat error

Sangeetha Arumugam
Greenhorn

Joined: Apr 29, 2004
Posts: 16
Guys ,
Could you please help me out in this regard?Iam new to JSp and while starting tomcat5.0 ,it is giving error like
[ERROR] GlobalResourcesLifecycleListener - Exception creating UserDatabase MBean
s for UserDatabase <javax.management.MalformedObjectNameException: Missing value
in properties list>javax.management.MalformedObjectNameException: Missing value
in properties list
at javax.management.ObjectName.createPropertiesMap(ObjectName.java:222)
at javax.management.ObjectName.parse(ObjectName.java:93)
at javax.management.ObjectName.<init>(ObjectName.java:43)
at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.jav
a:1473)
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:736
)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:233)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:163)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:230
6)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
John Wolf
Ranch Hand

Joined: Feb 18, 2002
Posts: 64
How are you starting tomcat? Do you have Java installed? Do you have JAVA_HOME variable defined? Is it in your path? Provide some additional info and I am sure someone will be able to help you.
Sangeetha Arumugam
Greenhorn

Joined: Apr 29, 2004
Posts: 16
Thanks for your reply Sumit.I modified the path ..While starting the server it is throwing some different exception .Is it a major problem or should i just leave &start practicing examples?



SEVERE: Exception creating UserDatabase MBeans for UserDatabase
javax.management.MalformedObjectNameException: Missing value in properties list
at javax.management.ObjectName.createPropertiesMap(ObjectName.java:222)
at javax.management.ObjectName.parse(ObjectName.java:93)
at javax.management.ObjectName.<init>(ObjectName.java:43)
at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.jav
a:1473)
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:736
)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:233)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:163)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:230
6)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Jul 9, 2005 8:35:29 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 9, 2005 8:35:29 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.30
Jul 9, 2005 8:35:29 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 9, 2005 8:35:30 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jul 9, 2005 8:35:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
\localhost\admin.xml
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
\localhost\balancer.xml
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
\localhost\manager.xml
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:C:\Tomcat 5.0\we
bapps\ROOT
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:C:\T
omcat 5.0\webapps\tomcat-docs
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:C:\
Tomcat 5.0\webapps\jsp-examples
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL fil
e:C:\Tomcat 5.0\webapps\servlets-examples
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:C:\Tomcat
5.0\webapps\webdav
Jul 9, 2005 8:35:32 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /Cert from URL file:C:\Tomcat 5
.0\webapps\Cert
Jul 9, 2005 8:35:32 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 9, 2005 8:35:32 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 9, 2005 8:35:32 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=C:\Tomcat 5.0\conf\jk2.properties
Jul 9, 2005 8:35:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3281 ms
















thanks in advance..
Sangeetha
Abdulla Mamuwala
Ranch Hand

Joined: Jan 09, 2004
Posts: 225
Sangeeta,

Try this website,
Marty Hall
it explains step by step how to configure Tomcat. The author also supplies a preconfigured Tomcat which is very convientent to work with. When I first started experimenting with JSP the preconfigured Tomcat helped me a lot.
 
GeeCON Prague 2014
 
subject: tomcat error