• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Probelm while deploying war and jar files

Ahamed Sharief
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to deploy .war and .jar files using JBoss.

My scenario is from jsp page just a user send the name and password to the servlet, then the servelet stores the user details using ejb reference link to Mysql database.

Following below is the error getting from JBoss.

Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@b13eb254 { url=file:/C:/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/customerweb.war/ }
deployer: org.jboss.web.catalina.EmbeddedCatalinaService41@1858aa0
status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: CustomerService, no ejb-link match, use jndi-name in jboss-web.xml)
state: FAILED
watch: file:/C:/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/customerweb.wa
lastDeployed: 1093537840468
lastModified: 1093534822312
]MBeans waiting for classes:
MBeans waiting for other MBeans:

How can I deploy both jar and war file, because I make jar file for EJB, but for war just i creatd directory like .war extension in jboss deploy directory then i created a directory structure like jsp pages, web-inf directory then inside web-inf servlet class files and web.xml and jboss-web.xml.

Could any tell me what would be the best way to deploy both jar and war fils using jboss, and please give me the link any practical tutorials in that topic.


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic