Posted By:
gaurav_abbi
Posted On:
Monday, July 9, 2007 12:45 AM
hi all, i'm deploying a war file using a jetty server. while starting of the server i get the following error WARN!! No thread for com.sterlingcommerce.woodstock.services.pshttp.jetty.ConduitStreamListener$1@d7a281 this is not a jetty code, but i create a runnable object and calls ThreadPool class of jetty(package org.mortbay.util) there it tries to do the following: try { PoolThread thread=(PoolThread)_pool.get(getMaxIdleTimeMs()); if(thread!=null) thread.run(this,job); else { Code.warning("No thread for "+job); //here the iss
More>>
hi all,
i'm deploying a war file using a jetty server. while starting of the server i get the following error
WARN!! No thread for com.sterlingcommerce.woodstock.services.pshttp.jetty.ConduitStreamListener$1@d7a281
this is not a jetty code, but i create a runnable object and calls
ThreadPool class of jetty(package org.mortbay.util)
there it tries to do the following:
try
{
PoolThread thread=(PoolThread)_pool.get(getMaxIdleTimeMs());
if(thread!=null)
thread.run(this,job);
else
{
Code.warning("No thread for "+job); //here the issue is coming
stopJob(null,job);
}
}
this is coming becuause, PoolThread object is null, i went through the code, there they have their logic of handling the threads, but not able to see where it can go wrong..
any idea or anyone who has faced this issue earlier,
please reply.
<<Less