- This topic has 1 reply, 2 voices, and was last updated 17 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
rlukasMemberI 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:
Riyad KallaMemberIf you right-click on your EAR project, you can go to MyEclipse > Add/Remove modules. From there you should be able to tell if the EAR correctly references the WAR module… does it? If not, then this is just an issue of packaging the right modules. Go ahead and add it, and you should be all set.
-
AuthorPosts