Re: wadi clustering - session invalidation

2009-01-14 Thread Gianny Damour
Hi Trygve, This was a regression and it is now fixed. If you are building from source 2.2-SNAPSHOT, then here are the steps to apply the fix: 1. update plugins/jetty/geronimo-jetty6-clustering-wadi 2. build geronimo-jetty6-clustering-wadi 3. copy resulting artefact to your repository under r

Re: system property for login configuration file

2009-01-14 Thread David Jencks
On Jan 13, 2009, at 11:05 PM, axiez wrote: Which file should I edit to set the system property java.security.auth.login.config so that LoginContext knows where to look for a given login configuration? We don't use the sun provided default file based login config. Instead you configure se

Re: Add tomcat-specific configuration

2009-01-14 Thread David Jencks
On Jan 13, 2009, at 8:32 PM, Ivan wrote: I was always thinking that shall we have a better way to handle all the available setting provided by the third-party modules? As we all know, usually, all the GBeans only delegate those important and popular settings, it is impossible for us to all

Re: wadi clustering - session invalidation

2009-01-14 Thread Trygve Hardersen
Great, thanks a lot Gianny. I updated the source and I'm no longer getting the error. I am however seeing this upon session invalidation: 13:29:01,528 INFO [HybridRelocater] Unknown session [a4gezreo2fd4] 13:29:03,532 ERROR [StandardManager] Could not acquire session [a4gezreo2fd4] I guess this

Geronimo Deployment Error

2009-01-14 Thread VijayR
Hello, I have a Java application which uses the DB Database Pools and JMS Resources. We were using Geronimo v1.1.1 before moving over to v2.1.3. We have made all the changes required to move over to v2.1.3 (as listed here - http://cwiki.apache.org/GMOxDOC21/deployment-descr...r-going-from-g-11-to

Re: How to get hold of a WorkManager in a web app?

2009-01-14 Thread fladimir
Unfortunately I couldn't get it to work. I'm really new to gbeans, though... Maybe someone here (developer?) knows how this is supposed to be done? First I tried putting it inside the root tag and it gave me: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: jar:file:/ho

Re: Geronimo Deployment Error

2009-01-14 Thread David Jencks
Does your code start a thread that then gets to the stack trace shown? I don't think the java:comp jndi context is available in any threads you create. One solution would be to use the global jndi bindings for the lookups: http://cwiki.apache.org/GMOxDOC21/jndi.html (I can't find this do

Re: How to get hold of a WorkManager in a web app?

2009-01-14 Thread David Jencks
On Jan 14, 2009, at 8:38 AM, fladimir wrote: Unfortunately I couldn't get it to work. I'm really new to gbeans, though... Maybe someone here (developer?) knows how this is supposed to be done? First I tried putting it inside the root tag and it gave me: org.apache.xmlbeans.XmlExceptio

Re: deploy and undeploy a gbean

2009-01-14 Thread Ricky Ignatius
Hi, I try to do same thing. Currently I use ant to run command line, and call those ant task from java. For install-plugin, I unable to do that using ant so I use JMX to call plugin gbean directly. It's work so far, is there any bteer way to do that? Thanks, Ricky djencks wrote: > > > On Au

Re: deploy and undeploy a gbean

2009-01-14 Thread David Jencks
On Jan 14, 2009, at 3:29 PM, Ricky Ignatius wrote: Hi, I try to do same thing. Currently I use ant to run command line, and call those ant task from java. For install-plugin, I unable to do that using ant so I use JMX to call plugin gbean directly. It's work so far, is there any bteer way

Re: deploy and undeploy a gbean

2009-01-14 Thread Ricky Ignatius
I tried to do deploy/undeploy from code also. Currently I create ant script to run command line to deploy/undeploy/etc. Then I trigger that ant task from code. public void deployModule(String rmiPort, String m

Geronimo Cannot Auto-reload class File

2009-01-14 Thread Kai Fei
Hello, My name is Kai, a new geronimo user. I met a small problem when develope a web application on geronimo. It seems that geronimo won't reload the java class file when it is replaced. Here is what I did: After I deploied a war file, I wanted to change a java class, so I replaced the old one wi

Re: Geronimo Cannot Auto-reload class File

2009-01-14 Thread chi runhua
Try deploy --inPlace ,here is the doc for your information http://cwiki.apache.org/GMOxDOC22/deploy.html#deploy-Deploy Jeff C On Thu, Jan 15, 2009 at 2:36 PM, Kai Fei wrote: > Hello, > > My name is Kai, a new geronimo user. I met a small problem when develope a > web application on geronim

Re: Geronimo Cannot Auto-reload class File

2009-01-14 Thread Ivan
Currently, it seems that the reload attribute of the context is not exported by the TomcatWebAppContext GBean, shall we add this attribute to allow the user to set it in the config.xml ?Thanks ! 2009/1/15 chi runhua > Try deploy --inPlace ,here is the doc for your information > > http://cwik

Re: Geronimo Cannot Auto-reload class File

2009-01-14 Thread Rex Wang
agree! Rex 2009/1/15 Ivan > Currently, it seems that the reload attribute of the context is not > exported by the TomcatWebAppContext GBean, shall we add this attribute to > allow the user to set it in the config.xml ?Thanks ! > > 2009/1/15 chi runhua > > Try deploy --inPlace ,here is the