[
https://jira.jboss.org/jira/browse/JBSEAM-3461?page=com.atlassian.jira.pl...
]
Shane Bryzak reopened JBSEAM-3461:
----------------------------------
Ok, I tested this again with clean installs of everything and I can confirm that
there's still a problem. Perhaps it's an environmental issue, so we may want to
get one of the embedded guys to look at this.
Operating system: Windows XP
Java version: Sun JDK 1.6.0_10-rc2
Tomcat version: 6.0.18
JBoss embedded: Beta 3 (embedded-jboss-beta3)
Following the instructions in the configuration chapter, this is what I did:
1. Unzip Tomcat
2. Unzip JBoss Embedded
3. Copy all files from embedded-jboss-beta3/bootstrap to apache-tomcat-6.0.18/lib,
excluding jndi.properties.
4. Copy all files from embedded-jboss-beta3/lib to apache-tomcat-6.0.18/lib.
5. Deleted apache-tomcat-6.0.18/lib/annotations-api.jar.
6. Edited apache-tomcat-6.0.18/conf/server.xml, adding the
EmbeddedJBossBootstrapListener:
<Listener
className="org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener"/>
7. Edited apache-tomcat-6.0.18/conf/context.xml, adding the WebinfScanner:
<Listener className="org.jboss.embedded.tomcat.WebinfScanner"/>
8. Started catalina from the command line:
apache-tomcat-6.0.18/bin/catalina run
I've attached the console output in a separate file as it's quite verbose. The
root exception seems to be this:
Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Class;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:367)
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:344)
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:54)
at org.jboss.reflect.plugins.ArrayInfoImpl.getType(ArrayInfoImpl.java:99)
... 48 more
Documentation for installing embedded JBoss needs to be updated
---------------------------------------------------------------
Key: JBSEAM-3461
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3461
Project: Seam
Issue Type: Task
Components: Documentation Issues
Affects Versions: 2.1.0.CR1
Reporter: Shane Bryzak
Assignee: Marek Novotny
Priority: Blocker
Fix For: 2.1.0.GA
The instructions for installing Embedded JBoss in the configuration chapter fail under
the latest version of Tomcat (6.0.18). Specifically, adding the
EmbeddedJBossBootstrapListener to server.xml causes the server to crash while starting,
and adding the WebinfScanner listener to context.xml causes exceptions during startup.
For reference, here's a link to the installation instructions on the JBoss Embedded
wiki:
http://wiki.jboss.org/wiki/Tomcat6.0.x?action=e&windowstate=normal&am...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira