[JBoss AS 7 Development] - Deploy .ear using JBoss 7.1.1 and Andromda
by RUBEN CANO
RUBEN CANO [https://community.jboss.org/people/rcmontero] created the document:
"Deploy .ear using JBoss 7.1.1 and Andromda"
To view the document, visit: https://community.jboss.org/docs/DOC-18361
--------------------------------------------------------------
Hi everyone!!!!
I'm new in the world of Jboss and my firts task has been to create a project using Andromda :S.
When I try to deploy the ear file I have a problem for taking the facade and accesing to the methods of the service.
As I don't want to flood the post so I haven`t put any andromda configuration file, but if someone needs the information contains into some of them I haven't any problem for giving it.
The jboss console shows the following error (complete trace):
Calling "C:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-as-7.1.1.Final
JAVA: C:\Archivos de programa\Java\jdk1.6.0_03\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.prefe
rIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml
===============================================================================
10:44:24,231 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:44:24,632 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:44:24,756 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
10:44:27,813 INFO [org.xnio] XNIO Version 3.0.3.GA
10:44:27,813 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
10:44:27,874 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
10:44:27,890 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
10:44:28,013 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
10:44:28,770 INFO [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final
10:44:28,847 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
10:44:29,851 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
10:44:29,974 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
10:44:30,098 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
10:44:30,499 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Arrancando Coyote HTTP/1.1 en puerto http--127.0.0.1-8080
10:44:30,638 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
10:44:31,981 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-as-7.1.1.Final\standalone\deployments
10:44:32,059 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
10:44:32,089 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
10:44:32,522 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:44:32,769 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.postgresql-8_4-702_jdbc3_jar (missing) dependents: [service jboss.data-source.java:/AOP]
10:44:33,433 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "postgresql-8.4-702.jdbc3.jar"
10:44:34,035 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 8.4)
10:44:34,081 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/AOP]
10:44:34,112 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:9990 http://127.0.0.1:9990
10:44:34,112 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 10499ms - Started 157 of 235 services (76 services are passive or on-demand)
10:44:34,359 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "postgresql-8.4-702.jdbc3.jar"
10:44:34,374 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014776: Newly corrected services:
service jboss.jdbc-driver.postgresql-8_4-702_jdbc3_jar (no longer required)
10:44:53,148 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014900: Content added at location C:\jboss-as-7.1.1.Final\standalone\data\content\79\a968570f1337077f831ca57b6eccce
209e3ff7\content
10:44:56,715 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "AOP-1.0.ear"
10:44:57,008 WARN [org.jboss.metadata.parser.jboss.JBossAppMetaDataParser] (MSC service thread 1-4) loader-repository element in jboss-app.xml is deprecated and has been ignored
10:45:00,729 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "AOP-common-1.0.jar"
10:45:00,729 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "AOP.war"
10:45:00,729 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "AOP-core-1.0.jar"
10:45:02,659 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named Administration_Service in deployment u
nit subdeployment "AOP-core-1.0.jar" of deployment "AOP-1.0.ear" are as follows:
java:global/AOP-1.0/AOP-core-1.0/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_Service
java:app/AOP-core-1.0/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_Service
java:module/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_Service
java:global/AOP-1.0/AOP-core-1.0/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_ServiceHome
java:app/AOP-core-1.0/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_ServiceHome
java:module/Administration_Service!es.indra.aop.adm.servicio.ejb.Administration_ServiceHome
10:45:03,014 INFO [stdout] (MSC service thread 1-1) INICIO SERVIDOR JBOSS
10:45:03,030 INFO [stdout] (Timer-1) Dentro del HILO
10:45:03,693 INFO [org.springframework.core.CollectionFactory] (Timer-1) Commons Collections 3.x available
10:45:03,771 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (Timer-1) Loading XML bean definitions from URL [vfs:/C:/jboss-as-7.1.1.Final/bin/content/AOP-1.0.ear/AOP-core-1.0.ja
r/beanRefFactory.xml]
10:45:03,771 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /./
10:45:03,832 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationConte
xt;hashCode=20564850]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [beanRefFactory,beanRefFactoryEjb]; root of BeanFactory hierarchy
10:45:03,848 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) 2 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationCon
text;hashCode=20564850]
10:45:03,863 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.s
upport.DelegatingMessageSource@4d2262]
10:45:03,879 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [o
rg.springframework.context.event.SimpleApplicationEventMulticaster@dc60af]
10:45:03,879 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBe
anFactory defining beans [beanRefFactory,beanRefFactoryEjb]; root of BeanFactory hierarchy]
10:45:03,956 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS018559: Deployed "AOP-1.0.ear"
10:45:04,002 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (Timer-1) Loading XML bean definitions from class path resource [applicationContext.xml]
10:45:04,218 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (Timer-1) Loading XML bean definitions from class path resource [applicationContext-dataSource.xml]
10:45:04,265 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationConte
xt;hashCode=20976523]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource,sessionFactory,hibernateInterceptor,dcbDao,abtDao,serviceTransactionIntercepto
r,administration_Service,dataSource,transactionManager]; root of BeanFactory hierarchy
10:45:04,265 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) 9 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationCon
text;hashCode=20976523]
10:45:04,280 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Using MessageSource [org.springframework.context.support.ResourceBundleMessageSource: basenames=[messa
ges]]
10:45:04,280 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [o
rg.springframework.context.event.SimpleApplicationEventMulticaster@2af131]
10:45:04,296 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBe
anFactory defining beans [messageSource,sessionFactory,hibernateInterceptor,dcbDao,abtDao,serviceTransactionInterceptor,administration_Service,dataSource,transactionManager]; root of BeanFactory hiera
rchy]
10:45:04,357 INFO [org.hibernate.cfg.Environment] (Timer-1) Hibernate 3.1.3
10:45:04,373 INFO [org.hibernate.cfg.Environment] (Timer-1) hibernate.properties not found
10:45:04,388 INFO [org.hibernate.cfg.Environment] (Timer-1) using CGLIB reflection optimizer
10:45:04,388 INFO [org.hibernate.cfg.Environment] (Timer-1) using JDK 1.4 java.sql.Timestamp handling
10:45:04,759 INFO [org.hibernate.cfg.HbmBinder] (Timer-1) Mapping class: es.indra.aop.adm.dominio.DcbImpl -> DCB
10:45:04,836 INFO [org.hibernate.cfg.HbmBinder] (Timer-1) Mapping class: es.indra.aop.adm.dominio.AbtImpl -> ABT
10:45:04,836 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] (Timer-1) Building new Hibernate SessionFactory
10:45:04,913 INFO [org.hibernate.connection.ConnectionProviderFactory] (Timer-1) Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
10:45:05,268 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) RDBMS: PostgreSQL, version: 8.4.1
10:45:05,268 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.4 JDBC3 (build 702)
10:45:05,299 INFO [org.hibernate.dialect.Dialect] (Timer-1) Using dialect: org.hibernate.dialect.PostgreSQLDialect
10:45:05,330 INFO [org.hibernate.transaction.TransactionFactoryFactory] (Timer-1) Using default transaction strategy (direct JDBC transactions)
10:45:05,345 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] (Timer-1) No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cac
he is not recommended)
10:45:05,345 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Automatic flush during beforeCompletion(): disabled
10:45:05,345 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Automatic session close at end of transaction: disabled
10:45:05,345 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) JDBC batch size: 15
10:45:05,345 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) JDBC batch updates for versioned data: disabled
10:45:05,345 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Scrollable result sets: enabled
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) JDBC3 getGeneratedKeys(): enabled
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Connection release mode: on_close
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Default batch fetch size: 1
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Generate SQL with comments: disabled
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Order SQL updates by primary key: disabled
10:45:05,361 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:45:05,376 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (Timer-1) Using ASTQueryTranslatorFactory
10:45:05,376 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Query language substitutions: {}
10:45:05,376 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Second-level cache: enabled
10:45:05,376 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Query cache: disabled
10:45:05,376 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Cache provider: org.hibernate.cache.EhCacheProvider
10:45:05,392 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Optimize cache for minimal puts: disabled
10:45:05,392 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Structured second-level cache entries: disabled
10:45:05,392 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Echoing all SQL to stdout
10:45:05,392 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Statistics: disabled
10:45:05,407 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Deleted entity synthetic identifier rollback: disabled
10:45:05,407 INFO [org.hibernate.cfg.SettingsFactory] (Timer-1) Default entity-mode: pojo
10:45:06,133 INFO [org.hibernate.impl.SessionFactoryImpl] (Timer-1) building session factory
10:45:06,611 INFO [org.hibernate.impl.SessionFactoryObjectFactory] (Timer-1) Not binding factory to JNDI, no JNDI name configured
10:45:06,642 INFO [org.springframework.aop.framework.DefaultAopProxyFactory] (Timer-1) CGLIB2 available: proxyTargetClass feature enabled
10:45:06,720 INFO [org.springframework.transaction.jta.JtaTransactionManager] (Timer-1) Using JTA UserTransaction: org.jboss.tm.usertx.client.ServerVMClientUserTransaction@1e247e2
10:45:06,720 INFO [org.springframework.transaction.jta.JtaTransactionManager] (Timer-1) Using JTA TransactionManager: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@1f4ba0d
10:45:06,750 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (Timer-1) Loading XML bean definitions from class path resource [applicationContext-localEjb.xml]
10:45:06,781 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationConte
xt;hashCode=2443802]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [administration_Service]; root of BeanFactory hierarchy
10:45:06,781 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) 1 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationCon
text;hashCode=2443802]
10:45:06,781 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.s
upport.DelegatingMessageSource@e9de5f]
10:45:06,781 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [o
rg.springframework.context.event.SimpleApplicationEventMulticaster@63ed4]
10:45:06,797 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBe
anFactory defining beans [administration_Service]; root of BeanFactory hierarchy]
10:45:06,797 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFacto
ry defining beans [administration_Service]; root of BeanFactory hierarchy}
10:45:06,812 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFacto
ry defining beans [beanRefFactory,beanRefFactoryEjb]; root of BeanFactory hierarchy}
10:45:06,812 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (Timer-1) Closing application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCo
de=20976523]
10:45:06,828 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (Timer-1) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFacto
ry defining beans [messageSource,sessionFactory,hibernateInterceptor,dcbDao,abtDao,serviceTransactionInterceptor,administration_Service,dataSource,transactionManager]; root of BeanFactory hierarchy}
10:45:06,828 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] (Timer-1) Closing Hibernate SessionFactory
10:45:06,843 INFO [org.hibernate.impl.SessionFactoryImpl] (Timer-1) closing
*10:45:06,843 INFO [stdout] (Timer-1) Excepcion: Unable to initialize group definition. Group resource name [classpath*:beanRefFactory.xml], factory key [beanRefFactoryEjb]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanRefFactoryEjb' defined in URL [vfs:/C:/jboss-as-7.1.1.Final/bin/content/AOP-1.0.ear/AOP-core-1.0.jar/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could notinstantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]*
*; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'administration_Service' defined in class path resource [applicationContext-localEjb.xml]: Initialization of bean failed; nested exception is javax.naming.NameNotFoundException: ejb/es.indra.aop.adm.servicio.Administration_Service -- service jboss.naming.context.java.ejb."es.indra.aop.adm.servicio.Administration_Service"*
Thanks in advance and any suggestion will be take in consideration.
PD: I want to apologize for my poor english. Sorry.
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18361]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 5 months
[jBPM Development] - Could not commit session
by gigazhang
gigazhang [https://community.jboss.org/people/gigazhang] created the discussion
"Could not commit session"
To view the discussion, visit: https://community.jboss.org/message/736978#736978
--------------------------------------------------------------
2012-5-22 16:19:58 org.drools.persistence.SingleSessionCommandService rollbackTransaction
FETAL: Could not commit session
java.lang.NullPointerException at org.drools.persistence.jta.JtaTransactionManager.getStatus(JtaTransactionManager.java:205)
at org.drools.persistence.jta.JtaTransactionManager.begin(JtaTransactionManager.java:163)
at org.drools.persistence.SingleSessionCommandService.(SingleSessionCommandService.java:147)
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 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:129)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:67)
at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
at com.jbpm.commons.TaskServiceImpl.createSession(TaskServiceImpl.java:265)
at com.jbpm.service.TaskProcessServiceImpl.startProcess(TaskProcessServiceImpl.java:92)
at com.jbpm.controller.TaskProcessController.getUserCommitProcess(TaskProcessController.java:75)
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:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
2012-5-22 16:19:58 org.drools.persistence.jta.JtaTransactionManager rollback
WARN: Unable to rollback transaction java.lang.NullPointerException
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:193)
at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:369)
at org.drools.persistence.SingleSessionCommandService.(SingleSessionCommandService.java:156)
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 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:129)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:67)
at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
at com.jbpm.commons.TaskServiceImpl.createSession(TaskServiceImpl.java:265)
at com.jbpm.service.TaskProcessServiceImpl.startProcess(TaskProcessServiceImpl.java:92)
at com.jbpm.controller.TaskProcessController.getUserCommitProcess(TaskProcessController.java:75)
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:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662) 2012-5-22 16:19:58 org.drools.persistence.SingleSessionCommandService rollbackTransaction
FATAL: Could not rollback java.lang.RuntimeException: Unable to rollback transaction
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:197)
at org.drools.persistence.SingleSessionCommandService.rollbackTransaction(SingleSessionCommandService.java:369)
at org.drools.persistence.SingleSessionCommandService.(SingleSessionCommandService.java:156)
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 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:129)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:67)
at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
at com.jbpm.commons.TaskServiceImpl.createSession(TaskServiceImpl.java:265)
at com.jbpm.service.TaskProcessServiceImpl.startProcess(TaskProcessServiceImpl.java:92)
at com.jbpm.controller.TaskProcessController.getUserCommitProcess(TaskProcessController.java:75)
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:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException
at org.drools.persistence.jta.JtaTransactionManager.rollback(JtaTransactionManager.java:193) ... 44 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736978#736978]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM Development] - jbpm 5.1 not working properly
by Seshadri Jagannathan
Seshadri Jagannathan [https://community.jboss.org/people/seshadri.j] created the discussion
"jbpm 5.1 not working properly"
To view the discussion, visit: https://community.jboss.org/message/717688#717688
--------------------------------------------------------------
Hi
I installed jbpm 5.1.. however when i open the jbpm-console, the processes are not getting loading. the following error is showing up. pls help
URL: ' http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions'
Action: 'org.jboss.bpm.console.client.process.UpdateDefinitionsAction'
Exception: 'class com.google.gwt.http.client.RequestException'
HTTP 500:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:130)
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.ClassCastException: [Ljava.lang.Object;
org.drools.marshalling.impl.OutputMarshaller.writePropagationContexts(OutputMarshaller.java:716)
org.drools.marshalling.impl.OutputMarshaller.writeFactHandles(OutputMarshaller.java:280)
org.drools.marshalling.impl.OutputMarshaller.writeSession(OutputMarshaller.java:107)
org.drools.marshalling.impl.DefaultMarshaller.marshall(DefaultMarshaller.java:136)
org.drools.persistence.SessionMarshallingHelper.getSnapshot(SessionMarshallingHelper.java:72)
org.drools.persistence.info.SessionInfo.update(SessionInfo.java:81)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
org.hibernate.ejb.event.EntityCallbackHandler.preCreate(EntityCallbackHandler.java:49)
org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:48)
org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17)
org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Best Regards,
Sesh
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717688#717688]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss AS 7 Development] - Logging Id's
by Brian Stansberry
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] modified the document:
"Logging Id's"
To view the document, visit: https://community.jboss.org/docs/DOC-16810
--------------------------------------------------------------
Logging id ranges for JBoss AS7 i18n message interfaces.
|| %1,3% *Status* ||
| C | = | Complete |
| I | = | In Progress |
| P | = | Merged, but not complete |
| W | = | Waiting Merge |
|| *Range* || *Subsystem
* || *Status
* ||
| *10100 - 10199* | *Transaction* | C |
| *10200 - 10399
* | *Clustering**
* | C |
| *10400 - 10499* | *Connector**
* | C |
| *10500 - 10599* | *CLI (not applicable)
* | N/A |
| *10600 - 10699* | *Controller Client* | C |
| *10700 - 10799*, *18500 - 18699, 18800-18999* | *CMP* | C |
| *10800 - 10899* | *Host Controller (domain packages)* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| *11100 - 11199* | *Embedded* | C |
| *11200 - 11299* | *JAXRS* | C |
| *11300 - 11399* | *JMX* | C |
| *11400 - 11499* | *JPA* | C |
| *11500 - 11599* | *Logging* | C |
| *11600 - 11699* | *Messaging* | C |
| *11700 - 11799* | *mod_cluster* | C |
| *11800 - 11899* | *Naming* | C |
| *11900 - 11999* | *OSGi* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *12100 - 12199* | *Protocol* | C |
| *12200 - 12299* | *Management Client Content* | C |
| *12300 - 12399* | *Platform MBeans* | C |
| *12400 - 12499* | *Threads* | C |
| *13100 - 13199* | *Security* | C |
| *13200 - 13299* | *AppClient* | C |
| *13300 - 13399* | *JDR* | C |
| *14000 - 14099* | *JAXR* | W |
| *14100 - 14599* | *Ejb3* | P |
| *14600 - 14899* | *Controller* | C |
| *14900 - 14999* | *Deployment Repository* | C |
| *15000 - 15099* | *Deployment Scanner* | C |
| *15100 - 15199* | *Domain Management HTTP Interface* | C |
| *15200 - 15299* | *Deployment Management* | C |
| *15300 - 15399* | *Network* | C |
| *15400 - 15499* | *Mail* | C |
| *15500 - 15699* | *Web Services* | C |
| *15700 - 15999*, *18700 - 18799* | *Server* | C |
| *1**6000 - 16099* | *Weld* | C |
| *16100 - 16199* | *EE Deployment* | C |
| *16200 - 16299* | *Configadmin* | C |
| *16300 - 16499* | *Jacorb* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| available block(s) |
|
|
| *17000 - 17099* | *POJO* | C |
| *17100 - 17199* | *Remoting* | W |
| *17200 - 17299* | *SAR* | W |
| *18000 - 18399* | *Web* | C |
| *18400 - 18499* | *Xts* | C |
| *10700 - 10799, 18500 - 18699, 18800-18999* | *CMP* | W |
| *15700 - 15999, 18700 - 18799* | *Server* | C |
| *10700 - 10799, 18500 - 18699, 18800-18999* | *CMP* | W |
| *19000-19999* | *JSR-77* | I |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-16810]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 5 months
[jBPM Development] - JBPM 5.3 : Getting org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent Exception
by srikant vege
srikant vege [https://community.jboss.org/people/srikanthvege1] created the discussion
"JBPM 5.3 : Getting org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent Exception"
To view the discussion, visit: https://community.jboss.org/message/736217#736217
--------------------------------------------------------------
Hi,
I have downloaded jbpm 5.3 & drools 5.4 version and deployed in JBOSS AS 7.0.2 server. When I logged into the JBPM console with krisv/krisv, I am getting the below exception while getting the tasks for the user krisv ( http://10.2.76.25:8080/gwt-console-server/rs/tasks/krisv http://10.2.76.25:8080/gwt-console-server/rs/tasks/krisv). Please help me on resolving this issue.
org.hibernate.HibernateException: Errors in named queries: ProcessInstancesWaitingForEvent
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:263)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127)
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131)
org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)
org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51)
org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)
org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)
org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)
org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736217#736217]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months