Hi,
 
Has anybody managed to get GeoServer 2.4.1 working on Weblogic 10.3?
 
I think there are various classloading conflicts going on, and would appreciate 
some help resolving them.
 
For example, out of the box I get errors similar to the following.
 
Constructor threw exception; nested exception is java.lang.NoSuchMethodError: 
org.apache.commons.io.FileUtils.write(Ljava/io/File;Ljava/lang/CharSequence;)V
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
        at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        Truncated. see log file for complete stacktrace
 
If I configure weblogic to "prefer" web-inf/lib classes (by adding 
<prefer-web-inf-classes>true</prefer-web-inf-classes> into weblogic.xml) I get 
errors simiar to the following.
 
Caused By: java.lang.ClassCastException: 
weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to 
javax.xml.parsers.DocumentBuilderFactory
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
        at 
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89)
        at 
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
        Truncated. see log file for complete stacktrace
 
If I try to only prefer certain packages by doing something like this in 
Weblogic XML
 
   <prefer-application-packages>
        <package-name>org.apache.*</package-name>
        <package-name>org.springframework.*</package-name>
    </prefer-application-packages>
 
Then starting the geoserver application within weblogic takes a long time (10 
minutes?) then eventually runs out of memory.
 
 
weblogic.application.ModuleException: PermGen space
        at 
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1522)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at 
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at 
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        Truncated. see log file for complete stacktrace

The reason I am trying to upgrade GeoServer is because version 2.1.1 security 
doesn't seem to work. I have tried various things, but seem to get a 404 
returned because there is no geoserver/accessDenied.jsp. This seems to happen 
consistently. On each application start, I get one 401 returned, then from then 
on (even if correct credentials are supplied) I get a 404. No more 401's are 
returned on any browser, on my desktop! Just a constant 404 . Any pointers on 
that would be appreciated too.
 
Thanks in advance,
 
Norman
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to