Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 problem starting Tomcat with helloworld deployed

v4.x
open
nobody
5
2014-03-25
2010-05-17
Anonymous
No

while trying to start Tomcat EJB server (helloworld example deployed), i am facing the following error message - Can somone please help? Tomcat version is 6.0 and openMDX version is 2.6

org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error and c
annot be started: The Assembler encountered an unexpected error while attempting
to build the container system.: Could not fully load class: org.openmdx.portal.
servlet.ObjectInspectorServlet
due to:org/openmdx/base/exception/ServiceException
in classLoader:
org.apache.openejb.core.TempClassLoader@1570c24
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
at org.apache.openejb.tomcat.catalina.TomcatLoader.init(TomcatLoader.jav
a:123)
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:597)
at org.apache.openejb.loader.Embedder.init(Embedder.java:75)
at org.apache.openejb.tomcat.loader.TomcatHook.hook(TomcatHook.java:98)
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:597)
at org.apache.openejb.tomcat.loader.TomcatEmbedder.embed(TomcatEmbedder.
java:77)
at org.apache.openejb.tomcat.loader.LoaderServlet.init(LoaderServlet.jav
a:44)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:99
3)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
496)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja

va:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

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

)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: Could not fully load class: org.openm
dx.portal.servlet.ObjectInspectorServlet
due to:org/openmdx/base/exception/ServiceException
in classLoader:
org.apache.openejb.core.TempClassLoader@1570c24
at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:177)
at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.cr
eateInheritedClassFinder(AnnotationDeployer.java:3142)
at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.de
ploy(AnnotationDeployer.java:992)
at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.de
ploy(AnnotationDeployer.java:672)
at org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeploye
r.java:190)
at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(Configura
tionFactory.java:247)
at org.apache.openejb.config.ConfigurationFactory.configureApplication(C
onfigurationFactory.java:601)
at org.apache.openejb.config.ConfigurationFactory.configureApplication(C
onfigurationFactory.java:488)
at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguratio
n(ConfigurationFactory.java:356)
at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguratio
n(Assembler.java:299)
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:2
78)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
... 40 more
May 17, 2010 9:21:44 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
context path = /host-manager
May 17, 2010 9:21:45 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
context path = /manager
May 17, 2010 9:21:45 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
context path =
May 17, 2010 9:21:45 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 17, 2010 9:21:45 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 17, 2010 9:21:45 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/69 config=null
May 17, 2010 9:21:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 12591 ms

Discussion

  • zdeno
    zdeno
    2010-05-22

    I had the same problem. I solved it by copying openjpa-1.2.1.jar, openmdx-base.jar and openmdx-system.jar to ...\TomcatOpenEJB-6.0.26\apache-tomcat-6\lib. This step is should be mentioned in the "openMDX SDK 2.6 for Tomcat + OpenEJB Step-by-Step Guide"

     


Anonymous


Cancel   Add attachments