What level of trunk are you using?
The following should have helped -
Author: jdillon
Date: Sat Feb 10 16:30:20 2007
New Revision: 505805
URL: http://svn.apache.org/viewvc?view=rev&rev=505805
Log:
Add option set to enable -Xmx512m -XX:MaxPermSize=128m for
`geronimo:start -Doptions=morememory`
Modified:
geronimo/server/trunk/pom.xml
-Donald
Sean Qiu wrote:
In my os of ubuntu, i encounted new fail when run the test. Have you encountered the same problem? thanks. 1. web-testsuiteIt always throws java.lang.OutOfMemoryError, while there still remains 1GB memory.[INFO] [INFO] Exploding webapp...[INFO] [INFO] Assembling webapp test-security in /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test-security-2.0-SNAPSHOT [INFO] [INFO] Copy webapp webResources to /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test- security-2.0-SNAPSHOT [INFO] [INFO] Copy webapp webResources to /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test-security-2.0-SNAPSHOT [INFO] [INFO] Generating war /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test- security-2.0-SNAPSHOT.war [INFO] [INFO] Building war: /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test-security-2.0-SNAPSHOT.war[INFO] [INFO] [geronimo:deploy-module {execution: deploy-wars}][INFO] [INFO] Using non-artifact based module archive: /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test-security-2.0-SNAPSHOT.war[INFO] [INFO] Using non-artifact based plan: null [INFO] [INFO] Distributing module artifact: /home/qbit/at/geronimo/server/testsuite/web-testsuite/test-security/target/test- security-2.0-SNAPSHOT.war with plan null [WARNING] Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space [INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] exec returned: 130[INFO] ------------------------------------------------------------------------[INFO] For more information, run Maven with the -e switch[INFO] ------------------------------------------------------------------------[INFO] Total time: 2 minutes 51 seconds [INFO] Finished at: Tue Feb 13 17:18:42 CST 2007 [INFO] Final Memory: 13M/25M[INFO] ------------------------------------------------------------------------java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:571) at java.lang.Shutdown.runHooks(Shutdown.java:128) at java.lang.Shutdown.sequence(Shutdown.java:173) at java.lang.Shutdown.exit(Shutdown.java:218) at java.lang.Runtime.exit(Runtime.java:90) at java.lang.System.exit(System.java:868) at org.codehaus.classworlds.Launcher.main(Launcher.java:376) Exception in thread "main" java.lang.IllegalThreadStateException at java.lang.Thread.start (Thread.java:571) at java.lang.Shutdown.runHooks(Shutdown.java:128) at java.lang.Shutdown.sequence(Shutdown.java:173) at java.lang.Shutdown.exit(Shutdown.java:218) at java.lang.Runtime.exit (Runtime.java:90) at java.lang.System.exit(System.java:868) at org.codehaus.classworlds.Launcher.main(Launcher.java:381) Exception in thread "SIGINT handler" java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:571) at java.lang.Shutdown.runHooks(Shutdown.java:128) at java.lang.Shutdown.sequence(Shutdown.java:173) at java.lang.Shutdown.exit(Shutdown.java :218) at java.lang.Terminator$1.handle(Terminator.java:35) at sun.misc.Signal$1.run(Signal.java:195) at java.lang.Thread.run(Thread.java:595) [EMAIL PROTECTED]:~/at/geronimo/server/testsuite/web-testsuite$ mvn [INFO] Scanning for projects...[INFO] ----------------------------------------------------------------------------[INFO] Building Geronimo TestSuite :: Web-tier Testsuite [INFO] task-segment: [install][INFO] ----------------------------------------------------------------------------[INFO] [tools:require-java-version {execution: validate-java-version}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] [site:attach-descriptor] [INFO] [selenium:start {execution: start-server}] [INFO] Starting Selenium server...[INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/web-testsuite/target/selenium/server.log [INFO] User extensions: /home/qbit/at/geronimo/server/testsuite/web-testsuite/target/selenium/user-extensions.js[INFO] Selenium server started [INFO] [geronimo:start-server {execution: start-server}] [INFO] Using assembly configuration: jetty[INFO] Using assembly artifact: org.apache.geronimo.assemblies:geronimo-jetty6-jee5:zip:bin:2.0-SNAPSHOT [INFO] Using geronimoHome: /home/qbit/at/geronimo/server/testsuite/web-testsuite/target/geronimo-jetty6-jee5-2.0-SNAPSHOT[INFO] Re-using previously installed assembly [INFO] Starting Geronimo server...[INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/web-testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log log4j:WARN No appenders could be found for logger (org.apache.geronimo.mavenplugins.geronimo.ServerProxy).log4j:WARN Please initialize the log4j system properly.[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to start Geronimo server 2.webservices-testsuiteIt seem that it has start some server even after i restart my pc and rerun the test.[INFO] [INFO] Building jar: /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/stax-tests/stax-client/target/stax-client-2.0-SNAPSHOT.jar[INFO] [INFO] [geronimo:deploy-module {execution: deploy-client}][INFO] [INFO] Using non-artifact based module archive: /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/stax-tests/stax-client/target/stax-client-2.0-SNAPSHOT.jar[INFO] [INFO] Using non-artifact based plan: null[INFO] [INFO] Distributing module artifact: /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/stax-tests/stax-client/target/stax-client-2.0-SNAPSHOT.jar with plan null [WARNING] Deployer operation failed: Module JEE5/StaxClientServer/1.1/car already exists in the server. Try to undeploy it first or use the redeploy command. [WARNING] org.apache.geronimo.common.DeploymentException: Module JEE5/StaxClientServer/1.1/car already exists in the server. Try to undeploy it first or use the redeploy command. [WARNING] at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java:254) [WARNING] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124) [WARNING] at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>) [WARNING] at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) [WARNING] at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) [WARNING] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:127) [WARNING] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855) [WARNING] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) [WARNING] at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:338) [WARNING] at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>) [WARNING] at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) [WARNING] at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) [WARNING] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:127) [WARNING] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855) [WARNING] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) [WARNING] at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168) [WARNING] at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) [WARNING] at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) [WARNING] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815) [WARNING] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke (JmxMBeanServer.java:784) [WARNING] at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408) [WARNING] at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java :81) [WARNING] at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245) [WARNING] at java.security.AccessController.doPrivileged(Native Method) [WARNING] at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348) [WARNING] at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782) [WARNING] at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) [WARNING] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[WARNING] at java.lang.reflect.Method.invoke (Method.java:585)[WARNING] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)[WARNING] at sun.rmi.transport.Transport$1.run(Transport.java:153)[WARNING] at java.security.AccessController.doPrivileged (Native Method) [WARNING] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) [WARNING] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) [WARNING] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run (TCPTransport.java:701)[WARNING] at java.lang.Thread.run(Thread.java:595)[WARNING] log4j:WARN No appenders could be found for logger (org.apache.geronimo.mavenplugins.geronimo.ServerProxy).[WARNING] log4j:WARN Please initialize the log4j system properly. [INFO] [INFO] Module already exists [INFO] [INFO] Starting modules... [INFO] [INFO] Started module(s): [INFO] [INFO] [geronimo:run-client {execution: run-client}][INFO] [INFO] Geronimo Home: /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/target/geronimo- jetty6-jee5-2.0-SNAPSHOT[INFO] [INFO] Starting Geronimo client...[INFO] [INFO] Redirecting output to: /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/stax-tests/stax-client/target/client.log [INFO] [INFO] ------------------------------------------------------------------------[INFO] [ERROR] BUILD ERROR[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Java returned: 2 [INFO][INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Trace[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Java returned: 2 [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)[INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[INFO] at java.lang.reflect.Method.invoke (Method.java:585)[INFO] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)[INFO] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)[INFO] at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)[INFO] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: Java returned: 2 [INFO] at org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport.execute (ReportingMojoSupport.java:115) [INFO] at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) [INFO] at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)[INFO] ... 16 more [INFO] Caused by: Java returned: 2 [INFO] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)[INFO] at org.apache.geronimo.mavenplugins.geronimo.server.RunClientMojo.doExecute (RunClientMojo.java:127) [INFO] at org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport.execute(ReportingMojoSupport.java:100)[INFO] ... 18 more[INFO] [INFO] ------------------------------------------------------------------------[INFO] [INFO] Total time: 1 minute 3 seconds [INFO] [INFO] Finished at: Tue Feb 13 17:26:14 CST 2007 [INFO] [INFO] Final Memory: 25M/45M[INFO] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] exec returned: 1And in the webservices-testsuite/stax-tests/stax-client/target/client.log,it said 17:26:11,359 INFO [root] System property [sun.boot.class.path] = /home/qbit/at/geronimo/server/testsuite/webservices-testsuite/target/geronimo- jetty6-jee5-2.0-SNAPSHOT/lib/ endorsed/xercesImpl-2.8.1.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/ lib/sunrsasign.jar:/usr/lib/jvm/java- 1.5.0-sun-1.5.0.06/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/classes17:26:11,359 INFO [root] ----------------------------------------------17:26:13,495 ERROR [KernelContextGBean] Error adding binding for org.apache.geronimo.configs/client/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/client/2.0-SNAPSHOT/car,j2eeType=GlobalContext,name=GlobalContext 17:26:13,499 ERROR [KernelContextGBean] Error adding binding for org.apache.geronimo.configs/rmi-naming/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/rmi-naming/2.0- SNAPSHOT/car,j2eeType=GlobalContext,name=GlobalContext 17:26:13,648 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/rmi-naming/2.0-SNAPSHOT/car? ServiceModule=org.apache.geronimo.configs/rmi-naming/2.0-SNAPSHOT/car,j2eeType=GBean,name=RMIRegistry" java.rmi.server.ExportException: Port already in use: 1099; nested exception is:java.net.BindException: Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)at sun.rmi.transport.LiveRef.exportObject (LiveRef.java:116)at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92) at sun.rmi.registry.RegistryImpl.<init>( RegistryImpl.java:78)at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186) at org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistryService.java:63) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:984) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start (GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java :543) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:378) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java :527) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508) at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke (<generated>)at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:127)But the netstat cannot find the used port process. -- Sean Qiu
smime.p7s
Description: S/MIME Cryptographic Signature
