Re: Unclear steps in tutorial Stateless Session Bean
Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296) ... 21 more On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Thanks for bringing this forward. The tutorial has been updated to reflect the final geronimo-web.xml and openejb-jar.xml. Thanks Ashish On Tue, Mar 18, 2008 at 8:26 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Ans1: openejb-jar.xml seems to be correct. openejb-jar.xml for the application should look like this openejb-jar.xml ?xml version=1.0 encoding=UTF-8? openejb-jar xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.2; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.2; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2; sys:environment sys:dependencies sys:dependency sys:groupIdconsole.dbpool/sys:groupId sys:artifactIdjdbc%2Fuserds/sys:artifactId /sys:dependency /sys:dependencies sys:moduleId sys:groupIddefault/sys:groupId sys:artifactIdStatelessSessionEJB/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:moduleId /sys:environment enterprise-beans/ /openejb-jar I hope you have followed all the steps and created a datasource as suggested by the tutorial. Ans2: geronimo-web.xml is automatically created once you have your environment set up with geronimo eclipse plugin. You need not create one. geronimo-web.xml ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-1.1; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.1; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.1; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.1; sys:environment sys:moduleId sys:groupIddefault/sys:groupId sys:artifactIdApplicationClient/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:moduleId sys:dependencies sys:dependency sys:groupIddefault/sys:groupId sys:artifactIdStatelessSessionEJB/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:dependency /sys:dependencies /sys:environment context-root/ApplicationClient/context-root /web-app On Tue, Mar 18, 2008 at 5:55 PM, CG [EMAIL PROTECTED] wrote: Hi, I am now trying the tutorial Stateless Session Bean http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-DeployandRun And I am stuck at section Few more configurations, where need to configure dependencies because the steps are a bit unclear. I try to follow but get the following error which seems like is caused by the dependecies configuration Hope that somebody can help . thanks. [error] Caused by:
How to use JAAS with JSF , best practice
I have got an application where after a successful login the user maybe must select a role (the user may be an administrator and a standard user). So, a navigation to a role-selection-page must be performed. We are using JSF pages for the view component, so we have an easy and powerful navigation mechanism. From the web application security example (see http://cwiki.apache.org/GMOxDOC20/web-application-security-sample.html) we know a very good and easy way of using JAAS authentication with a geronimo security realm. This example uses standard servlet authentication procedure for login at web container. This procedure requires a simple html page with the j_security_check action. So, if we are using JSF pages we are loosing a lot of the powerful JSF navigation features. So my attempt was to use a JSF page with a JSF backing bean which performs the step by itself using the LoginContext.login(my-security-realm,myCallBackHandler) method. This also works fine, but the authentication is only done with the ejb container. Tomcat is not informed about the user login. So the secure pages are still restricted. Does anybody know a better way of integrating JAAS with JSF with the purpose of not loosing the JSF navigation features?? Thanks in advance!! _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071distributionid=0066
Re: (Please Reply urgently help needed) How to configure Session Bean Pool Size
Hi Puneet, Default pool size for stateless is 10 and for stateful is 1000. Regards Manu On Wed, Mar 19, 2008 at 2:33 AM, puneetjain [EMAIL PROTECTED] wrote: Hi Manu, Please tell me what is the default pool size of Geronimo for stateless and statefull session bean. Earlier reply will be appreciated. greetings, Puneet puneetjain wrote: Hi Manu, Thanks a lot for your help. I desperately needed for that. Greetings, Puneet manucet wrote: Hi Puneet, Currently in Geronimo you only have a single container each for Stateless and Stateful Session beans and in openejb(EJB provider in geronimo) the pool size is set per container. So you can set only a pool size for all stateless beans and another for all stateful beans. For this you need to modify config.xml. Change the entry for module org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car as given below. The config.xml can be found in GERONIMO_HOME/var/config directory. Please note that the config.xml should be changed when the server is not running. module name=org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car gbean name=EJBNetworkService attribute name=port${OpenEJBPort + PortOffset}/attribute attribute name=host${ServerHostname}/attribute /gbean gbean name=DefaultStatelessContainer attribute name=propertiesPoolSize=200/attribute /gbean gbean name=DefaultStatefulContainer attribute name=propertiesPoolSize=2000/attribute /gbean /module The above will result in all stateless beans having a pool size of 200 and all stateful beans having a pool size of 2000 Regards Manu On Tue, Mar 18, 2008 at 11:17 PM, puneetjain [EMAIL PROTECTED] wrote: puneetjain wrote: Hi, I am new to Geronimo Application Server. I have written a sample application which contains one Session Bean in it. I need to configure the session bean pool size in geronimo. Will anyone help me to configure the session bean pool size in geronimo application server. I am deploying my ear file without deployment plan. Environment: Geronimo version 2.0.2 EJB version: 3.0 Any reply will be appreciate. Thanks, Puneet -- View this message in context: http://www.nabble.com/How-to-configure-Session-Bean-Pool-Size-tp16123206s134p16126775.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/How-to-configure-Session-Bean-Pool-Size-tp16123206s134p16130642.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Migrating an application from tomcat to geronimo
Hi, My situation is as follows:- The present application is running on tomcat, and it uses MemoryRealm code as quoted below: .. as1 = new MemoryRealm(); as1.start(); flag1 = as1.authenticate(as, ((String) (obj4))); .. How can I change this code or make changes to the application to suit it to geronimo security realms (property realm)? Can I change the above code to make the application adapt to the new need? Will I be able to add users and groups from the application UI through some coding? Thanks Remya -- View this message in context: http://www.nabble.com/Migrating-an-application-from-tomcat-to-geronimo-tp16138699s134p16138699.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Unclear steps in tutorial Stateless Session Bean
There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy *tranql-connector-derby-embed-xa-1.3.rar* which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader (DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader (DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds (SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst (SimpleConfigurationManager.java:431) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration (SimpleConfigurationManager.java:296) ... 21 more On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Thanks for bringing this forward. The tutorial has been updated to reflect the final geronimo-web.xml and openejb-jar.xml. Thanks Ashish On Tue, Mar 18, 2008 at 8:26 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Ans1: openejb-jar.xml seems to be correct. openejb-jar.xml for the application should look like this openejb-jar.xml ?xml version=1.0 encoding=UTF-8? openejb-jar xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.2; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.2; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2; sys:environment sys:dependencies sys:dependency sys:groupIdconsole.dbpool/sys:groupId sys:artifactIdjdbc%2Fuserds/sys:artifactId /sys:dependency /sys:dependencies sys:moduleId sys:groupIddefault/sys:groupId sys:artifactIdStatelessSessionEJB/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:moduleId /sys:environment enterprise-beans/ /openejb-jar I hope you have followed all the steps and created a datasource as suggested by the tutorial. Ans2: geronimo-web.xml is automatically created once you have your environment set up with geronimo eclipse plugin. You need not create one. geronimo-web.xml ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-1.1; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.1; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.1; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.1; sys:environment sys:moduleId sys:groupIddefault/sys:groupId sys:artifactIdApplicationClient/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:moduleId sys:dependencies
Re: [ANN] Geronimo -ApacheDS plugin 1.0 released
From the Geronimo Administration Console in Geronimo v2.1 - Click on *Plugins* - Click on *Update Repository List* (optional if you are already pointing to http://geronimo.apache.org/plugins/geronimo-2.1) - Click on *Show Plugins in selected repository* - Click on *Apache Geronimo-Apache Directory Server Plugin 1.0 LDAP* link , it should show up as installable - Scroll all the way to the bottom of the page and click *Install* Done deal! HTH Cheers! Hernan fp wrote: Where can I find and download it? Emmanuel Lecharny-3 wrote: David Jencks wrote: The Geronimo team is pleased to announce the release of the Apache Geronimo - Apache Directory Server plugin 1.0 This plugin allows installing and running the ApacheDS server version 1.5.1 in an Apache Geronimo 2.1 server. The ApacheDS server can be configured through a server.xml file just as with a standalone server. This is the initial release of this plugin. Many thanks -The Geronimo team Congrats !!! -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
Getting class not found exception while running the jaxws-tools.bat
Hi, I am using the jaxws-tools.bat to create the required artifacts for jax-ws webservice. I ran the command *jaxws-tools.bat wsgen* on a command window and got the following error. *Exception in thread main java.lang.NoClassDefFoundError: org.apache.geronimo.c ommon.DeploymentException at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:68) at java.lang.J9VMInternals.initialize(J9VMInternals.java:129) at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run( JAXWSToolsCLI.jav a:71) at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main( JAXWSToolsCLI.ja va:61)* I could find this class at GERONIMO_HOME\repository\org\apache\geronimo\framework\geronimo-common\2.1. The previous version of geronimo on running the same command will give a help menu Usage: wsgen [options] SEI where [options] include: -classpath path specify where to find input class files -cp path same as -classpath path -d directory specify where to place generated output files -extension allow vendor extensions - functionality not specifi ed by the specification. Use of extensions may result in applications that are not portable or may not interoperate with other implementations -help display help -keep keep generated files -r directory resource destination directory, specify where to place resouce files such as WSDLs -s directory specify where to place generated source files -verbose output messages about what the compiler is doing -version print version information -wsdl[:protocol] generate a WSDL file. The protocol is optional. Valid protocols are soap1.1 and Xsoap1.2, the defau lt is soap1.1. Xsoap1.2 is not standard and can only be used in conjunction with the -extension option -servicename namespecify the Service name to use in the generated WS DL Used in conjunction with the -wsdl option. -portname name specify the Port name to use in the generated WSDL Used in conjunction with the -wsdl option. Examples: wsgen -cp . example.Stock wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService Note: Previous version of geronimo had the class *DeploymentException *at GERONIMO_HOME\repository\org\apache\geronimo\modules\geronimo-common\2.0.1 Thanks Ashish
NullPointerException by MDB in getCurrentContext()
I'm running Geronimo 1.2-beta and am getting a NullPointerException org.apache.geronimo.security.ContextManager.getCurrentContext() at line 167 when an MDB tries to access a finder method on a CMP bean. I don't believe this problem existed in 1.1, as I don't recall seeing it before we upgraded 1.2-beta. Where the code crashes it appears to be skipping the previous assertion that said No registered context. Why an MDB would not have a proper context? It's declared in the ejb-jar.xml and geronimo.xml with resources, references to local EJBs, etc. -- View this message in context: http://www.nabble.com/NullPointerException-by-MDB-in-getCurrentContext%28%29-tp16144723s134p16144723.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Unclear steps in tutorial Stateless Session Bean
Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/, it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296) ... 21 more On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Thanks for bringing this forward. The tutorial has been updated to reflect the final geronimo-web.xml and openejb-jar.xml. Thanks Ashish On Tue, Mar 18, 2008 at 8:26 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Ans1: openejb-jar.xml seems to be correct. openejb-jar.xml for the application should look like this openejb-jar.xml ?xml version=1.0 encoding=UTF-8? openejb-jar xmlns=http://www.openejb.org/xml/ns/openejb-jar-2.2; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.2; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2; sys:environment sys:dependencies sys:dependency sys:groupIdconsole.dbpool/sys:groupId sys:artifactIdjdbc%2Fuserds/sys:artifactId /sys:dependency /sys:dependencies sys:moduleId sys:groupIddefault/sys:groupId sys:artifactIdStatelessSessionEJB/sys:artifactId sys:version1.0/sys:version sys:typecar/sys:type /sys:moduleId /sys:environment enterprise-beans/ /openejb-jar I hope you have followed all the steps and created a datasource as
Re: How to use JAAS with JSF , best practice
This looks to me like a really useful use case and I hope we can figure out a good solution quickly and document it. I hope someone who knows more about JSF than I can help or the quickly part is unlikely :-) On Mar 18, 2008, at 11:05 PM, Ralf Baumhof wrote: I have got an application where after a successful login the user maybe must select a role (the user may be an administrator and a standard user). So, a navigation to a role-selection-page must be performed. We are using JSF pages for the view component, so we have an easy and powerful navigation mechanism. I've wondered about how to do stuff like this and have a couple questions - Does authenticating the user happen before or after the user chooses the role they wish to be in? - Is the user presented with a list of possible roles based on their identity? - How many web pages does this process take up? E.g., is role selection on the same page or a different page than filling in user/ credential info? From the web application security example (see http:// cwiki.apache.org/GMOxDOC20/web-application-security-sample.html) we know a very good and easy way of using JAAS authentication with a geronimo security realm. This example uses standard servlet authentication procedure for login at web container. This procedure requires a simple html page with the j_security_check action. So, if we are using JSF pages we are loosing a lot of the powerful JSF navigation features. So my attempt was to use a JSF page with a JSF backing bean which performs the step by itself using the LoginContext.login(my-security-realm,myCallBackHandler) method. This also works fine, but the authentication is only done with the ejb container. Tomcat is not informed about the user login. So the secure pages are still restricted. I think the reason this is tricky is that the javaee security model has the container making the authentication and access decisions in container code that is accessed before the control gets to any user code. There is no provision for the user code to either help with container managed authentication or authorization. So, by the time control gets to the code backing the jsf components, both authentication and authorization should have taken place. As a wild and unlikely idea, could some of the JSF component code forward an appropriately munged request to the j_security_check stuff? You might try the geronimo-specific ContextManager.login method which will at least engage geronimo's security framework. I don't think it will work though for repeated requests as I don't see any way for tomcat to recognize that the next request is from the same user. It might also be possible to fish around inside tomcat to get the Authenticator and use that instead of ContextManager.login. Since this is what tomcat does anyway this should install the stuff tomcat uses to track the user. It might also be possible to do something elegant in the new and not- in-geronimo-yet jaspi spec. Does the jsf spec have anything to say about this? thanks david jencks Does anybody know a better way of integrating JAAS with JSF with the purpose of not loosing the JSF navigation features?? Thanks in advance!! _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071distributionid=0066
Re: Unable to find setenv.bat in AG 2.1
On Mar 19, 2008, at 10:13 AM, Ashish Jain wrote: Hi, I am unable to find bin/setenv.bat in AG 2.1. Is the file no more present with AG 2.1? I could see various files for example deploy.bat, jaxws-tools.bat reffering to setenv.bat. Hi Ashish, setenv.sh/.bat is an optional file for setting user-specific environment variables. I don't think we've ever included it in a distribution (we do include setjavaenv.sh/.bat). If a user wants to customize their environment, they'd need to create setenv.sh/.bat and set the necessary environment variables. I think the comments in the .sh/.bat files indicate this: @REM %GERONIMO_HOME%\bin\setenv.bat @REM (Optional) This batch file is called if it is present. @REM Its contents may set one or more of the above environment @REM variables. It is preferable (to simplify migration to @REM future Geronimo releases) to set environment variables @REM in this file rather than modifying Geronimo's script files. In 2.1, gsh commands are the preferred mechanism for invoking command line operations. --kevan
Re: Unclear steps in tutorial Stateless Session Bean
Hi CG, So was the missing datasource the cause of exception? Regarding the current problem create index.jsp as well as other jsp's under WebContent. Thanks Ashish On Wed, Mar 19, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/, it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader (DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader (DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds (SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst (SimpleConfigurationManager.java:431) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration (SimpleConfigurationManager.java:296) ... 21 more On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Thanks for bringing this forward. The tutorial has been updated to reflect the final geronimo-web.xml and openejb-jar.xml. Thanks Ashish On Tue, Mar 18, 2008 at 8:26 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Ans1: openejb-jar.xml seems to be correct. openejb-jar.xml for the application should look like this openejb-jar.xml ?xml version=1.0 encoding=UTF-8? openejb-jar xmlns= http://www.openejb.org/xml/ns/openejb-jar-2.2; xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pkgen=http://www.openejb.org/xml/ns/pkgen-2.0; xmlns:sec=http://geronimo.apache.org/xml/ns/security-1.2; xmlns:sys=http://geronimo.apache.org/xml/ns/deployment-1.2; sys:environment sys:dependencies sys:dependency sys:groupIdconsole.dbpool/sys:groupId sys:artifactIdjdbc%2Fuserds/sys:artifactId
Re: Getting class not found exception while running the jaxws-tools.bat
Yes, this problem exists in 2.1 but it is already fixed in svn and will be included in 2.1.1. You can use 2.1.1-SNAPSHOT if you want in the meantime (http://geronimo.apache.org/maven/server/binaries/2.1/). Jarek On Wed, Mar 19, 2008 at 10:22 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, I am using the jaxws-tools.bat to create the required artifacts for jax-ws webservice. I ran the command jaxws-tools.bat wsgen on a command window and got the following error. Exception in thread main java.lang.NoClassDefFoundError: org.apache.geronimo.c ommon.DeploymentException at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:68) at java.lang.J9VMInternals.initialize(J9VMInternals.java:129) at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JAXWSToolsCLI.jav a:71) at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.ja va:61) I could find this class at GERONIMO_HOME\repository\org\apache\geronimo\framework\geronimo-common\2.1. The previous version of geronimo on running the same command will give a help menu Usage: wsgen [options] SEI where [options] include: -classpath path specify where to find input class files -cp path same as -classpath path -d directory specify where to place generated output files -extension allow vendor extensions - functionality not specifi ed by the specification. Use of extensions may result in applications that are not portable or may not interoperate with other implementations -help display help -keep keep generated files -r directory resource destination directory, specify where to place resouce files such as WSDLs -s directory specify where to place generated source files -verbose output messages about what the compiler is doing -version print version information -wsdl[:protocol] generate a WSDL file. The protocol is optional. Valid protocols are soap1.1 and Xsoap1.2, the defau lt is soap1.1. Xsoap1.2 is not standard and can only be used in conjunction with the -extension option -servicename namespecify the Service name to use in the generated WS DL Used in conjunction with the -wsdl option. -portname name specify the Port name to use in the generated WSDL Used in conjunction with the -wsdl option. Examples: wsgen -cp . example.Stock wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService Note: Previous version of geronimo had the class DeploymentException at GERONIMO_HOME\repository\org\apache\geronimo\modules\geronimo-common\2.0.1 Thanks Ashish
Geronimo 2.1 and OS X
Hey Guys, I've been trying to get 2.1 running on my iBook. Running into a couple of problems and could use some help. 1. Safari doesn't like the binary download link. I grabbed Firefox to download the 2.1 binary, but would hate to see other Mac user discouraged from using Geronimo as a result of a bad link to the download. I'm not sure why it doesnt like the .tar.gz link, but it tries to add a .html extension to the file (.tar.gz.html). I'm willing to assist on this if I can be of help. 2. I extracted the binary and configured it in MyEclipse as a Geronimo 2.1 server. When I start the server it dies on the remote-deploy-tomcat GBean. (stack trace below) 3. Utilizing the latest OS X 10.4.11 JVM - 1.5.0_13. I think:) its apples latest production release. Thanks Mark Aufdencamp [EMAIL PROTECTED] Module 28/64 org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car 15:16:33,876 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car?J2EEApplication=null,WebModule=org.apache.geronimo.configs/remote-deploy-tomcat/2.1/car,j2eeType=JACCManager,name=JACCManager java.lang.ExceptionInInitializerError at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.init(ApplicationPolicyConfigurationManager.java:109) 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:494) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) 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:555) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534) at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) 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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$92600b12.startConfiguration(generated) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:156) 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:67)
Re: Geronimo 2.1 and OS X
On Mar 19, 2008, at 3:17 PM, Mark Aufdencamp wrote: Hey Guys, I've been trying to get 2.1 running on my iBook. Running into a couple of problems and could use some help. 1. Safari doesn't like the binary download link. I grabbed Firefox to download the 2.1 binary, but would hate to see other Mac user discouraged from using Geronimo as a result of a bad link to the download. I'm not sure why it doesnt like the .tar.gz link, but it tries to add a .html extension to the file (.tar.gz.html). I'm willing to assist on this if I can be of help. Hi Mark, Heh. I've been living with that for a while. I normally download .zip images to avoid. There aren't any differences between our .zip and tar.gz images. I have this same problem on other apache project downloads. If there's a way to fix, it would be great. 2. I extracted the binary and configured it in MyEclipse as a Geronimo 2.1 server. When I start the server it dies on the remote-deploy- tomcat GBean. (stack trace below) 3. Utilizing the latest OS X 10.4.11 JVM - 1.5.0_13. I think:) its apples latest production release. snip Caused by: java.lang.NullPointerException at org.apache.geronimo.security.SubjectId.hashCode(SubjectId.java:79) at java.util.HashMap.put(HashMap.java:418) at java.util.Collections$SynchronizedMap.put(Collections.java:1983) at org .apache .geronimo .security.ContextManager.registerSubject(ContextManager.java:265) at org .apache .geronimo.security.ContextManager.clinit(ContextManager.java:69) ... 38 more I'm not sure how this applies to your MyEclipse environment, but this same error occurs when you try to run Geronimo with a bad JRE_HOME/ JAVA_HOME setting. On my Mac, I have the following JAVA_HOME: export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/ CurrentJDK/Home --kevan
Re: Geronimo 2.1 and OS X
I wanted to confirm 1), same problem here. Something funny is going on with Geronimo itself on MacOSX 5.2, Java 1.5: - on my Intel Macbook Pro, it runs without a hitch - on my dual 2.5 Ghz PPC Powermac, it hangs during startup. Like it is waiting for a lock, but: when starting with either java -verbose switched on or debug on, it does finish loading. René. On 19 mrt 2008, at 20:17, Mark Aufdencamp wrote: Hey Guys, I've been trying to get 2.1 running on my iBook. Running into a couple of problems and could use some help. 1. Safari doesn't like the binary download link. I grabbed Firefox to download the 2.1 binary, but would hate to see other Mac user discouraged from using Geronimo as a result of a bad link to the download. I'm not sure why it doesnt like the .tar.gz link, but it tries to add a .html extension to the file (.tar.gz.html). I'm willing to assist on this if I can be of help. 2. I extracted the binary and configured it in MyEclipse as a Geronimo 2.1 server. When I start the server it dies on the remote-deploy- tomcat GBean. (stack trace below) 3. Utilizing the latest OS X 10.4.11 JVM - 1.5.0_13. I think:) its apples latest production release. Thanks Mark Aufdencamp [EMAIL PROTECTED]
Re: Geronimo 2.1 and OS X
On Mar 19, 2008, at 3:43 PM, René Jansen wrote: I wanted to confirm 1), same problem here. Something funny is going on with Geronimo itself on MacOSX 5.2, Java 1.5: - on my Intel Macbook Pro, it runs without a hitch - on my dual 2.5 Ghz PPC Powermac, it hangs during startup. Like it is waiting for a lock, but: when starting with either java -verbose switched on or debug on, it does finish loading. Ya, there's a startup deadlock which can occur on the Leopard JSE. I get it intermittently on my MacBook Pro. Heard a report, last week, that it's been seen on a Linux box, also... Here's a Jira with a bit more info -- https://issues.apache.org/jira/browse/GERONIMO-3687 The real cause of the problem is -- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5088398 I'm able to avoid this by running with jpda (YMMV and it's a bit of a pain...). The following has never deadlocked for me: ./geronimo.sh jpda run I'll start thinking about another work-around (hmm. or I wonder if the old work-around has been regressed)... --kevan
Re: NullPointerException by MDB in getCurrentContext()
On 3/19/08, ApolloX [EMAIL PROTECTED] wrote: I'm running Geronimo 1.2-beta and am getting a NullPointerException org.apache.geronimo.security.ContextManager.getCurrentContext() at line 167 when an MDB tries to access a finder method on a CMP bean. I don't believe this problem existed in 1.1, as I don't recall seeing it before we upgraded 1.2-beta. Where the code crashes it appears to be skipping the previous assertion that said No registered context. Why an MDB would not have a proper context? It's declared in the ejb-jar.xml and geronimo.xml with resources, references to local EJBs, etc. The assert verifies context is not null. The error is from accessing context.context. The null value is likely set in the fourth line of registerSubject(subject): AccessControlContext acc = (AccessControlContext) Subject.doAsPrivileged(subject, new PrivilegedAction() { public Object run() { return AccessController.getContext(); } }, null); No code validates that acc is not null. --- The null may need to be cast for the return value: public static AccessControlContext getCurrentContext() { ... return (AccessControlContext) context.context; --- Dangerous, but you might also try: public static AccessControlContext getCurrentContext() { ... if(null == context.context) return AccessController.getContext(); return context.context; Hoping these suggestions do no permanent damage, solprovider
Re: NullPointerException by MDB in getCurrentContext()
djencks wrote: It would be a lot easier for us to investigate and possibly fix this in a more current geronimo version such as 2.1. I would like to but as I've mentioned in previous posts, the 'untested' support for CMP2 using JPA in 2.X versions of Geronimo leaves my application running at speeds 100s of times slower than they currently run at. djencks wrote: While this is almost certainly a bug -- you should only be able to access unchecked methods from a mdb without additional configuration -- I think there is a way to configure a default principal or default subject or default role that would supply the missing Subject. I've checked, there is a message context, but I'm guessing its a context on another layer thats broken. Interestingly, I can make session bean calls using a transaction from within the MDB, so right now I have the MDB taking to local session bean that can access entity objects. Not a great solution, but it works. -- View this message in context: http://www.nabble.com/NullPointerException-by-MDB-in-getCurrentContext%28%29-tp16144723s134p16161205.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: NullPointerException by MDB in getCurrentContext()
On Mar 19, 2008, at 4:24 PM, ApolloX wrote: djencks wrote: It would be a lot easier for us to investigate and possibly fix this in a more current geronimo version such as 2.1. I would like to but as I've mentioned in previous posts, the 'untested' support for CMP2 using JPA in 2.X versions of Geronimo leaves my application running at speeds 100s of times slower than they currently run at. I talked with dain about this a little bit and his experience is that except for a couple of not-too-frequent and fixable situations (involving collections???) the jpa-based cmp2s are faster than the tranql ones in geronimo 1.x. Dain doesn't look at this mailing list much any more so I suggest you ask about this on the openejb lists. djencks wrote: While this is almost certainly a bug -- you should only be able to access unchecked methods from a mdb without additional configuration -- I think there is a way to configure a default principal or default subject or default role that would supply the missing Subject. I've checked, there is a message context, but I'm guessing its a context on another layer thats broken. Interestingly, I can make session bean calls using a transaction from within the MDB, so right now I have the MDB taking to local session bean that can access entity objects. Not a great solution, but it works. Can you post a stack trace? I think I remember that in 2.x I have an empty, registered Subject so that there is always a unauthenticated user with no checked permissions, and that I added this so you wouldn't get into situations like this. Can you show your security configuration in the openejb-jar.xml? It might help to see if something can be configured as a default subject. thanks david jencks -- View this message in context: http://www.nabble.com/ NullPointerException-by-MDB-in-getCurrentContext%28%29- tp16144723s134p16161205.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Tracking Down Memory Leaks in G1.2
I've noticed in most versions of Geronimo there appear to be memory leaks. For example, if I use the Hot Deployer to redeploy an EAR multiple times a time on a development server, it often leads to OutOfMemory exceptions regardless of how much the EAR is actually used. In more general environments, though, the server slowly accumulates memory until it requires a restart every few days (or sooner). I'm trying to address these issues by writing code that actively flushes any static application objects and runs garbage collection after, but I haven't had much success in decreasing memory over time. Can someone provide me with code that I can use to flush the EJB container cache? If I can actively flush that cache, at least I can rule out it for potential memory leaks. I'm using openejb+tranql+mysql, but my understanding is that the cache is owned by openejb. I've tried determining how to flush the EJB CMP2 cache but I have yet to locate source code for openejb 2.2. Anyone have any code (or suggestions) for how to flush the CMP2 cache? -- View this message in context: http://www.nabble.com/Tracking-Down-Memory-Leaks-in-G1.2-tp16168531s134p16168531.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: NullPointerException by MDB in getCurrentContext()
djencks wrote: I talked with dain about this a little bit and his experience is that except for a couple of not-too-frequent and fixable situations (involving collections???) the jpa-based cmp2s are faster than the tranql ones in geronimo 1.x. Dain doesn't look at this mailing list much any more so I suggest you ask about this on the openejb lists. I've mentioned what I think might be the problem, namely that I don't think caching is enabled properly through JPA. Even though it's supposed to be turned on by default, I've tried explicitly enabling it to now avail in the config.xml file. One behavior that I noticed that leads me to this conclusion is that in 1.X, ejbCreate would not hit the database immediately after running. I could run create method (triggering an ejbCreate), then set additional fields (marked as required in the DB) without any problems. As soon as I moved to 2.X, all DB required fields had to be set in the ejbCreate method or a SQL exception would be thrown. Either way, the result is that the code works in G2.X but with extremely slow performance along with the create errors as described above. I'm not sure why anyone would think CMP2 would be faster in G2.X given the extra layering involved. We've gone off topic though, I have other posts (which no one has responded to) to discuss this: http://www.nabble.com/CMP2-on-G2---Delayed-Database-Flush-td15704963s134.html#a15704963 -- View this message in context: http://www.nabble.com/NullPointerException-by-MDB-in-getCurrentContext%28%29-tp16144723s134p16168613.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: NullPointerException by MDB in getCurrentContext()
djencks wrote: Can you post a stack trace? Sure. See below. It seems to imply it might be a transactional attribute issue, but the deployment descriptors are set up with transactional attributes of Required so I still think its a Geronimo bug. javax.ejb.TransactionRolledbackLocalException at org.apache.openejb.transaction.TxRequired.invoke(TxRequired.java:64) at org.apache.openejb.transaction.TransactionPolicyInterceptor.invoke(TransactionPolicyInterceptor.java:50) at org.apache.openejb.NoConnectionEnlistingInterceptor.invoke(NoConnectionEnlistingInterceptor.java:68) at org.apache.openejb.SystemExceptionInterceptor.invoke(SystemExceptionInterceptor.java:35) at org.apache.openejb.entity.cmp.DefaultCmpEjbContainer.invoke(DefaultCmpEjbContainer.java:150) at org.apache.openejb.entity.cmp.DefaultCmpEjbContainer$$FastClassByCGLIB$$e128ff0b.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:122) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820) 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.openejb.BmpEjbContainer$$EnhancerByCGLIB$$821fbd47.invoke(generated) at org.apache.openejb.AbstractEjbDeployment.invoke(AbstractEjbDeployment.java:195) at org.apache.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor.java:145) at org.apache.openejb.proxy.EntityEJBLocalHome$$EnhancerByCGLIB$$a5fa9c5c.findAll(generated) at com.mdb.BrokerBean.onMessage(MyMDB.java:215) ... Caused by: java.lang.NullPointerException at org.apache.geronimo.security.ContextManager.getCurrentContext(ContextManager.java:167) at org.apache.openejb.security.EjbSecurityInterceptor.invoke(EjbSecurityInterceptor.java:65) at org.apache.openejb.security.EjbRunAsInterceptor.invoke(EjbRunAsInterceptor.java:50) at org.apache.openejb.security.PolicyContextHandlerEJBInterceptor.invoke(PolicyContextHandlerEJBInterceptor.java:64) at org.apache.openejb.naming.ComponentContextInterceptor.invoke(ComponentContextInterceptor.java:51) at org.apache.openejb.ConnectionTrackingInterceptor.invoke(ConnectionTrackingInterceptor.java:56) at org.apache.openejb.entity.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:110) at org.apache.openejb.entity.cmp.InTxCacheInterceptor.invoke(InTxCacheInterceptor.java:60) at org.apache.openejb.transaction.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:50) at org.apache.openejb.transaction.TxRequired.invoke(TxRequired.java:60) -- View this message in context: http://www.nabble.com/NullPointerException-by-MDB-in-getCurrentContext%28%29-tp16144723s134p16169955.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Unclear steps in tutorial Stateless Session Bean
hi, I think is the datasource problem that cause the exception but I did follow the steps to configure it. I have create all those .jsp under WebContent , reexport and redeploy , no luck, problem still persist. To my understand , apache used to have a DocumentRoot , i wonder the geronimo-tomcat default DocumentRoot is at which directory , and where can I see the configuration ? I notice that some built-in example , like dojo , remote-deploy etc are having the HTTP 404 error also , only juddi , CAHelper works . I am still reading the documentation to find out the problem but any guidance will much be appreciated , thanks. CG On Thu, Mar 20, 2008 at 12:51 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, So was the missing datasource the cause of exception? Regarding the current problem create index.jsp as well as other jsp's under WebContent. Thanks Ashish On Wed, Mar 19, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/, it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296) ... 21 more On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Thanks for bringing this forward. The tutorial has been updated to reflect the final geronimo-web.xml and openejb-jar.xml. Thanks Ashish
Re: Unclear steps in tutorial Stateless Session Bean
Hi, Ashish would you mind give me your version of ApplicationClient.war to let me try ? CG On Thu, Mar 20, 2008 at 10:30 AM, CG [EMAIL PROTECTED] wrote: hi, I think is the datasource problem that cause the exception but I did follow the steps to configure it. I have create all those .jsp under WebContent , reexport and redeploy , no luck, problem still persist. To my understand , apache used to have a DocumentRoot , i wonder the geronimo-tomcat default DocumentRoot is at which directory , and where can I see the configuration ? I notice that some built-in example , like dojo , remote-deploy etc are having the HTTP 404 error also , only juddi , CAHelper works . I am still reading the documentation to find out the problem but any guidance will much be appreciated , thanks. CG On Thu, Mar 20, 2008 at 12:51 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, So was the missing datasource the cause of exception? Regarding the current problem create index.jsp as well as other jsp's under WebContent. Thanks Ashish On Wed, Mar 19, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/, it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111) at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431) at
Re: NullPointerException by MDB in getCurrentContext()
On Mar 19, 2008, at 8:33 PM, ApolloX wrote: snip We've gone off topic though, I have other posts (which no one has responded to) to discuss this: http://www.nabble.com/CMP2-on-G2---Delayed-Database-Flush-td15704963s134.html#a15704963 If we don't respond to an initial post within a couple of days, you are more than welcom (encouraged, even) to post a followup with a gentle nudge to the community. If necessary, followup that up with a not-so-gentle nudge ;-). A single note can fall off our radar screen (especially if our collective plates are full with other things, when the note first shows up). As David mentions, it's unlikely that you're going to generate too much attention for fixing a bug in 1.2-beta. You have a much better chance of getting our attention for a 2.0.x/2.1.x problem. --kevan
Re: Unclear steps in tutorial Stateless Session Bean
Hi, Can you send me your version of ApplicationClient.war? I would like to have a look at it. Thanks Ashish On Thu, Mar 20, 2008 at 9:02 AM, CG [EMAIL PROTECTED] wrote: Hi, Ashish would you mind give me your version of ApplicationClient.war to let me try ? CG On Thu, Mar 20, 2008 at 10:30 AM, CG [EMAIL PROTECTED] wrote: hi, I think is the datasource problem that cause the exception but I did follow the steps to configure it. I have create all those .jsp under WebContent , reexport and redeploy , no luck, problem still persist. To my understand , apache used to have a DocumentRoot , i wonder the geronimo-tomcat default DocumentRoot is at which directory , and where can I see the configuration ? I notice that some built-in example , like dojo , remote-deploy etc are having the HTTP 404 error also , only juddi , CAHelper works . I am still reading the documentation to find out the problem but any guidance will much be appreciated , thanks. CG On Thu, Mar 20, 2008 at 12:51 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, So was the missing datasource the cause of exception? Regarding the current problem create index.jsp as well as other jsp's under WebContent. Thanks Ashish On Wed, Mar 19, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/ , it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds// at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader (DefaultArtifactResolver.java:111) at
Re: Tracking Down Memory Leaks in G1.2
On Mar 19, 2008, at 8:24 PM, ApolloX wrote: I've noticed in most versions of Geronimo there appear to be memory leaks. For example, if I use the Hot Deployer to redeploy an EAR multiple times a time on a development server, it often leads to OutOfMemory exceptions regardless of how much the EAR is actually used. In more general environments, though, the server slowly accumulates memory until it requires a restart every few days (or sooner). I'm trying to address these issues by writing code that actively flushes any static application objects and runs garbage collection after, but I haven't had much success in decreasing memory over time. Can someone provide me with code that I can use to flush the EJB container cache? If I can actively flush that cache, at least I can rule out it for potential memory leaks. I'm using openejb+tranql+mysql, but my understanding is that the cache is owned by openejb. I've tried determining how to flush the EJB CMP2 cache but I have yet to locate source code for openejb 2.2. Anyone have any code (or suggestions) for how to flush the CMP2 cache? OpenEJB 2.2 source is here -- https://svn.apache.org/repos/asf/incubator/openejb/tags/openejb-2.2 Do you have evidence that an OpenEJB cache is the cause of your problem? If not, I'd suggest you use a profiler (e.g. JProfiler or YourKit) to analyze your memory growth. I like to use the '-XX: +HeapDumpOnOutOfMemoryError' JRE option and analyze the resultant heapdump... If you're seeing these OOME problems on 2.0 or 2.1, let me know and I'll have a look... IIRC, I tested deploy/undeploy on 2.0 and we were clean. It's easy for problems to sneak back in, however... --kevan
Re: NullPointerException by MDB in getCurrentContext()
Kevan Miller wrote: As David mentions, it's unlikely that you're going to generate too much attention for fixing a bug in 1.2-beta. You have a much better chance of getting our attention for a 2.0.x/2.1.x problem. Actually when I searched Google for information about the bug, most of the hits came up with this being a bug in 2.0 and 2.1. -- View this message in context: http://www.nabble.com/NullPointerException-by-MDB-in-getCurrentContext%28%29-tp16144723s134p16171262.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Default servlet not found?
Hello, This has been bugging me for half a day now. I hope someone can help me! Situation: I've successfully deployed a .WAR application, it is mapped to / As a result, images etc. wouldn't load, as they were redirected to the servlet as well. So I added mappings for *.jpg, *.png, etc. to the servlet 'default'. I also did this in the past with a different Geronimo installation. The problem: When deploying, i get the following error: Unable to deploy: Web app default/OmikronApplication/1205986793250/war contains a servlet mapping that refers to servlet 'default' but no such servlet was found! Things I tried: If I remove web.xml altogether, the directory listings work fine. If i leave out the *.jpg, *.png, etc. mappings, the servlet works (but without loading those images ofcourse). I have also tried org.mortbay.jetty...DefaultServlet (I use the Jetty version) instead of 'default', but to no avail. I also noticed that I do NOT have a web-default.xml or webdefault.xml in my Geronimo folders. Is this correct? I verified my downloaded archive and it turned out correct. The geronimo-web.xml and web.xml are listed below. Thanks in advance!! Victor web.xml -- ?xml version=1.0 encoding=UTF-8? web-app 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-nameOmikron server application/display-name servlet display-nameOmikron server core/display-name servlet-nameOmikronServer/servlet-name servlet-classapplication.Server/servlet-class load-on-startup0/load-on-startup /servlet servlet-mappingservlet-namedefault/servlet-name url-pattern*.jpg/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.gif/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.png/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.swf/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.xml/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.css/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.html/url-pattern/servlet-mapping servlet-mappingservlet-namedefault/servlet-name url-pattern*.js/url-pattern/servlet-mapping servlet-mappingservlet-nameOmikronServer/servlet-name url-pattern//url-pattern/servlet-mapping /web-app geronimo-web.xml -- web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web-1.1; environment moduleId artifactIdOmikronApplication/artifactId /moduleId /environment context-root//context-root /web-app -- View this message in context: http://www.nabble.com/Default-servlet-not-found--tp16171368s134p16171368.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Unclear steps in tutorial Stateless Session Bean
Ok, here it is. On Thu, Mar 20, 2008 at 11:42 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi, Can you send me your version of ApplicationClient.war? I would like to have a look at it. Thanks Ashish On Thu, Mar 20, 2008 at 9:02 AM, CG [EMAIL PROTECTED] wrote: Hi, Ashish would you mind give me your version of ApplicationClient.war to let me try ? CG On Thu, Mar 20, 2008 at 10:30 AM, CG [EMAIL PROTECTED] wrote: hi, I think is the datasource problem that cause the exception but I did follow the steps to configure it. I have create all those .jsp under WebContent , reexport and redeploy , no luck, problem still persist. To my understand , apache used to have a DocumentRoot , i wonder the geronimo-tomcat default DocumentRoot is at which directory , and where can I see the configuration ? I notice that some built-in example , like dojo , remote-deploy etc are having the HTTP 404 error also , only juddi , CAHelper works . I am still reading the documentation to find out the problem but any guidance will much be appreciated , thanks. CG On Thu, Mar 20, 2008 at 12:51 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, So was the missing datasource the cause of exception? Regarding the current problem create index.jsp as well as other jsp's under WebContent. Thanks Ashish On Wed, Mar 19, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish , I am using AG 2.1. I did follow the tutorial to create the datasource. Anyway, I follow your steps, and I manage to deploy the StatelessSession.ejb and ApplicationClient.war . However, when I browser at http://localhost:8080/ApplicationClient/, it gives me HTTP 404 error. type Status report message /ApplicationClient/login.jsp The requested resource (/ApplicationClient/) is not available. I believe it maybe due to the file path problem , is it? It seems like cannot find the index.jsp ? Where should the index.jsp been put ? according to the tutorial should be under the WEB-INF. Thanks CG On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain [EMAIL PROTECTED] wrote: There are only two possibilities for such an error. 1) Either you have not mentioned the correct dependency in the deployment plan. 2) You have not created the datasource. Since 1) is not possible becoz you are using the correct plan. I guess there is some issue with your datasource. You can try the following 1) Create a database as suggested by the turorial http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole 2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is present in GERONIMO_HOME\repository\org\tranql\tranql-connector-derby-embed-xa\1.3 using the plan attached. 3) Now deploy the StatelessSessionEJB.jar. This should help you. BTW what is the version of AG you are using? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 AM, CG [EMAIL PROTECTED] wrote: Hi, I have downloaded the file , and use the console to deploy it. No luck , same error. I am a total newbie , not sure any futher steps that I can try to do . Hope that you can give a futher guidance , thanks. Rgds, CG On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain [EMAIL PROTECTED] wrote: Hi CG, I just now executed the complete tutorial and found no problems with StatelessSessionEJB.jar. I am attaching the recently created StatelessSessionEJB.jar. Have a look at it and compare it with the one you have created Hope it helps Thanks Ashish On Tue, Mar 18, 2008 at 9:09 PM, CG [EMAIL PROTECTED] wrote: Hi Ashish, Thanks for your reply. I have updated the geronimo-web.xml and openejb-jar.xml, and reexport the archieve, and deploy using the console. However, the problem still there when I deploy StatelessSessionEJB.jar (ApplicationClient.war no problem) still the dependency problem .. need your guidance , thanks in advance. Error message: Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: console.dbpool/jdbc%2Fuserds//
Getting an Exception while creating JMS deployment plan through console.
Hi I am using AG2.1 for creating deploying a JMS resource plan using admin console. I am using WinXP SP2. First I tried to create the plan using IE 7 but hit the problem mentioned in the JIRA --GERONIMO-3599http://issues.apache.org/jira/browse/GERONIMO-3599. Then I switched to FireFox and I was able to get past the error. However after adding a ConnectionFactory a Destination, when I click on the Show Deployment plan, I get the following error as below ** java.lang.IllegalArgumentException: can't parse argument number rarURL at java.text.MessageFormat.makeFormat(MessageFormat.java:1350) at java.text.MessageFormat.applyPattern(MessageFormat.java:470) at org.apache.taglibs.standard.tag.common.fmt.MessageSupport.doEndTag(MessageSupport.java:199) at jsp.WEB_002dINF.view.jmswizard.plan_jsp._jspx_meth_fmt_005fmessage_005f6(plan_jsp.java:673) at jsp.WEB_002dINF.view.jmswizard.plan_jsp._jspService(plan_jsp.java:169) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:106) at org.apache.geronimo.console.MultiPagePortlet.doView(MultiPagePortlet.java:151) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173) at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:152) at jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:87) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspx_meth_c_005fforEach_005f0(default_002dtheme_jsp.java:196) at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002dtheme_jsp.java:101) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at