-->
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.  [ 9 posts ] 
Author Message
 Post subject: Hibernate2 w/ JBoss 4.0.2 net.sf.hibernate.MappingException
PostPosted: Tue Aug 02, 2005 12:28 pm 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
I am trying to use Hibernate w. JBoss. (I tried Hibernate3 first, but could not configure it to use second level cache due to lack of documentation.)

I went as far as deploying .har and getting a table created in the database with Hibernate 2.

At runtime testing, I get the:

08:46:06,921 INFO [STDOUT] net.sf.hibernate.MappingException: No persister for: com.ssi.listener.bean.CWsmType
at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:347)
at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2690)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2697)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:763)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:738)
at com.ssi.listener.servlet.CGetRequestType.doGet(CGetRequestType.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


I do not know what else I can try but have spend 4 days on that, I am exhausted…

Any help or insight is appreciated. Thanks so much.

My bean

package com.ssi.listener.bean;

public class CWsmType {
private Long id;

private String typeId;
private String wsmDefaultName;

public CWsmType(){}

public Long getId() {
return id;
}
private void setId(Long id) {
this.id = id;
}
public String getTypeId() {
return typeId;
}
public void setTypeId(String tid) {
this.typeId = tid;
}
public String getWsmDefaultName() {
return wsmDefaultName;
}
public void setWsmDefaultName(String name){
wsmDefaultName = name;
}
}

My hibernate-service.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
   <server>
   <mbean code="org.jboss.hibernate.jmx.Hibernate"
      name="jboss.har:service=Hibernate">
      <attribute name="DatasourceName">java:/DefaultDS</attribute>
      <attribute name="SessionFactoryName">java:/org/hibernate/SessionFactory</attribute>
      <attribute name="Dialect">net.sf.hibernate.dialect.HSQLDialect</attribute>
      <attribute name="CacheProviderClass">net.sf.hibernate.cache.HashtableCacheProvider</attribute>
      <attribute name="Hbm2ddlAuto">create</attribute>
      <attribute name="ShowSqlEnabled">true</attribute>
   </mbean>
</server>



My .hbm.xml
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 2.0//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">


<hibernate-mapping>
   <class name="com.ssi.listener.bean.CWsmType" table="WSM_TYPE" >
      <id name="id" column="ID" type="long">
         <generator class="increment"/>
      </id>
      <property name="typeId"  column="TYPE_ID" type="string"/>
      <property name="wsmDefaultName"  column="WSM_DEFAULT_NAME" type="string"/>
   </class>
</hibernate-mapping>



The servlet code that tries to persist one bean is something like this:

InitialContext ctx = new InitialContext();
SessionFactory factory = (SessionFactory)
ctx.lookup("java:/org/hibernate/SessionFactory");
Session hsession = factory.openSession();
CWsmType wsmtype = new CWsmType();
wsmtype.setTypeId("123");
wsmtype.setWsmDefaultName("myType");
try {
Transaction transaction=hsession.beginTransaction();
// Below the exception occurs:
hsession.save(wsmtype);
transaction.commit();
} finally {
hsession.close();
}

Here is my .har expanded:


C:\jboss-4.0.2\server\myconfig\deploy>jar -tf listenerHAR.har
META-INF/MANIFEST.MF
META-INF/hibernate-service.xml
com/ssi/listener/bean/CWsmType.class
com/ssi/listener/bean/CWsmType.hbm.xml

Here is my web app expended:

C:\jboss-4.0.2\server\myconfig\deploy>jar -tf listener.war
META-INF/MANIFEST.MF
WEB-INF/classes/META-INF/MANIFEST.MF
WEB-INF/classes/META-INF/hibernate-service.xml
WEB-INF/classes/com/ssi/listener/bean/CWsmType.class
WEB-INF/classes/com/ssi/listener/bean/CWsmType.hbm.xml
WEB-INF/classes/com/ssi/listener/common/IApplicationConstants.class
WEB-INF/classes/com/ssi/listener/common/IErrorCodes.class
WEB-INF/classes/com/ssi/listener/common/IRequestCodes.class
WEB-INF/classes/com/ssi/listener/common/IRequestParamNames.class
WEB-INF/classes/com/ssi/listener/common/IResponseMessages.class
WEB-INF/classes/com/ssi/listener/common/IStatusCodes.class
WEB-INF/classes/com/ssi/listener/common/util/CRequestParamHandler.class
WEB-INF/classes/com/ssi/listener/servlet/CAddGwConfig.class
WEB-INF/classes/com/ssi/listener/servlet/CAddWsmConfigQuery.class
WEB-INF/classes/com/ssi/listener/servlet/CAddWsmControl.class
WEB-INF/classes/com/ssi/listener/servlet/CGetRequestType.class
WEB-INF/classes/com/ssi/listener/servlet/CGwHeartBeat.class
WEB-INF/classes/com/ssi/listener/servlet/CResponseXml.class
WEB-INF/classes/com/ssi/listener/servlet/CUpdateWsmConfig.class
WEB-INF/classes/com/ssi/listener/servlet/CUpdateWsmSensorData.class
WEB-INF/lib/META-INF/MANIFEST.MF
WEB-INF/lib/META-INF/hibernate-service.xml
WEB-INF/lib/com/ssi/listener/bean/CWsmType.class
WEB-INF/lib/com/ssi/listener/bean/CWsmType.hbm.xml
WEB-INF/web.xml

_________________
Artemis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 5:52 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Would need to see the logging for Hibernate initialization. Enable loggers for the following at debug/trace:

net.sf.hibernate.cfg
net.sf.hibernate.impl.SessionFactoryImpl
org.jboss.hibernate.jmx
org.jboss.hibernate.har

Quote:
I tried Hibernate3 first, but could not configure it to use second level cache due to lack of documentation

Configuration of the second level cache is the same in H2 and H3.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 03, 2005 1:35 pm 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
WIth DEBUG turned on, here is what server shows while restarting and deploying the .har and when the test servlet is called right after:

10:26:21,296 DEBUG [ServiceCreator] About to create bean: jboss.jca:service=ManagedConnectionFactory,name=PostgresDS with code: org.jboss.resource.connectionmanager.RARDeployment
10:26:21,312 DEBUG [ServiceCreator] Created bean: jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,312 DEBUG [ServiceController] recording that jboss.jca:service=ManagedConnectionFactory,name=PostgresDS depends on jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
10:26:21,312 DEBUG [ServiceConfigurator] considering OldRarDeployment with object name jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
10:26:21,312 DEBUG [ServiceConfigurator] ConnectionDefinition set to javax.sql.DataSource in jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,312 DEBUG [ServiceConfigurator] ManagedConnectionFactoryProperties set to [properties: null] in jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,328 DEBUG [ServiceController] recording that jboss.jca:service=ManagedConnectionPool,name=PostgresDS depends on jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] considering ManagedConnectionFactoryName with object name jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] MinSize set to 1 in jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] MaxSize set to 20 in jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] BlockingTimeoutMillis set to 10000 in jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] IdleTimeoutMinutes set to 5 in jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] Criteria set to ByNothing in jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceController] recording that jboss.jca:service=LocalTxCM,name=PostgresDS depends on jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] considering ManagedConnectionPool with object name jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,328 DEBUG [ServiceConfigurator] JndiName set to PostgresDS in jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,328 DEBUG [ServiceController] recording that jboss.jca:service=LocalTxCM,name=PostgresDS depends on jboss.jca:service=CachedConnectionManager
10:26:21,328 DEBUG [ServiceConfigurator] considering CachedConnectionManager with object name jboss.jca:service=CachedConnectionManager
10:26:21,328 DEBUG [ServiceController] recording that jboss.jca:service=LocalTxCM,name=PostgresDS depends on jboss:service=TransactionManager
10:26:21,328 DEBUG [ServiceConfigurator] considering TransactionManagerService with object name jboss:service=TransactionManager
10:26:21,328 DEBUG [ServiceCreator] About to create bean: jboss.jca:service=DataSourceBinding,name=PostgresDS with code: org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService
10:26:21,328 DEBUG [ServiceCreator] Created bean: jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,390 DEBUG [ServiceConfigurator] JndiName set to PostgresDS in jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,390 DEBUG [ServiceConfigurator] UseJavaContext set to true in jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,390 DEBUG [ServiceController] recording that jboss.jca:service=DataSourceBinding,name=PostgresDS depends on jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,390 DEBUG [ServiceConfigurator] considering ConnectionManager with object name jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,390 DEBUG [ServiceController] recording that jboss.jca:service=DataSourceBinding,name=PostgresDS depends on jboss:service=invoker,type=jrmp
10:26:21,390 DEBUG [ServiceConfigurator] considering JMXInvokerName with object name jboss:service=invoker,type=jrmp
10:26:21,390 DEBUG [ServiceCreator] About to create bean: jboss.jdbc:service=metadata,datasource=PostgresDS with code: org.jboss.ejb.plugins.cmp.jdbc.metadata.DataSourceMetaData
10:26:21,390 DEBUG [ServiceCreator] Created bean: jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,390 DEBUG [ServiceController] recording that jboss.jdbc:service=metadata,datasource=PostgresDS depends on jboss.jdbc:service=metadata
10:26:21,390 DEBUG [ServiceConfigurator] considering MetadataLibrary with object name jboss.jdbc:service=metadata
10:26:21,406 DEBUG [ServiceConfigurator] TypeMapping set to PostgreSQL 8.0 in jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] waiting in create of jboss.jca:service=LocalTxCM,name=PostgresDS waiting on jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] waiting in create of jboss.jca:service=ManagedConnectionPool,name=PostgresDS waiting on jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [RARDeployment] Creating jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [RARDeployment] Created jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating dependent components for: jboss.jca:service=ManagedConnectionFactory,name=PostgresDS dependents are: [ObjectName: jboss.jca:service=ManagedConnectionPool,name=PostgresDS
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
Depends On Me:
jboss.jca:service=LocalTxCM,name=PostgresDS
]
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [JBossManagedConnectionPool] Creating jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [JBossManagedConnectionPool] Created jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating dependent components for: jboss.jca:service=ManagedConnectionPool,name=PostgresDS dependents are: [ObjectName: jboss.jca:service=LocalTxCM,name=PostgresDS
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=PostgresDS
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=PostgresDS
]
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,406 DEBUG [TxConnectionManager] Creating jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,406 DEBUG [TxConnectionManager] Created jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating dependent components for: jboss.jca:service=LocalTxCM,name=PostgresDS dependents are: [ObjectName: jboss.jca:service=DataSourceBinding,name=PostgresDS
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxCM,name=PostgresDS
jboss:service=invoker,type=jrmp
]
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,406 DEBUG [WrapperDataSourceService] Creating jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,406 DEBUG [WrapperDataSourceService] Created jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating dependent components for: jboss.jca:service=DataSourceBinding,name=PostgresDS dependents are: []
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Ignoring create request for service: jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating service jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,406 DEBUG [DataSourceMetaData] Creating jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,406 DEBUG [DataSourceMetaData] Created jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,406 DEBUG [ServiceController] Creating dependent components for: jboss.jdbc:service=metadata,datasource=PostgresDS dependents are: []
10:26:21,406 DEBUG [MainDeployer] Done with create step of deploying postgres-ds.xml
10:26:21,406 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/myconfig/deploy/postgres-ds.xml
10:26:21,406 DEBUG [SARDeployer] Deploying SAR, start step: url file:/C:/jboss-4.0.2/server/myconfig/deploy/postgres-ds.xml
10:26:21,406 DEBUG [ServiceController] starting service jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] waiting in start jboss.jca:service=LocalTxCM,name=PostgresDS on jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] starting service jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] waiting in start jboss.jca:service=ManagedConnectionPool,name=PostgresDS on jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [ServiceController] starting service jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [RARDeployment] Starting jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'CheckValidConnectionSQL'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'ValidConnectionCheckerClassName'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'Password'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'UserName'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'PreparedStatementCacheSize'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'ExceptionSorterClassName'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'DriverClass'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'ConnectionProperties'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'NewConnectionSQL'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'SharePreparedStatements'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'TrackStatements'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'ConnectionURL'
10:26:21,406 DEBUG [RARDeployment] Not setting config property 'TransactionIsolation'
10:26:21,406 DEBUG [RARDeployment] setting property: ConnectionURL to value jdbc:postgresql://localhost:5432/SSI
10:26:21,406 DEBUG [RARDeployment] set property ConnectionURL to value jdbc:postgresql://localhost:5432/SSI
10:26:21,406 DEBUG [RARDeployment] setting property: DriverClass to value org.postgresql.Driver
10:26:21,406 DEBUG [RARDeployment] set property DriverClass to value org.postgresql.Driver
10:26:21,406 DEBUG [RARDeployment] setting property: UserName to value SSI
10:26:21,406 DEBUG [RARDeployment] set property UserName to value SSI
10:26:21,406 DEBUG [RARDeployment] setting property: Password to value SSI
10:26:21,453 DEBUG [RARDeployment] set property Password to value SSI
10:26:21,453 DEBUG [RARDeployment] Started jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
10:26:21,453 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=ManagedConnectionFactory,name=PostgresDS dependent components: [ObjectName: jboss.jca:service=ManagedConnectionPool,name=PostgresDS
State: CREATED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=PostgresDS
Depends On Me:
jboss.jca:service=LocalTxCM,name=PostgresDS
]
10:26:21,453 DEBUG [ServiceController] starting service jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,453 DEBUG [JBossManagedConnectionPool] Starting jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,453 DEBUG [JBossManagedConnectionPool] Started jboss.jca:service=ManagedConnectionPool,name=PostgresDS
10:26:21,453 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=ManagedConnectionPool,name=PostgresDS dependent components: [ObjectName: jboss.jca:service=LocalTxCM,name=PostgresDS
State: CREATED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=PostgresDS
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=PostgresDS
]
10:26:21,453 DEBUG [ServiceController] starting service jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,453 DEBUG [TxConnectionManager] Starting jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,453 DEBUG [TxConnectionManager] Started jboss.jca:service=LocalTxCM,name=PostgresDS
10:26:21,453 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=LocalTxCM,name=PostgresDS dependent components: [ObjectName: jboss.jca:service=DataSourceBinding,name=PostgresDS
State: CREATED
I Depend On:
jboss.jca:service=LocalTxCM,name=PostgresDS
jboss:service=invoker,type=jrmp
]
10:26:21,453 DEBUG [ServiceController] starting service jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,453 DEBUG [WrapperDataSourceService] Starting jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,453 DEBUG [WrapperDataSourceService] Using delegate: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy@1f1e39b for invoker=jboss:service=invoker,type=jrmp
10:26:21,453 DEBUG [WrapperDataSourceService] Created proxy for invoker=jboss:service=invoker,type=jrmp, targetName=jboss.jca:service=DataSourceBinding,name=PostgresDS, nameHash=-1988550435
10:26:21,484 DEBUG [WrapperDataSourceService] Binding object 'org.jboss.resource.adapter.jdbc.WrapperDataSource@1397218' into JNDI at 'java:PostgresDS'
10:26:21,484 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PostgresDS to JNDI name 'java:PostgresDS'
10:26:21,484 DEBUG [WrapperDataSourceService] Started jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,484 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=DataSourceBinding,name=PostgresDS dependent components: []
10:26:21,484 DEBUG [ServiceController] starting service jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,484 DEBUG [ServiceController] Ignoring start request for service: jboss.jca:service=DataSourceBinding,name=PostgresDS
10:26:21,484 DEBUG [ServiceController] starting service jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,484 DEBUG [DataSourceMetaData] Starting jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,484 DEBUG [DataSourceMetaData] Started jboss.jdbc:service=metadata,datasource=PostgresDS
10:26:21,484 DEBUG [ServiceController] Starting dependent components for: jboss.jdbc:service=metadata,datasource=PostgresDS dependent components: []
10:26:21,515 DEBUG [MainDeployer] End deployment start on package: postgres-ds.xml
10:26:21,515 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/myconfig/deploy/postgres-ds.xml
10:26:21,515 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.2/server/myconfig/deploy/postgres-ds.xml -> file:/C:/jboss-4.0.2/server/myconfig/deploy/postgres-ds.xml
10:26:21,515 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,515 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,515 DEBUG [HARDeployer] accepts> url=file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/, accepted=true
10:26:21,515 DEBUG [MainDeployer] using deployer org.jboss.hibernate.har.HARDeployer@cf68af
10:26:21,515 DEBUG [HARDeployer] looking for nested deployments in : file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,531 DEBUG [HARDeployer] nested deployment: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,531 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
10:26:21,531 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,531 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@1b2601c{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/ ,addedOrder=0}
10:26:21,531 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@1b2601c{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/ ,addedOrder=0}
10:26:21,531 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@1b2601c{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/ ,addedOrder=0}
10:26:21,531 DEBUG [MainDeployer] resolveLibraries:
10:26:21,531 DEBUG [MainDeployer] found 1 subpackages of file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,531 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,531 DEBUG [MainDeployer] Copying file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml -> C:\jboss-4.0.2\server\myconfig\tmp\deploy\tmp8706hibernate-service.xml
10:26:21,531 DEBUG [MainDeployer] using deployer org.jboss.deployment.SARDeployer@33788d
10:26:21,546 DEBUG [SARDeployer] about to copy 0 local directories
10:26:21,546 DEBUG [SARDeployer] looking for nested deployments in : file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,546 DEBUG [RepositoryClassLoader] Added url: file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8706hibernate-service.xml, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@1b2601c{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/ ,addedOrder=39}
10:26:21,546 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,546 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,546 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,546 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,546 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,546 DEBUG [SARDeployer] Deploying SAR, create step: url file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,593 DEBUG [SARDeployer] Registering service UCL=jmx.loading:UCL=1b2601c
10:26:21,593 DEBUG [ServiceCreator] About to create bean: jboss.har:service=Hibernate with code: org.jboss.hibernate.jmx.Hibernate
10:26:21,625 DEBUG [ServiceCreator] Created bean: jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] DatasourceName set to java:/PostgresDS in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] SessionFactoryName set to java:/org/hibernate/SessionFactory in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] Dialect set to net.sf.hibernate.dialect.PostgreSQLDialect in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] CacheProviderClass set to net.sf.hibernate.cache.HashtableCacheProvider in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] Hbm2ddlAuto set to create in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceConfigurator] ShowSqlEnabled set to true in jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceController] Creating service jboss.har:service=Hibernate
10:26:21,640 DEBUG [Hibernate] Creating jboss.har:service=Hibernate
10:26:21,640 DEBUG [Hibernate] Created jboss.har:service=Hibernate
10:26:21,640 DEBUG [ServiceController] Creating dependent components for: jboss.har:service=Hibernate dependents are: []
10:26:21,640 DEBUG [MainDeployer] Done with create step of deploying hibernate-service.xml
10:26:21,656 DEBUG [MainDeployer] Done with create step of deploying listenerHAR.har
10:26:21,656 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:21,656 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,656 DEBUG [SARDeployer] Deploying SAR, start step: url file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/META-INF/hibernate-service.xml
10:26:21,656 DEBUG [ServiceController] starting service jboss.har:service=Hibernate
10:26:21,656 DEBUG [Hibernate] Starting jboss.har:service=Hibernate
10:26:21,703 INFO [Environment] Hibernate 2.1.6
10:26:21,703 INFO [Environment] hibernate.properties not found
10:26:21,718 INFO [Environment] using CGLIB reflection optimizer
10:26:21,734 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CGateway.hbm.xml
10:26:21,750 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:21,750 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:21,859 INFO [Binder] Mapping class: com.ssi.listener.bean.CGateway -> GATEWAY
10:26:21,968 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:21,984 DEBUG [Binder] Mapped property: mac -> MAC_ID, type: string
10:26:21,984 DEBUG [Binder] Mapped property: eui -> EUI, type: string
10:26:21,984 DEBUG [Binder] Mapped property: notes -> NOTES, type: string
10:26:21,984 DEBUG [Binder] Mapped property: name -> NAME, type: string
10:26:21,984 DEBUG [Binder] Mapped property: description -> DESCRIPTION, type: string
10:26:21,984 DEBUG [Binder] Mapped property: measurementInterval -> MEASUREMENT_INTERVAL, type: long
10:26:21,984 DEBUG [Binder] Mapped property: wakeupInterval -> WAKEUP_INTERVAL, type: long
10:26:21,984 DEBUG [Binder] Mapped property: maxHeartBeatInterval -> MAX_HEARTBEAT_INTERVAL, type: long
10:26:21,984 DEBUG [Binder] Mapped property: hwVersion -> HW_VERSION, type: string
10:26:21,984 DEBUG [Binder] Mapped property: fwVersion -> FW_VERSION, type: string
10:26:21,984 DEBUG [Binder] Mapped property: radioFwVersion -> RADIO_FW_VERSION, type: string
10:26:21,984 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CListenerEvent.hbm.xml
10:26:21,984 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:21,984 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,000 INFO [Binder] Mapping class: com.ssi.listener.bean.CListenerEvent -> LISTENER_EVENT
10:26:22,000 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,000 DEBUG [Binder] Mapped property: eventCode -> EVENT_CODE, type: string
10:26:22,000 DEBUG [Binder] Mapped property: ts -> TIMESTAMP, type: timestamp
10:26:22,000 DEBUG [Binder] Mapped property: gatewayId -> GATEWAY_ID, type: long
10:26:22,000 DEBUG [Binder] Mapped property: wsmId -> WSM_ID, type: long
10:26:22,000 DEBUG [Binder] Mapped property: sensorDataId -> SENSOR_DATA_ID, type: long
10:26:22,000 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CMeasurement.hbm.xml
10:26:22,000 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:22,000 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,015 INFO [Binder] Mapping class: com.ssi.listener.bean.CMeasurement -> MEASUREMENT
10:26:22,015 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,015 DEBUG [Binder] Mapped property: name -> NAME, type: string
10:26:22,015 DEBUG [Binder] Mapped property: description -> DESCRIPTION, type: string
10:26:22,015 DEBUG [Binder] Mapped property: notes -> NOTES, type: string
10:26:22,015 DEBUG [Binder] Mapped property: unit -> UNIT, type: string
10:26:22,015 DEBUG [Binder] Mapped property: coeff1 -> COEFF1, type: float
10:26:22,015 DEBUG [Binder] Mapped property: coeff2 -> COEFF2, type: float
10:26:22,015 DEBUG [Binder] Mapped property: coeff3 -> COEFF3, type: float
10:26:22,015 DEBUG [Binder] Mapped property: coeff4 -> COEFF4, type: float
10:26:22,015 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CMeasurementType.hbm.xml
10:26:22,031 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:22,031 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,031 INFO [Binder] Mapping class: com.ssi.listener.bean.CMeasurementType -> MEASUREMENT_TYPE
10:26:22,031 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,031 DEBUG [Binder] Mapped property: typeId -> TYPE_ID, type: string
10:26:22,031 DEBUG [Binder] Mapped property: defaultName -> DEFAULT_NAME, type: string
10:26:22,031 DEBUG [Binder] Mapped property: defaultUnit -> DEFAULT_UNIT, type: string
10:26:22,031 DEBUG [Binder] Mapped property: name -> NAME, type: string
10:26:22,031 DEBUG [Binder] Mapped property: description -> DESCRIPTION, type: string
10:26:22,031 DEBUG [Binder] Mapped property: defaultCoeff1 -> DEFAULT_COEFF1, type: float
10:26:22,031 DEBUG [Binder] Mapped property: defaultCoeff2 -> DEFAULT_COEFF2, type: float
10:26:22,031 DEBUG [Binder] Mapped property: defaultCoeff3 -> DEFAULT_COEFF3, type: float
10:26:22,031 DEBUG [Binder] Mapped property: defaultCoeff4 -> DEFAULT_COEFF4, type: float
10:26:22,031 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CSensorData.hbm.xml
10:26:22,046 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:22,046 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,062 INFO [Binder] Mapping class: com.ssi.listener.bean.CSensorData -> SENSOR_DATA
10:26:22,062 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,062 DEBUG [Binder] Mapped property: value -> VALUE, type: float
10:26:22,062 DEBUG [Binder] Mapped property: ts -> TIMESTAMP, type: timestamp
10:26:22,062 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CWirelessSensorModule.hbm.xml
10:26:22,062 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:22,140 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,156 INFO [Binder] Mapping class: com.ssi.listener.bean.CWirelessSensorModule -> WIRELESS_SENSOR_MODULE
10:26:22,156 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,156 DEBUG [Binder] Mapped property: eui -> EUI, type: string
10:26:22,156 DEBUG [Binder] Mapped property: notes -> NOTES, type: string
10:26:22,156 DEBUG [Binder] Mapped property: name -> NAME, type: string
10:26:22,156 DEBUG [Binder] Mapped property: description -> DESCRIPTION, type: string
10:26:22,156 DEBUG [Binder] Mapped property: hwVersion -> HW_VERSION, type: string
10:26:22,156 DEBUG [Binder] Mapped property: fwVersion -> FW_VERSION, type: string
10:26:22,156 INFO [Configuration] Mapping file: C:\jboss-4.0.2\server\myconfig\deploy\listenerHAR.har\com\ssi\listener\bean\CWsmType.hbm.xml
10:26:22,156 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
10:26:22,156 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
10:26:22,187 INFO [Binder] Mapping class: com.ssi.listener.bean.CWsmType -> WSM_TYPE
10:26:22,187 DEBUG [Binder] Mapped property: id -> ID, type: long
10:26:22,187 DEBUG [Binder] Mapped property: typeId -> TYPE_ID, type: string
10:26:22,187 DEBUG [Binder] Mapped property: defaultName -> DEFAULT_NAME, type: string
10:26:22,187 DEBUG [Binder] Mapped property: name -> NAME, type: string
10:26:22,187 DEBUG [Binder] Mapped property: description -> DESCRIPTION, type: string
10:26:22,187 INFO [Configuration] processing one-to-many association mappings
10:26:22,187 INFO [Configuration] processing one-to-one association property references
10:26:22,187 INFO [Configuration] processing foreign key constraints
10:26:22,218 INFO [Dialect] Using dialect: net.sf.hibernate.dialect.PostgreSQLDialect
10:26:22,218 INFO [SettingsFactory] Use outer join fetching: true
10:26:22,234 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:22,234 INFO [DatasourceConnectionProvider] Using datasource: java:/PostgresDS
10:26:22,234 INFO [TransactionFactoryFactory] Transaction strategy: net.sf.hibernate.transaction.JTATransactionFactory
10:26:22,234 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:22,265 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transaction.JBossTransactionManagerLookup
10:26:22,265 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
10:26:22,265 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:22,265 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transaction.JBossTransactionManagerLookup
10:26:22,265 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
10:26:22,265 DEBUG [IdleRemover] internalRegisterPool: registering pool with interval 300000 old interval: 9223372036854775807
10:26:22,265 DEBUG [IdleRemover] internalRegisterPool: about to notify thread: old next: 1123090132265, new next: 1123090132265
10:26:22,265 DEBUG [LocalManagedConnectionFactory] Using properties: {user=SSI, password=--hidden--}
10:26:22,265 DEBUG [LocalManagedConnectionFactory] Checking driver for URL: jdbc:postgresql://localhost:5432/SSI
10:26:22,281 DEBUG [LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:postgresql://localhost:5432/SSI
10:26:22,281 DEBUG [LocalManagedConnectionFactory] Driver already registered for url: jdbc:postgresql://localhost:5432/SSI
10:26:22,468 INFO [SettingsFactory] Use scrollable result sets: true
10:26:22,468 INFO [SettingsFactory] Use JDBC3 getGeneratedKeys(): false
10:26:22,468 INFO [SettingsFactory] Optimize cache for minimal puts: false
10:26:22,468 INFO [SettingsFactory] echoing all SQL to stdout
10:26:22,484 INFO [SettingsFactory] Query language substitutions: {}
10:26:22,484 INFO [SettingsFactory] cache provider: net.sf.hibernate.cache.HashtableCacheProvider
10:26:22,484 INFO [Configuration] instantiating and configuring caches
10:26:22,640 INFO [SessionFactoryImpl] building session factory
10:26:22,640 DEBUG [SessionFactoryImpl] instantiating session factory with properties: {java.vendor=Sun Microsystems Inc., catalina.base=C:\jboss-4.0.2\server\myconfig, sun.management.compiler=HotSpot Client Compiler, catalina.useNaming=false, os.name=Windows XP, sun.boot.class.path=C:\jboss-4.0.2\lib\endorsed\resolver.jar;C:\jboss-4.0.2\lib\endorsed\xalan.jar;C:\jboss-4.0.2\lib\endorsed\xercesImpl.jar;C:\jboss-4.0.2\lib\endorsed\xml-apis.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_04\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_04\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_04-b05, hibernate.cache.provider_class=net.sf.hibernate.cache.HashtableCacheProvider, user.name=AAO, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, tomcat.util.buf.StringCache.byte.enabled=true, hibernate.session_factory_name=java:/org/hibernate/SessionFactory, jboss.home.dir=C:\jboss-4.0.2, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=C:\Program Files\Java\jdk1.5.0_04\jre\bin, jboss.home.url=file:/C:/jboss-4.0.2/, java.version=1.5.0_04, user.timezone=America/Los_Angeles, jboss.server.home.dir=C:\jboss-4.0.2\server\myconfig, sun.arch.data.model=32, java.endorsed.dirs=C:\jboss-4.0.2\lib\endorsed, jboss.server.home.url=file:/C:/jboss-4.0.2/server/myconfig/, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., file.separator=\, java.specification.name=Java Platform API Specification, hibernate.cglib.use_reflection_optimizer=true, java.class.version=49.0, jboss.server.config.url=file:/C:/jboss-4.0.2/server/myconfig/conf/, user.country=US, java.home=C:\Program Files\Java\jdk1.5.0_04\jre, java.vm.info=mixed mode, jboss.lib.url=file:/C:/jboss-4.0.2/lib/, os.version=5.1, hibernate.connection.datasource=java:/PostgresDS, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JTATransactionFactory, path.separator=;, java.vm.version=1.5.0_04-b05, user.variant=, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., jboss.server.temp.dir=C:\jboss-4.0.2\server\myconfig\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, user.home=C:\Documents and Settings\AAO, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., hibernate.hbm2ddl.auto=create, jboss.home=C:\jboss-4.0.2, java.library.path=C:\Program Files\Java\jdk1.5.0_04\bin, java.vendor.url=http://java.sun.com/, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=net.sf.hibernate.dialect.PostgreSQLDialect, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=C:\Program Files\Java\jdk1.5.0_04/lib/tools.jar;C:\jboss-4.0.2/bin/run.jar, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, catalina.home=C:\jboss-4.0.2\server\myconfig, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, jboss.server.lib.url=file:/C:/jboss-4.0.2/server/myconfig/lib/, java.rmi.server.codebase=http://Artemis:8083/, java.io.tmpdir=C:\DOCUME~1\AAO\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, jboss.server.data.dir=C:\jboss-4.0.2\server\myconfig\data, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files\Java\jdk1.5.0_04\jre\lib\ext, user.dir=C:\jboss-4.0.2\bin, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=C:\jboss-4.0.2\server, jboss.server.base.url=file:/C:/jboss-4.0.2/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=Cp1252, catalina.ext.dirs=C:\jboss-4.0.2\server\myconfig\lib, hibernate.transaction.manager_lookup_class=net.sf.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.5, jboss.server.name=myconfig, hibernate.show_sql=true}
10:26:23,046 DEBUG [SessionFactoryObjectFactory] initializing class SessionFactoryObjectFactory
10:26:23,062 DEBUG [SessionFactoryObjectFactory] registered: 402881e4057d612401057d6126460000 (java:/org/hibernate/SessionFactory)
10:26:23,062 INFO [SessionFactoryObjectFactory] Factory name: java:/org/hibernate/SessionFactory
10:26:23,062 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:23,062 DEBUG [NamingHelper] binding: java:/org/hibernate/SessionFactory
10:26:23,062 DEBUG [SessionFactoryImpl] Returning a Reference to the SessionFactory
10:26:23,062 DEBUG [NamingHelper] lookup: java:
10:26:23,062 DEBUG [NamingHelper] Found subcontext: java:
10:26:23,062 DEBUG [NamingHelper] lookup: org
10:26:23,062 INFO [NamingHelper] Creating subcontext: org
10:26:23,062 DEBUG [NamingHelper] lookup: hibernate
10:26:23,062 INFO [NamingHelper] Creating subcontext: hibernate
10:26:23,062 DEBUG [NamingHelper] binding: SessionFactory
10:26:23,062 DEBUG [SessionFactoryImpl] Returning a Reference to the SessionFactory
10:26:23,062 DEBUG [NamingHelper] Bound name: java:/org/hibernate/SessionFactory
10:26:23,109 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:/org/hibernate/SessionFactory
10:26:23,109 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
10:26:23,109 DEBUG [SessionFactoryImpl] instantiated session factory
10:26:23,109 INFO [Dialect] Using dialect: net.sf.hibernate.dialect.PostgreSQLDialect
10:26:23,109 INFO [Configuration] processing one-to-many association mappings
10:26:23,109 INFO [Configuration] processing one-to-one association property references
10:26:23,109 INFO [Configuration] processing foreign key constraints
10:26:23,109 INFO [Configuration] processing one-to-many association mappings
10:26:23,109 INFO [Configuration] processing one-to-one association property references
10:26:23,109 INFO [Configuration] processing foreign key constraints
10:26:23,125 INFO [SchemaExport] Running hbm2ddl schema export
10:26:23,125 INFO [SchemaExport] exporting generated schema to database
10:26:23,125 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:23,125 INFO [DatasourceConnectionProvider] Using datasource: java:/PostgresDS
10:26:23,125 DEBUG [SchemaExport] drop table LISTENER_EVENT
10:26:23,156 DEBUG [SchemaExport] drop table MEASUREMENT_TYPE
10:26:23,156 DEBUG [SchemaExport] drop table WIRELESS_SENSOR_MODULE
10:26:23,156 DEBUG [SchemaExport] drop table MEASUREMENT
10:26:23,156 DEBUG [SchemaExport] drop table WSM_TYPE
10:26:23,156 DEBUG [SchemaExport] drop table SENSOR_DATA
10:26:23,156 DEBUG [SchemaExport] drop table GATEWAY
10:26:23,156 DEBUG [SchemaExport] drop sequence wireless_sensor_module_sequence
10:26:23,156 DEBUG [SchemaExport] drop sequence wsm_type_sequence
10:26:23,156 DEBUG [SchemaExport] drop sequence measurement_sequence
10:26:23,156 DEBUG [SchemaExport] drop sequence gateway_sequence
10:26:23,156 DEBUG [SchemaExport] drop sequence measurement_type_sequence
10:26:23,156 DEBUG [SchemaExport] drop sequence sensor_data_sequence
10:26:23,171 DEBUG [SchemaExport] drop sequence listener_event_sequence
10:26:23,171 DEBUG [SchemaExport] create table LISTENER_EVENT (
ID int8 not null,
EVENT_CODE varchar(255),
TIMESTAMP timestamp,
GATEWAY_ID int8,
WSM_ID int8,
SENSOR_DATA_ID int8,
primary key (ID)
)
10:26:23,250 DEBUG [SchemaExport] create table MEASUREMENT_TYPE (
ID int8 not null,
TYPE_ID varchar(255),
DEFAULT_NAME varchar(255),
DEFAULT_UNIT varchar(255),
NAME varchar(255),
DESCRIPTION varchar(255),
DEFAULT_COEFF1 float4,
DEFAULT_COEFF2 float4,
DEFAULT_COEFF3 float4,
DEFAULT_COEFF4 float4,
primary key (ID)
)
10:26:23,375 DEBUG [SchemaExport] create table WIRELESS_SENSOR_MODULE (
ID int8 not null,
EUI varchar(255),
NOTES varchar(255),
NAME varchar(255),
DESCRIPTION varchar(255),
HW_VERSION varchar(255),
FW_VERSION varchar(255),
primary key (ID)
)
10:26:23,484 DEBUG [SchemaExport] create table MEASUREMENT (
ID int8 not null,
NAME varchar(255),
DESCRIPTION varchar(255),
NOTES varchar(255),
UNIT varchar(255),
COEFF1 float4,
COEFF2 float4,
COEFF3 float4,
COEFF4 float4,
primary key (ID)
)
10:26:23,593 DEBUG [SchemaExport] create table WSM_TYPE (
ID int8 not null,
TYPE_ID varchar(255),
DEFAULT_NAME varchar(255),
NAME varchar(255),
DESCRIPTION varchar(255),
primary key (ID)
)
10:26:23,828 DEBUG [SchemaExport] create table SENSOR_DATA (
ID int8 not null,
VALUE float4,
TIMESTAMP timestamp,
primary key (ID)
)
10:26:23,890 DEBUG [SchemaExport] create table GATEWAY (
ID int8 not null,
MAC_ID varchar(255),
EUI varchar(255),
NOTES varchar(255),
NAME varchar(255),
DESCRIPTION varchar(255),
MEASUREMENT_INTERVAL int8,
WAKEUP_INTERVAL int8,
MAX_HEARTBEAT_INTERVAL int8,
HW_VERSION varchar(255),
FW_VERSION varchar(255),
RADIO_FW_VERSION varchar(255),
primary key (ID)
)
10:26:24,015 DEBUG [SchemaExport] create sequence wireless_sensor_module_sequence
10:26:24,031 DEBUG [SchemaExport] create sequence wsm_type_sequence
10:26:24,046 DEBUG [SchemaExport] create sequence measurement_sequence
10:26:24,062 DEBUG [SchemaExport] create sequence gateway_sequence
10:26:24,093 DEBUG [SchemaExport] create sequence measurement_type_sequence
10:26:24,109 DEBUG [SchemaExport] create sequence sensor_data_sequence
10:26:24,140 DEBUG [SchemaExport] create sequence listener_event_sequence
10:26:24,171 INFO [SchemaExport] schema export complete
10:26:24,171 DEBUG [SessionFactoryImpl] obtaining JTA TransactionManager
10:26:24,171 INFO [NamingHelper] JNDI InitialContext properties:{}
10:26:24,171 DEBUG [Hibernate] Started jboss.har:service=Hibernate
10:26:24,171 DEBUG [ServiceController] Starting dependent components for: jboss.har:service=Hibernate dependent components: []
10:26:24,218 DEBUG [MainDeployer] End deployment start on package: hibernate-service.xml
10:26:24,218 DEBUG [MainDeployer] End deployment start on package: listenerHAR.har
10:26:24,218 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/
10:26:24,218 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/ -> file:/C:/jboss-4.0.2/server/myconfig/deploy/listenerHAR.har/hibernate-service.xml
10:26:24,218 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,218 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,218 DEBUG [MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@1f95cce
10:26:24,218 DEBUG [Tomcat5] Begin init
10:26:24,234 DEBUG [Tomcat5] webContext: null
10:26:24,234 DEBUG [Tomcat5] warURL: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,250 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.init,jmx-console.war
10:26:24,250 DEBUG [Tomcat5] End init
10:26:24,250 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
10:26:24,250 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,250 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@ae264f{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/ ,addedOrder=0}
10:26:24,250 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@ae264f{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/ ,addedOrder=0}
10:26:24,250 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@ae264f{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/ ,addedOrder=0}
10:26:24,250 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,250 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,250 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,265 DEBUG [ServiceController] Creating service jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,265 DEBUG [ServiceController] adding depends in ServiceController.register: []
10:26:24,265 DEBUG [WebModule] Creating jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,265 DEBUG [WebModule] Created jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,265 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=jmx-console.war,id=-256120720 dependents are: []
10:26:24,265 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.create,jmx-console.war
10:26:24,265 DEBUG [MainDeployer] Done with create step of deploying jmx-console.war
10:26:24,265 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,265 DEBUG [ServiceController] starting service jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,265 DEBUG [WebModule] Starting jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,265 DEBUG [TomcatDeployer] webContext: null
10:26:24,265 DEBUG [TomcatDeployer] warURL: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,265 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@1553d18
10:26:24,265 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=true,qualifiers=[PatternInfo[pattern=/*,type=1,isOverriden=false,qualifiers=[]]]], /*=PatternInfo[pattern=/*,type=1,isOverriden=false,qualifiers=[]]}
10:26:24,265 DEBUG [WebPermissionMapping] Dropping overriden pattern: PatternInfo[pattern=/,type=3,isOverriden=true,qualifiers=[PatternInfo[pattern=/*,type=1,isOverriden=false,qualifiers=[]]]]
10:26:24,281 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,281 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
10:26:24,296 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@11e31ea
10:26:24,296 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@ae264f{ url=file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/ ,addedOrder=40}
10:26:24,296 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@1bcc0bc
10:26:24,296 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@92e78c
10:26:24,296 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@9fbe93
10:26:24,312 DEBUG [TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
10:26:24,312 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
10:26:24,312 DEBUG [TomcatDeployer] addEnvEntries
10:26:24,312 DEBUG [TomcatDeployer] linkResourceEnvRefs
10:26:24,312 DEBUG [TomcatDeployer] linkResourceRefs
10:26:24,312 DEBUG [TomcatDeployer] linkMessageDestinationRefs
10:26:24,312 DEBUG [TomcatDeployer] linkEjbRefs
10:26:24,312 DEBUG [TomcatDeployer] linkEjbLocalRefs
10:26:24,312 DEBUG [TomcatDeployer] linkServiceRefs
10:26:24,312 DEBUG [TomcatDeployer] linkSecurityDomain
10:26:24,312 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/jmx-console
10:26:24,312 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
10:26:24,359 DEBUG [TomcatDeployer] Using session cookies default setting
10:26:24,453 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5'
10:26:24,500 DEBUG [TomcatDeployer] Initialized: {WebApplication: /C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/, URL: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/, classLoader: java.net.FactoryURLClassLoader@11e31ea:18756074} jboss.web:j2eeType=WebModule,name=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
10:26:24,500 DEBUG [WebModule] Started jboss.web.deployment:war=jmx-console.war,id=-256120720
10:26:24,500 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=jmx-console.war,id=-256120720 dependent components: []
10:26:24,500 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.start,jmx-console.war
10:26:24,578 DEBUG [MainDeployer] End deployment start on package: jmx-console.war
10:26:24,578 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/
10:26:24,578 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/ -> file:/C:/jboss-4.0.2/server/myconfig/deploy/jmx-console.war/WEB-INF/web.xml
10:26:24,578 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,578 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,578 DEBUG [MainDeployer] Copying file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war -> C:\jboss-4.0.2\server\myconfig\tmp\deploy\tmp8707listener.war
10:26:24,578 DEBUG [MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@1f95cce
10:26:24,578 DEBUG [Tomcat5] Begin init
10:26:24,578 DEBUG [Tomcat5] Unpacking war to: C:\jboss-4.0.2\server\myconfig\tmp\deploy\tmp8707listener-exp.war
10:26:24,859 DEBUG [Tomcat5] Replaced war with unpacked contents
10:26:24,859 DEBUG [Tomcat5] webContext: null
10:26:24,859 DEBUG [Tomcat5] warURL: file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/
10:26:24,875 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.init,listener.war
10:26:24,875 DEBUG [Tomcat5] End init
10:26:24,875 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
10:26:24,875 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/
10:26:24,875 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@19de9c9{ url=file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/ ,addedOrder=0}
10:26:24,875 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@349471, cl=org.jboss.mx.loading.UnifiedClassLoader3@19de9c9{ url=file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/ ,addedOrder=0}
10:26:24,875 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@19de9c9{ url=file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/ ,addedOrder=0}
10:26:24,875 DEBUG [MainDeployer] resolveLibraries:
10:26:24,875 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,875 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,875 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,890 DEBUG [ServiceController] Creating service jboss.web.deployment:war=listener.war,id=1307375336
10:26:24,890 DEBUG [ServiceController] adding depends in ServiceController.register: []
10:26:24,890 DEBUG [WebModule] Creating jboss.web.deployment:war=listener.war,id=1307375336
10:26:24,890 DEBUG [WebModule] Created jboss.web.deployment:war=listener.war,id=1307375336
10:26:24,890 DEBUG [ServiceController] Creating dependent components for: jboss.web.deployment:war=listener.war,id=1307375336 dependents are: []
10:26:24,890 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.create,listener.war
10:26:24,890 DEBUG [MainDeployer] Done with create step of deploying listener.war
10:26:24,890 DEBUG [MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:24,890 DEBUG [ServiceController] starting service jboss.web.deployment:war=listener.war,id=1307375336
10:26:24,890 DEBUG [WebModule] Starting jboss.web.deployment:war=listener.war,id=1307375336
10:26:24,890 DEBUG [TomcatDeployer] webContext: null
10:26:24,890 DEBUG [TomcatDeployer] warURL: file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/
10:26:24,890 DEBUG [TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@5fba1c
10:26:24,890 DEBUG [WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
10:26:24,890 INFO [TomcatDeployer] deploy, ctxPath=/listener, warUrl=file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/
10:26:24,890 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
10:26:24,890 DEBUG [TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@b3b3a5
10:26:24,890 DEBUG [TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@19de9c9{ url=file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/ ,addedOrder=41}
10:26:24,890 DEBUG [TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@1bcc0bc
10:26:24,890 DEBUG [TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@92e78c
10:26:24,890 DEBUG [TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@9fbe93
10:26:24,890 DEBUG [TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
10:26:24,890 DEBUG [TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
10:26:24,890 DEBUG [TomcatDeployer] addEnvEntries
10:26:24,890 DEBUG [TomcatDeployer] linkResourceEnvRefs
10:26:24,890 DEBUG [TomcatDeployer] linkResourceRefs
10:26:24,890 DEBUG [TomcatDeployer] linkMessageDestinationRefs
10:26:24,890 DEBUG [TomcatDeployer] linkEjbRefs
10:26:24,890 DEBUG [TomcatDeployer] linkEjbLocalRefs
10:26:24,890 DEBUG [TomcatDeployer] linkServiceRefs
10:26:24,890 DEBUG [TomcatDeployer] linkSecurityDomain
10:26:24,890 DEBUG [TomcatDeployer] No security-domain given, using default: java:/jaas/other
10:26:24,890 DEBUG [TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
10:26:24,890 DEBUG [TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
10:26:24,921 DEBUG [TomcatDeployer] Using session cookies default setting
10:26:24,984 DEBUG [ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5'
10:26:25,000 DEBUG [TomcatDeployer] Initialized: {WebApplication: /C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/, URL: file:/C:/jboss-4.0.2/server/myconfig/tmp/deploy/tmp8707listener-exp.war/, classLoader: java.net.FactoryURLClassLoader@b3b3a5:11776933} jboss.web:j2eeType=WebModule,name=//localhost/listener,J2EEApplication=none,J2EEServer=none
10:26:25,000 DEBUG [WebModule] Started jboss.web.deployment:war=listener.war,id=1307375336
10:26:25,000 DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=listener.war,id=1307375336 dependent components: []
10:26:25,000 DEBUG [ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.start,listener.war
10:26:25,109 DEBUG [MainDeployer] End deployment start on package: listener.war
10:26:25,109 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:25,109 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war -> file:/C:/jboss-4.0.2/server/myconfig/deploy/listener.war
10:26:25,109 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
10:26:25,109 DEBUG [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
10:26:25,109 DEBUG [ServiceController] Starting dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
10:26:25,312 DEBUG [MainDeployer] End deployment start on package: jboss-service.xml
10:26:25,312 DEBUG [MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/myconfig/conf/jboss-service.xml
10:26:25,312 DEBUG [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
10:26:25,343 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
10:26:25,656 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:26:25,671 INFO [JkMain] Jk running ID=0 time=0/46 config=null
10:26:25,703 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443
10:26:25,750 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 27s:485ms
10:26:35,453 DEBUG [SessionFactoryObjectFactory] JNDI lookup: org/hibernate/SessionFactory
10:26:35,453 DEBUG [SessionFactoryObjectFactory] lookup: uid=402881e4057d612401057d6126460000
10:26:35,546 DEBUG [SessionImpl] opened session
10:26:35,546 INFO [STDOUT] Got the session from the factory
10:26:35,562 INFO [STDOUT] Session is still open
10:26:35,562 DEBUG [JTATransaction] Looking for UserTransaction under: UserTransaction
10:26:35,562 DEBUG [JTATransaction] Obtained UserTransaction
10:26:35,562 DEBUG [JTATransaction] beginning new transaction
10:26:35,562 INFO [STDOUT] Before session .save
10:26:35,562 DEBUG [SessionImpl] closing session
10:26:35,578 INFO [STDOUT] net.sf.hibernate.MappingException: No persister for: com.ssi.listener.bean.CWsmType
at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:347)
at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2690)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2697)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:763)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:738)
at com.ssi.listener.servlet.CGetRequestType.doGet(CGetRequestType.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
10:27:15,609 DEBUG [SessionImpl] running Session.finalize()
10:27:15,625 WARN [SessionImpl] afterTransactionCompletion() was never called
10:28:52,265 DEBUG [IdleRemover] run: IdleRemover notifying pools, interval: 150000


[/b]

FYI, I changed the configuration a bit to create a schema in PostgreSql, and it worked. I just am not able to persist anything...

Thanks

_________________
Artemis


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 7:21 pm 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
Steve, I am wondering if the additional information I gave you was sufficient or maybe you did not have a chance to check it yet... Your initial response brought my hopes up.
Few more possibilities: Can this be a paltform issue? Should I switch to UNIX platform or try to build it in Windows?
Thank you.

_________________
Artemis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 16, 2005 2:52 pm 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
Safest way is to use CMP session beans.

I did not even need to use a transaction object. I obtained a hibernate session in the session ejb method, and used it for persisting data. Ejb took care of transaction and closed the session.

If anybody reads this, I hope it helps.

_________________
Artemis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 16, 2005 10:42 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
What version of JBoss is this? It seems like you encounter a class loader scoping issue. There was a change in the classloading of web-container classes I believe in JBoss 4.0.2 which had to do with scoping of classes. But I don't remember all the details.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 16, 2005 11:48 pm 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
I am using JBoss 4.0.2. I switched to Hibernate 3.0.5

There were several problems: Prior to fixing transaction issue, my deployment had problems too. .har file POJO classes and .ear file POJO classes were separetely compiled... .ear POJO classes should come from .har deployment.

_________________
Artemis


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 7:34 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Sorry, but I have no idea what you are talking about


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 11:23 am 
Newbie

Joined: Tue Aug 02, 2005 12:14 pm
Posts: 11
I do not know what the class loader change/issue you mention can be.
All I know is that, the .ear project that uses Hibernate to persist my data has the get persistence (POJO) classes from the .har POJO class library. If they share the same source code but compiled separetely, I get "the persister not found" exception. I hope that makes sense.

_________________
Artemis


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.