You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Thielen <da...@thielen.com> on 2002/06/27 20:56:37 UTC

Please help - Tomcat & IIS

Hi all;

I've been tring for 3 days non-stop to get Tomcat working with IIS. And I'm still stuck and getting desperate. If anyone can help on these, please please do so. I'm assuming that there must be someone out there who has done this before successfully.

Or if it can't be done let me know and I'll go buy JRun.

thanks - dave

Question 1:

I tried adding isapi_redirector.dll as a filter in one of my virtual web
sites and added a jakarta virtual directory to that web site.

When I try to access a jsp page via the virtual site, I get a Tomcat message
of: The requested resource (/jakarta/isapi_redirector.dll) is not available.

Any ideas?

thanks - dave


----- Original Message -----
Hi;

Ok, I have tomcat working on my default website. How do I get it to work on
the virtual web sites I have?

thanks - dave


============

Question 2:

I'm sticking with this example as it "should" work.

The url I put in is localhost/apps.10.jsp.

Here is a dir (screen dump) of the file:
 Directory of C:\Program Files\Apache Tomcat 4.0\webapps\apps

02/16/2002  03:50p                 727 10.jsp

So the file is there.

The error I get is:
C:\Program Files\Apache Tomcat
4.0\work\Standalone\localhost\apps\$10$jsp.java:3: Class net.windward.Cart
not found in import.
import net.windward.Cart;
       ^
1 error, 1 warning

Here is the dir (screen dump) of the file Cart.class
 Directory of C:\Program Files\Apache Tomcat
4.0\webapps\apps\WEB-INF\classes\ne
t\windward

12/29/2001  01:11p              18,392 Cart.class
12/29/2001  01:10p              24,099 Cart.java

So any idea why it can't find it? I looked in the log files but couldn't
find any that listed a directory it was looking in.

thanks - dave

----- Original Message -----
...
> > I also added:
> >   <Context path="/apps" docBase="apps" debug="0" privileged="true" />
> >
> > And then created
> > CATALINA_HOME\webapps\apps\*.jsp
> > and
> > CATALINA_HOME\webapps\apps\WEB-INF\classes\net\windward\*.class
>
> I don't see anything wrong with this, it looks like it should work.
> This all makes me wonder if something else is wrong.  How is the jsp
> looking for the class file?  For example, is it using the full package
> name?
>
>
> > In all these cases I can get ot the .jsp file but the jsp file
> > cannot find the java .class files.
> >
> > I am doing no web.xml file because I have no servlets or anything
> > else like that. Just jsp files and classes for them to access.
>
> I think that should be OK, and if it's finding the servlets/jsps OK,
> that should indicate it's OK.


RE: Please help - Tomcat & IIS

Posted by Brad Rhoads <br...@zethcon.com>.
It can be done. It's working at one of our clients.

I didn't set it up, so I don't know exactly what the secret is - I tried to
get it working here myself once & got stock. But FWIW, I've been following
this thread & it looks like you're putting the .jsps in the inetpub folder.
At my client site we, everthing is is in the tomcat4/webapps/somesite
folder, like normal. Hope this helps.

-----Original Message-----
From: David Thielen [mailto:dave@thielen.com]
Sent: Thursday, June 27, 2002 1:57 PM
To: Tomcat Users List
Subject: Please help - Tomcat & IIS


Hi all;

I've been tring for 3 days non-stop to get Tomcat working with IIS. And I'm
still stuck and getting desperate. If anyone can help on these, please
please do so. I'm assuming that there must be someone out there who has done
this before successfully.

Or if it can't be done let me know and I'll go buy JRun.

thanks - dave

Question 1:

I tried adding isapi_redirector.dll as a filter in one of my virtual web
sites and added a jakarta virtual directory to that web site.

When I try to access a jsp page via the virtual site, I get a Tomcat message
of: The requested resource (/jakarta/isapi_redirector.dll) is not available.

Any ideas?

thanks - dave


----- Original Message -----
Hi;

Ok, I have tomcat working on my default website. How do I get it to work on
the virtual web sites I have?

thanks - dave


============

Question 2:

I'm sticking with this example as it "should" work.

The url I put in is localhost/apps.10.jsp.

Here is a dir (screen dump) of the file:
 Directory of C:\Program Files\Apache Tomcat 4.0\webapps\apps

02/16/2002  03:50p                 727 10.jsp

So the file is there.

The error I get is:
C:\Program Files\Apache Tomcat
4.0\work\Standalone\localhost\apps\$10$jsp.java:3: Class net.windward.Cart
not found in import.
import net.windward.Cart;
       ^
1 error, 1 warning

Here is the dir (screen dump) of the file Cart.class
 Directory of C:\Program Files\Apache Tomcat
4.0\webapps\apps\WEB-INF\classes\ne
t\windward

12/29/2001  01:11p              18,392 Cart.class
12/29/2001  01:10p              24,099 Cart.java

So any idea why it can't find it? I looked in the log files but couldn't
find any that listed a directory it was looking in.

thanks - dave

----- Original Message -----
...
> > I also added:
> >   <Context path="/apps" docBase="apps" debug="0" privileged="true" />
> >
> > And then created
> > CATALINA_HOME\webapps\apps\*.jsp
> > and
> > CATALINA_HOME\webapps\apps\WEB-INF\classes\net\windward\*.class
>
> I don't see anything wrong with this, it looks like it should work.
> This all makes me wonder if something else is wrong.  How is the jsp
> looking for the class file?  For example, is it using the full package
> name?
>
>
> > In all these cases I can get ot the .jsp file but the jsp file
> > cannot find the java .class files.
> >
> > I am doing no web.xml file because I have no servlets or anything
> > else like that. Just jsp files and classes for them to access.
>
> I think that should be OK, and if it's finding the servlets/jsps OK,
> that should indicate it's OK.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Please help - Tomcat & IIS

Posted by Andrew Conrad <an...@msn.com>.
I think the problem is multiple isapi filters.  You shold only have one
filter, and it should be loaded in your master properties, not in each
virtual web.  But, you do need a virtual directoy "/jakarta" for each
one.

-Andrew

-----Original Message-----
From: David Thielen [mailto:dave@thielen.com] 
Sent: Thursday, June 27, 2002 2:57 PM
To: Tomcat Users List
Subject: Please help - Tomcat & IIS

Hi all;

I've been tring for 3 days non-stop to get Tomcat working with IIS. And
I'm still stuck and getting desperate. If anyone can help on these,
please please do so. I'm assuming that there must be someone out there
who has done this before successfully.

Or if it can't be done let me know and I'll go buy JRun.

thanks - dave

Question 1:

I tried adding isapi_redirector.dll as a filter in one of my virtual web
sites and added a jakarta virtual directory to that web site.

When I try to access a jsp page via the virtual site, I get a Tomcat
message
of: The requested resource (/jakarta/isapi_redirector.dll) is not
available.

Any ideas?

thanks - dave


----- Original Message -----
Hi;

Ok, I have tomcat working on my default website. How do I get it to work
on
the virtual web sites I have?

thanks - dave


============

Question 2:

I'm sticking with this example as it "should" work.

The url I put in is localhost/apps.10.jsp.

Here is a dir (screen dump) of the file:
 Directory of C:\Program Files\Apache Tomcat 4.0\webapps\apps

02/16/2002  03:50p                 727 10.jsp

So the file is there.

The error I get is:
C:\Program Files\Apache Tomcat
4.0\work\Standalone\localhost\apps\$10$jsp.java:3: Class
net.windward.Cart
not found in import.
import net.windward.Cart;
       ^
1 error, 1 warning

Here is the dir (screen dump) of the file Cart.class
 Directory of C:\Program Files\Apache Tomcat
4.0\webapps\apps\WEB-INF\classes\ne
t\windward

12/29/2001  01:11p              18,392 Cart.class
12/29/2001  01:10p              24,099 Cart.java

So any idea why it can't find it? I looked in the log files but couldn't
find any that listed a directory it was looking in.

thanks - dave

----- Original Message -----
...
> > I also added:
> >   <Context path="/apps" docBase="apps" debug="0" privileged="true"
/>
> >
> > And then created
> > CATALINA_HOME\webapps\apps\*.jsp
> > and
> > CATALINA_HOME\webapps\apps\WEB-INF\classes\net\windward\*.class
>
> I don't see anything wrong with this, it looks like it should work.
> This all makes me wonder if something else is wrong.  How is the jsp
> looking for the class file?  For example, is it using the full package
> name?
>
>
> > In all these cases I can get ot the .jsp file but the jsp file
> > cannot find the java .class files.
> >
> > I am doing no web.xml file because I have no servlets or anything
> > else like that. Just jsp files and classes for them to access.
>
> I think that should be OK, and if it's finding the servlets/jsps OK,
> that should indicate it's OK.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>