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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:15:24+00:00 2026-05-10T22:15:24+00:00

In our project the Java webservice communicate with the backend program written in C

  • 0

In our project the Java webservice communicate with the backend program written in C and Perl to process. We are using the ProcessBuilderto execute a backend (UNIX) job FrameworkHandler.

ProcessBuilder process; process.Start(FrameworkHandler -a ACTION) 

FrameworkHandler invokes a Perl script to perform some action. The Perl script internally does a diff command between two XML files and uses the print function to print the error:

sub print_error {     $err_msg = shift;     print STDERR '$err_msg\n'; } 

Whenever there is a difference between the files the Perl program hangs in the print_error function. If we execute the Perl program in the UNIX shell it is working without any issues. But if we execute the Perl through the webservice, it is not returning after the diff command. Due to this, the webservice is also not returning the response. Whether the greater than (>) symbols in the XML tags are creating problem?

Any help is much appreciated.

Part of Error:


< diff -udr --new-file --label=postProcess1 --label=postProcess2 postProcess1 postProcess2 < --- postProcess1 < +++ postProcess2 < @@ -124,6 +124,36 @@ <               <LOCATION></LOCATION> <               <ADDRESS_PART1>Test Address ^D</ADDRESS_PART1 > <         </address_details> < +       <address_details> < +             <CITY></CITY> < +             <STATE>12</STATE> 

Thanks, Mathew Liju

  • 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-10T22:15:24+00:00Added an answer on May 10, 2026 at 10:15 pm

    The API docs say:

    “Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock.”

    Are you complying?

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

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • 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 Yo do observe this behavior even in latest 3.5 releases.… May 11, 2026 at 10:48 am
  • added an answer I've not had that error, but after a little Googling… May 11, 2026 at 10:48 am
  • added an answer user controls are a form of custom control, that gives… May 11, 2026 at 10:48 am

Related Questions

In our project the Java webservice communicate with the backend program written in C
We have this constant discussion in our project as to the granularity of our
I have finally got the green light to use Memcached in our project (after
In our web application we have a directory which resides outside of the project.
Our shop is in the process of converting our internal project management application from
We have similar code to the following in one of our projects. Can anyone
We are in the process of upgrading our projects from C# 2.0 / VS2005
I'm in the process of moving one of our projects from VS6 to VS2008
Quick add on requirement in our project. A field in our DB to hold
There's some code in our project that looks a bit like this: Private Sub

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.