Hi,

following error occurs, if i try to call an EntityBean method from an
instance that i have created before or found by findByPrimarykey().
I am using JBoss2.0_PR3 jdk1.3 und Windows NT 4.0 SP6a/Windows 2000 and
Oracle 8.1.5/Linux.

--- Start Errorlog ---------
[JAWS] Load SQL:SELECT name,nummer,strasse,name2,land,plz,ort FROM
AdresseEB WHE
RE nummer=?
[ib/busines/AdresseEB] Set parameter:1
[ib/busines/AdresseEB] java.rmi.ServerException: Load failed; nested
exception i
s:
[ib/busines/AdresseEB]  java.rmi.ServerException: Load failed; nested
exception
is:
[ib/busines/AdresseEB]  java.lang.IllegalArgumentException: argument type
mismat
ch
[ib/busines/AdresseEB] java.rmi.ServerException: Load failed; nested
exception i
s:
[ib/busines/AdresseEB]  java.lang.IllegalArgumentException: argument type
mismat
ch
[ib/busines/AdresseEB] java.lang.IllegalArgumentException: argument type
mismatc
h
[ib/busines/AdresseEB]  at java.lang.reflect.Field.set(Native Method)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loa
dEntity(JAWSPersistenceManager.java:783)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntit
y(CMPPersistenceManager.java:180)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.EntitySynchronizationIntercepto
r.invoke(EntitySynchronizationInterceptor.java:185)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invok
e(EntityInstanceInterceptor.java:100)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxI
nterceptor.java:491)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactio
ns(TxInterceptor.java:216)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.TxInterceptor.invoke(TxIntercep
tor.java:100)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(Secu
rityInterceptor.java:93)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc
eptor.java:154)
[ib/busines/AdresseEB]  at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.
java:315)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
r.invoke(JRMPContainerInvoker.java:175)
[ib/busines/AdresseEB]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
r.invoke(JRMPContainerInvoker.java:159)
[ib/busines/AdresseEB]  at java.lang.reflect.Method.invoke(Native Method)
[ib/busines/AdresseEB]  at
sun.rmi.server.UnicastServerRef.dispatch(Unknown Sour
ce)
[ib/busines/AdresseEB]  at sun.rmi.transport.Transport$1.run(Unknown
Source)
[ib/busines/AdresseEB]  at
java.security.AccessController.doPrivileged(Native Me
thod)
[ib/busines/AdresseEB]  at sun.rmi.transport.Transport.serviceCall(Unknown
Sourc
e)
[ib/busines/AdresseEB]  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unk
nown Source)
[ib/busines/AdresseEB]  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.
run(Unknown Source)
[ib/busines/AdresseEB]  at java.lang.Thread.run(Unknown Source)
---- End Erorlog ------

What is my mistake ?

If I say that JAWS should create the table, JAWS do not create a primary
key and the attributes of the table are not in the order i have added them
with EJX.

-- 
Ingo Bruell

---
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: 9DD0 1776 DF4D 5B16  A532 C2A1 4701 EEA2
Germany      PGP-Public-Key available at pgpkeys.mit.edu

Sent through GMX FreeMail - http://www.gmx.net



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to