aspose file tools*
The moose likes Websphere and the fly likes Custom Registry with Database help!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Custom Registry with Database help!!!" Watch "Custom Registry with Database help!!!" New topic
Author

Custom Registry with Database help!!!

Binh Nguyen
Greenhorn

Joined: Feb 28, 2002
Posts: 16
I have to create a Custom Registry that store user data in a Database and authenticate them using Form-Based, Can you give me anyhelp, tutorial , anything I dont know where to start, my webapp runs well on WebLogic, but when we port it to WebSphere, we ran into lots of problem with this.
please help
thanks very much
Xenoux
ah,
Can you explain to me the three below parameter when I setup the security feature in the console:
Security Server ID
Security Server Password
Custom User Registry class name
I guess the User ID and Password are login at the database when the user table and group are created? so that user authentication can be obtained? am I right?
under what schema the tables ( user, group) are created? I guess under the schane of the above User ID and password?
Simon Song
Ranch Hand

Joined: Feb 01, 2002
Posts: 217
ftp://ftp.software.ibm.com/software/websphere/info/appserv/ic/CustomRegistry.zip


Simon Song
Certified Entperise Developer of Websphere
Simon Song
Ranch Hand

Joined: Feb 01, 2002
Posts: 217
CustomRegistry with RDBMS(oracle)
http://groups.google.com/groups?hl=en&threadm=6cf097cd.0110091424.36aca778%40posting.google.com&rnum=3&prev=/groups%3Fq%3Dcustomregistry%26hl%3Den%26rnum%3D3%26selm%3D6cf097cd.0110 091424.36aca778%2540posting.google.com
http://groups.google.com/groups?hl=zh-CN&threadm=9qt2hp%241d1c%241%40news.boulder.ibm.com&rnum=3&prev=/groups%3Fq%3Dwebsphere%2Bcustomregistry%26hl%3Dzh-CN
Nand Rayanker
Greenhorn

Joined: Aug 10, 2004
Posts: 1
Hi

I am in the process of implementing User Registry using Oracle database.
I have implemented UserRegistry which uses oracle dtabase and tested in single server.

Now I am in the process of deploying it in clustered environment.
After i configure custome registry and enable globale registry,
I added System Administrator->Console User.
Restarted the Node manager and node.

I logged in with user ID and password in admin console.

Then I tried to restart server/node from console it gives me following error
javax.management.JMRuntimeException: ADMN0022E: Access denied for the restart operation on NodeAgent MBean due to insufficient or empty credentials.
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.handleAdminFault(SOAPConnectorClient.java:611)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:580)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:465)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:290)
at $Proxy0.invoke(Unknown Source)
at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:162)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:662)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)
at com.ibm.ws.console.core.mbean.DistributedMBeanHelper.restartNode(DistributedMBeanHelper.java:464)
at com.ibm.ws.console.core.mbean.DistributedMBeanHelper.restartNodeAgent(DistributedMBeanHelper.java:446)
at com.ibm.ws.console.distmanagement.nodeagent.NodeAgentCollectionAction.perform(NodeAgentCollectionAction.java:169)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

Any idea why I am getting this error?

If some body has sample UserRegistry implemented for DB may have it?

thanks
Nandkumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Registry with Database help!!!