[JBoss-user] [EJB/JBoss] - SOLUTION TO: Invalid invocation calling ejb from war in JBos

2004-08-23 Thread javierpaniza
Hi, I found a solution myself, a good solution for the problem. Simply put the jar jboss-client.jar in WEB-INF/lib of the war, and everything works. This is not necessary in jboss3.2.2, but is it in jboss3.2.4 and 3.2.5 Javier Paniza View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [EJB/JBoss] - Re: Invalid invocation calling ejb from war in JBoss 3.2.4

2004-07-29 Thread javierpaniza
Hi Alexey, I think that the problem is about classloader, but i don't know the solution. If put my ear in one directory within deploy, and I put my war inside ear directory, and I configure jboss-service.xml for tomcat as this: | false | true | And the appliction run fine. B

[JBoss-user] [EJB/JBoss] - Re: Invalid invocation calling ejb from war in JBoss 3.2.4

2004-07-28 Thread javierpaniza
Hi Alexey, yes the Mapping create is here, look: 2004-07-29 08:37:33,416 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jndiName=XavaPruebas/ejb/xava/pruebas/EntidadTab,service=EJB 2004-07-29 08:37:33,416 DEBUG [org.jboss.system.ServiceController] adding depends in Servi

[JBoss-user] [EJB/JBoss] - Re: Invalid invocation calling ejb from war in JBoss 3.2.4

2004-07-26 Thread javierpaniza
Hi Alexey, I put in log4j.xml and the trace is the same, and ant the trace is the same too. The EntidadTabRemote extends javax.ejb.EJBObject. The JVM is a JRockit 1.4.2_04 from BEA. 32 bits for linux. Maybe a classloader problem? The same .war and .ear run fine

[JBoss-user] [EJB/JBoss] - Re: Invalid invocation calling ejb from war in JBoss 3.2.4

2004-07-25 Thread javierpaniza
Hi Alexey, yes, I have a ejbCreate. In my home interface I have; EntidadTabRemote create() throws javax.ejb.CreateException, java.rmi.RemoteException; and, in my bean class I have: public void ejbCreate() throws CreateException { } But this code run well from 1999 in WebSphere, Jonas and JBoss

[JBoss-user] [EJB/JBoss] - Invalid invocation calling ejb from war in JBoss 3.2.4

2004-07-23 Thread javierpaniza
Hi, we are using jboss3.2.2 and we want migrate to jboss3.2.4. But the code that run perfect in jboss3.2.2 not run in 3.2.4. The problem is when from jsp or servlet I try to call a method from a ejb; then throw: avax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=