Re: deploy and undeploy a gbean

2007-08-27 Thread Stefan Schulze Frielinghaus
I would like to have the functionality of the command line tool java -jar deployer.jar --user system --password manager {deploy,undeploy} tool.jar in a GBean. So I could programmatic load and unload other GBeans via a GBean. Is something like that possible? On 24.08.2007, at 22:38, David

Re: Is there any reason to use @Remote for session bean...

2007-08-27 Thread Tomasz Mazan
David Blevins pisze: On Aug 20, 2007, at 1:40 PM, Tomasz Mazan wrote: David Blevins pisze: and try to get remote SB with method this.ctx.lookup(EJBtest-1.0.jar/CustomerFacade); and get instance of org.apache.openejb.client.JNDIContext.. where is my session bean?! I think you need

Delete or edit realm in console

2007-08-27 Thread Torsten Schlabach
Hi all! I have a simple question: In the console, I can view and edit Security Realms which I created, but I cannot delete a real which I don't need any more or created by accident. Is that by purpose? I also noticed that when I click on edit, I get a completely different screen than the one

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-27 Thread Chua Chee Seng
Hi Rick, Sorry for writing back late as I was out of town. imho, generalizing it would be a good idea. If the spec allows it, people will do it. Once again, thanks for the help! :-) Regards, Chee Seng Rick McGuire wrote: Chua Chee Seng wrote: Hi Rick, It works! Thank you very much.

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-27 Thread Rick McGuire
Chua Chee Seng wrote: Hi Rick, Sorry for writing back late as I was out of town. imho, generalizing it would be a good idea. If the spec allows it, people will do it. Once again, thanks for the help! :-) And thank YOU for the help too. You're extremely thorough analysis of the problem

how to get jsr77 stats

2007-08-27 Thread Viet Nguyen
Hi, I have been trying to fetch the JSR 77 stats with the following snippet of code Stats stats = null; try { stats = (Stats)mejb.getAttribute(objName, stats); }catch (Exception ex){ System.out.println(Error finding stats- + ex.toString());

Re: how to get jsr77 stats

2007-08-27 Thread Paul McMahan
On Aug 27, 2007, at 4:36 PM, Viet Nguyen wrote: The weird thing about it is that when I executed System.out.println (o.getClass().toString()); it tells me that the class is WebModuleStatsImpl. Do you have a copy of the geronimo-management jar either in your application or as a dependency

Re: Problem at geronimo boot

2007-08-27 Thread Vamsavardhana Reddy
can you post a sample app that results in this error when deployed? Vamsi On 8/28/07, Paolo Denti [EMAIL PROTECTED] wrote: Hi, i am a brand new geronimo user (or at least i am trying to be) I am trying to deploy already existing applications (EARs), already working on jboss, without any

how to get jsr77 stats

2007-08-27 Thread Viet Nguyen
Hi, I have been trying to fetch the JSR 77 stats with the following snippet of code Stats stats = null; try { stats = (Stats)mejb.getAttribute(objName, stats); }catch (Exception ex){ System.out.println(Error finding stats- + ex.toString());

Re: Problem at geronimo boot

2007-08-27 Thread David Jencks
On Aug 27, 2007, at 2:47 PM, Paolo Denti wrote: Hi, i am a brand new geronimo user (or at least i am trying to be) I am trying to deploy already existing applications (EARs), already working on jboss, without any particular deployment descriptior, on geronimo. I always get NPEs at geronimo

Re: Problem at geronimo boot

2007-08-27 Thread Paolo Denti
Yes, it is a file. anyway the application is working on jboss this is the 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"

Re: Problem at geronimo boot

2007-08-27 Thread Paolo Denti
no, the application is too big and, at the moment, i cannot isolate the problem. Vamsavardhana Reddy wrote: can you post a sample app that results in this error when deployed? Vamsi On 8/28/07, Paolo Denti [EMAIL PROTECTED] wrote: Hi, i am a brand new geronimo user (or at

Re: Is there any reason to use @Remote for session bean...

2007-08-27 Thread David Blevins
On Aug 20, 2007, at 12:14 PM, David Blevins wrote: On Aug 18, 2007, at 4:34 PM, David Blevins wrote: Hmmm... Looking at the code right now I see that its actually a bit tricky to set the openejb.jndiname.format property -- normally setting it as a system property would do the trick, but

Re: Problem at geronimo boot

2007-08-27 Thread Paolo Denti
kevan, if it can help, these are my descriptors 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"

Re: Problem at geronimo boot

2007-08-27 Thread David Jencks
Are you including spring and acegi in your ear? If so, which versions? Geronimo includes 2.0.5 and if you are using a different version that may cause conflicts. You could try including dep:hidden-classes dep:filterorg.springframework./dep:filter /dep:hidden-classes in your

Re: deploy and undeploy a gbean

2007-08-27 Thread David Jencks
On Aug 27, 2007, at 12:56 AM, Stefan Schulze Frielinghaus wrote: I would like to have the functionality of the command line tool java -jar deployer.jar --user system --password manager {deploy,undeploy} tool.jar in a GBean. So I could programmatic load and unload other GBeans via a GBean.

Re: Problem at geronimo boot

2007-08-27 Thread Kevan Miller
Hi Paolo, As David mentions, you're running into a Spring version conflict. This is a problem that we've discovered in our geronimo-jetty6- jee5-2.0.1 assembly. We're currently working on fixing the problem in our 2.0.2 release. There are multiple work-arounds for the problem. I've

Re: how to get jsr77 stats

2007-08-27 Thread Viet Nguyen
On 8/27/07, Paul McMahan [EMAIL PROTECTED] wrote: On Aug 27, 2007, at 4:36 PM, Viet Nguyen wrote: The weird thing about it is that when I executed System.out.println (o.getClass().toString()); it tells me that the class is WebModuleStatsImpl. Do you have a copy of the