Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread CG
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]

How to use JAAS with JSF , best practice

2008-03-19 Thread Ralf Baumhof
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

Re: (Please Reply urgently help needed) How to configure Session Bean Pool Size

2008-03-19 Thread Manu George
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

Migrating an application from tomcat to geronimo

2008-03-19 Thread remya
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread Ashish Jain
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

Re: [ANN] Geronimo -ApacheDS plugin 1.0 released

2008-03-19 Thread Hernan Cunico
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

Getting class not found exception while running the jaxws-tools.bat

2008-03-19 Thread Ashish Jain
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

NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread ApolloX
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread CG
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

Re: How to use JAAS with JSF , best practice

2008-03-19 Thread David Jencks
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

Re: Unable to find setenv.bat in AG 2.1

2008-03-19 Thread Kevan Miller
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread Ashish Jain
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

Re: Getting class not found exception while running the jaxws-tools.bat

2008-03-19 Thread Jarek Gawor
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

Geronimo 2.1 and OS X

2008-03-19 Thread Mark Aufdencamp
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

Re: Geronimo 2.1 and OS X

2008-03-19 Thread Kevan Miller
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

Re: Geronimo 2.1 and OS X

2008-03-19 Thread René Jansen
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

Re: Geronimo 2.1 and OS X

2008-03-19 Thread Kevan Miller
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread solprovider
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread ApolloX
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread David Jencks
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

Tracking Down Memory Leaks in G1.2

2008-03-19 Thread ApolloX
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread ApolloX
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread ApolloX
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread CG
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread CG
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread Kevan Miller
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread Ashish Jain
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

Re: Tracking Down Memory Leaks in G1.2

2008-03-19 Thread Kevan Miller
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

Re: NullPointerException by MDB in getCurrentContext()

2008-03-19 Thread ApolloX
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

Default servlet not found?

2008-03-19 Thread Victorious
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

Re: Unclear steps in tutorial Stateless Session Bean

2008-03-19 Thread CG
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

Getting an Exception while creating JMS deployment plan through console.

2008-03-19 Thread Phani Madgula
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