• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

tomcat error

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic