Bugs item #912096, was opened at 2004-03-08 17:18
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=912096&group_id=22866

Category: Build System
Group: v3.2
Status: Open
>Resolution: Later
Priority: 5
Submitted By: auser (ajbossuser)
>Assigned to: Adrian Brock (ejort)
Summary: Deployment Scanning Problem

Initial Comment:
Operating System: WindowsXP
JDK Version: j2skd1.4.1_02
Purpose: Use Jboss deployment scanning to implement 
remote deployment. It works fine in JBoss 3.2.1

Step to reproduce the bug:

1. Download and install JBoss3.2.3
2. Modify 
$jboss_home/server/default/conf/jboss_service.xml
on section 
of  "org.jboss.deployment.scanner.URLDeploymentScanne
r" mbean by adding a remote url to attribute "URLs". For 
example "http://127.0.0.1:80/test/";

3. Save change and run Jboss. The following exception 
are throwed to console:


12:06:06,305 WARN  [ServiceController] Problem 
starting service 
jboss.deployment:type=DeploymentScanner,flavor=URL
java.lang.NoClassDefFoundError: 
org/apache/commons/httpclient/HttpException
        at java.lang.Class.getDeclaredConstructors0
(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors
(Class.java:1590)
        at java.lang.Class.getConstructor0
(Class.java:1762)
        at java.lang.Class.newInstance0(Class.java:276)
        at java.lang.Class.newInstance(Class.java:259)
        at 
org.jboss.net.protocol.URLListerFactory.createURLLister
(URLListerFactory.java:58)
        at 
org.jboss.net.protocol.URLListerFactory.createURLLister
(URLListerFactory.java:41)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.sc
an(URLDeploymentScanner.java:373)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScann
er$ScannerThread.doScan
(AbstractDeploymentScanner.java:201)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScann
er.startService(AbstractDeploymentScanner.java:274)
        at org.jboss.system.ServiceMBeanSupport.start
(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor10.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke
(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:546)
        at 
org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceController.java:976)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start
(ServiceController.java:394)
        at sun.reflect.GeneratedMethodAccessor9.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke
(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start
(SARDeployer.java:226)
        at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:832)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:642)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:605)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:589)
        at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke
(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart
(ServerImpl.java:384)
        at org.jboss.system.server.ServerImpl.start
(ServerImpl.java:291)
        at org.jboss.Main.boot(Main.java:150)
        at org.jboss.Main.run(Main.java:395)
        at java.lang.Thread.run(Thread.java:536)
12:06:06,524 INFO  [MainDeployer] Deployed package: 
file:/C:/test/jboss-3.2.3/server/default/conf/jboss-
service.xml
12:06:06,524 ERROR [Server] Root deployment has 
missing dependencies; continuing
Incomplete Deployment listing:
Packages waiting for a deployer:
  <none>
Incompletely deployed packages:
  <none>
MBeans waiting for classes:
  <none>
MBeans waiting for other MBeans:
[ObjectName: 
jboss.deployment:type=DeploymentScanner,flavor=URL
 state: FAILED
 I Depend On:  jboss.system:service=MainDeployer

 Depends On Me: java.lang.NoClassDefFoundError: 
org/apache/commons/httpclient/HttpException]
        at 
org.jboss.deployment.MainDeployer.checkIncompleteDepl
oyments(MainDeployer.java:1135)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:608)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:589)
        at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke
(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart
(ServerImpl.java:384)
        at org.jboss.system.server.ServerImpl.start
(ServerImpl.java:291)
        at org.jboss.Main.boot(Main.java:150)
        at org.jboss.Main.run(Main.java:395)
        at java.lang.Thread.run(Thread.java:536)
12:06:06,586 INFO  [Server] JBoss (MX MicroKernel) 
[3.2.3 (build: CVSTag=JBoss_3_2_3 
date=200311301445)] Started in 3s:437ms






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

>Comment By: Adrian Brock (ejort)
Date: 2004-04-19 21:29

Message:
Logged In: YES 
user_id=9459

The problem is that the webdav support is not loaded unless
you are using netboot. You can workaround this problem
and do it manually using:

./run.sh -L webdavlib.jar -L commons-httpclient.jar -L
commons-logging.jar

Anybody know why this isn't always enabled?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to