I have a small wicket example application with data stored in a List and it runs in Geronimo ok. Now I have added the data to derby and want to use openjpa for data access and manipulation. With the following Geronimo-web.xml and web.xml I have installed the application. But it refuses to start. Please help.
WEB.XML <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <context-param> <param-name>configuration</param-name> <param-value>development</param-value> </context-param> <filter> <filter-name>WicketApplication</filter-name> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>cheeseUI.CheesrApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>WicketApplication</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <session-config> <session-timeout>300</session-timeout> </session-config> <welcome-file-list> <welcome-file>Index.html</welcome-file> </welcome-file-list> </web-app> GERONIMO-WEb.XML <?xml version="1.0" encoding="UTF-8" standalone="no"?> <web:web-app xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0" xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2" xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:pers="http://java.sun.com/xml/ns/persistence" xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1" xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> <dep:environment> <dep:moduleId> <dep:groupId>default</dep:groupId> <dep:artifactId>cheesrApplication</dep:artifactId> <dep:version>1.0</dep:version> <dep:type>car</dep:type> </dep:moduleId> <dep:dependencies> <dep:dependency> <dep:groupId>console.dbpool</dep:groupId> <dep:artifactId>CheesrDBPool</dep:artifactId> </dep:dependency> </dep:dependencies> </dep:environment> <web:context-root>/cheesrApplication</web:context-root> <pers:persistence version="1.0"> <pers:persistence-unit name="cheesrData" transaction-type="JTA"> <pers:description>DB2 Account Management</pers:description> <pers:provider> org.apache.openjpa.persistence.PersistenceProviderImpl </pers:provider> <pers:jta-data-source>CheesrDBPool</pers:jta-data-source> <pers:non-jta-data-source>CheesrDBPool</pers:non-jta-data-source> <pers:class>cheesr.Cheese</pers:class> </pers:persistence-unit> </pers:persistence> </web:web-app> Thanks Garimella Srinivas