[JBoss-dev] DayTrader deployment on JBOSS Server
PeiPei
peipei.ang at gmail.com
Sat May 17 02:26:20 EDT 2008
Hi,
Please download my daytrader source code from the below link
http://www.openevol.com/share/peipei/DayTrader_416929.zip
Btw I have already followed the instructions given in readme_jboss.txt
(found in the daytrader folder).
Please help. Thanks.
Below is the error encountered during the deployment to jboss:
14:13:58,006 INFO [jms/TradeBrokerQueue] Bound to JNDI name:
TradeBrokerQueue
14:13:58,016 INFO [jms/TradeStreamerTopic] Bound to JNDI name:
TradeStreamerTopic
14:14:43,191 INFO [STDOUT] Calculator - Destroying
14:14:43,291 INFO [SessionFactoryImpl] closing
14:14:43,291 INFO [SchemaExport] Running hbm2ddl schema export
14:14:43,291 INFO [SchemaExport] exporting generated schema to database
14:14:43,301 INFO [SchemaExport] schema export complete
14:15:28,506 INFO [EARDeployer] Init J2EE application: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/targ
et/daytrader-ear-1.2-SNAPSHOT.ear
14:15:28,877 WARN [MainDeployer] Found non-jar deployer for
wsappclient.jar: org.jboss.deployment.ClientDeployer at 15d616
e
14:15:30,189 WARN [MainDeployer] Found non-jar deployer for
wsappclient.jar: org.jboss.deployment.ClientDeployer at 15d616
e
14:15:30,379 INFO [EjbModule] Deploying HoldingEJB
14:15:30,529 INFO [EjbModule] Deploying AccountProfileEJB
14:15:30,539 INFO [EjbModule] Deploying QuoteEJB
14:15:30,549 INFO [EjbModule] Deploying KeyGenEJB
14:15:30,559 INFO [EjbModule] Deploying AccountEJB
14:15:30,569 INFO [EjbModule] Deploying OrderEJB
14:15:30,579 INFO [EjbModule] Deploying TradeEJB
14:15:30,599 INFO [EjbModule] Deploying KeySequenceEJB
14:15:30,599 INFO [EjbModule] Deploying TradeBrokerMDB
14:15:30,629 INFO [EjbModule] Deploying TradeStreamerMDB
14:15:32,161 ERROR [MainDeployer] Could not create deployment:
file:/D:/Program Files/jboss-4.0.4.GA/server/default/tmp/
deploy/tmp12675daytrader-ear-1.2-SNAPSHOT.ear-contents/web.war
org.jboss.ws.WSException: Cannot obtain java type mapping for:
{http://daytrader.samples.geronimo.apache.org}>getMarketS
ummary
at
org.jboss.ws.metadata.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:442)
at
org.jboss.ws.metadata.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:193)
at
org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:224)
at
org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:189)
at
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103)
at
org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.jav
a:180)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26
3)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
14:15:32,332 WARN [JARDeployer] Failed to add deployable jar:
file:/D:/Program Files/jboss-4.0.4.GA/server/default/tmp/
deploy/tmp12678LICENSE
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:377)
at
org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:284)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26
3)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
14:15:32,342 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo at e5bf4d53 { url=file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/ap
plication.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/application.xml
altDD: null
lastDeployed: 1211058932171
lastModified: 1211058932171
mbeans:
org.jboss.deployment.DeploymentInfo at 3da0a213 { url=file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/da
ytrader-ear-1.2-SNAPSHOT/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/daytrader-ear-1.2-SNAPSHOT/
altDD: null
lastDeployed: 1211058932342
lastModified: 1211058927094
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at db35f4da { url=file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/da
ytrader-ear-1.2-SNAPSHOT.ear }
deployer: org.jboss.deployment.EARDeployer at bf053f
status: Deployment FAILED reason: Could not create deployment:
file:/D:/Program Files/jboss-4.0.4.GA/server/default/tm
p/deploy/tmp12675daytrader-ear-1.2-SNAPSHOT.ear-contents/web.war; - nested
throwable: (org.jboss.ws.WSException: Cannot
obtain java type mapping for:
{http://daytrader.samples.geronimo.apache.org}>getMarketSummary)
state: FAILED
watch: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/daytrader-ear-1.2-SNAPSHOT.ear
altDD: null
lastDeployed: 1211058930189
lastModified: 1211058928496
mbeans:
org.jboss.deployment.DeploymentInfo at e5bf4d53 { url=file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/ap
plication.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/application.xml
altDD: null
lastDeployed: 1211058932171
lastModified: 1211058932171
mbeans:
org.jboss.deployment.DeploymentInfo at 3da0a213 { url=file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/da
ytrader-ear-1.2-SNAPSHOT/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/Program
Files/jboss-4.0.4.GA/server/default/deploy/target/daytrader-ear-1.2-SNAPSHOT/
altDD: null
lastDeployed: 1211058932342
lastModified: 1211058927094
mbeans:
PeiPei wrote:
>
> HI all,
> I’m facing difficulties trying to deploy DayTrader in Jboss Server.
> Below are the version of daytrader and Jboss I have tried(for weeks).
>
> DayTrader
> DayTrader – revision no:416929 (managed to built it using Maven 2)
> DayTrader– revision no:553607 (managed to built it using Maven 2)
>
> Jboss
> jboss-4.0.3 – server: default
> jboss-4.0.3SP1
> jboss-4.0.4.GA
> jboss-4.0.5.GA
> jboss-4.2.0.GA
>
> Background:
> Operating System : WINDOWS XP Professional
> I am using MySQL as DB (I followed exact instruction given by DayTrader)
>
> I have spent weeks to try all the above DayTrader versions, Jboss versions
> but to no avail.
>
> Any kind souls out there can help me on this? Any hints/suggesting will be
> appreciated.
> Below are the error message encountered when deploying the DayTrader ear
> file.
>
>
>
> 19:59:17,176 INFO [EARDeployer] Init J2EE application:
> file:/D:/FYP/jboss-4.0.3/server/default/deploy/daytrader-ear-1.1.ear
> 19:59:17,297 WARN [MainDeployer] Found non-jar deployer for
> wsappclient.jar: org.jboss.deployment.ClientDeployer at 57828d
> 19:59:17,656 WARN [MainDeployer] Found non-jar deployer for
> wsappclient.jar: org.jboss.deployment.ClientDeployer at 57828d
> 19:59:17,749 ERROR [MainDeployer] Could not start deployment:
> file:/D:/FYP/jboss-4.0.3/server/default/tmp/deploy/tmp36181daytrader-ear-1.1.ear-content
> s/dt-ejb.jar
> org.jboss.deployment.DeploymentException: expected one display-name tag
> at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:98)
> at
> org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:291)
> at
> org.jboss.metadata.ClientMetaData.importClientXml(ClientMetaData.java:126)
>
>
> Let me know if you need any further input from me.
>
> It would be good to advise which DayTrader svn revision and Jboss version
> to use.
>
> Thanks in advanced!
>
> Regards,
> Pei Pei
>
>
--
View this message in context: http://www.nabble.com/DayTrader-deployment-on-JBOSS-Server-tp17082164p17288597.html
Sent from the JBoss - Dev mailing list archive at Nabble.com.
More information about the jboss-development
mailing list