Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

EAS35->interEJB call -> java.lang.IncompatibleClassChangeError

5 posts in General Discussion (old) Last posting was on 2000-03-03 00:01:33.0Z
<=one way=> Posted on 2000-02-28 03:44:10.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: EAS35->interEJB call -> java.lang.IncompatibleClassChangeError
Date: Sun, 27 Feb 2000 22:44:10 -0500
Lines: 277
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01BF8174.2990FB20"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_VPTuw8Zg$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27698
Article PK: 159064

For some reason, I am getting java.lang.IncompatibleClassChangeError: Unimplemented interface method exception when making an interEJB call.
1) Two EJBs: Security and Data_element
2) Security EJB calls Data_element's findByVendorCode() method which results in the above exception.
3) If Data_element's findByVendorCode() method is called from Java client app it works without any problems.
4) The ejbFindByVendorCode() Before return. vendor_id = 1 message is written in the log by ejbFindByVendorCode() method just before it returns
5) Tried deleting all stubs and redeploying involved EJB, same result.
 
The extract from the log is enclosed. TIA.
--------------------------------------------------------------------------------------------
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\InitialContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NoInitialContextException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\NamingManager.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\NamingContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeOperations.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\OperationNotSupportedException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingEnumeration.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NotContextException.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeHelper.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\_st_J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaDataHelper.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaData.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_elementHome_Stub.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_elementHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_element.class
Feb 27 22:27:57 2000: ---> About to get data
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EntityContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\IdentityImpl.class
Feb 27 22:27:57 2000: ---> ejbFindByVendorCode(). vendor_id = 1
Feb 27 22:27:57 2000: ---> selectByVendorCode(). Vendor_code = G_TICKER_SYMBOL
Feb 27 22:27:58 2000: ---> setPropFromResultSet()
Feb 27 22:27:58 2000: ---> ejbFindByVendorCode() Before return. vendor_id = 1
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_element_Stub.class
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBObject.class
Feb 27 22:27:58 2000: java.lang.IncompatibleClassChangeError: Unimplemented interface method
Feb 27 22:27:58 2000:  at quant.Data_elementHome_Stub.findByVendorCode(Data_elementHome_Stub.java:274)
Feb 27 22:27:58 2000:  at quant.SecurityBean.ejbFindOrCreateByAK(SecurityBean.java:465)
Feb 27 22:27:58 2000:  at quant._sk_quant_Security.invoke(_sk_quant_Security.java:341)
Feb 27 22:27:58 2000: AFLIB Message: 18209/11/0: [Y:\calm\conn\itg\jagsrv\generic\dispatch\Transaction.cc/151]: Transaction::Commit(): Transaction was marked ABORTONLY - Aborting!
 
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security/ejbFindOrCreateByAK )
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security:Home/findOrCreateByAK)
 


Reed Shilts Posted on 2000-03-03 00:01:33.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 02 Mar 2000 19:01:33 -0500
From: Reed Shilts <nospam@sybase.com>
Organization: PowerBuilder & PowerJ Kernel Group
X-Mailer: Mozilla 4.5 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: EAS35->interEJB call -> java.lang.IncompatibleClassChangeError
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 141
NNTP-Posting-Host: bigreed.sybase.com 199.93.181.155
Message-ID: <347_38BF00DD.49E9F70E@sybase.com>
References: <347_VPTuw8Zg$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27275
Article PK: 158699

You may want to add a reference to your jar file (or classes) to the component
property:
com.sybase.jaguar.component.java.classes

Hope this helps,
Reed Shilts
PowerBuilder / PowerJ Kernel Group
***Nothing I Say Is Official***

"<=one way=>" wrote:

> For some reason, I am getting java.lang.IncompatibleClassChangeError: Unimplemented interface
> method exception when making an interEJB call.1) Two EJBs: Security and Data_element2) Security
> EJB calls Data_element's findByVendorCode() method which results in the above exception.3) If
> Data_element's findByVendorCode() method is called from Java client app it works without any
> problems.4) The ejbFindByVendorCode() Before return. vendor_id = 1 message is written in the log
> by ejbFindByVendorCode() method just before it returns5) Tried deleting all stubs and redeploying
> involved EJB, same result. The extract from the log is enclosed.
> TIA.--------------------------------------------------------------------------------------------Feb
> 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\InitialContext.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\NoInitialContextException.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\NamingException.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\spi\NamingManager.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\InitialContextFactory.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\spi\InitialContextFactory.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\NamingContext.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\J40HomeOperations.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\OperationNotSupportedException.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\NamingEnumeration.class
> Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\javax\naming\NotContextException.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\quant\_sk_quant_Data_element.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\quant\_sk_quant_Data_element.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\J40HomeHelper.class
> Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40Home.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\_st_J40Home.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\J40MetaDataHelper.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\J40MetaData.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\quant\Data_elementHome_Stub.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBHome.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_elementHome.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_element.class
> Feb 27 22:27:57 2000: ---> About to get data
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\EntityContext.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\EJBContext.class
> Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS
> 3.5\html\classes\com\sybase\ejb\IdentityImpl.class
> Feb 27 22:27:57 2000: ---> ejbFindByVendorCode(). vendor_id = 1
> Feb 27 22:27:57 2000: ---> selectByVendorCode(). Vendor_code = G_TICKER_SYMBOL
> Feb 27 22:27:58 2000: ---> setPropFromResultSet()
> Feb 27 22:27:58 2000: ---> ejbFindByVendorCode() Before return. vendor_id = 1
> Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_element_Stub.class
> Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBObject.class
>
> Feb 27 22:27:58 2000: java.lang.IncompatibleClassChangeError: Unimplemented interface method
> Feb 27 22:27:58 2000: at
> quant.Data_elementHome_Stub.findByVendorCode(Data_elementHome_Stub.java:274)
> Feb 27 22:27:58 2000: at quant.SecurityBean.ejbFindOrCreateByAK(SecurityBean.java:465)
> Feb 27 22:27:58 2000: at quant._sk_quant_Security.invoke(_sk_quant_Security.java:341)
> Feb 27 22:27:58 2000: AFLIB Message: 18209/11/0:
> [Y:\calm\conn\itg\jagsrv\generic\dispatch\Transaction.cc/151]: Transaction::Commit(): Transaction
> was marked ABORTONLY - Aborting! Feb 27 22:27:58 2000: SystemException: UNKNOWN
> (quant/Security/ejbFindOrCreateByAK )
> Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security:Home/findOrCreateByAK)


Dave Wolf [Sybase] Posted on 2000-02-28 04:15:16.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: EAS35->interEJB call -> java.lang.IncompatibleClassChangeError
Date: Sun, 27 Feb 2000 23:15:16 -0500
Lines: 314
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01BF8178.822D78E0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: PPPa8-ResaleAnnapolis1-1R7308.saturn.bbn.com 4.48.176.69
Message-ID: <347_W$Bu2Lag$GA.297@forums.sybase.com>
References: <347_VPTuw8Zg$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27697
Article PK: 159062

Are you referencing classes stored outside of java/classes or html/classes?  And of course, outside of the java.* or javax.* packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:VPTuw8Zg$GA.251@forums.sybase.com...
For some reason, I am getting java.lang.IncompatibleClassChangeError: Unimplemented interface method exception when making an interEJB call.
1) Two EJBs: Security and Data_element
2) Security EJB calls Data_element's findByVendorCode() method which results in the above exception.
3) If Data_element's findByVendorCode() method is called from Java client app it works without any problems.
4) The ejbFindByVendorCode() Before return. vendor_id = 1 message is written in the log by ejbFindByVendorCode() method just before it returns
5) Tried deleting all stubs and redeploying involved EJB, same result.
 
The extract from the log is enclosed. TIA.
--------------------------------------------------------------------------------------------
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\InitialContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NoInitialContextException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\NamingManager.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\NamingContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeOperations.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\OperationNotSupportedException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingEnumeration.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NotContextException.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeHelper.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\_st_J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaDataHelper.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaData.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_elementHome_Stub.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_elementHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_element.class
Feb 27 22:27:57 2000: ---> About to get data
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EntityContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\IdentityImpl.class
Feb 27 22:27:57 2000: ---> ejbFindByVendorCode(). vendor_id = 1
Feb 27 22:27:57 2000: ---> selectByVendorCode(). Vendor_code = G_TICKER_SYMBOL
Feb 27 22:27:58 2000: ---> setPropFromResultSet()
Feb 27 22:27:58 2000: ---> ejbFindByVendorCode() Before return. vendor_id = 1
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_element_Stub.class
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBObject.class
Feb 27 22:27:58 2000: java.lang.IncompatibleClassChangeError: Unimplemented interface method
Feb 27 22:27:58 2000:  at quant.Data_elementHome_Stub.findByVendorCode(Data_elementHome_Stub.java:274)
Feb 27 22:27:58 2000:  at quant.SecurityBean.ejbFindOrCreateByAK(SecurityBean.java:465)
Feb 27 22:27:58 2000:  at quant._sk_quant_Security.invoke(_sk_quant_Security.java:341)
Feb 27 22:27:58 2000: AFLIB Message: 18209/11/0: [Y:\calm\conn\itg\jagsrv\generic\dispatch\Transaction.cc/151]: Transaction::Commit(): Transaction was marked ABORTONLY - Aborting!
 
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security/ejbFindOrCreateByAK )
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security:Home/findOrCreateByAK)
 


<=one way=> Posted on 2000-02-28 05:17:21.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35->interEJB call -> java.lang.IncompatibleClassChangeError
Date: Mon, 28 Feb 2000 00:17:21 -0500
Lines: 344
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01BF8181.2E5DB280"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_YKDv0wag$GA.251@forums.sybase.com>
References: <347_VPTuw8Zg$GA.251@forums.sybase.com> <347_W$Bu2Lag$GA.297@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27695
Article PK: 159056

I double checked. Everything should be under html/classes. It appears that the problem is somewhere in the Data_element EJB though test java client running on a separate machine is able to call the same Data_element's method (ejbFindByVendorCode()) without any problems. How could this be? Thanks for any help.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:W$Bu2Lag$GA.297@forums.sybase.com...
Are you referencing classes stored outside of java/classes or html/classes?  And of course, outside of the java.* or javax.* packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:VPTuw8Zg$GA.251@forums.sybase.com...
For some reason, I am getting java.lang.IncompatibleClassChangeError: Unimplemented interface method exception when making an interEJB call.
1) Two EJBs: Security and Data_element
2) Security EJB calls Data_element's findByVendorCode() method which results in the above exception.
3) If Data_element's findByVendorCode() method is called from Java client app it works without any problems.
4) The ejbFindByVendorCode() Before return. vendor_id = 1 message is written in the log by ejbFindByVendorCode() method just before it returns
5) Tried deleting all stubs and redeploying involved EJB, same result.
 
The extract from the log is enclosed. TIA.
--------------------------------------------------------------------------------------------
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\InitialContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NoInitialContextException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\NamingManager.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\NamingContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeOperations.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\OperationNotSupportedException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingEnumeration.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NotContextException.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeHelper.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\_st_J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaDataHelper.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaData.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_elementHome_Stub.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_elementHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_element.class
Feb 27 22:27:57 2000: ---> About to get data
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EntityContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\IdentityImpl.class
Feb 27 22:27:57 2000: ---> ejbFindByVendorCode(). vendor_id = 1
Feb 27 22:27:57 2000: ---> selectByVendorCode(). Vendor_code = G_TICKER_SYMBOL
Feb 27 22:27:58 2000: ---> setPropFromResultSet()
Feb 27 22:27:58 2000: ---> ejbFindByVendorCode() Before return. vendor_id = 1
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_element_Stub.class
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBObject.class
Feb 27 22:27:58 2000: java.lang.IncompatibleClassChangeError: Unimplemented interface method
Feb 27 22:27:58 2000:  at quant.Data_elementHome_Stub.findByVendorCode(Data_elementHome_Stub.java:274)
Feb 27 22:27:58 2000:  at quant.SecurityBean.ejbFindOrCreateByAK(SecurityBean.java:465)
Feb 27 22:27:58 2000:  at quant._sk_quant_Security.invoke(_sk_quant_Security.java:341)
Feb 27 22:27:58 2000: AFLIB Message: 18209/11/0: [Y:\calm\conn\itg\jagsrv\generic\dispatch\Transaction.cc/151]: Transaction::Commit(): Transaction was marked ABORTONLY - Aborting!
 
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security/ejbFindOrCreateByAK )
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security:Home/findOrCreateByAK)
 


<=one way=> Posted on 2000-02-28 07:53:24.0Z
Newsgroups: sybase.public.easerver
From: "<=one way=>" <oneway_111@yahoo.com>
Subject: Re: EAS35->interEJB call -> java.lang.IncompatibleClassChangeError
Date: Mon, 28 Feb 2000 02:53:24 -0500
Lines: 368
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0015_01BF8196.FB0E2930"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: oppenheimer163.oppenheimerfunds.com 216.44.5.163
Message-ID: <347_akUu#Hcg$GA.295@forums.sybase.com>
References: <347_VPTuw8Zg$GA.251@forums.sybase.com> <347_W$Bu2Lag$GA.297@forums.sybase.com> <347_YKDv0wag$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27693
Article PK: 159057

Attempt to call Data_elementHome's other methods from EJB gives the same result. If called from a java client, they work. TIA.
<=one way=> <oneway_111@yahoo.com> wrote in message news:YKDv0wag$GA.251@forums.sybase.com...
I double checked. Everything should be under html/classes. It appears that the problem is somewhere in the Data_element EJB though test java client running on a separate machine is able to call the same Data_element's method (ejbFindByVendorCode()) without any problems. How could this be? Thanks for any help.
Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message news:W$Bu2Lag$GA.297@forums.sybase.com...
Are you referencing classes stored outside of java/classes or html/classes?  And of course, outside of the java.* or javax.* packages.

Dave Wolf
Internet Applications Division
 
"<=one way=>" <oneway_111@yahoo.com> wrote in message news:VPTuw8Zg$GA.251@forums.sybase.com...
For some reason, I am getting java.lang.IncompatibleClassChangeError: Unimplemented interface method exception when making an interEJB call.
1) Two EJBs: Security and Data_element
2) Security EJB calls Data_element's findByVendorCode() method which results in the above exception.
3) If Data_element's findByVendorCode() method is called from Java client app it works without any problems.
4) The ejbFindByVendorCode() Before return. vendor_id = 1 message is written in the log by ejbFindByVendorCode() method just before it returns
5) Tried deleting all stubs and redeploying involved EJB, same result.
 
The extract from the log is enclosed. TIA.
--------------------------------------------------------------------------------------------
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\InitialContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NoInitialContextException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\NamingManager.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\spi\InitialContextFactory.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\NamingContext.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeOperations.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\OperationNotSupportedException.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NamingEnumeration.class
Feb 27 22:27:54 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\NotContextException.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\EntityBean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Bean.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\javax\naming\Context.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\_sk_quant_Data_element.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40HomeHelper.class
Feb 27 22:27:56 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\_st_J40Home.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaDataHelper.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\J40MetaData.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_elementHome_Stub.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_elementHome.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\java\classes\quant\Data_element.class
Feb 27 22:27:57 2000: ---> About to get data
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EntityContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBContext.class
Feb 27 22:27:57 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\IdentityImpl.class
Feb 27 22:27:57 2000: ---> ejbFindByVendorCode(). vendor_id = 1
Feb 27 22:27:57 2000: ---> selectByVendorCode(). Vendor_code = G_TICKER_SYMBOL
Feb 27 22:27:58 2000: ---> setPropFromResultSet()
Feb 27 22:27:58 2000: ---> ejbFindByVendorCode() Before return. vendor_id = 1
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\quant\Data_element_Stub.class
Feb 27 22:27:58 2000: Loading: C:\eas35\Jaguar CTS 3.5\html\classes\com\sybase\ejb\EJBObject.class
Feb 27 22:27:58 2000: java.lang.IncompatibleClassChangeError: Unimplemented interface method
Feb 27 22:27:58 2000:  at quant.Data_elementHome_Stub.findByVendorCode(Data_elementHome_Stub.java:274)
Feb 27 22:27:58 2000:  at quant.SecurityBean.ejbFindOrCreateByAK(SecurityBean.java:465)
Feb 27 22:27:58 2000:  at quant._sk_quant_Security.invoke(_sk_quant_Security.java:341)
Feb 27 22:27:58 2000: AFLIB Message: 18209/11/0: [Y:\calm\conn\itg\jagsrv\generic\dispatch\Transaction.cc/151]: Transaction::Commit(): Transaction was marked ABORTONLY - Aborting!
 
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security/ejbFindOrCreateByAK )
Feb 27 22:27:58 2000: SystemException: UNKNOWN (quant/Security:Home/findOrCreateByAK)