facebook

Traderx example not able to deploy and run

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #269209 Reply

    mychoice
    Member

    hi

    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.html

    Previously 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

    #269257 Reply

    Riyad Kalla
    Member

    Raghu,
    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?

    #269779 Reply

    mlabour
    Member

    I have the same problem. How do we force MyEclopse to generate the war?

    #269780 Reply

    Riyad Kalla
    Member

    mlabour,
    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?

    #269781 Reply

    mlabour
    Member

    Just 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

    #269794 Reply

    Riyad Kalla
    Member

    Matt,
    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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Traderx example not able to deploy and run

You must be logged in to post in the forum log in