When I am using the Configuration Tool, and I wish to preview a form, I click on the preview button. When I do this, I get the error message: 'The connection was refused when attempting to contact localhost:8080' when Mozilla is opening. Is there something I need to change to direct the connection to the server? This error message also displays when I try to 'test' the configuration. I need to connect to the server by typing the address in manually before I can log in. My UIConfig.prop file has the last 4 lines as follows:-
HostServerPort=9000
SystemPort=9000
WebServer=localhost
HostServer=r2053ws001548
Connection error with form preview
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Dear Rebecca,
if you are running the Configuration Tool remotely with the Aware IM Server being on a separate machine, then you will need to change the "WebServer" setting in the UIConfig.props file to point to the server machine:
WebServer=r2053ws001548
Please let us know if this doesn't help.
if you are running the Configuration Tool remotely with the Aware IM Server being on a separate machine, then you will need to change the "WebServer" setting in the UIConfig.props file to point to the server machine:
WebServer=r2053ws001548
Please let us know if this doesn't help.
Aware IM Support Team
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
When Aware IM previews a form it connects to a web server using the following parameters defined in the UIConfig.props file:
a) WebServer
b) WebServerPort
If it cannot find the first parameter, it defaults to localhost. If it cannot find the second parameter it defaults to 8080.
If your error message says that it cannot connect to localhost:8080, then both parameters are not defined in the file. Are you sure these settings are defined in your UIConfig.props file? (the file must be in the same directory where you start Aware IM - presumably BIN).
Does the error message change if you change any of these settings in the file?
a) WebServer
b) WebServerPort
If it cannot find the first parameter, it defaults to localhost. If it cannot find the second parameter it defaults to 8080.
If your error message says that it cannot connect to localhost:8080, then both parameters are not defined in the file. Are you sure these settings are defined in your UIConfig.props file? (the file must be in the same directory where you start Aware IM - presumably BIN).
Does the error message change if you change any of these settings in the file?
Aware IM Support Team
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
I tried changing both settings, then changing them back again, and now the preview button works when I click on it. Maybe I did something wrong before. But I have another related problem as well which I thought would be fixed when I fixed the preview problem, but isn't. When I want to test the configuration after having made changes, I select 'test' from the drop-down menu. Then I click on the 'Log in to Operation Mode' icon on the menu bar at the top of the configuration tool, but when it opens Mozilla, it gives me the message 'The connection was refused when attempting to contact localhost:8080'
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Please add the following line to your UIConfig.props file (or change the existing setting if already there):
OperationMode=http://r2053ws001548:8080/AwareIM/logon.jsp
(this includes the name of your web server instead of the default localhost)
OperationMode=http://r2053ws001548:8080/AwareIM/logon.jsp
(this includes the name of your web server instead of the default localhost)
Aware IM Support Team