[JBoss jBPM] - Re: New jBPM Getting Started Documentation
by simonbaker
anonymous wrote : Please learn how to use an appserver before posting (sorry if I sound grumpy, it has been a busy week)
|
This touches on an important issue - so many deep technologies are involved, unless you know them cold, you're flying blind to a large extent.
Developers who don't know app servers inside out could really use a lot more procedural explanations of how things work to help get oriented. For example: 1) request is posted by browser to Tomcat, 2) tomcat hands off request to servlet, 3) servlet blah blah blah... I know it isn't easy to find an appropriate level of explanation for everyone, but just some kind of explanation of how the thing works as a mechanism would help.
Generally all the documentation describes objects and configuration but not in terms of how it works as a machine - sequences of actions, what happens synchronously, what happens asynchronously, etc.
>From reading the very simple examples, such as the "Hello World", I feel I know enough to perhaps roll my own workflow "controller" (creating, managing, monitoring processes), but I have the feeling that jBPM comes with much more stuff I can leverage. I just can't tell exactly where the boundaries are. For example, should I take the web ap the runs under JBoss, strip out stuff, put in under Tomcat? What do I strip out / replace? In other words, what is the core that the webapp is built on?
It's just hard, short of reverse engineering the code, to understand what is going on. I'll keep digging, but more docs on "how it works" are always appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035169#4035169
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035169
19 years
[JBoss Seam] - s:selectDate under Combo boxes / First day of week
by markfoerstein
Hello,
In Seam 1.1.0GA, I had no problems using s:selectDate, since the javascript code had a workaround preventing the rendered calendar from going under controls from another form fields like "select".
Now, with 1.2.1GA, I'm getting this problem, and couldn't find any topic about that. Is there a way to solve this?
Also, the calendar locale is correct, showing days of the week names in my language. But the first day of the week is wrong, even though I've read somewhere this is get from the locale too... It shows Monday, but the correct day is Sunday.
Thanks for any help...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035161#4035161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035161
19 years
[EJB/JBoss] - UserTransaction status not updated properly under deadlock?
by Mr_Anonymous
I am making use of UserTransactions in some of non EJB classes which call
out to various session beans. Basically, this lets me group all the session
bean calls into one transaction.
What is happening is that one of the calls is throwing an exception which
causes the transaction to rollback. From that point on, the UserTransaction
status is always ROLLEDBACK. That is, if I perform the action again which
ought to start a new transaction, when I get the UserTransaction it has a
status of ROLLEDBACK.
When I do this exact same operation under WebLogic, the status is
NO_TRANSACTION, and so the op proceeds until the exception is hit again.
Under JBoss, the trans.begin() call throws an exception.
This scenario is, I believe, deadlock related; a simple test of throwing a
runtime exception works like it does under WebLogic. Does JBoss do
things differently to the UserTransaction in a deadlock situation?
If it helps, I've included the error and some of the stack below:
2007-04-05 15:15:01-ERROR org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand(104) Error checking if entity exists
org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a03092c:c57:461555da:e1 status: ActionS
tatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0
3092c:c57:461555da:e1 status: ActionStatus.ABORTED >)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand.beforeInsert(JDBCInsertPKCreateCommand.java:84)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:150)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:587)
at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:225)
at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:625)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:43)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:521)
at org.jboss.ejb.Container.invoke(Container.java:974)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
at $Proxy526.create(Unknown Source)
at com.prioritytech.domain.process.beans.AuditServicesBean.createAudit(AuditServicesBean.java:179)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:953)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy1434.createAudit(Unknown Source)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035160#4035160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035160
19 years