Hi, i'm developing a ejb3 app with a session bean, a remote interface and a 
stand alone client.
I use Netbeans 5.5 with jboss4.0.4 bundled and my ear package is succesfully 
builded and deployed.
But when I put the .ear package in another Jboss4.0.4 server (with all 
configuration), only the client 
is deployed:

10:41:44,899 INFO  [EARDeployer] Init J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/jboss-4.0.4.GA-clustered/server/all/deploy/AddressBook.ear
  | 10:41:44,996 INFO  [ClientDeployer] Client ENC bound under: 
AddressBook-app-client
  | 10:41:45,161 INFO  [EARDeployer] Started J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/jboss-4.0.4.GA-clustered/server/all/deploy/AddressBook.ear
  | 
Instead of:

  | [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 12:32:36,588 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=AddressBook.ear,jar=AddressBook-ejb.jar,name=SessionBean,service=EJB3
 with dependencies:
  | 12:32:36,588 INFO  [JmxKernelAbstraction]   
persistence.units:ear=AddressBook.ear,jar=AddressBook-ejb.jar,unitName=AddressBook-ejbPU
  | 12:32:36,672 INFO  [EJBContainer] STARTED EJB: ejb.SessionBean ejbName: 
SessionBean
  | 12:32:36,699 INFO  [EJB3Deployer] Deployed: 
file:/home/giulio/Informatica/Sistemi_Middleware/JBoss-4.0.4.GA/server/default/tmp/deploy/tmp30870AddressBook.ear-contents/AddressBook-ejb.jar
  | 12:32:36,790 INFO  [EARDeployer] Started J2EE application: 
file:/home/giulio/Informatica/Sistemi_Middleware/JBoss-4.0.4.GA/server/default/deploy/AddressBook.ear
  | 
The application can't bound the remote interface, as I can see from JNDIView 
list():

+- AddressBook-app-client (class: org.jnp.interfaces.NamingContext)
  | 
Instead of:

+- AddressBook (class: org.jnp.interfaces.NamingContext)
  | |   +- SessionBean (class: org.jnp.interfaces.NamingContext)
  | |   |   +- remote (proxy: $Proxy73 implements interface 
ejb.SessionRemote,interface org.jboss.ejb3.JBossProxy,interface 
javax.ejb.EJBObject)
  | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
  | +- AddressBook-app-client (class: org.jnp.interfaces.NamingContext)
  | 
Why this happens?
Please help me! 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163534#4163534

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163534
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to