The problem has to do with weblogic and cas's persistence jars and some incompatibilities between jpa 1 and 2. I noticed there is a jira issue to upgrade JPA libs in the next version. I don't know if that will be enough to solve this since weblogic seems to have some mixed libraries as well: http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic
I was able to get the app running through a convoluted method but the downside is it disabled support for JPA. If I get the classloader issues straightened out, I'll post the config. ________________________________ From: Scott Battaglia <[email protected]> To: [email protected] Sent: Thu, September 2, 2010 9:56:06 PM Subject: Re: [cas-user] cas-server-webapp + weblogic 10.3.3 not working I'm not familiar with WebLogic, but does it include the JPA1 jars by default? On Thu, Sep 2, 2010 at 7:36 AM, Bob Smith <[email protected]> wrote: Using CAS 3.4.2.1 and deploying the out of the box webapp, you get: > >Caused By: weblogic.deployment.EnvironmentException: Error loading the >persistence descriptor WEB-INF/classes/META-INF/persistence.xml from the >module >cas. See the following stack trace for nested errors: >weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND > /home/weblogic/mh/cas/weblogic.utils.classloaders.genericclassloa...@1499154 >finder: weblogic.utils.classloaders.codegenclassfin...@cdf872 annotation: >_appsdir_cas_dir@/WEB-INF/classes/META-INF/persistence.xml:1:3:1:3: problem: >cvc-attribute.4: The value '2.0' does not equal the fixed value '1.0' of >attribute 'version':<weblogic.utils.classloaders.genericclassloa...@1499154 >finder: weblogic.utils.classloaders.codegenclassfin...@cdf872 annotation: >_appsdir_cas_dir@/WEB-INF/classes/META-INF/persistence.xml:1:3> > >Has anyone successfully deployed this version of CAS on weblogic? > > >-- >You are currently subscribed to [email protected] as: >[email protected] > To unsubscribe, change settings or access archives, see >http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
