| Author |
Can't start server with Lomboz J2EE View in Eclipse
|
anuchit john
Greenhorn
Joined: Apr 01, 2005
Posts: 2
|
|
I'm having a problem with trying to configure - Eclipse 3.0.1 - Lomboz 3.0.1 - jboss-3.2.7 for testing as the steps in the web "http://www.tusc.com.au/tutorial/html/" (Tutorial for building J2EE Applications using JBOSS and ECLIPSE). After I had done the steps of configuration these tools and created the testing EJB, I was tring to start server by click "Debug Server" on JBOSS 3.2.x icon in Lomboz J2EE View. I got these messages. 13:53:12,625 INFO [Server] Starting JBoss (MX MicroKernel)... 13:53:12,625 INFO [Server] Release ID: JBoss [WonderLand] 3.2.7 (build: CVSTag=JBoss_3_2_7 date=200501280217) 13:53:12,625 INFO [Server] Home Dir: C:\jboss-3.2.7 13:53:12,625 INFO [Server] Home URL: file:/C:/jboss-3.2.7/ 13:53:12,625 INFO [Server] Library URL: file:/C:/jboss-3.2.7/lib/ 13:53:12,640 INFO [Server] Patch URL: null 13:53:12,640 INFO [Server] Server Name: default 13:53:12,640 INFO [Server] Server Home Dir: C:\jboss-3.2.7\server\default 13:53:12,640 INFO [Server] Server Home URL: file:/C:/jboss-3.2.7/server/default/ 13:53:12,656 INFO [Server] Server Data Dir: C:\jboss-3.2.7\server\default\data 13:53:12,656 INFO [Server] Server Temp Dir: C:\jboss-3.2.7\server\default\tmp 13:53:12,656 INFO [Server] Server Config URL: file:/C:/jboss-3.2.7/server/default/conf/ 13:53:12,656 INFO [Server] Server Library URL: file:/C:/jboss-3.2.7/server/default/lib/ 13:53:12,656 INFO [Server] Root Deployment Filename: jboss-service.xml 13:53:12,671 INFO [Server] Starting General Purpose Architecture (GPA)... 13:53:13,140 INFO [ServerInfo] Java version: 1.4.1_02,Sun Microsystems Inc. 13:53:13,140 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.1_02-b06,Sun Microsystems Inc. 13:53:13,140 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 13:53:17,687 INFO [Server] Core system initialized 13:53:21,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 13:53:21,984 INFO [WebService] Using RMI server codebase: http://jim:8083/ 13:53:22,250 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076 13:53:22,265 ERROR [NamingService] Starting failed jboss:service=Naming java.lang.ClassCastException at org.jboss.naming.NamingService.startService(NamingService.java:232) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:415) at org.jboss.system.ServiceController.start(ServiceController.java:437) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:191) at org.jboss.Main$1.run(Main.java:480) at java.lang.Thread.run(Thread.java:536) 13:53:22,265 WARN [ServiceController] Problem starting service jboss:service=Naming RuntimeMBeanException: java.lang.ClassCastException Cause: java.lang.ClassCastException and many messages shown.......... 13:53:38,062 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3.2.7/server/default/deploy/management/web-console.war/ 13:53:38,078 ERROR [WebModule] Starting failed jboss.web.deployment:war=web-console.war,id=-2080810942 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:329) at org.jboss.web.WebModule.startModule(WebModule.java:62) at org.jboss.web.WebModule.startService(WebModule.java:40) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Later messages...... 13:53:38,078 WARN [ServiceController] Problem starting service jboss.web.deployment:war=web-console.war,id=-2080810942 MBeanException: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) Cause: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) Later messages...... 13:53:38,093 ERROR [MainDeployer] could not start deployment: file:/C:/jboss-3.2.7/server/default/deploy/management/web-console.war/ org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:329) at org.jboss.web.WebModule.startModule(WebModule.java:62) at org.jboss.web.WebModule.startService(WebModule.java:40) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Later messages....... 13:53:38,093 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Incompletely deployed packages: org.jboss.deployment.DeploymentInfo@8432ebbe { url=file:/C:/jboss-3.2.7/server/default/deploy/http-invoker.sar/invoker.war/ } deployer: org.jboss.web.tomcat.tc5.Tomcat5@15e8aa5 status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) state: FAILED watch: file:/C:/jboss-3.2.7/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml lastDeployed: 1112338408515 lastModified: 1112247046187 mbeans: Later Messages........ I Depend On: Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) Cause: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-205926350 state: FAILED I Depend On: Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) Cause: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1155) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:607) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:191) at org.jboss.Main$1.run(Main.java:480) at java.lang.Thread.run(Thread.java:536) 13:53:38,562 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 13:53:38,859 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 13:53:38,875 INFO [JkMain] Jk running ID=0 time=0/110 config=null 13:53:38,906 INFO [Server] JBoss (MX MicroKernel) [3.2.7 (build: CVSTag=JBoss_3_2_7 date=200501280217)] Started in 25s:704ms Anybody please help me. Thank you very much
|
 |
Peter Rooke
Ranch Hand
Joined: Oct 21, 2004
Posts: 769
|
|
Maybe not really the solution you are after, but I also had this problem. Best to work around it by starting the JBoss server from outside the IDE. You can still deploy your applications using the IDE (well Xdoclet). You should also be aware that there are a few problems in this tutorial. I think you have to change around some of the generated XML in the jboss EJB deployment files. This had been discussed previously in one of the forums.
|
Regards Pete
|
 |
anuchit john
Greenhorn
Joined: Apr 01, 2005
Posts: 2
|
|
Hi Peter Rooke, Thank you for your kind helpness. I will try as your recommendation.
|
 |
Pawe� Morgan
Greenhorn
Joined: Mar 29, 2005
Posts: 14
|
|
Peter is right. Sometimes jboss doesn't start at all :-). I use Lomboz and it have even more strange behaviour. Sometimes when I'm trying to create test client I click Project->Lomboz EJB test Client Wizard, and no window appears. Then I just copy and Paste simple client in a new class (thanks god New->Class always work :-))
|
 |
 |
|
|
subject: Can't start server with Lomboz J2EE View in Eclipse
|
|
|