<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Hot deployment exception on Jboss As 5.1.0 GA
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/selfcare">Vikas V</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/630216#630216">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Below is the exception that am getting when I do hot deployment.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>java.lang.RuntimeException: Error while adding re-deployments</p><p>        <strong>at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:688)</strong></p><p>        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)</p><p>        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)</p><p>        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)</p><p>        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)</p><p>        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)</p><p>        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)</p><p>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)</p><p>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)</p><p>        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)</p><p>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</p><p>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</p><p>        at java.lang.Thread.run(Thread.java:619)</p><p>Caused by: org.jboss.deployers.spi.DeploymentException: Error populating deployment vfsfile:/D:/devworks/liferay-portal-6.0.6/jboss-5.1.0/server/default/deploy/UserRegistrationLiferay.war</p><p>        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)</p><p>        at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:86)</p><p>        at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89)</p><p>        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)</p><p>        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)</p><p>        at org.jboss.deployers.plugins.main.MainDeployerImpl.processToDeploy(MainDeployerImpl.java:345)</p><p>        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:684)</p><p>        ... 12 more</p><p>Caused by: java.lang.NullPointerException</p><p>        at org.jboss.virtual.VFSUtils.readManifest(VFSUtils.java:283)</p><p>        at org.jboss.virtual.VFSUtils.getManifest(VFSUtils.java:259)</p><p>        at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:185)</p><p>        at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:221)</p><p>        at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82)</p><p>        ... 17 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>How can I overcome this?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Am using Jboss As 5.1.0 GA with Liferay 6.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanks in advance !</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Regards,</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/630216#630216">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>