Somehow I missed your first email. But I'm glad you got the issue
resolved.
If you have any details on the classpath issue, that'd be great.
Might be something we need to watch for or perhaps even check for in
code.
-David
On May 2, 2008, at 8:38 AM, ManojS wrote:
It was a classpath issue, resolved now. Thanks.
ManojS wrote:
Hi,
I have downloaded the latest "openejb.war" from the download location
(http://www.apache.org/dyn/closer.cgi/openejb/3.0/openejb.war) and
installed in my tomcat.
And when I deployed my stateful session beans (which are not
using the annotation machanism and of version 2.0), the tomcat is
throwing
the following
exception stacktrace and stopped by itself. My configuration
details are
as follow.
OpenEJB : 3.0
Tomcat : 6.0.16
EJB version : 2.0
The result of "java -version" in the command window is as follows:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Operating system: Windows XP.
ERROR Log is as follows:
12:09:52,609 INFO [config] Configuring app:
D:\MyProjs\TestEJB\config\OpenEJB\Test.jar
12:09:52,718 FATAL [startup] OpenEJB has encountered a fatal error
and
cannot be started: The Assembler encountered an unexpected error
while
attempting to build the container system.
java.lang.AbstractMethodError:
org.apache.openejb.core.TempClassLoader
$IsAnnotationVisitor.visit(IILjava/lang/String;Ljava/lang/String;
[Ljava/lang/String;Ljava/lang/String;)V
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at
org
.apache
.openejb
.core.TempClassLoader.isAnnotationClass(TempClassLoader.java:120)
at
org
.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:
91)
at
org
.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:
50)
at
org.apache.openejb.config.AnnotationDeployer
$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:650)
at
org.apache.openejb.config.AnnotationDeployer
$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:489)
at
org
.apache
.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:
169)
at
org.apache.openejb.config.ConfigurationFactory
$Chain.deploy(ConfigurationFactory.java:148)
at
org
.apache
.openejb
.config
.ConfigurationFactory
.configureApplication(ConfigurationFactory.java:440)
at
org
.apache
.openejb
.config
.ConfigurationFactory
.configureApplication(ConfigurationFactory.java:391)
at
org
.apache
.openejb
.config
.ConfigurationFactory
.getOpenEjbConfiguration(ConfigurationFactory.java:309)
at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
249)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:
149)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:288)
at
org
.apache.openejb.tomcat.catalina.TomcatLoader.init(TomcatLoader.java:
117)
Please help me to figure out the issue. Thanks in advance.
- Manoj.
--
View this message in context:
http://www.nabble.com/OpenEJB-3.0---Tomcat-deployment-error-...-tp16930955p17022061.html
Sent from the OpenEJB User mailing list archive at Nabble.com.