<target name="setproxy">
<taskdef name="setproxy" classname="org.apache.tools.ant.taskdefs.optional.net.SetProxy" />
<setproxy proxyhost="myhost" proxyport="myport" proxyuser="myusername" proxypassword="mypassword"/>
<echo message="Using ${proxy.host}:${proxy.port}:${proxy.user}:${proxy.password} to download ${sourcefile}"/>
</target>
I set these properties at the beginning of the file and also in the build.properties file in Tapestry\config
but I'm still getting an unauthorized request error from the proxy server and am not sure what to do now with that. I have already got the downloads separately and have got the workbench to run. Since reading your reply, I decided to try to compile the war files anyway - and they compiled and ran perfectly! The tutorial about those files doesn't mention the pig latin translator? Much embarrassment about the original error message: I was so busy getting the files in the right places that I hadn't actually COMPILED the java classes. Realized later. O dear :-(
Thanks!
Madeleine
Shing Hing Man wrote:
FYI, if the "Pig-Latin" example you referred to is from http://www.ociweb.com/jnb/jnbMay2004.html,
I have no problem running it on Tomcat 5.0.27,
(Tapestry 3.0.1, Redhat 9). The war files are
generated by the ant bulid script that comes with the code.
If you have not done so, you might like to check Home.class is actually in WEB-INF/classes.
Shing
--- MKW <[EMAIL PROTECTED]> wrote:
I have set Tapestry up on Tomcat 5.0.2.7 (not using
Eclipse) and downloaded the extra jar files. I have tried to run
2 applications from tutorials ("Welcome" and "Pig-Latin"). Tomcat
installs the applications without complaint, but when I try to run them I get
the same error each time (printed out at the end of this mailing), so
I'm assuming it's the same problem each time.
It tell me that the location of the problem is: location: context:/WEB-INF/Home.page, line 5, column 38 and each time it's the very end of <page-specification> element e.g. <page-specification class="Home">
I'm calling them with e.g. http://localhost:8080/Welcome/app
Please can someone tell me what I've done wrong?
Thanks.
Madeleine
Could not load class Home from WebappClassLoader
delegate: false repositories: /WEB-INF/classes/ ----------> Parent
Classloader: StandardClassLoader delegate: true repositories: file:C:\jakarta-tomcat-5.0.27\shared\classes\
file:C:\jakarta-tomcat-5.0.27\shared\lib\bsf-2.3.0.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-beanutils-1.6.1.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-codec-1.2.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-collections-2.1.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-digester-1.5.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-fileupload-1.0.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-lang-1.0.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\commons-logging-1.0.2.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\geronimo-ejb.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\jakarta-oro-2.0.6.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\javassist.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\jsp-api.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\log4j-1.2.6.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\ognl-2.6.7.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\servlet-api.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\tapestry-3.0.3.jar
file:C:\jakarta-tomcat-5.0.27\shared\lib\tapestry-contrib-3.0.3.jar
----------> Parent Classloader: StandardClassLoader
delegate: true repositories:
file:C:\jakarta-tomcat-5.0.27\common\classes\
file:C:\jakarta-tomcat-5.0.27\common\endorsed\dom.jar
file:C:\jakarta-tomcat-5.0.27\common\endorsed\sax.jar
file:C:\jakarta-tomcat-5.0.27\common\endorsed\xalan.jar
file:C:\jakarta-tomcat-5.0.27\common\endorsed\xercesImpl.jar
file:C:\jakarta-tomcat-5.0.27\common\endorsed\xml-apis.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\activation.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\ant-launcher.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\ant.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\commons-collections-2.1.1.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\commons-collections-3.1.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\commons-dbcp-1.2.1.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\commons-el.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\commons-pool-1.2.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\dom.jar file:C:\jakarta-tomcat-5.0.27\common\lib\imap.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\jasper-compiler-jdt.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\jasper-compiler.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\jasper-runtime.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\jaxrpc.jar file:C:\jakarta-tomcat-5.0.27\common\lib\jsp-api.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\jstl.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\log4j-1.2.9.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\mailapi.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\mysql-connector-java-3.0.14-production-bin.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\mysql-connector-java-3.1.7-bin.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\naming-common.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\naming-factory-dbcp.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\naming-factory.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\naming-java.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\naming-resources.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\saaj-api.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\saaj-ri.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\saaj.jar file:C:\jakarta-tomcat-5.0.27\common\lib\sax.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\servlet-api.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\smtp.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\standard.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\tools.jar file:C:\jakarta-tomcat-5.0.27\common\lib\xalan.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\xercesImpl.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\xml-apis.jar
file:C:\jakarta-tomcat-5.0.27\common\lib\xmlsec.jar
----------> Parent Classloader: [EMAIL PROTECTED]
: Home
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Home page : http://uk.geocities.com/matmsh/index.html
Send instant messages to your online friends http://uk.messenger.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
