<!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;">
    Re: Writing ftl files and invoking them in browser
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/mailformrx">Rajesh Kumar Tunuguntla</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/644740#644740">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 Mauricio,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160; As per suggestions from Tihomir and you,I've donwloaded source code from <a class="jive-link-external-small" href="https://github.com/bpmc/bpm-console" style="font-size: 12px; color: #4262a1; text-decoration: underline;" target="_blank">https://github.com/bpmc/bpm-console</a>,and build the war file through maven as per instructions given in that link(Readme.txt).But,When I deploy that war fie in JBOSS 5.1.0GA.I'm unable to open JBPM console,and the exceptio trace in server log is.</p><p>ERROR [org.reflections.Reflections] (HDScanner) could not create Vfs.Dir from url. ignoring the exception and continuing</p><p>org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfszip:/D:/jbpm5.1/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes/,Web.xml could not be found</p><p>&#160;&#160;&#160; at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)</p><p>&#160;&#160;&#160; at org.reflections.vfs.Vfs.fromURL(Vfs.java:89)</p><p>&#160;&#160;&#160; at org.reflections.Reflections.scan(Reflections.java:136)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.&lt;init&gt;(MetaDataScanner.java:83)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.&lt;init&gt;(ErraiServiceConfiguratorImpl.java:58)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(&lt;generated&gt;)</p><p>&#160;&#160;&#160; at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)</p><p>&#160;&#160;&#160; at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)</p><p>&#160;&#160;&#160; at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)</p><p>&#160;&#160;&#160; at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)</p><p>&#160;&#160;&#160; at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)</p><p>&#160;&#160;&#160; at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)</p><p>&#160;&#160;&#160; at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)</p><p>&#160;&#160;&#160; at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)</p><p>&#160;&#160;&#160; at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)</p><p>&#160;&#160;&#160; at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)</p><p>&#160;&#160;&#160; at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)</p><p>&#160;&#160;&#160; at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)</p><p>&#160;&#160;&#160; at com.google.inject.Scopes$1$1.get(Scopes.java:54)</p><p>&#160;&#160;&#160; at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)</p><p>&#160;&#160;&#160; at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)</p><p>&#160;&#160;&#160; at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)</p><p>&#160;&#160;&#160; at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)</p><p>&#160;&#160;&#160; at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)</p><p>&#160;&#160;&#160; at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.buildService(AbstractErraiServlet.java:133)</p><p>&#160;&#160;&#160; at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:104)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)</p><p>&#160;&#160;&#160; at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)</p><p>&#160;&#160;&#160; at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)</p><p>&#160;&#160;&#160; at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)</p><p>&#160;&#160;&#160; at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)</p><p>&#160;&#160;&#160; at org.jboss.web.deployers.WebModule.start(WebModule.java:97)</p><p>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)</p><p>&#160;&#160;&#160; at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)</p><p>&#160;&#160;&#160; at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)</p><p>&#160;&#160;&#160; at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)</p><p>&#160;&#160;&#160; at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)</p><p>&#160;&#160;&#160; at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)</p><p>&#160;&#160;&#160; at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)</p><p>&#160;&#160;&#160; at $Proxy38.start(Unknown Source)</p><p>&#160;&#160;&#160; at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)</p><p>&#160;&#160;&#160; at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)</p><p>&#160;&#160;&#160; at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)</p><p>&#160;&#160;&#160; at org.jboss.system.ServiceController.doChange(ServiceController.java:688)</p><p>&#160;&#160;&#160; at org.jboss.system.ServiceController.start(ServiceController.java:460)</p><p>&#160;&#160;&#160; at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)</p><p>&#160;&#160;&#160; at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)</p><p>&#160;&#160;&#160; at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)</p><p>&#160;&#160;&#160; at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)</p><p>&#160;&#160;&#160; at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)</p><p>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)</p><p>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)</p><p>&#160;&#160;&#160; at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)</p><p>&#160;&#160;&#160; at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)</p><p>&#160;&#160;&#160; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)</p><p>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)</p><p>&#160;&#160;&#160; at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)</p><p>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)</p><p>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)</p><p>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)</p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</p><p>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Please suggest me in solving this exception.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Rajesh</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/644740#644740">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>