-
1. Re: JBOSS AS7 migration from jboss 4.0RC
wdfink Oct 4, 2012 9:15 AM (in response to manand12)Hi Muruganandam,
welcome to the forum.
The information looks a bit poor, so let's start simple.
- What AS version do you use
- How do you start the server
- Does the (fresh) server start correct
- Looks like you add a JDBC diver and a datasource, does this starts (without application)
- Do you have other configuration changes made
-
2. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 4, 2012 9:28 AM (in response to wdfink)added the below changes in standalone.xml
<subsystem xmlns="urn:jboss:domain:ee:1.0" >
<global-modules>
<module name="org.javassist" slot="main" />
</global-modules>
</subsystem>
-
3. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 4, 2012 9:29 AM (in response to wdfink)Thanks for your response.
Jboss version 7.1.1 Final
-
4. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 4, 2012 9:31 AM (in response to manand12)Pls find the latest error log
8:44:09,975 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.apache.derby.jdbc.Au
oloadedDriver (version 10.8)
8:44:51,391 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation
within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.
8:44:51,391 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "DSE_MSAPlusServerEAR.ear" was rolled back with fail
re message Operation cancelled
-
5. Re: JBOSS AS7 migration from jboss 4.0RC
wdfink Oct 4, 2012 9:44 AM (in response to manand12)Is your application big or contain a longer initialization?
If yes you might add the attribute "deployment-timeout" to the deployment-scanner in the standalone.xml
<deployment-scanner path="deployments" deployment-timeout="600" ...
The value is the timeout in seconds.
-
6. Re: JBOSS AS7 migration from jboss 4.0RC
ctomc Oct 4, 2012 9:57 AM (in response to manand12)can you paste output of
jar tf <name-of-your-ear>
--
tomaz
-
7. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 4, 2012 10:04 AM (in response to ctomc)Hi Tomaz,
Please find the output
D:\MSA-PLUS\deployments>jar tf DSE_MSAPlusServerEAR.ear
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
DSE_MSAPlusServer.jar
lib/
lib/adapter.jar
lib/commons-codec-1.4.jar
lib/commons-logging-1.1.1.jar
lib/httpclient-4.2.1.jar
lib/httpclient-cache-4.2.1.jar
lib/httpcore-4.2.1.jar
lib/httpmime-4.2.1.jar
lib/jasperreports-3.1.0.jar
lib/jfreechart-1.0.0.jar
lib/jfreechart-1.0.10.jar
lib/log4j-1.2.9.jar
lib/log4j.jar
lib/mysql-connector-java-5.0.4-bin.jar
lib/poi-3.0.1-final-20070705.jar
lib/rowset.jar
lib/spring.jar
lib/xalan-2.6.0.jar
lib/xstream-1.3.1.jar
BroadcastServiceWeb.war
META-INF/jboss-deployment-structure.xml
Thanks in advance...
-
8. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 4, 2012 10:07 AM (in response to wdfink)Hi Fink,
After i changed the timeout to 600 getting the same error.
19:26:08,516 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.apache.derby.jdbc.Au
toloadedDriver (version 10.8)
19:35:45,200 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation
within the allowed timeout period [600 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.
19:35:45,200 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "DSE_MSAPlusServerEAR.ear" was rolled back with fail
ure message Operation cancelled
-
9. Re: JBOSS AS7 migration from jboss 4.0RC
manand12 Oct 5, 2012 7:09 AM (in response to manand12)Dear All,
After i removed duplicated versions of jars i can able to deploy the ear file. But i am getting these error. Anybody help me out to connect ot activemq.
15:57:27,532 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/BroadcastServiceWeb]] (MSC service thread 1-3) StandardWrapper.Throwab
le: java.lang.NoClassDefFoundError: org/apache/activemq/ActiveMQConnection
at com.xchanging.tesa.common.util.CoCActiveMQConfMSA.<init>(Unknown Source) [classes:]
at com.xchanging.tesa.common.util.CoCActiveMQConfMSA.getInstance(Unknown Source) [classes:]
at com.xchanging.tesa.listeners.CoCConfirmSubscriberServletMSA.setupActiveMQ(Unknown Source) [classes:]
at com.xchanging.tesa.listeners.CoCConfirmSubscriberServletMSA.init(Unknown Source) [classes:]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]
i have deployed successfully the activemq-rar-5.2.0.rar before deploy my ear.
Thanks in Advance......