I attached the output log from JBoss
Main Topics
Browse All TopicsI get the following error when trying to deploy two ears into jboss. I am using version 4.2.0CP02. It seems like the there's something in the ears that is conflicting. Note that one of the ear files is packaged JUnitee tests and the other ear file is the source that is being tested. Please help with this as I am not sure where to go from here. Thanks
--------------------------
16:04:31,160 ERROR [ContainerBase] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integrat
java.lang.IncompatibleClas
at org.jnp.interfaces.NamingC
at org.jnp.interfaces.NamingC
at org.jnp.interfaces.NamingC
at javax.naming.InitialContex
at com.sun.faces.config.WebCo
at com.sun.faces.config.WebCo
at com.sun.faces.config.WebCo
at com.sun.faces.config.Confi
at org.jboss.web.jsf.integrat
at org.apache.catalina.core.S
at org.apache.catalina.core.S
at org.apache.catalina.core.C
at org.apache.catalina.core.C
at org.apache.catalina.core.S
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.tomcat.util.mod
at org.jboss.mx.server.RawDyn
at org.jboss.mx.server.MBeanS
at org.apache.catalina.core.S
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.tomcat.util.mod
at org.jboss.mx.server.RawDyn
at org.jboss.mx.server.MBeanS
at org.jboss.web.tomcat.servi
at org.jboss.web.tomcat.servi
at org.jboss.web.AbstractWebD
at org.jboss.web.WebModule.st
at org.jboss.web.WebModule.st
at org.jboss.system.ServiceMB
at org.jboss.system.ServiceMB
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.system.ServiceCo
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceCo
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy46.start(Unknown Source)
at org.jboss.web.AbstractWebC
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.interceptor.D
at org.jboss.system.Intercept
at org.jboss.ws.integration.j
at org.jboss.deployment.SubDe
at org.jboss.deployment.SubDe
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy47.start(Unknown Source)
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy10.deploy(Unknown Source)
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
16:04:31,361 ERROR [StandardContext] Error listenerStart
16:04:31,361 ERROR [StandardContext] Context [/whpSamplesJunitEETests] startup failed due to previous errors
16:04:31,377 WARN [ServiceController] Problem starting service jboss.web.deployment:war=J
org.jboss.deployment.Deplo
at org.jboss.web.tomcat.servi
at org.jboss.web.tomcat.servi
at org.jboss.web.AbstractWebD
at org.jboss.web.WebModule.st
at org.jboss.web.WebModule.st
at org.jboss.system.ServiceMB
at org.jboss.system.ServiceMB
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.system.ServiceCo
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceCo
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy46.start(Unknown Source)
at org.jboss.web.AbstractWebC
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.interceptor.D
at org.jboss.system.Intercept
at org.jboss.ws.integration.j
at org.jboss.deployment.SubDe
at org.jboss.deployment.SubDe
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy47.start(Unknown Source)
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy10.deploy(Unknown Source)
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
at org.jboss.deployment.scann
16:04:31,532 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-4.2.0
org.jboss.deployment.Deplo
at org.jboss.web.tomcat.servi
at org.jboss.web.tomcat.servi
at org.jboss.web.AbstractWebD
at org.jboss.web.WebModule.st
at org.jboss.web.WebModule.st
at org.jboss.system.ServiceMB
at org.jboss.system.ServiceMB
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.system.ServiceCo
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceCo
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy46.start(Unknown Source)
at org.jboss.web.AbstractWebC
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.interceptor.D
at org.jboss.system.Intercept
at org.jboss.ws.integration.j
at org.jboss.deployment.SubDe
at org.jboss.deployment.SubDe
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy47.start(Unknown Source)
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at org.jboss.deployment.MainD
at sun.reflect.GeneratedMetho
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.jboss.mx.interceptor.R
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.A
at org.jboss.mx.server.Invoca
at org.jboss.mx.interceptor.M
at org.jboss.mx.server.Invoca
at org.jboss.mx.server.Abstra
at org.jboss.mx.server.MBeanS
at org.jboss.mx.util.MBeanPro
at $Proxy10.deploy(Unknown Source)
at org.jboss.deployment.scann
at org.jboss.deployment.scann
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Inside the war (which is part of the deployed ear file), there were jboss jars that conflicted with the same jars that are provided by jboss. So, I had to do the following:
1. Change the scope of the jboss jars in the pom of the application to "provided" so that it will not be included in the war file after the build
2. Install Java 6 and set the Java Home to the new java jdk (so that the build will be able to compile successfully)
Business Accounts
Answer for Membership
by: jrwalker2Posted on 2008-06-04 at 16:41:52ID: 21715270
I would be happy to upload the ear files, but they are larger than the 5MB limit. All suggestions are welcomed.
Thanks