Re: [JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread Faisal Abdallah

 try to remove the deployed app ear from jboss jboss\tmp dir
and redeploy your app ..
faisal
- Original Message -
From: Scott Salisbury
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 6:45 PM
Subject: [JBoss-user] MySQL, CMP Deployment Problem


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.Str
ing) 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(StreamRemoteC
all.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

Re: [JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread David Jencks

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.j

[JBoss-user] MySQL, CMP Deployment Problem

2001-07-25 Thread Scott Salisbury



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.classjava.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 
i