Error while connecting application server from open java client.

linkjaya

New Member
Hello All,

I am trying to connect progress 4gl application server using java open client.
I have created proxy.
but i always get following exception.

com.progress.open4gl.NoSuchAppServiceException: Connect Failure: Application Service testApp Unknown at NameServer at Host localhost Port 5162. (8234)

what should be the configuration made on application server such that i could connect to application server from java program?

Any help will be appreciated.
Regards
Jaya
 

FrancoisL

Member
Is your Application Server on the same machine or on another machine?

Is the name of you Application Server testApp or asbroker1?


The message says that it can't find your App Server so your problem is probably one of the 3 here:

1) Your appserver is on another machine so the address localhost does not work.

2) The name of your appserver is not testApp .

3) The AppServer is not properly started . Look into the broker and server log to see if everything is running smoothly.
 

Elod

New Member
Most probably you missed to link (or misspelled) the web service with the appserver at the proxy generation step.
 

medu

Member
if the appserver name is correct then you didn't set it to register to the name server which in your case looks like the default one NS1 running on port 5162.

you should either change the appsrv config so it register with the nameserver or try the direct connection using AppServerDC://host:appsrv_port
 
Top