camel2.1 with geronimo 2.2 (activemq 3.5) from camel list
posted already here. http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html Hi I tried to run camel in a freshly downloaded geronimo-tomcat6-javaee5-2.2. I simply uncommented the camelContext id=camel xmlns=http://camel.apache.org/schema/spring; route from uri=activemq:example.A/ to uri=activemq:example.B/ /route /camelContext part in the activemx.xml and changed all the URLs as told in http://camel.apache.org/exception-beandefinitionstoreexception.html and have the camel-*-2.1.0.jars copied to geronimo_homelib but I still get this exception 007 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.configs/activemq-broker/2.2/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/car,j2eeType=JMSServer,na me=DefaultActiveMQBroker org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://camel.apache.org/schema/spring Do I have install some more jars, plugins? Are there any? Is there a tutorial of running camel with geronimo (as a kind of service) Many thanks for any help, Uli -- View this message in context: http://old.nabble.com/camel2.1-with-geronimo-2.2-%28activemq-3.5%29-from-camel-list-tp27255599s134p27255599.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Running Apache with the Apache Commons Daemon under Microsoft Windows
1) I have been investigating a problem deploying an Application onto a Geronimo 2.1 or 2.2 Server on a Windows System using the Apache Commons Daemon. The issue was, that I regularly got PermGenSpace errors. Following the guides, I added -XX:MaxPermSize=256m to geronimosrvw.exe's Java Options. However, I tried many things, but didn't succeed; After some time I found the issues http://issues.apache.org/jira/browse/DAEMON-119 (and a related? bug http://issues.apache.org/jira/browse/DAEMON-112), which are the reason for that issue: Geronimo should - in my optinion - be started in Java-Mode. In Java (and the currently used exe-Mode) it is necessary to add all important options directly into the start up-arguments fields before the -jar line, which should be noticed in the Wiki. That solved the PermGenSpace issue permanently for me. 2) At the shutdown page, it is necessary to explicitly select the Java-Mode and set a timeout (30 seconds or so); otherwise the geronimo server will simply be killed without any chance to terminate gracefully. The following parameters in the shutdown arguments-field should be changed when the password changes, which should be noticed in the Wiki, too: --user system --password manager I have opened a issue: https://issues.apache.org/jira/browse/GERONIMO-5040 Best regards, Johannes -- |- | weberhofer GmbH | Johannes Weberhofer | information technologies| | Austria, 1080 Wien, Blindengasse 52/3 | | Firmenbuch: 225566s, Handelsgericht Wien | UID: ATU55277701 | | phone : +43 (0)1 5454421 0 | email: off...@weberhofer.at | fax : +43 (0)1 5454421 19 | web : http://www.weberhofer.at | mobile: +43 (0)699 11998315 | |-
How to configure Single Sign On for G 2.2 with Tomcat
Hi, I'm trying to configure Single Sign On (SSO) in Geronimo 2.2 with Tomcat, but I can't get it to work. In Geronimo 2.1.4 the SSO configuration is done by adding a gbean in config.xml and I had no problem to make that work. In the documentation for 2.2 I found that SSO configuration is similar as for 2.1.4, as explained in http://cwiki.apache.org/GMOxDOC22/managing-valve.html#ManagingValve-AddasecondValve But copying the example from the documentation into config.xml results in a failure at startup. The following error message is printed in geronimo.out : ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.configs/tomcat6/2.2/car?configurationName=org.apache.geronimo.configs/tomcat6/2.2/car org.apache.geronimo.kernel.config.InvalidConfigException: New GBeans must be specified with a GBeanInfo and a full AbstractName configuration=org.apache.geronimo.configs/tomcat6/2.2/car gbeanName=AccessLogValve In the release notes at http://www.apache.org/dist/geronimo/2.2/RELEASE_NOTES-2.2.txt I found that: The Tomcat server is now configured through native server.xml configuration files rather than gbeans. So I tried to enable SSO by uncommenting the following entry: Valve className=org.apache.catalina.authenticator.SingleSignOn/ But that didn't make any difference. The SSO doesn't work. What is the preferred method of configuring Tomcat, gbean or server.xml? Did someone manage to configure SSO for G 2.2 and Tomcat? How did you do it? Any suggestions? Thanks for any help, Boes -- View this message in context: http://old.nabble.com/How-to-configure-Single-Sign-On-for-G-2.2-with-Tomcat-tp27259739s134p27259739.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: camel2.1 with geronimo 2.2 (activemq 3.5) from camel list
AFAIK no one has looked into how to do this. I suspect that you will need to build your own camel-activemq-broker plugin by copying the geronimo activemq-broker plugin and adding dependencies on the camel jars and modifying the server.xml to include appropriate camel beans. I think you will need the camel jars in the same classloader as the activemq jars and to do this you need a new geronimo plugin. Please let us know if you get this to work. thanks david jencks On Jan 21, 2010, at 2:22 AM, ulise wrote: posted already here. http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html Hi I tried to run camel in a freshly downloaded geronimo-tomcat6- javaee5-2.2. I simply uncommented the camelContext id=camel xmlns=http://camel.apache.org/schema/spring; route from uri=activemq:example.A/ to uri=activemq:example.B/ /route /camelContext part in the activemx.xml and changed all the URLs as told in http://camel.apache.org/exception-beandefinitionstoreexception.html and have the camel-*-2.1.0.jars copied to geronimo_homelib but I still get this exception 007 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.configs/activemq-broker/2.2/car? ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/ car,j2eeType=JMSServer,na me=DefaultActiveMQBroker org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://camel.apache.org/schema/spring Do I have install some more jars, plugins? Are there any? Is there a tutorial of running camel with geronimo (as a kind of service) Many thanks for any help, Uli -- View this message in context: http://old.nabble.com/camel2.1-with-geronimo-2.2-%28activemq-3.5%29-from-camel-list-tp27255599s134p27255599.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
GEP 2.2 RC2 issue?
I have created a dynamic web project and it seems to work fine. I can deploy and use the war file, and it gets republished if I change source. However, on every deploy/republish, I get this error in eclipse: Module config Id not found for undeployment java.lang.NullPointerException at org.apache.geronimo.st.core.jaxb.JAXBUtils.unmarshalFilterDeploymentPlan(JAXBUtils.java:126) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:236) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:199) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:179) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getConfigId(GeronimoV21Utils.java:119) at org.apache.geronimo.st.v21.core.GeronimoV21VersionHandler.getConfigID(GeronimoV21VersionHandler.java:36) at org.apache.geronimo.st.core.commands.UndeployCommand.execute(UndeployCommand.java:53) at org.apache.geronimo.st.core.commands.SynchronizedDeploymentOp.run(SynchronizedDeploymentOp.java:84) at org.apache.geronimo.st.core.commands.SynchronizedDeploymentOp.execute(SynchronizedDeploymentOp.java:76) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.unDeploy(GeronimoServerBehaviourDelegate.java:740) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doRemoved(GeronimoServerBehaviourDelegate.java:666) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:451) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:318) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:948) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:273) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:872) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708) at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) If I export the project as a war file, and deploy it to geronimo, I don't get the error, so I suspect it's a GEP problem. Here is my geronimo-web.xml file: ?xml version=1.0 encoding=UTF-8? web:web-app xmlns:app=http://geronimo.apache.org/xml/ns/j2ee/application-2.0; xmlns:client=http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0; xmlns:conn=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:ejb=http://openejb.apache.org/xml/ns/openejb-jar-2.2; xmlns:log=http://geronimo.apache.org/xml/ns/loginconfig-2.0; xmlns:name=http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pers=http://java.sun.com/xml/ns/persistence; xmlns:pkgen=http://openejb.apache.org/xml/ns/pkgen-2.1; xmlns:sec=http://geronimo.apache.org/xml/ns/security-2.0; xmlns:web=http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; dep:environment dep:moduleId dep:groupIdcom.ibm.websphere.xs.sample/dep:groupId dep:artifactIdGettnStarted3/dep:artifactId dep:version1.0/dep:version dep:typejar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdcom.ibm.websphere.xs/dep:groupId dep:artifactIdogclient/dep:artifactId dep:version7.0/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdcom.ibm.websphere.xs/dep:groupId dep:artifactIdobjectgrid/dep:artifactId dep:version7.0/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdorg.apache.geronimo.configs/dep:groupId dep:artifactIdsystem-database/dep:artifactId /dep:dependency /dep:dependencies /dep:environment web:context-root/GetnStarted3AG/web:context-root name:resource-ref name:ref-namejdbc/CRUD_DS/name:ref-name name:resource-linkSystemDatasource/name:resource-link /name:resource-ref /web:web-app
Re: How to configure Single Sign On for G 2.2 with Tomcat
I am afraid that Geronimo 2.2 might not support the SSO function provided by Tomcat, as all the authentication work has been taken over by Geronimo. Maybe you could try some other solutions, like CAS, etc, personally, it is stronger. 2010/1/21 boes g...@xs4all.nl Hi, I'm trying to configure Single Sign On (SSO) in Geronimo 2.2 with Tomcat, but I can't get it to work. In Geronimo 2.1.4 the SSO configuration is done by adding a gbean in config.xml and I had no problem to make that work. In the documentation for 2.2 I found that SSO configuration is similar as for 2.1.4, as explained in http://cwiki.apache.org/GMOxDOC22/managing-valve.html#ManagingValve-AddasecondValve But copying the example from the documentation into config.xml results in a failure at startup. The following error message is printed in geronimo.out : ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.configs/tomcat6/2.2/car?configurationName=org.apache.geronimo.configs/tomcat6/2.2/car org.apache.geronimo.kernel.config.InvalidConfigException: New GBeans must be specified with a GBeanInfo and a full AbstractName configuration=org.apache.geronimo.configs/tomcat6/2.2/car gbeanName=AccessLogValve In the release notes at http://www.apache.org/dist/geronimo/2.2/RELEASE_NOTES-2.2.txt I found that: The Tomcat server is now configured through native server.xml configuration files rather than gbeans. So I tried to enable SSO by uncommenting the following entry: Valve className=org.apache.catalina.authenticator.SingleSignOn/ But that didn't make any difference. The SSO doesn't work. What is the preferred method of configuring Tomcat, gbean or server.xml? Did someone manage to configure SSO for G 2.2 and Tomcat? How did you do it? Any suggestions? Thanks for any help, Boes -- View this message in context: http://old.nabble.com/How-to-configure-Single-Sign-On-for-G-2.2-with-Tomcat-tp27259739s134p27259739.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- Ivan
Re: GEP 2.2 RC2 issue?
Hi Ted, I tried a similar dynamic project in eclipse 3.5, but didn't reproduce your problem. If possible, could you provide your environment information, such as eclipse version, jdk version? If you can create a JIRA and attach your project, that will be more helpful. BTW, here is the deployment plan for my project. ?xml version=1.0 encoding=UTF-8 standalone=no? web:web-app xmlns:app= http://geronimo.apache.org/xml/ns/j2ee/application-2.0; xmlns:client= http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0; xmlns:conn= http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; xmlns:dep= http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:ejb= http://openejb.apache.org/xml/ns/openejb-jar-2.2; xmlns:log= http://geronimo.apache.org/xml/ns/loginconfig-2.0; xmlns:name= http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pers= http://java.sun.com/xml/ns/persistence; xmlns:pkgen= http://openejb.apache.org/xml/ns/pkgen-2.1; xmlns:sec= http://geronimo.apache.org/xml/ns/security-2.0; xmlns:web= http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; dep:environment dep:moduleId dep:groupIddefault/dep:groupId dep:artifactIdTestABC/dep:artifactId dep:version1.0/dep:version dep:typecar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdorg.apache.geronimo.plugins.monitoring/dep:groupId dep:artifactIdmconsole-ds/dep:artifactId /dep:dependency dep:dependency dep:groupIdlog4j/dep:groupId dep:artifactIdlog4j/dep:artifactId dep:version1.2.15/dep:version dep:typejar/dep:type /dep:dependency dep:dependency dep:groupIdorg.apache.geronimo.configs/dep:groupId dep:artifactIdsystem-database/dep:artifactId /dep:dependency dep:dependency dep:groupIdnet.sourceforge.serp/dep:groupId dep:artifactIdserp/dep:artifactId dep:version/dep:version /dep:dependency /dep:dependencies /dep:environment web:context-root/TestABC/web:context-root name:resource-ref name:ref-namejdbc/MyDataSource/name:ref-name name:pattern name:groupIdorg.apache.geronimo.plugins.monitoring/name:groupId name:artifactIdmconsole-ds/name:artifactId name:nameMonitoringClientDS/name:name /name:pattern /name:resource-ref /web:web-app 2010/1/22 Ted Kirby ted.ki...@gmail.com I have created a dynamic web project and it seems to work fine. I can deploy and use the war file, and it gets republished if I change source. However, on every deploy/republish, I get this error in eclipse: Module config Id not found for undeployment java.lang.NullPointerException at org.apache.geronimo.st.core.jaxb.JAXBUtils.unmarshalFilterDeploymentPlan(JAXBUtils.java:126) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:236) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:199) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getWebDeploymentPlan(GeronimoV21Utils.java:179) at org.apache.geronimo.st.v21.core.GeronimoV21Utils.getConfigId(GeronimoV21Utils.java:119) at org.apache.geronimo.st.v21.core.GeronimoV21VersionHandler.getConfigID(GeronimoV21VersionHandler.java:36) at org.apache.geronimo.st.core.commands.UndeployCommand.execute(UndeployCommand.java:53) at org.apache.geronimo.st.core.commands.SynchronizedDeploymentOp.run(SynchronizedDeploymentOp.java:84) at org.apache.geronimo.st.core.commands.SynchronizedDeploymentOp.execute(SynchronizedDeploymentOp.java:76) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.unDeploy(GeronimoServerBehaviourDelegate.java:740) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doRemoved(GeronimoServerBehaviourDelegate.java:666) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:451) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:318) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:948) at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:273) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:872) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708) at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) If I export the project as a war file, and deploy it to geronimo, I don't get the