From: sohini s. <rum...@ho...> - 2002-05-31 17:58:00
|
After making the jar file having the following: ************* C:\ejb\example1>jar tvf Clock.jar 0 Fri May 31 10:31:52 PDT 2002 META-INF/ 68 Fri May 31 10:31:52 PDT 2002 META-INF/MANIFEST.MF 560 Fri May 31 10:30:26 PDT 2002 META-INF/ejb-jar.xml 223 Fri May 31 10:26:54 PDT 2002 META-INF/jboss.xml 0 Wed May 29 23:02:08 PDT 2002 cis234j/ 0 Wed May 29 23:02:20 PDT 2002 cis234j/ejb/ 0 Wed May 29 23:02:34 PDT 2002 cis234j/ejb/examples/ 231 Thu May 30 22:06:50 PDT 2002 cis234j/ejb/examples/Clock.class 281 Thu May 30 22:07:12 PDT 2002 cis234j/ejb/examples/ClockHome.class 1158 Thu May 30 22:07:24 PDT 2002 cis234j/ejb/examples/ClockBean.class ******************************* my ejb-jar being *********************** <?xml version="1.0" encoding="UTF-8"?> <ejb-jar> <description>Test Clock EJB</description> <display-name>Clock EJB</display-name> <enterprise-beans> <session> <ejb-name>ClockEJB</ejb-name> <home>cis234j.ejb.examles.ClockHome</home> <remote>cis234j.ejb.examples.Clock</remote> <ejb-class>cis234j.ejb.examples.ClockBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> </session> </enterprise-beans> </ejb-jar> ******************* and jboss.xml ******************* <?xml version="1.0" encoding="UTF-8"?> <jboss> <enterprise-beans> <session> <ejb-name>ClockEJB</ejb-name> <jndi-name>cis234j Clock bean</jndi-name> </session> </enterprise-beans> </jboss> ******************* I am getting the following error from jboss when I try to put Clock.jar in the deploy folder. Where am i goimg wrong? Rumni. ******************** [INFO,J2eeDeployer] Module Clock.jar is not running [INFO,J2eeDeployer] Destroying application Clock.jar [ERROR,AutoDeployer] DeploymentInfo failed:file:/C:/JBoss-2.4.4/deploy/Clock.jar org.jboss.deployment.J2eeDeploymentException: Error while starting Clock.jar: nu ll, Cause: java.lang.NullPointerException at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:530) at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java: 459) at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16 28) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15 23) at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395) at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233) at java.lang.Thread.run(Unknown Source) ********************** _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |