Help with running Web demos.

34 views
Skip to first unread message

David Miller

unread,
Apr 10, 2015, 3:40:34 PM4/10/15
to open...@googlegroups.com
I can run the console versions of demos, but can't run the Web demos, e.g., DecisionHelloWSCustomer. I click run.bat, then deploy.bat, then run.html. When the html page presents in Explorer, I click on the hyper link, and get the following:

"
This page can’t be displayed
  • Make sure the web address http://localhost:8080 is correct.
  • Look for the page with your search engine.
  • Refresh the page in a few minutes.
Fix Connection Problems "

00000000000000000000000000000000000000000
My Build Properties file is the following. Note that I installed ant to c:\ant, so I changed the axis.lib parameter. Not sure if this is right.

appserver.home=C:/Tomcat_8
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=tomcat
# axis.lib=C:/axis-1_4/lib
axis.lib=C:/ant/lib
war.name=DecisionHelloWSCustomer

000000000000000000000000000000000000000000

When I double click build.bat, the console displays the following:

Buildfile: C:\openrules.web\DecisionHelloWSCustomer\build.xml
build:
    [javac] C:\openrules.web\DecisionHelloWSCustomer\build.xml:79: warning: 'inc
ludeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
 for repeatable builds
BUILD SUCCESSFUL
Total time: 0 seconds
Press any key to continue . . .

00000000000000000000000000000000

Thanks


OpenRules Support

unread,
Apr 11, 2015, 10:25:58 AM4/11/15
to open...@googlegroups.com
David,

First you have to make sure that your Tomcat is up and running at the localhost 8080. Here is an extract from Tomcat's docs:

================
Troubleshooting
================

There are only really 3 things likely to go wrong during the stand-alone
Tomcat install:

(1) The most common hiccup is when another web server (or any process for that
    matter) has laid claim to port 8080.  This is the default HTTP port that
    Tomcat attempts to bind to at startup.  To change this, open the file:

       $CATALINA_HOME/conf/server.xml

    and search for '8080'.  Change it to a port that isn't in use, and is
    greater than 1024, as ports less than or equal to 1024 require superuser
    access to bind under UNIX.

   Restart Tomcat and you're in business.  Be sure that you replace the "8080"
   in the URL you're using to access Tomcat.  For example, if you change the
   port to 1977, you would request the URL http://localhost:1977/ in your browser.

After, it works and you deployed our sample project such as HelloForms (deploy.bat) to your Tomcat, make sure that you can see the HelloForms folder in the Tomcat's "webapps". Also make sure that you already deployed openrules.forms.lib.

Support
Reply all
Reply to author
Forward
0 new messages