Operating System - HP-UX
1837386 Members
2894 Online
110116 Solutions
New Discussion

Re: User not able to connect to database

 
vaman
Frequent Advisor

User not able to connect to database

user not able to login to database, on server database logs we r getting following errors
database1/iAS/Apache/Jserv/logs

25/01/2005 14:18:03:891] (ERROR) an error returned handling request via protocol "balance"
[25/01/2005 14:18:17:697] (EMERGENCY) ajp12: can not connect to host 132.226.187.5:16003
[25/01/2005 14:18:17:697] (EMERGENCY) ajp12: connection fail
[25/01/2005 14:18:17:697] (ERROR) an error returned handling request via protocol "ajpv12"
[25/01/2005 14:18:17:698] (ERROR) an error returned handling request via protocol "balance"
[25/01/2005 14:18:48:317] (EMERGENCY) ajp12: can not connect to host 132.226.187.5:16003
[25/01/2005 14:18:48:317] (EMERGENCY) ajp12: connection fail
[25/01/2005 14:18:48:317] (ERROR) an error returned handling request via protocol "ajpv12"
[25/01/2005 14:18:48:317] (ERROR) an error returned handling request via protocol "balance"
[25/01/2005 14:22:14:271] (ERROR) balance: continuing session to

The netstat o/p is
tcp 0 0 132.226.187.5.50590 132.226.187.5.16001 FIN_WAIT_2
tcp 0 0 132.226.187.5.50785 132.226.187.5.16001 FIN_WAIT_2
tcp 0 0 132.226.187.5.16000 132.226.187.5.51218 CLOSE_WAIT
tcp 0 0 132.226.187.5.16001 132.226.187.5.49695 CLOSE_WAIT
tcp 0 0 132.226.187.5.50963 132.226.187.5.16000 FIN_WAIT_2
tcp 0 0 132.226.187.5.49873 132.226.187.5.16003 FIN_WAIT_2
tcp 0 0 132.226.187.5.16000 132.226.187.5.65463 ESTABLISHED
tcp 0 0 132.226.187.5.50521 132.226.187.5.16002 FIN_WAIT_2
tcp 0 0 132.226.187.5.50628 132.226.187.5.16000 FIN_WAIT_2
tcp 0 0 132.226.187.5.16001 132.226.187.5.51012 CLOSE_WAIT
tcp 0 0 132.226.187.5.51262 132.226.187.5.16002 FIN_WAIT_2
tcp 0 0 132.226.187.5.49960 132.226.187.5.16000 FIN_WAIT_2
tcp 0 0 132.226.187.5.50607 132.226.187.5.16003 FIN_WAIT_2
tcp 0 0 132.226.187.5.16003 132.226.187.5.50607 CLOSE_WAIT
tcp 0 0 132.226.187.5.16003 132.226.187.5.51932 CLOSE_WAIT
tcp 0 0 132.226.187.5.16003 132.226.187.5.50877 CLOSE_WAIT
tcp 0 0 132.226.187.5.49695 132.226.187.5.16001 FIN_WAIT_2
tcp 0 0 132.226.187.5.51695 132.226.187.5.16003 FIN_WAIT_2
tcp 0 0 132.226.187.5.16003 132.226.187.5.51185 CLOSE_WAIT
tcp 0 0 132.226.187.5.16003 *.* LISTEN

Our JVM ports are 16000 to 160009
and it seems connection problem is present

what could be the problem?
vaman kulkarni
1 REPLY 1
Peter Godron
Honored Contributor

Re: User not able to connect to database

Can you please check:

In jserv.properties: security.allowedAddresses set to allowed addresses for Apache Jserv.
Normally localhost and whatever is the ServerName in httpd.conf.

Increase debug level
ApJServLogLevel debug in jserv.conf.

Set ServerName in httpd.conf.iEnsure hostname is being translated to ip ok.
Regards