Click to See Complete Forum and Search --> : Problem with Servlets


krishnaraj
February 28th, 2000, 12:57 AM
I am using JRUN for running servlets in the IIS web server. For that i need to physically put all the class files in the \JRUN\Servlets folder. only then i am able to run the servlets. otherwise i get a '500 Internal Server Error' (about which i have mentioned sometime back).
Now the second problem i face is even after putting all the class files in the \JRUN\Servlets folder, whenever, i run the servlet, 'Dr.Watson for Windows NT' comes into play for the file javaw.exe, which i guess is one of the application files of JRUN. can anybody help me solve the above 2 problems ?
Thanx and Regards,
Krish..

Jan Meeuwesen
February 28th, 2000, 01:53 AM
Hi,

The ServletRunner jrun, takes a few parameters. One of them is that you can state where the default servlets directory is. I think it was '-d', but I guess you can see that when you run with '/?'.
The second problem is one I cannot solve without the proper information. I might even need your source files to look at that problem... but that's up to you.

Greetings,
Jan Meeuwesen
( If this answer is of any value to you, rate it! (bottom right in your browser under this text) )

krishnaraj
February 28th, 2000, 02:32 AM
Hi Jan,
I remember your earlier explanation. but again i would request you to elaborate on that '-d' factor which i can't understand.
ok, for the second problem, i am sorry that i can't send u the source code. let me come back to that later...
Thanx anyway
Krish..

Jan Meeuwesen
February 28th, 2000, 02:41 AM
Hi,

The '-d' parameter, was just an example, I do not know for sure if this is the correct parameter. But jrun the plugin for IIS probably has a way to point to a directory where your servlets are. Maybe it's the Scripts directory for default (have you tried this?). I suggest that you read the plugins documentation to find out how to set the servlets directory.

Good Luck,
Jan Meeuwesen

krishnaraj
February 28th, 2000, 03:08 AM
Hi Jan,
ok fine. i can understand. yes, Jrun does point to a directory, which is asked even in the connection wizard and it is the scripts directory. As per the JRUn documentation, as we configure it for IIS, it seems the dll that is in the \inetpub\scripts will understand the /servlet and redirect accordingly.. but, that is where i seem to encounter some problem...
thanx anyway, i shall get back if there is anything interesting...
Krish..