IPlanet Auth Exception

We are having our application on SUnOne Portal. The problem is that when we are trying to login to the application, it gives us the following error
ERROR: populateOrgProfile
com.iplanet.am.sdk.AMException: Could not find service config : iPlanetAMAuthService
     at com.iplanet.am.sdk.AMObjectImpl.getTemplate(AMObjectImpl.java:574)
     at com.iplanet.authentication.service.AuthD.getOrganizationTemplate(AuthD.java:1169)
     at com.iplanet.authentication.service.AuthRequest.populateOrgProfile(AuthRequest.java:883)
     at com.iplanet.authentication.service.LoginServlet.doGetPost(LoginServlet.java:192)
     at com.iplanet.authentication.service.LoginServlet.doPost(LoginServlet.java:880)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
     at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1058)
     at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
12/02/2005 06:20:43:793 AM EST: Thread[Thread-107,5,main]
doGetPost.Authenticator:
com.iplanet.authentication.service.AuthException: Failed to get organization attributes
     at com.iplanet.authentication.service.AuthRequest.populateOrgProfile(AuthRequest.java:1040)
     at com.iplanet.authentication.service.LoginServlet.doGetPost(LoginServlet.java:192)
     at com.iplanet.authentication.service.LoginServlet.doPost(LoginServlet.java:880)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
     at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1058)
     at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
The login service was working good and we were able to authenticate the users also.But all of a sudden we are getting the above error.
Does any one have any information as to why we get this exeption.
We use following Software..
�     Sun ONE Directory Server 5.1
�     Sun ONE Web server 6.0
�     Sun ONE Identity Server 5.1
�     Sun ONE Portal Server 6.0.
and Planet Directory Server 5.1
Many Thanks
Raghav K

This looks like a permissions problem. What user are you using to start the portal?
Typically, the portal is installed as root and must also be started by root. The server can also be configured to run as non-root. If this is the case, then you should check the file and directory permissions for the /etc/opt/SUNWam/AMConfig.properties file.
Did the password change for any of the following users?
amldapuser
amadmin
puser
dsameuser
If any of these passwords were changed then the encrypted passwords need to be updated in AMConfig.properties and serverconfig.properties.

Similar Messages

  • ERROR: Got Auth Exception in CoreSystem

    Hi all,
    I've an OpenSSO log where somethimes we see this error:
    amXMLHandler:12/23/2011 10:37:31:201 AM CET: Thread[httpSSLWorkerThread-1443-19,10,Grizzly]
    ERROR: Got Auth Exception
    com.sun.identity.authentication.service.AuthException: Session has timed out|session_timeout.jsp
            at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:1194)
            ....I think this may be related to the Login page timing out. One strange thing is that most of the users use Windows Desktop SSO so they should never see the OpenSSO Login page.
    Any explanations?
    Regards.

    Hi all,
    I've an OpenSSO log where somethimes we see this error:
    amXMLHandler:12/23/2011 10:37:31:201 AM CET: Thread[httpSSLWorkerThread-1443-19,10,Grizzly]
    ERROR: Got Auth Exception
    com.sun.identity.authentication.service.AuthException: Session has timed out|session_timeout.jsp
            at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:1194)
            ....I think this may be related to the Login page timing out. One strange thing is that most of the users use Windows Desktop SSO so they should never see the OpenSSO Login page.
    Any explanations?
    Regards.

  • Iplanet connect exception when usig non acc client

    I am trying to connect a non acc client to my appserver. I have everything set up according to the sample program provided by sun. When i execute the client it "hangs" at the contect initialization line (Context initial = new InitialContext(env).
    when I check the log for the appserver it has the following error:
    com.iplanet.ias.cis.connection.ConnectException: com.iplanet.ias.cis.channel.tcp.TCPNativeException: -5973:EndPoint.JNI_getValidAddressNative: PR_GetHostByAddr() Failed
    at com.iplanet.ias.cis.connection.Connection.<init>(Connection.java:205)
    at com.iplanet.ias.cis.connection.ServerConnection.accept(ServerConnection.java:251)
    at com.sun.corba.ee.internal.iiop.ListenerThread.run(ListenerThread.java:77)
    Caused by: com.iplanet.ias.cis.channel.tcp.TCPNativeException: -5973:EndPoint.JNI_getValidAddressNative: PR_GetHostByAddr() Failed
    at com.iplanet.ias.cis.connection.EndPoint.getValidAddressNative(Native Method)
    at com.iplanet.ias.cis.connection.EndPoint.getValidAddress(EndPoint.java:239)
    at com.iplanet.ias.cis.connection.EndPoint.<init>(EndPoint.java:101)
    at com.iplanet.ias.cis.connection.EndPoint.getEndPoint(EndPoint.java:73)
    at com.iplanet.ias.cis.connection.EndPoint.getEndPoint(EndPoint.java:78)
    at com.iplanet.ias.cis.channel.tcp.TCPChannel.getLocalEndPoint(TCPChannel.java:68)
    at com.iplanet.ias.cis.connection.Connection.<init>(Connection.java:202)
    ... 2 more
    any idea what I am doing wrong?

    Were you ever able to resolve this problem? If so, please let me know how at [email protected]
    thanks
    suneet

  • Help Needed on Null Pointer Exception

    Hi All,
    Am using the wls10 platform. Any help would be appriciated. Have been struggling on this for a bit now.
    Thanks,
    The the relevant control code is:
    @JdbcControl.SQL(statement = "SELECT p.PATCH_ID, p.REQUIRES,ps.PRODUCT_DISPLAY_NAME, v.VERSION_NAME,p.PATCH_NAME,p.DESCRIPTION, to_char(p.RELEASE_DATE, 'MM/DD/YYYY') RELEASE_DATE, p.SUPERCEDES, p.RELEASE_TYPE, p.KB_ARTICLE, p.SYSTEM_IMPACT , p.DOWNLOAD_LOCATION, p.requirelogin, p.SEVERITY, p.ACTIVE, p.MD5, P.DOWNLOAD_FILE_SIZE from patch p, version v, products ps where p.VERSION_ID = v.VERSION_ID and v.PRODUCT_ID = ps.PRODUCT_ID and upper(p.PATCH_NAME) {sql: whereClause} and v.active = 1 ORDER BY ps.PRODUCT_DISPLAY_NAME, v.VERSION_NAME")
         public Patch[] findPatchByReleaseName(String whereClause)throws SQLException;
    The controller code is:
         @Jpf.Action(forwards = {
                        @Jpf.Forward(name = "success", path = "Downloadpage.jsp", actionOutputs = { @Jpf.ActionOutput(name = "findPatchResult", type = com.vmware.s3portal.domain.Patch[].class) }),
                        @Jpf.Forward(name = "noResults", path = "index.jsp"),
                        @Jpf.Forward(name = "authError", path = "/jsps/authCheck.jsp"),
                        @Jpf.Forward(name = "error", path = "/jsps/error.jsp") })
              public Forward findPatchByReleaseName(DisplayDataFormBean form) {
                   Forward forward = null;
                   String patchname = form.getPatchname();
                   boolean releaseNameFlag = true;
                   if (logger.isDebugEnabled()) {
                        logger.debug("patchname in findPatchByReleaseName is = " + patchname);
                   try {
                        findPatchResult = null;// reset it
                        if(patchname != null){
                             patchname = patchname.trim().toUpperCase();
                        if (! StringUtils.isEmptyString(patchname) && ! IllegalCharValidator.isValid(patchname)) {
                             logger.debug("patchname is illegal.");
                             forward = new Forward("noResults");
                             forward.addActionOutput("noResults", Boolean.TRUE);
                             setPageOutputs(forward, form);
                             return forward;
                        String whereClause = "";
                        if (!StringUtils.isEmptyString(patchname)) {
                             logger.debug("search by patchname");
                             if (patchname.indexOf("*") != -1 || patchname.indexOf(" ") != -1 || patchname.indexOf("-") != -1) {
                                  patchname = patchname.replaceAll("\\*", "%");
                                  patchname = patchname.replaceAll(" ", "%");
                                  patchname = patchname.replaceAll("\\-", "%");
                                  whereClause += " like '%" + patchname + "%'";
                             } else {
                                  whereClause += " like '%" + patchname + "%'";
                        whereClause = getWhereClause(whereClause);
                        logger.debug("whereClause in findPatchByReleaseName: " + whereClause);
                        findPatchResult = rmcontrol.findPatchByReleaseName(whereClause);
                        if (findPatchResult == null || findPatchResult.length == 0) {
                             // forward to index.jsp
                             forward = new Forward("noResults");
                             forward.addActionOutput("noResults", Boolean.TRUE);
                             setPageOutputs(forward, form);
                             return forward;
                        sorter.sort(getRequest(),findPatchResult);
                        logger.debug("Total number of patchs returned in ReleaseName Search: "+ findPatchResult.length);
                        forward = new Forward("success");
                        forward.addActionOutput("products", products);
                        forward.addActionOutput("versions", versions);
                        forward.addOutputForm(form);
                        forward.addActionOutput("actionForm", form);
                        forward.addActionOutput("findPatchResult", findPatchResult);
                        forward.addActionOutput("sorter", sorter);
                        forward.addActionOutput("releaseNameFlag", releaseNameFlag);
                   } catch (S3PException exception) {
                        logger.error("Auth Exception in findPatchByReleaseName().", exception);
                        forward = new Forward("authError");
                   } catch (Exception exception) {
                        logger.error("Exception in findPatchByReleaseName().", exception);
                        forward = new Forward("error");
                   return forward;
    The exception I am getting is:
    14 May 2008 15:48:58,028 ERROR PatchupdateController: Exception in findPatchByRe
    leaseName().
    java.lang.NullPointerException
    at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.execPreparedS
    tatement(JdbcControlImpl.java:257)
    at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.invoke(JdbcCo
    ntrolImpl.java:224)
    at com.vmware.s3portal.dbaccess.RMControlBean.findPatchByReleaseName(RMC
    ontrolBean.java:191)
    at portlets.patchupdate.PatchupdateController.findPatchByReleaseName(Pat
    chupdateController.java:291)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
    Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;
    I)Ljava.lang.Object;(Unknown Source)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(F
    lowController.java:870)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForwa
    rd(FlowController.java:809)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(Flow
    Controller.java:478)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(
    PageFlowController.java:306)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowControll
    er.java:336)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execu
    te(FlowControllerAction.java:52)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:431)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201
    (PageFlowRequestProcessor.java:97)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunn
    er.execute(PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionIntercepto
    r.wrapAction(ActionInterceptor.java:168)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors.wrapAction(ActionInterceptors.java:87)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processAct
    ionPerform(PageFlowRequestProcessor.java:2116)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:236)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInt
    ernal(PageFlowRequestProcessor.java:556)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(Pa
    geFlowRequestProcessor.java:853)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(A
    utoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageF
    lowActionServlet.java:158)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlow
    Utils.java:1170)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.exec
    uteAction(ScopedContentCommonSupport.java:686)

    Hi All,
    Am using the wls10 platform. Any help would be appriciated. Have been struggling on this for a bit now.
    Thanks,
    The the relevant control code is:
    @JdbcControl.SQL(statement = "SELECT p.PATCH_ID, p.REQUIRES,ps.PRODUCT_DISPLAY_NAME, v.VERSION_NAME,p.PATCH_NAME,p.DESCRIPTION, to_char(p.RELEASE_DATE, 'MM/DD/YYYY') RELEASE_DATE, p.SUPERCEDES, p.RELEASE_TYPE, p.KB_ARTICLE, p.SYSTEM_IMPACT , p.DOWNLOAD_LOCATION, p.requirelogin, p.SEVERITY, p.ACTIVE, p.MD5, P.DOWNLOAD_FILE_SIZE from patch p, version v, products ps where p.VERSION_ID = v.VERSION_ID and v.PRODUCT_ID = ps.PRODUCT_ID and upper(p.PATCH_NAME) {sql: whereClause} and v.active = 1 ORDER BY ps.PRODUCT_DISPLAY_NAME, v.VERSION_NAME")
         public Patch[] findPatchByReleaseName(String whereClause)throws SQLException;
    The controller code is:
         @Jpf.Action(forwards = {
                        @Jpf.Forward(name = "success", path = "Downloadpage.jsp", actionOutputs = { @Jpf.ActionOutput(name = "findPatchResult", type = com.vmware.s3portal.domain.Patch[].class) }),
                        @Jpf.Forward(name = "noResults", path = "index.jsp"),
                        @Jpf.Forward(name = "authError", path = "/jsps/authCheck.jsp"),
                        @Jpf.Forward(name = "error", path = "/jsps/error.jsp") })
              public Forward findPatchByReleaseName(DisplayDataFormBean form) {
                   Forward forward = null;
                   String patchname = form.getPatchname();
                   boolean releaseNameFlag = true;
                   if (logger.isDebugEnabled()) {
                        logger.debug("patchname in findPatchByReleaseName is = " + patchname);
                   try {
                        findPatchResult = null;// reset it
                        if(patchname != null){
                             patchname = patchname.trim().toUpperCase();
                        if (! StringUtils.isEmptyString(patchname) && ! IllegalCharValidator.isValid(patchname)) {
                             logger.debug("patchname is illegal.");
                             forward = new Forward("noResults");
                             forward.addActionOutput("noResults", Boolean.TRUE);
                             setPageOutputs(forward, form);
                             return forward;
                        String whereClause = "";
                        if (!StringUtils.isEmptyString(patchname)) {
                             logger.debug("search by patchname");
                             if (patchname.indexOf("*") != -1 || patchname.indexOf(" ") != -1 || patchname.indexOf("-") != -1) {
                                  patchname = patchname.replaceAll("\\*", "%");
                                  patchname = patchname.replaceAll(" ", "%");
                                  patchname = patchname.replaceAll("\\-", "%");
                                  whereClause += " like '%" + patchname + "%'";
                             } else {
                                  whereClause += " like '%" + patchname + "%'";
                        whereClause = getWhereClause(whereClause);
                        logger.debug("whereClause in findPatchByReleaseName: " + whereClause);
                        findPatchResult = rmcontrol.findPatchByReleaseName(whereClause);
                        if (findPatchResult == null || findPatchResult.length == 0) {
                             // forward to index.jsp
                             forward = new Forward("noResults");
                             forward.addActionOutput("noResults", Boolean.TRUE);
                             setPageOutputs(forward, form);
                             return forward;
                        sorter.sort(getRequest(),findPatchResult);
                        logger.debug("Total number of patchs returned in ReleaseName Search: "+ findPatchResult.length);
                        forward = new Forward("success");
                        forward.addActionOutput("products", products);
                        forward.addActionOutput("versions", versions);
                        forward.addOutputForm(form);
                        forward.addActionOutput("actionForm", form);
                        forward.addActionOutput("findPatchResult", findPatchResult);
                        forward.addActionOutput("sorter", sorter);
                        forward.addActionOutput("releaseNameFlag", releaseNameFlag);
                   } catch (S3PException exception) {
                        logger.error("Auth Exception in findPatchByReleaseName().", exception);
                        forward = new Forward("authError");
                   } catch (Exception exception) {
                        logger.error("Exception in findPatchByReleaseName().", exception);
                        forward = new Forward("error");
                   return forward;
    The exception I am getting is:
    14 May 2008 15:48:58,028 ERROR PatchupdateController: Exception in findPatchByRe
    leaseName().
    java.lang.NullPointerException
    at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.execPreparedS
    tatement(JdbcControlImpl.java:257)
    at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.invoke(JdbcCo
    ntrolImpl.java:224)
    at com.vmware.s3portal.dbaccess.RMControlBean.findPatchByReleaseName(RMC
    ontrolBean.java:191)
    at portlets.patchupdate.PatchupdateController.findPatchByReleaseName(Pat
    chupdateController.java:291)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
    Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;
    I)Ljava.lang.Object;(Unknown Source)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(F
    lowController.java:870)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForwa
    rd(FlowController.java:809)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(Flow
    Controller.java:478)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(
    PageFlowController.java:306)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowControll
    er.java:336)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execu
    te(FlowControllerAction.java:52)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:431)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201
    (PageFlowRequestProcessor.java:97)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunn
    er.execute(PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionIntercepto
    r.wrapAction(ActionInterceptor.java:168)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors.wrapAction(ActionInterceptors.java:87)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processAct
    ionPerform(PageFlowRequestProcessor.java:2116)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:236)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInt
    ernal(PageFlowRequestProcessor.java:556)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(Pa
    geFlowRequestProcessor.java:853)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(A
    utoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageF
    lowActionServlet.java:158)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlow
    Utils.java:1170)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.exec
    uteAction(ScopedContentCommonSupport.java:686)

  • Exception when trying to post to a page

    In NetD we created and submitted a form with JavaScript.
    The form looked something like this
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
    </FORM>
    So now in Jato, we're trying to do the exact same thing,
    except that instead of SPIDERSESSION, we use the three Jato
    variables. Now the form is like this:
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
    <INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
    <INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
    </FORM>
    Notice we're not submitting to a handler, but just to the page itself.
    When we do this, we get an exception:
    [02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
    Error in executing servlet portalServlet:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler
    Exception Stack Trace:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
    st(ApplicationServletBase.java:668)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.processReques
    t(ApplicationServletBase.java:428)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
    ationServletBase.java:296)^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
    at
    com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
    ^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)^M
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
    n Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
    at java.lang.Thread.run(Thread.java:479)^M
    So what are we missing??

    Thanks Kostas, good answer.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, October 02, 2001 4:31 PM
    Subject: RE: [iPlanet-JATO] Exception when trying to post to a page
    Hi Mark
    You are trying to submit to a view bean using java script right ?
    Notice we're not submitting to a handler, but just to the page itself.You are actually submitting the request to your JATO selvlet base, is that
    you intention ?
    The exception is being thrown because there is no request handler found.
    If you are trying invoke a handleBtnXXXmethod then your form action would
    look something like,
    <form method="post" action="../myServlet/pgMyPage?pgMypage.btnMyButton=">
    This adds to the request an appropriate handler as a parameter. Another
    option could be to add a hidden field
    with the same name as your button.
    Attempting to post the form without specifying a request handler will not
    work eg:
    <form method="post" action="../myServlet/pgMyPage">
    This throws a ServletException("The request was not be handled by the
    specified handler")
    because you are doing a post to ViewBean from a form which implies youwant
    to handle some kind web action.
    The way JATO enforces this is to check for the prescence of pageAttributes
    in the request (implemented using hidden fields)
    which you have in your form.
    Kostas
    -----Original Message-----
    From: Mark_Dubinsky@p... [mailto:<a href="/group/SunONE-JATO/post?protectID=174166091163159191130171186101229144026098131198043123114199021239115076086020224">Mark_Dubinsky@p...</a>]
    Sent: Tuesday, October 02, 2001 10:04 PM
    Subject: [iPlanet-JATO] Exception when trying to post to a page
    In NetD we created and submitted a form with JavaScript.
    The form looked something like this
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
    </FORM>
    So now in Jato, we're trying to do the exact same thing,
    except that instead of SPIDERSESSION, we use the three Jato
    variables. Now the form is like this:
    <FORM ACTION=pgXYZ METHOD=POST>
    <INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
    <INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
    <INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
    </FORM>
    Notice we're not submitting to a handler, but just to the page itself.
    When we do this, we get an exception:
    [02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
    Error in executing servlet portalServlet:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler
    Exception Stack Trace:
    javax.servlet.ServletException: The request was not be handled by the
    specified handler^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
    st(ApplicationServletBase.java:668)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.processReques
    t(ApplicationServletBase.java:428)^M
    at
    com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
    ationServletBase.java:296)^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
    at
    com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
    ^M
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)^M
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
    n Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
    at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
    at java.lang.Thread.run(Thread.java:479)^M
    So what are we missing??
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]

  • ODSEE to OIM Reconciliation issue - Invalid number of users

    Hi All,
    I'm trying to run an iPlanet User Trusted Recon Task job (Create users in OIM from ODSEE).
    I've added Recon fields for the "Xellerate User" Resource Object in OIM Design Console. I've setup all the reconciliation mappings in the Process Definition - Recon Field Mappings. Added code key/decode for Lookup.iPlanet.Configuration under Lookup Definition and Created Reconciliation Rule.
    When I click the "Create Reconciliation Profile" button under Object Resource -> Object Reconciliation -> Reconciliation fields. I get the following error:
    <Mar 17, 2011 2:25:50 PM EST> <Error> <oracle.iam.platform.auth.impl> <IAM-0060010> <Error while loading mapping plugin
    oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:135)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
    at oracle.iam.conf.api.SystemConfigurationServiceEJB.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy295.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.getSystemPropertyx(SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.java:139)
    at sun.reflect.GeneratedMethodAccessor1753.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at $Proxy128.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy306.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationServiceDelegate.getSystemProperty(Unknown Source)
    at oracle.iam.reconciliation.utils.Sys.getProperty(Sys.java:63)
    at oracle.iam.reconciliation.impl.config.Profile.initSystemProperties(Profile.java:97)
    at oracle.iam.reconciliation.impl.config.Profile.<init>(Profile.java:71)
    at oracle.iam.reconciliation.impl.config.ProfileXML.getProfileFromXMLObject(ProfileXML.java:210)
    at oracle.iam.reconciliation.impl.config.ProfileManager.readProfileFromXML(ProfileManager.java:301)
    at oracle.iam.reconciliation.impl.config.ProfileManager.metadataObjectChanged(ProfileManager.java:115)
    at oracle.mds.internal.notifications.EventNotificationManager$1.run(EventNotificationManager.java:615)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvent(EventNotificationManager.java:611)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvents(EventNotificationManager.java:538)
    at oracle.mds.internal.notifications.EventDispatcherThread.run(EventDispatcherThread.java:72)
    >
    oracle.iam.platform.auth.exception.AuthenticationException: oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:103)
    at oracle.iam.conf.api.SystemConfigurationServiceEJB.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy295.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.getSystemPropertyx(SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.java:139)
    at sun.reflect.GeneratedMethodAccessor1753.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at $Proxy128.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy306.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationServiceDelegate.getSystemProperty(Unknown Source)
    at oracle.iam.reconciliation.utils.Sys.getProperty(Sys.java:63)
    at oracle.iam.reconciliation.impl.config.Profile.initSystemProperties(Profile.java:97)
    at oracle.iam.reconciliation.impl.config.Profile.<init>(Profile.java:71)
    at oracle.iam.reconciliation.impl.config.ProfileXML.getProfileFromXMLObject(ProfileXML.java:210)
    at oracle.iam.reconciliation.impl.config.ProfileManager.readProfileFromXML(ProfileManager.java:301)
    at oracle.iam.reconciliation.impl.config.ProfileManager.metadataObjectChanged(ProfileManager.java:115)
    at oracle.mds.internal.notifications.EventNotificationManager$1.run(EventNotificationManager.java:615)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvent(EventNotificationManager.java:611)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvents(EventNotificationManager.java:538)
    at oracle.mds.internal.notifications.EventDispatcherThread.run(EventDispatcherThread.java:72)
    Caused by: oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:135)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
    ... 45 more
    Result Size = 1 PACKAGE STATUS = VALID
    Recompiling packages - RDBMS
    I run the iPlanet User Trusted Recon Task and nothing happens, no log gets produced in the oim_server1.log and users don't get created.
    Any help is appreciated. Thanks

    I get the same error when installing connectors. Installed both the SUN DSE and MS AD Base connector now and see this error several times during installation.
    Installation says is succeeds though.
    Will move on to creating the IT resources now to see if they actually work.

  • User is not authorized

    Hi,
    I have a reqt where i have to create auth on 2 info object namely location and region. I have done following steps but when i run the query i get "user is not authorized" error
    1: Made location authorization relevant and in navigational attribute checked region as authorization relelvant
    2: In rsecadmin , created analysis authorization for location and region specifying the value and also provided the 3 other 0TCT* auth.
    3: Creater a role with auth object s_rs_auth and assigned the created analysis auth. Also added 2 auth object s_rs_comp with full auth except display and execute and s_rs_comp1 since queries are build by other person
    4: assigned this role to the user
    5: when i run the query i see the reqd  5 location and 1 region in variable input help but when i execute it gives me "user is not authorized" error.
    Please let me know if i miss any step or how can i get the data
    Thanks
    Prashant

    Hello prashant,
    It is possible with Analysis authorization. You're just probably missing something...
    First of all realize that in your first step:
    1: Made location authorization relevant and in navigational attribute checked region as authorization relelvant
    assigning a characteristic as authorizationRelevant and assigning an attribute as authorizathionRelevant are two distinct things.
    So please check the authorization created under RSECADMIN that you've included authorization for the characteristic "location" and also for the characteristic "location__region" (and not for "region"!)
    If so you do have to check what is missing:
    check transaction RSECADMIN -> Analysis -> Execute as... to analyze the system authorization check.
    Please test that... It would show the sql code that lacks for authorization, there you can see what characteristic (and values accessed and assigned) are missing.
    Diogo.

  • Running out of data connections

    Problem Statement:
    Running out of data connections after some time and
    the following SQLException is thrown:
    "failed to create a data connection with any of the
    specified drivers"
    Problem Description:
    I have an application that is running under iPlanet
    6.0 on solaris using Oracle 8 and type 2 Oracle
    driver.
    The application is using a number of stateless
    session beans.
    Normally, my servlets instantiate the remote beans in
    order to make access to their interfaces. For
    example, I have a servlet that fetches all of
    the accounts for a given customer. First, The servlet
    does the fetch by calling JNDI to lookup the "home"
    interface, then does a "create" call on the home
    interface to get the "remote" interface
    (see snippets of code below, the ejbCreate()).
    Second, the servlet calls up a specific method that
    extracts the customer's accounts (see snippets of
    code below, the method getAccountList()).
    At first all seem to work well, however after some
    random time my beans start to throw the SQLException
    "failed to create a data connection with any of the
    specified drivers"
    At first I thought that I am not closing the
    connections, but all of of my connections,
    statements, and result sets, are closed
    and even set to null in a finally block as you can
    see in the snippets of code below.
    If I restart iAS, all of the connections get released
    and things look normal again till the problem
    re-occurs.
    Initially, we had this problem on SP2, so we upgraded
    to SP3 thinking that this may solve the problem,
    however the problem remained on SP3.
    Another thing, this same application works perfectly
    well on my laptop which has similar iPlanet
    configurations except that operating system is
    Windows 2000 Advanced Server, and Oracle 8.0.4.0.0.
    System Configuration:
    Following is my system configuration and related
    iPlanet 6.0 settings.
    -1- iPlanet 6.0 SP3
    -2- Type 2 Oracle driver
    -3- SunOs, sparc SUNW, Ultra-250, solaris 5.8
    -4- Oracle 8.1.6.0.0 64-bit Production
    -5- Following are the entry settings in the iPlanet
    registry under
    Software\iPlanet\Application Server\6.0\CCS0\DAE2\ORACLE_OCI
    - CacheCleanInterval = 120
    - CacheConnTimeOut = 120
    - CacheDebugMsgs = 0
    - CacheFreeSlots = 16
    - CacheInitSlots = 64
    - CacheMaxConn = 64
    - CachMaxGlobalConn = 128
    - ConnGiveUpTime = 60
    - RMThreadMax = 32
    - RMThreadMin = 0
    - RSBufferInitRows = 25
    - RSBufferMaxBufferSize = 6553600
    - RSBufferMaxRows = 100
    - RSBufferMaxSize = 32768
    - SQLDebugMsgs = 0
    Snippets of Code:
    The following snippets of code come from a stateless
    session bean and consist of a local data member, the
    ejbCreate() method, and a typical rmi method that
    does the database connection and extraction of
    related records.
    javax.sql.DataSource dataSourceObj = null;
    public void ejbCreate()
    throws java.rmi.RemoteException, javax.ejb.CreateException
    javax.naming.Context ctx = null;
    // Ensure first that the _props have been
    // successfully instantiated by the constructor.
    if (_props != null) {
    try{
    ctx = new javax.naming.InitialContext();
    }catch (Exception ex){           
         nbUtility.logError(ex,"Error while creating Initial Context !");
    try{
    // DEBUG:
    System.out.println("ejbCreate(): NB_DATASOURCE = " + props.getPropertyValue(props.NB_DATASOURCE));
    // DEBUG:
         dataSourceObj = (javax.sql.DataSource) ctx.lookup(_props.getPropertyValue(_props.NB_DATASOURCE));
    catch (Exception ex){
         ex.printStackTrace();
    if (dataSourceObj == null)
    throw new javax.ejb.CreateException("Couldn't get DataSource object from environment");
    } else {
    throw new javax.ejb.CreateException("Couldn't create the property manager: NB_CONFIG_FILE is null, empty, not set, or the file doesn't exist.");
    * Given a customer number, this method
    * returns the list of accounts that belongs to
    * this customers.
    public nbAccountList getAccountList(String CustomerNo)
    throws java.rmi.RemoteException {
    nbAccountList accountList = null;
    if ((CustomerNo != null) && (!CustomerNo.equals(""))) {
    java.sql.Connection conn = null;
    java.sql.Statement stmt = null;
    java.sql.ResultSet rset = null;
    try {
    accountList = new nbAccountList();
    String sql = "SELECT * FROM " +
    props.getPropertyValue(props.NB_DBTABLE_ACCOUNT) +
    " WHERE " +
    "(" + props.getPropertyValue(props.NB_DBFIELD_ACCOUNT_CUSTOMERNO) +
    "='" + CustomerNo + "')";
    // DEBUG:
    nbDebug.write("accounts list SQL= " + sql);
    // DEBUG:
    // Let's get the connection, the statement, and the record set.
    conn = dataSourceObj.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sql);
    // Let's loop for each single account
    int index = 0;
    nbAccount account = null;
    while (rset.next()) {
         String AccountNo = rset.getString(_props.getPropertyValue(_props.NB_DBFIELD_ACCTPERMIS_ACCOUNTNO));
    // Instantiate an account object
    account = new nbAccount(AccountNo);
    index++;
    } catch (SQLException e) {
         nbUtility.logError(e, "SQLException while trying to get accounts data.");
    } finally {
    try {
    if (rset != null) { rset.close(); rset = null; }      
    if (stmt != null) { stmt.close(); stmt = null; }
    if (conn != null) { conn.close(); conn = null; }
    } catch (SQLException e) {
         nbUtility.logError(e, "SQLException while trying to close connection.");
    return (accountList);      
    }

    I've experienced similar problems. Unfortunately, all efforts by iPlanet
    technical support to resolve the issue have failed. (They do keep calling
    and asking if they can close the ticket for some reason)
    One thing that's totally anoying is the ksvradmin monitory crashes when I
    try to have it report any connection pool information. They verified it's a
    bug in SP3 but won't say if it's fixed in SP4 or provide an estimate.
    To date here's what I've tried (by tech support's recomendation):
    1) Configure for global transactions. (even thow I'm not using them)
    (Failed)
    2) Switch to using 3rd party driver (We were previously using native)
    (Failed)
    3) Ran report on oracle showing number of connections used during iplanet's
    failed attempt. Report from Oracle shows 2 connections open, but iPlanet is
    configured for 120.
    4) Increased the connection pool size. (I didn't know why based on the
    above info) (Increased to 300) (Failed)
    Well there's my history. We crash after about 3 days of heavy usage. I'm
    about to give up and just reset my servers each night. Will help me with
    logfile rotation of the kjs files as well.
    Rodger Ball
    Sr. Engineer
    Business Wire
    "Bilal Chouman" <[email protected]> wrote in message
    news:[email protected]...
    Problem Statement:
    Running out of data connections after some time and
    the following SQLException is thrown:
    "failed to create a data connection with any of the
    specified drivers"
    Problem Description:
    I have an application that is running under iPlanet
    6.0 on solaris using Oracle 8 and type 2 Oracle
    driver.
    The application is using a number of stateless
    session beans.
    Normally, my servlets instantiate the remote beans in
    order to make access to their interfaces. For
    example, I have a servlet that fetches all of
    the accounts for a given customer. First, The servlet
    does the fetch by calling JNDI to lookup the "home"
    interface, then does a "create" call on the home
    interface to get the "remote" interface
    (see snippets of code below, the ejbCreate()).
    Second, the servlet calls up a specific method that
    extracts the customer's accounts (see snippets of
    code below, the method getAccountList()).
    At first all seem to work well, however after some
    random time my beans start to throw the SQLException
    "failed to create a data connection with any of the
    specified drivers"
    At first I thought that I am not closing the
    connections, but all of of my connections,
    statements, and result sets, are closed
    and even set to null in a finally block as you can
    see in the snippets of code below.
    If I restart iAS, all of the connections get released
    and things look normal again till the problem
    re-occurs.
    Initially, we had this problem on SP2, so we upgraded
    to SP3 thinking that this may solve the problem,
    however the problem remained on SP3.
    Another thing, this same application works perfectly
    well on my laptop which has similar iPlanet
    configurations except that operating system is
    Windows 2000 Advanced Server, and Oracle 8.0.4.0.0.
    System Configuration:
    Following is my system configuration and related
    iPlanet 6.0 settings.
    -1- iPlanet 6.0 SP3
    -2- Type 2 Oracle driver
    -3- SunOs, sparc SUNW, Ultra-250, solaris 5.8
    -4- Oracle 8.1.6.0.0 64-bit Production
    -5- Following are the entry settings in the iPlanet
    registry under
    Software\iPlanet\Application Server\6.0\CCS0\DAE2\ORACLE_OCI
    - CacheCleanInterval = 120
    - CacheConnTimeOut = 120
    - CacheDebugMsgs = 0
    - CacheFreeSlots = 16
    - CacheInitSlots = 64
    - CacheMaxConn = 64
    - CachMaxGlobalConn = 128
    - ConnGiveUpTime = 60
    - RMThreadMax = 32
    - RMThreadMin = 0
    - RSBufferInitRows = 25
    - RSBufferMaxBufferSize = 6553600
    - RSBufferMaxRows = 100
    - RSBufferMaxSize = 32768
    - SQLDebugMsgs = 0
    Snippets of Code:
    The following snippets of code come from a stateless
    session bean and consist of a local data member, the
    ejbCreate() method, and a typical rmi method that
    does the database connection and extraction of
    related records.
    javax.sql.DataSource dataSourceObj = null;
    public void ejbCreate()
    throws java.rmi.RemoteException, javax.ejb.CreateException
    javax.naming.Context ctx = null;
    // Ensure first that the _props have been
    // successfully instantiated by the constructor.
    if (_props != null) {
    try{
    ctx = new javax.naming.InitialContext();
    }catch (Exception ex){
    nbUtility.logError(ex,"Error while creating Initial Context
    try{
    // DEBUG:
    System.out.println("ejbCreate(): NB_DATASOURCE = " +
    props.getPropertyValue(props.NB_DATASOURCE));
    // DEBUG:
    dataSourceObj = (javax.sql.DataSource)
    ctx.lookup(_props.getPropertyValue(_props.NB_DATASOURCE));
    catch (Exception ex){
    ex.printStackTrace();
    if (dataSourceObj == null)
    throw new javax.ejb.CreateException("Couldn't get DataSource
    object from environment");
    } else {
    throw new javax.ejb.CreateException("Couldn't create the
    property manager: NB_CONFIG_FILE is null, empty, not set, or thefile
    doesn't exist.");
    * Given a customer number, this method
    * returns the list of accounts that belongs to
    * this customers.
    public nbAccountList getAccountList(String CustomerNo)
    throws java.rmi.RemoteException {
    nbAccountList accountList = null;
    if ((CustomerNo != null) && (!CustomerNo.equals(""))) {
    java.sql.Connection conn = null;
    java.sql.Statement stmt = null;
    java.sql.ResultSet rset = null;
    try {
    accountList = new nbAccountList();
    String sql = "SELECT * FROM " +
    props.getPropertyValue(props.NB_DBTABLE_ACCOUNT)
    +
    " WHERE " +
    "(" +
    props.getPropertyValue(props.NB_DBFIELD_ACCOUNT_CUSTOMERNO) +
    "='" + CustomerNo + "')";
    // DEBUG:
    nbDebug.write("accounts list SQL= " + sql);
    // DEBUG:
    // Let's get the connection, the statement, and the record
    set.
    conn = dataSourceObj.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sql);
    // Let's loop for each single account
    int index = 0;
    nbAccount account = null;
    while (rset.next()) {
    String AccountNo =
    rset.getString(_props.getPropertyValue(_props.NB_DBFIELD_ACCTPERMIS_ACCOUNTN
    O));
    >
    // Instantiate an account object
    account = new nbAccount(AccountNo);
    index++;
    } catch (SQLException e) {
    nbUtility.logError(e, "SQLException while trying to get
    accounts data.");
    } finally {
    try {
    if (rset != null) { rset.close(); rset = null; }
    if (stmt != null) { stmt.close(); stmt = null; }
    if (conn != null) { conn.close(); conn = null; }
    } catch (SQLException e) {
    nbUtility.logError(e, "SQLException while trying to close
    connection.");
    return (accountList);
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Unable to call Forte method by SOAP

    Hi,
    I am trying to see about XML server forte example but I have a problem, After calling the forte method by SOAP, I have this message as result by iPlanet UDS:
    Exception in thread "main" java.lang.Exception: CustomerSOProxy.getName received
    SOAP Fault; code=SOAP-ENV:Client string=invalid request
    at com.forte.xmlsvr.customerservice.CustomerSOProxy.getName(CustomerSOPr
    oxy.java:43)
    at CustClient.main(CustClient.java:6)
    Customer is a Forte class used by CustomerSO service object in Forte. I have written getName method which returns my name. I did this for testing.
    I verified:
    - The application is running under environment console.
    - The client side call has correct URL http://localhost:9090
    I appreciate you help on this. Thank you very much in advance.

    by starting a new thread i will lose all change that
    i have done in the applet. new thread in the forums... what does that have to do either way with your applet? the forum is not tied to your code, neither would a Java thread, which you can always keep a copy of your original code. Or what are you talking about?
    the problem is that i have
    a applet in one window ...which can be modified (that
    is rotate etc). now i need to open another new window
    from this window . in this new window i want to
    display the modified applet . so tell me who can i
    capture the change in the appletI already answered your other thread that you did, finally, post.

  • Token authentication timeout

    I'm seeing some behavior I don't understand with token timeouts. My code creates a token with a 60 minute, 100 login limit:
    try
       ISessionMgr        sessionMgr        = CrystalEnterprise.getSessionMgr();
       IEnterpriseSession enterpriseSession = sessionMgr.logon(id, pwd, server, type);
       // Now create the login token
       ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
       token = logonTokenMgr.createWCAToken("", 60, 100);
    catch(Exception e)
       throw new LoginHelperException(e);
    I have a web front end that calls various services. All these services begin with an auth check that looks something like this:
    try
       if(token == null)
          throw new LoginHelperException("Missing token");
       else
          enterpriseSession = CrystalEnterprise.getSessionMgr().logonWithToken(token);
    I am not storing the enterpriseSession in my web session. I create a new one with the token for every request.  It's my understanding I should only have to create a new token after 60 minutes, or after 100 calls to logonWithToken(), which ever comes first. But what I'm seeing in practice is an auth exception after only a few minutes.
    2008-11-14 09:41:39,457 ERROR [http-8080-Processor24] (report_jsp.java:120) - Exception in report.jsp
    com.reporting.bo.exceptions.LoginHelperException: com.crystaldecisions.sdk.exception.SDKServerException: An error occurred at the server :
    Session ID is not valid.
    cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    detail:An error occurred at the server :
    Session ID is not valid.
    The server supplied the following details: OCA_Abuse exception 10503 at [exceptionmapper.cpp : 65]  42436 {}
            ...Session ID is not valid. Original session not available for ONEOFF logon
    Am I misunderstanding how tokens work? I'd like for the token to be valid for more than 10 minutes.

    You're using the WCA token.
    Validity lifetime of a WCA token is tied to the originating EnterpriseSession that created it.
    Since the originating EnterpriseSession is going out of scope in your code, it gets GC'ed.
    When the CMS detects that the EnterpriseSession no longer exists, it invalidates all WCA tokens associated with it.
    Next time you try to use the WCA token, it fails.
    So either use the Logon Token - that uses a CAL each time you use it - or keep the EnterpriseSession live but make sure you log it off when you're done with it.
    Sincerely,
    Ted Ueda

  • UnsupportedOperationException using AM_sdk

    I am trying to integrate an application to decode the iPlanetDirectoryPro cookie so that I can find out which user has be authenticated.
    Currently this application has two parts, a perl part which is the general user interface, and a Java - EJB part which ends up being the administration panels. The perl part runs on port 83 under the Sun Web server and uses a policy agent to control auth and auth. The Admin part runs on port 9999 under a Jboss with embedded Tomcat container. The perl part has an embedded link to the admin part. When clicking on this link I need the Java part to be able to decode the iPlanetPro cookie so that I can extract a Remote_User.
    Right now I have done the following to try to get this to work.
    I have added all the jars for the am_sdk to the classpath.
    I have added -Djava.security.policy=/var/opt/SUNWappserver7/domains/domain1/server2/config/server.policy -Djava.endorsed.dirs=/opt/SUNWam/lib/endorsed to the JVM invocation
    See the JBoss Environment info below.
    JBoss Bootstrap Environment
    JBOSS_HOME: /usr/local/jboss-3.2.2RC4
    JAVA_OPTS: -server -Dprogram.name=run.sh -Djava.security.policy=/var/opt/SUNWappserver7/domains/domain1/server2/config/server.policy -Djava.endorsed.dirs=/opt/SUNWam/lib/endorsed
    CLASSPATH: /usr/local/jboss-3.2.2RC4/bin/run.jar:/lib/tools.jar:/opt/SUNWam/lib/US_export_policy.jar
    :/opt/SUNWam/lib/acmecrypt.jar:/opt/SUNWam/lib/activation.jar
    :/opt/SUNWam/lib/am_logging.jar:/opt/SUNWam/lib/am_sdk.jar
    :/opt/SUNWam/lib/am_services.jar:/opt/SUNWam/lib/am_sso_provider.jar:/opt/SUNWam/lib/commons-logging.jar
    :/opt/SUNWam/lib/dom.jar:/opt/SUNWam/lib/iaik_ssl.jar:/opt/SUNWam/lib/jaas.jar:/opt/SUNWam/lib/jakarta-log4j-1.2.6.jar
    :/opt/SUNWam/lib/jax-qname.jar:/opt/SUNWam/lib/jaxb-api.jar:/opt/SUNWam/lib/jaxb-impl.jar
    :/opt/SUNWam/lib/jaxb-libs.jar:/opt/SUNWam/lib/jaxb-xjc.jar:/opt/SUNWam/lib/jaxm-api.jar:/opt/SUNWam/lib/jaxm-runtime.jar
    :/opt/SUNWam/lib/jaxp-api.jar:/opt/SUNWam/lib/jaxrpc-api.jar:/opt/SUNWam/lib/jaxrpc-impl.jar:/opt/SUNWam/lib/jaxrpc-spi.jar
    :/opt/SUNWam/lib/jce1_2_1.jar:/opt/SUNWam/lib/jdk_logging.jar:/opt/SUNWam/lib/jsse.jar:/opt/SUNWam/lib/local_policy.jar
    :/opt/SUNWam/lib/mail.jar:/opt/SUNWam/lib/mobile_identity.jar:/opt/SUNWam/lib/namespace.jar:/opt/SUNWam/lib/relaxngDatatype.jar
    :/opt/SUNWam/lib/saaj-api.jar:/opt/SUNWam/lib/saaj-impl.jar:/opt/SUNWam/lib/sax.jar:/opt/SUNWam/lib/servlet.jar
    :/opt/SUNWam/lib/sunjce_provider.jar:/opt/SUNWam/lib/swec.jar:/opt/SUNWam/lib/xalan.jar:/opt/SUNWam/lib/xercesImpl.jar
    :/opt/SUNWam/lib/xmlsec.jar:/opt/SUNWam/lib/xsdlib.jar:/opt/SUNWam/lib/xsltc.jar:/opt/SUNWam/lib:/opt/SUNWam/locale
    When I run the code to decode the cookie I get the following error.
    16:04:02,408 INFO [STDOUT] Auth Exception: AmAuth Exception, UnsupportedOperationException, null
    Here is the code I am running
       protected boolean Init (HttpServletRequest request,HttpServletResponse response)
             throws Exception
          boolean rc = true;
          // get http(s) header information
          authType                = request.getAuthType();
          contentPath             = request.getContextPath();
          headerNames             = request.getHeaderNames();
          method                  = request.getMethod();
          pathInfo                = request.getPathInfo();
          pathTranslated             = request.getPathTranslated();
          queryString             = request.getQueryString();
          remoteUser              = request.getRemoteUser();
          requestedSessionId         = request.getRequestedSessionId();
          requestUri              = request.getRequestURI();
          requestUrl              = request.getRequestURL();
          servletPath             = request.getServletPath();
          userPrincipal           = request.getUserPrincipal();
          isSessionFromCookie     = request.isRequestedSessionIdFromCookie();
          isRequestedSessionIdFromURL = request.isRequestedSessionIdFromURL();
          isRequestedSessionIdValid  = request.isRequestedSessionIdValid();
          try
             // CREATE SSO TOKEN FROM HTTP(S) REQUEST
             System.out.println("In AmAuth");
             if ( (userSSOTokenManager = SSOTokenManager.getInstance()) != null )
                System.out.println("getInstance()");
    error -->   if ( (userSSOToken = userSSOTokenManager.createSSOToken(request)) != null )
                   System.out.println("createSSOToken()");
                   if ( ! userSSOTokenManager.isValidToken(userSSOToken) )
                      System.out.println("isValidToken()");
                      rc = false;
                      throw new Exception ("SSOToken is not valid!!!");
    This code blows up with an UnsupportedOperationException.
    (from javadocs)
    createSSOToken
    public SSOToken createSSOToken(javax.servlet.http.HttpServletRequest request)
    throws java.lang.UnsupportedOperationException,
    SSOException
    Creates a single sign on token from HttpServletRequest
    Parameters:
    request - The HttpServletRequest object which contains the session string.
    Returns:
    single sign on token
    Throws:
    SSOException - if the single sign on token cannot be created.
    java.lang.UnsupportedOperationException - if this is an unsupported operation.
    Can anyone shed some light on what causes an UnsupportedOperationException? I would imagine the sever.policy file would do some of this but I think I have those settings correct.
    Since it is not a NoClassDefFound error I know my classpath is correct. The only thing I can think of is there is some configuration that the am_sdk needs that I am not providing.
    Thanks
    Michael

    Michael, I don't know how's your Jboss perl+java code
    interact with WS which has included web agent.
    However, this isn't what our agent SDK intend to use
    redirect iPlanetProCookie or SSO token from agent to
    another web application for interpretation and
    utilization.
    From your orginal exception, it happened under
    userSSOTokenManager.createSSOToken(request) which
    drove from http request to get your own token under
    jboss environment. Is it right assumption?
    Yes this is correct. I would like to use this jar file to extract the RemoteUser value for this request and pass it on to the jboss side of the application.
    It threw
    "java.lang.UnsupportedOperationException" which I
    don't have more trace to know the detail.
    This is my exact assessment as well. It gives my no idea why it is unsupported.
    Any how,
    why you write your own Jboss agent using our AM agent
    tool kit and control whole thing yourself.
    Really?.. Is this the same as creating a "policy agent" for Jboss? What kind of effort is involved?
    This
    mixing model doesn't seem quite clean and hard to
    isolute problem.
    I absolutely understand that the mixing model is problematic, however, it is the nature of this beast.
    Jerry

  • Josso not able authenticate against sun directory configuration

    I trying configure josso-1.5 and jboss 4.x to sun directory server.
    I getting error in the screen: Invalid Authentication Information
    It works against openldap
    Please let me know, i need do any special configuration for sun directory server
    console log.
    12:12:33,453 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    12:12:33,468 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    12:12:33,468 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    12:12:33,531 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    12:12:33,531 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    12:12:33,531 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnN
    ull=true
    12:13:02,171 INFO [TilesRequestProcessor] Tiles definition factory found for request processor ''.
    12:13:02,250 INFO [ConfigurationFactory] Trying to load configuration josso-gateway-config.xml
    12:13:02,265 INFO [ComponentKeeperImpl] SSO Config from [file:/C:/Jboss405/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default
    /./tmp/deploy/tmp36339josso.ear-contents/josso-exp.war/WEB-INF/classes/josso-config.xml]
    12:13:02,281 INFO [STDOUT] THe crendentials are ->[Lorg.josso.auth.Credential;@b65a68
    12:13:02,281 INFO [STDOUT] THe SSO context is org.josso.gateway.SSOContextImpl@1e99db4
    12:13:02,281 INFO [STDOUT] THe gateway is ->org.josso.gateway.SSOGatewayImpl@70cdd2
    12:13:02,281 INFO [STDOUT] THe scheme is ->basic-authentication
    12:13:02,312 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@3
    12:13:02,312 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7
    12:13:02,312 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@9
    12:13:02,312 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@10
    12:13:02,312 INFO [STDOUT] THE ENV BEFORE LOGGING IN TO LDAP IS -> {java.naming.provider.url=ldap://192.168.1.225:2389,
    java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.security.principal=cn=admin,cn=Administrators
    ,cn=config, java.naming.security.authentication=simple, java.naming.security.credentials=test, java.naming.security
    .protocol=}
    12:13:02,312 INFO [STDOUT] THE ENV BEFORE LOGGING IN TO LDAP IS -> {java.naming.provider.url=ldap://192.168.1.225:2389,
    java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.security.principal=cn=admin,cn=Administrators
    ,cn=config, java.naming.security.authentication=simple, java.naming.security.credentials=test, java.naming.security
    .protocol=}
    12:13:07,000 INFO [STDOUT] ################################ LOGGED in TO LDAP SERVER ############# javax.naming.ldap.In
    itialLdapContext@142c63f
    12:13:07,000 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@12
    12:13:07,046 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@3
    12:13:07,046 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7
    12:13:07,046 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@9
    12:13:07,046 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@10
    12:13:07,046 INFO [STDOUT] THE ENV BEFORE LOGGING IN TO LDAP IS -> {java.naming.provider.url=ldap://192.168.1.225:2389,
    java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.security.principal=cn=admin,cn=Administrators
    ,cn=config, java.naming.security.authentication=simple, java.naming.security.credentials=test, java.naming.security
    .protocol=}
    12:13:07,062 INFO [STDOUT] THE ENV BEFORE LOGGING IN TO LDAP IS -> {java.naming.provider.url=ldap://192.168.1.225:2389,
    java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.security.principal=cn=admin,cn=Administrators
    ,cn=config, java.naming.security.authentication=simple, java.naming.security.credentials=test, java.naming.security
    .protocol=}
    12:13:11,640 INFO [STDOUT] ################################ LOGGED in TO LDAP SERVER ############# javax.naming.ldap.In
    itialLdapContext@a14fed
    12:13:11,656 INFO [STDOUT] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@12
    12:13:11,718 INFO [SSO_AUDIT] Sat Aug 11 12:13:11 PDT 2007 - sso-user - info - user1 - authenticationFailed=failure - r
    emoteHost=127.0.0.1,authScheme=basic-authentication - ERROR:user1:org.josso.auth.exceptions.AuthenticationFailureExcepti
    on
    12:13:11,812 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    12:13:11,828 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true

    ar, mine was a mistake.
    I changed password to plain and my ldap data to none crypt password.
    Also I commented out
    <!--
    <hashAlgorithm>MD5</hashAlgorithm>
    <hashEncoding>HEX</hashEncoding>
    -->
    <!-- Strong Authentication Scheme
    <authentication-scheme>
    <name>strong-authentication</name>
    -->
    lines.
    INFO: Trying to load configuration josso-gateway-config.xml
    2008/01/30 23:12:33 org.josso.ComponentKeeperImpl loadConfig
    INFO: SSO Config from [file:/opt/apache-tomcat-6.0.14_josso-1.6/bin/josso-config.xml]
    2008/01/30 23:12:33 org.josso.gateway.audit.service.handler.LoggerAuditTrailHandler handle
    INFO: Wed Jan 30 23:12:33 JST 2008 - sso-session - info - - createSession=success - ssoSessionId=3BD8CB4222046B3ECA68A29DCC54FD44
    2008/01/30 23:12:33 org.josso.gateway.audit.service.handler.LoggerAuditTrailHandler handle
    INFO: Wed Jan 30 23:12:33 JST 2008 - sso-user - info - user1 - authenticationSuccess=success - remoteHost=192.168.100.200,authScheme=basic-authentication,ssoSessionId=3BD8CB4222046B3ECA68A29DCC54FD44
    2008/01/30 23:12:33 org.josso.gateway.signon.LoginAction login
    WARN: No 'BACK TO' URL received or configured ... using default forward rule !

  • Exception thrown from the servlet service function (uri=/servlet/auth)

    iam getting foll. error when i try logging in to iDA -
    [28/Mar/2005:15:39:38] failure (12538): Internal error: exception thrown from the servlet service function (uri=/servlet/auth): java.lang.NullPointerException, Stack: java.lang.NullPointerException
    at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java:306)
    at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java:117)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
    we're using iplanet messaging server 5.2 with iDA.
    we have two webservers one on each nodes where messaging services are running in cluster.
    the webmail is running fine.
    the webservers are running fine without errors.
    i tried shifting mesaging services on to both nodes, but the error persists.
    can any one pl. help me ??

    Hi,
    I hope below link will help you.
    http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
    Thanks,
    Daks.

  • Internal error: exception thrown from the servlet service function (uri=/servlet/auth)

    I am getting the follow error in my webserver error log very offen. I am running iPlanet Delegated Administrator 4.5 and iPlanet WebServer 4.1 SP5. Sometimes I have to stop and start the web server because users can no longer authenticate to Delegated Admin. Does anyone know what this means.
    Internal error: exception thrown from the servlet service function (uri=/servlet/auth): javax.servlet.ServletException, Stack: javax.servlet.ServletException
    at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java, Compiled Code)
    at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java, Compiled Code)
    at netscape.nda.servlet.NDAServlet.doGet(NDAServlet.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled Code)"

    Hi,
    I hope below link will help you.
    http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
    Thanks,
    Daks.

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

Maybe you are looking for

  • Receiver Determination Step For Synchrnous Send  in BPM

    Hi, How to use BPM Receiver Determination step for a synchronous send step? My scenario is to send a request to multiple receivers synchronously and get the response.How can i achieve this using Receiver Determination step in BPM. Regards Divia

  • F110 payment postings individual invoices

    Hi, When executing the paymentrun (Direct debits), the payment program generates 1 payment posting (clearing document) per customer in which several open items/invoices are processed. Now we want to have a payment document (clearing document) for eac

  • Second hardrive / final cut pro x help

    I have imported camera footage into my Final Cut Pro X and it has automatically saved onto my Hardrive. I want to make a back up too. I've been told to make a copy to a second drive. How do I create a second drive/Split my hardrive? (I'm worried my e

  • Pen Control

    Hi I am trying to build a simple note app. The first screen "Selection" has a gallery where all the drawings are shown. When the user clicks on one it navigates to the second screen "Drawing" with a pen control. When the user clicks the back button o

  • TREX not updating index of UME

    We have created an index of the UME users for the Who's Who search functionality.  Our UME is connected to an Active Directory LDAP.  Everything is working except that changes made to AD are not being updated in the index.  The index and its data sou