Mar 6th, 2009, 01:03 PM
Issues with custom namespaces in Weblogic 10.3
I'm trying to deploy a spring based application (2.0.7) into weblogic 10.3.
I have created a custom namespace, but upon trying to load the handler, I get the following:
06-Mar-2009 13:03:18 WARN [org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver] :: [STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' :: Ignoring namespace handler [com.fiberlink.audit.spring.config.AuditNamespaceHa ndler]: problem with handler class file or dependent class
java.lang.NoClassDefFoundError: com/fiberlink/springutils/AbstractMethodAdviceBeanDefinitionParser : org/springframework/beans/factory/xml/AbstractBeanDefinitionParser
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.def ineClass(GenericClassLoader.java:335)
at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(GenericC
If I switch over to the sun jvm (instead of jrockit), it becomes clearer that the issues is with loading the org/springframework/beans/factory/xml/AbstractBeanDefinitionParser class.
The same exact deployment works on tomcat without any issues.
I'm thinking the issue has something to do with the built-in weblogic classpath, but I can't really figure out what it is about the AbstractBeanDefinition parser that's failing to load.
Has anyone encountered this issue before, and have any ideas on how to solve or go about troubleshooting the issue?
PS: I'm quite positive that spring-core.jar, spring-context, and spring-beans.jar are both in my .war file
Last edited by mattinger; Mar 6th, 2009 at 01:22 PM.