From dev-return-6736-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Nov 06 16:55:14 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 11368 invoked from network); 6 Nov 2007 16:55:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 16:55:14 -0000 Received: (qmail 33403 invoked by uid 500); 6 Nov 2007 16:55:01 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 33368 invoked by uid 500); 6 Nov 2007 16:55:01 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 33359 invoked by uid 99); 6 Nov 2007 16:55:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 08:55:01 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 16:55:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D2DB714211 for ; Tue, 6 Nov 2007 08:54:50 -0800 (PST) Message-ID: <4695746.1194368090568.JavaMail.jira@brutus> Date: Tue, 6 Nov 2007 08:54:50 -0800 (PST) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-384) ClassCastException when trying to load OpenJPA 1.0.0 based webapp in WebLogic 10 In-Reply-To: <23400324.1190763830554.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540479 ] Patrick Linskey commented on OPENJPA-384: ----------------------------------------- Yes, this is a known problem with WLS -- there are issues with dropping in a newer version of OpenJPA than the one that WLS ships with. Note that a more-recent OpenJPA drop will be available in WLS 10.0MP1, due out "sometime soon" I believe. You should raise this issue with BEA support; real customer opinions on this will help influence project decisions on issues like this. > ClassCastException when trying to load OpenJPA 1.0.0 based webapp in WebLogic 10 > -------------------------------------------------------------------------------- > > Key: OPENJPA-384 > URL: https://issues.apache.org/jira/browse/OPENJPA-384 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 1.0.0 > Environment: WebLogic 10 > Reporter: Simon Droscher > > I am trying to deploy a web application which uses OpenJPA 1.0.0 into a WebLogic 10 environment. The application deployment (and subsequent startup) fails with the following error: > {code}java.lang.ClassCastException: weblogic.kodo.WebLogicLogFactory > at org.apache.openjpa.lib.conf.ConfigurationImpl.getLogFactory(ConfigurationImpl.java:207) > at org.apache.openjpa.lib.conf.ConfigurationImpl.getLog(ConfigurationImpl.java:225) > at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getConfigurationLog(OpenJPAConfigurationImpl.java:1471) > at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:425) > at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newInstance(JDBCBrokerFactory.java:59) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124) > at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:62) > at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:119) > at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:52) > at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:264) > at weblogic.deployment.PersistenceUnitInfoImpl.(PersistenceUnitInfoImpl.java:110) > {code} > There doesn't seem to be any details or documentation on running apps based on newer versions of OpenJPA under WebLogic 10 (which packages OpenJPA 0.9.7 as part of Kodo). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.