facebook

deploying XFire plugin results into JBoss, how to create ear

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #265326 Reply

    rlukas
    Member

    I am including my stack trace at the end of the post. Please can someone help me out with this. I do not do a lot of work with deployment issues and so I am a little rusty with this topic.

    I am using XFire, I am also using the MyEclipse plug in. Both seem to work great. Really nice work on the myEclipse plugin guys. I did the helloworld plugin several times and I am totally comfortable with it.

    Now I have to use that same technique with JBoss instead of the embedded technology that comes with XFire. Our company uses JBoss and so I have to start creating WS’s which run inside of JBoss.

    So I bring up my XFire plugin and do the helloworld and .. You guessed it.. I then go to deploy my project into the JBoss environment and .. CRASHO! the error messages that I think matters is
    url=file:/C:/Program Files/PilotSoftware/Common/jboss/server/default/deploy/PilotWorks.ear
    and can be found at the end of the trace.

    Surely someone has the simple steps that I have to do to get this working.. Could someone post them or ask me the questions that I need to answer to help you figure this out with me.

    The question all comes down to how do I create this PilotWorks.ear file?

    If I open this ear file up I can see war files for my other projects but not the xfire project which the plug in created. There is no war file for that. How do I get myeclipse to create that and place it into the ear file and all of that..

    Thanks so much..

    11:51:14,108 INFO  [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
    11:51:14,108 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_10-b03,Sun Microsystems Inc.
    11:51:14,108 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
    11:51:14,827 INFO  [Server] Core system initialized
    11:51:16,796 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    11:51:41,937 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Program Files/Pilot Software/Common/jboss/server/default/deploy/PilotWorks.ear
    org.jboss.deployment.DeploymentException: Failed to find module file: PilotWorksWebServices.war
        at org.jboss.deployment.EARDeployer.init(EARDeployer.java:242)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
        at sun.reflect.GeneratedMethodAccessor8.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:118)
        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:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy6.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:428)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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:118)
        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:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
        at org.jboss.Main.boot(Main.java:187)
        at org.jboss.Main$1.run(Main.java:438)
        at java.lang.Thread.run(Thread.java:595)
    11:51:41,952 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@a43b1514 { [b]url=file:/C:/Program Files/Pilot Software/Common/jboss/server/default/deploy/PilotWorks.ear [/b]}
      deployer: org.jboss.deployment.EARDeployer@1cfd3b2
      status: null
      state: FAILED
      watch: file:/C:/Program Files/Pilot Software/Common/jboss/server/default/deploy/PilotWorks.ear
      altDD: null
      lastDeployed: 1170089501937
      lastModified: 1170089501531
      mbeans:
    #265421 Reply

    Riyad Kalla
    Member

    It looks like that module is missing. If you right click on your EAR properties and go to MyEclipse Ad//Remove Modules, do you see the web service project listed as one of the modules in that EAR? If so, then there may be a problem when MyEclipse tries to deploy that specific module in which case try and deploy the entire ear, then open the log file (<workspace dir>\.metadata\.log) and look near the bottom for a deployment exception that may shed some light on the situation for us.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: deploying XFire plugin results into JBoss, how to create ear

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