5 Replies Latest reply on Sep 27, 2002 1:56 PM by dsundstrom

    Unable to load a ResultSet column into a variable of type

    mortena

      I get the following exception when I try to run my application on JBoss 3.0:

      Unable to load a ResultSet column into a variable of type 'mg.WateringPK';

      The mg.WateringPK is a Primary key class of my bean. The problem only arise when i redeploy my application on jboss that is running. i.e. If I restart JBoss the exception is not thrown.
      I have tryed to investigate it myself, and I even tryed to set commit-option=B in my jboss.xml file.
      I have a sneaky suspicion that the error comes from the fact that when I start JBoss a lifecyclelistener class is missing:
      java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener

      But since it was an catalina file I think that it has something to do with tomcat!

      Any ideas on how to avoid the problem without having to restart JBoss on every redeployment.

      Morten Andersen
      Denmark