[jboss-dev] VFS3 (in AS trunk) - Non .jar file handling

Ales Justin ales.justin at gmail.com
Fri Dec 10 08:52:27 EST 2010


I'm on it.

Would be already done, if it wasn't for the broken trunk build ...

Running org.jboss.jbossas.embedded.testsuite.ServerIntegrationTest
Tests run: 9, Failures: 0, Errors: 8, Skipped: 1, Time elapsed: 36.157 sec <<< FAILURE!


On Dec 10, 2010, at 11:06 AM, Jaikiran Pai wrote:

> FYI - This behaviour seems to have introduced deployment failures 
> https://issues.jboss.org/browse/JBAS-8725
> 
> -Jaikiran
> 
> On Wednesday 10 March 2010 03:58 PM, Jaikiran Pai wrote:
>> I see a new behaviour with VFS3 in JBoss AS. Earlier in AS-5/6 (with
>> VFS2) and AS-4 (without any VFS), to try out some quick fixes, i used to
>> rename existing jar files to end with .bak name and replace them with
>> the new patched jar file. So for example, if i had a fix in
>> jboss-ejb3-core.jar, i would:
>> 
>> 1) Rename the JBOSS_HOME/common/lib/jboss-ejb3-core.jar to
>> JBOSS_HOME/common/lib/jboss-ejb3-core.jar.orig.bak
>> 2) Place a patched jboss-ejb3-core.jar in JBOSS_HOME/common/lib
>> 3) Restart the server
>> 
>> The server would then pickup the new patched jar file and ignore the
>> .bak file. After testing the fix, i would then revert back to the
>> original jar file by renaming it back to its original name.
>> 
>> However, with the recent upgrade to VFS3 in AS trunk, i notice that even
>> the .bak is used for classloading (following is the output from
>> -verbose:class JVM argument):
>> 
>> [Loaded org.jboss.ejb3.EJBContainer from
>> file:/NotBackedUp/jpai/business/jboss/wc/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/common/lib/jboss-ejb3-core.jar.orig.bak/]
>> 
>> Looks like VFS3 picks up this non .jar suffix file for classloading. Is
>> this expected? Shouldn't it be looking for only .jar files (atleast in
>> this context)?
>> 
>> 
>> 
>> regards,
>> -Jaikiran
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list