Hi everyone!

I'm trying to deploy my web app driven with Spring. My app spring
context configuration file references configuration placed in other
jars, like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd";>

    <import resource="classpath:/spring/rcr-service-appengine.xml"/>
</beans>

- Where /spring/rcr-service-appengine.xml is a file in the separate
jar that is placed into the resultant war file.

While this war works fine on Jetty and on the local gae installation,
it failed to operate after being deployed on the appengine site.
The app log mentions the following error:


org.springframework.web.context.ContextLoader
initWebApplicationContext: Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from relative
location [service/appengine-service-config.xml]
Offending resource: class path resource [spring/application-
context.xml]; nested exception is
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL
location [classpath:/spring/rcr-service-appengine.xml]
Offending resource: class path resource [spring/service/appengine-
service-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource [spring/rcr-
service-appengine.xml]; nested exception is
java.io.FileNotFoundException: class path resource [spring/rcr-service-
appengine.xml] cannot be opened because it does not exist


I don't know how to debug or workaround this problem, cause it works
on the local appengine installation.
Am I missed something with regarding to security configuration or
whatever that prevents IO subsystem to load file?

My appengine-web.xml looks as follows (nothing extraordinary):


<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0";
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"
                   xsi:schemaLocation="http://appengine.google.com/ns/
1.0 
http://googleappengine.googlecode.com/svn/branches/1.2.1/java/docs/appengine-web.xsd";>
    <application>rrrrrr1234</application>
    <version>test2</version>
    <system-properties>
        <property name="java.util.logging.config.file" value="WEB-INF/
classes/logging.properties"/>
    </system-properties>
    <sessions-enabled>true</sessions-enabled>
</appengine-web-app>

Please, help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to