No I did not see that config setting before. Thanks, I'll try it, but as I look at the
ObjectOutputStream code that sends the new TC_LONGSTRING encoding,
it will only do this when the string is > 64k. What in the jndi directory would be
so large?

----- Original Message -----
From: "Sebastien Alborini" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Monday, October 23, 2000 9:58 AM
Subject: Re: [jBoss-User] long string problem seen between 1.2.2 clientand1.3 server


> Hi,
>
> Have you changed your container configuration so that your jdk1.3 jboss
> server can talk to jdk1.2.2 clients?
>
> If yes, I don't know, if no, have a look at:
>
> http://www.jboss.org/contconf_howto.html
>
>
> HTH,
>
> Sebastien
>
>
>
> Scott M Stark wrote:
> >
> > Sorry about the bad subject, this is the same post with a good subject.
> >
> > I'm running the jBoss 2.0 BETA-PROD-02 build on a windows 2000 box using jdk1.3 and
> > I have a 1.2.2 jdk client trying to lookup a home interface and it is seeing a 
>StreamCorruptedException
> > due to the change in 1.3 for long utf strings. This should only be happening if 
>the string being
> > sent back is > 64k. Is the string data really that big and is there a way around 
>this?
> >
> > [ironmaiden:cvsroot/dscape/build] starksm% ant test-jboss
> > Searching for build.xml ...
> > Buildfile: /usr/local/src/cvsroot/dscape/build/build.xml
> >
> > test-jboss:
> >      [java] Exception in thread "main" javax.naming.CommunicationException.  Root 
>exception is java.io.StreamCorruptedException:
> > Type code out of range, is 125
> >      [java]     at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
> >      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
> >      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
> >      [java]     at 
>java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
> >      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
> >      [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
> >      [java]     at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
> >      [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:284)
> >      [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
> >      [java]     at javax.naming.InitialContext.lookup(InitialContext.java:354)
> >      [java]     at 
>com.dscape.test.projects.tstProjectInfoFileSystemEJB.<init>(tstProjectInfoFileSystemEJB.java:55)
> >      [java]     at 
>com.dscape.test.projects.tstProjectInfoFileSystemEJB.main(tstProjectInfoFileSystemEJB.java:218)
> > ^C
> > [ironmaiden:cvsroot/dscape/build] starksm%
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>
>



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

Reply via email to