- This topic has 5 replies, 3 voices, and was last updated 17 years, 12 months ago by
Riyad Kalla.
-
AuthorPosts
-
mychoiceMemberhi
i want to test the TraderX EAR project provided by the myeclipse as a sample, i followed the procedure given at this link
http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.htmlPreviously i have worked with web projects and it worked fine,
but when i deploy the TraderX into Jboss 4.0 and running it throws the exceptions shown below ;22:30:15,871 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
22:30:15,972 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
22:30:15,985 INFO [JkMain] Jk running ID=0 time=0/53 config=null
22:30:15,995 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 17s:876ms
22:30:46,062 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.0.2/server/default/deploy/TraderX.ear/
22:30:46,107 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss/jboss-4.0.2/server/default/deploy/TraderX.ear/
org.jboss.deployment.DeploymentException: url file:/C:/jboss/jboss-4.0.2/server/default/deploy/TraderX.ear/TraderXWeb.war could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:175)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:237)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor51.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)I wonder why this happen ?
A suggestion is appreciated.
Thanks
Raghu
Riyad KallaMemberRaghu,
Looks like your deployment was incomplete… did you check the C:/jboss/jboss-4.0.2/server/default/deploy/TraderX.ear directory to make sure the WAR was in there, and had the proper contents?
mlabourMemberI have the same problem. How do we force MyEclopse to generate the war?
Riyad KallaMembermlabour,
Please be more descriptive… is the project imported without any compiler/build problems? When you deploy it do you get any error markers? Is the problem that WAR isn’t getting created or that you want a packaged deployment?
mlabourMemberJust a correction to my post:
I was able to run TraderX project
But I had to export TraderXEJB into a jar and TraderXWeb into a war and manually copy them into the \jboss-4.0.5.GA\server\default\deploy\TraderX.ear directory. I was expecting the MyEclipse Deploy button to do that for me
Regards
Matt
Riyad KallaMemberMatt,
That’s exactly what it does do for you. Just to make sure, were you using the deploy tool off of the toolbar and then selecting TraderX project and creating a JBoss deployment (exploded or packaged?)It’s possible you were using a different plugin.
-
AuthorPosts