Hi,
i've been trying to deploy the 1. sample in the J2EE-Guide "Writing
Enterprise Applications ...." by M.Pawlan and got some error's:

in the deployment tool:

"The server will send back a client JAR file. It contains the extra
RMI/IIOP stub classes that client applications written to use"

--> Next
..
..
Deployment Progress

Contacted Server
Application BonusApp transfered
BonusApp has 1 ejbs, 1 web components to deploy
Deploying Ejbs
Processing beans
Generating wrapper code for CalcJar
Compiling wrapper code
Compiling RMI-IIOP code
*****ERROR-MESSAGE***** (in a separate window)
        There was a deployment error.java.rmi.ServerException: Remote
        Exception occurred in server thread; nested exception is:
       java.rmi.RemoteException: Error processing ejb jar:rmic
        compilation failed.

in the Deployment-Progress-Window
        Deployment Error: rmic compilation failed

deploytool:
Deploy the application in E:\Development\J2EE\Tests\BonusApp on the server
localhost
saving the client jar as null
Sender object Deploy Tool : Deploy BonusApp on localhost
Remote message: Contacted Server....
Remote message: Application BonusApp transferred.
Remote message: BonusApp has 1  ejbs, 1 web components to deploy.
Remote message: Deploying Ejbs....
Remote message: Processing beans ....
Remote message: Generating wrapper code for CalcJar.
Remote message: Compiling wrapper code ....
Remote message: Compiling RMI-IIOP code ....

in the Server-Window:   (started with j2ee -verbose)
...
...
J2EE server startup complete.
Class loadable save
Parse deployment descriptor as XML
Compiling
c:\j2sdkee1.2\repository\HOSTNAME\gnrtrTMP\BonusApp\Beans\CalcHomeImpl.java ....
Compiling
c:\j2sdkee1.2\repository\HOSTNAME\gnrtrTMP\BonusApp\Beans\CalcBean_EJBObjectImpl.java 
...
.
rmic Beans.CalcHomeImpl...
rmic
Beans.CalcBean_EJBObjectImpl...
c:\j2sdkee1.2\repository\HOSTNAME\gnrtrTMP\BonusApp\Beans\_CalcBean_EJBObjectImpl_Tie.java:66:
 Meth
od set_delegate(Beans._CalcBean_EJBObjectImpl_Tie) not found in class
org.omg.CORBA_2_3.ORB.
            ((org.omg.CORBA_2_3.ORB)orb).set_delegate(this);

^
c:\j2sdkee1.2\repository\HOSTNAME\gnrtrTMP\BonusApp\org\omg\stub\com\sun\ejb\containers\_StatelessS
essionEJBObjectImpl_Tie.java:65: Method
set_delegate(org.omg.stub.com.sun.ejb.containers._StatelessS
essionEJBObjectImpl_Tie) not found in class org.omg.CORBA_2_3.ORB.
            ((org.omg.CORBA_2_3.ORB)orb).set_delegate(this);

^
c:\j2sdkee1.2\repository\HOSTNAME\gnrtrTMP\BonusApp\org\omg\stub\com\sun\ejb\containers\_EJBObjectI
mpl_Tie.java:65: Method
set_delegate(org.omg.stub.com.sun.ejb.containers._EJBObjectImpl_Tie) not fou
nd in class org.omg.CORBA_2_3.ORB.
            ((org.omg.CORBA_2_3.ORB)orb).set_delegate(this);
                                                     ^
3 errors
rmic compilation failed...


Does anyone have an idea ?
regards

Nail

--
Sent through GMX FreeMail - http://www.gmx.net

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to