You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by le...@gmail.com on 2014/05/09 16:19:52 UTC
tapestry+jboss live class reloading problem
Hi, all
I am facing the following problem with Tapestry live class reloading and
jboss application server.
Up to last month i was using maven+jetty+tapestry with eclipse IDE to
develop and debug my web applications.
I have two tapestry projects , the first one is the Webapp with custom
styles and some tml files, and have a dependency to the second one that is
a WebLib where i have tapestry components and pages that are reusable and
generic for that webapp and some others.
Live class reloading was working fine in both projects because my maven
jetty plugin configuration did not have to create a jar of the weblib and
uses files in target directory.
This month we have decided to migrate our projects to Wildfly server
(Jboss) because of some transactional web service requirements.
We are using Jboss Tools eclipse plugin to deploy projects to application
server using configuration found in jboss forum:
https://community.jboss.org/en/tools/blog/2011/02/21/getting-started-with-jboss-tools-jboss-maven-integration-and-weld
All is working fine except from weblib project that is now deploying to the
jboss server as a jar file.
I know that live class reloading do not reload tapestry files that are
inside jar files like tapestry documentation says, but perhaps someone have
faced the same problem and can tell me if there is any special
configuration to apply in order to use live class reloading like i was.
Cheers and thanks in advance!
Leandro.
Re: tapestry+jboss live class reloading problem
Posted by le...@gmail.com.
Hi Thiago, Thanks for your answer.
I understand perfectly what you say.
Now i am looking for someone that has the same enviroment as me
(tapestry+maven+jboss+jboss tools) with some tapestry lib included in the
main project in order to know if there is some configuration i am missing.
Is there anyone with that scenario?
Thanks in advance!
2014-05-12 9:45 GMT-03:00 Thiago H de Paula Figueiredo <th...@gmail.com>:
> On Fri, 09 May 2014 11:19:52 -0300, <le...@gmail.com> wrote:
>
> Hi, all
>>
>
> Hi!
>
>
> I know that live class reloading do not reload tapestry files that are
>> inside jar files like tapestry documentation says, but perhaps someone
>> have faced the same problem and can tell me if there is any special
>> configuration to apply in order to use live class reloading like i was.
>>
>
> That's not possible. Tapestry class reloading works by checking individual
> .class files directly on the folder included in the classpath. The JVM
> itself probably doesn't support what you're asking, as it considers JAR
> files as immutable while the JVM is running.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: tapestry+jboss live class reloading problem
Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Fri, 09 May 2014 11:19:52 -0300, <le...@gmail.com> wrote:
> Hi, all
Hi!
> I know that live class reloading do not reload tapestry files that are
> inside jar files like tapestry documentation says, but perhaps someone
> have faced the same problem and can tell me if there is any special
> configuration to apply in order to use live class reloading like i was.
That's not possible. Tapestry class reloading works by checking individual
.class files directly on the folder included in the classpath. The JVM
itself probably doesn't support what you're asking, as it considers JAR
files as immutable while the JVM is running.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org