Seems there is something at least a little questionable in there as I'm
printing out where it's failing and one of the things it's doing is trying
to figure out if Collection is a valid Exception type, but maybe it needs to
do that. I'm throwing EJBException in my code and also indicating that in
the remote interface. It is a RuntimeException. I'll have to see if it
actually gets across the wire, or if it gets wrapped in something else first
by the container.
Cheers
-----Original Message-----
From: Juha Lindfors [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 4:23 PM
To: jBoss
Subject: Re: [jBoss-User] Verifier question
Hi,
make sure that
1) all methods in the remote interface throw RemoteException
2) all other exceptions are checked exceptions, not runtime exceptions
3) if you define constants in the remote interface, the field types
are either primitives or Strings.
if still no luck, it could be a bug
-- Juha
At 15:42 1.11.2000 -0500, you wrote:
>Anybody know anything about the following error other than it says my EJB
>remote interface can't be used as the return type from any of the methods
in
>the ejb? (Which does sort of defeat the whole purpose:-) Everything
works
>fine but I get essentially the same verifier error for every entity and
>session bean in my application.
>
>[Verifier]
>Class : cart.User
>Method : public abstract User create(String, String, String, String) throws
>CreateException, EJBException, RemoteException
>Section: 9.2.8
>Warning: The method return values in the home interface must be of valid
>types for RMI/IIOP.
>
>Cheers
>
>Jay Walters
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]