openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alys <alys.c...@gmail.com>
Subject Re: OpenEJB has encountered a fatal error and cannot be started [javax/servlet/jsp/jstl/core/ConditionalTagSupport]
Date Thu, 24 Feb 2011 14:43:11 GMT

Hello,

I have never used OpenEJB before, and I'm having almost the same problem.

I have and old application with Java 1.4, EJB 2.1 and Struts 1, with various
modules, all packed inside a EAR file. 

I downloaded OpenEJB Tomcat bundle from
http://openejb.apache.org/download.html (file tomee-6.0.29.314.zip ), and
then copied Struts required library (and others, like iBatis) to Tomcat's
lib folder; placed my EAR on the webapp, just like I used to do with normal
web applications.

Problem is, when I start Tomcat, I get the error:

org.apache.openejb.OpenEJBException: Cannot unmarshall the JSP tag library
definition file:
jar:file:/D:/Ambiente/apache-tomcat-6.0.29/lib/struts.jar!/META-INF/tlds/struts-template.tld:
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>

>From what I understood, OpenEJB is trying to validate TLD files inside
struts jar, is that right? How can I solve this problem? I have others TLDs
from Struts all along my application, and probably they will also get
through the same problem.

If relevant, I on Windows XP Professional, with jdk1.6.0_13 installed.

(Please apologize any grammar error, English is not my native language)

Thank you!
-- 
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-tp3071912p3322732.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message