hi,
I have tested my application on geronimo 2.1.1 without changing any line of
source or config.
Works good now!
But i have another issue - server starts really slow , logs :
10:49:02,625 ERROR [CommandDiscoveryListener] Failed to register command:
CommandDescriptor{ source=<null>, id=geronimo-commands:undeploy-module,
implementation=org.apache.geronimo.commands.UndeployModuleCommand,
description=Undeploy a module, version=<null>, parameters=<null>,
requirements=[CommandRequirement{ name=prompter,
type=org.apache.geronimo.gshell.console.PromptReader, id=<null>,
collection=<null> }], dependencies=<null> }
org.apache.geronimo.gshell.registry.DuplicateRegistrationException:
geronimo-commands:undeploy-module
at
org.apache.geronimo.gshell.registry.DefaultCommandRegistry.register(DefaultCommandRegistry.java:51)
at
org.apache.geronimo.gshell.plugin.CommandDiscoveryListener.componentDiscovered(CommandDiscoveryListener.java:75)
at
org.codehaus.plexus.component.discovery.DefaultComponentDiscovererManager.fireComponentDiscoveryEvent(DefaultComponentDiscovererManager.java:76)
at
org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscoverer.java:125)
at
org.codehaus.plexus.container.initialization.ComponentDiscoveryPhase.discoverComponents(ComponentDiscoveryPhase.java:83)
at
org.codehaus.plexus.container.initialization.ComponentDiscoveryPhase.execute(ComponentDiscoveryPhase.java:45)
at
org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:882)
at
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:826)
at
org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:416)
at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:209)
at org.apache.geronimo.gshell.GShell.<init>(GShell.java:82)
at org.apache.geronimo.gshell.cli.Main.boot(Main.java:240)
at org.apache.geronimo.gshell.cli.Main.main(Main.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
at org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)
// ^^^ this errors 6 times and then :
Launching Geronimo Server...
Booting Geronimo Kernel (in Java 1.6.0_05)...
Module 1/67 org.apache.geronimo.framework/j2ee-system/2.1.1/car
started in .000s
Module 2/67 org.apache.geronimo.framework/jee-specs/2.1.1/car
started in .000s
Module 3/67 org.apache.geronimo.framework/rmi-naming/2.1.1/car
started in 1.984s
Module 4/67 org.apache.geronimo.framework/j2ee-security/2.1.1/car
started in 6.438s
Module 5/67 org.apache.geronimo.framework/transformer-agent/2.1.1/car
started in .000s
Module 6/67 org.apache.geronimo.framework/server-security-config/2.1.1/car
started in .328s
Module 7/67 org.apache.geronimo.framework/xmlbeans/2.1.1/car
started in .000s
Module 8/67 org.apache.geronimo.framework/plugin/2.1.1/car
started in .516s
Module 9/67 org.apache.geronimo.configs/j2ee-server/2.1.1/car
started in .218s
Module 10/67 org.apache.geronimo.configs/myfaces/2.1.1/car
started in .062s
Module 11/67 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.1/car
started in 1.375s
Module 12/67 org.apache.geronimo.configs/j2ee-deployer/2.1.1/car
started in 1.016s
Module 13/67 org.apache.geronimo.configs/myfaces-deployer/2.1.1/car
started in .078s
Module 14/67 org.apache.geronimo.configs/derby/2.1.1/car
started in .000s
Module 15/67 org.apache.geronimo.configs/transaction/2.1.1/car
started in 1.390s
Module 16/67 org.apache.geronimo.configs/system-database/2.1.1/car
started in 15.234s
Module 17/67 org.apache.geronimo.configs/activemq-broker/2.1.1/car
started in 10.812s
Module 18/67 org.apache.geronimo.configs/activemq-ra/2.1.1/car
started in 1.671s
Module 19/67 org.apache.geronimo.configs/webservices-common/2.1.1/car
started in .000s
Module 20/67 org.apache.geronimo.configs/openjpa/2.1.1/car
started in .016s
Module 21/67 org.apache.geronimo.configs/openejb/2.1.1/car
started in 4.281s
Module 22/67 org.apache.geronimo.configs/axis/2.1.1/car
started in .578s
Module 23/67 org.apache.geronimo.configs/jasper/2.1.1/car
started in .047s
Module 24/67 org.apache.geronimo.configs/tomcat6/2.1.1/car
started in 54.781s
Module 25/67 org.apache.geronimo.configs/uddi-tomcat/2.1.1/car
started in 2.547s
Module 26/67 org.apache.geronimo.configs/connector-deployer/2.1.1/car
started in .406s
Module 27/67 org.apache.geronimo.configs/axis2/2.1.1/car
started in .000s
Module 28/67 org.apache.geronimo.configs/jasper-deployer/2.1.1/car
started in .062s
Module 29/67 org.apache.geronimo.configs/remote-deploy-tomcat/2.1.1/car
started in 1.078s
Module 30/67 org.apache.geronimo.configs/jaxws-deployer/2.1.1/car
started in .000s
Module 31/67 org.apache.geronimo.configs/openejb-deployer/2.1.1/car
started in .375s
Module 32/67 org.apache.geronimo.configs/jaxws-ejb-deployer/2.1.1/car
started in .000s
Module 33/67 org.apache.geronimo.configs/axis2-deployer/2.1.1/car
started in .172s
Module 34/67 org.apache.geronimo.configs/axis2-ejb/2.1.1/car
started in .000s
Module 35/67 org.apache.geronimo.configs/axis2-ejb-deployer/2.1.1/car
started in .282s
Module 36/67 org.apache.geronimo.configs/ca-helper-tomcat/2.1.1/car
started in .344s
Module 37/67 org.apache.geronimo.plugins/agent-ds/2.1.1/car
started in 2.859s
Module 38/67 org.apache.geronimo.configs/mejb/2.1.1/car
started in .985s
Module 39/67 org.apache.geronimo.plugins/agent/2.1.1/car
started in .578s
Module 40/67 org.apache.geronimo.configs/tomcat6-deployer/2.1.1/car
started in .297s
Module 41/67 org.apache.geronimo.configs/clustering/2.1.1/car
started in .016s
Module 42/67
org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/2.1.1/car
started in .187s
Module 43/67 org.apache.geronimo.configs/spring/2.1.1/car
started in .000s
Module 44/67 org.apache.geronimo.plugins/pluto-support/2.1.1/car
started in .047s
Module 45/67 org.apache.geronimo.plugins/console-tomcat/2.1.1/car
started in 8.875s
Module 46/67 org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.1/car
started in .203s
Module 47/67 org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.1/car
started in .829s
Module 48/67
org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.1/car
started in .234s
Module 49/67 org.apache.geronimo.plugins/plugin-console-tomcat/2.1.1/car
started in 1.250s
Module 50/67
org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.1/car
started in .703s
Module 51/67 org.apache.geronimo.configs/axis-deployer/2.1.1/car
started in .282s
Module 52/67 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.1/car
started in 4.344s
Module 53/67 org.apache.geronimo.configs/hot-deployer/2.1.1/car
started in 2.766s
Module 54/67 org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.1/car
started in 2.157s
Module 55/67 org.apache.geronimo.configs/openejb-corba-deployer/2.1.1/car
started in .641s
Module 56/67 org.apache.geronimo.plugins/activemq-console-tomcat/2.1.1/car
started in 1.984s
Module 57/67 org.apache.geronimo.configs/javamail/2.1.1/car
started in .125s
Module 58/67 org.apache.geronimo.configs/welcome-tomcat/2.1.1/car
started in .360s
Module 59/67 org.apache.geronimo.configs/cxf/2.1.1/car
started in .000s
Module 60/67 org.apache.geronimo.configs/sharedlib/2.1.1/car
started in .063s
Module 61/67 org.apache.geronimo.plugins/mconsole-ds/2.1.1/car
started in .515s
Module 62/67 org.apache.geronimo.plugins/mconsole-tomcat/2.1.1/car
started in 2.875s
Module 63/67 org.apache.geronimo.configs/client-deployer/2.1.1/car
started in .281s
Module 64/67 org.apache.geronimo.configs/cxf-ejb/2.1.1/car
started in .000s
Module 65/67 org.apache.geronimo.configs/dojo-tomcat/2.1.1/car
started in .219s
Module 66/67 console.dbpool/przychodnia_dbpool/1.0/rar
started in .391s
Module 67/67 com.ibm.wasce/customerLocator/1.0/car
started in 23.625s
Startup completed in 3:03.875s seconds
Listening on Ports:
0 0.0.0.0 Derby Connector
1050 127.0.0.1 CORBA Naming Service
1099 0.0.0.0 RMI Naming
2001 127.0.0.1 OpenEJB ORB Adapter
4201 0.0.0.0 OpenEJB Daemon
6882 127.0.0.1 OpenEJB ORB Adapter
8009 0.0.0.0 Tomcat Connector AJP AJP
8080 0.0.0.0 Tomcat Connector HTTP BIO HTTP
8443 0.0.0.0 Tomcat Connector HTTPS BIO HTTPS
9999 0.0.0.0 JMX Remoting Connector
61613 0.0.0.0 ActiveMQ Transport Connector
61616 0.0.0.0 ActiveMQ Transport Connector
Started Application Modules:
EAR: com.ibm.wasce/customerLocator/1.0/car
EAR: org.apache.geronimo.configs/uddi-tomcat/2.1.1/car
EAR: org.apache.geronimo.plugins/agent/2.1.1/car
EAR: org.apache.geronimo.plugins/console-tomcat/2.1.1/car
EAR: org.apache.geronimo.plugins/mconsole-tomcat/2.1.1/car
JAR: org.apache.geronimo.configs/mejb/2.1.1/car
RAR: console.dbpool/przychodnia_dbpool/1.0/rar
RAR: org.apache.geronimo.configs/activemq-ra/2.1.1/car
RAR: org.apache.geronimo.configs/system-database/2.1.1/car
RAR: org.apache.geronimo.plugins/agent-ds/2.1.1/car
RAR: org.apache.geronimo.plugins/mconsole-ds/2.1.1/car
WAR: org.apache.geronimo.configs/ca-helper-tomcat/2.1.1/car
WAR: org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.1/car
WAR: org.apache.geronimo.configs/dojo-tomcat/2.1.1/car
WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.1.1/car
WAR: org.apache.geronimo.configs/welcome-tomcat/2.1.1/car
WAR: org.apache.geronimo.plugins/activemq-console-tomcat/2.1.1/car
WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.1/car
WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.1/car
WAR: org.apache.geronimo.plugins/plugin-console-tomcat/2.1.1/car
WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.1/car
Web Applications:
/
/CAHelper
/CustomerLocator
/activemq
/console
/console-base
/debug-views
/dojo
/dojo/0.4
/juddi
/monitoring
/plan-creator
/plugin
/remote-deploy
/system-database
Geronimo Application Server started
Geronimo Server started in 0:03:24.375
10:52:59,671 ERROR [Connector] Error finding container
javax.management.AttributeNotFoundException: Cannot find attribute
managedResource for StandardEngine[Geronimo]
10:52:59,671 ERROR [CoyoteAdapter] An exception or error occurred in the
container during the request processing
java.lang.NullPointerException
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Shutting down...
--
View this message in context:
http://www.nabble.com/Cannot-read-the-response-from-the-server---why---tp17041751s134p17044144.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.