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 8512943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:25:07+00:00 2026-06-11T04:25:07+00:00

I set environment for Apache Tomcat (through setenv.sh) export JAVA_OPTS=-XX:PermSize=256m -XX:MaxPermSize=356m How can I

  • 0

I set environment for Apache Tomcat (through setenv.sh)

export JAVA_OPTS="-XX:PermSize=256m -XX:MaxPermSize=356m"

How can I check this params in JSP or Apache Tomcat Manager Page? I want to be sure that options are working correctly.

  • 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-06-11T04:25:09+00:00Added an answer on June 11, 2026 at 4:25 am

    You need to get a RuntimeMXBean from the ManagementFactory:

    How do I get the commandline that started the process

    That will get you the whole command line (except for arguments to the main method). You could also look for JAVA_OPTS environment variable (and also CATALINA_OPTS, which is more useful), but that is an implementation detail: you don’t really care about the environment variables… you want to know what options were used to launch the JVM.

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

Sidebar

Related Questions

How can developers set up their environment paths when working on different SVN branches
We have a large web app installation, using Apache/Tomcat/Jasper and jboss. In development environment,
I have a Windows/Apache/PHP environment set up to imitate a shared hosting account but
I'm trying to set up Apache Tomcat on Cygwin and when I run the
When you set a server environment variable in your Apache settings, it's possible to
I'm trying to set things up (in my local environment) so I can store
I successfully set up a Tomcat server that runs Liferay through Eclipse. I'm working
I have a tomcat server configured (by mod_jk) to work through Apache Httpd server.
How can I set a development environment for PHP on my Ubuntu (latest version)
I just set up my django in a production environment with Apache and mod_wsgi.

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.