my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web." Watch "Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web." New topic
Author

Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web.

Hema Raman
Greenhorn

Joined: Jul 07, 2004
Posts: 2
Pls treat this urgent.I have my ejb-jar.xml and jboss.xml in the META-INF folder of ejb module.I am trying to migrate an application from WSAD to Jboss 3.2.3.Is it required to change anything in the web.xml of the application ..Pls treat this as urgent and get back to me

16:02:27,375 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.3/server/
default/deploy/CRM24X7/META-INF/ibm-application-ext.xmi
16:02:27,375 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@712efcef { url=file:/D:/jboss-3.2.3/server/
default/deploy/CRM24X7/META-INF/application.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/jboss-3.2.3/server/default/deploy/CRM24X7/META-INF/application
.xml
lastDeployed: 1089196347359
lastModified: 1089196348000
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@712efcef { url=file:/D:/jboss-3.2.3/server/
default/deploy/CRM24X7/META-INF/application.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/D:/jboss-3.2.3/server/default/deploy/CRM24X7/META-INF/application
.xml
lastDeployed: 1089196347359
lastModified: 1089196348000
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
<none>

16:02:42,500 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.3/server/default/deploy/CRM24X7/CRM24X7Web.war/
16:02:42,671 INFO [EmbeddedTomcatService] deploy, ctxPath=/CRM24X7Web, warUrl=f
ile:/D:/jboss-3.2.3/server/default/deploy/CRM24X7/CRM24X7Web.war/
16:02:43,000 WARN [EjbUtil] DeploymentInfo org.jboss.deployment.DeploymentInfo@
29a2002e { url=file:/D:/jboss-3.2.3/server/default/deploy/CRM24X7/CRM24X7EJB.jar
/ }
deployer: org.jboss.deployment.JARDeployer@27e353
status: Deployed
state: STARTED
watch: file:/D:/jboss-3.2.3/server/default/deploy/CRM24X7/CRM24X7EJB.jar/
lastDeployed: 1089196347343
lastModified: 1089196348000
mbeans:
is not an EJB .jar file!
16:02:43,015 ERROR [MainDeployer] could not start deployment: file:/D:/jboss-3.2
.3/server/default/deploy/CRM24X7/CRM24X7Web.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl
e: (javax.naming.NamingException: ejb-ref: ejb/LoginFacade, no ejb-link in web.x
ml and no jndi-name in jboss-web.xml)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:44
0)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
Caused by: javax.naming.NamingException: ejb-ref: ejb/LoginFacade, no ejb-link i
n web.xml and no jndi-name in jboss-web.xml
at org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.j
ava:711)
at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWeb
Container.java:595)
at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescri
ptors(AbstractWebContainer.java:1051)
at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.initENC(EmbeddedTomcat
Service.java:579)
at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(Embed
dedTomcatService.java:542)
at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(Embedded
TomcatService.java:309)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:42
8)
... 15 more
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to deploy in jboss-Error no ejb-link in web.xml and no jndi-name in jboss-web.
 
Similar Threads
http:// localhost:8080 /web-console
xpetstore deployment in JBoss 3.2.3
not getting jmx console
Problem deploying with JBoss
problems deploying with jboss