Thanks for the reply!
I have discovered that the following closed jira provided an implementation of  
ClasspathURLConverter to solve the problem. 

https://issues.apache.org/jira/browse/TAP5-576

It might be a good idea to mention the above jira on 
http://tapestry.apache.org/tapestry5.1/jboss.html

Otherwise newcomers to Tapestry might be put off when they discover Tapestry 5 
does not work out of the box on JBoss 5. 

Shing 



--- On Sat, 9/5/09, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote:

> From: Thiago H. de Paula Figueiredo <thiag...@gmail.com>
> Subject: Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA
> To: "Tapestry users" <users@tapestry.apache.org>
> Date: Saturday, 9 May, 2009, 5:49 AM
> Em Fri, 08 May 2009 18:33:28 -0300, Shing Hing Man
> <mat...@yahoo.com> escreveu:
> 
> > After some debugging, I am not convinced that
> > ClassNameLocatorImpl.scanURL(String,
> Collection<String>, URL) line: 117
> > 
> > caters for URL like
> > 
> >
> org.jboss.virtual.plugins.vfs.VirtualFileURLConnection:vfszip:/home/matmsh/installed/jbosses/jboss-5.0.1.GA/server/default/deploy/testApp.war/WEB-INF/lib/
> tapestry-core-5.1.0.5.jar/org/apache/tapestry5/corelib/pages
> 
> I guess this is related to another recent discussion in
> this mailing list
> (http://www.nabble.com/-T5.1--How-do-you-advise-ClassNameLocator--to23396992s302.html).
> Short answer: Tapestry does not handle these vfszip URLs.
> You can, however, override the ClasspathURLConverter service
> to map these URLs to normal (not JBOss speficic like file:
> and jar:) ones.
> 
> --Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail:
> users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to