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.
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:)