You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve Parker <sc...@cisco.com> on 2000/08/29 00:11:29 UTC
ISAPI_REDIRECT.DLL Won't turn green
I'm rather new to this, but I have a question for installing the
isapi_redirect.dll. I read and followed the How-to for IIS, but I can't
seem to make the isapi_redirect.dll filter turn green. I am running
Windows 2000 with Tomcat 3.1 and the version of isapi-redirect.dll is
1.1.
Any help would be greatly appreciated.
Thanks in advance,
Steve Parker
Re: [OT] getAttribute
Posted by Elijah Roberts <er...@alexandriasc.com>.
At Tuesday, 8/29/2000 03:15 PM, you wrote:
>I have asked this question in several other places, but no answer as yet -
>perhaps someone here can help.
>
>I have the following code (from a book):
> ClientRecord clntrec = (ClientRecord) session.getAttribute("crec");
>
>It is in a servlet that extends HttpServlet etc
>It gives the following compile error. As can be seen from the verbose output
>it is picking up the current JSDK and JDK.
I think that perhaps the getAttribute method was added in the 2.2 servlet
spec. From your error, it looks like you are including the servlet 2.1
classes. You could try it with the servlet.jar from the 2.2 servlet
specification. Just a guess.
Elijah
Roberts eroberts@alexandriasc.com
Freelance Consultant
Alexandria Software Consulting www.alexandriasc.com
Re: [OT] getAttribute [SOLVED]
Posted by Andrew Stubbs <an...@stusoft.com>.
Fixed it myself - needed the 2.2 API not the 2.1 API (is use Tomcats not the
SDK's -- very confusing)
Andrew
----- Original Message -----
From: "Andrew Stubbs" <an...@stusoft.com>
To: <to...@jakarta.apache.org>
Sent: 29 August 2000 20:15
Subject: [OT] getAttribute
> I have asked this question in several other places, but no answer as yet -
> perhaps someone here can help.
>
> I have the following code (from a book):
> ClientRecord clntrec = (ClientRecord) session.getAttribute("crec");
>
> It is in a servlet that extends HttpServlet etc
> It gives the following compile error. As can be seen from the verbose
output
> it is picking up the current JSDK and JDK.
>
> I know this is not really a Tomcat issue so thanx in advance to anyone who
> can point me in the right direction.
>
> Andrew
>
>
============================================================================
> =
> C:\WWW\Projects\PIS>javac -verbose -sourcepath . ClntMntCntrl.java
> [parsing started ClntMntCntrl.java]
> [parsing completed 180ms]
> [loading .\ClientRecord.java]
> [parsing started .\ClientRecord.java]
> [parsing completed 10ms]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServlet.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/GenericServlet.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Object.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/Servlet.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletConfig.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/io/Serializable.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletException.class)]
> [loading
> c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServletRequest.class)]
> [loading
> c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServletResponse.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/io/IOException.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/String.class)]
> [checking ClntMntCntrl]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Error.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Exception.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Throwable.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/RuntimeException.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletRequest.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpSession.class)]
> ClntMntCntrl.java:24: cannot resolve symbol
> symbol : method getAttribute (java.lang.String)
> location: interface javax.servlet.http.HttpSession
> ClientRecord clntrec = (ClientRecord) session.getAttribute("crec");
>
> ^
> [loading c:\jdk1.3\jre\lib\rt.jar(java/lang/System.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/io/PrintStream.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/io/FilterOutputStream.class)]
> [loading c:\jdk1.3\jre\lib\rt.jar(java/io/OutputStream.class)]
> [loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletResponse.class)]
> [checking ClientRecord]
> [total 721ms]
> 1 error
>
>
>
[OT] getAttribute
Posted by Andrew Stubbs <an...@stusoft.com>.
I have asked this question in several other places, but no answer as yet -
perhaps someone here can help.
I have the following code (from a book):
ClientRecord clntrec = (ClientRecord) session.getAttribute("crec");
It is in a servlet that extends HttpServlet etc
It gives the following compile error. As can be seen from the verbose output
it is picking up the current JSDK and JDK.
I know this is not really a Tomcat issue so thanx in advance to anyone who
can point me in the right direction.
Andrew
============================================================================
=
C:\WWW\Projects\PIS>javac -verbose -sourcepath . ClntMntCntrl.java
[parsing started ClntMntCntrl.java]
[parsing completed 180ms]
[loading .\ClientRecord.java]
[parsing started .\ClientRecord.java]
[parsing completed 10ms]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServlet.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/GenericServlet.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Object.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/Servlet.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletConfig.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/io/Serializable.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletException.class)]
[loading
c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServletRequest.class)]
[loading
c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpServletResponse.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/io/IOException.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/String.class)]
[checking ClntMntCntrl]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Error.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Exception.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/Throwable.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/RuntimeException.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletRequest.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/http/HttpSession.class)]
ClntMntCntrl.java:24: cannot resolve symbol
symbol : method getAttribute (java.lang.String)
location: interface javax.servlet.http.HttpSession
ClientRecord clntrec = (ClientRecord) session.getAttribute("crec");
^
[loading c:\jdk1.3\jre\lib\rt.jar(java/lang/System.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/io/PrintStream.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/io/FilterOutputStream.class)]
[loading c:\jdk1.3\jre\lib\rt.jar(java/io/OutputStream.class)]
[loading c:\jsdk2.1\servlet.jar(javax/servlet/ServletResponse.class)]
[checking ClientRecord]
[total 721ms]
1 error
Re: ISAPI_REDIRECT.DLL Won't turn green
Posted by Steve Parker <sc...@cisco.com>.
I did that and it still won't turn green. Has this been tested with a Windows 2000
Workstation or does this require Windows 2000 Server?
Are there any changes necessary for the uriworkermap.properties or to the
workers.properties files? Should I have a virtual directory pointing to my
c:/tomcat/webapps directory?
Thanks again
Toby Piper wrote:
> Go through and verify character-by-character that you have ALL of the registry
> entries spelled correctly and that they point to the correct locations. It won't
> load until it can verify the files.
>
> > -----Original Message-----
> > From: Steve Parker [mailto:scparker@cisco.com]
> > Sent: Monday, August 28, 2000 3:11 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: ISAPI_REDIRECT.DLL Won't turn green
> >
> >
> > I'm rather new to this, but I have a question for installing the
> > isapi_redirect.dll. I read and followed the How-to for IIS, but I can't
> > seem to make the isapi_redirect.dll filter turn green. I am running
> > Windows 2000 with Tomcat 3.1 and the version of isapi-redirect.dll is
> > 1.1.
> >
> > Any help would be greatly appreciated.
> >
> > Thanks in advance,
> >
> > Steve Parker
> >
> >
RE: ISAPI_REDIRECT.DLL Won't turn green
Posted by Toby Piper <tp...@CompCraft.com>.
Go through and verify character-by-character that you have ALL of the registry
entries spelled correctly and that they point to the correct locations. It won't
load until it can verify the files.
> -----Original Message-----
> From: Steve Parker [mailto:scparker@cisco.com]
> Sent: Monday, August 28, 2000 3:11 PM
> To: tomcat-user@jakarta.apache.org
> Subject: ISAPI_REDIRECT.DLL Won't turn green
>
>
> I'm rather new to this, but I have a question for installing the
> isapi_redirect.dll. I read and followed the How-to for IIS, but I can't
> seem to make the isapi_redirect.dll filter turn green. I am running
> Windows 2000 with Tomcat 3.1 and the version of isapi-redirect.dll is
> 1.1.
>
> Any help would be greatly appreciated.
>
> Thanks in advance,
>
> Steve Parker
>
>