Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 24022 invoked from network); 2 Nov 2009 07:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 07:17:09 -0000 Received: (qmail 54610 invoked by uid 500); 2 Nov 2009 07:17:09 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 54578 invoked by uid 500); 2 Nov 2009 07:17:09 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 54570 invoked by uid 99); 2 Nov 2009 07:17:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 07:17:09 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sabob1@gmail.com designates 209.85.216.188 as permitted sender) Received: from [209.85.216.188] (HELO mail-px0-f188.google.com) (209.85.216.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 07:17:06 +0000 Received: by pxi26 with SMTP id 26so3186300pxi.22 for ; Sun, 01 Nov 2009 23:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=85Ecqo9nrj5NmgUo0p0WO5LdgoK2yymubQSLqTu3Cls=; b=jzD2Qnc6tljvdQe3WxW4XQegoxC5W9750/zJDCa6mx22SdwWuZrKj9OvZblux8t0J4 379jvCdiC/Epeo27qPeCGrIaMn351sIsmilRfSkYr5dLIrdlc1a38VBHK1Z2ZU3xNfba zZciSnGvIRdKxuK064M8mWpSRH1JQAgPn4QRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=A/wnj7RZNNGeiMD6ATPV6iy/B/MfWy3EvQ/8EteYAB3ba0VzBt1f/Ry0+xnTuz6O1v CVbh//N5dzPKCegW9OfwJbmaEM/8AY2K6tNrlivAO0VXBR//iW70ZqWhZTxxIoZtITuo 7Z+nuDahRJ1q4MXp4YFOeQBCP3/KCyWXe6sMg= Received: by 10.114.71.20 with SMTP id t20mr7560107waa.205.1257146206427; Sun, 01 Nov 2009 23:16:46 -0800 (PST) Received: from ?10.1.1.2? (124-170-111-96.dyn.iinet.net.au [124.170.111.96]) by mx.google.com with ESMTPS id 20sm1283766pzk.5.2009.11.01.23.16.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Nov 2009 23:16:44 -0800 (PST) Message-ID: <4AEE8758.6070300@gmail.com> Date: Mon, 02 Nov 2009 18:16:40 +1100 From: Bob Schellink User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: click-dev@incubator.apache.org Subject: Re: Resources not deployed on JBoss 5 References: <4AE58328.70409@gmail.com> <4AE7D78D.4020401@gmail.com> <525d8e10911011810g75389917lec12b3472b93761a@mail.gmail.com> In-Reply-To: <525d8e10911011810g75389917lec12b3472b93761a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yeah its a pain. I'm currently testing a solution developed by the Stripes folks and that seems to work on JBoss 5. Their solution didn't work on WebLogic though so I'm working on fixing that and will do a checkin later this week. regards bob Malcolm Edgar wrote: > I cant believe they did this. > > regards Malcolm Edgar > > On Wed, Oct 28, 2009 at 4:33 PM, Bob Schellink wrote: >> After some investigation it seems alot of web frameworks are struggling with >> JBoss 5 new Virtual File System: >> >> Spring: http://jira.springframework.org/browse/SPR-5120 >> Struts2: https://issues.apache.org/struts/browse/WW-3181 >> Stripes: http://www.stripesframework.org/jira/browse/STS-655 >> >> The good folks at Stripes seem to have a solution (holding thumbs) which we >> could adapt for deploying resources. >> >> With JBoss 5, Spring component scanning doesn't work in 2.5.6, but 3.0-RC1 >> does. So our examples won't work when deployed to JBoss unless we upgrade >> the example to Spring-3.0-RC1. I've also noticed that Spring 3.0 did away >> with the single jar, so we need to specify the individual jars. >> >> kind regards >> >> bob >> >> Bob Schellink wrote: >>> Hi all, >>> >>> When deploying Click-examples on JBoss 5, no js and css resources are >>> deployed to the /click folder. Debugging into XmlConfigService gives a hint >>> to the problem: >>> >>> >>> Enumeration en = classLoader.getResources("META-INF/resources/"); >>> while (en.hasMoreElements()) { >>> URL url = en.nextElement(); >>> System.out.println(url); >>> } >>> >>> which prints: >>> >>> vfszip:/C:/dev/jboss-5.1.0.GA/server/default/deploy/click-examples.war/WEB-INF/lib/click-core.jar/META-INF/resources/ >>> >>> Notice the strange "vfszip:" prefix. There is also no '!' character to >>> delimit the jar. >>> >>> Will need to change the checks we use to deploy resources. *grumble* >>> >>> bob >>> >> >