Hi,

Using jboss-3.0.0RC1_tomcat-4.0.3,  I have tried (for a
second time) to follow the JBoss' tutorial on their online documentation:

http://www.jboss.org/online-manual/HTML/index.html

  However I have stumbled exactly on the same spot twice :-) while running:

. . . examples\build>ant intro-interest-client

, namely:

. . .
interest-client:
     [java] Got context
     [java] javax.naming.NameNotFoundException: interest not bound

  I know jboss-3.0.0RC1_tomcat-4.0.3 is not an stable version but I have 
noticed some people are suing it and where able to run the tutorial with no 
problem

if I go to the management in http://localhost:8082 I don't see 
'interest/Interest' listed.

._ Here is my classpath:

C:\>set CLASSPATH=
C:\Apps\jdk1.3.1_03;C:\Apps\mm.mysql-2.0.13\mm.mysql-2.0.13-bin.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jboss-j2ee.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jbosssx-client.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jaas.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jndi.properties;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jnp-client.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\client\jboss-client.jar;
C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3\catalina\common\lib\servlet.jar;.;

._ Here are my env. vars that relate to Java/JBoss

>SET
ANT_HOME=C:\Apps\jakarta-ant-1.4
CATALINA_HOME=C:\Apps\Tomcat\jakarta-tomcat-4.0.3
JAVA_HOME=C:\Apps\jdk1.3.1_03
JBOSS_DIST=C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3
JBOSS_HOME=C:\Apps\JBoss-Tomcat\jboss-3.0.0RC1_tomcat-4.0.3

._ the bloody error if I try to manually run the compiled 
InterestClient.class:

>java InterestClient
Exception in thread "main" java.lang.NoClassDefFoundError:
InterestClient (wrong
name: org/jboss/docs/interest/InterestClient)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

._ but the class is definitely there

>dir *.class
. . .

05/16/2002  03:44p               2,158 InterestClient.class
05/16/2002  03:44p               1,250 InterestBean.class
05/16/2002  03:44p                 296 InterestHome.class
05/16/2002  03:44p                 246 Interest.class
               4 File(s)          3,950 bytes

. . .

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to