*
The moose likes Websphere and the fly likes how to get connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "how to get connection" Watch "how to get connection" New topic
Author

how to get connection

srinivas anigani
Greenhorn

Joined: Aug 28, 2005
Posts: 7
Websphere 4.0 and database 7.2 both on single windows XP machine.

when I am establishing connection from websphere to database server,I am getting the following errors.



<<< ERROR--10:13:36--
at java.lang.reflect.Method.invoke(Native Method)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
at com.mst.security.domain.SecurityService.login(SecurityService.java:77)
at com.mst.security.servlet.SecurityController.doPost(SecurityController.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:718)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:428)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:870)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:788)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:439)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:239)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:104)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:61)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:132)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:271)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:49)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:303)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:232)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
>>>

How to get connection established with db2 database.
How to implement JAAS in Websphere 4.0.which version of JAAS I have to load.

[edited out e-mail]
[ August 29, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Srinivas,
Welcome to JavaRanch! I edited out your e-mail because we prefer people UseTheForumNotEmail.

It looks like the problem has to do with security in WebSphere, so I'll move this to the IBM/WebSphere forum for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get connection