Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 97599 invoked from network); 14 Mar 2006 07:28:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 07:28:04 -0000 Received: (qmail 64043 invoked by uid 500); 14 Mar 2006 07:28:03 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 63973 invoked by uid 500); 14 Mar 2006 07:28:02 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 63958 invoked by uid 99); 14 Mar 2006 07:28:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 23:28:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 23:28:01 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 262166ACAC for ; Tue, 14 Mar 2006 07:27:40 +0000 (GMT) Message-ID: <55299206.1142321260153.JavaMail.jira@ajax> Date: Tue, 14 Mar 2006 07:27:40 +0000 (GMT) From: "Dennis Byrne (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-1163) JBoss classloading fails if myfaces jars installed in tomcat In-Reply-To: <253901499.1141731638964.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-1163?page=comments#action_12370319 ] Dennis Byrne commented on MYFACES-1163: --------------------------------------- Can either/both of you please give me a detailed set of instructions on how to reproduce this ( w/out facelets )? Please post a stacktrace or something. I believe you guys but I am having a hard time reproducing what may or may not be the problem. Some of the errors I'm getting both w/ and w/out Stan's patch have no explanation. > JBoss classloading fails if myfaces jars installed in tomcat > ------------------------------------------------------------ > > Key: MYFACES-1163 > URL: http://issues.apache.org/jira/browse/MYFACES-1163 > Project: MyFaces Core > Type: Bug > Versions: 1.1.2-SNAPSHOT, 1.1.2, 1.1.3-SNAPSHOT > Environment: JBoss 4.0.4RC1 myfaces-1.1.3-SNAPSHOT > Reporter: Ingo Massen > Assignee: Stan Silvert > > Cannot use Myfaces jars installed in JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs as they do not use the correct WebappClassloader but instead an UCL3 classloader. > This is because myfaces use the following line in StateUtils.getAsObject > ObjectInputStream s = new ObjectInputStream(input); > instead of > import org.apache.myfaces.shared.util.MyFacesObjectInputStream; > ObjectInputStream s = new MyFacesObjectInputStream(input); > The same applies to JspStateManagerImpl.deserializeView(). > ObjectInputStream uses Class.forName instead of Thread.currentThread().getContextClassLoader() as the ClassUtils implementation that MyFacesObjectInputStream uses does. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira