• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

WAS unable to authenticate Proxy Server

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Standalone WebSphere application server hosted an application, on registration of user WebService call which is behind the proxy server over Internet and generate SMS on mobile.

In our Test Environment having Squid proxy server(linux), proxy resolved and No user authentication required by proxy, it works fine.
But when we deployed in Client Side environment, as Design attached. proxy resolved but given AD user authentication failed.
In logs: HTTP 407 Proxy authentication required. After Implemented user authentication but exception thrown.
The proxy and user authentication handle by Apache HTTP Client.

Please find attached the logs and Design.

Kindly guide us.

[5/4/15 12:36:27:732 PKT] 00000071 SystemOut O SMS sending using HTTP POST
[5/4/15 12:36:27:808 PKT] 00000071 SystemOut O SMS sending started
[5/4/15 12:36:27:813 PKT] 00000071 SystemOut O HTTP response is about to send
[5/4/15 12:36:39:913 PKT] 00000071 HttpAuthentic W org.apache.http.impl.auth.HttpAuthenticator generateAuthResponse NEGOTIATE authentication error: org.ietf.jgss.GSSException, major code: 11, minor code: 0
major string: General failure, unspecified at GSSAPI level
minor string: Desired initLifetime zero or less
[5/4/15 12:36:39:939 PKT] 00000071 lifecycle W #{ManageAddPatientAppointmentBean.savePatientAppointmentAction}: java.lang.UnsatisfiedLinkError: NativeCreds (Not found in com.ibm.oti.vm.bootstrap.library.path)
javax.faces.FacesException: #{ManageAddPatientAppointmentBean.savePatientAppointmentAction}: java.lang.UnsatisfiedLinkError: NativeCreds (Not found in com.ibm.oti.vm.bootstrap.library.path)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
-----
Caused by: javax.faces.el.EvaluationException: java.lang.UnsatisfiedLinkError: NativeCreds (Not found in com.ibm.oti.vm.bootstrap.library.path)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 34 more
Caused by: java.lang.UnsatisfiedLinkError: NativeCreds (Not found in com.ibm.oti.vm.bootstrap.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1076)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1040)
at java.lang.System.loadLibrary(System.java:509)
at com.ibm.security.krb5.a.run(a.java)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.ibm.security.krb5.Credentials.a(Credentials.java:215)
at com.ibm.security.krb5.Credentials.getDefaultNativeCreds(Credentials.java:524)
at com.ibm.security.krb5.Credentials.acquireDefaultCreds(Credentials.java:545)
at com.ibm.security.jgss.mech.krb5.x.a(x.java:154)
at com.ibm.security.jgss.mech.krb5.x.a(x.java:180)
at com.ibm.security.jgss.mech.krb5.x.a(x.java:126)
at com.ibm.security.jgss.mech.krb5.x.<init>(x.java:489)


I am unable to attach logs. Why?
SMS-Design.png
[Thumbnail for SMS-Design.png]
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic