-->
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.  [ 3 posts ] 
Author Message
 Post subject: Mapping many-to-one error
PostPosted: Wed Apr 19, 2006 2:26 pm 
Beginner
Beginner

Joined: Thu Jan 12, 2006 6:32 pm
Posts: 39
Location: Austin, Tx, USA, NA, Sol 3
I've included two documents. Trying to do a simple, direct one-to-many link between personnel_action and signatures. Keep getting the same error: field not found. Section 7.2.1 of the manual shows a m-2-1 with a name="address" value but the class name="Address" (note the case is different in the text) so I don't see what/how the name on the m-2-1 is supposed to relate back to a non-existant class; or is this non-case senstive?!

[b]Hibernate version:[/b] 3.10

[b]Mapping documents:[/b]

<?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 default-cascade="none" default-access="property" auto-import="true"
package="us.tx.state.oag.WfPersonnelAction">

<class name="HbmWfPaSignaturesTable"
table="info_wf_pa_signatures" entity-name="info_wf_pa_signatures">

<composite-id>
<key-property name="action_id" type="big_decimal"/>
<key-property name="signature_id" type="big_decimal"/>
</composite-id>

<property name="approval_state" type="string" update="true" insert="true"/>
<property name="emplid" type="string" update="true" insert="true"/>
<property name="date_signature" type="timestamp" update="true" insert="true"/>
<property name="comments" type="string" update="true" insert="true"/>

<many-to-one name="HbmWfPersonnelActionTable"
column="action_id" not-null="true"/>

</class>

</hibernate-mapping>

<?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 default-cascade="none" default-access="property" auto-import="true"
package="us.tx.state.oag.WfPersonnelAction">

<class name="HbmWfPersonnelActionTable"
table="info_wf_personnel_action" entity-name="info_wf_personnel_action">

<id name="action_id" type="big_decimal" column="action_id" unsaved-value="null">
<generator class="hilo">
<param name="table">sys_next_ids</param>
<param name="column">next_action_id</param>
</generator>
</id>

<property name="action_type_id" type="big_decimal" update="true" insert="true"/>
<property name="creation_date" type="timestamp" update="true" insert="true"/>
<property name="effective_date" type="timestamp" update="true" insert="true"/>
<property name="hr_emplid" type="string" update="true" insert="true"/>
<property name="hr_name_first" type="string" update="true" insert="true"/>
<property name="hr_name_last" type="string" update="true" insert="true"/>
<property name="hr_phone_work" type="string" update="true" insert="true"/>
<property name="portal_wf_id" type="string" update="true" insert="true"/>
<property name="mgr_emplid" type="string" update="true" insert="true"/>
<property name="mgr_name_first" type="string" update="true" insert="true"/>
<property name="mgr_name_last" type="string" update="true" insert="true"/>
<property name="mgr_phone_work" type="string" update="true" insert="true"/>

<set name="actionSignatures">
<key column="action_id" not-null="true"/>
<one-to-many class="HbmWfPaSignaturesTable"/>
</set>

</class>

</hibernate-mapping>

[b]Full stack trace of any exception that occurs:[/b]

2006-04-19 13:17:25,375 INFO [org.hibernate.cfg.Configuration] Searching for mapping documents in jar: txoagPortal.har
2006-04-19 13:17:25,375 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/AppSecMgmt/HbmInfoUsersTable.hbm.xml
2006-04-19 13:17:25,375 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:25,390 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:25,656 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_users -> info_users
2006-04-19 13:17:25,671 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: userId -> user_id
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: userCN -> user_cn
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isActive -> is_active
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isDeployed -> is_deployed
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isEmployee -> is_employee
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dateEffective -> dt_eff
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dateInactive -> dt_inactive
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: employeeID -> emplid
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: firstName -> first_name
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: lastName -> last_name
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: title -> title
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: crUser -> cr_user
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: crDate -> cr_date
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: upUser -> up_user
2006-04-19 13:17:25,734 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: upDate -> up_date
2006-04-19 13:17:25,750 DEBUG [org.hibernate.cfg.HbmBinder] Named SQL query: info_users.users_find -> { call info_users_find_spr ( ?,?,?,?, ?,?,? ) }
2006-04-19 13:17:25,765 DEBUG [org.hibernate.cfg.HbmBinder] Named SQL query: info_users.user_read -> { call info_users_spr ( ?,?,?, ?,?,? ) }
2006-04-19 13:17:25,765 DEBUG [org.hibernate.cfg.HbmBinder] Named SQL query: info_users.user_add -> { call info_users_spa ( ?,?,?,?,?,?,?,?,?,?,?,?, ?,?,? ) }
2006-04-19 13:17:25,765 DEBUG [org.hibernate.cfg.HbmBinder] Named SQL query: info_users.user_update -> { call info_users_spu ( ?,?,?,?,?,?,?,?,?,?,?,?, ?,?,? ) }
2006-04-19 13:17:25,765 DEBUG [org.hibernate.cfg.HbmBinder] Named SQL query: info_users.user_delete -> { call info_users_spd ( ?,?, ?,?,? ) }
2006-04-19 13:17:25,765 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaCodeActionSignaturesTable.hbm.xml
2006-04-19 13:17:25,765 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:25,765 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:25,796 INFO [org.hibernate.cfg.HbmBinder] Mapping class: code_wf_action_signatures -> code_wf_action_signatures
2006-04-19 13:17:25,796 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> action_type_id
2006-04-19 13:17:25,796 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2006-04-19 13:17:25,796 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaCodeActionStatusTable.hbm.xml
2006-04-19 13:17:25,812 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:25,812 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:25,843 INFO [org.hibernate.cfg.HbmBinder] Mapping class: code_wf_action_status -> code_wf_action_status
2006-04-19 13:17:25,843 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> action_status_id
2006-04-19 13:17:25,843 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2006-04-19 13:17:25,843 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: next_status -> next_status
2006-04-19 13:17:25,843 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaCodeActionTypeTable.hbm.xml
2006-04-19 13:17:25,843 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:25,843 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:25,875 INFO [org.hibernate.cfg.HbmBinder] Mapping class: code_wf_action_type -> code_wf_action_type
2006-04-19 13:17:25,875 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> action_type_id
2006-04-19 13:17:25,875 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2006-04-19 13:17:25,875 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaEmployeeTable.hbm.xml
2006-04-19 13:17:25,906 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:25,906 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:25,968 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_wf_pa_employee -> info_wf_pa_employee
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_id -> action_id
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: emplid -> emplid
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: employment_date -> employment_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: last_eval_date -> last_eval_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: last_promotion_date -> last_promotion_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: last_work_date -> last_work_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: lwop_start_date -> lwop_start_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: lwop_end_date -> lwop_end_date
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: mail_code -> mail_code
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name_first -> name_first
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name_last -> name_last
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name_preferred -> name_preferred
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: phone_work -> phone_work
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: ssn -> ssn
2006-04-19 13:17:25,968 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: termination_date -> termination_date
2006-04-19 13:17:26,281 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: fk_employee_to_action -> action_id
2006-04-19 13:17:26,281 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaPositionTable.hbm.xml
2006-04-19 13:17:26,281 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:26,281 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:26,328 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_wf_pa_position -> info_wf_pa_position
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_id -> action_id
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_business_unit -> to_business_unit
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_class_number -> to_class_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_class_title -> to_class_title
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_eeo_function -> to_eeo_function
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_flsa_number -> to_flsa_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_is_manager -> to_is_manager
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_is_supervisor -> to_is_supervisor
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_office_cube_available -> to_office_cube_available
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_org_code -> to_org_code
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_pay_group -> to_pay_group
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_position_number -> to_position_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_primary_pca -> to_primary_pca
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_salary_annually -> to_salary_annually
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_salary_monthly -> to_salary_monthly
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_secondary_pca -> to_secondary_pca
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: to_weekly_hours -> to_weekly_hours
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_business_unit -> from_business_unit
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_class_number -> from_class_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_class_title -> from_class_title
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_eeo_function -> from_eeo_function
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_flsa_number -> from_flsa_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_is_manager -> from_is_manager
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_is_supervisor -> from_is_supervisor
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_office_cube_available -> from_office_cube_available
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_org_code -> from_org_code
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_pay_group -> from_pay_group
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_position_number -> from_position_number
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_primary_pca -> from_primary_pca
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_salary_annually -> from_salary_annually
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_salary_monthly -> from_salary_monthly
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_secondary_pca -> from_secondary_pca
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: from_weekly_hours -> from_weekly_hours
2006-04-19 13:17:26,328 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: fk_position_to_action -> action_id
2006-04-19 13:17:26,328 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaSignaturesTable.hbm.xml
2006-04-19 13:17:26,328 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-19 13:17:26,328 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-19 13:17:26,390 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_wf_pa_signatures -> info_wf_pa_signatures
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_id -> action_id
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: signature_id -> signature_id
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: approval_state -> approval_state
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: emplid -> emplid
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: date_signature -> date_signature
2006-04-19 13:17:26,390 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: comments -> comments
2006-04-19 13:17:26,562 ERROR [org.jboss.hibernate.jmx.Hibernate] Starting failed jboss.har:service=HibernateAppSec
org.hibernate.MappingException: Could not read mapping documents from jar: txoagPortal.har
at org.hibernate.cfg.Configuration.addJar(Configuration.java:545)
at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:602)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.hibernate.PropertyNotFoundException: field not found: HbmWfPersonnelActionTable
at org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAccessor.java:97)
at org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAccessor.java:104)
at org.hibernate.property.DirectPropertyAccessor.getGetter(DirectPropertyAccessor.java:112)
at org.hibernate.util.ReflectHelper.getter(ReflectHelper.java:89)
at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.java:77)
at org.hibernate.mapping.ToOne.setTypeUsingReflection(ToOne.java:58)
at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:2065)
at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2050)
at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1940)
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:324)
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:238)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:109)
at org.hibernate.cfg.Configuration.add(Configuration.java:385)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:426)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:542)
... 95 more


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 7:02 pm 
Beginner
Beginner

Joined: Mon Nov 29, 2004 2:26 pm
Posts: 28
You need to declare both the class and the name of the variable (they can be completely different). In your case you'll need something like:

Code:
class HbmWfPaSignaturesTable {
    private HbmWfPersonnelActionTable hbmWfPersonnelActionTable;
    // .. getters and setters
}


Then map it like this:

Code:
<many-to-one name="hbmWfPersonnelActionTable" class="HbmWfPersonnelActionTable" column="action_id" not-null="true"/>


Get it?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 20, 2006 9:58 am 
Beginner
Beginner

Joined: Thu Jan 12, 2006 6:32 pm
Posts: 39
Location: Austin, Tx, USA, NA, Sol 3
Tried that. Now I'm getting the following. (NOTE: The deployment messages and error repeat in the log file. Is JBoss trying to get Hibernate to deploy twice???)
2006-04-20 08:38:30,515 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPaSignaturesTable.hbm.xml
2006-04-20 08:38:30,515 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-20 08:38:30,515 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-20 08:38:30,546 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_wf_pa_signatures -> info_wf_pa_signatures
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_id -> action_id
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: signature_id -> signature_id
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> action_id, signature_id
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: approval_state -> approval_state
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: emplid -> emplid
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: date_signature -> date_signature
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: comments -> comments
2006-04-20 08:38:30,546 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: hbmWfPersonnelActionTable -> action_id
2006-04-20 08:38:30,546 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/WfPersonnelAction/HbmWfPersonnelActionTable.hbm.xml
2006-04-20 08:38:30,546 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-20 08:38:30,546 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-20 08:38:30,593 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_wf_personnel_action -> info_wf_personnel_action
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_id -> action_id
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: action_type_id -> action_type_id
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: creation_date -> creation_date
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: effective_date -> effective_date
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: hr_emplid -> hr_emplid
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: hr_name_first -> hr_name_first
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: hr_name_last -> hr_name_last
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: hr_phone_work -> hr_phone_work
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: portal_wf_id -> portal_wf_id
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: mgr_emplid -> mgr_emplid
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: mgr_name_first -> mgr_name_first
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: mgr_name_last -> mgr_name_last
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: mgr_phone_work -> mgr_phone_work
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters : {}
2006-04-20 08:38:30,593 INFO [org.hibernate.cfg.Configuration] processing extends queue
2006-04-20 08:38:30,593 INFO [org.hibernate.cfg.Configuration] processing collection mappings
2006-04-20 08:38:30,593 INFO [org.hibernate.cfg.Configuration] processing association property references
2006-04-20 08:38:30,593 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: info_wf_personnel_action
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: info_wf_personnel_action
2006-04-20 08:38:30,593 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: us.tx.state.oag.WfPersonnelAction.HbmWfPersonnelActionTable
2006-04-20 08:38:30,593 ERROR [org.jboss.hibernate.jmx.Hibernate] Starting failed jboss.har:service=HibernateAppSec
org.hibernate.MappingException: An association from the table info_wf_pa_signatures refers to an unmapped class: us.tx.state.oag.WfPersonnelAction.HbmWfPersonnelActionTable
at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1112)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1062)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1146)
at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:611)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
2006-04-20 08:38:30,609 WARN [org.jboss.system.ServiceController] Problem starting service jboss.har:service=HibernateAppSec
org.hibernate.MappingException: An association from the table info_wf_pa_signatures refers to an unmapped class: us.tx.state.oag.WfPersonnelAction.HbmWfPersonnelActionTable
at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1112)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1062)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1146)
at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:611)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
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:144)
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:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
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:144)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
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:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
2006-04-20 08:38:30,609 DEBUG [org.jboss.system.ServiceController] starting service jboss.har:service=HibernateWorking
2006-04-20 08:38:30,609 DEBUG [org.jboss.hibernate.jmx.Hibernate] Starting jboss.har:service=HibernateWorking
2006-04-20 08:38:30,609 DEBUG [org.jboss.hibernate.jmx.Hibernate] Hibernate MBean starting; org.jboss.hibernate.jmx.Hibernate@145582 [ServiceName=jboss.har:service=HibernateWorking, JNDI=java:/hibernate/txoagPortalSfWorking]
2006-04-20 08:38:30,609 DEBUG [org.jboss.hibernate.jmx.Hibernate] Building SessionFactory; org.jboss.hibernate.jmx.Hibernate@145582 [ServiceName=jboss.har:service=HibernateWorking, JNDI=java:/hibernate/txoagPortalSfWorking]
2006-04-20 08:38:30,609 INFO [org.jboss.hibernate.jmx.Hibernate] Using JDBC batch size : null
2006-04-20 08:38:30,609 INFO [org.hibernate.cfg.Configuration] Searching for mapping documents in jar: txoagPortal.har
2006-04-20 08:38:30,609 INFO [org.hibernate.cfg.Configuration] Found mapping document in jar: us/tx/state/oag/AppSecMgmt/HbmInfoUsersTable.hbm.xml
2006-04-20 08:38:30,625 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2006-04-20 08:38:30,625 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2006-04-20 08:38:30,640 INFO [org.hibernate.cfg.HbmBinder] Mapping class: info_users -> info_users
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: userId -> user_id
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: userCN -> user_cn
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isActive -> is_active
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isDeployed -> is_deployed
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: isEmployee -> is_employee
2006-04-20 08:38:30,640 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dateEffective -> dt_eff


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