-->
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.  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Jboss 4.0.2 and hibernate.har problems
PostPosted: Fri May 20, 2005 7:11 am 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Hi,
I am migrating from Jboss 4.0.0 to 4.0.2 and my problem is that the hibernate.har is not deploying. I simply copied the hibernate.har directory from Jboss 4.0.0 and placed it in the deploy folder of 4.0.2. Is this the wrong approach to take, what do I need to do to resolve this issue?

I am using OS X 10.4.

My hibernate.har structure is as follows:

1. hibernate.cfg.xml
2. META-INF
-- hibernate-service.xml
3. test
-- *.hbm.xml and *.class files
4. WEB-INF
-- lib

hibernate.cfg.xml
Code:
<!DOCTYPE hibernate-configuration PUBLIC
   "-//Hibernate/Hibernate Configuration DTD//EN"
   "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">


<hibernate-configuration>
   
    <session-factory>
        <class-cache class="test.Order" usage="transactional"/>         
        <collection-cache collection="test.Order.OrderItems" usage="transactional"/>
      <class-cache class="test.Artist" usage="transactional"/>
      <collection-cache collection="test.Artist.ArtistImages" usage="transactional"/>
      <class-cache class="test.User" usage="transactional"/>
      <collection-cache collection="test.User.ArtistChoice" usage="transactional"/>
      <class-cache class="test.Stock" usage="transactional"/>         
        <collection-cache collection="test.Stock.StockImages" usage="transactional"/>
        <class-cache class="test.ArtistBiog" usage="transactional"/>
    </session-factory>

</hibernate-configuration>


hibernate-service.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>

<server>
    <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate">
           <depends>jboss.jca:service=RARDeployer</depends>
        <depends>jboss.jca:service=LocalTxCM,name=PostgresDS</depends>
        <attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute>
        <attribute name="DatasourceName">java:/PostgresDS</attribute>
        <attribute name="Dialect">org.hibernate.dialect.PostgreSQLDialect</attribute>
        <attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
        <attribute name="Hbm2ddlAuto"></attribute>
        <attribute name="ShowSqlEnabled">true</attribute>
        <attribute name="JdbcBatchSize">25</attribute>
    </mbean>
</server>


Mapping documents:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
   "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
   "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="test">
   <class name="User" table="usertbl" lazy="false">
      <cache usage="read-write"/>
       <id name="ID" column="user_id" type="integer" unsaved-value="0">
         <generator class="sequence">
               <param name="sequence">seq_user_mytable</param>
         </generator>
      </id>
      <property name="FirstName" column="first_name" type="string" not-null="true"/>
      <property name="LastName" column="last_name" type="string" not-null="true"/>
      <property name="Address1" column="address1" type="string"/>
      <property name="Address2" column="address2" type="string"/>
      <property name="Address3" column="address3" type="string"/>
      <property name="PostCode" column="postcode" type="string"/>
      <property name="Country" column="country" type="string"/>
      <property name="Email" column="email" type="string" not-null="true"/>
      <property name="HomeTel" column="home_telephone" type="string"/>
      <property name="HomeMob" column="mobile_telephone" type="string"/>
      <property name="DateJoined" column="date_joined" type="timestamp"/>
      <property name="UserIP" column="user_ip" type="string"/>
      
      <property name="UserName" type="string">
         <column name="username" unique-key="UserPassKey"/>
      </property>
      
      <property name="UserPassword" type="string">
         <column name="userpassword" unique-key="UserPassKey"/>
      </property>
      
      <set name="ArtistChoice" lazy="true" inverse="true" cascade="all-delete-orphan">
         <cache usage="read-write"/>
          <key column="user_id"/>
         <one-to-many class="Artist"/>
       </set>
   </class>
</hibernate-mapping>


Jboss startup trace:
Code:
12:05:22,876 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/Library/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
12:05:24,774 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/Library/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
12:05:25,874 INFO  [MailService] Mail Service bound to java:/Mail
12:05:26,328 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
12:05:26,445 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
12:05:26,544 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
12:05:26,650 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
12:05:26,752 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
12:05:26,834 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/Library/jboss-4.0.2/server/default/deploy/mail-ra.rar
12:05:27,702 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS'
12:05:28,053 INFO  [A] Bound to JNDI name: queue/A
12:05:28,055 INFO  [B] Bound to JNDI name: queue/B
12:05:28,058 INFO  [C] Bound to JNDI name: queue/C
12:05:28,060 INFO  [D] Bound to JNDI name: queue/D
12:05:28,063 INFO  [ex] Bound to JNDI name: queue/ex
12:05:28,087 INFO  [testTopic] Bound to JNDI name: topic/testTopic
12:05:28,090 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
12:05:28,092 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
12:05:28,094 INFO  [testQueue] Bound to JNDI name: queue/testQueue
12:05:28,153 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
12:05:28,200 INFO  [DLQ] Bound to JNDI name: queue/DLQ
12:05:28,409 INFO  [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
12:05:28,539 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=PostgresDS,service=DataSourceBinding to JNDI name 'java:PostgresDS'
12:05:28,680 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/Library/jboss-4.0.2/server/default/deploy/jmx-console.war/
12:05:28,965 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
12:05:29,055 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:05:29,068 INFO  [JkMain] Jk running ID=0 time=0/42  config=null
12:05:29,076 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 33s:542ms


Name and version of the database you are using:
Code:
postgres-ds.xml (postgresql 8)

<datasources>
  <local-tx-datasource>
    <jndi-name>PostgresDS</jndi-name>
    <connection-url>jdbc:postgresql://localhost:5432/beyarecords?ssl=true</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>*</user-name>
    <password>*</password>
    <max-pool-size>10</max-pool-size>
      <metadata>
         <type-mapping>PostgreSQL 7.2</type-mapping>
      </metadata>
  </local-tx-datasource>
</datasources>


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 9:09 am 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Can anyone please help me with this issue?

regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 10:53 am 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Ok do I take it that no one has an answer to this?! Can anyone tell me why the hibernate.har folder is not being deplyed?

I have placed it in the deploy directory and it is not being deployed. Can anyone please tell me what I am missing here?

regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 11:14 am 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Furter to me earlier posts, I get the following error message if I rename hibernate.har to hibernate, what does this mean?:

Code:
java.lang.NullPointerException
        at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:595)
        at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:578)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:418)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,797 WARN  [ServiceController] Problem starting service jboss.har:service=Hibernate
java.lang.NullPointerException
        at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:595)
        at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:578)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:418)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,861 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45124Accounts.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,877 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45125Artist.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,897 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45127ArtistBiog.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,907 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45129ArtistImages.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,916 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45131Order.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,926 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45133OrderItem.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,933 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45135Stock.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,941 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45137StockImages.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,949 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45139TrackCount.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,958 WARN  [JARDeployer] Failed to add deployable jar: file:/Library/jboss-4.0.2/server/default/tmp/deploy/tmp45141User.class
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:275)
        at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:182)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
16:05:32,967 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@d9e90719 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/WEB-INF/lib/ehcache.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/WEB-INF/lib/ehcache.xml
  altDD: null
  lastDeployed: 1116601532854
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@b1f3cad3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/hibernate.cfg.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/hibernate.cfg.xml
  altDD: null
  lastDeployed: 1116601532856
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@eab97514 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Artist.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Artist.hbm.xml
  altDD: null
  lastDeployed: 1116601532893
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@402f9113 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistBiog.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistBiog.hbm.xml
  altDD: null
  lastDeployed: 1116601532904
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@ca9cff6c { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistImages.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistImages.hbm.xml
  altDD: null
  lastDeployed: 1116601532911
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@3461dfd3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Order.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Order.hbm.xml
  altDD: null
  lastDeployed: 1116601532921
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@e081e706 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/OrderItem.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/OrderItem.hbm.xml
  altDD: null
  lastDeployed: 1116601532930
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@6d33079b { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Stock.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Stock.hbm.xml
  altDD: null
  lastDeployed: 1116601532938
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@18a50b3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/StockImages.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/StockImages.hbm.xml
  altDD: null
  lastDeployed: 1116601532946
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@302b7d51 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/TrackCount.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/TrackCount.hbm.xml
  altDD: null
  lastDeployed: 1116601532955
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@abd0a698 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/User.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/User.hbm.xml
  altDD: null
  lastDeployed: 1116601532963
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@cad5d9f { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ehcache.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ehcache.xml
  altDD: null
  lastDeployed: 1116601532966
  lastModified: 1116601532000
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@d9e90719 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/WEB-INF/lib/ehcache.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/WEB-INF/lib/ehcache.xml
  altDD: null
  lastDeployed: 1116601532854
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@b1f3cad3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/hibernate.cfg.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/hibernate.cfg.xml
  altDD: null
  lastDeployed: 1116601532856
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@eab97514 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Artist.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Artist.hbm.xml
  altDD: null
  lastDeployed: 1116601532893
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@402f9113 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistBiog.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistBiog.hbm.xml
  altDD: null
  lastDeployed: 1116601532904
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@ca9cff6c { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistImages.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ArtistImages.hbm.xml
  altDD: null
  lastDeployed: 1116601532911
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@3461dfd3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Order.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Order.hbm.xml
  altDD: null
  lastDeployed: 1116601532921
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@e081e706 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/OrderItem.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/OrderItem.hbm.xml
  altDD: null
  lastDeployed: 1116601532930
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@6d33079b { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Stock.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/Stock.hbm.xml
  altDD: null
  lastDeployed: 1116601532938
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@18a50b3 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/StockImages.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/StockImages.hbm.xml
  altDD: null
  lastDeployed: 1116601532946
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@302b7d51 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/TrackCount.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/TrackCount.hbm.xml
  altDD: null
  lastDeployed: 1116601532955
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@abd0a698 { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/User.hbm.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/User.hbm.xml
  altDD: null
  lastDeployed: 1116601532963
  lastModified: 1116601532000
  mbeans:

org.jboss.deployment.DeploymentInfo@cad5d9f { url=file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ehcache.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/Library/jboss-4.0.2/server/default/deploy/hibernate/test/ehcache.xml
  altDD: null
  lastDeployed: 1116601532966
  lastModified: 1116601532000
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.har:service=Hibernate
  State: FAILED
  Reason: java.lang.NullPointerException
  I Depend On:
    jboss.jca:service=RARDeployer
    jboss.jca:name=PostgresDS,service=LocalTxCM

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.har:service=Hibernate
  State: FAILED
  Reason: java.lang.NullPointerException
  I Depend On:
    jboss.jca:service=RARDeployer
    jboss.jca:name=PostgresDS,service=LocalTxCM



Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 12:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
1) You realize JBoss-4.0.0 bundled Hibernate2 whereas JBoss-4.0.2 bundles Hibernate3, right? So no, the correct approach would *not* be to simply copy over the har file. However, all the config stuff you posted shows Hibernate3 references (i.e., the org.hibernate package references) so I guss that you were using a modified version of the deployer on 4.0.0 and that should be ok.

2) the HAR deployer does not even read the hibernate-cfg.xml file. Won't hurt your deployment attempt, but won't have any effect.

3) What is WEB-INF/lib? A har is *not* a war. Nothing in WEB-INF/lib is going to be utilized.

So I assume you are using an exploded deployment? What happens if you create an archive with the same name and place it into deploy/?

The errors you get when you rename the (assumed) directory from hibernate.har to hibernate is due to the fact that the JBoss main deployer's directory scanner then "sees" all the stuff underneath there; and sees it as individual deployment units. Notice in your log that it is trying to create seperate deployments from each file underneath that directory (/Library/jboss-4.0.2/server/default/deploy/hibernate/test/User.hbm.xml, etc).


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 1:09 pm 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
steve wrote:
1) You realize JBoss-4.0.0 bundled Hibernate2 whereas JBoss-4.0.2 bundles Hibernate3, right?


I downloaded a clean copy of Jboss 4.0.2 and then copied across from 4.0.0, my site into root.war and hibernate.har into /deploy/, of course after I had addressed all the hibernate3 issues required for all maps and class files.

steve wrote:
2) the HAR deployer does not even read the hibernate-cfg.xml file. Won't hurt your deployment attempt, but won't have any effect.


I used this files, which worked fine in 4.0.0, to define my Echache settings:
Code:
<class-cache class="test.Order" usage="transactional"/>         
        <collection-cache collection="test.Order.OrderItems" usage="transactional"/>


steve wrote:
3) What is WEB-INF/lib? A har is *not* a war. Nothing in WEB-INF/lib is going to be utilized.


I have placed my Echache class and jar files here. Works fine in 4.0.0. I have now moved this to my cocoon war.

steve wrote:
So I assume you are using an exploded deployment? What happens if you create an archive with the same name and place it into deploy/?


Same name? Sorry what do you mean?

regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 1:30 pm 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Good thing I don't have any hair left!! Can anyone please send me details of a hibernate.har directory they have working with Jboss 4.0.2 in terms of where they situated the directory within /deploy/?

regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2005 10:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Quote:
I used this files, which worked fine in 4.0.0, to define my Echache settings:

No way this worked. Trust me, I wrote the code. In order for Hibernate to recognize the cfg.xml file you need to explicitly call the Configuration.configure() method. The JBoss integration code does not do this.

Quote:
Same name? Sorry what do you mean?

Do you understand the difference between an exploded deployment and an archived deployment?

Quote:
Can anyone please send me details of a hibernate.har directory they have working with Jboss 4.0.2

Sure, look at the jboss test suite. Dude its like any other deployment unit in JBoss; where do you place the rest of them?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 21, 2005 3:45 am 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
steve wrote:
No way this worked. Trust me, I wrote the code. In order for Hibernate to recognize the cfg.xml file you need to explicitly call the Configuration.configure() method. The JBoss integration code does not do this.


Ah...ok.

steve wrote:
Do you understand the difference between an exploded deployment and an archived deployment?


In short no. What's the difference, and how would that affect what i'm doing?

steve wrote:
Sure, look at the jboss test suite. Dude its like any other deployment unit in JBoss; where do you place the rest of them?


Steve in Jboss 4.0.2, as you know, hibernate3 is now part of the /deploy/jboss-hibernate.deployer folder. Situated in this folder is the meta-inf folder which contains the jboss-service.xml file. This file makes reference to hibernate.har. I have my hibernate.har folder situated in the deploy directory and unless I am missing the plot completely that should be all I need to do right? All the hbm.xml files have been made hibernate3 compliant as well as the class files as well, but nothing happens when I launch jboss. The database is not being accessed at all and no errors are being generated if I go to a page on my site which would access the database. So i'm completely lost with this one.

So what do I need to do to make this work?

regards


Top
 Profile  
 
 Post subject: Think I figured it out
PostPosted: Sat May 21, 2005 7:49 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
I was having this same problem but I just figured it out. Although a .har directory is supposed to work, I had to jar mine up into a .har file for it to be recognized.

Hope that helps...

Justin


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:13 pm 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Justin,
I zipped up the hibernate.har directory and renamed it hibernate.har.jar and still the result is the same! Am I missing something??

regards


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:23 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
Two things...

1. The final file will be something.har, not something.har.jar. When I say "jar it up", I mean use jar to create the har file. So drop the .jar extension.

2. Make sure that you are jarring from inside the directory, not outside so you don't end up with a hibernate.har directory inside your hibernate.har file.[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:32 pm 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Justin,
still no change. could you send me your har file so I cann see whether or not my jboss will try to deply it? If it works there with you b ut not here, then i know that the problem lays elsewhere....


regards


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:40 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 10:52 am
Posts: 21
I'd rather not send you my schema, but this might help:

Inside the hibernate.har file:

- com/mypackage/*.class (POJO's)
- com/mypackage/*.hbm.xml (Mapping files)
- META-INF/hibernate-service.xml (Deployment descriptor):

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>

<server>
   <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate">
     <attribute name="DatasourceName">java:/FooDataSource</attribute>
     <attribute name="~SessionFactoryName">java:/hibernate/SessionFactory</attribute>
     <attribute name="Dialect">org.hibernate.dialect.PostgreSQLDialect</attribute>
     <attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
     <attribute name="ShowSqlEnabled">true</attribute>
   </mbean>
</server>


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:50 pm 
Regular
Regular

Joined: Fri Oct 08, 2004 4:11 am
Posts: 78
Location: Nottingham, England
Justin,
I have exactly the same structure.... i'm lost here!!

- test/*.class (POJO's)
- test/*.hbm.xml (files)
- META-INF/hibernate-service.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>

<server>
    <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate">
        <attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute>
        <attribute name="DatasourceName">java:/PostgresDS</attribute>
        <attribute name="Dialect">org.hibernate.dialect.PostgreSQLDialect</attribute>
        <attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
        <attribute name="Hbm2ddlAuto"></attribute>
        <attribute name="ShowSqlEnabled">true</attribute>
        <attribute name="JdbcBatchSize">25</attribute>
    </mbean>
</server>


Could I possibly send my .har file to you to cast an extr pair of eyes over it?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page 1, 2  Next

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.