I've just got the latests docs and installed JBossBook_323.zip
I changed the examples/build.xml file - changing the jboss.dist to 
/usr/local/jboss-3.2.3
Then I ran the examples according to the pdf

[examples]$ ant -Dchap=chap6 -Dex=1p2p run-example
Buildfile: build.xml
 
validate:
     [java] ImplementationTitle: JBoss [WonderLand]
     [java] WARNING: requested version: 3.2 does not match the run.jar version: JBoss 
(http://www.jboss.org/)
     [java] ImplementationVendor: 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
     [java] ImplementationVersion: JBoss.org
     [java] SpecificationTitle: JBoss
     [java] SpecificationVendor: 3.2.3
     [java] SpecificationVersion: JBoss (http://www.jboss.org/)
     [java] JBoss version is: JBoss (http://www.jboss.org/)
     [java] Java Result: 1
 
fail_if_not_valid:
 
init:
     [echo] Using jboss.dist=/usr/local/jboss-3.2.3
 
compile-src:
 
config:
     [echo] Preparing chap12 configuration fileset
     [copy] Copying 1 file to /usr/local/jboss-3.2.3/server/chap12/conf
 
compile-src:
     [echo] Generating xdoclet source
[ejbdoclet] [INFO] start - -Running 
[ejbdoclet] [INFO] start - -Running 
[ejbdoclet] [INFO] start - -Running 
[ejbdoclet] [INFO] start - -Running 
[ejbdoclet] [INFO] start - -Running 
[ejbdoclet] [INFO] start - -Running 
     [echo] Generating wsdl client
 
compile:
    [javac] Compiling 139 source files to 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/output/classes
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/test/util/ejb/RemoteTestException.java:60:
 warning: The class `java.io.PrintStream' has been deprecated.
    [javac]       public void printStackTrace(java.io.PrintStream ps)
    [javac]                                   ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/test/util/ejb/RemoteAssertionFailedError.java:59:
 warning: The class `java.io.PrintStream' has been deprecated.
    [javac]       public void printStackTrace(java.io.PrintStream ps)
    [javac]                                   ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:0:
 error: cannot find file for class javax.security.auth.callback.CallbackHandler
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:5:
 error: Class or interface `javax.security.auth.login.LoginContext' not found in 
import.
    [javac]    import javax.security.auth.login.LoginContext;
    [javac]           ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3b/ExClient.java:46:
 error: Type `LoginContext' not found in the declaration of the local variable `lc'.
    [javac]          LoginContext lc = new LoginContext("srpHAReadOnlyJNDI", handler);
    [javac]          ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3a/ExClient.java:6:
 error: Class or interface `javax.security.auth.login.LoginContext' not found in 
import.
    [javac]    import javax.security.auth.login.LoginContext;
    [javac]           ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3a/ExClient.java:42:
 error: Type `LoginContext' not found in the declaration of the local variable `lc'.
    [javac]          LoginContext lc = new LoginContext("srpHA", handler);
    [javac]          ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClientSetup.java:7:
 error: Class or interface `javax.security.auth.login.LoginContext' not found in 
import.
    [javac]    import javax.security.auth.login.LoginContext;
    [javac]           ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClient.java:5:
 error: Class or interface `javax.security.auth.login.LoginContext' not found in 
import.
    [javac]    import javax.security.auth.login.LoginContext;
    [javac]           ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex3/ExClient.java:27:
 error: Type `LoginContext' not found in the declaration of the local variable `lc'.
    [javac]          LoginContext lc = new LoginContext("srp", handler);
    [javac]          ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex2/JndiUserAndPass.java:0:
 error: cannot find file for class javax.security.auth.spi.LoginModule
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex2/ExClient.java:4:
 error: Class or interface `javax.security.auth.login.LoginContext' not found in 
import.
    [javac]    import javax.security.auth.login.LoginContext;
    [javac]           ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap8/ex2/ExClient.java:21:
 error: Type `LoginContext' not found in the declaration of the local variable `lc'.
    [javac]          LoginContext lc = new LoginContext("ExClient", handler);
    [javac]          ^
    [javac] 
/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/src/main/org/jboss/chap12/hello/HelloBean.java:0:
 internal compiler error: Segmentation fault
    [javac] Please submit a full bug report,
    [javac] with preprocessed source if appropriate.
    [javac] See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
 
BUILD FAILED
file:/home/hillel/jbossdocsmay/Disk1/AllDocsSubscription/AdminDevel/examples/build.xml:101:
 Compile failed; see the compiler error output for details.
 
Total time: 3 seconds

I'm using j2sdk1.4.2_04 
Any help appreciated


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840073#3840073

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840073


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to