Distributable with Jetty
woofergo Oct 25, 2002 8:15 PMCan someone explain why the following error are happening?
Tip: It only happens when I set distributable in the web.xml. I'm using jboss303 with jetty.
20:20:29,071 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
ntext=3,context=/motivosligacoesregistrotreinamento
20:20:30,043 INFO [jbossweb] Extract jar:file:/C:/jboss303jetty/server/all/tmp/
deploy/server/all/deploy/motivosligacoesregistrotreinamento.ear/78.motivosligaco
esregistrotreinamento.ear-contents/motivosligacoesregistrotreinamento.war!/ to C
:\DOCUME~1\ANDRE~1.AUG\CONFIG~1\Temp\Jetty_0_0_0_0_8080__motivosligacoesregistro
treinamento\webapp
20:20:31,305 INFO [JBossWebApplicationContext#/motivosligacoesregistrotreinamen
to] using Distributable HttpSession Manager: org.mortbay.j2ee.session.Manager@19
ee8a
20:20:31,505 INFO [jbossweb] Stopped WebApplicationContext[/motivosligacoesregi
strotreinamento,Motivos de Ligacoes - Registro (Versao para Treinamento)]
20:20:31,505 INFO [jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationCo
ntext=3,context=/motivosligacoesregistrotreinamento
20:20:31,505 INFO [jbossweb] Successfully undeployed file:/C:/jboss303jetty/ser
ver/all/tmp/deploy/server/all/deploy/motivosligacoesregistrotreinamento.ear/78.m
otivosligacoesregistrotreinamento.ear-contents/motivosligacoesregistrotreinament
o.war
20:20:31,535 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
.scanner.URLDeploymentScanner$DeployedURL@a5a6183f{ url=file:/C:/jboss303jetty/s
erver/all/deploy/motivosligacoesregistrotreinamento.ear, deployedLastModified=0
}
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPoi
nterException)
at org.jboss.jetty.Jetty.deploy(Jetty.java:434)
at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:30
0)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:794)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:427)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
ploymentScanner.java:648)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:499)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:261)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
64)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:397)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
at org.mortbay.j2ee.session.Manager.start(Manager.java:159)
at org.mortbay.jetty.servlet.ServletHandler.start(ServletHandler.java:40
9)
at org.mortbay.jetty.servlet.WebApplicationHandler.start(WebApplicationH
andler.java:142)
at org.mortbay.http.HttpContext.startHandlers(HttpContext.java:1780)
at org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebAppl
icationContext.java:280)
at org.mortbay.http.HttpContext.start(HttpContext.java:1750)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:471)
at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationCo
ntext.java:85)
at org.jboss.jetty.Jetty.deploy(Jetty.java:412)
... 49 more
20:20:33,067 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@a5a6183f { url=file:/C:/jboss303jetty/serve
r/all/deploy/motivosligacoesregistrotreinamento.ear }
deployer: org.jboss.deployment.EARDeployer@d6a56e
status: Deployment FAILED reason: - nested throwable: (java.lang.NullPointerEx
ception)
state: FAILED
watch: file:/C:/jboss303jetty/server/all/deploy/motivosligacoesregistrotreinam
ento.ear
lastDeployed: 1035588028701
lastModified: 1035588025927
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans: