Re: [JBoss-user] METHOD IS NOT FOUND

2001-04-10 Thread Guy Rouillier

Could this be the problem I ran into with autodeploy?  The new version of
your EJB will not be picked up until you restart JBoss if your EJB is in the
system classpath.  I got around this by modifying run.bat so that JBoss is
run with an empty classpath.

- Original Message -
From: "Carles Pi-Sunyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 6:57 PM
Subject: [JBoss-user] METHOD IS NOT FOUND


> I've added a new method to a stateless session bean.
> When I try to access the method from my client program
> I am getting the exception below.
>
> The other methods in the remote interface and bean are
> available. I've looked at the strings in the remote
> interface and bean .class files and I see the method
> name in there.
>
> It's pretty odd, because I've done some experiments,
> and when the client can't find a method it normally
> throws a java.lang.NoSuchMethodError.
>
> Any thoughts?
>
> Carles
>
> java.lang.NullPointerException: METHOD IS NOT
> FOUND:-2660912196128829327 {229145
> 2689382128322=public abstract void
> com.good.service.authentication.Authenticatio
> n.permissionGetUsersByCorporation(int,int) throws
> java.rmi.RemoteException,com.g
> ood.exception.AuthorizationException,
> 3418093092247484039=public abstract void c
> om.good.service.authentication.Authentication.permissionGetUser(int,int)
> throws
> java.rmi.RemoteException,com.good.exception.AuthorizationException,
> 543072680790
> 308770=public abstract void
> com.good.service.authentication.Authentication.permi
> ssionGetAllUsers(int) throws
> java.rmi.RemoteException,com.good.exception.Authori
> zationException, -9222884604300333465=public abstract
> int com.good.service.authe
> ntication.Authentication.authenticate(java.lang.String,java.lang.String)
> throws
> java.rmi.RemoteException,com.good.exception.AuthorizationException,
> -50138586399
> 39630501=public abstract void
> javax.ejb.EJBObject.remove() throws java.rmi.Remot
> eException,javax.ejb.RemoveException,
> -1299374689989208114=public abstract javax
> .ejb.Handle javax.ejb.EJBObject.getHandle() throws
> java.rmi.RemoteException, -59
> 09123752501984271=public abstract boolean
> javax.ejb.EJBObject.isIdentical(javax.
> ejb.EJBObject) throws java.rmi.RemoteException,
> 6802848344474279266=public abstr
> act void
> com.good.service.authentication.Authentication.permissionGetUsersByWork
> group(int,int) throws
> java.rmi.RemoteException,com.good.exception.AuthorizationE
> xception, 3163754803894080547=public abstract
> javax.ejb.EJBHome javax.ejb.EJBObj
> ect.getEJBHome() throws java.rmi.RemoteException,
> 4840115071604865751=public abs
> tract java.lang.Object
> javax.ejb.EJBObject.getPrimaryKey() throws
> java.rmi.Remot
> eException}
>
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] METHOD IS NOT FOUND

2001-04-10 Thread Carles Pi-Sunyer

I've added a new method to a stateless session bean.
When I try to access the method from my client program
I am getting the exception below. 

The other methods in the remote interface and bean are
available. I've looked at the strings in the remote
interface and bean .class files and I see the method
name in there. 

It's pretty odd, because I've done some experiments,
and when the client can't find a method it normally
throws a java.lang.NoSuchMethodError. 

Any thoughts?

Carles

java.lang.NullPointerException: METHOD IS NOT
FOUND:-2660912196128829327 {229145
2689382128322=public abstract void
com.good.service.authentication.Authenticatio
n.permissionGetUsersByCorporation(int,int) throws
java.rmi.RemoteException,com.g
ood.exception.AuthorizationException,
3418093092247484039=public abstract void c
om.good.service.authentication.Authentication.permissionGetUser(int,int)
throws
java.rmi.RemoteException,com.good.exception.AuthorizationException,
543072680790
308770=public abstract void
com.good.service.authentication.Authentication.permi
ssionGetAllUsers(int) throws
java.rmi.RemoteException,com.good.exception.Authori
zationException, -9222884604300333465=public abstract
int com.good.service.authe
ntication.Authentication.authenticate(java.lang.String,java.lang.String)
throws
java.rmi.RemoteException,com.good.exception.AuthorizationException,
-50138586399
39630501=public abstract void
javax.ejb.EJBObject.remove() throws java.rmi.Remot
eException,javax.ejb.RemoveException,
-1299374689989208114=public abstract javax
.ejb.Handle javax.ejb.EJBObject.getHandle() throws
java.rmi.RemoteException, -59
09123752501984271=public abstract boolean
javax.ejb.EJBObject.isIdentical(javax.
ejb.EJBObject) throws java.rmi.RemoteException,
6802848344474279266=public abstr
act void
com.good.service.authentication.Authentication.permissionGetUsersByWork
group(int,int) throws
java.rmi.RemoteException,com.good.exception.AuthorizationE
xception, 3163754803894080547=public abstract
javax.ejb.EJBHome javax.ejb.EJBObj
ect.getEJBHome() throws java.rmi.RemoteException,
4840115071604865751=public abs
tract java.lang.Object
javax.ejb.EJBObject.getPrimaryKey() throws
java.rmi.Remot
eException}

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user