T5.1.0.5 on JBoss 5.1.0 = no standard components

View: New views
5 Messages — Rating Filter:   Alert me  

T5.1.0.5 on JBoss 5.1.0 = no standard components

by Janko Muzykant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi, i'm trying to deploy my application on JBoss and just run into a problem. although deployment went fine, seems that tapestry components have not been registered. i got a message about available pages & components:
01:12:03,575 INFO  [STDOUT] - Available pages:
ApplicationBasePage: org.myapp.web.tapestry.pages.ApplicationBasePage
..
..
01:12:03,575 INFO  [STDOUT] - Available components:
Filter: org.myapp.web.tapestry.components.Filter
..
..

but there is nothing about "internal" Tapestry components (like "if", "loop" or "output" for example). this results of course with exceptions when visiting pages.
I thought it may be problem of duplicated jar files (javassist and simmilar) but now, my war contains actually tapestry and spring jars only and nothing has changed.

any ideas what might be the reason?

thanks,
m.


Re: T5.1.0.5 on JBoss 5.1.0 = no standard components

by Thiago H. de Paula Figueiredo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's just a wild guess, but check if the Tapestry JARs are corrupted. This  
can cause all sorts of strange behaviour.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: T5.1.0.5 on JBoss 5.1.0 = no standard components

by Geoff Callender-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't of any a solution to making T5 work with JBoss 5.1.*, but it's  
fine with 5.0.1 if you follow http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss5 
  .

On 30/10/2009, at 11:42 AM, Thiago H. de Paula Figueiredo wrote:

> It's just a wild guess, but check if the Tapestry JARs are  
> corrupted. This can cause all sorts of strange behaviour.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant,  
> developer, and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da  
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: T5.1.0.5 on JBoss 5.1.0 = no standard components

by Janko Muzykant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks for this hint. i tried to adjust ClassPathURLConverter for JB 5.1 but i'm not really sure what URL should I return to make it all working. this is how sample incoming url looks like:

vfszip:/Users/janko/jboss-5.1.0.GA/server/myapp/deploy/myapp-ear.ear/myapp-webapp-1.0-SNAPSHOT.war/WEB-INF/classes/org/myapp/web/tapestry/pages/

i may extract the "real" path:

/Users/janko/jboss-5.1.0.GA/server/myapp/tmp/a12x-5le7zb-g1f16qd9-1-g1f17m6c-9i/myapp-webapp-1.0-SNAPSHOT.war/WEB-INF/classes/org/myapp/web/tapestry/pages/

and how should I construct target URL now?

cheers,
m.

Geoff Callender-2 wrote:
I don't of any a solution to making T5 work with JBoss 5.1.*, but it's  
fine with 5.0.1 if you follow http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss5 


On 30/10/2009, at 11:42 AM, Thiago H. de Paula Figueiredo wrote:

> It's just a wild guess, but check if the Tapestry JARs are  
> corrupted. This can cause all sorts of strange behaviour.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant,  
> developer, and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da  
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


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

Re: [SOLVED] T5.1.0.5 on JBoss 5.1.0 = no standard components

by Janko Muzykant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, I found solution for JBoss 5.1.0. It's enough to use the same url converter that Geoff pointed out and add "-Djboss.vfs.forceCopy=false" to JBoss JAVA_OPTS. At least, it solved the problem for me :)

enjoy,
m.



thanks for this hint. i tried to adjust ClassPathURLConverter for JB 5.1 but i'm not really sure what URL should I return to make it all working. this is how sample incoming url looks like:

vfszip:/Users/janko/jboss-5.1.0.GA/server/myapp/deploy/myapp-ear.ear/myapp-webapp-1.0-SNAPSHOT.war/WEB-INF/classes/org/myapp/web/tapestry/pages/

i may extract the "real" path:

/Users/janko/jboss-5.1.0.GA/server/myapp/tmp/a12x-5le7zb-g1f16qd9-1-g1f17m6c-9i/myapp-webapp-1.0-SNAPSHOT.war/WEB-INF/classes/org/myapp/web/tapestry/pages/

and how should I construct target URL now?

cheers,
m.

Geoff Callender-2 wrote:
I don't of any a solution to making T5 work with JBoss 5.1.*, but it's  
fine with 5.0.1 if you follow http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss5 


On 30/10/2009, at 11:42 AM, Thiago H. de Paula Figueiredo wrote:

> It's just a wild guess, but check if the Tapestry JARs are  
> corrupted. This can cause all sorts of strange behaviour.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant,  
> developer, and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da  
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


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