EclipseMedlem sedan juli 20003 825 inlägg Jag har laddat hem och försökt intstallera Resin på min dator och det var inte det lättaste...
Jag hade tänkt att den skulle fungera med IIS men det gick inte. Däremot fungerar den som en stand-alone på port 8080, dock kommer ett felmneddelande,
500 Servlet Exception
Resin can't load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with <java compiler='javac'/> or jikes.
java.lang.ClassNotFoundException: sun.tools.javac.Main
Jag har inte heller fått de där ISAPI-filtren att fungera... På något sätt står det att sökvägen inte kunde hittas trots att jag blädrat till en fil som jag trodde skulle fungera...
Lite mnärkligt. Hmm...
EclipseMedlem sedan juli 20003 825 inlägg Det slog mig att denna tråden kanske är postad i fel forum? Är det en Windows / IIS fråga kanske?
Det funkar nog lika bra i IIS-forumet som här, kanske bättre här t.o.m.
Själv har jag aldrig kört Resin under IIS men i deras Tech-FAQ står följande att läsa:
Try looking at http://localhost/scripts/iis_srun.dll/caucho-status. If this fails, IIS can't use the iis_srun.dll plugin. The problem is probably one of the following:
iis_srun.dll isn't in c:\inetpub\scripts.
The IIS host is missing the /scripts virtual directory.
/scripts doesn't have proper execute permissions.
Resin's IIS module needs the /scripts virtual directory to contain iis_srun.dll. If you create a new IIS virtual host, you must create a /scripts virtual directory that points to d:\inetpub\scripts.
When the Resin ISAPI filter detects a JSP page or servlet, it rewrites the URL to /scripts/iis_srun.dll/test.jsp. IIS will then execute iis_srun.dll as an ISAPI extension. If your virtual site is missing the /scripts directory, IIS can't find the ISAPI extension.
(Källa)
Har du följt instruktionerna för IIS till fullo?
När det gäller felet du får, har du en fullständig Java SDK? Det räcker inte med bara en JRE. Kolla så att JAVA_HOME-pathen är satt till rätt sökväg och att du har en tools.jar-fil i JAVA_HOME/lib.
------------------
Peer's Law
The solution to a problem changes the problem.
EclipseMedlem sedan juli 20003 825 inlägg OK, tack för tipsen... det är mycket man ska ha koll på.