Hi,
Thanks for the information.Actually I got the thing working. You do not
have to give the port.As you rightly say port 9000 is for http and the ormi
uses a port different than that. Thanks for the help.
regards
santosh s :)
-----Original Message-----
From: Karl Avedal [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 26, 2000 5:30 PM
To: Orion-Interest
Subject: Re: Problem using admin.jar
Hello Santosh,
I know others have answered, but I'd like to clarify somewhat why the
error message says. StreamCorruptedException means that the data gotten
back from the server isn't consitent with what can be expected, or like
the docs say it: "Thrown when control information that was read from an
object stream violates internal consistency checks"
Which usually means that what you connect to is not using the same
protocol. The admin tools connect with ormi (as the URL implies), and if
the responding end (port 9000 in your example) is not talking ormi, but
for example http, you get that error. If you do not know what port to
use, simply do not specify the port and it will use the default one.
Regards,
Karl Avedal
Santosh S wrote:
> Hello,
>
> What could be the cause for this error:
>
> java -jar admin.jar ormi://10.10.10.117:9000 admin 123 -shutdown
>
> Error: javax.naming.NamingException: Lookup error:
> java.io.StreamCorruptedException: Caught EOFException while reading the
> stream header; nested exception is:
> java.io.StreamCorruptedException: Caught EOFException while reading the
> stream header
>
> Env: WinNT4 SP6,JDK1.2.2,Orion 1.0.3
>
> regards
> santosh s:)