geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasan Ceylan <hcey...@ytg.com.tr>
Subject Re: EJB3 deployment problem
Date Wed, 14 Mar 2007 18:39:07 GMT
I tried to track down the deployment.
When deployed, openejb deployer does get called and it does locate the 
EJB bean annotated as @Stateful.

I will try to locate the parts that registers the bean with JNDI.

Open I am on the right track....

Hasan Ceylan

Hasan Ceylan wrote:
> Hello Jacek,
> 
> Thank you very much for prompt interest for the issue.
> 
> - I have got the code from this page
> http://incubator.apache.org/openejb/embedded-and-remotable.html
> 
> - I compiled the code using maven
> - Deployed using the deploy tool in Geronimo console.
> - Modified the testTalkOverLocalNetwork method of the unit test as follows:
> 
>        Properties properties = new Properties();
>        properties.put("java.naming.factory.initial", 
> "org.openejb.client.RemoteInitialContextFactory");
>        properties.put("java.naming.provider.url", "jnp://localhost:4201");
>        properties.put("java.naming.security.principal", "myuser");
>        properties.put("java.naming.security.credentials", "mypass");
> 
> 
> - unit test reports JNDI error.
> Also I can see the deployment under JNDI view as EJB3 module but with no 
> EJB bean under it...
> 
> Regards,
> Hasan Ceylan
> Jacek Laskowski wrote:
>> On 3/11/07, Hasan Ceylan 
>> <hceylan@ytg.com.tr> wrote:
>>
>>> I am trying to deploy telephone stateful bean to geronimo 2.0M3 and JNDI
>>> shows no trace of the bean.
>>>
>>> I build the example using maven and deploy using the geronimo console.
>>>
>>> I also tried to debug openejb deployer and it seems that openejb
>>> deployer is never called.
>>> Do I have to have a deployment descriptor for the project?
>>
>> Hi Hasan,
>>
>> I'd be glad helping out, but need some more information before getting
>> on. Could you point me to the telephone stateful bean you're using and
>> what steps you performed to deploy it to Geronimo?
>>
>> Jacek
>>
> 
> 


Mime
View raw message