Re: Problem while deploying war
Hi Mark, Thanks for the solution. Actually file:///C:\temp\app1\app1.war works -Venkatesh --- Mark Thomas [EMAIL PROTECTED] wrote: Venkatesh Babu wrote: Can anybody help me and point out what might be the problem? Your url starts C:/ (so C looks like the protocol rather than a drive) Try something like file://c/... Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem while deploying war
Hi all, I'm using Tomcat 4.1.31. I have a war file and I'm using the ant target deploy to deploy this war. Here is the code snippet of my build.xml : property name=tomcat.server.name value=localhost/ property name=tomcat.server.port value=8080/ property name=tomcat.user.name value=admin/ property name=tomcat.user.password value=admin/ property name=app.deploy.manageurl value=http://${tomcat.server.name}:${tomcat.server.port}/manager/ target name=deployapp depends=war deploy url=${app.deploy.manageurl} path=/app1 war=${basedir}/app1.war username=${tomcat.user.name} password=${tomcat.user.password}/ /target But when I call this target, I'm getting a strange error: BUILD FAILED C:\temp\app1\build.xml:33: java.net.MalformedURLException: unknown protocol: c I have taken catalina-ant.jar from ${TOMCATHOME}/lib/ and placed that in ${ANT_HOME}/lib but still having this problem. Can anybody help me and point out what might be the problem? Thank you, Venkatesh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem while deploying war
Venkatesh Babu wrote: Can anybody help me and point out what might be the problem? Your url starts C:/ (so C looks like the protocol rather than a drive) Try something like file://c/... Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem while deploying war
Agreed- The protocol part of the URL spec seems to confuse alot of people Take a look at this very brief primer on URL construction courtesy of Williams College http://www.cs.williams.edu/~cs105s00/outlines/CS105_70.html HTH, Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 04, 2006 10:55 AM Subject: Re: Problem while deploying war Venkatesh Babu wrote: Can anybody help me and point out what might be the problem? Your url starts C:/ (so C looks like the protocol rather than a drive) Try something like file://c/... Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem while deploying war
Venkatesh- I am Posting this to ant-users I did not see deploy task (unless you taskdef'ed in some class somewhere) but I did set serverdeploy http://ant.apache.org/manual/OptionalTasks/serverdeploy.html HTH Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Venkatesh Babu [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, June 04, 2006 10:19 AM Subject: Problem while deploying war Hi all, I'm using Tomcat 4.1.31. I have a war file and I'm using the ant target deploy to deploy this war. Here is the code snippet of my build.xml : property name=tomcat.server.name value=localhost/ property name=tomcat.server.port value=8080/ property name=tomcat.user.name value=admin/ property name=tomcat.user.password value=admin/ property name=app.deploy.manageurl value=http://${tomcat.server.name}:${tomcat.server.port}/manager/ target name=deployapp depends=war deploy url=${app.deploy.manageurl} path=/app1 war=${basedir}/app1.war username=${tomcat.user.name} password=${tomcat.user.password}/ /target But when I call this target, I'm getting a strange error: BUILD FAILED C:\temp\app1\build.xml:33: java.net.MalformedURLException: unknown protocol: c I have taken catalina-ant.jar from ${TOMCATHOME}/lib/ and placed that in ${ANT_HOME}/lib but still having this problem. Can anybody help me and point out what might be the problem? Thank you, Venkatesh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem while deploying war
Hi all, I'm using Tomcat 4.1.31. I have a war file and I'm using the ant target deploy to deploy this war. Here is the code snippet of my build.xml : property name=tomcat.server.name value=localhost/ property name=tomcat.server.port value=8080/ property name=tomcat.user.name value=admin/ property name=tomcat.user.password value=admin/ property name=app.deploy.manageurl value=http://${tomcat.server.name}:${tomcat.server.port}/manager/ target name=deployapp depends=war deploy url=${app.deploy.manageurl} path=/app1 war=${basedir}/app1.war username=${tomcat.user.name} password=${tomcat.user.password}/ /target But when I call this target, I'm getting a strange error: BUILD FAILED C:\temp\app1\build.xml:33: java.net.MalformedURLException: unknown protocol: c I have taken catalina-ant.jar from ${TOMCATHOME}/lib/ and placed that in ${ANT_HOME}/lib but still having this problem. Can anybody help me and point out what might be the problem? Thank you, Venkatesh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem while deploying war
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. This makes it harder for other users to find relevant information when searching the lists. This is known as thread hijacking and is behaviour that is frowned upon on this list. Frequent offenders will be removed from the list. It should also be noted that many list subscribers automatically ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]