Hello,

I have developed an EJB under JBoss and Tomcat and it worked just fine in
this environment. On my Unit Test system I am having to employ OpenEJB. I
used the OpenEJB installer and there are no issues when I ran the tests. But
during tomcat startup I get an OpenEJBException. In my Jboss environment my
bean was working well. So, I am not sure what I needed to change in my code
or the environment to accommodate the OpenEJB environment. I moved the EAR
to my webapps folder and it seems to load properly even after the OpenEJB
Exception. 

I've been troubleshooting this for hours and have not been about to resolve
it. Any suggestions would be appreciated. I am not a Tomcat or EJB expert,
so I feel like I'm grasping at straws. 

Here is a bit of my log file with the error:

OpenEJB init-params:
Apache OpenEJB 3.1.4    build: 20101112-03:32
http://openejb.apache.org/
FOO moduleName =
/usr/local/tomcat/webapps/ViewBeanProjectEAR/ViewBeanProject.jar
[severity=ERROR,message=unexpected element
(uri:"http://java.sun.com/xml/ns/javaee";, local:"tlibversion"). Expected
elements are
<{http://java.sun.com/xml/ns/javaee}tag-file>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}jsp-version>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}short-name>,<{http://java.sun.com/xml/ns/javaee}tlib-version>,<{http://java.sun.com/xml/ns/javaee}tag>,<{http://java.sun.com/xml/ns/javaee}validator>,<{http://java.sun.com/xml/ns/javaee}uri>,<{http://java.sun.com/xml/ns/javaee}taglib-extension>,<{http://java.sun.com/xml/ns/javaee}function>,locator=[node=null,object=null,url=null,line=4,col=18,offset=-1]]
[severity=ERROR,message=unexpected element
(uri:"http://java.sun.com/xml/ns/javaee";, local:"tlibversion"). Expected
elements are
<{http://java.sun.com/xml/ns/javaee}tag-file>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}jsp-version>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}short-name>,<{http://java.sun.com/xml/ns/javaee}tlib-version>,<{http://java.sun.com/xml/ns/javaee}tag>,<{http://java.sun.com/xml/ns/javaee}validator>,<{http://java.sun.com/xml/ns/javaee}uri>,<{http://java.sun.com/xml/ns/javaee}taglib-extension>,<{http://java.sun.com/xml/ns/javaee}function>,locator=[node=null,object=null,url=null,line=4,col=18,offset=-1]]
org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error
and cannot be started: The Assembler encountered an unexpected error while
attempting to build the container system.:
javax/servlet/jsp/jstl/core/ConditionalTagSupport
        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:132)
        at org.apache.openejb.OpenEJB.init(OpenEJB.java:271)
        at
org.apache.openejb.tomcat.catalina.TomcatLoader.init(TomcatLoader.java:161)
        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.openejb.loader.Embedder.init(Embedder.java:75)
        at
org.apache.openejb.tomcat.loader.TomcatHook.hook(TomcatHook.java:137)
        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.openejb.tomcat.loader.TomcatEmbedder.embed(TomcatEmbedder.java:92)
        at
org.apache.openejb.tomcat.loader.LoaderServlet.init(LoaderServlet.java:51)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

Thanks in advance.
-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/OpenEJB-has-encountered-a-fatal-error-and-cannot-be-started-javax-servlet-jsp-jstl-core-ConditionalT-tp3071912p3071912.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to