Re: Resource Adapter deployment problem
Thanks for your response Jack !! I could able to locate following in log -- 2010-01-05 17:32:01,389 INFO [KernelContextGBean] bound gbean hammurapi/RulesAdapter/4.1/rar?J2EEApplication=null,JCAConnectionFactory=eis/RuleConnection,JCAResource=hammurapi/RulesAdapter/4.1/rar,ResourceAdapter=hammurapi/RulesAdapter/4.1/rar,ResourceAdapterModule=hammurapi/RulesAdapter/4.1/rar,j2eeType=JCAManagedConnectionFactory,name=eis/RuleConnection at name hammurapi/RulesAdapter/JCAManagedConnectionFactory/eis/RuleConnection - Now I have a separate web application in which I have to do JNDI lookup to get ForwardReasoningSessionFactory(from a simple jsp) Following is my web.xml --- ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=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/web-app_2_4.xsd; display-nameTestResourceAdapter/display-name welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list resource-ref descriptionRules Session Connection Factory/description res-ref-nameeis/RuleConnection/res-ref-name res-typecom.hammurapi.reasoning.ForwardReasoningSessionFactory/res-type res-authApplication/res-auth /resource-ref /web-app Below is my geronimo-web.xml details: ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0; xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; dep:environment dep:moduleId dep:groupIdTestResourceAdapter/dep:groupId dep:artifactIdweb.test/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies/ dep:hidden-classes/ dep:non-overridable-classes/ /dep:environment context-root/TestResourceAdapter/context-root naming:resource-ref naming:ref-nameeis/RuleConnection/naming:ref-name naming:resource-linkeis/RuleConnection/naming:resource-link /naming:resource-ref /web-app While deploying this web application through Administration Console, I am getting error: Deployment failed: Unable to resolve resource reference 'eis/RuleConnection' (Could not find resource 'eis/RuleConnection'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module? Following is the detailed exception log: --- Unable to resolve resource reference 'eis/RuleConnection' (Could not find resource 'eis/RuleConnection'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module? Search conducted in current module and dependencies: [ALL: org.apache.geronimo.configs/tomcat6/2.1.4/car] [ALL: org.apache.geronimo.configs/j2ee-corba-yoko//car] [CLASSES: org.apache.geronimo.configs/openejb//car] [ALL: org.apache.geronimo.configs/openjpa//car] [ALL: org.apache.geronimo.configs/axis//car] [ALL: org.apache.geronimo.configs/axis2//car] ) org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'eis/RuleConnection' (Could not find resource 'eis/RuleConnection'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module? Search conducted in current module and dependencies: [ALL: org.apache.geronimo.configs/tomcat6/2.1.4/car] [ALL: org.apache.geronimo.configs/j2ee-corba-yoko//car] [CLASSES: org.apache.geronimo.configs/openejb//car] [ALL: org.apache.geronimo.configs/openjpa//car] [ALL: org.apache.geronimo.configs/axis//car] [ALL: org.apache.geronimo.configs/axis2//car] ) at org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildNaming(ResourceRefBuilder.java:216) at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53) at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:842) at
Re: Welcome Jack Jun Jie Cai as a new committer
Congrats Jack! Well deserved. Joe 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
Ok. I switched up the site. I try to get the Geronimo Core 2.1.1 and Geronimo Adapter 2.2. I get the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Geronimo Core Feature 2.1.1 (org.apache.geronimo.feature.feature.group 2.1.1) Missing requirement: Geronimo Core Feature 2.1.1 (org.apache.geronimo.feature.feature.group 2.1.1) requires 'org.eclipse.jst.feature.group [2.0.0,3.0.0)' but it could not be found I am using Eclipse Galileo. I have tried updating with as many jst features as I can get on Eclipse through their update site. How can I correct this error? Do I need to install the core feature with adapter 2.2? From: Delos [mailto:dait...@gmail.com] Sent: Monday, January 04, 2010 7:46 PM To: user@geronimo.apache.org Subject: 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 russell.coll...@mclaneat.commailto:russell.coll...@mclaneat.com 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 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
As I mentioned in my last reply, you can try one of the below two approaches: 1. Remove the jndi entries in the web.xml and geronimo-web.xml. Do the lookup use the global jndi name as indicated in the log, i.e., hammurapi/RulesAdapter/JCAManagedConnectionFactory/eis/RuleConnection; 2. Add a dependency in your geronimo-web.xml as below - ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0; xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; dep:environment dep:moduleId dep:groupIdTestResourceAdapter/dep:groupId dep:artifactIdweb.test/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies dep:dependency dep:groupIdhammurapi/dep:groupId dep:artifactIdRulesAdapter/dep:artifactId dep:version4.1/dep:version dep:typerar/dep:type /dep:dependency /dep:dependencies dep:hidden-classes/ dep:non-overridable-classes/ /dep:environment context-root/TestResourceAdapter/context-root naming:resource-ref naming:ref-nameeis/RuleConnection/naming:ref-name naming:resource-linkeis/RuleConnection/naming:resource-link /naming:resource-ref /web-app I'm not 100% sure whether Approach 2 would work though... -Jack On Tue, Jan 5, 2010 at 8:46 PM, jam_developer kbh...@mailcity.com wrote: Thanks for your response Jack !! I could able to locate following in log -- 2010-01-05 17:32:01,389 INFO [KernelContextGBean] bound gbean hammurapi/RulesAdapter/4.1/rar?J2EEApplication=null,JCAConnectionFactory=eis/RuleConnection,JCAResource=hammurapi/RulesAdapter/4.1/rar,ResourceAdapter=hammurapi/RulesAdapter/4.1/rar,ResourceAdapterModule=hammurapi/RulesAdapter/4.1/rar,j2eeType=JCAManagedConnectionFactory,name=eis/RuleConnection at name hammurapi/RulesAdapter/JCAManagedConnectionFactory/eis/RuleConnection - Now I have a separate web application in which I have to do JNDI lookup to get ForwardReasoningSessionFactory(from a simple jsp) Following is my web.xml --- ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=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/web-app_2_4.xsd; display-nameTestResourceAdapter/display-name welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list resource-ref descriptionRules Session Connection Factory/description res-ref-nameeis/RuleConnection/res-ref-name res-typecom.hammurapi.reasoning.ForwardReasoningSessionFactory/res-type res-authApplication/res-auth /resource-ref /web-app Below is my geronimo-web.xml details: ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-2.0; xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:naming=http://geronimo.apache.org/xml/ns/naming-1.2; dep:environment dep:moduleId dep:groupIdTestResourceAdapter/dep:groupId dep:artifactIdweb.test/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId dep:dependencies/ dep:hidden-classes/ dep:non-overridable-classes/ /dep:environment context-root/TestResourceAdapter/context-root naming:resource-ref naming:ref-nameeis/RuleConnection/naming:ref-name naming:resource-linkeis/RuleConnection/naming:resource-link /naming:resource-ref /web-app While deploying this web application through Administration Console, I am getting error: Deployment failed: Unable to resolve resource reference 'eis/RuleConnection' (Could not find resource 'eis/RuleConnection'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module? Following is the detailed exception log: --- Unable to resolve resource reference 'eis/RuleConnection' (Could not find resource 'eis/RuleConnection'. Perhaps it has not yet
test mail please discard
How to use ModuleID and TargetModuleID for redeploy
Hi, The help for Redeploy suggest something as follows: Help for command: redeploy redeploy [module] [plan] [ModuleID|TargetModuleID+] A shortcut to undeploy a module from one or more servers, then deploy a new version. This is not a smooth cutover -- some client requests may be rejected while the redeploy takes place. Normally both a module and plan are passed to the deployer. Sometimes the module contains a plan, or requires no plan, in which case the plan may be omitted. Sometimes the plan references a module already deployed in the Geronimo server environment, in which case a module does not need to be provided. If more than one TargetModuleID is provided, all TargetModuleIDs must refer to the same module (just running on different targets). Regardless of whether the old module was running or not, the new module will be started. If no ModuleID or TargetModuleID is specified, and you're deploying to Geronimo, the deployer will attempt to guess the correct ModuleID for you based on the module and/or plan you provided. Note: To specify a TargetModuleID, use the form TargetName|ModuleName Here I am trying to deploy an application to the master configuration store with target name as MasterConfigurationStore and module name as artifactId which fails Second attempt was with MasterConfigurationStore and artifact. However it also fails. Can someone guide me on how to use the [ModuleID|TargetModuleID+] for redeploy ??? Thanks Ashish
Re: Geronimo 2.2 GEP
No need to install core feature with adapter 2.2. Just select adapter 2.2 to install it. 2010/1/5 Russell Collins russell.coll...@mclaneat.com Ok. I switched up the site. I try to get the Geronimo Core 2.1.1 and Geronimo Adapter 2.2. I get the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Geronimo Core Feature 2.1.1 (org.apache.geronimo.feature.feature.group 2.1.1) Missing requirement: Geronimo Core Feature 2.1.1 (org.apache.geronimo.feature.feature.group 2.1.1) requires 'org.eclipse.jst.feature.group [2.0.0,3.0.0)' but it could not be found I am using Eclipse Galileo. I have tried updating with as many jst features as I can get on Eclipse through their update site. How can I correct this error? Do I need to install the core feature with adapter 2.2? *From:* Delos [mailto:dait...@gmail.com] *Sent:* Monday, January 04, 2010 7:46 PM *To:* user@geronimo.apache.org *Subject:* 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 russell.coll...@mclaneat.com 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 -- 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