Topic
8 replies Latest Post - ‏2008-05-29T09:21:04Z by SystemAdmin
SystemAdmin
SystemAdmin
334 Posts
ACCEPTED ANSWER

Pinned topic Notessession issue

‏2008-04-02T06:39:30Z |
I am using Domino View & Form builder. It is working fine, but after a few login with different ID to test, I get the error below. On the domino server, the DIIOP have set to have 20 connections. I have check the DIIOP task on the Domino server and it is only using a few of the connections. Why does the error below happen and how to prevent it? I'm using LTPA token.

Exception com.bowstreet.util.WrappedException: Error in method keywordSDKeywordSO_InputPage_NextAction. null Root exception is NotesException: Could not open Notes session

Stack Trace
NotesException: Could not open Notes session
at lotus.domino.cso.Session.initSession(Unknown Source)
at lotus.domino.cso.Session.(Unknown Source)
at lotus.domino.cso.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSessionC(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.bowstreet.builders.webapp.methods.DominoOrbSessionFactory.getLTPASessionNoOrb(DominoOrbSessionFactory.java:95)
at com.bowstreet.builders.webapp.methods.DominoOrbSessionFactory.getSession(DominoOrbSessionFactory.java:77)
at com.bowstreet.builders.webapp.methods.DominoUtil.getNotesSessionInternal(DominoUtil.java:1573)
at com.bowstreet.builders.webapp.methods.DominoUtil.getNotesSession(DominoUtil.java:511)
at com.bowstreet.builders.webapp.methods.DominoHelper.initNewSessionMgmt(DominoHelper.java:1159)
at com.bowstreet.builders.webapp.methods.DominoHelper.initialize(DominoHelper.java:1088)
at com.bowstreet.builders.webapp.methods.DominoHelper.getDominoDatabase(DominoHelper.java:453)
at com.bowstreet.builders.webapp.methods.DominoHelper.evaluateFormulaInternal(DominoHelper.java:656)
at com.bowstreet.builders.webapp.methods.DominoHelper.evaluateFormulaAsVector(DominoHelper.java:709)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at genjava.provider._KeywordProvider.KeywordLookup_DoFormulaEval(_KeywordProvider.java:474)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:970)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:1070)
at genjava.provider._KeywordProvider.KeywordAction(_KeywordProvider.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:268)
at genjava.provider._KeywordProvider.KeywordSOExecute(_KeywordProvider.java:382)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at genjava.provider._KeywordProvider.keywordSDKeywordSO_ShowResults(_KeywordProvider.java:500)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:970)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:1070)
at genjava.provider._KeywordProvider.keywordSDKeywordSO_InputPage_NextAction(_KeywordProvider.java:463)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:89)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:402)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:970)
at com.bowstreet.webapp.engine.WebAppAccessImpl.processAction(WebAppAccessImpl.java:1070)
at com.bowstreet.webapp.engine.WebAppRequestRunner.doRequest(WebAppRequestRunner.java:364)
at com.bowstreet.webapp.engine.WebAppRunner.doActualRequest(WebAppRunner.java:865)
at com.bowstreet.webapp.engine.WebAppRunner.doRequest(WebAppRunner.java:523)
at com.bowstreet.portlet.adapter.WebAppRunnerPortlet.runModel(WebAppRunnerPortlet.java:1356)
at com.bowstreet.portlet.adapter.WebAppRunnerPortlet.runModel(WebAppRunnerPortlet.java:1303)
at com.bowstreet.portlet.adapter.WebAppRunnerPortlet.runModel(WebAppRunnerPortlet.java:1275)
at com.bowstreet.portlet.adapter.WebAppRunnerPortlet.processAction(WebAppRunnerPortlet.java:336)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.processAction(PropertyBrokerActionFilter.java:261)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:147)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:393)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.wps.pe.om.definition.impl.ServletDefinitionImpl$RDWrapper.include(ServletDefinitionImpl.java(Compiled Code))
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:114)
at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java(Compiled Code))
at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:1006)
at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:497)
at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java(Compiled Code))
at com.ibm.wps.engine.Servlet.doGet(Servlet.java(Compiled Code))
at com.ibm.wps.engine.Servlet.doPost(Servlet.java:794)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:263)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.lang.IllegalMonitorStateException: JVMLK005: current thread not owner
at java.lang.Object.notifyAll(Native Method)
at lotus.priv.CORBA.iiop.Lock.unlock(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.writeUnlock(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.send(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPConnection.invoke(Unknown Source)
at lotus.priv.CORBA.iiop.IIOPOutputStream.invoke(Unknown Source)
at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at lotus.domino.corba._IObjectServerStub.createSessionWithCookie(Unknown Source)
Updated on 2008-05-29T09:21:04Z at 2008-05-29T09:21:04Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    334 Posts
    ACCEPTED ANSWER

    Re: Notessession issue

    ‏2008-04-03T15:33:30Z  in response to SystemAdmin
    What version of Portlet Factory are you using?

    If PF 602x, can you try the following:

    • In web-inf/config/bowstreet.properties, specify
    bowstreet.domino.session.pooling.originalImplementation=true
    • Restart application server
    • Restart Domino DIIOP (either restart Domino, or issue "tell diiop restart" on dom console)

    Try your application again. Do you still get the same error? This will allow me to determine if the error is in NCSO.jar or Portlet Factory. Though I have not seen this issue, I will look into this in my own environment, also.

    Sam
    • SystemAdmin
      SystemAdmin
      334 Posts
      ACCEPTED ANSWER

      Re: Notessession issue

      ‏2008-04-04T02:42:44Z  in response to SystemAdmin
      I'll try that out. I'm currently using PF 6.0.2.2 and Domino 6.5.4
      • SystemAdmin
        SystemAdmin
        334 Posts
        ACCEPTED ANSWER

        Re: Notessession issue

        ‏2008-04-09T17:27:00Z  in response to SystemAdmin
        Also, this could be an issue with the Domino 8 version of NCSO.jar that we now ship with Portlet Factory.

        Can you try replacing the NCSO.jar in your web-inb/lib with a copy of the one in your Domino server's <domno data dir>/java directory? Don't forget to redploy. Also, double check the deployed app's ncso.jar to make sure it the one you copied in.

        So far, I haven't been able to reproduce this here.

        Thanks,
        sam
        • SystemAdmin
          SystemAdmin
          334 Posts
          ACCEPTED ANSWER

          Re: Notessession issue

          ‏2008-04-14T06:59:33Z  in response to SystemAdmin
          Thanks sam. After half a day of testing, it's still running fine. Thus I can assume that it's the NCSO.jar issue.
          • SystemAdmin
            SystemAdmin
            334 Posts
            ACCEPTED ANSWER

            Re: Notessession issue

            ‏2008-04-14T17:31:03Z  in response to SystemAdmin
            Hi,
            Another customer has noticed the same problem. When they used their Domino server's NCSO.jar, the problem went away. Indeed, this suggests a problem with the Domino 8 NCSO.jar that we include in Portlet Factory 6.0.2.1 and 6.0.2.2.

            I apologize for this. Though our testing did not reveal this issue, we'll continue to investigate.

            Thanks,
            Sam
            • SystemAdmin
              SystemAdmin
              334 Posts
              ACCEPTED ANSWER

              Re: Notessession issue

              ‏2008-04-15T01:01:24Z  in response to SystemAdmin
              Testing directly from PF does not show the issue. After deploying onto the portal, it still works. But after running the application for a while (multiple access by different users), the issue shows up. Now the application is running fine with the current server NCSO.jar
  • SystemAdmin
    SystemAdmin
    334 Posts
    ACCEPTED ANSWER

    Re: Notessession issue

    ‏2008-04-03T18:03:12Z  in response to SystemAdmin
    Hi,
    I was unable to reproduce this so far. Using Dom V&F and also calling evaulateForumula(). I switch to different domino username in the web app.

    By chance, do you have a model I could take a look at?

    Thanks,
    Sam
    • SystemAdmin
      SystemAdmin
      334 Posts
      ACCEPTED ANSWER

      Re: Notessession issue

      ‏2008-05-29T09:21:04Z  in response to SystemAdmin
      Sorry for the very late reply. Must have miss it. Attached is the model I used