[Performance Tuning] - Re: stack size limit
by bentins
I was able to run with the following configuration:
| # Setup JBoss sepecific properties
| JAVA_OPTS="$JAVA_OPTS -XX:ThreadStackSize=128 -Xmx3072m -Xms1024m -XX:MaxPermSize=256m"
|
| # setup java temporary disk space
| JAVA_OPTS="$JAVA_OPTS -Djava.io.tmpdir=/appdata/jboss/tmp"
|
| # the running program
| JAVA_OPTS="$JAVA_OPTS -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
| JAVA_OPTS="$JAVA_OPTS -XX:+UseParallelGC -Dprogram.name=$PROGNAME"
|
It seems that I needed to omit tje 'k' after 128. However when I copied these same setting to my production server Jboss failed to load the application at all:
Here is what I get:
| Could not create deployment: file:/appdata/jboss/jboss-4.0.3
| SP1/server/amit/deploy/jboss-bean.deployer/
| org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.kernel.deployment.jboss.JBossBeanDeployer
| , msg=org/jboss/kernel/deployment/jboss/JBossBeanDeployerMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpec
| ted error during load of: org.jboss.kernel.deployment.jboss.JBossBeanDeployer, msg=org/jboss/kernel/deployment/jboss/JBossBean
| DeployerMBean)
|
and it goes on.... Jboss is reporting on problems with claa loading, however when I take the new settings off it works fine.
Both the production and Test are the same Solaris OS, same JDK, running the same application server settings and version.
What could be causing this, where do you think I should look for differences?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038428#4038428
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038428
19 years, 1 month
[JBoss Seam] - Re: Migrate to jboss 4.2.0 CR
by lcoetzee
Based on the following:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces I am encouraged to dig a bit more. I have resolved the
Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener error (still had a myfaces listener configured in my web. xml!)
Currently I am getting the following error:
| 2007-04-18 16:14:20,388 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
| javax.faces.FacesException: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver)
| at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
| at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
I have changed my application ear to use the jboss-el-api.jar and jboss-el.jar.
Obviously my configuration is still incorrect.
Any ideas ?
L
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038424#4038424
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038424
19 years, 1 month