Search:

Type: Posts; User: madisonDave; Keyword(s):

Search: Search took 0.02 seconds.

  1. Cglib jar in classpath

    Hi

    Thanks for the response. I do have the cglib jar in the lib directory of the web application so it should be available to Spring.

    David
  2. Problems with proxy and object pooling

    Hi

    I am running Spring 1.2.8. I am starting a Singleton context listener in a web app. The singleton provides access to the Object Pool from Jakarta Commons Pooling. When the web app starts I...
  3. Interesting

    Bill

    Thank you for your comments. It seems there might be times that a single thread might want to have multiple instances of a bean to work with. It doesn't seem particularly intuitive or clear...
  4. CommonsPoolTargetSource property setting

    Hi

    There are a variety of properties for the CommonsPoolTargetSource. Is there a way to set these in an applicationContext.xml such as

    <property name="minIdle" value="2"/>

    or do I simply...
  5. Not intuitive

    Hi

    This way of working with the Pool does not seem particularly intuitive. It seems that part of the process of abstracting the creation of objects away from explicit calls is somewhat negated by...
  6. That's it

    Hi

    I wasn't aware that I had to explicitly work with the Pool object. That did the trick. I get the pooled object from the application context and it works.

    Thanks for the suggestion.

    David
  7. Object Pooling not creating multiple instances

    Helllo

    I setup object pooling using Jakarta Commons. I developed a test Bean and Client. The test bean has an int instance variable which is initialized to -1. When it is first retrieved from...
  8. Replies
    12
    Views
    1,757

    Everything working

    Thanks to to Injecteer and mdenium for their help. Everything is working.

    Just out of curiosity - once a thread is done is there a way to return the object to the pool? Some explicit call?
    ...
  9. Replies
    12
    Views
    1,757

    Next issue

    First off thank you so much for your help. I have the issues resolved you mentioned including adding the jars. The web app starts ok, but when I call the servlet which should be able to access the...
  10. Replies
    12
    Views
    1,757

    Still having a problem

    Hi

    I have now addressed the comments above and am getting the following errors:

    7/17/06 10:56:26:421 CDT] 00000014 ApplicationMg A WSVR0221I: Application started: SpringWebTestEAR
    [7/17/06...
  11. Replies
    12
    Views
    1,757

    Still problems

    Hi

    I initially didn't have that line in the applicationContext.xml and had problems, so I tried adding that line. I have since removed it and am still having the same problem.

    Thanks.

    David
  12. Replies
    12
    Views
    1,757

    One more thing

    Hi

    In my servlet the code I use to access the bean is:

    ApplicationContext ac = new XmlWebApplicationContext();

    int count = 10;
    Vector holder = new Vector();
    for (int i=0; i <...
  13. Replies
    12
    Views
    1,757

    Object Pooling Problem - minSize?

    Hi

    I am testing Object Pooling using the Commons framework from Apache (Spring 1.2.8)

    The applicationContext.xml looks like this (see bold below):

    <beans>
    <bean id="pooledBean"...
  14. Replies
    2
    Views
    1,004

    Additional Info

    The objects to be managed are not connected to a database. These objects use java wrappers which have JNI calls to external functionality. The instantiation of the external functionality is quite...
  15. Replies
    2
    Views
    1,004

    Object Pooling/Caching for IoC?

    Hi

    One of the objects that will be wired together for our application will be caching some non-volatile database data. Since this rarely changes instead of having Spring create new objects and do...
Results 1 to 15 of 15