Hi Karl, On 8 September 2011 17:28, Karl Wettin <karl.wet...@gmail.com> wrote:
> Hi forum, > > I ran in to a few problems while testing out trunk in order to get my hands > on enum-support. Ended up reverting to 1.6 since I had no time to trace down > and fix the problems, but thought I at least should report it. > > First off, java2wsdl generated bad XML. The element defining the single > method with a single parameter in my single service class didn't contain the > method name. Also generated some other errors that I could not identify with > my eyes but that wsdl2code reported with cryptic error message after that I > manually adding the service method name to the element. > > Afraid I'm not allowed to post the service and parameter class (and > aggregates) nor the generated WSDL in public, I could however pass it on in > a private mail to someone who is interested in taking a closer look. > > Less important, after hours of running tests via mvn clean install I got an > OOME: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Axis2 - Root 1.7.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > ... > constituent[29]: > file:/usr/share/maven/lib/wagon-provider-api-1.0-beta-7.jar > constituent[30]: file:/usr/share/maven/lib/xercesMinimal-1.9.6.2.jar > --------------------------------------------------- > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > > I suppose passing on some Xmx to mvn works, but it would be nice if the POM > already defined this. I'm on OS X with Java HotSpot(TM) 64-Bit Server VM > (build 20.1-b02-384, mixed mode), so perhaps you're all on 32bit and thus > never noticed it before. Would surprise me though :) > Could you please share value of your MAVEN_OPTS variable? Yes. Adding -XX:MaxPermSize="$VALUE" will solve your problem. Thanks and Regards, Harshana > > > > > karl > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- Thanks and Regards, Harshana Martin -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2.com http://wso2.org ECF Committer: http://www.eclipse.org/ecf/ Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05