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

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

    Chris Malan Novice

      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

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

      JGStore.class is in org.mortbay.j2ee.jar which is in

      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:
      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:
      23:51:44,754 INFO [MainDeployer] Starting deployment of package:

      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



      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,