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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to