[jBPM] - can not login console with krisv/krisv
by Kehua Gao
Kehua Gao [https://community.jboss.org/people/kehuagao] created the discussion
"can not login console with krisv/krisv"
To view the discussion, visit: https://community.jboss.org/message/778185#778185
--------------------------------------------------------------
I follow https://community.jboss.org/thread/160572?start=0&tstart=0 https://community.jboss.org/thread/160572?start=0&tstart=0, set up console on tomcat 7 with mysql.
it show "Authentication failed. Please try" when login on http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console.
D:\tomcat-instances\server1\bin>set CATALINA_HOME=D:\apache-tomcat-7.0.32
D:\tomcat-instances\server1\bin>set CATALINA_BASE=D:\tomcat-instances\server1
D:\tomcat-instances\server1\bin>set PATH=F:\oracle\product\10.2.0\db_1\bin;f:\or
acle\product\10.2.0\db_2\bin;f:\oracle\product\10.2.0\db\bin;G:\oracle\product\1
0.2.0\db_1\bin;C:\Program Files\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C
:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program F
iles\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\
100\DTS\Binn\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program F
iles\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;D:\apache-ant-1.7.
1\bin;D:\apache-maven-3.0.4\bin;C:\Program Files\Common Files\Nero\Lib\;D:\tomca
t-instances\server1\lib
D:\tomcat-instances\server1\bin>set CATALINA_OPTS=-Dbtm.root=D:\tomcat-instances
\server1 -Dbitronix.tm.configuration=D:\tomcat-instances\server1\conf\btm-config
.properties -Djbpm.console.directory=D:\jbpm-installer\sample\evaluation\src\ma
in\resources
D:\tomcat-instances\server1\bin>D:\apache-tomcat-7.0.32\bin\catalina.bat run
Using CATALINA_BASE: "D:\tomcat-instances\server1"
Using CATALINA_HOME: "D:\apache-tomcat-7.0.32"
Using CATALINA_TMPDIR: "D:\tomcat-instances\server1\temp"
Using JRE_HOME: "C:\Users\Kevin\AppData\Local\Genuitec\Common\binary\com.
sun.java.jdk.win32.x86_1.6.0.013"
Using CLASSPATH: "D:\apache-tomcat-7.0.32\bin\bootstrap.jar;D:\apache-tomc
at-7.0.32\bin\tomcat-juli.jar"
2012-11-24 23:39:54 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Users\Ke
vin\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bi
n;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\oracle\product\10.
2.0\db_1\bin;f:\oracle\product\10.2.0\db_2\bin;f:\oracle\product\10.2.0\db\bin;G
:\oracle\product\10.2.0\db_1\bin;C:\Program Files\AMD APP\bin\x86;C:\Windows\sys
tem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\
v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Mic
rosoft SQL Server\100\DTS\Binn\;C:\Program Files\ATI Technologies\ATI.ACE\Core-S
tatic;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;
D:\apache-ant-1.7.1\bin;D:\apache-maven-3.0.4\bin;C:\Program Files\Common Files\
Nero\Lib\;D:\tomcat-instances\server1\lib
2012-11-24 23:39:55 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
2012-11-24 23:39:55 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
2012-11-24 23:39:55 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 582 ms
2012-11-24 23:39:55 bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecy
cleEvent
信息: Starting Bitronix Transaction Manager
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/tomcat-instances/server1/lib/slf4j-jdk14-1
.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-jdk14-1.6.4
.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-log4j12-1.6
.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2012-11-24 23:39:55 bitronix.tm.BitronixTransactionManager logVersion
信息: Bitronix Transaction Manager version 2.1.3
2012-11-24 23:39:55 bitronix.tm.Configuration buildServerIdArray
信息: JVM unique ID: <tomcat7-btm-node0 >
2012-11-24 23:39:55 bitronix.tm.journal.DiskJournal open
警告: active log file is unclean, did you call BitronixTransactionManager.shutdo
wn() at the end of the last run?
2012-11-24 23:39:55 bitronix.tm.resource.ResourceLoader init
信息: reading resources configuration from D:\tomcat-instances\server1/conf/btm-
resources.properties
2012-11-24 23:39:55 bitronix.tm.recovery.Recoverer run
信息: recovery committed 0 dangling transaction(s) and rolled back 0 aborted tra
nsaction(s) on 2 resource(s) [jdbc/ds, jdbc/jbpm-ds] (restricted to serverId 'to
mcat7-btm-node0 ')
2012-11-24 23:39:55 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2012-11-24 23:39:55 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.32
2012-11-24 23:39:55 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive D:\tomcat-instances\server1\webapps\gwt-
console-server.war
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/tomcat-instances/server1/lib/slf4j-jdk14-1
.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-jdk14-1.6.4
.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-log4j12-1.6
.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/tomcat-instances/server1/webapps/gwt-conso
le-server/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder
.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
log4j:WARN No appenders could be found for logger (org.jboss.resteasy.spi.Restea
syDeployment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
2012-11-24 23:40:00 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive D:\tomcat-instances\server1\webapps\jbpm
-console.war
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/tomcat-instances/server1/lib/slf4j-jdk14-1
.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-jdk14-1.6.4
.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-tomcat-7.0.32/lib/slf4j-log4j12-1.6
.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/tomcat-instances/server1/webapps/jbpm-cons
ole/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class
]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also ht
tp://www.slf4j.org/codes.html#log4j_version
log4j:WARN No appenders could be found for logger (org.reflections.Reflections).
log4j:WARN Please initialize the log4j system properly.
Failed to create serviceName [bpel/EntityManagerFactory] is not bound in this Co
ntext. Unable to find [bpel].
Failed to create serviceName [bpel/EntityManagerFactory] is not bound in this Co
ntext. Unable to find [bpel].
Failed to create serviceName [bpel/EntityManagerFactory] is not bound in this Co
ntext. Unable to find [bpel].
Failed to create serviceName [bpel/EntityManagerFactory] is not bound in this Co
ntext. Unable to find [bpel].
2012-11-24 23:40:02 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tomcat-instances\server1\webapps\RO
OT
2012-11-24 23:40:04 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
2012-11-24 23:40:04 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2012-11-24 23:40:04 org.apache.catalina.startup.Catalina start
信息: Server startup in 9102 ms
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778185#778185]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[JBoss Messaging] - JBM_MSG column timestamp means ?
by Bond Chan
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion
"JBM_MSG column timestamp means ?"
To view the discussion, visit: https://community.jboss.org/message/759800#759800
--------------------------------------------------------------
Hi ~
1)I encountered a quite strange problem, in the jbm_msg table and jbm_msg_ref table we have about 8k rows and 12k rows respectively at 14 Sept, and the column "timestamp" in table jbm_msg table is range from "10 Sept to 13 Sept", and we have another monitor tools tracing every request generating how many messages and monitor how many messages left, the monitor tool shows no message left at 10 Sept, all consumed, So what's the meaning of column "timestamp" in table jbm_msg? where are these messages come from ?
2)the application is 4 nodes cluster to 1 oracle database, and the application server restart at 13 Sept, I found the queue_channel in jbm_msg(or jbm_postoffice) have been changed after restart, so does it means ? the history message will not consumed after started ?
#Jboss EAP 4.2.3
thanks in advance
Bond
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759800#759800]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[jBPM] - Domain-specific process doesn't start
by Laura delli Paoli
Laura delli Paoli [https://community.jboss.org/people/lauradp] created the discussion
"Domain-specific process doesn't start"
To view the discussion, visit: https://community.jboss.org/message/778071#778071
--------------------------------------------------------------
Hello everybody,
I'm using JBoss AS 7.1.1 and jBPM 5.4.
I was trying to define my custom process "Run Action".
*1)* I created my "MyProcessesDefinition.conf" file:
import org.drools.process.core.datatype.impl.type.ObjectDataType;
import org.drools.process.core.datatype.impl.type.StringDataType;
import org.drools.process.core.datatype.impl.type.IntegerDataType;
[
// my workItem
[
"name" : "RunAction",
"parameters" : [
"Command" : new StringDataType(),
"Parameters" : new ObjectDataType(),
],
"results" : [
"ExitValue" : new IntegerDataType(),
],
"displayName" : "RunAction",
"icon" : "icons/operation.ico"
]
]
*2)* I created my "drools.rulebase.conf"
drools.workDefinitions = MyProcessesDefinition.conf WorkDefinitions.conf
*3)* I created the the RunAction handler
public class RunActionHandler implements WorkItemHandler {
@Override
public void abortWorkItem(WorkItem workItem, WorkItemManager manager) {
// extract parameters
String command = (String) workItem.getParameter("Command");
HashMap parameters = (HashMap) workItem.getParameter("Parameters");
// run command
String command_with_params =command;
Runtime runtime = Runtime.getRuntime();
Process process = null;
System.out.println("okkk");
Map<String, Object> result = new HashMap<String, Object>();
result.put("ExitValue", new Integer (0));
// notify manager that work item has been completed
manager.completeWorkItem(workItem.getId(), result);
}
@Override
public void executeWorkItem(WorkItem arg0, WorkItemManager arg1) {
// Se invio un Ctrl+C interrompo il task????
}
}
*4)*I created the process depicted in the attachement
*5)* I wrote the following main:
public class ProcessMain {
public static final void main(String[] args) throws Exception {
// load up the knowledge base
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
ksession.getWorkItemManager().registerWorkItemHandler("RunAction", new RunActionHandler());
Map<String, Object> params = new HashMap<String, Object>();
Object workflowName= new String ("C:\test.bat"), Properties = new String("");
params.put("Command", workflowName);
params.put("Parameters", Properties);
// start a new process instance
ksession.startProcess("wkfRepository.singleTaskWkf", params);
System.out.println("Process started ...");
}
private static KnowledgeBase readKnowledgeBase() throws Exception {
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("SingleTaskWkf.bpmn"), ResourceType.BPMN2);
return kbuilder.newKnowledgeBase();
}
}
When I start the JBoss server, and run the the java application the process ends, but the custom process does not start (the "okkk" message is NOT printed).
Can anyone help me?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/778071#778071]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years