1 Reply Latest reply on Feb 19, 2002 1:27 PM by brian

    JBoss 3.0: Error deploying application

    brady Newbie

      I use jboss3.0 to deply a test seesion bean,i get a error info,any one can help me?i am new in jboss.
      thanks.
      ejb-jar.xml

      ?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
      <ejb-jar>
      <enterprise-beans>

      <ejb-name>test</ejb-name>
      test.testHome
      test.testRemote
      <ejb-class>test.test</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>
      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>


      javax.naming.NameNotFoundException: test not bound
      [15:46:05,064,Default] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
      [15:46:05,064,Default] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      [15:46:05,065,Default] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      [15:46:05,065,Default] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [15:46:05,066,Default] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      [15:46:05,066,Default] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      [15:46:05,067,Default] at javax.naming.InitialContext.lookup(InitialContext.java:350)
      [15:46:05,068,Default] at test.testTestClient1.(testTestClient1.java:35)
      [15:46:05,068,Default] at test.test.(test.java:16)
      [15:46:05,069,Default] at java.lang.Class.newInstance0(Native Method)
      [15:46:05,069,Default] at java.lang.Class.newInstance(Class.java:237)
      [15:46:05,070,Default] at org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(AbstractVerifier.java:369)
      [15:46:05,071,Default] at org.jboss.verifier.strategy.EJBVerifier11.verifySessionBean(EJBVerifier11.java:630)
      [15:46:05,071,Default] at org.jboss.verifier.strategy.EJBVerifier11.checkSession(EJBVerifier11.java:93)
      [15:46:05,072,Default] at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:137)
      [15:46:05,072,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:450)
      [15:46:05,073,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:377)
      [15:46:05,074,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:308)
      [15:46:05,074,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:46:05,075,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:46:05,075,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:46:05,076,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)
      [15:46:05,077,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
      [15:46:05,077,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
      [15:46:05,078,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:46:05,078,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:46:05,079,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:46:05,080,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      [15:46:05,080,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      [15:46:05,081,Default] at java.lang.Thread.run(Thread.java:484)
      [15:46:05,219,ContainerFactory] Deploying test