-
1. Re: howto setup jboss in AIX
frankgrimes Mar 15, 2005 9:39 AM (in response to alvincks)All you need is the *latest* IBM JDK filesets installed, and you should be good to go.
Just watch out for AIX tar and GNU tar incompatibilities: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55007 -
2. Re: howto setup jboss in AIX
keanthian Mar 16, 2005 6:36 AM (in response to alvincks)hi all,
we managed to install JBoss 4.0 on AIX 5.3 machine and successfully startup JBoss. The problem is when i browse to http://localhost:8080/jmx-console. I hit OutOfMemoryException, any ideas what is going wrong here?
please guides, thanks. -
3. Re: howto setup jboss in AIX
frankgrimes Mar 16, 2005 9:57 AM (in response to alvincks)Can you post the results of $JAVA_HOME/bin/java -version?
Also, any stack trace(s) in your server log might be helpful too. -
4. Re: howto setup jboss in AIX
keanthian Mar 16, 2005 12:58 PM (in response to alvincks)Output of java -version
/***********************************************************/
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142sr1a-20050209 (JIT disabled)
/***********************************************************/
The exception captured is
/***********************************************************/
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
java.lang.OutOfMemoryError: JVMXE004:OutOfMemoryError, stAllocArray for executeJava failed
at com.sun.tools.javac.v8.util.Name$Table.(Name.java:423)
at com.sun.tools.javac.v8.util.Name$Table.(Name.java:487)
at com.sun.tools.javac.v8.util.Name$Table.make(Name.java:373)
at com.sun.tools.javac.v8.util.Name$Table.instance(Name.java:388)
at com.sun.tools.javac.v8.code.Symtab.(Symtab.java:259)
at com.sun.tools.javac.v8.code.Symtab.instance(Symtab.java:54)
at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:131)
at com.sun.tools.javac.v8.Main.compile(Main.java:583)
at com.sun.tools.javac.Main.compile(Main.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:568)
/***********************************************************/
thanks -
5. Re: howto setup jboss in AIX
frankgrimes Mar 17, 2005 9:08 AM (in response to alvincks)Well, it does look like your IBM JDK filesets are up-to-date.
Are you absolutely sure that there is no javacore.txt file generated by the IBM JRE?
It would likely show up where you launched JBoss from (e.g. $JBOSS_HOME/bin).
If there is such a core dump file, it would tend to indicate a bug in the IBM Java Runtime.
One thing you might want to try is building JBoss from sources on IBM's JDK.
A long time ago we hit some strange behaviour running the binary distributions (built on Sun's JDK) of Jboss and Jetty on IBM's AIX JDK.
Compiling with the IBM JDK solved the problems and we've been doing so ever since.
Other than that, the only thing I can think of is that the version of the Jasper libraries you are using is generating servlet code (a .java file) from the JSPs that the IBM AIX JDK javac compiler just does not like.
Trying a different version of Jasper might be worth trying too.
Hope that helps!
Good luck. -
6. Re: howto setup jboss in AIX
keanthian Mar 17, 2005 9:29 PM (in response to alvincks)Do you know where I can download Jasper library? I tried to search from www.apache.org but it's not there..
thanks. -
7. Re: howto setup jboss in AIX
keanthian Mar 18, 2005 1:10 AM (in response to alvincks)hi,
The following is the excerpt from javacore.txt. Hope it can provide some hints.
NULL ------------------------------------------------------------------------
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO OUTOFMEMORY received
1TIDATETIME Date: 2005/03/18 at 23:00:25
1TIFILENAME Javacore filename: /disc1/software/jboss-4.0.2RC1/bin/javacore454768.1111161625.txt
NULL ------------------------------------------------------------------------
0SECTION XHPI subcomponent dump routine
NULL ==============================
1XHTIME Fri Mar 18 23:00:25 2005
1XHSIGRECV Unexpected signal -1 received at 0x0 in . Processing terminated.
1XHFULLVERSION J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142sr1a-20050209
NULL
1XHCURRENTTHD Current Thread Details
NULL ----------------------
2XHCURRSYSTHD "http-0.0.0.0-8080-3" sys_thread_t:0x1161C6CC0
3XHNATIVESTACK Native Stack
NULL ------------
3XHSTACKLINE at 0x900000001736B48 in sysBackTrace
3XHSTACKLINE at 0x9000000017371D8 in DumpThreadDetails
3XHSTACKLINE at 0x900000001737044 in Diagnostics -
8. Re: howto setup jboss in AIX
frankgrimes Mar 18, 2005 10:57 AM (in response to alvincks)Looks like you've found a bug in IBM's latest 64-bit 1.4.2 JDK for AIX.
I suggest that you open up a support case with them through your AIX support channels.
In the meantime, you might want to check to see if the 32-bit version of their JDK works (you should be able to install it on a 64-bit AIX machine).
As for the Jasper libraries, they are part of Tomcat distributions and might not be available separately for download.