[JBoss AS7 Development] - Exception in HtmlAdaptor
by Edward Syrett
Edward Syrett [http://community.jboss.org/people/edward.syrett] created the discussion
"Exception in HtmlAdaptor"
To view the discussion, visit: http://community.jboss.org/message/620798#620798
--------------------------------------------------------------
Hi All,
I am running JBoss 4.2.1.GA and it is sometimes throwing the following exception:
Servlet.service() for servlet HtmlAdaptor threw exception
javax.management.InstanceNotFoundException: jmx.loading:UCL=16b352c is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666)
at org.jboss.jmx.adaptor.control.Server.getMBeanData(Server.java:98)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.inspectMBean(HtmlAdaptorServlet.java:201)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:96)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at com.kn.tls.valves.AuthValve.invoke(AuthValve.java:59)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Has anybody got any information about this exception please? I'd like to know what causes it and how to stop it.
Apologies if this post is in the wrong area or whatever.
Thanks,
Ed.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620798#620798]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM Development] - Unable to start-up human task
by phumla Andrease
phumla Andrease [http://community.jboss.org/people/paa] created the discussion
"Unable to start-up human task"
To view the discussion, visit: http://community.jboss.org/message/617437#617437
--------------------------------------------------------------
Hi All
Please HELP!! new bee :|
I have created my own human task process but i cant get it to start using eclipse when i debug it, what could be the issue?
I have tried everything i could think of , "even compared it with a the evaluation process"
http://community.jboss.org/servlet/JiveServlet/showImage/2-617437-16789/E... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-617437-167...
My Java Class
package com.jbpm.process;
import java.util.HashMap;
import java.util.Map;
import org.drools.KnowledgeBase;
import org.drools.builder.KnowledgeBuilder;
import org.drools.builder.KnowledgeBuilderFactory;
import org.drools.builder.ResourceType;
import org.drools.io.ResourceFactory;
import org.drools.logger.KnowledgeRuntimeLogger;
import org.drools.logger.KnowledgeRuntimeLoggerFactory;
import org.drools.runtime.StatefulKnowledgeSession;
import org.jbpm.process.workitem.wsht.WSHumanTaskHandler;
/**
* This is a sample file to launch a process.
*/
public class ProcessTest {
public static final void main(String[] args) {
try {
// load up the knowledge base
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession, "test", 1000);
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new WSHumanTaskHandler());
// start a new process instance
Map<String, Object> params = new HashMap<String, Object>();
params.put("employee", "Krisv");
params.put("comment", "Load login screen");
ksession.startProcess("com.jbpm.process.captureProcess", params);
logger.close();
} catch (Throwable t)
{
t.printStackTrace();
}
}
private static KnowledgeBase readKnowledgeBase() throws Exception {
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("Capture.bpmn"), ResourceType.BPMN2);
return kbuilder.newKnowledgeBase();
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617437#617437]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[jBPM Development] - Questions concerning BPM console and process persistence
by whabelitz
whabelitz [http://community.jboss.org/people/whabelitz] created the discussion
"Questions concerning BPM console and process persistence"
To view the discussion, visit: http://community.jboss.org/message/620604#620604
--------------------------------------------------------------
Hi
I do some evaluation on the jBPM enviroment 5.1 and have some questions about the behaviour of this environment together with the sample process
First of all I use two h2 database; one for Workflow and one for human task.
I also remove the guvnor and the designer war from the JBoss deploy directory because at the moment I'm only interested in the workflow and task part.
I run the "ant start.demo" once to create the databases.
Afterward I want to reuse existing databases, so I change inside hibernate.cfg.xml <property name="hbm2ddl.auto">update</property> for jbpm-gwt-console-server.war and jbpm-human-task.jar and create a new DemoTaskService.java where I don't add user and groups (because they are already added during the first run).
Now my questions:
1. Why is there at first a timeout in the BPM console when I refresh the process list on tab process overview (there exists only ONE process "Evaluation"!)? I also get a timeout when pressing the "Diagram" button for an existing process instance. This behaviour is independent of my changes described above.
2. I start an instance of the process "Evaluation" inside the BPM console and shutdown the server with "ant stop.demo". After restarting the server the process instance is not visible in the BPM console. I see the personal tasks and I can complete these tasks but I have no access to the process instance and it seams that the process isn't continued. So what is necessary to persist process instances that they can be continued after server restart?
3. How is it possible to handle different versions of one process, so that active process instances use the version they where started with and new instances use the newest version?
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620604#620604]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months