• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

HOW TO SET PATH IN TOMCAT OF ANT BUILDER

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have one doubt. I am using tomcat as app.web server and ant as a build tool. When I am building .jar,.war,.ear files from command prompt is is working properly. and When I am working with tomcat, it is not building, and whenever I am setting classpath in setclasspath.bat in tomcat,server is not running it is telling access denied, if i give small path. server is working properly. I could able to get the problem. can anyone help me. in this issue.
 
Saloon Keeper
Posts: 28319
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure I understood all that - I think there's some further information I might need to know, but you did say that things work with a short classpath.
If you're working with Windows, the default environment space is about 2048 characters, and that's often too small. You can check this by typing "echo %CLASSPATH%" at the command prompt. If you don't see the entire classpath, you'll need to enlarge your environment space.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
This is what I did, when I installed tomcat on my system (windows 2000) and it is working fine.
in Environment Variables Tab,
under System variables:
set JAVA_HOME = your JDK home directory
set TOMCAT_HOME = your tomcat home directory
now try to start tomcat using startup located in bin directory of your tomcat home directory.
It should work.
good luck...
 
prakash alluri
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
set TOMCAT_HOME in your user defined variables list under Environmet variables........not in system variables.
but set JAVA_HOME in system variables......
 
There is no "i" in denial. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic