Hi
I have a jsch based web service running on weblogic server 9.2 on a unix
server. A part of this service executes a Unix shell script on a different
Unix server after creating an ssh session with that server using jsch Exec.
The hostname, port number and the host key in the known_hosts file is used
by the the service to create the ssh session without the need for a
password. Recently the Unix server that the web service connects to was
rebuilt. So the authorized key changed. The known_hosts file was updated for
the new server. Now we are able to ssh from the command line of the Unix
server with weblogic to the second server but when the web service tries to
do the same, we get this error:

Exception in thread "main" java.rmi.RemoteException: SOAPFaultException -
FaultCode {http://schemas.xmlsoap.org/soap/envelope/}Server FaultString
[Failed to invoke end componentFailed to invoke methodNo Configuration was
registered that can handle the configuration named
com.sun.security.jgss.initiate] FaultActor null Detail
[<detail>java.lang.IllegalArgumentException: No Configuration was registered
that can handle the configuration named
com.sun.security.jgss.initiate</detail>]; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Failed to invoke end componentFailed
to invoke methodNo Configuration was registered that can handle the
configuration named com.sun.security.jgss.initiate at
com.comp.service.client.CheckStatusPortType_Stub.processdoc(CheckStatusPortType_Stub.java:37)...
...
..

>From the logs I can see that this happens in the session.connect(timeout) in
the Session class. It looks like jsch is trying to get
com.sun.security.jgss.initiate settings but cannot find it. Our weblogic
server does not have the JAAS configuration defined. We never needed it
since all our processes were working correctly.

So the question is why is jsch looking for this setting? And how can I
disable this in the code? Interestingly, restarting or redeploying of the
service is not having any effect on this. Its still broken.

Thanks
Shaik Shahnaz
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to