[EJB 3.0] - Re: EAR deploy fails in JBoss 4.2
by chandra_88
Thanks for the reply . I have multiple util jars all from the JBoss 4.2 doc it says multiple jars can be specified in the lib folder and the lib folder can be presnet in the ear folder.
The lib folder is specified using the library-directory tag.
So if in the application.xml i mention
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<display-name>EjbSession</display-name>
<!-- Libraries -->
< module>
EjbSession.jar
< /module>
<library-directory>lib</library-directory>
All the common libraries present in the lib folder i presumed. I did try modifying the manifest entries in the ejb jar and then i get an exception saying no class loaders found for the ejb impl classes.
Manifest.MF
=============
Manifest-Version: 1.0
Class-Path: ../lib/commons-collections-3.2.jar ../lib/commons-configuration-1.5.jar ../lib/commons-lang-2.3.jar ../lib/commons-logging-1.1.1.jar
How do i specify multiple jars file using <library-directory> if it is not suppored i will try whatever is mentioned from you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130740#4130740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130740
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Re: Problems running JBoss
by macn0ble
Thanks, that helped, a bit-now getting this error->
| Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@3de0d9b4 { url=file:/opt/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1203509825762
| lastModified: 1184332162000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@94cd1669 { url=file:/opt/jboss/server/default/deploy/http-invoker.sar/invoker.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1203509827748
| lastModified: 1184332052000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@c73ae333 { url=file:/opt/jboss/server/default/deploy/jbossws.sar/jbossws-context.war }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/tmp/deploy/tmp51984jbossws-context-exp.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/jbossws.sar/jbossws-context.war
| altDD: null
| lastDeployed: 1203509828185
| lastModified: 1203509828000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@6f999367 { url=file:/opt/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1203509828887
| lastModified: 1184332094000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@54c83b97 { url=file:/opt/jboss/server/default/deploy/alfresco.war }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/tmp/deploy/tmp52013alfresco-exp.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/alfresco.war
| altDD: null
| lastDeployed: 1203509852668
| lastModified: 1203509852000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@8fdb8302 { url=file:/opt/jboss/server/default/deploy/jmx-console.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: URL file:/opt/jboss/server/default/deploy/jmx-console.war/ deployment failed
| state: FAILED
| watch: file:/opt/jboss/server/default/deploy/jmx-console.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1203509857178
| lastModified: 1184332166000
| mbeans:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.web.deployment:war=ROOT.war,id=1038145972
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=invoker.war,id=-1798498711
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jbossws-context.war,id=-952442061
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/tmp/deploy/tmp51984jbossws-context-exp.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=1872335719
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=web-console.war,id=435757124
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/management/console-mgr.sar/web-console.war/ deployment failed
| I Depend On:
| jboss.admin:service=PluginManager
|
| ObjectName: jboss.web.deployment:war=alfresco.war,id=1422408599
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/tmp/deploy/tmp52013alfresco-exp.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1881439486
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jmx-console.war/ deployment failed
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.web.deployment:war=ROOT.war,id=1038145972
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=1872335719
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jmx-console.war,id=-1881439486
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/jmx-console.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=jbossws-context.war,id=-952442061
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/tmp/deploy/tmp51984jbossws-context-exp.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=invoker.war,id=-1798498711
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=alfresco.war,id=1422408599
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/tmp/deploy/tmp52013alfresco-exp.war/ deployment failed
|
| ObjectName: jboss.web.deployment:war=web-console.war,id=435757124
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/default/deploy/management/console-mgr.sar/web-console.war/ deployment failed
| I Depend On:
| jboss.admin:service=PluginManager
|
|
| 14:17:37,813 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
| 14:17:37,855 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 14:17:37,896 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 58s:915ms
Any hints?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130731#4130731
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130731
18 years, 2 months