Re: Resource Adapter deployment problem
The global JNDI name will be something different from the "name" you specify in ra.xml. Try to find the name in the server start up log, which is located in var/log folder. Or, as David pointed out, you can claim a dependency in your application deployment plan (e.g., geronimo-web.xml for Web app) to this resource adapter, and use "eis/RuleConnection" to look up it. -Jack On Mon, Jan 4, 2010 at 7:18 PM, jam_developer wrote: > > Thanks David and Jack for your response. > > With couple of changes, I could able to deploy RA in Geronimo using > Administrative console. Now when I go to JNDI viewer, I don't see my > specified JNDI name. Following is my geronimo-ra.xml details: > --- > http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";> > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1";> > > hammurapi > RulesAdapter > 4.1 > rar > > > > > > > > > > > com.hammurapi.reasoning.ForwardReasoningSessionFactory > > eis/RuleConnection > > > > > > > > > > > -- > > I was expecting to see specified JNDI name (eis/RuleConnection) in JNDI > viewer but JNDI viewer just shows > hammurapi/RulesAdapter/4.1/rar > > Please let me know what am I missing out here. > > > > > djencks wrote: >> >> You'd need an environment element in the geronimo-ra.xml that has at >> least a module id for the adapter. >> >> After that, you need to list the module id as a dependency of the web >> app in the geronimo-web.xml or other plan file to get the lookup to >> work. >> >> Other than that, I'd need to see a more detailed description of >> exactly what you are doing and what errors you get. >> >> thanks >> david jencks >> >> On Dec 23, 2009, at 3:49 AM, jam_developer wrote: >> >>> >>> Hi, >>> >>> I have a outbound resource adapter which is a connector for a rule >>> engine. I >>> need help to deploy it in Geronimo. >>> >>> Structure of rar is: >>> >>> adapter.jar(contains adapter classes) >>> connector-api.jar(required 3rd party library) >>> jsr94.jar(required 3rd party library) >>> META-INF\rar.xml >>> META-INF\geronimo.xml >>> >>> >>> Following is my geronimo-ra.xml : >>> >>> http://geronimo.apache.org/xml/ns/j2ee/ >>> connector-1.2"> >>> >>> >>> >>> >>> >> interface>biz.hammurapi.rules.ra.ConnectionFactory>> connectionfactory-interface> >>> >>> RuleConnection >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Following is ra.xml : >>> >>> >>> >>> http://java.sun.com/xml/ns/j2ee"; >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>> http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; >>> version="1.5"> >>> Hammurapi Rules Adapter >>> Hammurapi Group >>> Rules enabled application >>> 1.0 >>> >>> >>> biz.hammurapi.rules.ra.ResourceAdapterImpl>> resourceadapter-class> >>> >>> >>> >>> >>> >> class>biz.hammurapi.rules.ra.ManagedConnectionFactoryImpl>> managedconnectionfactory-class> >>> >>> >> interface>biz.hammurapi.rules.ra.ConnectionFactory>> connectionfactory-interface> >>> >>> >> class>biz.hammurapi.rules.ra.ConnectionFactoryImpl>> connectionfactory-impl-class> >>> >>> javax.rules.RuleSession >>> >>> biz.hammurapi.rules.ra.RuleSessionImpl>> connection-impl-class> >>> >>> NoTransaction >>> >>> >>> BasicPassword>> mechanism-type> >>> >>> >> interface>javax.resource.spi.security.PasswordCredential>> interface> >>> >>> false >>> >>> >>> >>> >>> Please let me know what am I missing here. >>> >>> My second question is I have another web application through which I >>> need to >>> access this resource adapter. I assume connectiondefinition-instance >>> name(which is "RuleConnection") can be used as JNDI name to get >>> Connection >>> object. Is this understanding correct? >>> >>> Please suggest. >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p26899531.html >>> Sent from the Apache Geronimo - Users mailing list archive at >>> Nabble.com. >>> >> >> >> > > -- > View this message in context: > http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p27011579.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >
Re: [ANNOUNCE] Availability of Geronimo 2.2
The name of the source archive is not right in that wiki page. geronimo-2.2-src.tar.gz should be geronimo-2.2-source-release.tar.gz geronimo-2.2-src.zip should be geronimo-2.2-source-release.zip So if you fix the file name in the download URL, you can get them. -Jack On Mon, Jan 4, 2010 at 6:15 PM, Juergen Weber wrote: > > Hi, > > the binaries download now, but the src.zip still do not, yet. > > Also, geronimo.apache.org main page doesn't know 2.2 yet. > > Juergen > > > -- > View this message in context: > http://old.nabble.com/-ANNOUNCE--Availability-of-Geronimo-2.2-tp26962437s134p27010973.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >
Re: Welcome "Jack" Jun Jie Cai as a new committer
Congratulations Jack.. Cheer Shailen On Tue, Jan 5, 2010 at 10:24 AM, chi runhua wrote: > > Congrats Jack! > > Jeff > > > On Tue, Jan 5, 2010 at 1:52 AM, Jay D. McHugh wrote: > >> Congratulations Jack! >> >> Jay >> >> Ivan wrote: >> > I would like to welcome Jack aboard, as he recently accepted the >> > Geronimo PMC invitation to become a committer. His account was just >> > created this morning (caijunj), so you should start seeing some commits >> > from him soon. >> > >> > -- >> > Ivan >> > >
Re: Welcome "Jack" Jun Jie Cai as a new committer
Congrats Jack! Jeff On Tue, Jan 5, 2010 at 1:52 AM, Jay D. McHugh wrote: > Congratulations Jack! > > Jay > > Ivan wrote: > > I would like to welcome Jack aboard, as he recently accepted the > > Geronimo PMC invitation to become a committer. His account was just > > created this morning (caijunj), so you should start seeing some commits > > from him soon. > > > > -- > > Ivan >
Re: Geronimo 2.2 GEP
Hi Russell, I'm sorry to tell you that the package at http://people.apache.org/dist/geronimo/eclipse/unstable/updates is out of date. Due to authorization problem, I can't update the packages there. Currently, you can try the site here: http://people.apache.org/dist/geronimo/eclipse/2.2.0/RC1/staging_site/updates/ 2010/1/5 Russell Collins > I am trying to install the Eclipse plug-in for Geronimo 2.2. I am using > this site: > > > > http://people.apache.org/dist/geronimo/eclipse/unstable/updates > > > > When it try to perform the update, I am getting this error: > > > > Cannot complete the install because of a conflicting dependency. > > Software being installed: Geronimo v2.2 Server Adapter 2.2.0 > (org.apache.geronimo.v22.feature.feature.group 2.2.0) > > Software currently installed: WASCE v2.1 Server Adapter 2.1.4 > (com.ibm.wasce.v21.feature.feature.group 2.1.4) > > Only one of the following can be installed at once: > > Geronimo V20 Runtime Plug-in 2.1.4 (org.apache.geronimo.runtime.v20 > 2.1.4) > > org.apache.geronimo.runtime.v20 2.1.3 > > Cannot satisfy dependency: > > From: WASCE v2.1 Server Adapter 2.1.4 > (com.ibm.wasce.v21.feature.feature.group 2.1.4) > > To: org.apache.geronimo.runtime.v20 [2.1.4] > > Cannot satisfy dependency: > > From: Geronimo v2.2 Server Adapter 2.2.0 > (org.apache.geronimo.v22.feature.feature.group 2.2.0) > > To: org.apache.geronimo.runtime.v20 [2.2.0] > > > > > > I cleaned everything related to previous Geronimo and WASCE adapters so I > do not know why I am getting this. Also, I have tried to manually update > the my plug-in and features folder with no success. I am using Eclipse > Galileo. Any suggestions would be greatly appreciated. > > > > > > > > *Russell Collins*** > > Sr. Software Engineer > > McLane Advanced Technology > > 254.771.6419 > > > > > > -- > CONFIDENTIALITY NOTICE: The information contained in this electronic mail > (email) transmission (including attachments), is intended by MCLANE ADVANCED > TECHNOLOGIES for the use of the named individual or entity to which it is > addressed and may contain information that is privileged, confidential > and/or protected as a trade secret. It is not intended for transmission to, > or receipt by, any individual or entity other than the named addressee(s). > If you have received this email in error, please delete it (including > attachments) and any copies thereof without printing, copying or forwarding > it, and notify the sender of the error by email reply immediately. > -- Best Regards, Delos
Re: Welcome "Jack" Jun Jie Cai as a new committer
Congratulations Jack! Jay Ivan wrote: > I would like to welcome Jack aboard, as he recently accepted the > Geronimo PMC invitation to become a committer. His account was just > created this morning (caijunj), so you should start seeing some commits > from him soon. > > -- > Ivan
Geronimo 2.2 GEP
I am trying to install the Eclipse plug-in for Geronimo 2.2. I am using this site: http://people.apache.org/dist/geronimo/eclipse/unstable/updates When it try to perform the update, I am getting this error: Cannot complete the install because of a conflicting dependency. Software being installed: Geronimo v2.2 Server Adapter 2.2.0 (org.apache.geronimo.v22.feature.feature.group 2.2.0) Software currently installed: WASCE v2.1 Server Adapter 2.1.4 (com.ibm.wasce.v21.feature.feature.group 2.1.4) Only one of the following can be installed at once: Geronimo V20 Runtime Plug-in 2.1.4 (org.apache.geronimo.runtime.v20 2.1.4) org.apache.geronimo.runtime.v20 2.1.3 Cannot satisfy dependency: From: WASCE v2.1 Server Adapter 2.1.4 (com.ibm.wasce.v21.feature.feature.group 2.1.4) To: org.apache.geronimo.runtime.v20 [2.1.4] Cannot satisfy dependency: From: Geronimo v2.2 Server Adapter 2.2.0 (org.apache.geronimo.v22.feature.feature.group 2.2.0) To: org.apache.geronimo.runtime.v20 [2.2.0] I cleaned everything related to previous Geronimo and WASCE adapters so I do not know why I am getting this. Also, I have tried to manually update the my plug-in and features folder with no success. I am using Eclipse Galileo. Any suggestions would be greatly appreciated. Russell Collins Sr. Software Engineer McLane Advanced Technology 254.771.6419 CONFIDENTIALITY NOTICE: The information contained in this electronic mail (email) transmission (including attachments), is intended by MCLANE ADVANCED TECHNOLOGIES for the use of the named individual or entity to which it is addressed and may contain information that is privileged, confidential and/or protected as a trade secret. It is not intended for transmission to, or receipt by, any individual or entity other than the named addressee(s). If you have received this email in error, please delete it (including attachments) and any copies thereof without printing, copying or forwarding it, and notify the sender of the error by email reply immediately.
Re: Resource Adapter deployment problem
Thanks David and Jack for your response. With couple of changes, I could able to deploy RA in Geronimo using Administrative console. Now when I go to JNDI viewer, I don't see my specified JNDI name. Following is my geronimo-ra.xml details: --- http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";> http://geronimo.apache.org/xml/ns/deployment-1.1";> hammurapi RulesAdapter 4.1 rar com.hammurapi.reasoning.ForwardReasoningSessionFactory eis/RuleConnection -- I was expecting to see specified JNDI name (eis/RuleConnection) in JNDI viewer but JNDI viewer just shows hammurapi/RulesAdapter/4.1/rar Please let me know what am I missing out here. djencks wrote: > > You'd need an environment element in the geronimo-ra.xml that has at > least a module id for the adapter. > > After that, you need to list the module id as a dependency of the web > app in the geronimo-web.xml or other plan file to get the lookup to > work. > > Other than that, I'd need to see a more detailed description of > exactly what you are doing and what errors you get. > > thanks > david jencks > > On Dec 23, 2009, at 3:49 AM, jam_developer wrote: > >> >> Hi, >> >> I have a outbound resource adapter which is a connector for a rule >> engine. I >> need help to deploy it in Geronimo. >> >> Structure of rar is: >> >> adapter.jar(contains adapter classes) >> connector-api.jar(required 3rd party library) >> jsr94.jar(required 3rd party library) >> META-INF\rar.xml >> META-INF\geronimo.xml >> >> >> Following is my geronimo-ra.xml : >> >> http://geronimo.apache.org/xml/ns/j2ee/ >> connector-1.2"> >> >> >> >> >> > interface>biz.hammurapi.rules.ra.ConnectionFactory> connectionfactory-interface> >> >> RuleConnection >> >> >> >> >> >> >> >> >> >> >> Following is ra.xml : >> >> >> >> http://java.sun.com/xml/ns/j2ee"; >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >> http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; >>version="1.5"> >>Hammurapi Rules Adapter >>Hammurapi Group >>Rules enabled application >>1.0 >> >> >> biz.hammurapi.rules.ra.ResourceAdapterImpl> resourceadapter-class> >> >> >> >> >> > class>biz.hammurapi.rules.ra.ManagedConnectionFactoryImpl> managedconnectionfactory-class> >> >> > interface>biz.hammurapi.rules.ra.ConnectionFactory> connectionfactory-interface> >> >> > class>biz.hammurapi.rules.ra.ConnectionFactoryImpl> connectionfactory-impl-class> >> >> javax.rules.RuleSession >> >> biz.hammurapi.rules.ra.RuleSessionImpl> connection-impl-class> >> >>NoTransaction >> >> >> BasicPassword> mechanism-type> >> >> > interface>javax.resource.spi.security.PasswordCredential> interface> >> >>false >> >> >> >> >> Please let me know what am I missing here. >> >> My second question is I have another web application through which I >> need to >> access this resource adapter. I assume connectiondefinition-instance >> name(which is "RuleConnection") can be used as JNDI name to get >> Connection >> object. Is this understanding correct? >> >> Please suggest. >> >> -- >> View this message in context: >> http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p26899531.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p27011579.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: [ANNOUNCE] Availability of Geronimo 2.2
Hi, the binaries download now, but the src.zip still do not, yet. Also, geronimo.apache.org main page doesn't know 2.2 yet. Juergen -- View this message in context: http://old.nabble.com/-ANNOUNCE--Availability-of-Geronimo-2.2-tp26962437s134p27010973.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: geronimo2.2- web UI not getting loaded
Finally, I noticed the same error in the geronimo.out. It might be a bug of G 2.2. However, it won't stop the server to boot up. Can you still try to see if the url http://localhost:8080/console after the jee server started? Forrest
Re: geronimo2.2- web UI not getting loaded
Yes. it is not stoping the server from booting. Getting the webconsole at http://localhost:8080/console. Regards, Shailen On Mon, Jan 4, 2010 at 3:00 PM, Forrest Xia wrote: > Finally, I noticed the same error in the geronimo.out. It might be a bug of > G 2.2. > > However, it won't stop the server to boot up. Can you still try to see if > the url http://localhost:8080/console after the jee server started? > > Forrest >
Re: geronimo2.2- web UI not getting loaded
var/log/geronimo.log reports the following exception: 2010-01-04 14:25:47,608 INFO [KernelContextGBean] bound gbean org.apache.geronimo.framework/rmi-naming/2.2/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2/car,j2eeType=Context,name=GeronimoContext at name ger: 2010-01-04 14:25:49,265 ERROR [AbstractEncryption] Unable to decrypt java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:781) at java.io.ObjectInputStream.(ObjectInputStream.java:280) at org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76) at org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:109) at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122) at org.apache.geronimo.system.plugin.PluginRepositoryDownloader.(PluginRepositoryDownloader.java:80) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) 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.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$c1ce2cbf.startConfiguration() at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) regards, Shailen On Mon, Jan 4, 2010 at 7:26 AM, Forrest Xia wrote: > Hi Shailen, > > Can you paste the content of var/log/geronimo.out when the exception shows > up? Let's see what module hit problem when server boot up. > > Forrest >