- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Java application in HP-UX 11.23
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2012 07:15 AM
тАО06-06-2012 07:15 AM
Java application in HPUX 11i v2
how to set -Xmx -Xms sizes in java.
Detail:
1. Oracle application
2. HPUX 11i v2 with quality pack Dec 2010
3. java 1.5
getting attached error when run larg report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2012 12:45 PM
тАО06-06-2012 12:45 PM
Re: Java application in HP-UX 11.23
>how to set -Xmx -Xms sizes in java?
It should be document in the Java Docs:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJDKJRE50
┬╗ JDK, JRE, and Plug-In 5.0.x Release Notes
┬╗ HP-UX 11i Java Technical Documentation
Java Memory Management on HPUX:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02645664/c02645664.pdf
These options seem to set the heap size and nothing to do with thread stacks.
>getting attached error when run report.
>emsg:was terminated by signal 6
>An irrecoverable RSE stack overflow has occurred.
>SIGSEGV 11* segmentation violation
I'm not sure where that message about RSE stack overflow came from? If this is actually true, the java thread's stack is too small, then you need to make them larger.
Do you have the latest java patches? If so, you need to contact Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2012 02:29 AM
тАО06-07-2012 02:29 AM
Re: Java application in HP-UX 11.23
Patch bundle PHCO_41946 already update
Please note: small reports are worked fine, only getting errors when run large reports.
Some queries are below please answer.
First : we have Java 1.5 version installed see below output.
------
$ java -version
java version "1.5.0.02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.02-_14_oct_2005_17_51)
Java HotSpot(TM) Server VM (build 1.5.0.02 jinteg:10.14.05-23:46 IA64, mixed mode)
-------
But in reports itтАЩs showing java 1.4.2 see following (error report attached again please check)
Java VM: Java HotSpot(TM) Server VM (1.4.2 1.4.2.07-050121-21:06-IA64N IA64 mixed mode)
---
I have tried to set heap sizes, check below
$ java -Xms128m -Xmx1024m
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-server run the HotSpot VM, tuned for long-lived,
server applications (default)
-hotspot synonymous to the -server option
-client run the HotSpot VM, tuned for short-lived,
GUI applications
If present, the option to select the VM must be first.
The default VM is -server.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
#
----------------------
How do I set the heap sizes?
your provided links, I understand mmap need to ON and found below command.
java -d64 -Xmpas:on <java class>
Please let me know what <java class> is I donтАЩt about, please advice
We are using oracle, which oracle file have heap sizes setting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2012 09:10 AM
тАО06-07-2012 09:10 AM
Re: Java application in HP-UX 11.23
>But in reports itтАЩs showing java 1.4.2
That's most likely the problem. You need to get support from Oracle to determine how to update the private copy of that java. Probably in:
/prod/ebs/apps/tech_st/10.1.2/jdk/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2012 12:02 AM
тАО06-08-2012 12:02 AM
Re: Java application in HP-UX 11.23
Any more advise ........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2012 01:23 PM
тАО06-08-2012 01:23 PM
Re: Java application in HP-UX 11.23
>Any more advise?
If you have a software support contract, you could talk to HP-UX Support.