[jBPM Users] - Re: Problem with the VacationRequest example
by killian
I have found the origin of my problem.
When tomcat is used org.jbpm.integration.spi.mgmt.ServerConfigFactory return an org.jbpm.integration.spi.mgmt.DefaultServerConfig object.
And in org.jbpm.integration.spi.mgmt.DefaultServerConfig the host and the port are hard-coded:
| public class DefaultServerConfig implements ServerConfig {
|
| private static final String DEFAULT_HOST = "localhost";
|
| private static final int DEFAULT_PORT = 8080;
|
| public String getWebServiceHost() {
| return DEFAULT_HOST;
| }
|
| public int getWebServicePort() {
| return DEFAULT_PORT;
| }
| ...
| }
|
In ServerConfigFactory.java there is a fixme comment :
// FIXME: workaround for Tomcat: if no JBoss classes were found, fall back to defaults
|
I would like to know when it will be fixed.
Thanks in advance
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258227#4258227
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258227
15 years, 3 months
[jBPM Users] - Re: jbpm4.1 process project
by sebastian.s
Hi noicangi,
in the section of the user's guide describing the installation of jBPM there is also the step of adding a library entry for the jBPM libraries. I have done this and afterwards I just use "Add user library" in eclipse chosing jBPM libraries or however you called them to add the libraries to the classpath.
Regarding the configuration files:
To start a new project to make unit tests for experimenting I always copy the following files from the example project to my project.
| jbpm.cfg.xml
| jbpm.hibernate.cfg.xml
| jbpm.mail.properties
| jbpm.mail.templates.examples.xml
| logging.properties
|
Not very convient but works for me. I fully agree that there should be a more convient way to quickly define a process and deploy it to jBPM.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258222#4258222
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258222
15 years, 3 months
[JMX] - Exception while Server Shutdown
by njrfrens
As part of slimming the Jboss default server, I have removed couple of things in jboss\server\default directory without complete knowledge.
After doing that, while trying to shutdown the server by calling
shutdown -S, I'm getting the below error
Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
| at sun.rmi.transport.Transport$1.run(Transport.java:153)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
| at java.lang.Thread.run(Thread.java:595)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
|
| at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
| at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.Shutdown.main(Shutdown.java:214)
Can somebody please let me know what I might have deleted by mistake?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258220#4258220
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258220
15 years, 3 months
[EJB 3.0 Users] - Problem consuming EJB3 with remote client between JBoss 5 an
by rodrigorjo
Hello everyone.
I have a problem that I really need to resolve as fast as possible.
I have an EJB3 application deployed on JBoss 5.1.0.GA.
Consuming those EJB3 with remote clients in other applications also deployed in JBoss 5 works fine.
But the problem is that I need to consume one EJB3 in a client that has to be deployed in a JBoss 4.2.3.GA.
I always get ClassCastException, I imagine because of diferent ClassLoaders.
I can't find anywhere what I have to do. I tryed to put several JBoss5 jars in the classpath of the application running in JBoss 4, but still can't manage to make it work.
The articles I found about ClassLoaders are usualy about isolating applications running in the same JBoss, but I want to consume in a remote client in a diferent JBoss.
Please, can somebody tell me or lead me to some article or document to help me?
Thanks,
Rodrigo
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258214#4258214
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258214
15 years, 3 months