[Geoserver-devel] Deploy on OC4J

I'm deployng geo 1.5.2. on OC4J 10.1.2

After deploy (war file) when I run geoserver I received the error:

07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi

in the forum
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688

I don't find HOW resolve it

Thanks
Diana

--
View this message in context: http://www.nabble.com/Deploy-on-OC4J-tp14292662p14292662.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Hi Diana,

Deploying on OC4J was fixed as per GeoServer 1.5.4.
I wrote the following page while fixing it, it may be of some help:
<http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Containers+for+J2EE)&gt;

Could you try out a newer version of geoserver and report back any
success/failure?
Here is where to grab it from: <http://docs.codehaus.org/display/GEOS/Stable&gt;

cheers,

Gabriel

On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:

I'm deployng geo 1.5.2. on OC4J 10.1.2

After deploy (war file) when I run geoserver I received the error:

07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi

in the forum
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688

I don't find HOW resolve it

Thanks
Diana

I've done with 1.5.4 but I've the SAME error:

C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
07/12/12 12:47:48 Auto-unpacking
C:\Programmi\OC4J1012\j2ee\home\applications\ge
oserver.war... done.
07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been updated)...
07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
        at java.lang.Thread.run(Thread.java:534)
12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
        at java.lang.Thread.run(Thread.java:534)
12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:192)
        at java.lang.Thread.run(Thread.java:534)

Gabriel Roldán-3 wrote:

Hi Diana,

Deploying on OC4J was fixed as per GeoServer 1.5.4.
I wrote the following page while fixing it, it may be of some help:
<http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Containers+for+J2EE)&gt;

Could you try out a newer version of geoserver and report back any
success/failure?
Here is where to grab it from:
<http://docs.codehaus.org/display/GEOS/Stable&gt;

cheers,

Gabriel

On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:

I'm deployng geo 1.5.2. on OC4J 10.1.2

After deploy (war file) when I run geoserver I received the error:

07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi

in the forum
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688

I don't find HOW resolve it

Thanks
Diana

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://www.nabble.com/Deploy-on-OC4J-tp14292662p14293536.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Hmmm... from the log it appears that spring is having problems loading
all the application contexts from the classpath. For some reason a jndi
resource looking is occurring which is bombing out.

Looking into the spring code, what is happening is that the spring
context loader does a classpath lookup for any resources matching
/applicationContext.xml. And it appears that it is getting back jndi
resource urls from the class loader and then bombing out.

I am not an expert on oracle containers and jndi, anyone have any idea
why this might be happening?

-Justin

diana2 wrote:

I've done with 1.5.4 but I've the SAME error:

C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
07/12/12 12:47:48 Auto-unpacking
C:\Programmi\OC4J1012\j2ee\home\applications\ge
oserver.war... done.
07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been updated)...
07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
        at java.lang.Thread.run(Thread.java:534)
12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
        at java.lang.Thread.run(Thread.java:534)
12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        at java.net.URL.<init>(URL.java:544)
        at java.net.URL.<init>(URL.java:434)
        at java.net.URL.<init>(URL.java:383)
        at
org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242)
        at
org.springframework.core.io.support.PathMatchingResourcePatternResolv
er.getResources(PathMatchingResourcePatternResolver.java:204)
        at
org.springframework.context.support.AbstractApplicationContext.getRes
ources(AbstractApplicationContext.java:679)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:126)
        at
org.springframework.web.context.support.XmlWebApplicationContext.load
BeanDefinitions(XmlWebApplicationContext.java:94)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1009)
        at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
549)
        at
com.evermind.server.Application.getHttpApplication(Application.java:8
90)
        at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:707)
        at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
        at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:455)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:285)
        at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:126)
        at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:192)
        at java.lang.Thread.run(Thread.java:534)

Gabriel Roldán-3 wrote:

Hi Diana,

Deploying on OC4J was fixed as per GeoServer 1.5.4.
I wrote the following page while fixing it, it may be of some help:
<http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Containers+for+J2EE)&gt;

Could you try out a newer version of geoserver and report back any
success/failure?
Here is where to grab it from:
<http://docs.codehaus.org/display/GEOS/Stable&gt;

cheers,

Gabriel

On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:

I'm deployng geo 1.5.2. on OC4J 10.1.2

After deploy (war file) when I run geoserver I received the error:

07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi

in the forum
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688

I don't find HOW resolve it

Thanks
Diana

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

No idea here..
Diana the exception "java.net.MalformedURLException: unknown protocol: jndi"
seems to indicate there are some url of the form "jndi:name/of/resource".
Could you find out where it is (may be in a xml file) and tell us?
I'm wondering if it's a container class loader issue... did you
uncheck "Inherit parent application's shared library imports" on the OC4J
admin console for the geoserver application?
Also, are you running other applications on the same container or have some
container wide shared jars? may be one of them have an applicationContext.xml
on its root folder which's causing trouble?

Gabriel

On Wednesday 12 December 2007 01:30:11 pm Justin Deoliveira wrote:

Hmmm... from the log it appears that spring is having problems loading
all the application contexts from the classpath. For some reason a jndi
resource looking is occurring which is bombing out.

Looking into the spring code, what is happening is that the spring
context loader does a classpath lookup for any resources matching
/applicationContext.xml. And it appears that it is getting back jndi
resource urls from the class loader and then bombing out.

I am not an expert on oracle containers and jndi, anyone have any idea
why this might be happening?

-Justin

diana2 wrote:
> I've done with 1.5.4 but I've the SAME error:
>
> C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
> 07/12/12 12:47:48 Auto-unpacking
> C:\Programmi\OC4J1012\j2ee\home\applications\ge
> oserver.war... done.
> 07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been updated)...
> 07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.2)
> initialized
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could not
> resolv
> e bean definition resource pattern [classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could not
> resolv
> e bean definition resource pattern [classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could not
> resolv
> e bean definition resource pattern [classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:192)
> at java.lang.Thread.run(Thread.java:534)
>
> Gabriel Roldán-3 wrote:
>> Hi Diana,
>>
>> Deploying on OC4J was fixed as per GeoServer 1.5.4.
>> I wrote the following page while fixing it, it may be of some help:
>> <http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Cont
>>ainers+for+J2EE)>
>>
>> Could you try out a newer version of geoserver and report back any
>> success/failure?
>> Here is where to grab it from:
>> <http://docs.codehaus.org/display/GEOS/Stable&gt;
>>
>> cheers,
>>
>> Gabriel
>>
>> On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:
>>> I'm deployng geo 1.5.2. on OC4J 10.1.2
>>>
>>> After deploy (war file) when I run geoserver I received the error:
>>>
>>> 07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
>>> (10.1.2.0.2)
>>> initialized
>>> 12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
>>> failed
>>> org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>> not resolv
>>> e bean definition resource pattern
>>> [classpath*:/applicationContext.xml]; nested
>>> exception is java.net.MalformedURLException: unknown protocol: jndi
>>> java.net.MalformedURLException: unknown protocol: jndi
>>>
>>>
>>>
>>> in the forum
>>> http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688
>>>
>>> I don't find HOW resolve it
>>>
>>> Thanks
>>> Diana
>>
>> ------------------------------------------------------------------------
>>- SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

You can see that there is a problem on OC4J!!!
http://forum.springframework.org/archive/index.php/t-27179.html

classpath* while powerful is restricted by the classloader.getResource()
implementation. Some application servers behave correctly, others don't. To
maximize the reuse across various platform, as Injecteer suggested, try to
use a pattern as exact as possible without wildcard matching.
If you still depend on the classpath* for your environment then try using it
with the WARs unpacked.

--------------------------------------------------------------------------------

volenin
07-23-2006, 01:56 PM
For the record:

- the problem seems to be in a _webapplication_ class loader itself, ie,
Tomcat loads resource from lib/jar files no problem, while OC4J - does not
- Java 1.4.2 system class loader has no problem loading resource by the path
specified from the jar files
- the problem for JVM system classloader present only paths which _root
starts_ with 'asteriks', ie: "classpath*:**/myres.xml" - in this case the
classloader behaves as described in the docs
- a simple way to test whether your classloader hierarhy will support loaded
resources from WEB-INF/lib JAR files or not is to check if you'll get an
empty enumeration for the call: yourClassLoader.getResources("mypackage"),
providing the jar file contains 'mypackage/**' directory hierarhy
- some debugging shows that the problem with OC4J seems to be that webapp
classloader doesn't pass the request to the system classloader on one hand,
and doesn't do proper traversing of JAR file on another hand

So, I believe normally there shouldn't be a problem loading resources from
WEB-INF/lib jar files, but smth in OC4J prevents it.

That's why I actually wonder if it's worthwhile for Spring to have its own
'failover' ClassLoader to load resources, which would be a bit more 'cross
platform' and doesn't rely that heavily on the underlying ClassLoader
hierarhies...

Thanks for your advices - the exact path does work, though, again, from what
I saw during debugging, the 'patterned' path should have worked as well...

diana2 wrote:

I'm deployng geo 1.5.2. on OC4J 10.1.2

After deploy (war file) when I run geoserver I received the error:

07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)
initialized
12 dic 11:24:34 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Could not
resolv
e bean definition resource pattern [classpath*:/applicationContext.xml];
nested
exception is java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi

in the forum
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688

I don't find HOW resolve it

Thanks
Diana

--
View this message in context: http://www.nabble.com/Deploy-on-OC4J-tp14292662p14298285.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

I'm working with oc4j standalone container (10.1.2)
and there is not wizard...
but I've uncomment

<web-app-class-loader search-local-classes-first="true"
include-war-manifest-class-path="true" />

in orion-web.xml
(should be the same)

by

Gabriel Roldán-3 wrote:

No idea here..
Diana the exception "java.net.MalformedURLException: unknown protocol:
jndi"
seems to indicate there are some url of the form "jndi:name/of/resource".
Could you find out where it is (may be in a xml file) and tell us?
I'm wondering if it's a container class loader issue... did you
uncheck "Inherit parent application's shared library imports" on the OC4J
admin console for the geoserver application?
Also, are you running other applications on the same container or have
some
container wide shared jars? may be one of them have an
applicationContext.xml
on its root folder which's causing trouble?

Gabriel

On Wednesday 12 December 2007 01:30:11 pm Justin Deoliveira wrote:

Hmmm... from the log it appears that spring is having problems loading
all the application contexts from the classpath. For some reason a jndi
resource looking is occurring which is bombing out.

Looking into the spring code, what is happening is that the spring
context loader does a classpath lookup for any resources matching
/applicationContext.xml. And it appears that it is getting back jndi
resource urls from the class loader and then bombing out.

I am not an expert on oracle containers and jndi, anyone have any idea
why this might be happening?

-Justin

diana2 wrote:
> I've done with 1.5.4 but I've the SAME error:
>
> C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
> 07/12/12 12:47:48 Auto-unpacking
> C:\Programmi\OC4J1012\j2ee\home\applications\ge
> oserver.war... done.
> 07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been
updated)...
> 07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.2)
> initialized
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:192)
> at java.lang.Thread.run(Thread.java:534)
>
> Gabriel Roldán-3 wrote:
>> Hi Diana,
>>
>> Deploying on OC4J was fixed as per GeoServer 1.5.4.
>> I wrote the following page while fixing it, it may be of some help:
>>
<http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Cont
>>ainers+for+J2EE)>
>>
>> Could you try out a newer version of geoserver and report back any
>> success/failure?
>> Here is where to grab it from:
>> <http://docs.codehaus.org/display/GEOS/Stable&gt;
>>
>> cheers,
>>
>> Gabriel
>>
>> On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:
>>> I'm deployng geo 1.5.2. on OC4J 10.1.2
>>>
>>> After deploy (war file) when I run geoserver I received the error:
>>>
>>> 07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
>>> (10.1.2.0.2)
>>> initialized
>>> 12 dic 11:24:34 ERROR [context.ContextLoader] - Context
initialization
>>> failed
>>> org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>> not resolv
>>> e bean definition resource pattern
>>> [classpath*:/applicationContext.xml]; nested
>>> exception is java.net.MalformedURLException: unknown protocol: jndi
>>> java.net.MalformedURLException: unknown protocol: jndi
>>>
>>>
>>>
>>> in the forum
>>>
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688
>>>
>>> I don't find HOW resolve it
>>>
>>> Thanks
>>> Diana
>>
>>
------------------------------------------------------------------------
>>- SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://www.nabble.com/Deploy-on-OC4J-tp14292662p14298712.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Gabriel,
but I've tested geoserver 1.5.4 on OC4j 10.1.2 ???

Gabriel Roldán-3 wrote:

No idea here..
Diana the exception "java.net.MalformedURLException: unknown protocol:
jndi"
seems to indicate there are some url of the form "jndi:name/of/resource".
Could you find out where it is (may be in a xml file) and tell us?
I'm wondering if it's a container class loader issue... did you
uncheck "Inherit parent application's shared library imports" on the OC4J
admin console for the geoserver application?
Also, are you running other applications on the same container or have
some
container wide shared jars? may be one of them have an
applicationContext.xml
on its root folder which's causing trouble?

Gabriel

On Wednesday 12 December 2007 01:30:11 pm Justin Deoliveira wrote:

Hmmm... from the log it appears that spring is having problems loading
all the application contexts from the classpath. For some reason a jndi
resource looking is occurring which is bombing out.

Looking into the spring code, what is happening is that the spring
context loader does a classpath lookup for any resources matching
/applicationContext.xml. And it appears that it is getting back jndi
resource urls from the class loader and then bombing out.

I am not an expert on oracle containers and jndi, anyone have any idea
why this might be happening?

-Justin

diana2 wrote:
> I've done with 1.5.4 but I've the SAME error:
>
> C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
> 07/12/12 12:47:48 Auto-unpacking
> C:\Programmi\OC4J1012\j2ee\home\applications\ge
> oserver.war... done.
> 07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been
updated)...
> 07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
> (10.1.2.0.2)
> initialized
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:186)
> at java.lang.Thread.run(Thread.java:534)
> 12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Could
not
> resolv
> e bean definition resource pattern
[classpath*:/applicationContext.xml];
> nested
> exception is java.net.MalformedURLException: unknown protocol: jndi
> java.net.MalformedURLException: unknown protocol: jndi
> at java.net.URL.<init>(URL.java:544)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at
> org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
> at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
>
er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:242
>) at
> org.springframework.core.io.support.PathMatchingResourcePatternResolv
> er.getResources(PathMatchingResourcePatternResolver.java:204)
> at
> org.springframework.context.support.AbstractApplicationContext.getRes
> ources(AbstractApplicationContext.java:679)
> at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReade
> r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:126)
> at
> org.springframework.web.context.support.XmlWebApplicationContext.load
> BeanDefinitions(XmlWebApplicationContext.java:94)
> at
> org.springframework.context.support.AbstractRefreshableApplicationCon
> text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
> at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:268)
> at
> org.springframework.web.context.support.AbstractRefreshableWebApplica
> tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> at
> org.springframework.web.context.ContextLoader.createWebApplicationCon
> text(ContextLoader.java:230)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationConte
> xt(ContextLoader.java:156)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitiali
> zed(ContextLoaderListener.java:48)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
> java:1009)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
> 549)
> at
> com.evermind.server.Application.getHttpApplication(Application.java:8
> 90)
> at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
> a:707)
> at
> com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
> tHandler.java:455)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:285)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
> va:126)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
> sableResourcePooledExecutor.java:192)
> at java.lang.Thread.run(Thread.java:534)
>
> Gabriel Roldán-3 wrote:
>> Hi Diana,
>>
>> Deploying on OC4J was fixed as per GeoServer 1.5.4.
>> I wrote the following page while fixing it, it may be of some help:
>>
<http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Cont
>>ainers+for+J2EE)>
>>
>> Could you try out a newer version of geoserver and report back any
>> success/failure?
>> Here is where to grab it from:
>> <http://docs.codehaus.org/display/GEOS/Stable&gt;
>>
>> cheers,
>>
>> Gabriel
>>
>> On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:
>>> I'm deployng geo 1.5.2. on OC4J 10.1.2
>>>
>>> After deploy (war file) when I run geoserver I received the error:
>>>
>>> 07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
>>> (10.1.2.0.2)
>>> initialized
>>> 12 dic 11:24:34 ERROR [context.ContextLoader] - Context
initialization
>>> failed
>>> org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>> not resolv
>>> e bean definition resource pattern
>>> [classpath*:/applicationContext.xml]; nested
>>> exception is java.net.MalformedURLException: unknown protocol: jndi
>>> java.net.MalformedURLException: unknown protocol: jndi
>>>
>>>
>>>
>>> in the forum
>>>
http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688
>>>
>>> I don't find HOW resolve it
>>>
>>> Thanks
>>> Diana
>>
>>
------------------------------------------------------------------------
>>- SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://www.nabble.com/Deploy-on-OC4J-tp14292662p14299308.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Hi Diana,

so may that be the problem? I've tested it on OC4J 10.1.3, not in 10.1.2.
So far I've downloaded 10.1.2 but got quite stuck trying to deploy the
geoserver war. Could you give me a quick tip on how to deploy on 10.1.2?
Also, is it an option for you to use OC4J 10.1.3 instead?

cheers,

Gabriel

On Wednesday 12 December 2007 06:06:48 pm diana2 wrote:

Gabriel,
but I've tested geoserver 1.5.4 on OC4j 10.1.2 ???

Gabriel Roldán-3 wrote:
> No idea here..
> Diana the exception "java.net.MalformedURLException: unknown protocol:
> jndi"
> seems to indicate there are some url of the form "jndi:name/of/resource".
> Could you find out where it is (may be in a xml file) and tell us?
> I'm wondering if it's a container class loader issue... did you
> uncheck "Inherit parent application's shared library imports" on the OC4J
> admin console for the geoserver application?
> Also, are you running other applications on the same container or have
> some
> container wide shared jars? may be one of them have an
> applicationContext.xml
> on its root folder which's causing trouble?
>
> Gabriel
>
> On Wednesday 12 December 2007 01:30:11 pm Justin Deoliveira wrote:
>> Hmmm... from the log it appears that spring is having problems loading
>> all the application contexts from the classpath. For some reason a jndi
>> resource looking is occurring which is bombing out.
>>
>> Looking into the spring code, what is happening is that the spring
>> context loader does a classpath lookup for any resources matching
>> /applicationContext.xml. And it appears that it is getting back jndi
>> resource urls from the class loader and then bombing out.
>>
>> I am not an expert on oracle containers and jndi, anyone have any idea
>> why this might be happening?
>>
>> -Justin
>>
>> diana2 wrote:
>> > I've done with 1.5.4 but I've the SAME error:
>> >
>> > C:\Programmi\OC4J1012\j2ee\home>java -jar oc4j.jar
>> > 07/12/12 12:47:48 Auto-unpacking
>> > C:\Programmi\OC4J1012\j2ee\home\applications\ge
>> > oserver.war... done.
>> > 07/12/12 12:48:02 Auto-deploying GeoServer (Assembly had been
>>
>> updated)...
>>
>> > 07/12/12 12:48:03 Oracle Application Server Containers for J2EE 10g
>> > (10.1.2.0.2)
>> > initialized
>> > 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
>> > failed
>> > org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>
>> not
>>
>> > resolv
>> > e bean definition resource pattern
>>
>> [classpath*:/applicationContext.xml];
>>
>> > nested
>> > exception is java.net.MalformedURLException: unknown protocol: jndi
>> > java.net.MalformedURLException: unknown protocol: jndi
>> > at java.net.URL.<init>(URL.java:544)
>> > at java.net.URL.<init>(URL.java:434)
>> > at java.net.URL.<init>(URL.java:383)
>> > at
>> > org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
>> > at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>>
>> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:24
>>2
>>
>> >) at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>> > er.getResources(PathMatchingResourcePatternResolver.java:204)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.getRes
>> > ources(AbstractApplicationContext.java:679)
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> > r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:126)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:94)
>> > at
>> > org.springframework.context.support.AbstractRefreshableApplicationCon
>> > text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.refres
>> > h(AbstractApplicationContext.java:268)
>> > at
>> > org.springframework.web.context.support.AbstractRefreshableWebApplica
>> > tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
>> > at
>> > org.springframework.web.context.ContextLoader.createWebApplicationCon
>> > text(ContextLoader.java:230)
>> > at
>> > org.springframework.web.context.ContextLoader.initWebApplicationConte
>> > xt(ContextLoader.java:156)
>> > at
>> > org.springframework.web.context.ContextLoaderListener.contextInitiali
>> > zed(ContextLoaderListener.java:48)
>> > at
>> > com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
>> > java:1009)
>> > at
>> > com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
>> > 549)
>> > at
>> > com.evermind.server.Application.getHttpApplication(Application.java:8
>> > 90)
>> > at
>> > com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
>> > a:707)
>> > at
>> > com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
>> > tHandler.java:455)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:285)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:126)
>> > at
>> > com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
>> > sableResourcePooledExecutor.java:186)
>> > at java.lang.Thread.run(Thread.java:534)
>> > 12 dic 12:48:37 ERROR [context.ContextLoader] - Context initialization
>> > failed
>> > org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>
>> not
>>
>> > resolv
>> > e bean definition resource pattern
>>
>> [classpath*:/applicationContext.xml];
>>
>> > nested
>> > exception is java.net.MalformedURLException: unknown protocol: jndi
>> > java.net.MalformedURLException: unknown protocol: jndi
>> > at java.net.URL.<init>(URL.java:544)
>> > at java.net.URL.<init>(URL.java:434)
>> > at java.net.URL.<init>(URL.java:383)
>> > at
>> > org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
>> > at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>>
>> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:24
>>2
>>
>> >) at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>> > er.getResources(PathMatchingResourcePatternResolver.java:204)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.getRes
>> > ources(AbstractApplicationContext.java:679)
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> > r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:126)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:94)
>> > at
>> > org.springframework.context.support.AbstractRefreshableApplicationCon
>> > text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.refres
>> > h(AbstractApplicationContext.java:268)
>> > at
>> > org.springframework.web.context.support.AbstractRefreshableWebApplica
>> > tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
>> > at
>> > org.springframework.web.context.ContextLoader.createWebApplicationCon
>> > text(ContextLoader.java:230)
>> > at
>> > org.springframework.web.context.ContextLoader.initWebApplicationConte
>> > xt(ContextLoader.java:156)
>> > at
>> > org.springframework.web.context.ContextLoaderListener.contextInitiali
>> > zed(ContextLoaderListener.java:48)
>> > at
>> > com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
>> > java:1009)
>> > at
>> > com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
>> > 549)
>> > at
>> > com.evermind.server.Application.getHttpApplication(Application.java:8
>> > 90)
>> > at
>> > com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
>> > a:707)
>> > at
>> > com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
>> > tHandler.java:455)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:285)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:126)
>> > at
>> > com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
>> > sableResourcePooledExecutor.java:186)
>> > at java.lang.Thread.run(Thread.java:534)
>> > 12 dic 12:48:38 ERROR [context.ContextLoader] - Context initialization
>> > failed
>> > org.springframework.beans.factory.BeanDefinitionStoreException: Could
>>
>> not
>>
>> > resolv
>> > e bean definition resource pattern
>>
>> [classpath*:/applicationContext.xml];
>>
>> > nested
>> > exception is java.net.MalformedURLException: unknown protocol: jndi
>> > java.net.MalformedURLException: unknown protocol: jndi
>> > at java.net.URL.<init>(URL.java:544)
>> > at java.net.URL.<init>(URL.java:434)
>> > at java.net.URL.<init>(URL.java:383)
>> > at
>> > org.springframework.core.io.UrlResource.<init>(UrlResource.java:57)
>> > at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>>
>> er.findAllClassPathResources(PathMatchingResourcePatternResolver.java:24
>>2
>>
>> >) at
>> > org.springframework.core.io.support.PathMatchingResourcePatternResolv
>> > er.getResources(PathMatchingResourcePatternResolver.java:204)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.getRes
>> > ources(AbstractApplicationContext.java:679)
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionReade
>> > r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:126)
>> > at
>> > org.springframework.web.context.support.XmlWebApplicationContext.load
>> > BeanDefinitions(XmlWebApplicationContext.java:94)
>> > at
>> > org.springframework.context.support.AbstractRefreshableApplicationCon
>> > text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.refres
>> > h(AbstractApplicationContext.java:268)
>> > at
>> > org.springframework.web.context.support.AbstractRefreshableWebApplica
>> > tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
>> > at
>> > org.springframework.web.context.ContextLoader.createWebApplicationCon
>> > text(ContextLoader.java:230)
>> > at
>> > org.springframework.web.context.ContextLoader.initWebApplicationConte
>> > xt(ContextLoader.java:156)
>> > at
>> > org.springframework.web.context.ContextLoaderListener.contextInitiali
>> > zed(ContextLoaderListener.java:48)
>> > at
>> > com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
>> > java:1009)
>> > at
>> > com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
>> > 549)
>> > at
>> > com.evermind.server.Application.getHttpApplication(Application.java:8
>> > 90)
>> > at
>> > com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
>> > a:707)
>> > at
>> > com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
>> > tHandler.java:455)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:285)
>> > at
>> > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
>> > va:126)
>> > at
>> > com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
>> > sableResourcePooledExecutor.java:192)
>> > at java.lang.Thread.run(Thread.java:534)
>> >
>> > Gabriel Roldán-3 wrote:
>> >> Hi Diana,
>> >>
>> >> Deploying on OC4J was fixed as per GeoServer 1.5.4.
>> >> I wrote the following page while fixing it, it may be of some help:
>>
>> <http://docs.codehaus.org/display/GEOSDEV/GeoServer+on+OC4J+(Oracle+Cont
>>
>> >>ainers+for+J2EE)>
>> >>
>> >> Could you try out a newer version of geoserver and report back any
>> >> success/failure?
>> >> Here is where to grab it from:
>> >> <http://docs.codehaus.org/display/GEOS/Stable&gt;
>> >>
>> >> cheers,
>> >>
>> >> Gabriel
>> >>
>> >> On Wednesday 12 December 2007 12:19:01 pm diana2 wrote:
>> >>> I'm deployng geo 1.5.2. on OC4J 10.1.2
>> >>>
>> >>> After deploy (war file) when I run geoserver I received the error:
>> >>>
>> >>> 07/12/12 11:23:53 Oracle Application Server Containers for J2EE 10g
>> >>> (10.1.2.0.2)
>> >>> initialized
>> >>> 12 dic 11:24:34 ERROR [context.ContextLoader] - Context
>>
>> initialization
>>
>> >>> failed
>> >>> org.springframework.beans.factory.BeanDefinitionStoreException:
>> >>> Could not resolv
>> >>> e bean definition resource pattern
>> >>> [classpath*:/applicationContext.xml]; nested
>> >>> exception is java.net.MalformedURLException: unknown protocol: jndi
>> >>> java.net.MalformedURLException: unknown protocol: jndi
>> >>>
>> >>>
>> >>>
>> >>> in the forum
>>
>> http://www.nabble.com/spring-framework-problem-to8277834.html#a8296688
>>
>> >>> I don't find HOW resolve it
>> >>>
>> >>> Thanks
>> >>> Diana
>>
>> ------------------------------------------------------------------------
>>
>> >>- SF.Net email is sponsored by:
>> >> Check out the new SourceForge.net Marketplace.
>> >> It's the best place to buy or sell services for
>> >> just about anything Open Source.
>> >> http://sourceforge.net/services/buy/index.php
>> >> _______________________________________________
>> >> Geoserver-devel mailing list
>> >> Geoserver-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel