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
<devli...@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.abandonedobjectp...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to