Results 1 to 3 of 3

Thread: Spring + hebernate and weblogic 8.1

  1. #1
    Join Date
    Jun 2005
    Posts
    1

    Default Spring + hebernate and weblogic 8.1

    It is my first time using weblogic for spring. I don't know if I need configure something in weblogic to use spring.

    My app works well in tomcat, but got problem when I tried to deploy war file to weblogic 8.1. This webserver works fine with struts and other apps.

    BTW This is an appfuse application.

    Please help. Thanks a lot!


    Here are errors I got:
    -----------------------

    java.lang.ClassCastException: org.springframework.beans.factory.BeanCreationExce ption
    at gov.chi.oemc.cis.webapp.filter.LoginFilter.doFilte r(Ljavax.servlet.ServletRequest;Ljavax.servlet.Ser vletResponse;Ljavax.servlet.FilterChainV(LoginFilter.java:114)
    at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run()Ljava.lang.Object;(Optim ized Method)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Lweblogic.security.subject.AbstractSubject; Ljava.security.PrivilegedActionLjava.lang.Object;(Optimized Method)
    at weblogic.security.service.SecurityManager.runAs(Lw eblogic.security.acl.internal.AuthenticatedSubject ;Lweblogic.security.acl.internal.AuthenticatedSubj ect;Ljava.security.PrivilegedActionLjava.lang.Object;(Optimized Method)
    at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(Lweblogic.servlet.internal.ServletReque stImpl;Lweblogic.servlet.internal.ServletResponseI mplV(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execu te(Lweblogic.kernel.ExecuteThreadV(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.ke rnel.ExecuteRequestV(Optimized Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread .java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thre adV(Unknown Source)

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Your stacktrace is not relevant enough - see the loginFilter class, line 114 - probably you are doing a cast or smth similar not to an interface but to something specific in Tomcat that has a different implementation on Weblogic.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    May 2005
    Location
    Radebeul, Saxony
    Posts
    29

    Default

    Quote Originally Posted by costin
    Your stacktrace is not relevant enough - see the loginFilter class, line 114 - probably you are doing a cast or smth similar not to an interface but to something specific in Tomcat that has a different implementation on Weblogic.
    ... or Your hava a classloading problem.

    MfG Mirko

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •