1 Reply Latest reply on Jun 10, 2003 2:23 AM by jcordes

    ERROR [Manager] could not create Store: org.mortbay.j2ee.ses

    chrismalan

      HI All,
      After creating the Middlegen examples and installing them in JBoss the following happens:
      On starting JBoss the database tables are created (actually I'm told they already exist) and then I am told:

      -- 23:30:50,983 INFO [jbossweb]
      Extract jar:file:/usr/local/jboss-3.0.4/server/default/tmp/deploy/server/default/deploy/airline.ear/
      60.airline.ear-contents/airline-web.war!/ to /tmp/Jetty_0_0_0_0_8080__airline/webapp

      #Note: the file /airline-web.war and the directory
      /tmp/Jetty_0_0_0_0_8080__airline/webapp both exist with the right permissions

      More:
      23:30:52,755 ERROR [Manager] could not create Store:
      org.mortbay.j2ee.session.JGStore
      java.lang.ClassNotFoundException: org.mortbay.j2ee.session.JGStore

      JGStore.class is in org.mortbay.j2ee.jar which is in
      /JBossHome/server/default/deploy/jbossweb.sar/

      Now from the messages of JBoss at startup I get this as far as /jbossweb.sar/
      (a directory, not a file) is concerned:

      23:51:37,523 INFO [MainDeployer] Starting deployment of package:
      file:/usr/local/jboss-3.0.4/server/default/deploy/jbossweb.sar/
      23:51:41,370 INFO [jbossweb] Registered jboss.web:Jetty=0
      23:51:41,584 INFO [jbossweb] Registered jboss.web:Code=0
      23:51:41,681 INFO [jbossweb] Registered jboss.web:Log=0
      23:51:41,801 INFO [jbossweb] Registered jboss.web:Log=0,sink=0
      23:51:41,867 INFO [JettyService] Creating
      23:51:44,052 INFO [jbossweb] Registered jboss.web:Jetty=0,SocketListener=0
      23:51:44,509 INFO [jbossweb] Registered jboss.web:Jetty=0,AJP13Listener=0
      23:51:44,623 INFO [jbossweb] Registered jboss.web:Jetty=0,NCSARequestLog=0
      23:51:44,709 INFO [JettyService] Created
      23:51:44,713 INFO [JettyService] Starting
      23:51:44,715 INFO [MainDeployer] Adding deployer:
      org.jboss.jetty.JettyService@b34126
      23:51:44,754 INFO [MainDeployer] Starting deployment of package:
      file:/usr/local/jboss-3.0.4/server/default/deploy/http-invoker.sar/invoker.war/

      The last line is just to show that JBoss is finished deploying the contents of
      directory jbossweb.sar - hopefully also org.mortbay.j2ee.jar, although there
      are no messages about it.

      Now, as far as JBoss is concerned, this is the environment it operates in
      (straight from the horse's mouth):

      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss-3.0.4

      JAVA: /usr/java/j2sdk1.4.0/bin/java

      JAVA_OPTS: -server -Dprogram.name=run.sh

      CLASSPATH:
      /usr/local/jboss-3.0.4/bin/run.jar:/usr/java/j2sdk1.4.0/lib/tools.jar

      ================================================================================

      The only jar in JBoss that didn't come with JBoss is the database driver jar
      file, pgjdbc2.jar.

      Any idea what it may be? I've spent a long time doing this and that and searched all the message boards - no help. Someone on the Middlegen board said it sounds like a JBoss problem.

      Thanks very much,