I'm new to both J2EE and JBoss.  I'm using:

 JBoss 4.0
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode
RedHat Fedora RC2 Linux

I'm trying to get Duke's Bank to work.

There are no compilation errors or warnings.  The database stuff seems to have 
worked fine. Everything works exactly as documented until I try to deploy at 
which point I get the following:

00:26:08,806 INFO  [EARDeployer] Init J2EE application: 
file:/opt/jboss-4.0.0/server/default/deploy/DukesBankApp.ear
  | 00:26:10,621 INFO  [EjbModule] Deploying CustomerBean
  | 00:26:11,020 INFO  [EjbModule] Deploying AccountBean
  | 00:26:11,127 INFO  [EjbModule] Deploying TxBean
  | 00:26:11,257 INFO  [EjbModule] Deploying AccountControllerBean
  | 00:26:11,472 INFO  [EjbModule] Deploying CustomerControllerBean
  | 00:26:11,571 INFO  [EjbModule] Deploying TxControllerBean
  | 00:26:12,403 WARN  [NestedThrowable] Duplicate throwable nesting of same 
base type: class org.jboss.deployment.DeploymentException is assignable from: 
class org.jboss.deployment.DeploymentException
  | 00:26:12,407 ERROR [MainDeployer] could not start deployment: 
file:/opt/jboss-4.0.0/server/default/tmp/deploy/tmp43459DukesBankApp.ear-contents/DukesBankACJAR.jar
  | org.jboss.deployment.DeploymentException: Failed to setup client ENC; - 
nested throwable: (org.jboss.deployment.DeploymentException: ejb-ref 
ejb/accountController, expected either ejb-link in ejb-jar.xml or jndi-name in 
jboss.xml)
  |         at 
org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:150)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  |         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy8.deploy(Unknown Source)
  |         at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
  |         at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
  | Caused by: org.jboss.deployment.DeploymentException: ejb-ref 
ejb/accountController, expected either ejb-link in ejb-jar.xml or jndi-name in 
jboss.xml
  |         at 
org.jboss.deployment.ClientDeployer.setupEnvironment(ClientDeployer.java:236)
  |         at 
org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:146)
  |         ... 22 more


I have tried with both Sun's J2EE 1.4 Tutorial Update 2 and 3 with the same 
results.  

As I said I'm very new to this so please use small words. 

Thanks in advance,

Matt Galloway
Tulsa, OK 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856044


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to