Results 1 to 7 of 7
  1. #1
    Jeremy720 is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    0

    Default batch file not building to webapps folder

    Hello. I just started running Vista :P and can't seem to get my projects deployed. I found out how to run the .bat file, but my project isn't in the Apache webapps folder. I'm getting an error in IE that says "Localhost is not set up to establish a connection on port 8080 with this computer." I'm not sure what's wrong.

    - Environmental variable path points to java 1.6.0 bin folder
    - class path seems set up correctly
    - servlet.api is in directory

    what am I missing?

    thanks!

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    Perhaps you should turn your server on first.
    My Hobby Project: LegacyClone

  3. #3
    Jeremy720 is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    0

    Default

    Sorry, I'm really new to this... do you mean start Apache Tomcat? If so, I did already.

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Were there any error messages displayed when you started your tomcat?
    Do you know which port tomcat is using.

  5. #5
    Jeremy720 is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    0

    Default

    No errors when I start tomcat. In the server.xml file, I found the server port and connector port. when I enter localhost:(server port number), there is no error, but 'I.E. can not display this webpage'. I diagnose connection, and it no longer gives the 'Localhost not established to connect...' error. I believe once I get the project deployed to the webapps folder, it will work. How I do that is the question.

  6. #6
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Just read the documentation that comes with tomcat.

  7. #7
    sandeshforu is offline Member
    Join Date
    Sep 2009
    Posts
    4
    Rep Power
    0

Similar Threads

  1. ignore links when building file tree
    By itaipee in forum New To Java
    Replies: 1
    Last Post: 07-28-2009, 06:41 PM
  2. Batch file to Run Java application
    By nitishlnt in forum Eclipse
    Replies: 1
    Last Post: 10-24-2008, 07:46 PM
  3. eclipse batch file
    By doug99 in forum Eclipse
    Replies: 6
    Last Post: 04-24-2008, 02:59 PM
  4. run a batch file as windows nt service
    By radhika123 in forum New To Java
    Replies: 0
    Last Post: 04-04-2008, 01:46 PM
  5. Problem in batch file
    By marwa in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 10:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •