Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ServletExec and IIS: file.java not recognized as servlet!?

Posted on 2002-04-29
3
Medium Priority
?
291 Views
Last Modified: 2006-11-17
I've installed ServletExec on IIS 5.0/Win2k and am having problems getting servlets to run.  First off, this was working; we've had ServletExec, IIS5, and ArcIMS(Map Software) playing nicely, but it appears to be a VERY fragile arrangement.  So today, someone made unknown changes to IIS, trying to affect a misdiagnosed problem with scripting, and now my site which uses ServletExec will not load.  The best description of the problem I can muster, is that when you try to load the TestServlet or Admin servlets, as suggested by New Atlanta, going to http://servername/servlet/admin or TestServlet, instead of executing the file, it prompts to download or open it from it's current location.  Of course if you try to open the file, Win2k doesn't know what the hell it is.  Tried reinstalling ServletExec to no avail.  Permissions are wide open(Everyone Full Access) on New Atlanta\ServletExec ISAPI\ Directory.  Any Ideas?
0
Comment
Question by:benhanson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
pssiew earned 750 total points
ID: 6979700
Try to make the folder where the file is executable from the IIS Console.

I am not familiar with the ServletExec software, but your problem looks like the application's executable file is not made executable in IIS hence when browsed, it is prompts for download.

Check for a .exe file location
0
 
LVL 12

Author Comment

by:benhanson
ID: 6981492
This was the case.  Actually, the file in question is a .dll, but the Scripts folder in IIS still needed permission to run "Scripts and Executables", so IIS must consider the Java servlets executables.  The actual steps involved:  Open IIS Managager, open properties on <servername>:Default Web Site:Scripts, go to Virtual Directory tab, and change Execute Permissions setting to "Scripts and Executables"  This got me to the point that the example and admin servlets worked, then I was able to work out the remaining ServletExec wierdness, which involved re-entering Serial number, the info was blown away during reinstall(Its in a file, not the registry), re-adding a Virtual Machine:Class Path to ServletExec through the Admin servlet, then re-copying Connector\Servlet\ Files from ArcIMS install directory.  Each of these steps require a restart of IIS, though if they are done all together they would probably only require one restart.  Thanks for the help pssiew.
0
 
LVL 2

Expert Comment

by:pssiew
ID: 6984941
No problem Ben. Glad that you managed to solve it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question