[JBoss-user] [EJB/JBoss] - Re: when i deploy an ejb with jboss4.0.4,those exceptions oc

2006-04-04 Thread anshah1
I get a similiar message, and i have an ejbCreate method in my bean. 

I am using Message Driven Bean here along with XDoclet. But it seems no matter 
what i do I always get that exception.

Here's a snapshot of my bean

  | /**
  |  * @ejb.bean name=NCBIMessageDrivenBean
  |  *  destination-type=javax.jms.Queue
  |  *
  |  * @jboss.destination-jndi-name name=queue/NCBIQueue
  |  */
  | public class NCBIMessageDrivenBean implements MessageDrivenBean, 
MessageListener {
  | 
  |  /**
  |   * @ejb.create-method
  |   */
  |   public void ejbCreate() throws javax.ejb.CreateException {
  | 
  |   }
  | 

My guess is Xdoclet is screwing up somewhere but I am not sure where. Since 
XDoclet generally just generates the supporting JAVA and XML files. This seems 
to be more like a deployment issue with JBOSS. 

Any clues on how to proceed debugging this ??

Thanks
anuj


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3934901#3934901

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934901


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: when i deploy an ejb with jboss4.0.4,those exceptions oc

2006-04-04 Thread anshah1
It's interesting that I am the only one replying to my own posts. But 
nevertheless this might help someone along the line who runs into this.

I solved the problem by simply removing the throws clause from both ejbCreate 
and ejbRemove methods. 

At least the bean deployed just fine.

-Anuj


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3934911#3934911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934911


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: when i deploy an ejb with jboss4.0.4,those exceptions oc

2006-04-04 Thread anshah1
Sorry, wrong post. i don't get a warning, in fact I get an error from JBOSS
saying

Bean   : NCBIMessageDrivenBean
  | Method : public void ejbCreate() throws CreateException
  | Section: 15.7.3
  | Warning: The ejbCreate() method must define no application exceptions.
  | 
  | 12:08:54,724 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp23571brm.ear-contents/brm-server.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3934903#3934903

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934903


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: when i deploy an ejb with jboss4.0.4,those exceptions oc

2006-03-22 Thread tterm
Hello,

It would be good if you would have an ejbCreate() method in your SB.

That is the first message from the exception! 

Thomas

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931802#3931802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931802


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user