[JBoss Seam] - Re: Debug.seam page, the Business process context and data b
by harpritt
Update: My first query about the empty business process context within the debug page has been poo poo'd, i had to click into the conversation id to see the business process context components.... so thats all cool.
.... .my only thing now is that the string stored in the Business Process Context does not seem to get injected before the @Create annotated method is called.... even though in the JBoss Seam book Simplicity and Power beyond Java EE its states P93
"The class constructor is called before the component is object is created while the @Create is called after class creation. The contructor would not have access to Seam injected objects such as the EntityManager"
|
| @In(required = false)
| @Out(scope = BUSINESS_PROCESS, required = false)
| String crId
|
| ....
|
| .....
|
|
|
|
| @Create
| public void find(){
| System.out.println(crId + " the create works");
| }
|
Cheers for any pointers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064890#4064890
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064890
18Â years, 11Â months
[JBoss jBPM] - error Resource: org/jbpm/msg/Message.hbm.xml not found
by galvino
Hello everybody.
i have a strange problem.
i can't use graphsession with my application and i have this error :
anonymous wrote :
| javax.servlet.ServletException: Resource: org/jbpm/msg/Message.hbm.xml not found
| org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
| org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
| org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
| org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
| org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
| org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
| org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
| org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
| org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| root cause
|
| org.hibernate.MappingException: Resource: org/jbpm/msg/Message.hbm.xml not found
| org.hibernate.cfg.Configuration.addResource(Configuration.java:512)
| org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1506)
| org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1474)
| org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1453)
| org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1427)
| org.hibernate.cfg.Configuration.configure(Configuration.java:1347)
| org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
| org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
| org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
| org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
| org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
| org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:336)
| org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
| com.TestApplicationServer.actions.FirstTask.performAction(FirstTask.java:32)
| com.TestApplicationServer.actions.BaseAction.execute(BaseAction.java:17)
| org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
| org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
| org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
| org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
| org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
| org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
| org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
| org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
what that means please ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064889#4064889
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064889
18Â years, 11Â months
[JBoss Seam] - SEAM and XA datasources
by baz
Hello,
Can seam manage XA Datasources?
I have configured one datasource for oracle and every time it is accessed i get
08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed for org.jboss.resource.adap
| ter.jdbc.xa.XAManagedConnection@14c9bfb
| 08:59:38,680 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmana
| ger.TxConnectionManager$TxConnectionEventListener@13a7cd4[state=NORMAL mc=org.jboss.resource.adapter
| .jdbc.xa.XAManagedConnection@14c9bfb handles=0 lastUse=1184655578649 permit=true trackByTx=true mcp=
| org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@94a25c context=org.jboss.res
| ource.connectionmanager.InternalManagedConnectionPool@2f4f8b xaResource=org.jboss.resource.connectio
| nmanager.xa.JcaXAResourceWrapper@d9794b txSync=null]
| oracle.jdbc.xa.OracleXAException
| at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
| at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
| at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
| at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113
| )
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm
| ple.java:701)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm
| ple.java:446)
| at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSy
| nchronization.enlist(TxConnectionManager.java:773)
| at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConn
| ectionManager.java:564)
| at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnecti
| onManager.java:337)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConne
| ctionManager2.java:518)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionMan
| ager2.java:399)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConne
| ction(BaseConnectionManager2.java:842)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
| at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSour
| ceConnectionProvider.java:47)
| at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
| at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
| at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
|
but the schema vaildation succeds. So Jboss must be able to access the db. But everytime a transaction comes in play the above error occurs.
I do need the XA datasource for oracle in order to use LRCO.
my original problem is posted here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064876
Ciao,
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064883#4064883
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064883
18Â years, 11Â months
[Installation, Configuration & DEPLOYMENT] - HSQLDB troubles with JBoss 4 in Unix System Services on zOS
by alois28
Hi JBoss-Gurus
I tried to install a JBoss 4.0.4, 4.0.5 and 4.2 on a UNIX System Service on zOS.
The installation itself is successfull. after some troubles with EBCDIC/ASCII JBoss seems to start - until HSQLDB...
...
09:10:46,579 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI '
09:10:57,165 WARN [ServiceController] Problem starting service jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable:)
...
Caused by:
java.sql.SQLException: Column not found: TXID in statement [SELECT MAX(TXID) FROM (SELECT MAX(TXID) FROM JMS_TRANSACTIONS UNION SEL]
...
Installation methods:
I installed JBoss with the installer, tried the zip-file from the download-page, and even a copy of a running Linux-installation has the same HSQLDB-error while starting!
Is there anyone who has solved this issue or knows a solution?
Thanks, Bruno
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064882#4064882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064882
18Â years, 11Â months