[jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example

killian do-not-reply at jboss.com
Thu Oct 1 12:16:08 EDT 2009


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



More information about the jboss-user mailing list