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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:52:31+00:00 2026-06-07T16:52:31+00:00

I have a problem with my JBOSS while reading and processing a large XML

  • 0

I have a problem with my JBOSS while reading and processing a large XML file.

My hardware:

-OS: Windows 2008 Server R2 Enterprise
-CPU: Intel E7210 @ 2.4 Ghz (Dual Core)
-RAM: 12 GB

I try to read a XML file which is about 370 MB large.
While my program in the JBOSS is reading this file the memory usage increases to about 5 GB.

But every time JBOSS crashes and reboots while reading the file.
There is no hint in the logfile, why JBOSS is rebooting:

The part with fromHdd.trf is the part where I start reading the xml file (at 16:46:57,411)
Two seconds later (at 16:48:31,036) the jboss is rebooting without any error.

Part of the jboss log:

    2012-07-09 16:46:51,083 INFO  [de.softproject.integration.engine.X4engine] Started process "iMan_WebConnect/Stammdaten/ERW16/AttributeSets/Process/getAttributeSetsFromCML.wrf".
2012-07-09 16:46:57,411 INFO  [de.softproject.integration.engine.X4ModuleImpl] Executed action "fromHdd.tra" in 6.313 ms.
2012-07-09 16:48:31,036 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
2012-07-09 16:48:31,036 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Setting up property manager MBean and JMX layer
2012-07-09 16:48:31,645 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Starting recovery manager
2012-07-09 16:48:31,755 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Recovery manager started
2012-07-09 16:48:31,755 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Binding TransactionManager JNDI Reference
2012-07-09 16:48:35,926 INFO  [org.jboss.ejb3.EJB3Deployer] Starting java:comp multiplexer

My guess:
The Java program uses the saxon parser.
Java or the saxon parser causes a memory fault.

This part is from the file wrapper.conf were I have configured an amount of 8GB RAM to Java.

# Java Additional Parameters
wrapper.java.additional.1=-Dprogram.name=run.bat
wrapper.java.additional.2=-Dx4.config.file=../../X4config.xml
wrapper.java.additional.3=-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
wrapper.java.additional.4=-Xms128m
wrapper.java.additional.5=-Xmx8192m 
wrapper.java.additional.6=-XX:MaxPermSize=256m
wrapper.java.additional.7=-server
wrapper.java.additional.8=-Dsun.rmi.dgc.client.gcInterval=3600000 
wrapper.java.additional.9=-Dsun.rmi.dgc.server.gcInterval=3600000
wrapper.java.additional.10=-Djava.endorsed.dirs=../lib/endorsed

What can I do, to prevent JBOSS from reboting.
Hope you have some Ideas.

Best Regards
LStrike

PS: Yes I know, I have not posted any Code.
I can not access the code, which is behind the funktion fromHdd.trf, so I try to get some answers in general.

  • 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-07T16:52:33+00:00Added an answer on June 7, 2026 at 4:52 pm

    At this point, some kind of “out of memory” problem seems like the most likely explanation, but you REALLY need some evidence:

    • You should figure out how to get some more information out of JBoss about what is causing the restart. Check all of the log files. If there is nothing relevant, change your logging settings to increase the amount of logging.

    • You should consider the possibility that the JBoss JVM is being killed externally because of a “ulimit” resource limit on the process, or due to the action of the “OOM killer”. You’d expect there to be some indications of these in the operating system logs.

    How can you prevent this? Well, the only suggestions I have are the obvious ones.

    • Increase the JVM Heap size. (But depending on how the problem is causing JBoss to restart, this might make things worse.)

    • Limit the size of the input, or break it into smaller chunks.

    • Rewrite the part that is using XSLT to do the transformation some other way. (Saxon is not a parser. It is an XSLT engine.)

    • Switch to a more efficient XSLT engine. The accepted Answer to this SO Question ( What is the Most Efficient Java-Based streaming XSLT Processor? ) says that Saxon-SA is the most efficient one around in terms of memory usage.

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

Sidebar

Related Questions

We've been debugging this JBoss server problem for quite a while. After about 10
I have the following problem. When I deploy my ear file to server\default\deploy folder
I have a strange problem while trying to start JBoss from Eclipse. After starting,
I have a Web App deployed on JBoss App Server 7.0.2 on Windows XP
I have encountered the problem to start different version of jboss in the same
I have problem while loading data into html select when users press or click
I have problem with TableView its empty. In (.h) file: @interface TableViewController : UITableViewController{
I have an important problem running ETL Process in production environment. While my ETL
I have many problem to installed jboss-seam 2.2.0 on weblogic 10.3. I want to
While using a database server login module for authentication in jboss 6, I found

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.