[jboss-user] [Beginners Corner] - ejb deployment in jboss4
seemap
do-not-reply at jboss.com
Wed Jul 19 00:58:59 EDT 2006
I am learning EJB from one of the book and got stuck on the deployment of first EJB . It is stateful Session Bean
the jboss.xml is
<?xml version="1.0" encoding = UTF-8" ?>
|
| <jboss>
|
| <enterprise-beans>
| <session>
| <ejb-name>SignOnEJB</ejb-name>
| <jndi-name>day05/SignOnHome</jndi-name>
| </session>
| </enterprise-beans>
|
| </jboss>
ejb-jar.xml is
<?xml version="1.0" encoding="UTF-8"?>
|
| <!DOCTYPE ejb-jar
| PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise Javabeans 2.0//EN"
| "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
| <ejb-jar>
| <enterprise-beans>
| <session>
| <ejb-name>SignOnEJB</ejb-name>
| <home>day05.SignOnHome</home>
| <remote>day05.SignOn</remote>
| <ejb-class>day05.SignOnEJB</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| <env-entry>
| <env-entry-name>student</env-entry-name>
| <env-entry-type>java.lang.String</env-entry-type>
| <env-entry-value>password</env-entry-value>
| </env-entry>
| <env-entry>
| <env-entry-name>student1</env-entry-name>
| <env-entry-type>java.lang.String</env-entry-type>
| <env-entry-value>password1</env-entry-value>
| </env-entry>
| </session>
|
| </enterprise-beans>
|
| </ejb-jar>
This book is using Jboss 3 and I am using JBoss 4.0.4
when I deploy my ejb jar file (day05-signon.jar) which is having all class file and Meta-INf
I got error message
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/day05_Signon.jar }
deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
status: null
state: FAILED
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon.
jar
altDD: null
lastDeployed: 1153249201578
lastModified: 1153249201546
mbeans:
org.jboss.deployment.DeploymentInfo at 592997e2 { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/META-INF/ejb-jar.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/ejb-
jar.xml
altDD: null
lastDeployed: 1153249202656
lastModified: 1153249202656
mbeans:
org.jboss.deployment.DeploymentInfo at 2070e0ce { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/META-INF/jboss.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/jbos
s.xml
altDD: null
lastDeployed: 1153249202656
lastModified: 1153249202656
mbeans:
12:00:03,031 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
12:00:03,265 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:00:03,390 INFO [JkMain] Jk running ID=0 time=0/172 config=null
12:00:03,406 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
Pls help .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959005#3959005
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959005
More information about the jboss-user
mailing list