Jeremiah Twidwell [
http://community.jboss.org/people/jeremy0] created the discussion
"Error deploying ear file to jboss 6x"
To view the discussion, visit:
http://community.jboss.org/message/621536#621536
--------------------------------------------------------------
Here's the stack trace on server startup..
15:23:57,064 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/
Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME\common/
Common Library: $JBOSS_HOME\common/lib/
Server Name: default
Server Base: $JBOSS_HOME\server/
Server Library: $JBOSS_HOME\server/default/lib/
Server Config: $JBOSS_HOME\server/default/conf/
Server Home: $JBOSS_HOME\server/default/
Server Data: $JBOSS_HOME\server/default/data/
Server Log: $JBOSS_HOME\server/default/log/
Server Temp: $JBOSS_HOME\server/default/tmp/
15:23:57,064 INFO [AbstractServer] Starting: JBossAS [6.1.0.SNAPSHOT "Neo"]
15:23:59,170 INFO [ServerInfo] Java version: 1.6.0_26,Sun Microsystems Inc.
15:23:59,170 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build
1.6.0_26-b03)
15:23:59,170 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.1-b02,Sun
Microsystems Inc.
15:23:59,170 INFO [ServerInfo] OS-System: Windows 7 6.1,amd64
15:23:59,170 INFO [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.1
-Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-Djava.endorsed.dirs=C:\Users\jtwidwell\Desktop\jboss-6.1.x\jboss-6.1.0-SNAPSHOT\lib\endorsed
-Djava.library.path=C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/bin/native
-Dlogging.configuration=file:C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/bin/logging.properties
-Xms512m -Xmx1024m -Dfile.encoding=Cp1252
15:23:59,233 INFO [JMXKernel] Legacy JMX core initialized
15:24:05,036 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
15:24:05,817 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations:
[Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
15:24:57,874 ERROR [AbstractKernelController] Error installing to Parse:
name=vfs:///C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/server/default/deploy/wfm-ear-6.0.10-SNAPSHOT-jboss.ear
state=PreParse mode=Manual requiredState=Parse:
org.jboss.deployers.spi.DeploymentException: Error creating managed object for
vfs:///C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/server/default/deploy/wfm-ear-6.0.10-SNAPSHOT-jboss.ear/WFM.war/
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[:2.2.2.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383)
[:2.2.2.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
[:2.2.2.GA]
at
org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:99)
[:6.1.0-SNAPSHOT]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315)
[:2.2.2.GA]
at
org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:80)
[:6.1.0-SNAPSHOT]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)
[:2.2.2.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency.jar:2.2.0.SP2]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
[:2.2.2.GA]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
[:6.1.0-SNAPSHOT]
at
org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)
[:0.2.2]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
[jboss-kernel.jar:2.2.0.SP2]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
[jboss-kernel.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency.jar:2.2.0.SP2]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)
[:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)
[:0.2.2]
at
org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)
[:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)
[:0.2.2]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)
[:6.1.0-SNAPSHOT]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
[:6.1.0-SNAPSHOT]
at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: java.lang.ClassCastException
at java.lang.Class.cast(Class.java:2990) [:1.6.0_26]
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:263)
[jbossxb.jar:2.0.3.GA]
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
[:2.2.2.GA]
at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
[:2.2.2.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352)
[:2.2.2.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:334)
[:2.2.2.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:251)
[:2.2.2.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:369)
[:2.2.2.GA]
... 50 more
The other part to the error follows..
16:14:04,515 ERROR [ProfileServiceBootstrap] Failed to load profile::
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete
deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment
"vfs:///C:/Users/jtwidwell/Desktop/jboss-6.1.x/jboss-6.1.0-SNAPSHOT/server/default/deploy/wfm-ear-6.0.10-SNAPSHOT-jboss.ear"
is in error due to the following reason(s): java.lang.ClassCastException
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228)
[:2.2.2.GA]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905)
[:2.2.2.GA]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87)
[:6.1.0-SNAPSHOT]
at
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107)
[:0.2.2]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135)
[:6.1.0-SNAPSHOT]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
[:6.1.0-SNAPSHOT]
at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
16:14:04,532 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on
http-localhost%2F127.0.0.1-8080
16:14:04,537 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on
ajp-localhost%2F127.0.0.1-8009
16:14:04,538 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS
[6.1.0.SNAPSHOT "Neo"] Started in 44s:520ms
These are the jars that are getting deployed along with the .ear.. I don't know if any
are conflicting with some jboss jar files in 6.0...
activation-1.1.jar
antlr-2.7.6.jar
asm-1.5.3.jar
asm-attrs-1.5.3.jar
cglib-2.1_3.jar
commons-vfs-2.0-2009...jar
commons-beanutils-1.6....jar
commons-collections-3...jar
commons-digester-1.8.jar
commons-fileupload-1...jar
commons-javaflow-200...jar
commons-lang-2.1.jar
commons-logging-1.1.1.jar
commons-validator-1.1.jar
dom4j-1.6.1.jar
hibernate-3.2.5.ga.jar
itext-1.3.1.jar
...
jcommon-1.0.0-rc1.jar
log4j-1.2.8.jar
struts-1.1.jar
struts-legacy-1.1.jar
...
xml-apis-1.3.02.jar
..and web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd>
<web-app id="WebApp_2">
<display-name>WFM</display-name>
<description>WFM</description>
<distributable/>
<listener>
<listener-class>com.tomax.session.IdmSessionListener</listener-class>
</listener>
<listener>
<listener-class>com.ulcjava.container.servlet.server.HttpSessionListener</listener-class>
</listener>
<servlet id="Servlet_1">
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param id="InitParam_1">
<param-name>config</param-name>
<param-value>/WEB-INF/TA/struts-config.xml,/WEB-INF/WFM/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet id="Servlet_1a">
<servlet-name>CacheUpdateServlet</servlet-name>
<servlet-class>com.tomax.cache.servlets.CacheUpdateServlet</servlet-class>
<init-param id="InitParam_1a">
<param-name>appServer</param-name>
<param-value>WFM</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet id="Servlet_2">
<servlet-name>WeeklySchedule</servlet-name>
<servlet-class>com.ulcjava.container.servlet.server.ServletContainerAdapter</servlet-class>
<init-param id="InitParam_2">
<param-name>application-class</param-name>
<param-value>com.tomax.wfm.ulc.weeklyschedule.WeeklySchedule</param-value>
</init-param>
<init-param id="InitParam_3">
<param-name>log-level</param-name>
<param-value>WARNING</param-value>
</init-param>
</servlet>
<servlet id="Servlet_3">
<servlet-name>DailySchedule</servlet-name>
<servlet-class>com.ulcjava.container.servlet.server.ServletContainerAdapter</servlet-class>
<init-param id="InitParam_4">
<param-name>application-class</param-name>
<param-value>com.tomax.wfm.ulc.dailyschedule.DailySchedule</param-value>
</init-param>
<init-param id="InitParam_5">
<param-name>log-level</param-name>
<param-value>WARNING</param-value>
</init-param>
</servlet>
<servlet id="Servlet_5">
<servlet-name>TimeCardsApplet</servlet-name>
<servlet-class>com.ulcjava.container.servlet.server.ServletContainerAdapter</servlet-class>
<init-param id="InitParam_6">
<param-name>application-class</param-name>
<param-value>com.tomax.ta.ulc.timecards.controller.TimeCardsULCApplet</param-value>
</init-param>
<init-param id="InitParam_7">
<param-name>log-level</param-name>
<param-value>WARNING</param-value>
</init-param>
</servlet>
<servlet id="Servlet_6">
<servlet-name>TimeCards</servlet-name>
<servlet-class>com.ulcjava.container.servlet.server.ServletContainerAdapter</servlet-class>
<init-param id="InitParam_8">
<param-name>application-class</param-name>
<param-value>com.tomax.ta.ulc.timecards.controller.TimeCardsULC</param-value>
</init-param>
<init-param id="InitParam_9">
<param-name>log-level</param-name>
<param-value>WARNING</param-value>
</init-param>
</servlet>
<servlet id="Servlet_4">
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
</servlet>
<servlet-mapping id="ServletMapping_2">
<servlet-name>WeeklySchedule</servlet-name>
<url-pattern>/weeklyschedule.ulc</url-pattern>
</servlet-mapping>
<servlet-mapping id="ServletMapping_1">
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping id="ServletMapping_3">
<servlet-name>DailySchedule</servlet-name>
<url-pattern>/dailyschedule.ulc</url-pattern>
</servlet-mapping>
<servlet-mapping id="ServletMapping_4">
<servlet-name>CacheUpdateServlet</servlet-name>
<url-pattern>/CacheUpdateServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>TimeCards</servlet-name>
<url-pattern>/timecards_jnlp</url-pattern> <!-- called within .jnlp
file -->
</servlet-mapping>
<servlet-mapping>
<servlet-name>TimeCardsApplet</servlet-name>
<url-pattern>/timecards_applet</url-pattern> <!-- called within .jsp
file -->
</servlet-mapping>
<!--config session timeout in minutes-->
<session-config>
<session-timeout>20</session-timeout>
</session-config>
<welcome-file-list id="WelcomeFileList_1">
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib id="TagLibRef_2">
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib id="TagLibRef_3">
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib id="TagLibRef_4">
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib id="TagLibRef_5">
<taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
</web-app>
Any help is always appreciated. Trying to migrate from jboss 4.3 to jboss 6.1..
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/621536#621536]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]