tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andre" <andrewarn...@gmail.com>
Subject FW: SEVERE: Error registering Catalina:type=Valve,name=StandardContextValve,path=/test,host=localhost
Date Sat, 03 Oct 2009 09:07:50 GMT
 

Hi all, 

I'm trying to deploy in the

tomcat5.5 server included in Ubuntu Linux 8.04.

At this moment i have the follow error msg in tomcat log when try to deploy
the plataform:

If I got it right, web applications are to be deployed to

/var/lib/tomcat5.5/webapps.

When doing so, the application doesn't start, and the log puts the error
below.

 

Oct 3, 2009 2:12:08 PM org.apache.commons.modeler.Registry registerComponent

SEVERE: Error registering
Catalina:type=Valve,name=StandardContextValve,path=/test,host=localhost

javax.management.MBeanException: Cannot instantiate ModelMBean of class
org.apache.commons.modeler.BaseModelMBean

       at
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:385)

       at
org.apache.commons.modeler.Registry.registerComponent(Registry.java:835)

       at
org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.jav
a:302)

       at
org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:234)

       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4140)

       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
60)

       at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:122)

       at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.
java:144)

       at java.security.AccessController.doPrivileged(Native Method)

       at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)

       at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

       at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)

       at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)

       at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)

       at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

       at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:120)

       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

       at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

       at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

       at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

       at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

       at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

       at java.lang.reflect.Method.invoke(Method.java:597)

       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

       at java.lang.reflect.Method.invoke(Method.java:597)

       at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)

Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission
/usr/lib/perfsonar/services/perfsonar-clmp/WEB-INF/classes/logging.propertie
s read)

       at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:323)

       at
java.security.AccessController.checkPermission(AccessController.java:546)

       at
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)

       at java.lang.SecurityManager.checkRead(SecurityManager.java:871)

       at java.io.File.exists(File.java:731)

       at
org.apache.naming.resources.FileDirContext.file(FileDirContext.java:828)

       at
org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:211)

       at
org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:294)

       at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas
sLoader.java:1925)

       at
org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.
java:937)

       at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManage
r.java:298)

       at
org.apache.juli.ClassLoaderLogManager$2.run(ClassLoaderLogManager.java:273)

       at java.security.AccessController.doPrivileged(Native Method)

       at
org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo(ClassLoaderLogManag
er.java:270)

       at
org.apache.juli.ClassLoaderLogManager.getLogger(ClassLoaderLogManager.java:1
75)

       at java.util.logging.Logger.getLogger(Logger.java:275)

       at com.sun.jmx.trace.TraceManager.getLogger(TraceManager.java:184)

       at com.sun.jmx.trace.TraceManager.isSelected(TraceManager.java:197)

       at com.sun.jmx.trace.Trace.isSelected(Trace.java:84)

       at
javax.management.modelmbean.ModelMBeanInfoSupport.tracing(ModelMBeanInfoSupp
ort.java:1000)

       at
javax.management.modelmbean.ModelMBeanInfoSupport.<init>(ModelMBeanInfoSuppo
rt.java:335)

       at
javax.management.modelmbean.ModelMBeanInfoSupport.<init>(ModelMBeanInfoSuppo
rt.java:276)

       at
org.apache.commons.modeler.BaseModelMBean.createDefaultModelMBeanInfo(BaseMo
delMBean.java:1328)

       at
org.apache.commons.modeler.BaseModelMBean.<init>(BaseModelMBean.java:117)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

       at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)

       at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)

       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

       at java.lang.Class.newInstance0(Class.java:355)

       at java.lang.Class.newInstance(Class.java:308)

       at
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:378)

       ... 33 more

Oct 3, 2009 2:12:08 PM org.apache.catalina.core.StandardPipeline
registerValve

INFO: Can't register valve
org.apache.catalina.core.StandardContextValve[/test]

javax.management.MBeanException: Cannot instantiate ModelMBean of class
org.apache.commons.modeler.BaseModelMBean

       at
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:385)

       at
org.apache.commons.modeler.Registry.registerComponent(Registry.java:835)

       at
org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.jav
a:302)

       at
org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:234)

       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4140)

       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
60)

       at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:122)

       at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.
java:144)

       at java.security.AccessController.doPrivileged(Native Method)

       at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)

       at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

       at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)

       at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)

       at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)

       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)

       at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

       at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:120)

       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

       at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

       at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

       at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

       at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

       at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

       at java.lang.reflect.Method.invoke(Method.java:597)

       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

       at java.lang.reflect.Method.invoke(Method.java:597)

       at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)

Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission /usr/lib/school/services/test/

 

 

When I input the url (http://localhost:8180/test/hello.jsp) get the msg as
follows :

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.

Apache Tomcat/5.5

 

 

so, what do

I need to do to get my webapp running in tomcat?

 

Any ideas what I need to do?

Thanks in advance

Andrew 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message