Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1099389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:43:47+00:00 2026-05-17T00:43:47+00:00

I don’t really know where to start with this issue, so I’ll just say

  • 0

I don’t really know where to start with this issue, so I’ll just say what’s wrong:

I’m running some code in Eclipse that is connecting to our remote “dev” server and presumably using the server there. This means that when I update code in the servlet or any code that actually uses the servlet, no changes are reflected on my local machine.

My question is how can I run the servlet on my local machine and have it connect to the dev server to use its MySQL DB to get the data. Presumably this will allow me to make changes to the servlet locally and still use test data.

I am running Tomcat 5.5 as well, and in Debug Configurations I tell the servlet to run on localhost:8000, but it says it can’t connect.

I’m really stuck here and it’s disheartening since any changes I make to the code aren’t even reflected at all. Moreover I can’t see any debug information to tell if my changes are even working at all much less how I intend.

I also tried to make some noticeable changes to parts of the code so that it would be easy to see that I’m affecting it and it doesn’t look like they’re actually having an effect when I run the code.

tl;dr I’m stupid and don’t know what to do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:43:48+00:00Added an answer on May 17, 2026 at 12:43 am

    The servlet is part of a web application; if you have the source code for that app, it’s not hard to deploy locally, on Tomcat, and debug it with Eclipse.

    If the app is hard-coded to use the dev database, or if you have the configuration files for the app that point to the db, then as long as the database is accessible to your localhost, you’re OK; if it’s configured separately, you’ll need to figure out how to duplicate that configuration.

    If Eclipse isn’t able to connect to your local Tomcat server, try connecting to it yourself from your browser; that will help you narrow down where the problem is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know if this is an eclipse specific problem but whenever I declare a
Don't know if there is a better way to do this, so that is
Don't let below code scare you away . The question is really simple, only
Don't be scared of the extensive code. The problem is general. I just provided
Don't really know how to formulate the title, but it should be pretty obvious
(Don't know if this is strictly on-topic, but I don't see any better Stack
Don't know if this has been asked before, so point me to another question
Don't know if anyone can help me with this or if it's even possible.
Don't be frightened, its a very basic code. Just wanted to check with you
Don't they both have to convert to machine code at some point to execute

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.