[JBoss jBPM] - login to jbpm_console failed
by naseem.k
Hi,
I am facing problem at the login page in jbpm-console (jbpm-jpdl-suite-3.2.GA). I changed the database to oracle, executed oracle script file jbpm-jpdl-suite-3.2.GA\jbpm-jpdl-3.2.GA\db\jbpm.jpdl.oracle.sql.
Connection to oracle is fine. SessionFactory is successfully created and server starts without any exception.
Next I inserted few users in the jbpm_id_user table by following query.
insert into JBPM_ID_USER (ID_,CLASS_, NAME_, EMAIL_, PASSWORD_)
values ('2', 'U', 'ernie', 'ernie(a)xyz.com, 'ernie');
Now when I tried to login in jbpm_console application by ernie/ernie, login failed.
Anybody else faced this problem
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046719#4046719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046719
18 years, 11 months
[JBoss jBPM] - Re: Deployment problem
by ollka
Hi,
I have installed the latest version of GPD, but i still have problems.
When i try to deploy, i have
10:39:13,036 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
| 10:39:13,037 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
| 10:39:13,037 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
| 10:39:13,037 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:87)
| 10:39:13,037 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.service(ProcessUploadServlet.java:63)
| 10:39:13,037 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 10:39:13,037 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 10:39:13,037 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 10:39:13,037 ERROR [STDERR] at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| 10:39:13,037 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 10:39:13,038 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 10:39:13,038 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| 10:39:13,038 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 10:39:13,038 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 10:39:13,039 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 10:39:13,039 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 10:39:13,039 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 10:39:13,039 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 10:39:13,039 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
|
I use jbpm-jpdl-suite-3.2.GA
Maybe i can save process archive locally and then deploy it manualy?
but how?
Thanks for replies.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046712#4046712
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046712
18 years, 11 months
[JBoss jBPM] - Re: Contexts of variables in forked processing
by vedavyas
This is what i'm trying:
The process starts by assigning a task to a particular actor(in this case it is ADMIN). Now based on the business logic the ADMIN may require approval from one or more actors(here it is PROJECTLEADS).
So a single task for the ADMIN has to be split into multiple tasks and assigned to LEADS.
My exact problem statement goes like this:
A user can request for one or more projects when he registers. This request is assigned to the ADMIN as a single task. The ADMIN has to assign the task to the LEADS of these projects. There can be multiple LEADS for each project. So Project1 should be assigned to concerned LEADS and Project2 to its concerned LEADS and so on.
This may sound wierd as i'm trying to use the features of jBPM.
How can i model the process-definition?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046711#4046711
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046711
18 years, 11 months
[Beginners Corner] - Problems getting transaction isolation to work as expected?
by kent.narling
I have med a very simple test project with simulated bank accounts and transaction (very similar to the example scenario in the transactions chapter in jboss4guide).
However, I have problems getting the transaction isolation as expected.
Since I can very easily get my client to break both the isolation (dirty read/write) and the consistency (total balance of accounts change)!
Here is the transfer() method in my session bean:
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public Transaction transfer(
String from_account_id,
String to_account_id,
long amount,
String reference,
String comment,
long delay)
{
Account from_account = getAccount(from_account_id);
Account to_account = getAccount(to_account_id);
from_account.setBalance(from_account.getBalance() - amount);
to_account.setBalance(to_account.getBalance() + amount);
Transaction tr = new Transaction(from_account, to_account, amount, reference, comment);
try
{
Thread.currentThread().sleep(delay);
} catch (InterruptedException e)
{
e.printStackTrace();
}
em.persist(tr);
em.persist(from_account);
em.persist(to_account);
return tr;
}
The sleep() I have done just to easily be able to create two overlapping transactions when I test.
I simply open two web windows towards the JSP client and run two overlapping transfers (with eg 10 seconds delay) and both go through with the result that the total balance of the accounts increase!
I must have missed something trivial? can the transaction handling be turned off by default?
I run MySQL 5.0, JBoss AS 4.0.5 GA (with default settings for EJB3) and all the tables are InnoDB tables.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046708#4046708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046708
18 years, 11 months