tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre-John Mas <aj...@sympatico.ca>
Subject Re: Database pooling prob
Date Sun, 03 May 2009 14:59:11 GMT
The IP address isn't missing. What you are seeing is an IPv6 address,  
and
more specifically the localhost IP address.

For information see:

http://en.wikipedia.org/wiki/IPv6

You can try doing 'ping6 ::1' and you will get a repsonse.

André-John

On 2-May-2009, at 17:17, S Arvind wrote:

> Why ip is missing???
>
> -Arvind S
> *
>
>
>
>
> "Many of lifes failure are people who did not realize how close they  
> were to
> success when they gave up."
> -Thomas Edison*
>
>
> On Sun, May 3, 2009 at 2:42 AM, Filip Hanik - Dev Lists
> <devlists@hanik.com>wrote:
>
>> if the client and the server are on the same machine, you would get  
>> two
>> lines in the netstat output
>>
>> TCP    [::1]:80               Michael:50522          ESTABLISHED
>> TCP    [::1]:50522            Michael:http           ESTABLISHED
>>
>> one line is for the server connection, and the other one is for the  
>> client
>> connection.
>>
>> Filip
>>
>>
>> S Arvind wrote:
>>
>>> from this stack trace i can find that there is no problem in  
>>> Tomcat or
>>> dbcp.
>>> But when i try my postgre from outside application its working  
>>> fine but
>>> when
>>> i connect from local tomcat application it not working fine. I  
>>> disable the
>>> firewall and all ... but i keep on getting this stack ....
>>>
>>> AbandonedObjectPool is used
>>> (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@d5eb7)
>>>  LogAbandoned: true
>>>  RemoveAbandoned: true
>>>  RemoveAbandonedTimeout: 300
>>> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
>>> PoolableConnectionFactory (Connection refused. Check that the  
>>> hostname and
>>> port are correct and that the postmaster is accepting TCP/IP  
>>> connections.)
>>>       at
>>>
>>> org 
>>> .apache 
>>> .tomcat 
>>> .dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java: 
>>> 1225)
>>>       at
>>>
>>> org 
>>> .apache 
>>> .tomcat 
>>> .dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
>>>
>>>
>>> When i tried the netstat to check my vista ports , at that time i  
>>> found
>>> one
>>> wierd line...
>>>
>>> TCP    [::1]:80               Michael:50522          ESTABLISHED
>>> TCP    [::1]:50522            Michael:http           ESTABLISHED
>>>
>>> As my tomcat is listening to 80, i dont know why i dont  get the ip
>>> address
>>> in the netstat result for port 80 alone..
>>> It is surely my tomcat request since only when i make the request  
>>> its
>>> showing...
>>>
>>> I think the problem in ip only... please any one help.. postgres and
>>> tomcat
>>> in same system and postgres is watchin to port 5432 only.
>>>
>>> Arvind
>>>
>>>
>>> *
>>> "Many of lifes failure are people who did not realize how close  
>>> they were
>>> to
>>> success when they gave up."
>>> -Thomas Edison*
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message