Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by setya, 1 year ago
WEB0314: virtual server server has an invalid docroot /home/setya/Programs/glassfish-3.1-b33/glassfish/nodes/node2/NRSInstance2/docroot
via Oracle Community by lb54, 1 year ago
WEB0314: virtual server server has an invalid docroot C:\glassfish3\glassfishodes\gibson-5\gibson-5-instance/docroot
java.lang.IllegalArgumentException: WEB0314: virtual server server has an invalid docroot /home/setya/Programs/glassfish-3.1-b33/glassfish/nodes/node2/NRSInstance2/docroot	at com.sun.enterprise.web.WebContainer.validateDocroot(WebContainer.java:1218)	at com.sun.enterprise.web.WebContainer.createHost(WebContainer.java:1157)	at com.sun.enterprise.web.WebContainer.createHosts(WebContainer.java:1128)	at com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:558)	at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:128)	at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:88)	at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:79)	at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64)	at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)	at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)	at org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:93)	at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:955)	at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:684)	at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:282)	at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:253)	at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)	at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)	at org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1061)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1260)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1248)	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:453)	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:220)	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:619)