Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java runtime version and connection to EJB

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
GB
I'm new to java and thrown in at deep end......

been asked to get a client java app to run with 1.4 runtime (currently uses 1.3).

this connects to database via EJB's running on OC4J on the server.

now, if i point it at a 1.3 runtime... everything is fine and dandy.

if I point it at the 1.4 runtime it all goes horribly wrong...... the client app starts OK, but can't seem to communicate with the EJB's/OC4J.

anybody any idea's why this is the case?

is there anything I need to configure on the runtime?
 
I think Diancecht is correct. I suspect that it's to do with the marshalling/unmarshalling of objects between client and server. If the client is of a different JRE version to the server then how objects are serialised to the transport stream by one of the tiers is not guaranteed to be consistent with how the other tier unserialises (or should that be deserialises) it.

It would be nice to know if I'm close or way off.

Anybody? Sedj?
 
I'd need to see a stack trace !
Never did get on with OC4J & 9iAS though. Its ... a quirky container implementation I found.

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top