JBOSS-eap-5.1 only 
vi $JBOSS_HOME\testsuite\build.xml
change
      <pathelement path="${jboss.dist.client}/javaassist.jar" />
to OGNL supplied javassist jar

Better alternative is to specify a specific version for javaassist jar such as 
here and then scope as system
  <dependency>
      <groupId>jboss</groupId>
      <artifactId>javassist</artifactId>
      <version>2.7.ga</version>
      <scope>system</scope>
      <systemPath>${OGNL_HOME}/target/lib/javassist-2.7.ga.jar</systemPath>
    </dependency>VFS is implemented as VFSDeploymentScanner in deployers.xml 
take a look at
$JBOSS_HOME\server\default\conf\bootstrap\deployers.xml 
you should see something like
   <bean name="VFSDeploymentScanner" 
class="org.jboss.deployers.plugins.scanner.VFSDeploymentScannerImpl">
      <property 
name="URIs">http://localhost:8080/deploy,file:///$JBOSS_HOME/server/all/deploy</property>
      <property name="recursive">true</property>
   </bean>
 
be sure to place all deployable folder locations in URIs
set recursive to true if you want VFSDeploymentScanner to scan all subfolder

Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> From: mcucchi...@apache.org
> Date: Sun, 28 Aug 2011 18:24:29 +0200
> Subject: Re: Struts2 under Jboss-6 ?
> To: dev@struts.apache.org
> 
> What kind of issue you are talking about?
> Is there a conflict with the javassist version shipped with the OGNL library?
> Could you provide some more details?
> 
> Maurizio Cucchiara
> 
> 
> 
> On 28 August 2011 15:19, kozmoz <nabble....@juurlink.org> wrote:
> >
> > Łukasz Lenart wrote:
> >>
> >> But this should be just a warning and your application should work as
> >> expected.
> >> And it's known bug -> https://issues.apache.org/jira/browse/WW-3558
> >>
> >
> > Today I had some issues deploying my Struts 2 application on JBoss 6 and
> > found this message in the mailing list archives.
> >
> > I am using Struts 2.2.1.1 and the convention-plugin. Because of the vfs
> > JBoss error, my action classes cannot be found. "There is no Action mapped
> > for namespace xxx and action xxx.". So it is not in all circumstances a
> > warning only.
> >
> > It is fixed in Struts 2.3 (see Jira link), but that version has other issues
> > with JBoss 6. Something to do with javassist that is now part of ognl. JBoss
> > provides its own version of it that clashes with ognl's version.
> >
> > Rob Juurlink
> >
> >
> >
> > --
> > View this message in context: 
> > http://struts.1045723.n5.nabble.com/Struts2-under-Jboss-6-tp4275132p4743294.html
> > Sent from the Struts - Dev mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> > For additional commands, e-mail: dev-h...@struts.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
> 
                                          

Reply via email to