geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axiez <lesai...@gmail.com>
Subject Re: ejb client
Date Tue, 30 Dec 2008 10:03:29 GMT

I checked the contents of jar file. The class files are in a subdirectory and
since there was no package statement, it didn't recognize I guess. I
repackaged and deployed again this time without subdirectory. Log entries
are:
15:26:51,218 INFO  [config] Configuring Service(id=Default Stateless
Container, type=Container, provider-id=Default Stateless Container)
15:26:51,250 INFO  [config] Configuring Service(id=Default Stateful
Container, type=Container, provider-id=Default Stateful Container)
15:26:51,250 INFO  [config] Configuring Service(id=Default BMP Container,
type=Container, provider-id=Default BMP Container)
15:26:51,250 INFO  [config] Configuring Service(id=Default CMP Container,
type=Container, provider-id=Default CMP Container)
15:26:51,250 INFO  [config] Configuring app:
default/Shopping/1230631009812/jar
15:26:52,484 INFO  [OpenEJB] Auto-deploying ejb ShoppingCartBean:
EjbDeployment(deployment-id=Shopping/ShoppingCartBean)
15:26:52,531 WARN  [validation] WARN ... ShoppingCartBean:	Ignoring @Remove
used on interface ShoppingCart method checkout.  Annotation only usable on
the bean class.
15:26:52,562 INFO  [config] Loaded Module:
default/Shopping/1230631009812/jar
15:26:56,343 INFO  [startup] Assembling app:
D:\g\geronimo-tomcat6-javaee5-2.1.3\var\temp\geronimo-deployer65067.tmpdir\Shopping.jar
15:26:56,437 INFO  [startup] Jndi(name=ShoppingCartBeanRemote) -->
Ejb(deployment-id=Shopping/ShoppingCartBean)
15:26:56,453 INFO  [startup] Created
Ejb(deployment-id=Shopping/ShoppingCartBean, ejb-name=ShoppingCartBean,
container=Default Stateful Container)
15:26:56,453 INFO  [startup] Deployed
Application(path=D:\g\geronimo-tomcat6-javaee5-2.1.3\var\temp\geronimo-deployer65067.tmpdir\Shopping.jar)


Shawn Jiang wrote:
> 
> The log below is from log when deploying a simple hello world EJB.  Seems
> your EJB does not get recognized.  Have you ever deployed a helloworld EJB
> before this shopping EJB ?   Can you send your src and exported jar
> as attachment for further diagnose ?
> 
> --------------------------------------------
> 2008-12-30 15:37:42,323 INFO  [config] Configuring Service(id=Default
> Stateless Container, type=Container, provider-id=Default Stateless
> Container)
> 2008-12-30 15:37:42,323 INFO  [config] Configuring Service(id=Default
> Stateful Container, type=Container, provider-id=Default Stateful
> Container)
> 2008-12-30 15:37:42,323 INFO  [config] Configuring Service(id=Default BMP
> Container, type=Container, provider-id=Default BMP Container)
> 2008-12-30 15:37:42,323 INFO  [config] Configuring Service(id=Default CMP
> Container, type=Container, provider-id=Default CMP Container)
> 2008-12-30 15:37:42,323 INFO  [config] Configuring app:
> default/simpleEJB/1230622661698/jar
> 
> 2008-12-30 15:37:42,542 INFO  [OpenEJB] Auto-deploying ejb HelloEJB:
> EjbDeployment(deployment-id=simpleEJB/HelloEJB)
> 2008-12-30 15:37:42,542 INFO  [OpenEJB] Auto-deploying ejb
> HelloStatefulEJB:
> EjbDeployment(deployment-id=simpleEJB/HelloStatefulEJB)
> 
> 2008-12-30 15:37:42,573 INFO  [config] Loaded Module:
> default/simpleEJB/1230622661698/jar
> 2008-12-30 15:37:43,792 INFO  [startup] Assembling app:
> Y:\geronimo-tomcat6-javaee5-2.1.3\var\temp\geronimo-deployer52890.tmpdir\simpleEJB.jar
> 
> 2008-12-30 15:37:43,807 INFO  [startup] Jndi(name=HelloEJBLocal) -->
> Ejb(deployment-id=simpleEJB/HelloEJB)
> 2008-12-30 15:37:43,807 INFO  [startup] Jndi(name=HelloEJBRemote) -->
> Ejb(deployment-id=simpleEJB/HelloEJB)
> 2008-12-30 15:37:43,807 INFO  [startup] Jndi(name=HelloStatefulEJBRemote)
> --> Ejb(deployment-id=simpleEJB/HelloStatefulEJB)
> 2008-12-30 15:37:43,807 INFO  [startup] Created
> Ejb(deployment-id=simpleEJB/HelloEJB, ejb-name=HelloEJB, container=Default
> Stateless Container)
> 2008-12-30 15:37:43,807 INFO  [startup] Created
> Ejb(deployment-id=simpleEJB/HelloStatefulEJB, ejb-name=HelloStatefulEJB,
> container=Default Stateful Container)
> 
> 2008-12-30 15:37:43,807 INFO  [startup] Deployed
> Application(path=Y:\geronimo-tomcat6-javaee5-2.1.3\var\temp\geronimo-deployer52890.tmpdir\simpleEJB.jar)
> 
> 

-- 
View this message in context: http://www.nabble.com/ejb-client-tp21193112s134p21215132.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message