aspose file tools*
The moose likes JDBC and the fly likes CGI error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "CGI error" Watch "CGI error" New topic
Author

CGI error

wendy huo
Greenhorn

Joined: Nov 29, 2001
Posts: 1
I'm using java and MS Access to develop a website. I used IBM HPJ compiler to compile the .java to .exe file. When I test the code in my own desktop which has Apache installed, everything works fine. However, when I copied the .exe file to the company's server part of them doesn't work. The error occurs as below:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Terminating exception 0xc00000fd received on thread 0x41 at address: 0x34a5b7a.
Registers:
edi: esi: ebx: edx: ecx: eax:
00000000 00000000 00000000 000330E4 00033320 000333B8
ebp: eip: cs: eflags: esp: ss:
00000000 034A5B7A 0000001B 00010212 00032FA4 00000023
Attempting traceback:
Terminating exception 0xc0000005 encountered on thread 0x41 producing traceback. Traceback truncated.
The code are all same and all point to the same database to get data. The error occured doesn't give me any clue what went wrong. I wondered if you know what might go wrong.
Many thanks,
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
Is the server also running Apache? If it's IIS, did you add your access database as an ODBC Data Source on the server?
It sounds like you are using Java to write a CGI program, is that correct? I guess I'm wondering why if you have Apache on the server, you don't just get Tomcat installed also and build servlets, which are more secure, and would also allow you to skip the step where you compile to an exe?
[This message has been edited by Jason Menard (edited December 13, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CGI error