Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,440

    For anyone else struggling with this problem,...

    For anyone else struggling with this problem, here is a solution.

    First, this appears to be a bug somewhere inside SpringFramework. After the last object in the slsb pool is closed, you will see...
  2. Replies
    4
    Views
    1,440

    Even more strange, the final error message says,...

    Even more strange, the final error message says, "please call refresh" but ContextSingletonBeanFactoryLocator is already calling it. This is referenced in the stack trace above too.



    protected...
  3. Replies
    4
    Views
    1,440

    ...continued Caused by:...

    ...continued


    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userdetails-ejb' defined in URL...
  4. Replies
    4
    Views
    1,440

    HEre is the stack trace after trying invoke the...

    HEre is the stack trace after trying invoke the EJB:


    Caused by: javax.ejb.CreateException: Could not create stateless EJB
    at...
  5. Replies
    4
    Views
    1,440

    Context closed after awhile

    I Have a spring wired stateless ejb that uses the spring bean wiring interceptor. I'm running JDK1.6, spring 3.0.3, and glassfish 3.0.1. I'm using the beanRefContext.xml pattern described in the...
  6. Anyone? :( I don't want to do security in code...

    Anyone? :( I don't want to do security in code...
  7. Spring Security EL can't be used in Pointcuts?

    The root of my problem is I would like check an ACL before allowing a method to continue.

    SomeService is an external service, therefore I cannot annotate the 'encryptDomainObject' with...
  8. Replies
    2
    Views
    1,147

    In your beanRefContext.xml, does setting does...

    In your beanRefContext.xml, does setting does setting lazy-init=false on the wrapped context do anything? If not, I bet you could extend the interceptor to fix this.
  9. What container?

    What container?
  10. SpringBeanAutowiringInterceptor, ApplicationContext, and JNDI

    The SpringBeanAutowiringInterceptor states it will store the ApplicationContext for the EJB in JNDI, that way a new context isn't created every time the EJB is invoked.

    My question is: what...
  11. No. If you look at the first box, i'm sending an...

    No. If you look at the first box, i'm sending an array of objects... The object in question is called 'TrackedData' which *is*serializable. However, this isn't the problem. The problem is the...
  12. Losing part of a serialized array during transport

    Environment:
    websphere 6.1 fp27
    spring 2.5.6

    This sounds nuts, but it seems to be happening. I have code that takes an object[] and sends a message:

    Connection connection = null;
    Session...
  13. I think it works beacuse you put the complete...

    I think it works beacuse you put the complete lookup string in your spring config. If you put java:comp/env/ejb/TestManager in your web.xml you could probably get rid of the error.

    The problem is...
  14. unfortunately no. It's turns out it's a...

    unfortunately no.

    It's turns out it's a problem with glassfish 2.1 not honoring the sun-web.xml nor the context.xml. I never found a workaround.
  15. Always get a javax.naming.NameNotFoundException why?

    Running Glassfish 2.1, I'm always getting this error:



    here is my spring config xml:


    here is my web.xml:

    and here is my sun-web.xml in my web-inf dir:
Results 1 to 15 of 15