Announcement Announcement Module
Collapse
No announcement yet.
Spring + hebernate and weblogic 8.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      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

      Comment

      Working...
      X