|
|
发表于 2006/8/16 11:45:51
|
显示全部楼层
我也碰到过这个问题,解决方法如下:
____________________________
Applies to:
compiere
Symptoms:
Can't connect to server from other hosts.
[oracle@compiere utils]$ telnet 192.168.1.3 1099
Trying 192.168.1.3...
telnet: connect to address 192.168.1.3: Connection refused
telnet: Unable to connect to remote host: Connection refused
Appserver startup log:
09:00:20,021 INFO [WebService] Using RMI server codebase: http://compiere:183/
09:00:20,227 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=compiere/127.0.0.1, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
09:00:23,735 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-compiere%2F127.0.0.1-188
09:00:24,561 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-compiere%2F127.0.0.1-1443
09:00:52,382 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-compiere%2F127.0.0.1-188
09:00:52,736 INFO [ChannelSocket] JK: ajp13 listening on compiere/127.0.0.1:109
09:00:52,798 INFO [JkMain] Jk running ID=0 time=0/79 config=null
09:00:52,810 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-compiere%2F127.0.0.1-1443
Cause:
Incorrect IP Address specified for host in the /etc/hosts file.
/etc/hosts
# that require network functionality will fail.
127.0.0.1 compiere localhost.localdomain localhost
Actual ip address for host 'compiere' is 192.168.1.3
Solution:
To implement the solution, please execute the following steps:
1. Correct the mapping in the /etc/hosts file adding/correcting the IP address and/or hostname reference for the Unix/Linux Server:
For example:
# Add or edit the /etc/hosts file to include a valid entry for the Server:
127.0.0.1 localhost.localdomain localhost
192.168.1.3 compiere
2. Save the /etc/hosts file.
For client computer sometimes also need this step to recognize hostname of database and/or application server.
______________________ |
|