Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Vamsavardhana Reddy
Let me create a JIRA before it is lost. Vamsi On 9/21/07, Paul McMahan <[EMAIL PROTECTED]> wrote: > > On Sep 21, 2007, at 10:40 AM, Vamsavardhana Reddy wrote: > > > May be it is a good idea to have redeploy start any dependent > > configurations it stops. > > that sounds useful! > > > Best wishes

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Carver
Thanks your guys help! I get it to works in both Geronimo 1.1.1 and Geronimo 2.0.1. -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12823218 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Carver
>> Geronimo's Tomcat component actually creates the valve and therefore >> >> needs to have the implementation classes available in its >> >> classloader. A component's deployment plan specifies what goes in >> >> its classloader, so you could add

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Carver
gt; plan and then redeploy it. >>> >>> >>> Best wishes, >>> Paul >>> >>> >>> On Sep 20, 2007, at 8:52 AM, Carver wrote: >>> >>>> >>>> It seems that I can merge all the other jar files into the >>>>

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Paul McMahan
On Sep 21, 2007, at 10:40 AM, Vamsavardhana Reddy wrote: May be it is a good idea to have redeploy start any dependent configurations it stops. that sounds useful! Best wishes, Paul

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Vamsavardhana Reddy
eek... my bad. I got confused with "restart" we have for configs in Admin Console. May be it is a good idea to have redeploy start any dependent configurations it stops. Vamsi On 9/21/07, Paul McMahan <[EMAIL PROTECTED]> wrote: > > On Sep 21, 2007, at 9:53 AM, Vamsavardhana Reddy wrote: > > >

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Joe Bohn
Paul McMahan wrote: On Sep 21, 2007, at 9:53 AM, Vamsavardhana Reddy wrote: I would suggest not to undeploy tomcat in step 2 and use deploy.sh redeploy at step 6. If this works, then you need not worry about restarting any apps that might have got stopped when tomcat was undeployed as re

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Paul McMahan
On Sep 21, 2007, at 9:53 AM, Vamsavardhana Reddy wrote: I would suggest not to undeploy tomcat in step 2 and use deploy.sh redeploy at step 6. If this works, then you need not worry about restarting any apps that might have got stopped when tomcat was undeployed as redeploy will restart

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Vamsavardhana Reddy
t; Best wishes, > >> Paul > >> > >> > >> On Sep 20, 2007, at 8:52 AM, Carver wrote: > >> > >>> > >>> It seems that I can merge all the other jar files into the > >>> geronimo-tomcat-1.1.1.jar to make it works. Is there oth

Re: Problem with defining custom Valve in config.xml

2007-09-21 Thread Paul McMahan
o-tomcat-1.1.1.jar to make it works. Is there other ways to handle it? -- View this message in context: http://www.nabble.com/Problem-with- defining-custom-Valve-in-config.xml-tf4486628s134.html#a12796470 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. --

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
> >> >> It seems that I can merge all the other jar files into the >> geronimo-tomcat-1.1.1.jar to make it works. Is there other ways to >> handle >> it? >> >> -- >> View this message in context: http://www.nabble.com/Problem-with- >> de

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
PATH. I'm not feeling like we have a satisfactory > solution, from a user's perspective. Using XML to configure modules > might help... > > --kevan > > > > > -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12802711 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
the third-party classes in the config.xml. >> >> Anyone know how to import the third-party classes? >> >> many thanks >> carver >> >> > > > -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12801371 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Janko Heilgeist
Hi, is that a typo in the attribute "className"? Do you really mean "org. compnay" or instead "org.company"? Regards, Janko Carver wrote: > hi, > > I try to define a custom valve in config.xml by the following XML fragment: > > name="geronimo/tomcat/1.1.1/car?ServiceModule=geronimo/tomcat/1.1

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
gt; --kevan > > > -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12800559 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread David Jencks
On Sep 20, 2007, at 10:16 AM, Paul McMahan wrote: On Sep 20, 2007, at 9:44 AM, Kevan Miller wrote: On Sep 20, 2007, at 9:34 AM, Vamsavardhana Reddy wrote: Put your jars in /lib/endorsed dir. Heh. How many answers can we give... ;-) I was thinking we had lib/endorsed issues on 1.1. We do

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Paul McMahan
On Sep 20, 2007, at 9:44 AM, Kevan Miller wrote: On Sep 20, 2007, at 9:34 AM, Vamsavardhana Reddy wrote: Put your jars in /lib/endorsed dir. Heh. How many answers can we give... ;-) I was thinking we had lib/endorsed issues on 1.1. We don't set it as command line option when invoking jav

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Kevan Miller
On Sep 20, 2007, at 9:34 AM, Vamsavardhana Reddy wrote: Put your jars in /lib/endorsed dir. Heh. How many answers can we give... ;-) I was thinking we had lib/endorsed issues on 1.1. We don't set it as command line option when invoking java. And am not sure how well manifest.mf controls

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Vamsavardhana Reddy
his message in context: > http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12796470 > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Kevan Miller
On Sep 20, 2007, at 8:52 AM, Carver wrote: It seems that I can merge all the other jar files into the geronimo-tomcat-1.1.1.jar to make it works. Is there other ways to handle it? Another technique would be to append your jar to the Class-Path in meta-inf/manifest.mf in server.jar. Both

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Paul McMahan
hen redeploy it. Best wishes, Paul On Sep 20, 2007, at 8:52 AM, Carver wrote: It seems that I can merge all the other jar files into the geronimo-tomcat-1.1.1.jar to make it works. Is there other ways to handle it? -- View this message in context: http://www.nabble.com/Problem-with-

Re: Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
It seems that I can merge all the other jar files into the geronimo-tomcat-1.1.1.jar to make it works. Is there other ways to handle it? -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12796470 Sent from the Apache

Problem with defining custom Valve in config.xml

2007-09-20 Thread Carver
ow to import the third-party classes? many thanks carver -- View this message in context: http://www.nabble.com/Problem-with-defining-custom-Valve-in-config.xml-tf4486628s134.html#a12794364 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.