[ 
https://issues.apache.org/jira/browse/SM-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gert Vanthienen closed SM-1959.
-------------------------------

    Resolution: Cannot Reproduce

I haven't seen this problem any more for quite a while now.
                
> OOME PermGen space with maven 3 and xfire plugin
> ------------------------------------------------
>
>                 Key: SM-1959
>                 URL: https://issues.apache.org/jira/browse/SM-1959
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: jbi-maven-plugin-4.4
>         Environment: Maven 3, JDK 1.6, Mac OS X 10.6
>            Reporter: Chris Custine
>            Priority: Minor
>
> This only happens when doing a clean build from features directory.  If you 
> resume the build with  -rf examples/wsdl-first the build completes just fine, 
> so I suspect a leak of some kind.  Haven't really looked into it very much so 
> documenting here in case people start using maven 3 ans see the same issue.  
> Does not happen with Maven <= 2.2.1
> [DEBUG] Created new class realm 
> plugin>org.apache.servicemix.tooling:xfire-maven-plugin:4.1
> [DEBUG] Populating class realm 
> plugin>org.apache.servicemix.tooling:xfire-maven-plugin:4.1
> [DEBUG]   Included: 
> org.apache.servicemix.tooling:xfire-maven-plugin:maven-plugin:4.1
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.5
> [DEBUG]   Included: junit:junit:jar:3.8.1
> [DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.3
> [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0-alpha-1
> [DEBUG]   Included: org.apache.maven:maven-script-ant:jar:2.0.9
> [DEBUG]   Included: org.codehaus.plexus:plexus-ant-factory:jar:1.0-alpha-2
> [DEBUG]   Included: ant:ant-launcher:jar:1.6.5
> [DEBUG]   Included: ant:ant:jar:1.6.5
> [DEBUG]   Included: org.codehaus.xfire:xfire-generator:jar:1.2.5
> [DEBUG]   Included: org.codehaus.xfire:xfire-jaxb2:jar:1.2.5
> [DEBUG]   Included: org.codehaus.xfire:xfire-aegis:jar:1.2.5
> [DEBUG]   Included: org.codehaus.xfire:xfire-core:jar:1.2.5
> [DEBUG]   Included: javax.activation:activation:jar:1.1
> [DEBUG]   Included: javax.mail:mail:jar:1.4
> [DEBUG]   Included: wsdl4j:wsdl4j:jar:1.6.1
> [DEBUG]   Included: jaxen:jaxen:jar:1.1-beta-9
> [DEBUG]   Included: jdom:jdom:jar:1.0
> [DEBUG]   Included: xerces:xmlParserAPIs:jar:2.6.2
> [DEBUG]   Included: xerces:xercesImpl:jar:2.6.2
> [DEBUG]   Included: stax:stax-api:jar:1.0.1
> [DEBUG]   Included: commons-codec:commons-codec:jar:1.3
> [DEBUG]   Included: org.apache.ws.commons:XmlSchema:jar:1.1
> [DEBUG]   Included: org.codehaus.woodstox:wstx-asl:jar:3.2.0
> [DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
> [DEBUG]   Included: commons-httpclient:commons-httpclient:jar:3.0
> [DEBUG]   Included: net.java.dev.stax-utils:stax-utils:jar:20040917
> [DEBUG]   Included: org.codehaus.xfire:xfire-java5:jar:1.2.5
> [DEBUG]   Included: org.codehaus.xfire:xfire-annotations:jar:1.2.5
> [DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.7.0
> [DEBUG]   Included: commons-attributes:commons-attributes-api:jar:2.1
> [DEBUG]   Included: qdox:qdox:jar:1.5
> [DEBUG]   Included: xfire:xfire-jsr181-api:jar:1.0-M1
> [DEBUG]   Included: com.sun.xml.bind:jaxb-xjc:jar:2.1.6
> [DEBUG]   Included: com.sun.xml.bind:jaxb-impl:jar:2.1.6
> [DEBUG]   Included: javax.xml.bind:jaxb-api:jar:2.1
> [DEBUG]   Included: javax.xml.ws:jaxws-api:jar:2.0
> [DEBUG]   Included: org.codehaus.xfire:xfire-xmlbeans:jar:1.2.5
> [DEBUG]   Included: xmlbeans:xbean:jar:2.2.0
> [DEBUG]   Included: org.codehaus.xfire:xfire-spring:jar:1.2.5
> [DEBUG]   Included: org.apache.xbean:xbean-spring:jar:2.8
> [DEBUG]   Included: org.springframework:spring:jar:1.2.6
> [DEBUG]   Included: org.codehaus.xfire:xfire-jaxws:jar:1.2.5
> [DEBUG]   Included: com.sun.xml.messaging.saaj:saaj-impl:jar:1.3
> [DEBUG]   Included: javax.xml.soap:saaj-api:jar:1.3
> [DEBUG]   Included: log4j:log4j:jar:1.2.14
> [DEBUG]   Included: javax.servlet:servlet-api:jar:2.4
> [DEBUG]   Included: javax.xml.stream:stax-api:jar:1.0-2
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.9
> [DEBUG]   Excluded: 
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
> [DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
> [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9
> [DEBUG]   Excluded: org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-15
> [DEBUG]   Excluded: org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-6
> [DEBUG] Configuring mojo 
> org.apache.servicemix.tooling:xfire-maven-plugin:4.1:wsgen from plugin realm 
> ClassRealm[plugin>org.apache.servicemix.tooling:xfire-maven-plugin:4.1, 
> parent: 
> ClassRealm[project>org.apache.servicemix.examples:bridge:4.3.0-SNAPSHOT, 
> parent: ClassRealm[plexus.core, parent: null]]]
> [DEBUG] Configuring mojo 
> 'org.apache.servicemix.tooling:xfire-maven-plugin:4.1:wsgen' with basic 
> configurator -->
> [DEBUG]   (f) outputDirectory = 
> /Users/ccustine/development/apache/servicemix/smx4/all-trunk/features/examples/wsdl-first/wsdl-first-jsr181-su/target/jaxws
> [DEBUG]   (f) profile = org.codehaus.xfire.gen.jsr181.Jsr181Profile
> [DEBUG]   (f) project = MavenProject: 
> org.apache.servicemix.examples.wsdl-first:wsdl-first-jsr181-su:4.3.0-SNAPSHOT 
> @ 
> /Users/ccustine/development/apache/servicemix/smx4/all-trunk/features/examples/wsdl-first/wsdl-first-jsr181-su/pom.xml
> [DEBUG]   (f) wsdls = 
> [/Users/ccustine/development/apache/servicemix/smx4/all-trunk/features/examples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl]
> [DEBUG] -- end configuration --
> [INFO] Executing XFire WsGen task with url: 
> file:/Users/ccustine/development/apache/servicemix/smx4/all-trunk/features/examples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl
> [ERROR] log4j:WARN No appenders could be found for logger 
> (org.codehaus.xfire.gen.Wsdl11Generator).
> [ERROR] log4j:WARN Please initialize the log4j system properly.
> [ERROR] PermGen space -> [Help 1]
> java.lang.OutOfMemoryError: PermGen space
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>         at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
>         at 
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
>         at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:210)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:115)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:198)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:127)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:242)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:92)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:174)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:186)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:139)
>         at 
> com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:378)
>         at 
> com.sun.xml.xsom.impl.parser.state.elementDeclBody.enterElement(elementDeclBody.java:234)
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to