Does anyone has any idea how to run the cactus tests on struts?
I tried to run, but getting connection errors.
Here is the dump of the error
=====================================================================
start.tomcat.50:
Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (org/apache/commons/net/SocketClient)
for type rexec
Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion)
for type cvsversion
Could not load a dependent class (com/starbase/starteam/Item) for type
stlist
Could not load a dependent class (org/apache/commons/net/SocketClient)
for type telnet
Could not load a dependent class (org/apache/commons/net/ftp/FTP) for
type ftp
Could not load a dependent class (jdepend/xmlui/JDepend) for type
jdepend
Could not load a dependent class (com/starbase/starteam/Item) for type
stcheckin
Could not load a dependent class (com/starbase/starteam/Item) for type
stcheckout
fileset: Setup scanner in dir /opt/dev/jakarta/tomcat/home with
patternSet{ includes: [bin/bootstrap.jar] excludes: [] }
fileset: Setup scanner in dir /opt/dev/jakarta/tomcat/home with
patternSet{ includes: [bin/bootstrap.jar] excludes: [] }
[java] Executing '/opt/dev/sun-j2sdk/jre/bin/java' with arguments:
[java] '-Dcatalina.home=/opt/dev/jakarta/tomcat/home'
[java] '-Dcatalina.base=/opt/dev/jakarta/tomcat/base/demo'
[java] '-classpath'
[java]
'/opt/dev/sun-j2sdk/lib/tools.jar:/opt/dev/jakarta/tomcat/home/bin/bootstrap.jar'
[java] 'org.apache.catalina.startup.Bootstrap'
[java] '-config'
[java]
'/home/akhandel/cvs-root/oss/comp/presentation/struts/src/target/test/servers/tomcat50/conf/server.xml'
[java] 'start'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
fileset: Setup scanner in dir /opt/dev/jakarta/tomcat/home with
patternSet{ includes: [bin/bootstrap.jar] excludes: [] }
fileset: Setup scanner in dir /opt/dev/jakarta/tomcat/home with
patternSet{ includes: [bin/bootstrap.jar] excludes: [] }
Execute:Java13CommandLauncher: Executing
'/opt/dev/sun-j2sdk/jre/bin/java' with arguments:
'-Dcatalina.home=/opt/dev/jakarta/tomcat/home'
'-Dcatalina.base=/opt/dev/jakarta/tomcat/base/demo'
'-classpath'
'/opt/dev/sun-j2sdk/lib/tools.jar:/opt/dev/jakarta/tomcat/home/bin/bootstrap.jar'
'org.apache.catalina.startup.Bootstrap'
'-config'
'/home/akhandel/cvs-root/oss/comp/presentation/struts/src/target/test/servers/tomcat50/conf/server.xml'
'start'
The ' characters around the executable and arguments are
not part of the command.
[runservertests] Checking if server is up ...
[runservertests] Failed to call test URL. Reason
:java.net.ConnectException: Connection refused
[runservertests] at java.net.PlainSocketImpl.socketConnect(Native
Method)
[runservertests] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
[runservertests] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
[runservertests] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
[runservertests] at java.net.Socket.connect(Socket.java:452)
[runservertests] at java.net.Socket.connect(Socket.java:402)
[runservertests] at
sun.net.NetworkClient.doConnect(NetworkClient.java:139)
[runservertests] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
[runservertests] at
sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
[runservertests] at
sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
[runservertests] at
sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
[runservertests] at
sun.net.www.http.HttpClient.New(HttpClient.java:339)
[runservertests] at
sun.net.www.http.HttpClient.New(HttpClient.java:320)
[runservertests] at
sun.net.www.http.HttpClient.New(HttpClient.java:315)
[runservertests] at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)
[runservertests] at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)
[runservertests] at
org.apache.cactus.ant.StartServerHelper.isURLCallable(Unknown Source)
[runservertests] at
org.apache.cactus.ant.StartServerHelper.execute(Unknown Source)
[runservertests] at
org.apache.cactus.ant.RunServerTestsTask.callStart(Unknown Source)
[runservertests] at
org.apache.cactus.ant.RunServerTestsTask.execute(Unknown Source)
[runservertests] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[runservertests] at
org.apache.tools.ant.Task.perform(Task.java:364)
[runservertests] at
org.apache.tools.ant.Target.execute(Target.java:301)
[runservertests] at
org.apache.tools.ant.Target.performTasks(Target.java:328)
[runservertests] at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[runservertests] at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
[runservertests] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[runservertests] at
org.apache.tools.ant.Task.perform(Task.java:364)
[runservertests] at
org.apache.tools.ant.Target.execute(Target.java:301)
[runservertests] at
org.apache.tools.ant.Target.performTasks(Target.java:328)
[runservertests] at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[runservertests] at
org.apache.tools.ant.Project.executeTargets(Project.java:1063)
[runservertests] at
org.apache.tools.ant.Main.runBuild(Main.java:632)
[runservertests] at
org.apache.tools.ant.Main.startAnt(Main.java:183)
[runservertests] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
[runservertests] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
=====================================================================
Any inputs would be helpful
Abhishek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]