Bugs item #665183, was opened at 2003-01-09 11:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665183&group_id=22866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Cleveland (groovesoftware)
Assigned to: Nobody/Anonymous (nobody)
Summary: 3.2RC1 w/Tomcat 4.1.18 startup error

Initial Comment:
I have a fresh checkout of 3.2 code from CVS built with
integrated Tomcat 4.1.18, running on Solaris with Java
1.3.1.  I get the following error attempting to startup
the default configuration.

2003-01-09 17:43:56,076 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner
] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedUR
L@9a82f7b8{
url=file:/home/mcleveland/work/agent/jboss-install/jboss-3.2.0RC1_to
mcat-4.1.18/server/default/deploy/tomcat41-service.xml,
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: exception in
init of file:/home/mcleve
land/work/agent/jboss-install/jboss-3.2.0RC1_tomcat-4.1.18/server/default/deploy
/tomcat41-service.xml; - nested throwable:
(org.jboss.deployment.DeploymentExcep
tion: - nested throwable: (java.lang.NullPointerException))
        at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:712)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy7.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:404)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:545)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:195)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:268)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
97)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:957)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:388)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy5.start(Unknown Source)
        at
org.jboss.deployment.SARDeployer.start(SARDeployer.java:299)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:584)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
        at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:232)
        at org.jboss.Main.boot(Main.java:155)
        at org.jboss.Main$1.run(Main.java:393)
        at java.lang.Thread.run(Thread.java:479)
 + nested throwable:
org.jboss.deployment.DeploymentException: - nested
throwable: (java.lang.NullPoi
nterException)
        at
org.jboss.deployment.SARDeployer.init(SARDeployer.java:156)
        at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:688)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy7.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:404)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:545)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:195)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:268)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
97)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:957)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:388)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy5.start(Unknown Source)
        at
org.jboss.deployment.SARDeployer.start(SARDeployer.java:299)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:584)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
        at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:232)
        at org.jboss.Main.boot(Main.java:155)
        at org.jboss.Main$1.run(Main.java:393)
        at java.lang.Thread.run(Thread.java:479)
 + nested throwable:
java.lang.NullPointerException
        at
org.jboss.net.protocol.file.FileURLLister.filesToURLs(FileURLLister.j
ava:35)
        at
org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.j
ava:31)
        at
org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:3
1)
        at
org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:3
97)
        at
org.jboss.deployment.SARDeployer.init(SARDeployer.java:131)
        at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:688)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy7.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:404)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:545)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:195)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:268)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
97)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:957)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:388)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy5.start(Unknown Source)
        at
org.jboss.deployment.SARDeployer.start(SARDeployer.java:299)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:584)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
        at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:232)
        at org.jboss.Main.boot(Main.java:155)
        at org.jboss.Main$1.run(Main.java:393)
        at java.lang.Thread.run(Thread.java:479)

Thanks,
Matt Cleveland

----------------------------------------------------------------------

>Comment By: Matt Cleveland (groovesoftware)
Date: 2003-01-10 11:10

Message:
Logged In: YES 
user_id=85088

I'm attempting to test this and one thing I am encountering is 
that the Ajp13 connector is no longer part of the jboss/tomcat 
bundle.  The reason is that the 'bundle' target in 
tomcat41/build.xml specifically excludes it.  Is there any 
reason for this?  I would like to see this continue to be 
included so that we aren't forced to update our connector 
right now.

----------------------------------------------------------------------

Comment By: Jeremy Boynes (jboynes)
Date: 2003-01-09 17:38

Message:
Logged In: YES 
user_id=378919

The file was never being copied from the raw Tomcat
distribution to the bundle image. I changed the build not to
exclude the ${tomcat.server.root}/conf directory, so web.xml
now ends up in ${jboss.dist}/tomcat-4.1.x/conf

The &catalina.home; entity resolves to
${jboss.dist}/tomcat-4.1.x (assuming you start JBoss from
the bin directory) and things seem to work (OK, I can view
the JSPs in jmx-console again)

Is this right, or did you mean a different conf directory?

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2003-01-09 17:18

Message:
Logged In: YES 
user_id=175228

No, it should be picked up from the conf directory. Something 
with the URL changes is breaking this. Make sure the service 
CatalinaHome is still valid:

<attribute 
name="CatalinaHome">&catalina.home;</attribute>

----------------------------------------------------------------------

Comment By: Jeremy Boynes (jboynes)
Date: 2003-01-09 16:49

Message:
Logged In: YES 
user_id=378919

Looking at the .jsp problem, I see a message from Tomcat
"Missing default web.xml, using application web.xml only"

As I understood it, the web.xml file in $catalina.home/conf/
configured default servlets, like the .jsp mapping. This
file is not copied over during the build any more -
shouldn't it be?

----------------------------------------------------------------------

Comment By: Matt Cleveland (groovesoftware)
Date: 2003-01-09 16:22

Message:
Logged In: YES 
user_id=85088

I can test this out tomorrow.

----------------------------------------------------------------------

Comment By: Jeremy Boynes (jboynes)
Date: 2003-01-09 16:20

Message:
Logged In: YES 
user_id=378919

I have checked in a fix for the NPE and updated the URLs in
tomcat41-service.xml to avoid the associated
FileNotFoundException.

Tomcat now starts for me but I have a problem in that .jsp
files give 404 errors (other files e.g. .css are OK). Can
you check to see if this is just my config or a more general
problem?

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2003-01-09 16:14

Message:
Logged In: YES 
user_id=175228

No, I'm telling Jeremy how to build the tomcat bundle. I would 
have marked this fixed otherwise.

----------------------------------------------------------------------

Comment By: Matt Cleveland (groovesoftware)
Date: 2003-01-09 16:09

Message:
Logged In: YES 
user_id=85088

I don't understand this latest comment.  Are you saying the
bug is fixed and I should retry?

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2003-01-09 15:56

Message:
Logged In: YES 
user_id=175228

Just following the instructions in the tomcat41 module to 
build the bundled release. The service descriptor is in that 
module.

----------------------------------------------------------------------

Comment By: Matt Cleveland (groovesoftware)
Date: 2003-01-09 14:21

Message:
Logged In: YES 
user_id=85088

I'm just using the standard tomcat41-service.xml without
modification.  It is attached.

----------------------------------------------------------------------

Comment By: Jeremy Boynes (jboynes)
Date: 2003-01-09 14:13

Message:
Logged In: YES 
user_id=378919

Can you assign this to me (jboynes)

The NPE is due to a bug in the new FileURLLister not
allowing for URLs that do not exist. I will check in a fix
for that.

Please can you attach your tomcat41-service.xml file so I
can verify the fix

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=665183&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to