Re: Error when J2EE Client App on G2.0.1 terminates

2007-09-07 Thread David Jencks
I wonder if you are including -Djava.endorsed.dirs=lib/endorsed in  
the command line to start the app client?  I'd expect the client  
wouldn't start without this, but I have no other explanation for this  
error.


thanks
david jencks

On Sep 7, 2007, at 9:04 AM, David Carew wrote:

When I run a J2EE Client app on G 2.0.1 the client runs but after  
it exits it's main method I get the following error from the client  
container.  Has anyone seen this and/or knows how to fix it ? TIA


10:57:15,119 ERROR [GBeanInstance] Problem in doStop of  
org.apache.geronimo.configs/client-corba-yoko/2.0.1/car? 
ServiceModule=org.apache.geronimo.configs/client-corba-yoko/2.0.1/ 
car,j2eeType=CORBABean,name=Server
java.lang.NoSuchMethodError:  
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_c 
hanged (Ljava/lang/String;S)V
at  
org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange 
(PIManager.java:532)
at  
org.apache.yoko.orb.OBPortableServer.POAManager_impl.deactivate 
(POAManager_impl.java:360)
at  
org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deacti 
vate(POAManagerFactory_impl.java:342)
at org.apache.yoko.orb.OB.ORBControl.completeServerShutdown 
(ORBControl.java:100)
at org.apache.yoko.orb.OB.ORBControl.shutdownServer 
(ORBControl.java:427)
at org.apache.yoko.orb.OB.ORBControl.shutdownServerClient 
(ORBControl.java:455)
at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy 
(ORB_impl.java:1390)
at org.apache.geronimo.corba.CORBABean.doStop 
(CORBABean.java:260)
at  
org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance 
(GBeanInstance.java:1159)
at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop ( 
GBeanInstanceState.java:339)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:188)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:561)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:180)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop  
(GBeanInstance.java:561)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:180)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:561)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop  
(GBeanInstanceState.java:180)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:561)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean 
(BasicKernel.java:423)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop 
(GBeanInstanceState.java:180)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop 
(GBeanInstance.java:561)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean  
(BasicKernel.java:423)
at  
org.apache.geronimo.kernel.config.KernelConfigurationManager 
$ShutdownHook.run(KernelConfigurationManager.java:316)
at  
org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks  
(BasicKernel.java:668)
at org.apache.geronimo.kernel.basic.BasicKernel.shutdown 
(BasicKernel.java:645)
at  
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper$1.run 
(MainConfigurationBootstrapper.java :76)
Exception in thread Yoko:Server:StarterThread  
java.lang.NoClassDefFoundError: org/apache/yoko/orb/OB/MessageQueue
at org.apache.yoko.orb.OB.GIOPConnection.init 
(GIOPConnection.java:129)
at org.apache.yoko.orb.OB.GIOPConnectionThreaded.init 
(GIOPConnectionThreaded.java:312)
at  
org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun 
(GIOPServerStarterThreaded.java:243)
at org.apache.yoko.orb.OB.GIOPServerStarterThreaded 
$StarterThread.run(GIOPServerStarterThreaded.java:34)






A presentation on Java EE 5.0 App Development on Geronimo 2.0 simplified using Eclipse + WTP 2.0

2007-09-07 Thread Shiva Kumar H R
Just in case someone is interested in doing Java EE 5 app development using
Eclipse + WTP and looking for some instructions, here is some:
http://cwiki.apache.org/confluence/display/GMOxSBOX/Java+EE+5.0+App+Development+on+Geronimo+simplified+using+Eclipse

Hernan,
Request you to move this page to a more appropriate location.

- Shiva


Re: A presentation on Java EE 5.0 App Development on Geronimo 2.0 simplified using Eclipse + WTP 2.0

2007-09-07 Thread Shiva Kumar H R
Wow, that's really quick. Thanks Hernan!

- Shiva

On 9/7/07, Hernan Cunico [EMAIL PROTECTED] wrote:

 You wanted a new location, you got it ;-)

 There is a new section on the cwiki for presentations (
 http://cwiki.apache.org/geronimo)

 Shiva, here is the direct link to your material


 http://cwiki.apache.org/geronimo/java-ee-50-app-development-on-geronimo-simplified-using-eclipse.html


 I'll be trying to consolidate all the available presentations here. Folks,
 if you are presenting at conferences it would be great you upload your
 material here too so we'll have a sort of repository for all the
 presentations and additional materials.

 Cheers!
 Hernan

 Shiva Kumar H R wrote:
  Just in case someone is interested in doing Java EE 5 app development
  using Eclipse + WTP and looking for some instructions, here is some:
 
 http://cwiki.apache.org/confluence/display/GMOxSBOX/Java+EE+5.0+App+Development+on+Geronimo+simplified+using+Eclipse
 
  Hernan,
  Request you to move this page to a more appropriate location.
 
  - Shiva



Re: Error when J2EE Client App on G2.0.1 terminates

2007-09-07 Thread David Carew
Yep. That was it. Thanks !

On 9/7/07, David Jencks [EMAIL PROTECTED] wrote:

 I wonder if you are including -Djava.endorsed.dirs=lib/endorsed in
 the command line to start the app client?  I'd expect the client
 wouldn't start without this, but I have no other explanation for this
 error.

 thanks
 david jencks

 On Sep 7, 2007, at 9:04 AM, David Carew wrote:

  When I run a J2EE Client app on G 2.0.1 the client runs but after
  it exits it's main method I get the following error from the client
  container.  Has anyone seen this and/or knows how to fix it ? TIA
 
  10:57:15,119 ERROR [GBeanInstance] Problem in doStop of
  org.apache.geronimo.configs/client-corba-yoko/2.0.1/car?
  ServiceModule=org.apache.geronimo.configs/client-corba-yoko/2.0.1/
  car,j2eeType=CORBABean,name=Server
  java.lang.NoSuchMethodError:
  org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_c
  hanged (Ljava/lang/String;S)V
  at
  org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange
  (PIManager.java:532)
  at
  org.apache.yoko.orb.OBPortableServer.POAManager_impl.deactivate
  (POAManager_impl.java:360)
  at
  org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deacti
  vate(POAManagerFactory_impl.java:342)
  at org.apache.yoko.orb.OB.ORBControl.completeServerShutdown
  (ORBControl.java:100)
  at org.apache.yoko.orb.OB.ORBControl.shutdownServer
  (ORBControl.java:427)
  at org.apache.yoko.orb.OB.ORBControl.shutdownServerClient
  (ORBControl.java:455)
  at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy
  (ORB_impl.java:1390)
  at org.apache.geronimo.corba.CORBABean.doStop
  (CORBABean.java:260)
  at
  org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance
  (GBeanInstance.java:1159)
  at
  org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop (
  GBeanInstanceState.java:339)
  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop
  (GBeanInstanceState.java:188)
  at org.apache.geronimo.gbean.runtime.GBeanInstance.stop
  (GBeanInstance.java:561)
  at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean
  (BasicKernel.java:423)
  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop
  (GBeanInstanceState.java:180)
  at org.apache.geronimo.gbean.runtime.GBeanInstance.stop
  (GBeanInstance.java:561)
  at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean
  (BasicKernel.java:423)
  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop
  (GBeanInstanceState.java:180)
  at org.apache.geronimo.gbean.runtime.GBeanInstance.stop
  (GBeanInstance.java:561)
  at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean
  (BasicKernel.java:423)
  at
  org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop
  (GBeanInstanceState.java:180)
  at org.apache.geronimo.gbean.runtime.GBeanInstance.stop
  (GBeanInstance.java:561)
  at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean
  (BasicKernel.java:423)
  at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop
  (GBeanInstanceState.java:180)
  at org.apache.geronimo.gbean.runtime.GBeanInstance.stop
  (GBeanInstance.java:561)
  at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean
  (BasicKernel.java:423)
  at
  org.apache.geronimo.kernel.config.KernelConfigurationManager
  $ShutdownHook.run(KernelConfigurationManager.java:316)
  at
  org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks
  (BasicKernel.java:668)
  at org.apache.geronimo.kernel.basic.BasicKernel.shutdown
  (BasicKernel.java:645)
  at
  org.apache.geronimo.kernel.util.MainConfigurationBootstrapper$1.run
  (MainConfigurationBootstrapper.java :76)
  Exception in thread Yoko:Server:StarterThread
  java.lang.NoClassDefFoundError: org/apache/yoko/orb/OB/MessageQueue
  at org.apache.yoko.orb.OB.GIOPConnection.init
  (GIOPConnection.java:129)
  at org.apache.yoko.orb.OB.GIOPConnectionThreaded.init
  (GIOPConnectionThreaded.java:312)
  at
  org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun
  (GIOPServerStarterThreaded.java:243)
  at org.apache.yoko.orb.OB.GIOPServerStarterThreaded
  $StarterThread.run(GIOPServerStarterThreaded.java:34)
 




G2.0.1 @Stateless and @Stateful name parameter ignored?

2007-09-07 Thread Xh
Hi All!

I've encountered a strange thing.
I've noticed that all @State*(name=Name) definitions are ignored by Geronimo 
2.0.1.
Application deploys successfully, but in JNDI Viewer there are no session beans.

Simple:

@Stateless(name = ModuleProxy)
public class ModuleProxyBean implements ModuleProxy {
...
}

doesn't not work, but this:

@Stateless
 public class ModuleProxyBean implements ModuleProxy {
 ...
 }

works.

After removing name definition and redeploying application I can see in JNDI 
Viewer my bean.
Also, I can look it up in JNDI with this string (note the full class name 
ModuleProxyBean):
DataWeaver2EnterpriseProxyModule.jar/ModuleProxyBean/org.xh.dataweaver.interfaces.ejb.ModuleProxy

Has somebody else experienced this? Is it normal Geronimo behaviour?

best regards
Łukasz







___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com


Re: G2.0.1 @Stateless and @Stateful name parameter ignored?

2007-09-07 Thread David Blevins


On Sep 7, 2007, at 1:14 PM, Xh wrote:


Hi All!

I've encountered a strange thing.
I've noticed that all @State*(name=Name) definitions are ignored  
by Geronimo 2.0.1.
Application deploys successfully, but in JNDI Viewer there are no  
session beans.


Simple:

@Stateless(name = ModuleProxy)
public class ModuleProxyBean implements ModuleProxy {
...
}

doesn't not work, but this:

@Stateless
 public class ModuleProxyBean implements ModuleProxy {
 ...
 }

works.

After removing name definition and redeploying application I can  
see in JNDI Viewer my bean.
Also, I can look it up in JNDI with this string (note the full  
class name ModuleProxyBean):
DataWeaver2EnterpriseProxyModule.jar/ModuleProxyBean/ 
org.xh.dataweaver.interfaces.ejb.ModuleProxy


Has somebody else experienced this? Is it normal Geronimo behaviour?



The 'name' attribute of @Stateless, @Stateful, and @MessageDriven is  
definitely used in the code and tested for.  Maybe there's another  
issue going on.  When you say there are no session beans in the JNDI  
Viewer, that would seem to imply a different issue such as the bean  
not getting deployed at all.



-David



SSL Key Management

2007-09-07 Thread Wayne Rasmuss

I need to manage SSL certificates from java application the controls an
instance of geronimo. If I have to use Process.exec to do so that would be
fine. I need to peform the following tasks

Install A certificate
Generate a self signed certificate with a given host name
And generate a certificate request

I've been able to do this with the web console, and I've been able to do it
in tomcat with keytool before. I've found instructions on this formum to do
it, but I've never gotten it to work with geronimo. I looked at the source
code for the web console but I don't know anything about portlets so I
didn't get anywhere.

Does anyone know how to manage ssl certificates programatically?

As a side note, can anyone recommend a consultant that can help me answer
these questions in the future?

Thanks
Wayne Rasmuss
Popstar Networks
-- 
View this message in context: 
http://www.nabble.com/SSL-Key-Management-tf4404649s134.html#a12565969
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: G2.0.1 @Stateless and @Stateful name parameter ignored?

2007-09-07 Thread Xh
Hi David!

There were no errors during deployment.
Application deploys and starts. Bean does not work.

Without name attribute, everything is OK.

best regards
Łukasz

- Original Message 
From: David Blevins [EMAIL PROTECTED]
To: user@geronimo.apache.org
Sent: Saturday, 8 September, 2007 12:44:42 AM
Subject: Re: G2.0.1 @Stateless and @Stateful name parameter ignored?


On Sep 7, 2007, at 1:14 PM, Xh wrote:

 Hi All!

 I've encountered a strange thing.
 I've noticed that all @State*(name=Name) definitions are ignored  
 by Geronimo 2.0.1.
 Application deploys successfully, but in JNDI Viewer there are no  
 session beans.

 Simple:

 @Stateless(name = ModuleProxy)
 public class ModuleProxyBean implements ModuleProxy {
 ...
 }

 doesn't not work, but this:

 @Stateless
  public class ModuleProxyBean implements ModuleProxy {
  ...
  }

 works.

 After removing name definition and redeploying application I can  
 see in JNDI Viewer my bean.
 Also, I can look it up in JNDI with this string (note the full  
 class name ModuleProxyBean):
 DataWeaver2EnterpriseProxyModule.jar/ModuleProxyBean/ 
 org.xh.dataweaver.interfaces.ejb.ModuleProxy

 Has somebody else experienced this? Is it normal Geronimo behaviour?


The 'name' attribute of @Stateless, @Stateful, and @MessageDriven is  
definitely used in the code and tested for.  Maybe there's another  
issue going on.  When you say there are no session beans in the JNDI  
Viewer, that would seem to imply a different issue such as the bean  
not getting deployed at all.


-David









___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com