1 Reply Latest reply on Feb 17, 2002 6:53 AM by Marius Kotsbak

    I got a problem to deploy a bean in JBOSS 3

    billhuangyu Newbie

      I currently work on Enterprise Java Bean, I try to use both Sun J2EE 1.3 and JBoss to learn Enterprise Java Bean. Many Books that talks about EJB are based on Sun J2EE 1.3. Everything I did with J2EE 1.3 can be run smoothly. I try to put the already J2EE 1.3 compiled .ear package into the jboss deploy folder, it said that the package has been deployed successful, but when I compile the client java program, the compiler alway display the error message as below:

      F:\JBuilder6\jdk1.3.1\bin\javaw -classpath "F:\Documents and Settings\Administrator.BILL.000\jbproject\Client\classes;F:\jboss3\client\jaas.jar;F:\jboss3\client\jboss-client.jar;F:\jboss3\client\jbosssx-client.jar;F:\jboss3\client\jnp-client.jar;F:\jboss3\client\jboss-j2ee.jar;F:\FinalProject\SimpleBean\SimpleBeanClient.jar;F:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java2Demo.jar;F:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;F:\JBuilder6\jdk1.3.1\jre\lib\jaws.jar;F:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;F:\JBuilder6\jdk1.3.1\jre\lib\sunrsasign.jar;F:\JBuilder6\jdk1.3.1\lib\dt.jar;F:\JBuilder6\jdk1.3.1\lib\htmlconverter.jar;F:\JBuilder6\jdk1.3.1\lib\tools.jar" client.SalaryClient
      Naming Exception caught: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      Please help, thank you.