I have several beans that compile fine with RMI_jonas.jar, however when I
try to use JEREMIE_jonas.jar I get the following error.
com/ods/server/ejb/dataview/JOnASDataViewHome_Stub.java:57: exception
javax.ejb.EJBException has already been caught
} catch (javax.ejb.EJBException f) {
^
1 error
GenIC ERROR: Failed when compiling the implementation classes via 'java
org.objectweb.jeremie.tools.jrmic.JRMICompiler -opt '
The GenIC line that is fails on is marked below. Anyone have any
ideas/suggestions?
Mike
public com.ods.server.ejb.dataview.DataView create()
throws javax.ejb.CreateException, javax.ejb.EJBException,
java.rmi.RemoteException {
try {
JRMIOptRef optref = (JRMIOptRef) ref;
Marshaller marshaller = optref.request();
ReplyInterface reply =
optref.prepareInvocation(marshaller);
marshaller.writeInt(0);
optref.invoke(marshaller);
UnMarshaller unmarshaller = reply.listen();
com.ods.server.ejb.dataview.DataView result =
(com.ods.server.ejb.dataview.DataView)
unmarshaller.readReference();
unmarshaller.close();
return result;
} catch
(org.objectweb.jonathan.apis.protocols.ServerException e) {
UnMarshaller unmarshaller = e.unmarshaller;
Exception excep;
try {
excep = (Exception)
unmarshaller.readReference();
unmarshaller.close();
throw excep;
} catch
(org.objectweb.jonathan.apis.kernel.JonathanException f) {
throw new java.rmi.MarshalException
("error during exception
unmarshalling by stub", f);
} catch (java.lang.RuntimeException f) {
throw f;
} catch (javax.ejb.CreateException f) {
throw f;
FAILS HERE --> } catch (javax.ejb.EJBException f) {
throw f;
} catch (java.rmi.RemoteException f) {
throw f;
} catch (java.lang.Exception f) {
throw new java.rmi.UnexpectedException
("undeclared checked exception",
f);
}
} catch (java.lang.Exception e) {
throw new java.rmi.MarshalException
("error during marshalling/unmarshalling
by stub", e);
}
} A
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".