Re: Problems with Geronimo Logging...

2007-09-14 Thread Kevan Miller
On Sep 12, 2007, at 9:11 PM, EJLeVin1 wrote: Ok, so first off I want to apologize if this is kind of a newbie question, but we are making the migration from Tomcat to Geronimo, and I am having a hard time moving some of our application's logging. We have written a custom log4j appender

Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Mario Ruebsam
Hello, after migrating successful from Little-G Jetty 1.1 to Little-G Jetty 2.0.1 I detected some strange behavior when closing the Servlets response writer. Every time the writer is closed Geronimo or Jetty creates 10 new Threads in the DefaultThreadPool. The code snippet is below. In G 1.1

Enabling sticky sessions in Geronimo 2.0.1

2007-09-14 Thread Dennis Cartier
Does anyone know how to enable sticky sessions in Geronimo 2.0.1? I tried using the method that worked in previous Geronimo versions, adding the following to the config.xml file: gbean name=TomcatEngine attribute name=initParamsname=Geronimo jvmRoute=node1/attribute /gbean This did not seem to

Re: Problem with referencing to beans from other ejb-jars

2007-09-14 Thread Tomasz Mazan
I found, that JARFILE#BeanName allow to refer to independent jars, but... it's still not working -- View this message in context: http://www.nabble.com/Problem-with-referencing-to-beans-from-other-ejb-jars-tf4435740s134.html#a12676579 Sent from the Apache Geronimo - Users mailing list archive

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Mario Ruebsam
I did some debugging and followed the code until: SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run() line: 422 when this line is called the Treads will be created. I guess this is Jetty code because I could not found it in the Geronimo sources. Which Jetty version is used

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Mario Rübsam
I did some debugging and followed the code until: SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run() line: 422 when this line is called the Treads will be created. I guess this is Jetty code because I could not found it in the Geronimo sources. Which Jetty version is used

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Kevan Miller
On Sep 14, 2007, at 11:34 AM, Mario Ruebsam wrote: I did some debugging and followed the code until: SelectChannelConnector$ConnectorEndPoint(SelectChannelEndPoint).run () line: 422 when this line is called the Treads will be created. Nice. Thanks for digging into this Mario! I guess

Re: JOSSO with Geronimo

2007-09-14 Thread Kevan Miller
On Sep 14, 2007, at 10:56 AM, Carver wrote: Yes, I can. What's the advantage of using Geronimo 2.0.1? Is it easy to config the Tomcat Realm? Heh. Well, not necessarily, but we'll definitely be more interested in helping you... ;-) For me to help you, I'd need to do some

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Paul McMahan
Mario, thanks for doing the extra debugging to narrow down where the problem is at. Yes the jetty version is 6.1.5. You can also find the version number of a component in the admin console's System modules portlet or by the directory name in Geronimo's repository, in this case

Re: JOSSO with Geronimo

2007-09-14 Thread David Jencks
I looked at the JOSSO documentation really quickly and think that there won't be an advantage to using the tomcat realm rather than the default jacc based realm. I think you can configure the josso login module in a geronimo security realm with no problems. The only possible tricky parts

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Mario Ruebsam
Ok, I will download or checkout the Jetty 6.1.5 sources to do some further investigation on it. Thanks, Mario Paul McMahan wrote: Mario, thanks for doing the extra debugging to narrow down where the problem is at. Yes the jetty version is 6.1.5. You can also find the version number of a

RE: jndi lookup in remote client for geronimo v2

2007-09-14 Thread vrm
I'm having the exact same issue. I've spent 2 days looking around and there is no examples or documentations available for a Remote openejb client accessing an EJB on Geronimo 2. Anybody have an EAR for Geronimo2 and an Openejb-Client app accessing it? The Exception I get =

Re: Problems with Geronimo Logging...

2007-09-14 Thread EJLeVin1
Kevan, Thanks for the info. I wasn't able to get the modification to the .bat/.sh files working properly with the -classpath options (although I might have been setting something wrong); however, changing the MANIFEST.MF file in the server.jar did do the trick (which was kind of nice

Training session: Securing Java EE Applications in Apache Geronimo

2007-09-14 Thread Vamsavardhana Reddy
Hi, I will be conducting a training session titled Securing Java EE Applications in Apache Geronimo at ApacheCon US 2007 to be held in Atlanta and OS Summit Asia 2007 to be held in Hongkong in November. The following links provide details of the topics covered and training schedule.

Re: Creation of new threads after closing response writer in Servlet in Little-G Jetty 2.0.1

2007-09-14 Thread Mario Ruebsam
The new Treads are created by more than one Servlet requests when loading a page. The page itself and also serving some static files. The new Threads appear all at the same time because of a synchronized block in SelectChannelEndPoint.undispatch(); Which is called at the line number mentioned in

Re: Problems with Geronimo Logging...

2007-09-14 Thread Kevan Miller
On Sep 14, 2007, at 1:49 PM, EJLeVin1 wrote: Kevan, Thanks for the info. I wasn't able to get the modification to the .bat/.sh files working properly with the -classpath options (although I might have been setting something wrong); however, changing the MANIFEST.MF file in the

Re: Problems with Geronimo Logging...

2007-09-14 Thread Paul McMahan
On Sep 14, 2007, at 2:11 PM, Kevan Miller wrote: I'm not entirely certain how an external CLASSPATH and MANIFEST.MF might interact. I do seem to recall that if you use 'java -jar server.jar', the jre ignores your external CLASSPATH setting and only observes the MANIFEST.MF setting... I

Re: jndi lookup in remote client for geronimo v2

2007-09-14 Thread Jarek Gawor
I have some tests in Geronimo that might help. If you have a EJB 2.x take a look at: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-ejb/ And for the client take a look at the testEJB() function in

Re: jndi lookup in remote client for geronimo v2

2007-09-14 Thread David Blevins
On Sep 14, 2007, at 10:48 AM, vrm wrote: I'm having the exact same issue. I've spent 2 days looking around and there is no examples or documentations available for a Remote openejb client accessing an EJB on Geronimo 2. Anybody have an EAR for Geronimo2 and an Openejb-Client app

Re: jndi lookup in remote client for geronimo v2

2007-09-14 Thread vrm
Thanks for the examples - Is there any difference between the Context Lookup in an EJB-JAR vs an EAR ? I'm still getting a naming exception and I followed both the examples exactly. Here are some files associated with my configuration = --- If my geronimo-application.xml = ?xml

Re: geronimo sucessfully installed and running, but am not able to log on two server

2007-09-14 Thread David Jencks
something's wrong with how you started geronimo, the java.endorsed.dirs property needs to include lib/endorsed. I don't use windows so I'm not exactly sure what is appropriate I would try bin/startup.bat and use the 1.5 jdk first. A command line that works for me on osx is java