0 Replies Latest reply on Aug 12, 2002 3:08 PM by Mike Ladwig

    Getting started / template / JNDI

    Mike Ladwig Newbie

      Hi. I'm getting started with JBoss 3 on RedHat 7.3 with JDK 1.4.1.

      I've installed everything, started JBoss, built the example program and then tried to start the client using run-client.sh. I get the error:

      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

      Looking up this, I was wondering if JNDI is running. If I nmap the host, nothing is listening on 1099. If I go back to the jboss console log file, I discover a few errors:

      10:29:54,862 INFO [MainDeployer] Starting deployment of package: file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/castor.jar
      10:29:55,240 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/castor.jar references URL file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/xerces.jar, which could not be opened, entry ignored
      10:29:55,242 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/castor.jar references URL file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/jdbc-se2.0.jar, which could not be opened, entry ignored
      10:29:55,243 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/castor.jar references URL file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/jndi.jar, which could not be opened, entry ignored
      10:29:55,244 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/castor.jar references URL file:/usr/java/jboss-3.0.0_tomcat-4.0.3/server/default/lib/jta1.0.1.jar which could not be opened, entry ignored

      Any ideas? It looks as if some files are missing from the JBoss distribution.

      Thanks,
      mike.