[jBPM] - Could not parse knowledge - xxx cannot be resolved to a type
by tlucz
tlucz [https://community.jboss.org/people/tlucz] created the discussion
"Could not parse knowledge - xxx cannot be resolved to a type"
To view the discussion, visit: https://community.jboss.org/message/779315#779315
--------------------------------------------------------------
Hi,
I cannot use process variable at diverge gateway cause I get an error:
Unable to generate action invoker. : org.drools.lang.descr.ProcessDescr@63f671e3
defaultPackage/Process_defaultPackage_Visitor_Process_99786445cadc4ba58023973772d4d3adReturnValueEvaluator3Invoker.java (12:417) : VisitorCompanyTO cannot be resolved to a type
defaultPackage/Process_defaultPackage_Visitor_Process_99786445cadc4ba58023973772d4d3adReturnValueEvaluator3Invoker.java (12:446) : VisitorCompanyTO cannot be resolved to a type
Could not parse knowledge.
Could someone give me an advice what I'm doing wrong at process definition?
Constraint definition looks like below:
<sequenceFlow id="_5-_4" sourceRef="_5" targetRef="_4" name="constraint" tns:priority="1" >
<conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return company==null;</conditionExpression>
</sequenceFlow>
I also tried with casting:
return (com.tl.module_visitor.transferobject.VisitorCompanyTO)company==null;
but still get the same error.
I have import section:
<extensionElements>
<tns:import name="com.tl.module_visitor.transferobject.VisitorCompanyTO" />
</extensionElements>
item definition:
<itemDefinition id="_companyItem" structureRef="VisitorCompanyTO" />
process variable is defined:
<!-- process variables -->
<property id="company" itemSubjectRef="_companyItem"/>
What can be reason for this problem? Thanks in advance, Tadeusz.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779315#779315]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[jBPM] - error when i start http://localhost:8080/jbpm-console
by trang truong
trang truong [https://community.jboss.org/people/lone] created the discussion
"error when i start http://localhost:8080/jbpm-console"
To view the discussion, visit: https://community.jboss.org/message/779021#779021
--------------------------------------------------------------
I follow 10-Minute Tutorial: Using your own database with jBPM. Everything is ok.
and get below error when i start http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console. Can anyone help me solve this problem. Thanks
10:26:29,527 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-4) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_05]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:38) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89) [classes:]
at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_05]
at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_05]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
... 24 more
10:26:56,789 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_05]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72) [classes:]
at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_05]
at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_05]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
... 24 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779021#779021]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[JBoss Messaging] - Need Help : Can TomCat Client send message to destination in JMS of jboss Messaging (jboss 5.0.1)
by Hai Nguyen
Hai Nguyen [https://community.jboss.org/people/micro_] created the discussion
"Need Help : Can TomCat Client send message to destination in JMS of jboss Messaging (jboss 5.0.1)"
To view the discussion, visit: https://community.jboss.org/message/780022#780022
--------------------------------------------------------------
I have Web client run on Tomcat Web server 6 and MDB run at JbossAS 5 , i use Ejb3.0
>From Tomcat client I want to send a message to destination jms.
I get error at line
*factory = ( http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnectionFactory.html QueueConnectionFactory) jndiContext.lookup("dvdshop_jms_conectionfactory");*
Please help me , thank you much.
my full code
package utility;
import eproject.dvdshop.entities.SendMail;
import http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html java.util.Properties;
import http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html java.util.logging.Level;
import http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html java.util.logging.Logger;
import http://docs.oracle.com/javaee/6/api/javax/jms/JMSException.html javax.jms.JMSException;
import http://docs.oracle.com/javaee/6/api/javax/jms/ObjectMessage.html javax.jms.ObjectMessage;
import http://docs.oracle.com/javaee/6/api/javax/jms/Queue.html javax.jms.Queue;
import http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnection.html javax.jms.QueueConnection;
import http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnectionFactory.html javax.jms.QueueConnectionFactory;
import http://docs.oracle.com/javaee/6/api/javax/jms/QueueSender.html javax.jms.QueueSender;
import http://docs.oracle.com/javaee/6/api/javax/jms/QueueSession.html javax.jms.QueueSession;
import http://docs.oracle.com/javase/7/docs/api/javax/naming/Context.html javax.naming.Context;
import http://docs.oracle.com/javase/7/docs/api/javax/naming/InitialContext.html javax.naming.InitialContext;
import http://docs.oracle.com/javase/7/docs/api/javax/naming/NamingException.html javax.naming.NamingException;
/**
*
* @author zangnam
*/
public class SendMailUility {
http://www.coderanch.com/t/410859/java/java/String-StringBuffer-StringBui... String INITIAL_CONTEXT_FACTORY;
String PROVIDER_URL;
String URL_PKG_PREFIXES;
String smtpServer;
String pwd;
String from;
String to;
String subject;
String body;
public SendMailUility(String INITIAL_CONTEXT_FACTORY, String PROVIDER_URL, String URL_PKG_PREFIXES, String smtpServer, String pwd, String from, String to, String subject, String body) {
this.INITIAL_CONTEXT_FACTORY = INITIAL_CONTEXT_FACTORY;
this.PROVIDER_URL = PROVIDER_URL;
this.URL_PKG_PREFIXES = URL_PKG_PREFIXES;
this.smtpServer = smtpServer;
this.pwd = pwd;
this.from = from;
this.to = to;
this.subject = subject;
this.body = body;
}
public boolean SenMail() {
http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnectionFactory.html QueueConnectionFactory factory;
Queue queue;
http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnection.html QueueConnection connection = null;
http://docs.oracle.com/javaee/6/api/javax/jms/QueueSender.html QueueSender sender = null;
http://docs.oracle.com/javaee/6/api/javax/jms/QueueSession.html QueueSession queueSession = null;
try {
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,this.INITIAL_CONTEXT_FACTORY);
props.put(Context.PROVIDER_URL,this.PROVIDER_URL);
props.put(Context.URL_PKG_PREFIXES, this.URL_PKG_PREFIXES);
http://docs.oracle.com/javase/7/docs/api/javax/naming/InitialContext.html InitialContext jndiContext = new http://docs.oracle.com/javase/7/docs/api/javax/naming/InitialContext.html InitialContext(props);
factory = ( http://docs.oracle.com/javaee/6/api/javax/jms/QueueConnectionFactory.html QueueConnectionFactory) jndiContext.lookup("dvdshop_jms_conectionfactory");
queue = (Queue) jndiContext.lookup("jms/dvdshop_sendmail");
connection = factory.createQueueConnection();
queueSession = connection.createQueueSession(false, queueSession.AUTO_ACKNOWLEDGE);
sender = queueSession.createSender(queue);
http://docs.oracle.com/javaee/6/api/javax/jms/ObjectMessage.html ObjectMessage objMessage = queueSession.createObjectMessage();
SendMail mailObject = new SendMail();
mailObject.setFrom(this.from);
mailObject.setTo(this.to);
mailObject.setSubject(this.subject);
mailObject.setSmtpServer(this.smtpServer);
mailObject.setPwd(this.pwd);
mailObject.setBody(this.body);
objMessage.setObject(mailObject);
sender.send(objMessage);
return true;
} catch ( http://docs.oracle.com/javaee/6/api/javax/jms/JMSException.html JMSException ex) {
Logger.getLogger(SendMailUility.class.getName()).log(Level.SEVERE, null, ex);
return false;
} catch ( http://docs.oracle.com/javase/7/docs/api/javax/naming/NamingException.html NamingException ex) {
Logger.getLogger(SendMailUility.class.getName()).log(Level.SEVERE, null, ex);
return false;
}
}
}
Error
java.lang.NoSuchMethodError: javassist.scopedpool.ScopedClassPool.<init>(Ljava/lang/ClassLoader;Ljavassist/ClassPool;Ljavassist/scopedpool/ScopedClassPoolRepository;Z)V
org.jboss.aop.classpool.AOPClassPool.<init>(AOPClassPool.java:68)
org.jboss.aop.classpool.AOPClassPool.<init>(AOPClassPool.java:58)
org.jboss.aop.classpool.AOPClassPoolFactory.create(AOPClassPoolFactory.java:40)
javassist.scopedpool.ScopedClassPoolRepositoryImpl.createScopedClassPool(ScopedClassPoolRepositoryImpl.java:99)
javassist.scopedpool.ScopedClassPoolRepositoryImpl.registerClassLoader(ScopedClassPoolRepositoryImpl.java:125)
org.jboss.aop.classpool.AOPClassPoolRepository.registerClassLoader(AOPClassPoolRepository.java:157)
org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:845)
org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:273)
org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:751)
org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:732)
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
sun.misc.Unsafe.ensureClassInitialized(Native Method)
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
java.lang.reflect.Field.acquireFieldAccessor(Field.java:949)
java.lang.reflect.Field.getFieldAccessor(Field.java:930)
java.lang.reflect.Field.getLong(Field.java:548)
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1643)
java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:69)
java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:467)
java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:455)
java.security.AccessController.doPrivileged(Native Method)
java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:455)
java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:352)
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:589)
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
java.rmi.MarshalledObject.get(MarshalledObject.java:159)
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:765)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
javax.naming.InitialContext.lookup(InitialContext.java:411)
eproject.dvdshop.utils.SendMailUility.SenMail(SendMailUility.java:58)
action.RegisterProccessAction.execute(RegisterProccessAction.java:94)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/780022#780022]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[jBPM] - Need help on installing jBPM5
by iamnew
iamnew [https://community.jboss.org/people/iamnew] created the discussion
"Need help on installing jBPM5"
To view the discussion, visit: https://community.jboss.org/message/779514#779514
--------------------------------------------------------------
Hi, I wanted to test out jBPM5 but I failed to start it up.
All I have done is downloaded jbpm-5.4.0.Final-installer-full.zip
Run ant install.demo
Installation finished
Open http://localhost:8080/ http://localhost:8080/, good, AS7 is running
Open http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console, failed,
h1. HTTP Status 404 - /jbpm-console
Checked .\Demo\jboss-as-7.1.1.Final\standalone\deployments
Found designer.war.failed, drools-guvnor.war.failed, jbpm-form-builder.war.failed, jbpm-gwt-console.war.failed, jbpm-gwt-console-server.war.failed, jbpm-human-task-war.war.failed
It seems all of the war files are not deployed successfully...
Attached is the server log
I mean, itsn't the ant script install.demo fool-proof enough to start up jBPM5 without any more configuration?
If we are supposed to add jar, create dependence, etc. It would be best to document it in the install.html.
Or it is just me?
Appreciate any help
Thank you!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779514#779514]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[jBPM] - jbpm 5.4 and simulation
by amadets
amadets [https://community.jboss.org/people/amadets] created the discussion
"jbpm 5.4 and simulation"
To view the discussion, visit: https://community.jboss.org/message/779324#779324
--------------------------------------------------------------
Hi,
I downloaded the latest version 5.4 officially shared.
I install using the ant install.demo.noeclipse. Everything is ok
next: ant start.demo.noeclipse and the whole starts and Everything is ok
I run google chrome and I type: localhost:8080/drools-guvnor
in default package create new "new BMPN Process".
I put on the process: Start -> Activities (Task) -> end
The properties tab for:
process - simulation -> Base Currency: USD
process - simulation -> Base time unit: minutes
Task -> Type: None
Task -> name: Task1
Task -> simulation -> Cost per time unit: 50
Task -> simulation -> Currency: USD
Task -> simulation -> Distribution Type: random
Task -> simulation -> Processing time (max): 10
Task -> simulation -> Processing time (min): 8
Task -> simulation -> Staff availabity: 2
Task -> simulation -> Time unit: minutes
Task -> simulation -> Working hours: 8
I click the validate process, message: There are not validation error
I click Run simulation:
Number of instance: 2
iterval: 2
Interval Units: minutes
and I click "Run simulation" get the message: Simulation engine did not return results.
I look to the jboss logs:
ERRORS:
Attribute 'type' must appear on element 'bpmn2:relationship'.
Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.
Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
INFO:
Duration for activity 1 is avg: 554232.0; min: 554232.0; max:554232.0 count 1
Duration for end event is avg: 554232.0; min: 554232.0; max:554232.0
Duration for processs is avg: 554232.0; min: 554232.0; max:554232.0 [defaultPackage.Simul1@Simul1@null]
Duration for activity 1 is avg: 546719.5; min: 539207.0; max:554232.0 count 2
Duration for end event is avg: 546719.5; min: 539207.0; max:554232.0
Duration for processs is avg: 546719.5; min: 539207.0; max:554232.0 [defaultPackage.Simul1@Simul1@null]
SUMMARY Duration for end event is avg: 550475.75; min: 539207.0; max:554232.0 count 2.0
SUMMARY Duration for activity 1 is avg: 550475.75; min: 539207.0; max:554232.0 count 2.0
Duration for processs is avg: 550475.75; min: 539207.0; max:554232.0 [defaultPackage.Simul1@Simul1@null]
what's wrong?
ask for any tips.
ts
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/779324#779324]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months