This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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,
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).]