[Performance Tuning] - Increase jboss Memory
by elshereif
Hello
I'm Running JBoss 4.0.2 on Sun Sparc 64bit Servers with Memory of 16GB
I'm trying to incease the jvm memory size to be 4GB
I use the following command in jboss Run.conf File
JAVA_OPTS="$JAVA_OPTS -d64 -Xmn4096m -Xms3072m -Xmx3072m -XX:+UseParallelGC -XX:ParallelGCThreads=5 -verbose:gc"
it prints the following
So what i need to do to set the memory to 4GB
JBoss Bootstrap Environment
JBOSS_HOME: /JBOSS/iboss/jboss-4.0.2RC1
JAVA: java
JAVA_OPTS: -d64 -Xmn1024m -Xms3072m -Xmx3072m -XX:ThreadStackSize=128
-XX:+UseParallelGC -XX:ParallelGCThreads=8 -verbose:gc -Xloggc:/gclog.txt -XX:+PrintGCDetails -Dcom.sun.management.jmxremote.port=50050 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dprogram.name=run.sh
CLASSPATH: /JBOSS/iboss/jboss-4.0.2RC1/bin/run.jar:/lib/tools.jar
=========================================================================
17:13:47,049 INFO [Server] Starting JBoss (MX MicroKernel)...
17:13:47,054 INFO [Server] Release ID: JBoss [Zion] 4.0.2RC1 (build: CVSTag=JBoss_4_0_2_RC1 date=200503140913)
17:13:47,055 INFO [Server] Home Dir: /JBOSS/iboss/jboss-4.0.2RC1
17:13:47,056 INFO [Server] Home URL: file:/JBOSS/iboss/jboss-4.0.2RC1/
17:13:47,057 INFO [Server] Library URL: file:/JBOSS/iboss/jboss-4.0.2RC1/lib/
17:13:47,061 INFO [Server] Patch URL: null
17:13:47,062 INFO [Server] Server Name: default
17:13:47,062 INFO [Server] Server Home Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default
17:13:47,064 INFO [Server] Server Home URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/
17:13:47,065 INFO [Server] Server Data Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default/data
17:13:47,065 INFO [Server] Server Temp Dir: /JBOSS/iboss/jboss-4.0.2RC1/server/default/tmp
17:13:47,066 INFO [Server] Server Config URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/conf/
17:13:47,067 INFO [Server] Server Library URL: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/lib/
17:13:47,068 INFO [Server] Root Deployment Filename: jboss-service.xml
17:13:47,080 INFO [Server] Starting General Purpose Architecture (GPA)...
psrset: cannot bind pid 7221: Invalid argument
psrset: invalid process ID: 6521
root@DR-IBOSS-ES00-WF00 # 17:13:48,443 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
17:13:48,444 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_12-b04,Sun Microsystems Inc.
17:13:48,445 INFO [ServerInfo] OS-System: SunOS 5.10,sparcv9
17:13:50,046 INFO [Server] Core system initialized
17:13:53,792 ERROR [MainDeployer] could not create deployment: file:/JBOSS/iboss/jboss-4.0.2RC1/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213927#4213927
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213927
15 years, 11 months
[JBossMQ] - Re: javax.naming.NameNotFoundException: XAConnectionFactory
by rasa
Hi,
I am using jboss 3.2.5 version and when i starts my jboss it gives following error
| javax.naming.NameNotFoundException: XAConnectionFactory not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
| at javax.naming.InitialContext.lookup(InitialContext.java:347)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:686)
| at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
|
I am using JMS technology but and the JMS provider is a 3rd party software. My queue is working fine, but still i am getting this error. Checked JMS consile JNDI view see the out put
Global JNDI Namespace
|
| +- HAILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
|
Please give a solution to solve the issue.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213911#4213911
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213911
15 years, 11 months
[JBossWS] - Use of JAX-RPC in JBoss 4.2.3
by glen_s
I have a web app running on JBoss AS 4.2.3, default server configuration. I need to write a web service client that can talk to a soap encoded web service. I know that JBossWS does not support soap encoding, so I am struggling to find a workaround.
>From my research I'm lead to believe that JAX-RPC is the one library that does support soap encoding, so have tried using a (JWSDP) wscompile produced client in JBoss 4.2.3.
When I include the JWSDP compatible JARs[1] in the lib directory of my EAR, and my client code calls into the wscompile produced stub, the stub calls into (JWSDP) StreamingSender class and ultimately throws a ClassCastException:
| 1. java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPMessageImpl
| 2. at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231)
| 3. at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
|
How can I make JAX-RPC work on JBoss 4.2.3? Is it possible to manipulate the set of JARs from JWSDP that I am including[1] in my web app to make JAX-RPC (supporting soap encoding) work on JBoss 4.2.3?
If no-one can offer the silver-bullet answer as to how to make JAX-RPC work on JBoss 4.2.3, maybe one of the following ideas will ring true with someone who can at least point me in the right direction to pursue.
Might I:
* *Somehow* configure JBossWS to "play nice" with JAX-RPC so that JAX-RPC can be used as my web service library
| * Change the class loader configuration to allow the JAX-RPC (and associated JWSDP) JAR files to work in my web app
| * Remove the JBossWS module from the default configuration, and somehow just use JAX-RPC JARs from my web app rather than being loaded as a JBoss service (although I have concerns that the JAX-RPC dependant JARs from JWSDP would still conflict with other XML related JARs in JBoss AS)
| * Switch to some other web service client library that supports soap encoding (that I'm not aware of) that can be configured to run on JBoss AS 4.2.3
|
| I am relatively new to JBoss, so if one of the above ideas strikes you as ludicrous (just doesn't make sense), I apologize.
|
| Thank you,
| Glen Scott
|
| [1]The jars from JWSDP 1.6 I included in my EAR's lib are: activation.jar, commons-beanutils.jar, commons-collections.jar, commons-digester.jar, commons-logging.jar, dom.jar, jaas.jar, jax-qname.jar, jaxp-api.jar, jaxrpc-api.jar, jaxrpc-impl.jar, jaxrpc-spi.jar, mail.jar, namespace.jar, relaxngDatatype.jar, saaj-api.jar, saaj-impl.jar, sax.jar, xercesImpl.jar, xsdlib.jar
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213909#4213909
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213909
15 years, 11 months