Guys,
jBoss-2.0
jdk 1.2.2
Oracle 8.1.5
I have been trying to get some joy out of the test suite. However, I am
still having illegal argument exceptions where the floating point / double
precision (I have changed the interface / bean code to test both) numbers
are not being properly loaded from the Oracle database.
jaws.xml has the mapping FLOAT to FLOAT / DOUBLE to DOUBLE - seems fine.
Oracle sets up this field as a FLOAT(126) / NUMBER(38) - this too seems
reasonable.
There are no problems loading values _into_ the database - a quick
inspection using sqlplus shows this.
I have written a small test program to perform a task similar to that
performed by the test suite. It sets up a table with a FLOAT field, inserts
a few floats and then reads them out with no problems.
Where is the jBoss / Oracle combination going wrong where my little program
succeeds?
The trace below is typical of all the tests following testMultiThread.
testReadOnly -------------------------------
Acquire customers
Marc acquired
Rickard acquired
Acquire accounts
Do read calls
testReadOnly failed ------------------------
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.ServerException: Load failed; nested exception is:
java.lang.IllegalArgumentException: argument type mismatch
java.rmi.ServerException: Load failed; nested exception is:
java.lang.IllegalArgumentException: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:249)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:109)
at
org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:74)
at
org.jboss.proxy.ProxyCompiler$Runtime.invokeDouble(ProxyCompiler.java:114)
at org.jboss.test.bank.interfaces.Account$Proxy.getBalance(Unknown
Source)
at org.jboss.test.bank.client.Main.testReadOnly(Main.java:437)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.test.Main.runTest(Main.java:114)
at org.jboss.test.Main.postRegister(Main.java:74)
at org.jboss.test.bank.client.Main.main(Main.java:42)
Passed=0/1
Failed=1/1
I can remember some Oracle user posting to the list before now. If you're
reading this, can you please get in touch to let me know how the test suite
ran for you? Perhaps there's some configuration miracle I could perform. Or
something.
TIA,
M
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]