I tried the tutorial that starts at http://static.springframework.org/sp...ep-Part-1.html
I followed the steps and managed to build, deploy and execute successfully on Apache Tomcat 5.5.
Then I modified the ant scripts to allow me to build and deploy the WAR file to WebLogic 8.1 instead of Tomcat.
The WAR deploys successfully, however when I try to run the application, I receive an error and stack trace (see the end of this post). I took a quick look at line 93 of Spring's HttpServletBean.java source code. Here is an excerpt:
92: public final void init() throws ServletException {
93: if (logger.isInfoEnabled()) {
94: logger.info("Initializing servlet '" + getServletName() + "'");
95: }
So it looks like it is failing on the logger.isInfoEnabled() method. If that is the case, do I have to do anything in addition to configure WebLogic 8.1 for Spring, e.g. the logging configuration?
Any help regarding this error and/or tips on successfully running on or deploying a Spring application to WebLogic 8.1 (not 9.x) would be appreciated.
Thanks,
TR
-----------------------------------------------------------------
The error and stack trace that I received:
Error 500--Internal Server Error
java.lang.IncompatibleClassChangeError
at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:93)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:258)
at weblogic.servlet.internal.ServletStubImpl$ServletI nitAction.run(ServletStubImpl.java:1094)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createSe rvlet(ServletStubImpl.java:970)
at weblogic.servlet.internal.ServletStubImpl.createIn stances(ServletStubImpl.java:949)
at weblogic.servlet.internal.ServletStubImpl.prepareS ervlet(ServletStubImpl.java:888)
at weblogic.servlet.internal.ServletStubImpl.getServl et(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :6981)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:183)


