HTTP/1.0 500 Internal Server Error

Hello everybody,

"HTTP/1.0 500 Internal Server Error" sounds very very familiar, but I am not able to solve my problem :(

We have to submit offline data to a https site in a sequence(page by page). I am successful for the 1st and 2nd page postings.
But for the last page post, I am getting this "HTTP/1.0 500 Internal Server Error" error message.
I am appending the sessionIDs each time with the urls, and also passing all valid data as form variable values.
When  try avoiding the sessionID (jsessionid) variable from the URL, the result is setting back to the entry page (which looks like a session timeout error). Also when I pass a wrong sessionID (jsessionid) the result is setting back to the entry page (again session time out).
my URL looks like "https://secure6.testsite.de/WebCosmos/beitrag.do;jsessionid=0000YREAJVBOD5D4A5P4POG2ZLA:uakaaafh".

We thought, perhaps since their site uses couple of JavaScripts, first debug their site attaching mozilla's plugin Venkman. I tried debugging using Venkman, but their javascript is not doing(to the extend I understood) any URL rewriting.

I am running out of ideas :( and we are looking forward to submit the data as early as possible..
Can someone help me out showering the ideas ?
we use the following ackages-> java.net.HttpURLConnection;java.net.URL andjava.net.URLEncoder;

thanks in advance for any kind of suggestions / helps

Sudha


sudhaRVAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

raj3060Commented:
That problem happens when you have some variables those are null... You need to put condition when variable is null make it something else..
-Raj
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CBozemanCommented:
Ask the server admin to look up the error in the web server logs for your IP/timestamp that the error occurs.  The Internet Server Error refers to something going wrong with the script/program on the server side.  

CBozeman
0
aiparameCommented:
Change you browser settings below to look at the exact error message.
Tools->Options->Advanced->Under Browsing Uncheck the option Show Friendly HTTP Error Messges. This will show the correct error and it will be easier to debug.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

sudhaRVAuthor Commented:
thanks for the responses.
 Raj, it is sure that I am not posting any null values as I have some valid  constants posting at the moment.
ajparame, I am not trying to post any values via web browser. I have an offline posting through my program using HttpURLConnection.
CBozeman, its like our strategy doesn't let our client know through which way they are receiving data from us. Here the problem lies :-( Otherwise the very first thing I would have done was call them up and ask to look up their log file for the requests from us.




0
raj3060Commented:
If not too much problem, could you post the code of the third page.
-Raj
0
raj3060Commented:
Did get any response from the user. How do we know that our suggestion didn't work?
Point split
0
sudhaRVAuthor Commented:
Hello,

sorry for the late response. Well I had been shifted to another work and I kept this task as pending.
I could ressolve the problem last week. One of the variable I posted to the site was a wrong one. The site has a lot of java script validations and it was re-assigning one of the variable in its javascript, which I missed in my program. I was posting with a wrong data to this variable which later led to  HTTP/1.0 500 Internal Server Error.

I would like the points to be splitted among Raj and  CBozeman.

thanks
sudha
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.