LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2011, 06:14 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Rep: Reputation: 18
java web service problem


Hi

the developers in my organisation have made a web service call
the problem i am facing is that this webservice call just stops functioning in a while. we have to just restart the jboss instance and it starts functioning again.

everytime restart is not the solution for this.
can anyone suggest me a work around for this or a way to find the cause why it suddenly stops.

the entire code is written in java and is hosted on centos 5.3 server.

any help will be appreciated
 
Old 04-04-2011, 06:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you're not a Java developer and if the WAR deployed according to specs (if any) then if the WAR doesn't already log debug nfo somewhere to look at or Jboss doesn't throw any exceptions you can fling back at them then I would allow the responsible developers in your organization to troubleshoot the issue themselves. (Maybe my opinion is colored by past experiences but IMO the only way to make developers understand is to "teach" them by letting them feel the pain of having to debug their own mess.) BTW Centos is at 5.5 now with 5.6 hitting repos RSN.
 
Old 04-04-2011, 11:57 PM   #3
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Original Poster
Rep: Reputation: 18
I checked with my developers , they want say that the web call is made , but we dont know whether the call reached the remote server. is there a way where in I can check if the call is made to the remote server and trace where it is being dropped.

I am not a developer , I am a linux system admin, ya i know this setup was done long back , i am in process of upgrading the hardware as well as the OS.

if you can help me trace where the issue lies using tcpdump or some other command would really be good
 
Old 04-05-2011, 11:51 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you say "this webservice call just stops functioning in a while" to me this means it does work (right?) but for an undisclosed period of time before crashing. That would mean that you could elicit information from it in terms of debugging Java performance (garbage collection etc) and maybe Jboss returns a nice stack trace to send to your developers? In any case you'll have to find out how your "web service call" makes its calls. If it does this all by itself then you'll have to find out how to get (or your developers to supply a version that generates) debug output. If it relies on an application that makes SIP calls then you'd check that (logs?). Before you're going to compare a packet capture of a successful SIP call with one that isn't (http://wiki.snom.com/SIP_Traces"]exaple[/url]) you'll probably also want to look at several SIP-level trace tools like WIST, a Web Interface for SIP Trace (includes "siptraced"), sipsak, the SIP swiss army knife or if the SIPtrace and Statistics Monitor from OpenSIPS-CP works for you. That's about all you're going to get from me as I don't do SIP. And I still maintain your developers should share the burden of solving this problem with you: don't leave stuff that b0rks on deployment unpunished.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dbus as IPC for web service problem kannerke Programming 1 03-25-2009 09:59 AM
LXer: Create Web services with Ruby on Rails and Action Web Service LXer Syndicated Linux News 0 11-05-2008 06:00 PM
LXer: Java, Web Service, and database apps with Rational App. Developer v7 LXer Syndicated Linux News 0 03-10-2008 12:00 PM
Tools for developing C# web service and web sites in Linux woodbase Linux - Software 3 08-10-2006 01:28 PM
Problem starting java service during bootup TomCruise2002 Linux - Newbie 0 01-29-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration