[Installation, Configuration & DEPLOYMENT] - Re: Error when deploying
by b7518
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
18 years, 2 months
[Performance Tuning] - performance tuning web-container in jboss
by the666pack
hello!
i am performance testing the jboss server. however i realized a low throughput for simultaneous client requests. so now i would like to know which possibilities i have to change this behaviour and increase performance.
for performance tests i use the command line tool openwebload(http://openwebload.sourceforge.net), my jvm settings are fine (-Xmx1024m) and i see the memory getting used up the more simultaneous client requests i send. however after about 180 simultaneous client requests the jvm is filled up and the server is going dead. this is too few for my taste.
i need to keep the settings for tomcat (for example maxacceptrate,thread pool,...) and the jvm settings fixed, but i would anyway like to improve the performance.
is there something i can do? are there possibilities of connection pooling or an improved garbage collection for the jvm so that it does not fill up the memory so fast?
thanks in advance for help,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131296#4131296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131296
18 years, 2 months