From: Scott S. <two...@mi...> - 2001-07-25 17:43:35
|
Hello,=20 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=3Dpublic abstract java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_phone2() throws = java.rmi.RemoteException, 3163754803894080547=3Dpublic abstract = javax.ejb.EJBHome javax.ejb.EJBObject.getEJBHome() throws = java.rmi.RemoteException, -5013858639939630501=3Dpublic abstract void = javax.ejb.EJBObject.remove() throws = java.rmi.RemoteException,javax.ejb.RemoveException, = 2853099017234602568=3Dpublic abstract java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_city() throws = java.rmi.RemoteException, 6036037884840400122=3Dpublic abstract void = com.src.entity.patientheader.PatientHeader.setPath_address1(java.lang.Str= ing) throws java.rmi.RemoteException, -3446593176504354005=3Dpublic = abstract java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_zip5() throws = java.rmi.RemoteException, -1299374689989208114=3Dpublic abstract = javax.ejb.Handle javax.ejb.EJBObject.getHandle() throws = java.rmi.RemoteException, 7269583083171870464=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_zip4() throws = java.rmi.RemoteException, -5000846178844685185=3Dpublic abstract void = com.src.entity.patientheader.PatientHeader.setPath_address2(java.lang.Str= ing) throws java.rmi.RemoteException, -8411450506172018100=3Dpublic = abstract void = com.src.entity.patientheader.PatientHeader.setPath_phone2(java.lang.Strin= g) throws java.rmi.RemoteException, -5545972421826780573=3Dpublic = abstract void = com.src.entity.patientheader.PatientHeader.setPath_city(java.lang.String)= throws java.rmi.RemoteException, 4840115071604865751=3Dpublic abstract = java.lang.Object javax.ejb.EJBObject.getPrimaryKey() throws = java.rmi.RemoteException, -5909123752501984271=3Dpublic abstract boolean = javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws = java.rmi.RemoteException, 9026218837603035593=3Dpublic abstract void = com.src.entity.patientheader.PatientHeader.setPath_zip5(java.lang.String)= throws java.rmi.RemoteException, -7928200802148724701=3Dpublic abstract = void = com.src.entity.patientheader.PatientHeader.setPath_status(java.lang.Strin= g) throws java.rmi.RemoteException, 2134192518985930584=3Dpublic = abstract void = com.src.entity.patientheader.PatientHeader.setPath_family_name(java.lang.= String) throws java.rmi.RemoteException, 6283280847626038255=3Dpublic = abstract void = com.src.entity.patientheader.PatientHeader.setPath_phone1(java.lang.Strin= g) throws java.rmi.RemoteException, -3049668112836649109=3Dpublic = abstract java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_phone1() throws = java.rmi.RemoteException, -7433864360636410658=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_status() throws = java.rmi.RemoteException, -8030792434171256968=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_state() throws = java.rmi.RemoteException, 7869734942315608452=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_address2() throws = java.rmi.RemoteException, -6088873200954834602=3Dpublic abstract void = com.src.entity.patientheader.PatientHeader.setPath_zip4(java.lang.String)= throws java.rmi.RemoteException, 1682985668773175340=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_family_name() throws = java.rmi.RemoteException, 1224581694655521228=3Dpublic abstract void = com.src.entity.patientheader.PatientHeader.setPath_state(java.lang.String= ) throws java.rmi.RemoteException, -818588026533440350=3Dpublic abstract = java.lang.String = com.src.entity.patientheader.PatientHeader.getPath_address1() throws = java.rmi.RemoteException} at = sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemo= teCall.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(Unknow= n 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"=20 Interactive Session Ended Is there a way to get JBOSS to let go of the old defintion of the bean? Thanks, Scott Salisbury=20 |