note that after some testing I have found that the above procedure does not
work on jboss 4.0.0 because of a bad/non-portable data definition in
${JBOSS_HOME}/server/postgres/deploy/ejb-deployer.xml.
The timers table - which is handled differently in 4.0.2RC1 - defines two
columns with the data type other - which in hypersonic is for java objects. I
have tried various data types for postgres and none of them work (bytea, int,
text, varchar, etc).
Does anyone know either
1) why the jbossall-client.jar shipped with jboss4.0.2RC1 errors when
connecting to the version of jboss it is shipped with. A ctx.lookup call
produces the following;
| javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
| java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair;
local class incompatible: stream classdesc serialVersionUID =
-3403843515711139134, local class serialVersionUID = -6485622724173581497]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:648)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
| at javax.naming.InitialContext.lookup(InitialContext.java:347)
| at styejb21.day05.client.SignOnClient.main(SignOnClient.java:35)
| Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
| java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair;
local class incompatible: stream classdesc serialVersionUID =
-3403843515711139134, local class serialVersionUID = -6485622724173581497
| at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
| ... 3 more
| Caused by: java.io.InvalidClassException:
org.jnp.interfaces.MarshalledValuePair; local class incompatible: stream
classdesc serialVersionUID = -3403843515711139134, local class serialVersionUID
= -6485622724173581497
| at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
| at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
| at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
| at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
| at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
| ... 5 more
|
Which doesn't happen when using this jbossall-client.jar or the 4.0.0 one when
connecting to jboss 4.0.0.
or
2) how I can make the timers table be created on postgresql without issues in
4.0.0?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873507#3873507
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873507
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user