hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maneesh Sharma <Maneesh.sha...@sun.com>
Subject protocol support
Date Fri, 10 Jan 2003 07:19:05 GMT
Hi ,
Can anyone tell me how do i get my program to support ftp,gopher and 
other protocols? currently I am getting the following exception:
java.lang.IllegalStateException: unsupported protocol: 'ftp'
at 
org.apache.commons.httpclient.Protocol.lazyRegisterProtocol(Protocol.java:188)
at org.apache.commons.httpclient.Protocol.getProtocol(Protocol.java:150)
at 
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:185)
at 
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration.java:221)
at GTest.dispatch(GTest.java:750)
at GTest.execute(GTest.java:571)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)


TIA
Maneesh.




Mime
View raw message