[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error when deploying
b7518
do-not-reply at jboss.com
Fri Feb 22 04:10:37 EST 2008
Hi,
As per my collegues, JBOSS server is running and i need to shutdown then start script. But i encounter this error when using "shutdown - S"
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099. Root exception is javax.naming.ComunnicationException: Failed to connect to server localhost:1099. Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099. Root exception is java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect<Native Method>..............
When using the run.bat, I get this error
12:35:12,795 INFO [Server] Starting JBoss (MX MicroKernel)...
12:35:12,795 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
12:35:12,795 INFO [Server] Home Dir: C:\jboss4
12:35:12,795 INFO [Server] Home URL: file:/C:/jboss4/
12:35:12,795 INFO [Server] Patch URL: null
12:35:12,795 INFO [Server] Server Name: default
12:35:12,795 INFO [Server] Server Home Dir: C:\jboss4\server\default
12:35:12,795 INFO [Server] Server Home URL: file:/C:/jboss4/server/default/
12:35:12,795 INFO [Server] Server Temp Dir: C:\jboss4\server\default\tmp
12:35:12,795 INFO [Server] Root Deployment Filename: jboss-service.xml
12:35:13,014 INFO [ServerInfo] Java version: 1.4.1_02,Sun Microsystems Inc.
12:35:13,014 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.1_02-b06,Sun Microsystems Inc.
12:35:13,014 INFO [ServerInfo] OS-System: Windows XP 5.2,x86
12:35:13,326 INFO [Server] Core system initialized
12:35:13,342 ERROR [MainDeployer] Could not make local copy for file:/C:/jboss4/server/default/conf/jboss-service.xml
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1313)
at java.io.File.createTempFile(File.java:1401)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1149)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:822)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
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:324)
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:536)
12:35:13,357 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss4/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:580)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)
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 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:324)
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:536)
Thanks,
Buddy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131312#4131312
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131312
More information about the jboss-user
mailing list