One really silly possibility..

you don't by chance have your old ejb jar in lib/ext?? Or maybe just the
interfaces?

The MySQL table is correct by the new definition?  This might (?) happen if
interfaces jar was in lib/ext but beans themselves are deployed in deploy.

david jencks

On 2001.07.25 13:45:30 -0400 Scott Salisbury wrote:
> Hello, 
> 
> I have a CMP bean that I have deployed.  Then, I needed to make a change
> to it.  I dropped the table in MySQL.  I made changes to the Bean, the
> remote interface and made an unrelated changed to the home interface.  
> When I redeployed the bean, it created the table in MySQL properly but
> the new methods created in the remote interface and the bean itself do
> not seem to be recognized by the container.  No matter how many times I
> deploy the new bean It is as if the container still sees the old version
> of the bean.  I get the following message as soon as the client attempts
> to use one of the new set methods:
> 
> Starting application C:\hcolab\com\src\client\PatientHeaderClient1.class
> java.lang.NullPointerException: METHOD IS NOT FOUND:1805719028046769171
> {-5255848813930177983=public abstract java.lang.String
> com.src.entity.patientheader.PatientHeader.getPath_phone2() throws
> java.rmi.RemoteException, 3163754803894080547=public abstract
> javax.ejb.EJBHome javax.ejb.EJBObject.getEJBHome() throws
> java.rmi.RemoteException, -5013858639939630501=public abstract void
> javax.ejb.EJBObject.remove() throws
java.rmi.RemoteException,javax.ejb.RemoveException,
> 2853099017234602568=public abstract java.lang.String
> com.src.entity.patientheader.PatientHeader.getPath_city() throws
> java.rmi.RemoteException, 6036037884840400122=public abstract void
> com.src.entity.patientheader.PatientHeader.setPath_address1(java.lang.String)
> throws java.rmi.RemoteException, -3446593176504354005=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_zip5()
> throws java.rmi.RemoteException, -1299374689989208114=public abstract
> javax.ejb.Handle javax.ejb.EJBObject.getHandle() throws
> java.rmi.RemoteException, 7269583083171870464=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_zip4()
> throws java.rmi.RemoteException, -5000846178844685185=public abstract
> void com.src.entity.patientheader.PatientHeader.setPath_address2(java.lang.String)
> throws java.rmi.RemoteException, -8411450506172018100=public abstract
> void com.src.entity.patientheader.PatientHeader.setPath_phone2(java.lang.String)
> throws java.rmi.RemoteException, -5545972421826780573=public abstract
> void com.src.entity.patientheader.PatientHeader.setPath_city(java.lang.String)
> throws java.rmi.RemoteException, 4840115071604865751=public abstract
> java.lang.Object javax.ejb.EJBObject.getPrimaryKey() throws
> java.rmi.RemoteException, -5909123752501984271=public abstract boolean
> javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws
> java.rmi.RemoteException, 9026218837603035593=public abstract void
> com.src.entity.patientheader.PatientHeader.setPath_zip5(java.lang.String)
> throws java.rmi.RemoteException, -7928200802148724701=public abstract
> void com.src.entity.patientheader.PatientHeader.setPath_status(java.lang.String)
> throws java.rmi.RemoteException, 2134192518985930584=public abstract void
> com.src.entity.patientheader.PatientHeader.setPath_family_name(java.lang.String)
> throws java.rmi.RemoteException, 6283280847626038255=public abstract void
> com.src.entity.patientheader.PatientHeader.setPath_phone1(java.lang.String)
> throws java.rmi.RemoteException, -3049668112836649109=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_phone1()
> throws java.rmi.RemoteException, -7433864360636410658=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_status()
> throws java.rmi.RemoteException, -8030792434171256968=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_state()
> throws java.rmi.RemoteException, 7869734942315608452=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address2()
> throws java.rmi.RemoteException, -6088873200954834602=public abstract
> void com.src.entity.patientheader.PatientHeader.setPath_zip4(java.lang.String)
> throws java.rmi.RemoteException, 1682985668773175340=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_family_name()
> throws java.rmi.RemoteException, 1224581694655521228=public abstract void
> com.src.entity.patientheader.PatientHeader.setPath_state(java.lang.String)
> throws java.rmi.RemoteException, -818588026533440350=public abstract
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address1()
> throws java.rmi.RemoteException}
>  at 
>sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
>  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
>  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
>  at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
> Source)
>  at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:182)
>  at $Proxy1.setPath_logonid(Unknown Source)  // this is one of the new
> methods....
>  at com.src.client.PatientHeaderClient1.main(PatientHeaderClient1.java:31)
> Exception in thread "main" 
> Interactive Session Ended
> 
> 
> Is there a way to get JBOSS to let go of the old defintion of the bean?
> 
> Thanks,
> Scott Salisbury 
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
> <META content="MSHTML 5.00.3019.2500" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>I have a CMP bean that I have
> deployed.&nbsp; Then, 
> I needed to make a change to it.&nbsp; I dropped the table in
> MySQL.&nbsp; I 
> made changes to the Bean, the remote interface and made an unrelated
> changed to 
> the home interface.&nbsp;&nbsp; When I redeployed the bean, it created
> the table 
> in MySQL properly but the new methods created in the remote interface and
> the 
> bean itself do not seem to be recognized by the container.&nbsp; No
> matter how 
> many times I deploy the new bean It is as if the container still sees the
> old 
> version of the bean.&nbsp; I get the following message as soon as the
> client 
> attempts to use one of the new set methods:</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Starting application 
> 
>C:\hcolab\com\src\client\PatientHeaderClient1.class<BR>java.lang.NullPointerException:
> 
> METHOD IS NOT FOUND:1805719028046769171 {-5255848813930177983=public
> abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_phone2()
> 
> throws java.rmi.RemoteException, 3163754803894080547=public abstract 
> javax.ejb.EJBHome javax.ejb.EJBObject.getEJBHome() throws 
> java.rmi.RemoteException, -5013858639939630501=public abstract void 
> javax.ejb.EJBObject.remove() throws 
> java.rmi.RemoteException,javax.ejb.RemoveException,
> 2853099017234602568=public 
> abstract java.lang.String 
> com.src.entity.patientheader.PatientHeader.getPath_city() throws 
> java.rmi.RemoteException, 6036037884840400122=public abstract void 
> com.src.entity.patientheader.PatientHeader.setPath_address1(java.lang.String)
> 
> throws java.rmi.RemoteException, -3446593176504354005=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_zip5()
> 
> throws java.rmi.RemoteException, -1299374689989208114=public abstract 
> javax.ejb.Handle javax.ejb.EJBObject.getHandle() throws 
> java.rmi.RemoteException, 7269583083171870464=public abstract
> java.lang.String 
> com.src.entity.patientheader.PatientHeader.getPath_zip4() throws 
> java.rmi.RemoteException, -5000846178844685185=public abstract void 
> com.src.entity.patientheader.PatientHeader.setPath_address2(java.lang.String)
> 
> throws java.rmi.RemoteException, -8411450506172018100=public abstract
> void 
> com.src.entity.patientheader.PatientHeader.setPath_phone2(java.lang.String)
> 
> throws java.rmi.RemoteException, -5545972421826780573=public abstract
> void 
> com.src.entity.patientheader.PatientHeader.setPath_city(java.lang.String)
> throws 
> java.rmi.RemoteException, 4840115071604865751=public abstract
> java.lang.Object 
> javax.ejb.EJBObject.getPrimaryKey() throws java.rmi.RemoteException, 
> -5909123752501984271=public abstract boolean 
> javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws 
> java.rmi.RemoteException, 9026218837603035593=public abstract void 
> com.src.entity.patientheader.PatientHeader.setPath_zip5(java.lang.String)
> throws 
> java.rmi.RemoteException, -7928200802148724701=public abstract void 
> com.src.entity.patientheader.PatientHeader.setPath_status(java.lang.String)
> 
> throws java.rmi.RemoteException, 2134192518985930584=public abstract void
> 
> com.src.entity.patientheader.PatientHeader.setPath_family_name(java.lang.String)
> 
> throws java.rmi.RemoteException, 6283280847626038255=public abstract void
> 
> com.src.entity.patientheader.PatientHeader.setPath_phone1(java.lang.String)
> 
> throws java.rmi.RemoteException, -3049668112836649109=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_phone1()
> 
> throws java.rmi.RemoteException, -7433864360636410658=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_status()
> 
> throws java.rmi.RemoteException, -8030792434171256968=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_state()
> 
> throws java.rmi.RemoteException, 7869734942315608452=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address2()
> 
> throws java.rmi.RemoteException, -6088873200954834602=public abstract
> void 
> com.src.entity.patientheader.PatientHeader.setPath_zip4(java.lang.String)
> throws 
> java.rmi.RemoteException, 1682985668773175340=public abstract
> java.lang.String 
> com.src.entity.patientheader.PatientHeader.getPath_family_name() throws 
> java.rmi.RemoteException, 1224581694655521228=public abstract void 
> com.src.entity.patientheader.PatientHeader.setPath_state(java.lang.String)
> 
> throws java.rmi.RemoteException, -818588026533440350=public abstract 
> java.lang.String com.src.entity.patientheader.PatientHeader.getPath_address1()
> 
> throws java.rmi.RemoteException}<BR>&nbsp;at 
> 
>sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)<BR>&nbsp;at
> 
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)<BR>&nbsp;at
> 
> sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)<BR>&nbsp;at 
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
> 
> Source)<BR>&nbsp;at 
> 
>org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:182)<BR><STRONG>&nbsp;at
> 
> $Proxy1.setPath_logonid(Unknown Source)&nbsp; // this is&nbsp;one of the
> new 
> methods....<BR>&nbsp;</STRONG>at 
> com.src.client.PatientHeaderClient1.main(PatientHeaderClient1.java:31)<BR>Exception
> 
> in thread "main" <BR>Interactive Session Ended</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Is there a way to get JBOSS to let go of the
> old 
> defintion of the bean?</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
> <DIV><FONT face=Arial size=2>Scott Salisbury
> <BR></DIV></FONT></BODY></HTML>
> 

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

Reply via email to