-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Unable to get Hibernate to work on WebSphere 6.1
PostPosted: Tue Oct 30, 2007 9:45 am 
Newbie

Joined: Tue Jun 12, 2007 9:28 am
Posts: 8
Location: Ohio, Mississippi, Michigan
I am developing an application that uses Hibernate and runs on IBM WebSphere Application Server 6.1.
It is built using Maven2. When I build it, unit tests are run that test the DB connectivity through
Hibernate by running a few simple criteria queries. These run just fine and pass without error.

When I deploy the EAR file to WAS and hit the page that runs the same queries, it crashes with the
exception given below. It is hitting the same database as the unit tests mentioned previously.
I have tried using a WebSphere datasource and also connecting directly to the database using the same
connection properties as the test run, but still end up with the same exception.

I have an instance of WAS running on my machine, so I am connecting from the same IP to the DB server.
The only thing that I can figure is that there is some error in IBM's JDK that prevents it from
handling some (Hibernate) annotations correctly.

The annotation that the configuration is failing on is an embedded type. The Activity class has a
field, coordinate, that is an embedded instance of the MapCoordinate class. The MapCoordinate class
has two members, latitude and longitude, of types Latitude and Longitude, respectively. Each of these
inherits from the AbstractCoordinatePart class. Here is a snippit from MapCoordinate.java that shows
their declarations:
Code:
/** The latitude part of the coordinate. **/
@Embedded
@AttributeOverrides({
   @AttributeOverride(name = "degree", column = @Column(name = "LAT_DEG")),
   @AttributeOverride(name = "minute", column = @Column(name = "LAT_MIN")),
   @AttributeOverride(name = "second", column = @Column(name = "LAT_SEC"))
})
private Latitude latitude;

/** The longitude part of the coordinate. **/
@Embedded
@AttributeOverrides({
   @AttributeOverride(name = "degree", column = @Column(name = "LON_DEG")),
   @AttributeOverride(name = "minute", column = @Column(name = "LON_MIN")),
   @AttributeOverride(name = "second", column = @Column(name = "LON_SEC"))
})
private Longitude longitude;


I can only guess that the problem is coming from either the @Embedded in Activity.java, the layered
@Embedded's in Activity.java and MapCoordinate.java, or the @AttributeOverrides in MapCoordinate.java.
Again, these work just fine when run under Sun's JDK 6, but fail under IBM's JDK 5. This is the first
instance of an embedded type that is used in the program, so I cannot see if there are other @Embedded's
that actually work or if they all fail.

Thanks in advance for any assistance.

Chris Lieb

---------------------------------------------------------------------------------------------------------

Hibernate version:
Core: 3.2.5.ga
Annotations: 3.3.0.ga
Commons-Annotations: 3.3.0.ga

Mapping documents:
Get DB connectivity through WAS datasource. Used only in EAR. I do not know if this actually works.
Code:
<hibernate-configuration>
    <session-factory>
        <!-- Database connection settings -->
        <property name="connection.datasource">jdbc/SwearDatasource</property>
        <property name="connection.username"></property>
        <property name="connection.password"></property>

        <!-- SQL dialect -->
        <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>

        <!-- Enable Hibernate's automatic session context management -->
        <property name="current_session_context_class">thread</property>

        <!-- Disable the second-level cache  -->
        <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
      
      <!-- snip -->
    </session-factory>
</hibernate-configuration>


Connect directly to the DB. Works in Maven but not once deployed to WAS.
Code:
<hibernate-configuration>
    <session-factory>
      <!-- Database connection settings -->
      <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
      <property name="connection.url">jdbc:oracle:thin:@10.192.203.246:1521:ORA10G</property>
      <property name="connection.username">OPC_SWEAR</property>
      <property name="connection.password">password</property>

      <!-- SQL dialect -->
      <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>

      <!-- Enable Hibernate's automatic session context management -->
      <property name="current_session_context_class">thread</property>

      <!-- Disable the second-level cache  -->
      <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
      
      <!-- snip -->
    </session-factory>
</hibernate-configuration>


Code between sessionFactory.openSession() and session.close():
Code:
SessionFactory sessionFactory = HibernateUtil.getSessionFactory(); // AuthServlet.java:127
Session session = sessionFactory.openSession();
session.beginTransaction();
user = (User) session.createCriteria(User.class)
      .add(Restrictions.eq("userName", username)).uniqueResult();
if (user == null) {
   throw new UserNotFoundException(username);
}
if (user.checkPassword(password) == false) {
   throw new InvalidPasswordException();
}
session.getTransaction().commit();
session.close();


Code in us.ms.state.deq.commons.util.HibernateUtil that appears in the stack trace:
Code:
public static void rebuildSessionFactory(final Configuration cfg) {
   if (HibernateUtil.LOG.isDebugEnabled()) {
      HibernateUtil.LOG
            .debug("Rebuilding the SessionFactory from given "
                  + "Configuration");
   }
   if ((HibernateUtil.sessionFactory != null)
         && !HibernateUtil.sessionFactory.isClosed()) {
      HibernateUtil.sessionFactory.close();
   }
   if (cfg.getProperty(Environment.SESSION_FACTORY_NAME) != null) {
      if (HibernateUtil.LOG.isDebugEnabled()) {
         HibernateUtil.LOG.debug("Managing SessionFactory in JNDI");
      }
      cfg.buildSessionFactory();
   } else {
      if (HibernateUtil.LOG.isDebugEnabled()) {
         HibernateUtil.LOG
               .debug("Holding SessionFactory in static variable");
      }
      HibernateUtil.sessionFactory = cfg.buildSessionFactory(); // HibernateUtil.java:180
   }
   HibernateUtil.configuration = cfg;
}


Full stack trace of any exception that occurs:
Code:
java.lang.ExceptionInInitializerError
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:195)
   at us.ms.state.deq.swear.core.controller.AuthServlet.getUser(AuthServlet.java:127)
   at us.ms.state.deq.swear.core.controller.AuthServlet.doPost(AuthServlet.java:72)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
   at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
   at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
   at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: java.lang.ArrayStoreException
   at com.ibm.oti.reflect.AnnotationHelper.getReturnValueFromEntry(Native Method)
   at com.ibm.oti.reflect.AnnotationHelper.access$000(AnnotationHelper.java:14)
   at com.ibm.oti.reflect.AnnotationHelper$AnnotationInvocationHandler.invoke(AnnotationHelper.java:104)
   at $Proxy15.value(Unknown Source)
   at org.hibernate.cfg.AbstractPropertyHolder.buildColumnOverride(AbstractPropertyHolder.java:139)
   at org.hibernate.cfg.AbstractPropertyHolder.setCurrentProperty(AbstractPropertyHolder.java:56)
   at org.hibernate.cfg.ComponentPropertyHolder.<init>(ComponentPropertyHolder.java:62)
   at org.hibernate.cfg.PropertyHolderBuilder.buildPropertyHolder(PropertyHolderBuilder.java:45)
   at org.hibernate.cfg.AnnotationBinder.fillComponent(AnnotationBinder.java:1706)
   at org.hibernate.cfg.AnnotationBinder.bindComponent(AnnotationBinder.java:1665)
   at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1544)
   at org.hibernate.cfg.AnnotationBinder.fillComponent(AnnotationBinder.java:1731)
   at org.hibernate.cfg.AnnotationBinder.bindComponent(AnnotationBinder.java:1665)
   at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1544)
   at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733)
   at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
   at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
   at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
   at us.ms.state.deq.commons.util.HibernateUtil.rebuildSessionFactory(HibernateUtil.java:180)
   at us.ms.state.deq.commons.util.HibernateUtil.<clinit>(HibernateUtil.java:69)
   at java.lang.J9VMInternals.initializeImpl(Native Method)
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
   ... 23 more


Name and version of the database you are using:
Oracle 10g (10.2.0.3.0)

The generated SQL (show_sql=true):
There is never any SQL output.

Debug level Hibernate log excerpt: (Linebreaks inserted by me indicated with « and »)
Code:
************ Start Display Current Environment ************
WebSphere Platform 6.1 [BASE 6.1.0.2 cf20633.22]  running with process name cliebdevel-didNode01Cell\ «
»   cliebdevel-didNode01\server1 and process id 4956
Host Operating System is Windows XP, version 5.1 build 2600 Service Pack 2
Java version = J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT  - 20060428_1800_r8
GC   - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\SDP70\runtimes\base_v61
user.install.root = C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01
Java Home = C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre
ws.ext.dirs = C:\Program Files\IBM\SDP70\runtimes\base_v61/java/lib;C:\Program Files\IBM\SDP70\runtimes\ «
»   base_v61\profiles\AppSrv01/classes;C:\Program Files\IBM\SDP70\runtimes\base_v61/classes;C:\Program Files\ «
»   IBM\SDP70\runtimes\base_v61/lib;C:\Program Files\IBM\SDP70\runtimes\base_v61/installedChannels; «
»   C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/ext;C:\Program Files\IBM\SDP70\runtimes\base_v61 «
»   /web/help;C:\Program Files\IBM\SDP70\runtimes\base_v61/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01/properties;C:\Program Files\IBM\ «
»   SDP70\runtimes\base_v61/properties;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/startup.jar; «
»   C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/bootstrap.jar;C:\Program Files\IBM\SDP70\runtimes\ «
»   base_v61/lib/j2ee.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/lmproxy.jar; «
»   C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/urlprotocols.jar;C:\Program Files\IBM\SDP70\runtimes\ «
»   base_v61/deploytool/itp/batchboot.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/deploytool/itp/batch2.jar; «
»   C:\Program Files\IBM\SDP70\runtimes\base_v61/java/lib/tools.jar
Java Library path = C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\bin;.;C:\Program Files\IBM\SDP70\ «
»   runtimes\base_v61\java\jre\bin;C:\Program Files\IBM\SDP70\runtimes\base_v61\bin;C:\Program Files\IBM\ «
»   SDP70\runtimes\base_v61\java\bin;C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\bin; «
»   c:\program files\imagemagick-6.3.0-q16;C:\Program Files\Windows Resource Kits\Tools\;C:\oracle\ora92\bin; «
»   C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\Oracle\jre\1.3.1\bin; «
»   C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ «
»   Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Apache Software Foundation\apache-ant-1.7\ «
»   bin;C:\Program Files\Subversion\bin;C:\Program Files\Sysinternals;C:\Program Files\png2ico;C:\WINDOWS\ «
»   system32\WindowsPowerShell\v1.0;C:\Program Files\Apache Software Foundation\maven-2.0\bin;C:\Program Files\ «
»   ATI Technologies\ATI.ACE\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\ «
»   Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\DTS\Binn\; «
»   c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;c:\cygwin\bin;C:\Program Files\ «
»   IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Program Files\IBM\SQLLIB\REPL;C:\Program Files\ «
»   Subversion\bin;C:\Program Files\IBM\Installation Manager\eclipse\lib;C:\Program Files\ «
»   SSH Communications Security\SSH Secure Shell
************* End Display Current Environment *************

<!-- snip -->

TRACE [AuthServlet] - Processing POST request
TRACE [AuthServlet] - Setting up User object
DEBUG [HibernateUtil] - Initializing Hibernate
INFO  [Version] - Hibernate Annotations 3.3.0.GA
INFO  [Environment] - Hibernate 3.2.5
INFO  [Environment] - hibernate.properties not found
INFO  [Environment] - Bytecode provider name : cglib
INFO  [Environment] - using JDK 1.4 java.sql.Timestamp handling
INFO  [Configuration] - configuring from resource: /hibernate.cfg.xml
INFO  [Configuration] - Configuration resource: /hibernate.cfg.xml
DEBUG [DTDEntityResolver] - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
DEBUG [DTDEntityResolver] - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
DEBUG [DTDEntityResolver] - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
DEBUG [Configuration] - connection.driver_class=oracle.jdbc.driver.OracleDriver
DEBUG [Configuration] - connection.url=jdbc:oracle:thin:@10.192.203.246:1521:ORA10G
DEBUG [Configuration] - connection.username=OPC_SWEAR
DEBUG [Configuration] - connection.password=password
DEBUG [Configuration] - dialect=org.hibernate.dialect.Oracle9Dialect
DEBUG [Configuration] - current_session_context_class=thread
DEBUG [Configuration] - cache.provider_class=org.hibernate.cache.NoCacheProvider
DEBUG [Configuration] - show_sql=true
DEBUG [Configuration] - format_sql=true
DEBUG [Configuration] - use_sql_comments=true
DEBUG [Configuration] - hbm2ddl.auto=validate
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@f000f00 [Attribute: name class value «
»   "us.ms.state.deq.commons.coord.Latitude"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@f2e0f2e [Attribute: name class value «
»   "us.ms.state.deq.commons.coord.Longitude"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@f820f82 [Attribute: name class value «
»   "us.ms.state.deq.commons.coord.MapCoordinate"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@fb20fb2 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Acode"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@fe40fe4 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Activity"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@10181018 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.ActivityType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@104c104c [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Attachment"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@107c107c [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Basin"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@10b210b2 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.CollectionMethod"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@111e111e [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.County"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@11501150 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.EcoRegion"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@11861186 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.FieldMeasurement"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@11be11be [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.FieldMeasurementType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@12281228 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.FieldObservation"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@125a125a [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Funding"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@128a128a [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Mcode"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@12ba12ba [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Pcode"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@12ec12ec [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Program"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@131e131e [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Result"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@14921492 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Run"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@14c414c4 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Sample"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@14fa14fa [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.SampleMediaType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@152e152e [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.SampleType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@15641564 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.SamplingPeriod"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@15961596 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Station"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@15ca15ca [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.StationType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@15fa15fa [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Study"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@16301630 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.TravelDirection"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@16601660 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.Unit"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@16de16de [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.UnitType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@17101710 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.WaterBody"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@17421742 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.swear.WaterType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@17741774 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.Address"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@17a817a8 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.Application"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@17da17da [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.Email"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@180e180e [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.EmailType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@18401840 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.JobRole"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@18721872 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.Group"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@18a418a4 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.Phone"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@18d818d8 [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.PhoneType"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@190a190a [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.State"]
DEBUG [otationConfiguration] - null<-org.dom4j.tree.DefaultAttribute@193a193a [Attribute: name class value «
»   "us.ms.state.deq.swear.core.model.person.User"]
INFO  [Configuration] - Configured SessionFactory: null
DEBUG [Configuration] - properties: {ibm.websphere.internalClassAccessMode=allow, «
»   org.osgi.framework.executionenvironment=J2SE-1.5, osgi.framework=file:/C:/Program Files/IBM/SDP70/runtimes/ «
»   base_v61/plugins/org.eclipse.osgi_3.1.2.jar, hibernate.connection.username=OPC_SWEAR, «
»   java.home=C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre, «
»   eclipse.application=com.ibm.ws.bootstrap.WSLauncher, org.osgi.framework.bootdelegation=*, «
»   osgi.bundlestore=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\configuration\org.eclipse.osgi\bundles, «
»   java.assistive=ON, java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060504 (JIT enabled)
   J9VM - 20060501_06428_lHdSMR
   JIT  - 20060428_1800_r8
   GC   - 20060501_AA, was.repository.root=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\config, «
»      java.vendor.url=http://www.ibm.com/, java.version=1.5.0, osgi.os=win32, connection.username=OPC_SWEAR, «
»      com.ibm.oti.shared.SharedClassHelperFactoryClass=com.ibm.oti.shared.SharedClassHelperFactoryImpl, «
»      dialect=org.hibernate.dialect.Oracle9Dialect, osgi.splashPath=platform:/base/plugins/org.eclipse.platform, «
»      com.ibm.oti.vm.library.version=23, java.protocol.handler.pkgs=com.ibm.net.ssl.www2.protocol|com.ibm.ws. «
»      protocol|com.ibm.net.ssl.internal.www.protocol|com.ibm.crypto.provider, com.ibm.SOAP.requestTimeout=600, «
»      user.name=CLIEB, org.osgi.framework.version=1.3.0, sun.io.unicode.encoding=UnicodeLittle, «
»      org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces, «
»      javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp, «
»      javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management, «
»      javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean, «
»      javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer, «
»      javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net, «
»      javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event, «
»      javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback, «
»      javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500, «
»      javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled, «
»      javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi, «
»      javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser, «
»      javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi, «
»      javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html, «
»      javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction, «
»      javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform, «
»      javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation, «
»      javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable, «
»      org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage, «
»      org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage, «
»      org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage, «
»      org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging, «
»      org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer, «
»      org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage, «
»      org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable, «
»      org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom, «
»      org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers, «
»      sun.jnu.encoding=Cp1252, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, «
»      ibm.system.encoding=Cp1252, osgi.instance.area.default=file:/C:/Documents and Settings/CLIEB/workspace/, «
»      java.specification.name=Java Platform API Specification, user.timezone=America/Chicago, osgi.nl=en_US, «
»      java.awt.fonts=, path.separator=;, java.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager, «
»      com.ibm.oti.jcl.build=20060331_1751, file.encoding=Cp1252, osgi.arch=x86, hibernate.format_sql=true, «
»      com.ibm.oti.configuration=scar, FFDCProcessLevel=4, «
»      hibernate.connection.url=jdbc:oracle:thin:@10.192.203.246:1521:ORA10G, osgi.bundles=com.ibm.cds, «
»      org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start, «
»      hibernate.hbm2ddl.auto=validate, java.io.tmpdir=C:\DOCUME~1\CLIEB\LOCALS~1\Temp\, «
»      org.osgi.framework.os.name=WindowsXP, user.language=en, eof=eof, line.separator=
   , org.osgi.framework.processor=x86, java.security.auth.login.config=C:\Program Files\IBM\SDP70\runtimes\ «
»      base_v61\profiles\AppSrv01/properties/wsjaas.conf, jxe.lowest.romimage.version=9, «
»      com.ibm.itp.location=C:\Program Files\IBM\SDP70\runtimes\base_v61/bin, «
»      com.ibm.wsspi.runtime.ThreadPoolRepositoryName=com.ibm.ws.runtime.WSThreadPoolRepository, «
»      java.vm.info=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060504 (JIT enabled)
   J9VM - 20060501_06428_lHdSMR
   JIT  - 20060428_1800_r8
   GC   - 20060501_AA, osgi.manifest.cache=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\ «
»      configuration\org.eclipse.osgi\manifests, osgi.adaptor=com.ibm.cds.Adaptor, «
»      java.util.prefs.PreferencesFactory=com.ibm.ws.util.prefs.HashPreferencesFactory, «
»      java.vm.specification.name=Java Virtual Machine Specification, hbm2ddl.auto=validate, «
»      current_session_context_class=thread, java.naming.provider.url=corbaloc:rir:/NameServiceServerRoot, «
»      FFDCLogDirectory=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01/logs/ffdc, «
»      com.ibm.cpu.endian=little, invokedviajava=, «
»      osgi.configuration.area=file:/C:/Program Files/IBM/SDP70/runtimes/base_v61/profiles/AppSrv01/configuration/, «
»      java.awt.printerjob=sun.awt.windows.WPrinterJob, com.ibm.util.extralibs.properties=, osgi.ws=win32, «
»      org.osgi.supports.framework.extension=true, osgi.framework.extensions=com.ibm.cds, «
»      osgi.parentClassloader=app, org.osgi.framework.language=en, os.name=Windows XP, «
»      java.specification.vendor=Sun Microsystems Inc., jxe.current.romimage.version=9, java.vm.name=IBM J9 VM, «
»      eclipse.buildId=M20060118-1600, java.library.path=C:\Program Files\IBM\SDP70\runtimes\base_v61\ «
»      java\jre\bin;.;C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\bin;C:\Program Files\IBM\SDP70\ «
»      runtimes\base_v61\bin;C:\Program Files\IBM\SDP70\runtimes\base_v61\java\bin;C:\Program Files\IBM\SDP70\ «
»      runtimes\base_v61\java\jre\bin;c:\program files\imagemagick-6.3.0-q16;C:\Program Files\ «
»      Windows Resource Kits\Tools\;C:\oracle\ora92\bin;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\ «
»      jdk1.6.0\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin; «
»      C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel; «
»      C:\Program Files\Apache Software Foundation\apache-ant-1.7\bin;C:\Program Files\Subversion\bin; «
»      C:\Program Files\Sysinternals;C:\Program Files\png2ico;C:\WINDOWS\system32\WindowsPowerShell\v1.0; «
»      C:\Program Files\Apache Software Foundation\maven-2.0\bin;C:\Program Files\ATI Technologies\ATI.ACE\; «
»      c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\Microsoft Visual Studio 8\ «
»      Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\DTS\Binn\; «
»      c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;c:\cygwin\bin; «
»      C:\Program Files\IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Program Files\IBM\SQLLIB\REPL; «
»      C:\Program Files\Subversion\bin;C:\Program Files\IBM\Installation Manager\eclipse\lib; «
»      C:\Program Files\SSH Communications Security\SSH Secure Shell;C:\Program Files\IBM\SDP70\ «
»      runtimes\base_v61\lib\WMQ\java\lib, eclipse.commands=-nosplash
   -application
   com.ibm.ws.bootstrap.WSLauncher
   , java.class.version=49.0, osgi.syspath=c:\Program Files\IBM\SDP70\runtimes\base_v61\plugins, «
»      osgi.sharedConfiguration.area=file:/C:/Program Files/IBM/SDP70/runtimes/base_v61/configuration/, «
»      java.compiler=j9jit23, connection.driver_class=oracle.jdbc.driver.OracleDriver, «
»      server.root=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01, console.encoding=Cp850, «
»      osgi.instance.area=file:/C:/Documents and Settings/CLIEB/workspace/, «
»      osgi.install.area=file:/C:/Program Files/IBM/SDP70/runtimes/base_v61/, «
»      sun.boot.library.path=C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\bin, «
»      osgi.checkConfiguration=false, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, «
»      user.variant=, hibernate.cache.provider_class=org.hibernate.cache.NoCacheProvider, «
»      eclipse.security=, user.install.root=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01, «
»      java.vm.specification.version=1.0, hibernate.bytecode.use_reflection_optimizer=false, «
»      awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.password=password, hibernate.show_sql=true, «
»      java.ext.dirs=C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ext, com.ibm.security.useFIPS=false, «
»      osgi.framework.version=3.1.2, os.version=5.1 build 2600 Service Pack 2, «
»      user.home=C:\Documents and Settings\CLIEB, com.ibm.ejs.jts.processType=server, «
»      java.vm.vendor=IBM Corporation, connection.password=password, python.cachedir=C:\Program Files\IBM\SDP70\ «
»      runtimes\base_v61\profiles\AppSrv01/temp/cachedir, user.dir=C:\Program Files\IBM\SDP70\runtimes\base_v61\ «
»      profiles\AppSrv01, org.osgi.framework.os.version=5.1, osgi.framework.shape=jar, «
»      hibernate.dialect=org.hibernate.dialect.Oracle9Dialect, com.ibm.vm.bitmode=32, «
»      was.repository.temp=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\config\temp\, «
»      osgi.noLazyStateLoading=true, connection.url=jdbc:oracle:thin:@10.192.203.246:1521:ORA10G, «
»      java.util.logging.configureByServer=true, eclipse.startTime=1193694683406, java.vm.version=2.3, «
»      java.class.path=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01/properties; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/properties;C:\Program Files\IBM\SDP70\runtimes\base_v61/ «
»      lib/startup.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/bootstrap.jar;C:\Program Files\IBM\ «
»      SDP70\runtimes\base_v61/lib/j2ee.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/lmproxy.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/urlprotocols.jar;C:\Program Files\IBM\SDP70\runtimes\ «
»      base_v61/deploytool/itp/batchboot.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/deploytool/itp/batch2.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/java/lib/tools.jar, hibernate.use_sql_comments=true, «
»      os.arch=x86, javax.rmi.CORBA.UtilClass=com.ibm.ws.orb.WSUtilDelegateImpl, «
»      ws.ext.dirs=C:\Program Files\IBM\SDP70\runtimes\base_v61/java/lib; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01/classes; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/classes;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/installedChannels; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/ext;C:\Program Files\IBM\SDP70\runtimes\base_v61/web/help; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61/deploytool/itp/plugins/ «
»      com.ibm.etools.ejbdeploy/runtime, org.osgi.framework.vendor=Eclipse, «
»      cache.provider_class=org.hibernate.cache.NoCacheProvider, «
»      java.vm.specification.vendor=Sun Microsystems Inc., was.install.root=C:\Program Files\IBM\SDP70\runtimes\ «
»      base_v61, file.separator=\, hibernate.current_session_context_class=thread, «
»      java.runtime.version=pwi32dev-20060511 (SR2), hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver,  «
»      ibm.signalhandling.sigint=true, sun.boot.class.path=C:\Program Files\IBM\SDP70\runtimes\base_v61/java/jre/lib/ «
»      ext/ibmorb.jar;C:\Program Files\IBM\SDP70\runtimes\base_v61/java/jre/lib/ext/ibmext.jar;C:\Program Files\IBM\ «
»      SDP70\runtimes\base_v61\java\jre\lib\vm.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\core.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\charsets.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\graphics.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\security.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmpkcs.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmorb.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmcfw.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmorbapi.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmjcefw.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmjgssprovider.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmjsseprovider2.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmjaaslm.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmjaasactivelm.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\ibmcertpathprovider.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\server.jar; «
»      C:\Program Files\IBM\SDP70\runtimes\base_v61\java\jre\lib\xml.jar, «
»      java.security.policy=C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01/properties/server.policy, «
»      ibm.signalhandling.rs=false, sun.java2d.fontpath=, show_sql=true, osgi.frameworkClassPath=., «
»      file:C:/Program Files/IBM/SDP70/runtimes/base_v61/plugins/com.ibm.cds_1.0.0.jar, user.country=US, «
»      osgi.framework.beginningstartlevel=1, «
»      osgi.logfile=C:\Documents and Settings\CLIEB\workspace\.metadata\.log, use_sql_comments=true, «
»      java.jcl.version=20060511a, com.ibm.oti.vm.bootstrap.library.path=C:\Program Files\IBM\SDP70\runtimes\ «
»      base_v61\java\jre\bin, ibm.signalhandling.sigchain=true, java.vendor=IBM Corporation, «
»      javax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder, «
»      derby.system.home=C:\Program Files\IBM\SDP70\runtimes\base_v61/derby, format_sql=true, «
»      java.naming.factory.url.pkgs=com.ibm.ws.runtime:com.ibm.iscportal.jndi, java.specification.version=1.5, «
»      sun.arch.data.model=32}
DEBUG [HibernateUtil] - Rebuilding the SessionFactory from given Configuration
DEBUG [HibernateUtil] - Holding SessionFactory in static variable
DEBUG [otationConfiguration] - Validator not present in classpath, ignoring event listener registration
DEBUG [otationConfiguration] - Search not present in classpath, ignoring event listener registration
DEBUG [Configuration] - Preparing to build session factory with filters : {}
DEBUG [otationConfiguration] - Execute first pass mapping processing
DEBUG [otationConfiguration] - Process hbm files
DEBUG [otationConfiguration] - Process annotated classes
INFO  [AnnotationBinder] - Binding entity from annotated class: us.ms.state.deq.swear.core.model.swear.Acode
DEBUG [Ejb3Column] - Binding column DTYPE unique false
DEBUG [EntityBinder] - Import with entity name=Acode
INFO  [EntityBinder] - Bind entity us.ms.state.deq.swear.core.model.swear.Acode on table SWEAR_ACODE
DEBUG [AnnotationBinder] - Processing us.ms.state.deq.swear.core.model.swear.Acode property annotation
DEBUG [AnnotationBinder] - Processing us.ms.state.deq.swear.core.model.swear.Acode field annotation
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.acode
DEBUG [Ejb3Column] - Binding column ACODE unique false
DEBUG [AnnotationBinder] - acode is an id
DEBUG [SimpleValueBinder] - building SimpleValue for acode
DEBUG [PropertyBinder] - Building property acode
DEBUG [AnnotationBinder] - Bind @Id on acode
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.comments
DEBUG [Ejb3Column] - Binding column COMMENTS unique false
DEBUG [PropertyBinder] - binding property comments with lazy=false
DEBUG [SimpleValueBinder] - building SimpleValue for comments
DEBUG [PropertyBinder] - Building property comments
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.description
DEBUG [Ejb3Column] - Binding column DESCRIPTION unique false
DEBUG [PropertyBinder] - binding property description with lazy=false
DEBUG [SimpleValueBinder] - building SimpleValue for description
DEBUG [PropertyBinder] - Building property description
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.mcodes
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column mcodes unique false
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column element unique false
DEBUG [Ejb3Column] - Binding column mapkey unique false
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [CollectionBinder] - Collection role: us.ms.state.deq.swear.core.model.swear.Acode.mcodes
DEBUG [PropertyBinder] - Building property mcodes
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.mdl
DEBUG [Ejb3Column] - Binding column MDL unique false
DEBUG [PropertyBinder] - binding property mdl with lazy=false
DEBUG [SimpleValueBinder] - building SimpleValue for mdl
DEBUG [PropertyBinder] - Building property mdl
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.unitType
DEBUG [Ejb3Column] - Binding column UNIT_TYPE_ID unique false
DEBUG [Ejb3Column] - Binding column unitType unique false
DEBUG [PropertyBinder] - Building property unitType
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Acode.version
DEBUG [Ejb3Column] - Binding column VERSION unique false
DEBUG [AnnotationBinder] - version is a version property
DEBUG [PropertyBinder] - binding property version with lazy=false
DEBUG [SimpleValueBinder] - building SimpleValue for version
DEBUG [PropertyBinder] - Building property version
DEBUG [AnnotationBinder] - Version name: version, unsavedValue: undefined
INFO  [AnnotationBinder] - Binding entity from annotated class: us.ms.state.deq.swear.core.model.swear.Activity
DEBUG [Ejb3Column] - Binding column DTYPE unique false
DEBUG [EntityBinder] - Import with entity name=Activity
INFO  [EntityBinder] - Bind entity us.ms.state.deq.swear.core.model.swear.Activity on table SWEAR_ACTIVITY
DEBUG [AnnotationBinder] - Processing us.ms.state.deq.swear.core.model.swear.Activity property annotation
DEBUG [AnnotationBinder] - Processing us.ms.state.deq.swear.core.model.swear.Activity field annotation
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.id
DEBUG [Ejb3Column] - Binding column ACTIVITY_ID unique false
DEBUG [AnnotationBinder] - id is an id
DEBUG [AnnotationBinder] - Add sequence generator with name: seqActivityId
DEBUG [SimpleValueBinder] - building SimpleValue for id
DEBUG [PropertyBinder] - Building property id
DEBUG [AnnotationBinder] - Bind @Id on id
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.collectionMethod
DEBUG [Ejb3Column] - Binding column COLLECTION_METHOD_ID unique false
DEBUG [Ejb3Column] - Binding column collectionMethod unique false
DEBUG [PropertyBinder] - Building property collectionMethod
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.collectors
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column element unique false
DEBUG [Ejb3Column] - Binding column mapkey unique false
DEBUG [Ejb3Column] - Binding column null unique false
DEBUG [Ejb3Column] - Binding column USER_ID unique false
DEBUG [Ejb3Column] - Binding column ACTIVITY_ID unique false
DEBUG [CollectionBinder] - Collection role: us.ms.state.deq.swear.core.model.swear.Activity.collectors
DEBUG [PropertyBinder] - Building property collectors
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.comments
DEBUG [Ejb3Column] - Binding column COMMENTS unique false
DEBUG [PropertyBinder] - binding property comments with lazy=false
DEBUG [SimpleValueBinder] - building SimpleValue for comments
DEBUG [PropertyBinder] - Building property comments
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.coordinate
DEBUG [Ejb3Column] - Binding column coordinate unique false
DEBUG [AnnotationBinder] - Binding component with path: us.ms.state.deq.swear.core.model.swear.Activity.coordinate
DEBUG [AnnotationBinder] - Processing us.ms.state.deq.commons.coord.MapCoordinate field annotation
DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.commons.coord.MapCoordinate.latitude
DEBUG [Ejb3Column] - Binding column latitude unique false
DEBUG [AnnotationBinder] - Binding component with path: us.ms.state.deq.swear.core.model.swear.Activity.coordinate.latitude
0000001e ServletWrappe E   SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: AuthServlet. «
»   Exception thrown : java.lang.ExceptionInInitializerError


Edit: Formatted the debug output so that it won't break the layout so badly.


Last edited by frohman on Tue Oct 30, 2007 12:43 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 30, 2007 12:04 pm 
Newbie

Joined: Tue Jun 12, 2007 9:28 am
Posts: 8
Location: Ohio, Mississippi, Michigan
I just switched the SQL dialect from Oracle9Dialect to Oracle9iDialect after noticing the
warning message in my console output. Unfortunately, this did not remedy the situation.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 4:32 pm 
Newbie

Joined: Tue Jun 12, 2007 9:28 am
Posts: 8
Location: Ohio, Mississippi, Michigan
I've played around some more and seem to have isolated the problem to an issue with the IBM JDK and the use of @AttributeOverrides. When I consolidated
MapCoordinate.class wrote:
Code:
/** The latitude part of the coordinate. **/
@Embedded
@AttributeOverrides({
   @AttributeOverride(name = "degree", column = @Column(name = "LAT_DEG")),
   @AttributeOverride(name = "minute", column = @Column(name = "LAT_MIN")),
   @AttributeOverride(name = "second", column = @Column(name = "LAT_SEC"))
})
private Latitude latitude;

/** The longitude part of the coordinate. **/
@Embedded
@AttributeOverrides({
   @AttributeOverride(name = "degree", column = @Column(name = "LON_DEG")),
   @AttributeOverride(name = "minute", column = @Column(name = "LON_MIN")),
   @AttributeOverride(name = "second", column = @Column(name = "LON_SEC"))
})
private Longitude longitude;

into
Activity.java wrote:
Code:
/** The map coordinate of the station. * */
@Embedded
@AttributeOverrides({
   @AttributeOverride(name = "latitude.degree", column = @Column(name = "LAT_DEG")),
   @AttributeOverride(name = "latitude.minute", column = @Column(name = "LAT_MIN")),
   @AttributeOverride(name = "latitude.second", column = @Column(name = "LAT_SEC")),
   @AttributeOverride(name = "longitude.degree", column = @Column(name = "LON_DEG")),
   @AttributeOverride(name = "longitude.minute", column = @Column(name = "LON_MIN")),
   @AttributeOverride(name = "longitude.second", column = @Column(name = "LON_SEC"))
})
private MapCoordinate coordinate;

the output changed from
IBM J9 output wrote:
Code:
Oct-31 14:54:04 DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.coordinate
Oct-31 14:54:04 DEBUG [Ejb3Column] - Binding column coordinate unique false
Oct-31 14:54:04 DEBUG [AnnotationBinder] - Binding component with path: us.ms.state.deq.swear.core.model.swear.Activity.coordinate
Oct-31 14:54:04 DEBUG [AnnotationBinder] - Processing us.ms.state.deq.commons.coord.MapCoordinate field annotation
Oct-31 14:54:04 DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.commons.coord.MapCoordinate.latitude
Oct-31 14:54:04 DEBUG [Ejb3Column] - Binding column latitude unique false
Oct-31 14:54:04 DEBUG [AnnotationBinder] - Binding component with path: us.ms.state.deq.swear.core.model.swear.Activity.coordinate.latitude
java.lang.ExceptionInInitializerError
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:195)

to
IBM J9 output wrote:
Code:
Oct-31 15:17:37 DEBUG [AnnotationBinder] - Processing annotations of us.ms.state.deq.swear.core.model.swear.Activity.coordinate
Oct-31 15:17:37 DEBUG [Ejb3Column] - Binding column coordinate unique false
Oct-31 15:17:37 DEBUG [AnnotationBinder] - Binding component with path: us.ms.state.deq.swear.core.model.swear.Activity.coordinate
java.lang.ExceptionInInitializerError
   at java.lang.J9VMInternals.initialize(J9VMInternals.java:195)

This indicates to me that the @AttributeOverrides are not being handled properly by J9, leading to an ExceptionInInitilizerError inside IBM J9.

Has anyone else run into this problem before? The only way for me to get around this is to flatten my object model some to remove the need for @AttributeOverrides. This is not desirable, but can be done with a small bit of effort.

Again, thanks in advance for any help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 4:50 pm 
Newbie

Joined: Fri Feb 09, 2007 6:51 pm
Posts: 16
You, probably, have 2 VMs on your WebSphere server. Try to avoid using both of them (PATH, JAVA_HOME)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 5:02 pm 
Newbie

Joined: Tue Jun 12, 2007 9:28 am
Posts: 8
Location: Ohio, Mississippi, Michigan
I haven't had issues with any other Java program or webapp running on this same machine, running under either the Sun or IBM JREs. All tests work just fine when run under Sun's JDK 6, but they error when run under IBM J9.

If this is my problem, how exactly should I check it? I have JAVA_HOME set to the Sun JDK and the Sun JRE 6 is the first Java anything that is on my path, though I will confess that the path is littered with many other JREs and JDKs, such as Oracle JInitiator 1.3.1 and 1.1.8. In their order appearance on the PATH: Sun JRE 6, Sun JDK 6, Oracle JInitiator 1.3.1, Oracle JInitiator 1.1.8. I forced Maven to run under IBM J9 by adding it to the front of my PATH temporarily and also temporarily changing my JAVA_HOME to IBM J9. This produced the same results that I was getting on WAS (the version built into Rational Application Developer 7.0), so it appears that I have the environment set up correctly.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 01, 2007 11:18 am 
Newbie

Joined: Tue Jun 12, 2007 9:28 am
Posts: 8
Location: Ohio, Mississippi, Michigan
I seems that the problem is that IBM J9 is unable to properly handle @Embedded occurring within an @Embeddable. After looking a little further, it also appears that the Sun JVM had similar issues, but it didn't throw an error. Instead, it silently failed and never included the columns in the generated schema.

Is there a known issue with Hibernate that prevents @Embedded occurring withing an @Embeddable? I know that the object model was a little wacky, but I figured that Hibernate would be able to handle it with aplomb.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 06, 2009 11:59 am 
Beginner
Beginner

Joined: Thu Jun 30, 2005 1:04 pm
Posts: 26
Any solution ?
I get the same problem....


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 07, 2009 4:36 am 
Newbie

Joined: Sat Mar 07, 2009 4:24 am
Posts: 10
I can confirm Hibernate Core 3.3.1.GA working fine on WebSphere 6.0.2.29 with IBM JDK 1.4.2 (which is certainly earlier release than yours). However, this problem seems to be related to Hibernate Annotations which I couldn't run due to JDK 1.4 limitations.
Why not switch to Hibernate Core?
BTW, haven't you try Hibernate libs that are usually shipped with WebSphere Network Deployment? There are also IBM developerWorks tutorials on Hibernate CRUD under WebSphere available in web, AFAIR.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.