PermGen Error when accessing the contract web application containing
a webservice
---------------------------------------------------------------------------------
Key: JBESB-2251
URL:
https://jira.jboss.org/jira/browse/JBESB-2251
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Management, Web Services
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Priority: Critical
Fix For: 4.5
I noticed this when using the esb server the main trunk and when deploying a webservice.
For example, deploying the webservice_producer quickstart and then accessing the contract
for the http transport at
http://localhost:8080/contract will produce this error:
13:08:04,200 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/lookup/MethodVerifier
at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:257)
at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:149)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:399)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
13:08:06,634 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
13:08:10,113 ERROR [STDERR] at sun.misc.Unsafe.defineClass(Native Method)
13:08:10,113 ERROR [STDERR] at
sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
13:08:10,113 ERROR [STDERR] at
sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
13:08:10,113 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native
Method)
13:08:10,113 ERROR [STDERR] at
sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
13:08:10,113 ERROR [STDERR] at
sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
13:08:10,113 ERROR [STDERR] at
sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1299)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:420)
13:08:10,113 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native
Method)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1035)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:08:10,113 ERROR [STDERR] at
sun.rmi.server.MarshalOutputStream.writeLocation(MarshalOutputStream.java:91)
13:08:10,113 ERROR [STDERR] at
sun.rmi.server.MarshalOutputStream.annotateClass(MarshalOutputStream.java:75)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1174)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1127)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
13:08:10,113 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
13:08:10,114 ERROR [STDERR] at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:08:10,114 ERROR [STDERR] at
sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:258)
13:08:10,114 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
13:08:10,114 ERROR [STDERR] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
13:08:10,114 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
13:08:10,114 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
13:08:10,114 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialContext.java:351)
13:08:10,114 ERROR [STDERR] at
org.jbpm.persistence.jta.JtaDbPersistenceService.getUserTransaction(JtaDbPersistenceService.java:88)
13:08:10,114 ERROR [STDERR] at
org.jbpm.persistence.jta.JtaDbPersistenceService.beginJtaTransaction(JtaDbPersistenceService.java:49)
13:08:10,114 ERROR [STDERR] at
org.jbpm.persistence.jta.JtaDbPersistenceService.<init>(JtaDbPersistenceService.java:28)
13:08:10,114 ERROR [STDERR] at
org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory.openService(JtaDbPersistenceServiceFactory.java:17)
13:08:10,114 INFO [JobExecutorThread] JbpmJobExector:127.0.1.1:1 leaves cyberspace
Doing the same with the binary distribution of jbossesb-server4.4.GA does not produce
this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: