Welbogic 6.1 is losing jdbc persisted sessions

          We are having a problem with WLServer 6.1sp2 apparantly losing http sessions when
          we use jdbc persistence to an Oracle 8.1.7i db. We are using the oci jdbc driver.
          Has anyone had similar problems??? (Note: if we switch back to memory session persistence
          things work fine, but we want to share the session accross two load balanced servers
          which are not in a cluster). Thanks, J
          

Can you try to change the driver and see if things start working? There are
          some known problems
          with Oracle's thin driver. We've updated the classes12.zip for the sp3
          release, which I believe
          fixed the problems. For now let us know if changing the driver fixes your
          problem.
          eg.
          <JDBCConnectionPool
          Name="poolname"
          Targets="serverlist"
          URL="jdbc:weblogic:oracle"
          DriverName="weblogic.jdbc.oci.Driver"
          InitialCapacity="3"
          MaxCapacity="10"
          CapacityIncrement="1"
          Properties="user=usr;password=pwd;server=xyz"
          />
          Also our driver expert suggested the following (with the oracle's driver):
          "Try to see if you can set the NLS_LANG env variable.
          Here is how:
          run the following sql from SQLPLUS:
          select parameter, value from NLS_DATABASE_PARAMETERS
          where parameter in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET');
          check the output it may look like,
          NLS_LANGUAGE AMERICAN
          NLS_TERRITORY AMERICA
          NLS_CHARACTERSET UTF8
          therefore:
          export NLS_LANG=american_america.UTF8
          depending on the output you may see please set NLS_LANG accordingly and try
          you test."
          --Vinod.
          "James Bibby" <[email protected]> wrote in message
          news:[email protected]...
          >
          > We are having a problem with WLServer 6.1sp2 apparantly losing http
          sessions when
          > we use jdbc persistence to an Oracle 8.1.7i db. We are using the oci jdbc
          driver.
          > Has anyone had similar problems??? (Note: if we switch back to memory
          session persistence
          > things work fine, but we want to share the session accross two load
          balanced servers
          > which are not in a cluster). Thanks, J
          

Similar Messages

  • Pb with configuration of JDBC persistant sessions

    HI,
              we have installed 3 WebLogic6 Servers on NT as a front-end on top of a
              load-balancing software.
              They are accessing an Oracle 8.1.7 db wich is supposed to store the
              sessions' informations.
              ... and now we try to have one example running: sessionservlet.java
              During the start-up of the server, no pb.
              At the first access to the web server (logical web server), we accounter
              the following error when it tries to store informations concerning the
              session into the db:
              ####<Mar 1, 2001 7:16:30 PM CET> <Info> <HTTP> <sbfc3> <examplesServer>
              <ExecuteThread-14> <> <> <101047>
              <[WebAppServletContext(2988815,examplesWebApp)] SessionServlet: init>
              ####<Mar 1, 2001 7:16:30 PM CET> <Error> <HTTP Session> <sbfc3>
              <examplesServer> <ExecuteThread-14> <> <> <100002> <Could not create new
              session: "Op6R1nbAs4gJCcLaTwWl1Ryng3UTIxY5mvuWGCRLr0SZ1j2V68jo">
              javax.servlet.ServletException: Could not initialize
              session:java.sql.SQLException: ORA-01400: cannot insert NULL into
              ("SCOTT"."WL_SERVLET_SESSIONS"."WL_CONTEXT_PATH")
              at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:237)
              at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java:869)
              at
              weblogic.jdbc.pool.PreparedStatement.executeUpdate(PreparedStatement.java:75)
              at
              weblogic.servlet.internal.session.ClusteredSessionJDBC.dbCreate(ClusteredSessionJDBC.java:181)
              at
              weblogic.servlet.internal.session.ClusteredSessionJDBC.newSession(ClusteredSessionJDBC.java:71)
              at
              weblogic.servlet.internal.session.ClusteredSessionContextImpl.getNewSession(ClusteredSessionContextImpl.java:51)
              at
              weblogic.servlet.internal.session.SessionContext.getNewSessionInstance(SessionContext.java:113)
              at
              weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletRequestImpl.java:1448)
              at
              weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1301)
              at examples.servlets.SessionServlet.doGet(SessionServlet.java:93)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              at
              weblogic.servlet.internal.session.ClusteredSessionJDBC.newSession(ClusteredSessionJDBC.java:73)
              at
              weblogic.servlet.internal.session.ClusteredSessionContextImpl.getNewSession(ClusteredSessionContextImpl.java:51)
              at
              weblogic.servlet.internal.session.SessionContext.getNewSessionInstance(SessionContext.java:113)
              at
              weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletRequestImpl.java:1448)
              at
              weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1301)
              at examples.servlets.SessionServlet.doGet(SessionServlet.java:93)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              ####<Mar 1, 2001 7:16:31 PM CET> <Error> <HTTP> <sbfc3> <examplesServer>
              <ExecuteThread-14> <> <> <101101>
              <[WebAppServletContext(2988815,examplesWebApp)] Unable to create new
              session>
              ####<Mar 1, 2001 7:16:31 PM CET> <Error> <HTTP> <sbfc3> <examplesServer>
              <ExecuteThread-14> <> <> <101020>
              <[WebAppServletContext(2988815,examplesWebApp)] Servlet failed with
              Exception>
              java.lang.NullPointerException
              at examples.servlets.SessionServlet.doGet(SessionServlet.java:107)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Any idea ?
              [att1.html]
              

    I agree with Frank when he said that the problem is not related to the structure of the table wl_servlet_sessions.
              I've installed SP1 and I've encontered two kind of errors:
              1) Periodic error that the system generates:
              <4-apr-01 18.06.45 CEST> <Error> <HTTP Session> <Problem finding all keys
              java.lang.NullPointerException
              at java.util.Hashtable.put(Hashtable.java:380)
              at weblogic.servlet.internal.session.JDBCSessionContext.getJdbcProps(JDBCSessionContext.java:152)
              at weblogic.servlet.internal.session.JDBCSessionContext.getIdsInternal(JDBCSessionContext.java:38)
              at
              weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalidateSessions(SessionContext.java:257)
              at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(SessionContext.java:245)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:225)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:216)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:65)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              2) Error when trying to create a session:
              <4-apr-01 18.07.22 CEST> <Error> <HTTP Session> <Could not create new session:
              "OstGuvBqu2zaRPrP1PtZIKT9NzJ41Hj2iWrwq1y23nJvpITsvtUh"
              java.lang.NullPointerException
              at java.util.Hashtable.put(Hashtable.java:380)
              at weblogic.servlet.internal.session.JDBCSessionContext.getJdbcProps(JDBCSessionContext.java:152)
              at weblogic.servlet.internal.session.JDBCSessionContext.getNewSession(JDBCSessionContext.java:50)
              at weblogic.servlet.internal.session.SessionContext.getNewSessionInstance(SessionContext.java:121)
              at weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletRequestImpl.java:1543)
              at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1406)
              at EBWebServer.EBServlet.service(EBServlet.java:91)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1622)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Anyone has configured with success the JDBC session persistence?
              Thanks
              Patrizia
              Vinod Mehra wrote:
              > Which version of weblogic? 6.0GA or 6.0SP1?
              >
              > Note that the wl_servlet_sessions have changed between these two..
              >
              > 6.0GA:
              > -------
              > create table wl_servlet_sessions
              > ( wl_id VARCHAR2(100) NOT
              > NULL,
              > wl_is_new CHAR(1),
              > wl_create_time NUMBER(20),
              > wl_is_valid CHAR(1),
              > wl_session_values LONG RAW,
              > wl_access_time NUMBER(20),
              > PRIMARY KEY (wl_id) );
              >
              > 6.0SP1:
              > --------
              > create table wl_servlet_sessions
              > ( wl_id VARCHAR2(100) NOT
              > NULL,
              > wl_context_path VARCHAR2(100) NOT NULL,
              > wl_is_new CHAR(1),
              > wl_create_time NUMBER(20),
              > wl_is_valid CHAR(1),
              > wl_session_values LONG RAW,
              > wl_access_time NUMBER(20),
              > wl_max_inactive_interval Integer,
              > PRIMARY KEY (wl_id, wl_context_path) );
              >
              > From your stack trace looks like you are running 6.0GA, so you shouldn't
              > have the colums wl_context_path
              > and wl_max_inactive_interval in wl_servlet_sessions.
              >
              > --Vinod
              >
              > Stephane Frati wrote:
              >
              > > HI,
              > > we have installed 3 WebLogic6 Servers on NT as a front-end on top of a
              > > load-balancing software.
              > > They are accessing an Oracle 8.1.7 db wich is supposed to store the
              > > sessions' informations.
              > > ... and now we try to have one example running: sessionservlet.java
              > >
              > > During the start-up of the server, no pb.
              > > At the first access to the web server (logical web server), we
              > > accounter the following error when it tries to store informations
              > > concerning the session into the db:
              > >
              > > ----------------
              > > ####<Mar 1, 2001 7:16:30 PM CET> <Info> <HTTP> <sbfc3>
              > > <examplesServer> <ExecuteThread-14> <> <> <101047>
              > > <[WebAppServletContext(2988815,examplesWebApp)] SessionServlet: init>
              > > ####<Mar 1, 2001 7:16:30 PM CET> <Error> <HTTP Session> <sbfc3>
              > > <examplesServer> <ExecuteThread-14> <> <> <100002> <Could not create
              > > new session: "Op6R1nbAs4gJCcLaTwWl1Ryng3UTIxY5mvuWGCRLr0SZ1j2V68jo">
              > > javax.servlet.ServletException: Could not initialize
              > > session:java.sql.SQLException: ORA-01400: cannot insert NULL into
              > > ("SCOTT"."WL_SERVLET_SESSIONS"."WL_CONTEXT_PATH")
              > > at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:237)
              > > at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java:869)
              > > at
              > > weblogic.jdbc.pool.PreparedStatement.executeUpdate(PreparedStatement.java:75)
              > >
              > > at
              > > weblogic.servlet.internal.session.ClusteredSessionJDBC.dbCreate(ClusteredSessionJDBC.java:181)
              > >
              > > at
              > > weblogic.servlet.internal.session.ClusteredSessionJDBC.newSession(ClusteredSessionJDBC.java:71)
              > >
              > > at
              > > weblogic.servlet.internal.session.ClusteredSessionContextImpl.getNewSession(ClusteredSessionContextImpl.java:51)
              > >
              > > at
              > > weblogic.servlet.internal.session.SessionContext.getNewSessionInstance(SessionContext.java:113)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletRequestImpl.java:1448)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1301)
              > >
              > > at examples.servlets.SessionServlet.doGet(SessionServlet.java:93)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              > >
              > > at
              > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              > >
              > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > >
              > > at
              > > weblogic.servlet.internal.session.ClusteredSessionJDBC.newSession(ClusteredSessionJDBC.java:73)
              > >
              > > at
              > > weblogic.servlet.internal.session.ClusteredSessionContextImpl.getNewSession(ClusteredSessionContextImpl.java:51)
              > >
              > > at
              > > weblogic.servlet.internal.session.SessionContext.getNewSessionInstance(SessionContext.java:113)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.getNewSession(ServletRequestImpl.java:1448)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1301)
              > >
              > > at examples.servlets.SessionServlet.doGet(SessionServlet.java:93)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              > >
              > > at
              > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              > >
              > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > > ####<Mar 1, 2001 7:16:31 PM CET> <Error> <HTTP> <sbfc3>
              > > <examplesServer> <ExecuteThread-14> <> <> <101101>
              > > <[WebAppServletContext(2988815,examplesWebApp)] Unable to create new
              > > session>
              > > ####<Mar 1, 2001 7:16:31 PM CET> <Error> <HTTP> <sbfc3>
              > > <examplesServer> <ExecuteThread-14> <> <> <101020>
              > > <[WebAppServletContext(2988815,examplesWebApp)] Servlet failed with
              > > Exception>
              > > java.lang.NullPointerException
              > > at examples.servlets.SessionServlet.doGet(SessionServlet.java:107)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              > >
              > > at
              > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
              > >
              > > at
              > > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
              > >
              > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > >
              > > ----------------
              > >
              > > Any idea ?
              

  • Persisted Sessions Count in Tomcat5.0

    I am using Tomcat5.0. I want to find the exact number of sessions associated with application running in the server. By using HttpSessionListener i wrote my logic.So that i can count the number of sessions.My Problem is, Suposse if i stop my tomcat server, the sessions in the server will be persisted. When i restart the tomcat those sessions (*which were pesisted when i stop the tomcat*) will be loaded again. I am unble to find the number of sessions which are loaded. Newly created sessions i can track and i can count. but those persisted session which are loaded when i restart the tomcat are out my count . How can i find the exact number?

    Dorababu wrote:
    I am using Tomcat5.0. I want to find the exact number of sessions associated with application running in the server. By using HttpSessionListener i wrote my logic.So that i can count the number of sessions.My Problem is, Suposse if i stop my tomcat server, the sessions in the server will be persisted. When i restart the tomcat those sessions (*which were pesisted when i stop the tomcat*) will be loaded again.Is that a requirement? Else you should just turn it off. Its configurable in the server.xml.
    I am unble to find the number of sessions which are loaded. Newly created sessions i can track and i can count. but those persisted session which are loaded when i restart the tomcat are out my count . How can i find the exact number?If you have to have sessions persisted, you will have to subclass the PersistentManager class (which is responsible for persisting & reviving sessions across restarts). The only additional functionality that you would add is to register lifecycle Listeners that will be notified of session revivals. Happy googling :)
    cheers,
    ram.

  • Tomcat 5.0.25 persisting session data by default ?!?

    This is, I imagine, a dumb question, but I can't quite figure out what is happening by looking at past postings.
    When I start Tomcat I get an error : "IOException while loading persisted sessions" because some classes we use are not serializable. That makes sense - we didn't design them to be serialized.
    I understand that Tomcat CAN try to persist session data across restarts. However, I do not want it to do this. I thought this was something we had to configure, but it looks like it happens by default (?)
    Anyway ... any advice about how to prevent this behavior, at least for our app, would be appreciated ... really puzzled ... !
    Thanks in advance for any help you can give !!
    ethan

    Well, thanks ... I have been there actually, but it only tells me how to set up the 'Experimental" Persistent Manager and not how to turn this off. Here is an interesting blurb from that site :
    <<<<<
    Whenver Catalina is shut down normally and restarted, or when an application reload is triggered, the standard Manager implementation will attempt to serialize all currently active sessions to a disk file located via the pathname attribute. All such saved sessions will then be deserialized and activated (assuming they have not expired in the mean time) when the application reload is completed.
    In order to successfully restore the state of session attributes, all such attributes MUST implement the java.io.Serializable interface. You MAY cause the Manager to enforce this restriction by including the <distributable> element in your web application deployment descriptor (/WEB-INF/web.xml).
    >>>>>>>
    I THINK this means that persitence is on by default. I'm not certain because - if that is true - then what is the Persisistent Manager for ? I have found thi ssnippet of config in conf/server.xml :
    <<<<<<
    <Context path="/myApp" reloadable="true" docBase="myApp" workDir="C:\myApp\\work\org\apache\jsp" >
    <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
    </Context>
    >>>>>>
    which tells Tomcat to use the Persistent Manager for my app and then ... tells it not to store session data. And this seems to work ... at least the error messages go away. Now, though, I get a new and different error message :
    <<<<<<
    SEVERE: no store configured, persistence disabled
    >>>>>>
    So I am still doing something wrong ... I think ... and still looking for help ... B-)
    Thanks again, black_lotus ... maybe we'll learn about this together ;-)

  • Unable to connect to JDBC Persistent Store

    - There are two managed server in a cluster on a WLS 9.2 MP2 and the version of database is 9..2.0.8
    - Trying to start managed server but getting java.lang.Assertion error.
    - Application also does not work.
    - Managed server 1 is not starting and throwing the java.lang.Assertion error.
    - It connects to a JDBC persistent store.
    - Managed server 2 starts perfectly and connects to it's own JDBC persistent store.
    - Both managed servers use the same Oracle Database 9.2.0.8.
    - There is different JDBC store for both the managed servers.
    - Each persistent store has its own separate table in the database
    ####<Jun 6, 2010 10:40:45 AM PDT> <Error> <Deployer> <emfd2> <WLISMMS1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1275846045224> <BEA-149260> <A failure occurred during application startup.
    >
    Need Help!!
    >
    Edited by: user12941236 on Jun 10, 2010 7:10 AM
    Edited by: user12941236 on Jun 10, 2010 7:11 AM

    weblogic.application.ModuleException: ERROR: Could not activate EIJMSModule!ApplicationErrorQueue01
         at weblogic.jms.backend.BEDestinationRuntimeDelegate.activate(BEDestinationRuntimeDelegate.java:238)
         at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1717)
         at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)
         at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1608)
         at weblogic.jms.module.JMSModule.activate(JMSModule.java:332)
         at weblogic.jms.module.ModuleCoordinator.activate(ModuleCoordinator.java:179)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:63)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    weblogic.messaging.kernel.KernelException: The Messaging Kernel EIJMSServer01 has not yet been opened
         at weblogic.messaging.kernel.internal.KernelImpl.checkOpened(KernelImpl.java:191)
         at weblogic.messaging.kernel.internal.DestinationImpl.activate(DestinationImpl.java:279)
         at weblogic.messaging.kernel.internal.QueueImpl.activate(QueueImpl.java:1629)
         at weblogic.messaging.kernel.internal.DestinationImpl.resume(DestinationImpl.java:263)
         at weblogic.messaging.kernel.internal.QueueImpl.resume(QueueImpl.java:1805)
         at weblogic.jms.backend.BEDestinationImpl.start(BEDestinationImpl.java:604)
         at weblogic.jms.backend.BEDestinationRuntimeDelegate.activate(BEDestinationRuntimeDelegate.java:235)
         at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1717)
         at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)

  • Unable to create/cleanup persistent session data cache

    Hi all
    After the iPlanet Webserver 4.1 SP12 starts up the following entries appears in the error log file:
    [14/Oct/2003:09:24:48] info ( 5999): successful server startup
    [14/Oct/2003:09:24:48] info ( 5999): iPlanet-WebServer-Enterprise/4.1SP12 BB1-12/18/2002 14:18
    14/Oct/2003:09:24:49] catastrophe ( 5999): Unable to create/cleanup persistent session data cache
    What does the last entry mean?
    Thanks for any help :-}
    Best regards,
    Jean-Claude

    Check permissions, disk space of following dirs:
    server_root/https-instance/ClassCache/
    server_root/https-instance/SessionData/
    Try to:
    Clear Session Data
    Delete JSP Class Cache Files
    using the Session Data link under Admin Server GUI Java tab
    Hope it helps!

  • Suddenly I am losing my previous sessions. Also quicktime links are suddenly not working. I updated flash. I downloaded some Windows Updates. Now these browser issues.

    All of a sudden this week I am losing my old sessions. As I usually have about 20 tabs open in 4 separate windows, this is VERY annoying. VERY.
    Also, quicktime links are no longer working, like at apple.com/trailers. I get an "Error: 47 Invalid Url: ()" message when trying to use them.
    My only recent computer changes were updating Flash, and also on June 15th I got a bunch of updates from Windows Updates. Mostly security updates, and a .NET Framework update.
    My feeling is this has something to do with the windows updates?
    I use Vista Home Premium.

    Hey Chris,
    I was able to duplicate this issue on my Windows 7 laptop as follows:
         1)  Completely uninstall FlashPlayer (using your tool) as well as Mozilla Firefox and Mozilla Maintenance Service (used Windows 7 - uninstall from Control Panel).  Please note that I checked the box that said "Remove my Firefox personal data and customizations" to ensure that Firefox was completely gone from my laptop.
         2)  I then went out to the Firefox website and downloaded the "Firefox Setup 13.0.1.exe" app to my laptop.  I ran this app to install Firefox.
         3)  I then went to the following website http://www.ishmael.org.uk/karaoke02.php as I know that this URL uses Flash Player (obviously you can go to any URL that uses Flash Player - I'm just letting you know which one I used).  I then clicked on the icon on this page to install Flash Player.
    Once the install was completed, the URL stops responding and appears to be locked up (although it will occassionally hiccup and display portions of the page and then lock up again).  You will eventually get a pop-up notice from Firefox that has the header "Warning:  Unresponsive script" and says the following: 
         A script on this page may be busy or it may have stopped responding.  You can stop the script now, or you can continue to to see of the script will complete.  Script:  chrome://browser/content/browser.js:6551 
    Selecting "Stop script" will get Firefox working until you hit another page that uses Flash Player.
    To ensure that the above URL is not the culprit, I used one from your website http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html and had the same results.
    Hope this info helps!
    Jeff
    NOTE:  As a reminder, I do not have RealPlayer installed on my laptop (and never have had it installed)

  • Error at tomcat starting :IOException  while loading persisted session. : j

    I am gettin error when tomact starts.error is like this "IOException while loading persisted session. : java.io.writeabortedexception.;writing aborted;java.io.Notserializable exception.
    what is this error .I think it is due to session scope of bean.what care shold be taken if you are using session scope.please help me;
    thanks

    To where are you persisting your sessions? If you don't care about session persistance, try making this change in your server.xml.
    <Context path="/myApp" reloadable="true" docBase="myApp" workDir="C:\myApp\\work\org\apache\jsp" >
    <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
    </Context>I got this from http://forum.java.sun.com/thread.jspa?threadID=575302&messageID=2871444
    Check it! Bo!

  • Using JDBC Persistent Manager for Tomcat across multiple Servers

    Sorry if I word this question incorrectly, but I hope you can get the gist of it. Basically, I have a web application that will be running on 2 different machines. When too many users are on one machine, they are switched over to another machine (load balancing). If I use JDBC (or file) Persistance Manager to store sessions, what happens when a user is switched between machines? If both machines use the same settings for the Persistance Manager, when a user has just been moved to a new machine, will it be able to load the session from the DB? (since it should have its sessionID). If you can not do this, is there a way to do it?
    Thanks!

    Sorry if I word this question incorrectly, but I hope
    you can get the gist of it. Basically, I have a web
    application that will be running on 2 different
    machines. When too many users are on one machine,
    they are switched over to another machine (load
    balancing). If I use JDBC (or file) Persistance
    Manager to store sessions, what happens when a user is
    switched between machines? If both machines use the
    same settings for the Persistance Manager, when a user
    has just been moved to a new machine, will it be able
    to load the session from the DB? (since it should
    have its sessionID). If you can not do this, is
    there a way to do it?
    Thanks!Session ids are unique and cannot be transferred between different servers... Wise web servers supports load balancing and should be able to transfer/store session without your special code. If you still keen to write transfer code yourself you have to:
    1) Store not only session id, but also all content of session (including some virtual (your) session id
    2) Transfer (i.e. create a copy) stored session content to another machine
    Paul

  • JDBC Persistent Store Exceptions Table needs to be renamed

    we are facing a situation almost every week in production. The only workaround is to rename the table everytime an boune the Weblogic. Oracle recommended to increase the statement timeout. Not sure if that will work.
    Can anyone provide what is the reason behind this. As there is only admin server in this domain with single JMS Server and JDBC Store. So not sure how the ownership is lost. Any help is appreciated .
    ####<Dec 25, 2010 4:32:01 AM IST> <Error> <Store> <gnnosm21> <OSMServer> <[ACTIVE] ExecuteThread: '65' for queue: 'weblogi
    c.kernel.Default (self-tuning)'> <<WLS Kernel>> <1293231721099> <BEA-280075> <JDBC store "oms_jms_store" failed to r
    etain ownership of database table "OM_BEAWLStore", either due to database access problems or due to concurrent accessors o
    f the table. See the linked exception for more information.
    weblogic.store.io.jdbc.JDBCStoreException: [Store:280065]java.sql.SQLException: ORA-01013: user requested cancel of curren
    t operation
    (server="OSMServer" store="oms_jms_store" table="OM_BEAWLStore"):(Linked Cause, "java.sql.SQLException: ORA-01013: user r
    equested cancel of current operation
    at weblogic.store.io.jdbc.JDBCStoreIO.readTableLockRecord(JDBCStoreIO.java:2078)
    at weblogic.store.io.jdbc.JDBCStoreIO.updateTableOwnership(JDBCStoreIO.java:2105)
    at weblogic.store.io.jdbc.ReservedConnection.timerExpired(ReservedConnection.java:436)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.sql.SQLException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1060)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:100)
    at weblogic.store.io.jdbc.JDBCStoreIO.internalRead(JDBCStoreIO.java:721)
    at weblogic.store.io.jdbc.JDBCStoreIO.readTableLockRecord(JDBCStoreIO.java:2066)
    at weblogic.store.io.jdbc.JDBCStoreIO.updateTableOwnership(JDBCStoreIO.java:2105)
    at weblogic.store.io.jdbc.ReservedConnection.timerExpired(ReservedConnection.java:436)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi,
    You didnot mention what is that everytime you mean in your question....
    Did you check is there any other user also using the same database table "OM_BEAWLStore" from your development environment connecting with the same JMS persistance store?

  • Sybase - JDBC Persistent Store

    Hi
    I'm trying to setup Glassfish JMS to utilise a JDBC store (using Sybase)
    I have set the required parameters in config.properties for the imqBroker instance. (including creating the Sybase DDL)
    When I invoke imqdbmgr create tbl - all tables and indexes are created - but the process exits with an error. No details are displayed (even when using the -debug option) as to what the reason for failure is.
    [11/Sep/2008:12:07:52 BST] Using plugged-in persistent store:
         version=410
         brokerid=imqBroker
         database connection url=jdbc:sybase:Tds:localhost:5000/openmq_store
         database user=jms_user
    [11/Sep/2008:12:07:52 BST] Creating database table MQVER41SimqBroker ...
    [11/Sep/2008:12:07:52 BST] Creating database table MQBKR41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQSES41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQPROP41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQCREC41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQCON41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQCONSTATE41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table index MQCONSTATE41SimqBrokerIDX1 ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQDST41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table index MQDST41SimqBrokerIDX1 ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQMSG41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table index MQMSG41SimqBrokerIDX1 ...
    [11/Sep/2008:12:07:53 BST] Creating database table MQTXN41SimqBroker ...
    [11/Sep/2008:12:07:53 BST] Creating database table index MQTXN41SimqBrokerIDX1 ...
    [11/Sep/2008:12:07:53 BST] ERROR [B3073]: Failed to create database tables - jdbc:sybase:Tds:localhost:5000/openmq_store
    com.sun.messaging.jmq.jmsserver.util.BrokerException: [B3073]: Failed to create
    database tables - jdbc:sybase:Tds:localhost:5000/openmq_store
    at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBTool.doCreate(DBTool.j
    ava:200)
    at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBTool.doCommand(DBTool.
    java:1700)
    at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBTool.main(DBTool.java:
    1749)
    Any ideas on how I can troubleshoot further?
    Thanks
    Edited by: chivz on Sep 11, 2008 4:12 AM

    Are there any errors in Sybase log ? From the error looks like it's failing while creating txn table which I think is using blobs.
    Tom

  • FFresFF crashing and restore session has been crashing without warning or notice for the past two weeks every other day, losing my restore session open windows

    several times in the past 2 weeks, i come back to my computer to find FF has closed. there are no alerts or notices of a crash. when i use restore session, only 3 windows are listed as "recently closed", when I have 20 or so open. i believe there have been 2 updates in that period. i have to manually go through 'all history" to find my missing windows!

    every time I have a problem with FF recently, someone suggests this. I try it and learn nothing.

  • AppFabric 1.1 with Windows 7 losing or abandone sessions and ignore the timeout settings

    Hi,
    We have a enterprise financial web solution using aspx and AppFabric 1.1 and we have an issue with Sessions as the get abandoned or appFabric is ignoring the timeout settings.
    I tried almost everything: use sql and xml configuration, deactivate firewalls, ensure all sessions are set to 20 minutes expirations. We have the appFabric settings on the web.config and our project is multilayer but sessions are mainly
    created/consumed at the web project level..
    We use AppFabric 1.1 with Sql Server 2008R2 over a Windows7 x64 environment.
    I also tried all the options using powerShell command: get-command -module DistributedCacheAdministration, I increased the TTL to 38 mins but still nothing makes any difference. Sessions are lost between ~~ 5 to 10 minutes no matter if
    you are playing with the solution or you left aside..
    Please help. I really appreciate any suggestion, idea, recommendation..
    Hernan Bogantes
    Florida.

    Note the provider type in AF 1.1 is 
    type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider,Microsoft.Web.DistributedCache"
    which is different from the type in 1.0:
    type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider"
    https://msdn.microsoft.com/en-us/library/hh361709(v=azure.10).aspx

  • BUG: ADF FACES 10.1.3 04: Crash w/nested UIXCollection & persistent session

    Use of a UIXCollection (af:table or af:iterator) nested within another UIXCollection causes a crash during processDecodes if the session state has been serialized and deserialized. The problem is that when the outer iterator restores its stamp state during iteration (in postRowDataChange), it ends up calling __setMyStampState on the inner iterator with an InternalState object that has been deserialized, and whose (transient) prevVarStatus member is therefore null (and not NULL, as it is normally initialized). At the end of iteration on the inner iterator, postRowDataChange attempts to restore the original value of the varStatus variable. Since prevVarValue != NULL, it thinks it should put the value back, but if there is no varStatus attribute on the iterator, iState._varStatus is null, and the assertion in _setELVar is triggered. As a workaround, setting a non-empty varStatus attribute on the inner iterator avoids the crash.
    java.lang.AssertionError
         at oracle.adf.view.faces.component.UIXCollection._setELVar(UIXCollection.java:1089)
         at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:654)
         at oracle.adf.view.faces.component.UIXCollection.setRowIndex(UIXCollection.java:379)
         at oracle.adf.view.faces.component.UIXIterator$Runner.run(UIXIterator.java:230)
         at oracle.adf.view.faces.component.UIXIterator.processFacetsAndChildren(UIXIterator.java:193)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:141)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:136)
         at oracle.adf.view.faces.component.ChildLoop$Decode.process(ChildLoop.java:75)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:39)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:30)
         at oracle.adf.view.faces.component.UIXColumn.processDecodes(UIXColumn.java:54)
         at oracle.adf.view.faces.component.UIXCollection.processComponent(UIXCollection.java:802)
         at oracle.adf.view.faces.component.TableUtils$3.process(TableUtils.java:256)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:39)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:30)
         at oracle.adf.view.faces.component.TableUtils.__processStampedChildren(TableUtils.java:252)
         at oracle.adf.view.faces.component.UIXTable._processStamps(UIXTable.java:497)
         at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:376)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:141)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:136)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
    ....

    James, what Venkat and Prashant are trying to do is something like this...
    1. If I connect to the DB using scott/tiger then in the preLogin method of the Toplink Session Listener class, the proxy user will connect using something like admin/welcome1 and in the database audit view, the name that shows up SHOULD BE that of admin and NOT of scott. This is called proxy authentication if it works fine.
    We developed the above scenario but in the audit logs, we still see scott instead of admin as the user who connected.
    2. This feature is available in the DB but our objective is to use it through TopLink
    Also see Toplink Proxy Authentication Not Working
    I hope I was able to explain the scenario clearly.
    Any help will be appreciated
    Regards,
    Amit

  • Identifying the sql for non persistant session

    We have a number of queries which are being directed to our Oracle 10.2.0.5 database.
    I am being informed that there is something wrong with these queries and I need to view the SQL for these queries to investigate.
    The problem I have is that the sequence of events is as follows :
    1. Connection is made to the database.
    2. Query is run and completes in less than 1 second.
    3. Database session is disconnected.
    Normally to investigate this I would connect to the session in question and interrogate the SQL.
    However, because steps 1-3 complete in a split second I am unable to do this.
    Is there any way that I can capture this SQL for investigation?
    Thank you in advance.

    user6502667 wrote:
    We have a number of queries which are being directed to our Oracle 10.2.0.5 database.
    I am being informed that there is something wrong with these queries and I need to view the SQL for these queries to investigate.
    The problem I have is that the sequence of events is as follows :
    1. Connection is made to the database.from which system(s)?
    as which user?
    2. Query is run and completes in less than 1 second.
    3. Database session is disconnected.
    Normally to investigate this I would connect to the session in question and interrogate the SQL.
    However, because steps 1-3 complete in a split second I am unable to do this.
    Is there any way that I can capture this SQL for investigation?
    Thank you in advance.AUDIT

Maybe you are looking for

  • Opening external link in a new browser window

    Some of the external links in my web page need to open in their own window, leaving my site still open in the background. Can anyone tell me how to do this? I don't see an option anywhere when I am creating these links. The links are to, for example,

  • Electronic bank statement question

    I have a scenario where I want the incoming customer payments to make 2 postings, first clear the customer account to deposit clearing account and then clear deposit clearing account to bank g/l. I have defined the posting rule to post on posting are

  • EPMA Windows Services not starting

    Before you all jump on me, I've read almost all of the threads and documentation concerning this issue that are out there. I've checked the databases and they are configured appropriately, I've checked the IPv6 settings and they are ok. this EPMA ins

  • Pre-compiled kernel 2.6.24.4-1 package for Nehemiah (C3-2)

    Find it at: http://blog.rohde.nu/?p=18 For people having the same bug as described at: http://bugs.archlinux.org/task/9565

  • Role Upload - System Aliases not used

    We are having a strange occurance during role upload. In the migrated content area, iViews are being created in folders that refer to system aliases used (e.g. R3, BW, etc.).  However, the "System" property of each iView is set to the logical system