[jBPM] - Timer Job - SingleSessionCommandService - Could not commit session
by tmag
tmag [https://community.jboss.org/people/tmag] created the discussion
"Timer Job - SingleSessionCommandService - Could not commit session"
To view the discussion, visit: https://community.jboss.org/message/761118#761118
--------------------------------------------------------------
We are prototyping a process with some timer jobs using JBPM5.3 . And this process is made to be persistent with MySQL.
When we are reloading a session from database with some overdue timer jobs - seeing the following exception in the logs .
Did anyone face this issue before? What am missing? Please help.
Hibernate: select sessioninf0_.id as id2_0_, sessioninf0_.lastModificationDate as lastModi2_2_0_, sessioninf0_.rulesByteArray as rulesByt3_2_0_, sessioninf0_.startDate as startDate2_0_, sessioninf0_.OPTLOCK as OPTLOCK2_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
*ERROR SingleSessionCommandService - Could not commit session*
*java.lang.NullPointerException*
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:34)
at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:14)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
WARN Preparer - executing transaction with 0 enlisted resource
*ERROR JpaTimerJobInstance - Unable to execute timer job!*
*java.lang.NullPointerException*
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:34)
at org.drools.persistence.jpa.JpaTimerJobInstance.call(JpaTimerJobInstance.java:14)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Hibernate: select processins0_.InstanceId as InstanceId0_0_, processins0_.OPTLOCK as OPTLOCK0_0_, processins0_.processId as processId0_0_, processins0_.s
https://community.jboss.org/servlet/JiveServlet/showImage/2-761118-19560/... https://community.jboss.org/servlet/JiveServlet/downloadImage/2-761118-19...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761118#761118]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - WorkItemHandler Deployment Problem
by Reza Ghalavand
Reza Ghalavand [https://community.jboss.org/people/allgreenphosphor] created the discussion
"WorkItemHandler Deployment Problem"
To view the discussion, visit: https://community.jboss.org/message/761106#761106
--------------------------------------------------------------
Hi everyone,
I'm new to JBoss. I've been using demo installer for a few days testing it, and right now I'm trying to register a workitemhandler of my own.
so far I've edited CustomWorkItemHandlers.conf in notepad just as everyone says and made a WorkItemHandler class.
here's my CustomWorkItemHandlers.conf:
[
"Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler(),
* "MyLog": new com.myTask.WorkItemHandler(),*
*]*
and here's the WorkItemHandler class itself in java:
package com.myTask;
import java.io.FileWriter;
import java.io.IOException;
import org.drools.runtime.process.WorkItem;
import org.drools.runtime.process.WorkItemHandler;
import org.drools.runtime.process.WorkItemManager;
public class MyTaskHandler implements WorkItemHandler {
@Override
public void abortWorkItem(WorkItem arg0, WorkItemManager arg1) {
}
@Override
public void executeWorkItem(WorkItem arg0, WorkItemManager arg1) {
FileWriter out;
try {
out = new FileWriter("C:\\out.txt");
out.write("Greetings from handler!");
out.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
the problem is I have no prior experience with JBoss AS (nor with any other Java AS) and I have difficulty figuring out where to actually put my jar file so it gets deployed correctly. it's hard to tell because demo installer uses temproary folders which get deleted each time I stop/restart server. I'm kind of confused.
thanks in advance
PS: It's jBPM 5.3.0
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761106#761106]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Error creating bean with name 'taskResourceFactory' defined in class path resource [META-INF/spring/applicationContext.xml]
by Avneesh Sisodia
Avneesh Sisodia [https://community.jboss.org/people/avneesh] created the discussion
"Error creating bean with name 'taskResourceFactory' defined in class path resource [META-INF/spring/applicationContext.xml]"
To view the discussion, visit: https://community.jboss.org/message/761043#761043
--------------------------------------------------------------
Hi,
When I am trying to create Local Task Service for jbpm human task using spring framework. It throwing exception.
I have a java class
TaskResourceFactory.java
public class TaskResourceFactory implements ApplicationContextAware {
private static final Logger logger = LoggerFactory.getLogger(TaskResourceFactory.class);
private static ApplicationContext context;
private static TaskService taskService;
private static AbstractPlatformTransactionManager transactionManager;
@Override
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException {
this.context = applicationContext;
}
public TaskResourceFactory(TaskService tService, AbstractPlatformTransactionManager tManager) {
TaskResourceFactory.taskService = tService;
TaskResourceFactory.transactionManager = tManager;
}
public static LocalTaskService getTaskClient(TaskService taskService, AbstractPlatformTransactionManager transactionManager) {
initializeSessionFactory(transactionManager);
logger.debug("Creating local task service client, based on {}",taskService);
LocalTaskService returnBean = new LocalTaskService(taskService);
logger.debug("Returning task client: {}", returnBean.toString());
return returnBean;
}
public static void initializeSessionFactory(AbstractPlatformTransactionManager transactionManager) {
logger.debug("Initializing the session factory");
TaskSessionSpringFactoryImpl springFactory = (TaskSessionSpringFactoryImpl) context.getBean("springTaskSessionFactory");
logger.debug("Setting the transaction manager, based on {}",transactionManager);
TransactionManager taskTx = new DroolsSpringTransactionManager(transactionManager);
springFactory.setTransactionManager(taskTx);
logger.debug("Initializing");
springFactory.initialize();
}
public TaskService getTaskService() {
return taskService;
}
public void setTaskService(TaskService taskService) {
this.taskService = taskService;
}
public AbstractPlatformTransactionManager getTransactionManager() {
return transactionManager;
}
public void setTransactionManager(
AbstractPlatformTransactionManager transactionManager) {
this.transactionManager = transactionManager;
}
When *springFactory* object is to be create it throwing exception.
my applicationContext.xml is:
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManagerName" value="java:jboss/TransactionManager"/>
</bean>
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:jboss/datasources/RI"/>
</bean>
<tx:annotation-driven transaction-manager="transactionManager" />
<bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="showSql" value="true" />
<property name="generateDdl" value="true" />
</bean>
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="persistenceUnitName" value="jbpm" />
<property name="dataSource" ref="dataSource" />
<property name="jpaVendorAdapter" ref="jpaVendorAdapter" />
</bean>
<bean id="jpaTxMgr" class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="entityManagerFactory" />
<property name="nestedTransactionAllowed" value="true"/>
</bean>
<bean id="systemEventListener" class="org.drools.SystemEventListenerFactory" factory-method="getSystemEventListener" />
<bean id="taskService" class="org.jbpm.task.service.TaskService" >
<property name="systemEventListener" ref="systemEventListener" />
</bean>
<bean id="htEm" class="org.springframework.orm.jpa.support.SharedEntityManagerBean">
<property name="entityManagerFactory" ref="entityManagerFactory"/>
</bean>
<bean id="htTxMgr" class="org.drools.container.spring.beans.persistence.HumanTaskSpringTransactionManager">
<constructor-arg ref="transactionManager" />
</bean>
<bean id="springTaskSessionFactory" class="org.jbpm.task.service.persistence.TaskSessionSpringFactoryImpl" depends-on="taskService" >
<property name="transactionManager" ref="htTxMgr" />
<property name="useJTA" value="true" />
<property name="taskService" ref="taskService" />
</bean>
<bean id="taskResourceFactory" class="com.nijhazer.jbpm.quickstart.TaskResourceFactory" factory-method="getTaskClient">
<constructor-arg type="org.jbpm.task.service.TaskService" ref="taskService" />
<constructor-arg type="org.springframework.transaction.support.AbstractPlatformTransactionManager" ref="transactionManager" />
</bean>
stacktrace is:
13:18:57,120 INFO [stdout] (MSC service thread 1-1) org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'taskResourceFactory' defined in class path resource [META-INF/spring/applicationContext.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public static org.jbpm.task.service.local.LocalTaskService com.nijhazer.jbpm.quickstart.TaskResourceFactory.getTaskClient
(org.jbpm.task.service.TaskService,org.springframework.transaction.support.AbstractPlatformTransactionManager)]
threw exception; nested exception is java.lang.NullPointerException
13:18:57,120 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
13:18:57,120 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod
(AbstractAutowireCapableBeanFactory.java:1015)
13:18:57,120 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance
(AbstractAutowireCapableBeanFactory.java:911)
13:18:57,120 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
13:18:57,120 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
13:18:57,121 INFO [stdout] (MSC service thread 1-1) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) at java.lang.Thread.run(Thread.java:662)
13:18:57,122 INFO [stdout] (MSC service thread 1-1) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public static org.jbpm.task.service.local.LocalTaskService com.nijhazer.jbpm.quickstart.TaskResourceFactory.getTaskClient
(org.jbpm.task.service.TaskService,org.springframework.transaction.support.AbstractPlatformTransactionManager)] threw exception; nested exception is java.lang.NullPointerException
13:18:57,123 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)
13:18:57,123 INFO [stdout] (MSC service thread 1-1) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
13:18:57,123 INFO [stdout] (MSC service thread 1-1) ... 22 more
13:18:57,123 INFO [stdout] (MSC service thread 1-1) Caused by: java.lang.NullPointerException
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761043#761043]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[JBoss Messaging] - JBossMessaging(1.4) HA Singleton
by fregg
fregg [https://community.jboss.org/people/fregg] created the discussion
"JBossMessaging(1.4) HA Singleton"
To view the discussion, visit: https://community.jboss.org/message/761042#761042
--------------------------------------------------------------
Hello,
I want my messaging to work in active-passive mode. I want to have HA, but I don't want the queue to be distributed on many nodes.
Why? During failover, when one node is down the other tries to get the messages from it. This operation can take huge amount of time, because it includes transcription from one channel to another and I have hundred of thousand messages(or even more).
That's why I just want to have one working node and in case of its crash the other one starts up and just load the messages. Node should have the same node id,because in other case there are multiple channels for the same queue.
Here my questions:
What are thre perils of this approach?
How to configure the client?
Is there a better approach?
Best,
F
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761042#761042]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[JBoss Tools] - Error when open SessionFacoty in Eclipse's Hibernate Perspective
by spring liao
spring liao [https://community.jboss.org/people/spring.liao] created the document:
"Error when open SessionFacoty in Eclipse's Hibernate Perspective"
To view the document, visit: https://community.jboss.org/docs/DOC-47469
--------------------------------------------------------------
Hi,
Following is my application/development enviroment:
1.Eclipse 3.7.2/Indigo SR2
2.jboss tools 3.3.1.Final
3.hibernate-orm 4.1.7.Final
4.Joda Time 2.1
5.usertype 3.0.0.CR3
My domain class use joda time LocalDateTime type and UserType annotation:
@Column(name = "START")
@Type(type = "org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime")
private org.joda.time.LocalDateTime start;
Both my application and development enviroment work properly except the only one issue:
When I open Hibernate Perspective in Eclipse then click SessionFactory to open it
, the following exception raised and failed to open.
I am not sure it is jboss tools or usertype problem ?
--------------------------------begin error log--------------------------------
!ENTRY org.hibernate.eclipse.console 4 4 2012-09-24 15:06:26.609
!MESSAGE Problems while creating sessionfactory
!SUBENTRY 1 org.hibernate.eclipse.console 4 150 2012-09-24 15:06:26.609
!MESSAGE java.lang.VerifyError: (class: org/jadira/usertype/spi/shared/AbstractTimestampColumnMapper, method: getHibernateType signature: ()Lorg/hibernate/type/AbstractStandardBasicType;) Wrong return type in function
!STACK 0
java.lang.VerifyError: (class: org/jadira/usertype/spi/shared/AbstractTimestampColumnMapper, method: getHibernateType signature: ()Lorg/hibernate/type/AbstractStandardBasicType;) Wrong return type in function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.jadira.usertype.spi.shared.AbstractSingleColumnUserType.<init>(AbstractSingleColumnUserType.java:41)
at org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime.<init>(PersistentLocalDateTime.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.hibernate.type.CustomType.<init>(CustomType.java:75)
at org.hibernate.type.TypeFactory.heuristicType(TypeFactory.java:301)
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:282)
at org.hibernate.tuple.PropertyFactory.buildStandardProperty(PropertyFactory.java:143)
at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:68)
at org.hibernate.mapping.Component.buildType(Component.java:183)
at org.hibernate.mapping.Component.getType(Component.java:176)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:275)
at org.hibernate.mapping.Collection.validate(Collection.java:301)
at org.hibernate.mapping.Set.validate(Set.java:42)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1197)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1378)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:278)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:273)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 2 org.hibernate.eclipse.console 4 150 2012-09-24 15:06:26.625
!MESSAGE java.lang.VerifyError: (class: org/jadira/usertype/spi/shared/AbstractTimestampColumnMapper, method: getHibernateType signature: ()Lorg/hibernate/type/AbstractStandardBasicType;) Wrong return type in function
!STACK 0
java.lang.VerifyError: (class: org/jadira/usertype/spi/shared/AbstractTimestampColumnMapper, method: getHibernateType signature: ()Lorg/hibernate/type/AbstractStandardBasicType;) Wrong return type in function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.jadira.usertype.spi.shared.AbstractSingleColumnUserType.<init>(AbstractSingleColumnUserType.java:41)
at org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime.<init>(PersistentLocalDateTime.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.hibernate.type.CustomType.<init>(CustomType.java:75)
at org.hibernate.type.TypeFactory.heuristicType(TypeFactory.java:301)
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:282)
at org.hibernate.tuple.PropertyFactory.buildStandardProperty(PropertyFactory.java:143)
at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:68)
at org.hibernate.mapping.Component.buildType(Component.java:183)
at org.hibernate.mapping.Component.getType(Component.java:176)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:275)
at org.hibernate.mapping.Collection.validate(Collection.java:301)
at org.hibernate.mapping.Set.validate(Set.java:42)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1197)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1378)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
at org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:278)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:273)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
---------------------------------end error log---------------------------------
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-47469]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
13 years, 6 months