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

  • Home
  • SEARCH
  • 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 157941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:35:37+00:00 2026-05-11T10:35:37+00:00

I wanted to set up remote debugging from Eclipse. Tomcat is running as a

  • 0

I wanted to set up remote debugging from Eclipse. Tomcat is running as a service on windows.

That bit is fine, a quick google pointed me towards the correct settings to add to wrapper.conf to enable this. There were entries already in wrapper.conf, so I copy/pasted the last entry and modified it:

wrapper.java.additional.8='-Djava.endorsed.dirs=C:/Program Files/OurApp/tomcat/common/endorsed' wrapper.java.additional.8.stripquotes=TRUE wrapper.java.additional.9='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n' wrapper.java.additional.9.stripquotes=TRUE 

It didn’t work, because the quotes are around everything, and the stripquotes only applies to linux systems.

Theoretically the correct entries should be:

wrapper.java.additional.8=-Djava.endorsed.dirs='C:/Program Files/OurApp/tomcat/common/endorsed' wrapper.java.additional.8.stripquotes=TRUE wrapper.java.additional.9=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n 

The second example doesn’t need quotes – no spaces to break it up. The first example does – because of ‘Program Files’ Am I correct in this assessment?

If so, how/why is the application working as is? There are several parameters ostensibly being set like this (nested in qutoes), which I believe actually have no effect.
For instance min/max memory settings.

I found an example here that has the same thing, ostensibly being a config for windows and linux.

My questions: Will these quotes stop the config commands going through?
Why is the app working if that is the case?

  • 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. 2026-05-11T10:35:38+00:00Added an answer on May 11, 2026 at 10:35 am

    AFter a bit more playing around and trolling through debug logs, I think I have isolated the issue. The problem was the mix of 1 – Being lazy and putting two configuration items on the same line. (In my defense I copied it as one line from the Tomcat FAQ 2 – Using quotes

    The combination of these two was causing the issue.

    wrapper.java.additional.9='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n' wrapper.java.additional.9.stripquotes=TRUE 

    Like this it generates a command line:

    java '-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n' ... 

    It treats that entire string as one argument – rather than the two as I intended.

    Without the quotes wrapper.java.additional.9=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n wrapper.java.additional.9.stripquotes=TRUE It generates:

    java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n ... 

    Seeing as there are no quotes to screw things up, it processes the two -X parameters as I would want it to. Even better (and probably the intended use) as two seperate entries

        wrapper.java.additional.9='-Xdebug'      wrapper.java.additional.9.stripquotes=TRUE     wrapper.java.additional.10='-Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n'     wrapper.java.additional.10.stripquotes=TRUE  java '-Xdebug' '-Xrunjdwp:transport=dt_socket,server=y,address=9135,suspend=n' ... 

    There are quotes around each one, and it treats them individually. The existing entries are all fine, because they only set one item per line.

    So I’ll just put this down to a learning experience (sigh) and realise that I now know a whole lot more about wrapper.conf that I didn’t know before.

    Cheers, evnafets

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

Sidebar

Ask A Question

Stats

  • Questions 73k
  • Answers 73k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Use git-svn: http://git-scm.com/docs/git-svn May 11, 2026 at 2:04 pm
  • added an answer If they're logged in as you, there's basically little you… May 11, 2026 at 2:04 pm
  • added an answer In VB, quote characters are escaped with another quote: txtCode.Text… May 11, 2026 at 2:04 pm

Related Questions

I'm working on a quick setup program in Visual Studio and wanted to change
I wanted to set a CSS class in my master page, which depends on
I wanted to set .htaccess to rewrite: example.com/bla/info/ to example.com/info/index.php?q=bla example.com/bla/info/txt/ to example.com/info/index.php?q=bla&t=txt I
I wanted to set some handler for all the unexpected exceptions that I might
What's the best/most efficient way to extract text set between parenthesis? Say I wanted
I recently ran into a problem that I thought boost::lambda or boost::phoenix could help
I have a web application that I am working on(ASP.NET 2.0 C#). In it
I need to host a WCF service in IIS that exposes a wsHttpBinding. That
Say I had an open-source project which I wanted to try and generate some

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.