struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Nathaniel" <natjo...@indiana.edu>
Subject Poolman question
Date Wed, 03 Oct 2001 15:14:41 GMT
Sorry to ask this question hear, but I can not find any help about poolman
anywhere...

Anyway, does anyone know how to use the GenericPool in PoolMan to get custom
objects pooling... I can get it working with Strings, but MyObject bombs
out....  here is the log from poolman

October 3, 2001 10:06:11 AM EST: Creating 20 initial objects in pool
UserChannelPool
October 3, 2001 10:06:11 AM EST: GenericPool: Exception while initializing
EXCEPTION: edu.iu.uis.my.web.UserChannel: java.lang.ClassNotFoundException:
edu.iu.uis.my.web.UserChannel
java.lang.ClassNotFoundException: edu.iu.uis.my.web.UserChannel
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at com.codestudio.util.GenericPool.create(GenericPool.java:110)
	at com.codestudio.util.ObjectPool.checkOut(ObjectPool.java:214)
	at com.codestudio.util.ObjectPool.init(ObjectPool.java:94)
	at com.codestudio.util.GenericPool.<init>(GenericPool.java:47)
	at
com.codestudio.util.GenericPoolManager.createPool(GenericPoolManager.java:54
)
	at
com.codestudio.management.LocalPoolDeployer.startGenericPools(LocalPoolDeplo
yer.java:137)
	at
com.codestudio.management.LocalPoolDeployer.deployConfiguration(LocalPoolDep
loyer.java:31)
	at
com.codestudio.management.PoolManBootstrap.<init>(PoolManBootstrap.java:72)
	at
com.codestudio.util.GenericPoolManager.assertLoaded(GenericPoolManager.java:
43)
	at
com.codestudio.util.GenericPoolManager.requestObject(GenericPoolManager.java
:82)
	at
_0002findex_0002ejspindex_jsp_10._jspService(_0002findex_0002ejspindex_jsp_1
0.java:87)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)
October 3, 2001 10:06:11 AM EST: PoolMan Local Pool Deployer: Created Object
Pool Named: UserChannelPool


I know for sure that my UserChannel class in in the class path, because
everything works fine, I am just trying to speed everything up with this
object pool.


Any help or links to poolman tutorials/faqs would be great!
Thanks,
Nate






Mime
View raw message