Hi, all
First, the system setteing:
Windows XP, Eclipse 3.0, JBoss3.2.3 (I don't know how Eclipse how my JBoss
version, I set JBOSS_HOME = C:\jboss3.2.3)
I am follwoing the tutorial. Till the very end of chapter 5. The build output:
Buildfile: C:\eclipse\workspace\Tutorial\xdoclet-build.xml
| N65540:
| [ejbdoclet] (XDocletMain.start 47 ) Running
<deploymentdescriptor/>
| [ejbdoclet] (XDocletMain.start 47 ) Running <jboss/>
| [ejbdoclet] (XDocletMain.start 47 ) Running
<remoteinterface/>
| [ejbdoclet] (XDocletMain.start 47 ) Running
<homeinterface/>
| _xdoclet_generation_:
| BUILD SUCCESSFUL
| Total time: 2 seconds
But in the IDE, there are some 'RED' cross showing somthings are wrong with the
interface. Then I went into the 2 interfaces created by XDoclet:
=== Fibo.java ===
/*
| * Generated by XDoclet - Do not edit!
| */
| package tutorial.interface;
|
| /**
| * Remote interface for Fibo.
| */
| public interface Fibo
| extends javax.ejb.EJBObject
| {
| /**
| * Business method
| */
| public double[] compute( int number )
| throws java.rmi.RemoteException;
|
| }
=== FiboHome.java ===
/*
| * Generated by XDoclet - Do not edit!
| */
| package tutorial.interface;
|
| /**
| * Home interface for Fibo.
| */
| public interface FiboHome
| extends javax.ejb.EJBHome
| {
| public static final String COMP_NAME="java:comp/env/ejb/Fibo";
| public static final String JNDI_NAME="ejb/Fibo";
|
| public tutorial.interface.Fibo create()
| throws javax.ejb.CreateException,java.rmi.RemoteException;
|
| }
I paste the image of the error so you might better know my question.
[img]http://129.173.105.113:8080/error.gif[/img]
[img]http://129.173.105.113:8080/error1.gif[/img]
If you click those link you will see that the error message is on the screen. I
totally lost why it is like that.
Btw, the jre is slightly different than the one in the tutorial.
Help please!!!!
X.Chen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910285#3910285
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910285
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user