You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vijaya <sv...@solutionscraft.com> on 2012/06/12 11:56:26 UTC

iis not looking for jsp in tomcat webapps folder

Hi All,

After a long time I am having a problem that I cannot explain why is it happening. Help will be very much appreciated.

Our portal www.eservicebazaar.com was working okay till last week. Suddenly we had the anti virus software, and link problem and after that the portal is not working okay.

The current setting is
In IIS 6, I have the jakarta isapi filter set  and the default document only as and nothing else; All the portal related files are moved under inetpub/wwwroot except the jspfiles. jspfiles are located under tomcat../webapps/esb folder.
The index.html that is located in wwwroot folder has nothing other than calling index.jsp from webapps directory.
Till last friday, the portal was working okay and all of us could login to the portal from remote machines. last saturday, our link went down and when I connected the link back, I am not able to login to the portal both locally and remotely. 

the url  invokes the index.html (means the name server, iis is working fine) but the index.jsp gives a 404 error. 

I tried all possible things like deleting the jakarta virtual directory, recreating the reg entries, and deleting the isap_redirector2.dll and copying back from the backup version. Nothing is working. 

Can any body help me what I need to do (reinstall IIS)?

Thanks very much in advance for your help.


Vijaya
www.eservicebazaar.com – Portal to build community and solve life’s daily changes, one neighborhood at a time

 

RE: iis not looking for jsp in tomcat webapps folder

Posted by Leo Donahue - PLANDEVX <Le...@mail.maricopa.gov>.
> -----Original Message-----
> From: Vijaya [mailto:svijiya@solutionscraft.com]
> Subject: iis not looking for jsp in tomcat webapps folder
> 
> The current setting is
> In IIS 6, I have the jakarta isapi filter set  and the default document
> only as and nothing else; 

Do you have a web service extension for Jarkata that is set to allowed?

Leo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by Vijaya <sv...@solutionscraft.com>.
The problem was with jk2.shm file. In any case I installed the latest 
iaspi_redirect and got it working to some extent. the login goes to the 
ROOT/index.jsp rather than my webapp's index.jsp.

uriworkermap.properties is

/AtYourService/*.jsp=worker1
/AtYourService/servlet/*=worker1

workers.properties has
worker.list = worker1
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.type=ajp13

What do I need to do for the localhost to go directly to the 
/AtYourService/index.jsp?

Thanks,
Vijaya


-----Original Message----- 
From: André Warnier
Sent: Friday, June 22, 2012 7:55 PM
To: Tomcat Users List
Subject: Re: iis not looking for jsp in tomcat webapps folder

Vijaya wrote:
>
> Andre Warnier,  It is three year old system. At that time I had the option 
> of installing Tomcat 6.0 but decided to install 5 and never had any 
> problem so far till the ISP decided to change their software. I am not 
> sure that is the problem.
>
> I was going mad to get the same error again and again and decided to take 
> a break for three days. Also decided to install the latest version of 
> Tomcat and see how it goes. So we have brought our server down and will 
> let you all know if the same problem exists in the latest version of 
> Tomcat.
>
> Is there any significant changes in terms of configuration files from 
> Tomcat 5 to 7 that I need to pay attention to.
>

The main problem is that, as a connector between the front-end webserver and 
Tomcat, you
are using a module called mod_jk2 (or its Windows equivalent 
isapi_redirector2.
Development and support for this module have been discontinued for about 9 
years, so there
are not many people that would be able to help you.

You should be using mod_jk (or its Windows equivalent isapi_redirector, 
which is being
developed and maintained and supported.
Until you do that, I cannot help you further, and you probably will not find 
other people
that can help you.

You have received pointers to the documentation and configuration of
mod_jk/isapi_redirector in earlier responses in this same thread.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Vijaya wrote:
> 
> Andre Warnier,  It is three year old system. At that time I had the 
> option of installing Tomcat 6.0 but decided to install 5 and never had 
> any problem so far till the ISP decided to change their software. I am 
> not sure that is the problem.
> 
> I was going mad to get the same error again and again and decided to 
> take a break for three days. Also decided to install the latest version 
> of Tomcat and see how it goes. So we have brought our server down and 
> will let you all know if the same problem exists in the latest version 
> of Tomcat.
> 
> Is there any significant changes in terms of configuration files from 
> Tomcat 5 to 7 that I need to pay attention to.
> 

The main problem is that, as a connector between the front-end webserver and Tomcat, you 
are using a module called mod_jk2 (or its Windows equivalent isapi_redirector2.
Development and support for this module have been discontinued for about 9 years, so there 
are not many people that would be able to help you.

You should be using mod_jk (or its Windows equivalent isapi_redirector, which is being 
developed and maintained and supported.
Until you do that, I cannot help you further, and you probably will not find other people 
that can help you.

You have received pointers to the documentation and configuration of 
mod_jk/isapi_redirector in earlier responses in this same thread.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: iis not looking for jsp in tomcat webapps folder

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Vijaya [mailto:svijiya@solutionscraft.com] 
> Subject: Re: iis not looking for jsp in tomcat webapps folder

> Is there any significant changes in terms of configuration files from Tomcat 
> 5 to 7 that I need to pay attention to.

Lots.  Read the Migration Guide (link on the Tomcat home page).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by Vijaya <sv...@solutionscraft.com>.
Andre Warnier,  It is three year old system. At that time I had the option 
of installing Tomcat 6.0 but decided to install 5 and never had any problem 
so far till the ISP decided to change their software. I am not sure that is 
the problem.

I was going mad to get the same error again and again and decided to take a 
break for three days. Also decided to install the latest version of Tomcat 
and see how it goes. So we have brought our server down and will let you all 
know if the same problem exists in the latest version of Tomcat.

Is there any significant changes in terms of configuration files from Tomcat 
5 to 7 that I need to pay attention to.

Thanks once again for the help.

Vijaya

-----Original Message----- 
From: André Warnier
Sent: Tuesday, June 19, 2012 4:22 AM
To: Tomcat Users List
Subject: Re: iis not looking for jsp in tomcat webapps folder

Pid wrote:
> On 18/06/2012 10:10, Vijaya wrote:
>
>> file=c:/tomcat-5.5.16/conf/jk2.shm
>
> So... tomcat-5.5.16 AND jk2?
>
>
> I had to blow the dust of the 5.x security page...
>
> http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN
>
>
> just sayin'
>

And no easier to find : 
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk2/
shows that the last release of mod_jk2 was in 2002.

Vijaya, how old is that system which you are trying to get back to work 
again ?
the mod_jk2 connector, which you are apparently using, has not been 
developed or
maintained for quite a while.  Maybe you'd like to install and configure 
mod_jk instead ?
Then we could also really help you (if the on-line documentation is not 
sufficient).
There is not a big difference in the concept between mod_jk2 and mod_jk.
Start looking here : 
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Pid wrote:
> On 18/06/2012 10:10, Vijaya wrote:
> 
>> file=c:/tomcat-5.5.16/conf/jk2.shm
> 
> So... tomcat-5.5.16 AND jk2?
> 
> 
> I had to blow the dust of the 5.x security page...
> 
> http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN
> 
> 
> just sayin'
> 

And no easier to find : http://archive.apache.org/dist/tomcat/tomcat-connectors/jk2/
shows that the last release of mod_jk2 was in 2002.

Vijaya, how old is that system which you are trying to get back to work again ?
the mod_jk2 connector, which you are apparently using, has not been developed or 
maintained for quite a while.  Maybe you'd like to install and configure mod_jk instead ?
Then we could also really help you (if the on-line documentation is not sufficient).
There is not a big difference in the concept between mod_jk2 and mod_jk.
Start looking here : http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by Pid <pi...@pidster.com>.
On 18/06/2012 10:10, Vijaya wrote:

> file=c:/tomcat-5.5.16/conf/jk2.shm

So... tomcat-5.5.16 AND jk2?


I had to blow the dust of the 5.x security page...

http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN


just sayin'


p

-- 

[key:62590808]




Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Vijaya,

I am not the great specialist regarding isapi_redirector for Windows, but the 
configuration that you list below looks very strange to me.  It does not seem to match the 
configuration format for isapi_redirector, which is described here :

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
and here :
http://tomcat.apache.org/connectors-doc/reference/iis.html

So what are you exactly using as an IIS/Tomcat Connector ?



Vijaya wrote:
> This is what I get in the IIS log file if I login to www.eservicebazaar.com/AtYourService URL
> 
> 08:57:43 220.181.124.181 GET /index.html 304
> 08:59:08 59.92.208.214 GET /jakarta/isapi_redirector2.dll 500
> 
> This is what I get in the logfile if I log in as www.eservicebazaar.com
> 
> 09:01:56 59.92.208.214 GET /usertpl/1vg104-home/stylesheet.css 404
> 09:01:56 59.92.208.214 GET /index.jsp 404
> 09:01:56 59.92.208.214 GET /favicon.ico 404
> 09:01:56 59.92.208.214 GET /favicon.ico 404
> 
> It looks like if I go through IIS, IIS is not recognizing ISAPI at all.
> 
> I do not have I do not uriworkermap.properties. Everything is code in worker2.properties.
> # setup the windows application logging for the ISAPI filter
> [logger.win32]
> level=INFO
> # Communication Channel Settings
> [channel.socket:localhost:8009]
> host=localhost
> port=8009
> # Shared memeory File Settings
> [shm]
> file=c:/tomcat-5.5.16/conf/jk2.shm
> size=100000
> # Declare a tomcat worker and assign it the above declared communication channel
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
> # URI Mappings for atYourService web application context
> # Requests for any web component (indicated by the wild card *)are despatched
> # to Tomcat
> [uri:/AtYourService/*]
> worker=ajp13:localhost:8009
> info=Mapping for AtYourService context of tomcat
> 
> index.html code is a simple code that when invoked it calls index.jsp
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE>eServiceBazaar.com</TITLE>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="Evrsoft First Page" name=GENERATOR><LINK 
> href="../../usertpl/1vg104-home/stylesheet.css" type=text/css 
> rel=stylesheet></HEAD>
> <BODY bgColor=#ccffff>
>     <form name="loginform">
>        <script type="text/javascript" language="Javascript"><!--
>          document.loginform.action = "index.jsp";
>          document.loginform.submit();
>  //--></script>        
>     </form>
>> </BODY>
> </HTML>
> 
> Once again thanks very much for the help.
> 
> Vijaya
> 
>  
> 
> -----Original Message-----
> From: André Warnier [mailto:aw@ice-sa.com] 
> Sent: Monday, June 18, 2012 1:28 PM
> To: Tomcat Users List
> Subject: Re: iis not looking for jsp in tomcat webapps folder
> 
> Vijaya wrote:
>> Thanks for the reply again Andre Warner. We reformatted our server and 
>> installed a windows, IIS, and Tomcat all over. The problem still persists.
>>
>> This is what my setting is.
>>
>> Our portal URL is www.eservicebazaar.com. The class, and jsp files are 
>> under the folder tomcat...\webapps\AtYourservice.
>> Under  inetpub/wwwroot all html files are copied.
>>
>> When I log in to the portal using the URL 
>> www.eservicebazaar.com/AtYourService, the portal works fine. But if I 
>> move the index.html to the inetpub/wwwroot folder, and log in to the 
>> portal as www.eservicebazaar.com, I get the 404 error as the IIS is not 
>> looking at the JSP files in tomcat../AtYourservice folder through ISAPI 
>> redirector.
> 
> What is the content of the index.html file ? (copy and paste it here)
> 
> What is the content of the uriworkermap.properties files ? (copy and paste here)
> 
> 
>> The only thing that was the problem BEFORE IIS FAILED was our router 
>> link SUDDENLY WENT down and when I brought back the link, IIS stopped 
>> talking to ISAPI filter.
>>
>> Can a bad router create this problem ?
> 
> In principle, no.  But again, we do not have direct access to your system, so we cannot 
> look at what happened.
> 
> 
>> Thanks,
>> Vijaya
>>
>> -----Original Message----- From: André Warnier
>> Sent: Wednesday, June 13, 2012 1:49 PM
>> To: Tomcat Users List
>> Subject: Re: iis not looking for jsp in tomcat webapps folder
>>
>> Hi.
>>
>> Quoting you :
>>
>> Vijaya wrote:
>>> Thanks for the reply Andre Warnier. It is not virus. It happened over 
>>> the week end while the download of signatures failed. It is that IIS 
>>> is not looking at the tomcat' webapps folder for the jsps through 
>>> ISAPI filter. When I try to delete isapi_redirector dll, I keep 
>>> getting the error the file is in use by another program. I'll try to 
>>> install the latest version of tomcat and see what happens.
>>>
>> [...]
>>
>>>> After a long time I am having a problem that I cannot explain why is 
>>>> it happening. Help will be very much appreciated.
>>>>
>>>> Our portal www.eservicebazaar.com was working okay till last week. 
>>>> Suddenly we had the anti virus software, and link problem and after 
>>>> that the portal is not working okay.
>>>>
>>>> The current setting is
>>>> In IIS 6, I have the jakarta isapi filter set  and the default 
>>>> document only as and nothing else; All the portal related files are 
>>>> moved under inetpub/wwwroot except the jspfiles. jspfiles are located 
>>>> under tomcat../webapps/esb folder.
>>>> The index.html that is located in wwwroot folder has nothing other 
>>>> than calling index.jsp from webapps directory.
>>>> Till last friday, the portal was working okay and all of us could 
>>>> login to the portal from remote machines. last saturday, our link 
>>>> went down and when I connected the link back, I am not able to login 
>>>> to the portal both locally and remotely.
>>>> the url  invokes the index.html (means the name server, iis is 
>>>> working fine) but the index.jsp gives a 404 error.
>>>> I tried all possible things like deleting the jakarta virtual 
>>>> directory, recreating the reg entries, and deleting the 
>>>> isap_redirector2.dll and copying back from the backup version. 
>>>> Nothing is working.
>>>> Can any body help me what I need to do (reinstall IIS)?
>>>>
>> Unquote
>>
>> Vijaya,
>> there is not much that can be done with the explanation above.
>> In summary :
>> - it was "working" last week, and is "not working" this week.
>> - something happened in-between, which may or may not involve a virus
>> - since then you have been modifying Registry entries, 
>> deleting/recreating files and/or
>> moving them around
>> - and still "nothing is working"
>>
>> In normal circumstances, and to take a shortcut, I would probably tell 
>> you to
>> 1) verify that Tomcat itself is working, by accessing your Tomcat 
>> application directly,
>> through Tomcat's own HTTP port
>> 2) if Tomcat is working, then stop IIS, de-install isapi_redirector, and 
>> re-install it
>> properly according to the relevant on-line documentation.
>> 3) and if you still have a problem then, turn on the logging feature of 
>> isapi_redirector,
>> check the logs and try to determine exactly what happens.
>>
>> But, considering that you have already been making changes all over, 
>> including in the
>> Registry, it is not even certain that the isapi_redirector 
>> de-installation procedure can
>> work properly and will really clean up.
>>
>> We do not have a crystal ball here, and we cannot see your real system 
>> setup nor what
>> happens to make it "not work". So unless you come back here with a 
>> really precise and
>> technical description of what you are doing, what happens, including a 
>> copy of the
>> relevant log messages, there is not more we could do.
>>
>> Otherwise, my recommendation would still be the same : re-install this 
>> machine completely.
>> Or use another machine, where Windows and IIS and Tomcat are a "clean" 
>> install, add
>> isapi_redirector, and try it out. If it works, then compare with the 
>> machine that does not
>> work.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: iis not looking for jsp in tomcat webapps folder

Posted by Vijaya <sv...@solutionscraft.com>.
This is what I get in the IIS log file if I login to www.eservicebazaar.com/AtYourService URL

08:57:43 220.181.124.181 GET /index.html 304
08:59:08 59.92.208.214 GET /jakarta/isapi_redirector2.dll 500

This is what I get in the logfile if I log in as www.eservicebazaar.com

09:01:56 59.92.208.214 GET /usertpl/1vg104-home/stylesheet.css 404
09:01:56 59.92.208.214 GET /index.jsp 404
09:01:56 59.92.208.214 GET /favicon.ico 404
09:01:56 59.92.208.214 GET /favicon.ico 404

It looks like if I go through IIS, IIS is not recognizing ISAPI at all.

I do not have I do not uriworkermap.properties. Everything is code in worker2.properties.
# setup the windows application logging for the ISAPI filter
[logger.win32]
level=INFO
# Communication Channel Settings
[channel.socket:localhost:8009]
host=localhost
port=8009
# Shared memeory File Settings
[shm]
file=c:/tomcat-5.5.16/conf/jk2.shm
size=100000
# Declare a tomcat worker and assign it the above declared communication channel
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# URI Mappings for atYourService web application context
# Requests for any web component (indicated by the wild card *)are despatched
# to Tomcat
[uri:/AtYourService/*]
worker=ajp13:localhost:8009
info=Mapping for AtYourService context of tomcat

index.html code is a simple code that when invoked it calls index.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE>eServiceBazaar.com</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="Evrsoft First Page" name=GENERATOR><LINK 
href="../../usertpl/1vg104-home/stylesheet.css" type=text/css 
rel=stylesheet></HEAD>
<BODY bgColor=#ccffff>
    <form name="loginform">
       <script type="text/javascript" language="Javascript"><!--
         document.loginform.action = "index.jsp";
         document.loginform.submit();
 //--></script>        
    </form>
></BODY>
</HTML>

Once again thanks very much for the help.

Vijaya

 

-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: Monday, June 18, 2012 1:28 PM
To: Tomcat Users List
Subject: Re: iis not looking for jsp in tomcat webapps folder

Vijaya wrote:
> Thanks for the reply again Andre Warner. We reformatted our server and 
> installed a windows, IIS, and Tomcat all over. The problem still persists.
> 
> This is what my setting is.
> 
> Our portal URL is www.eservicebazaar.com. The class, and jsp files are 
> under the folder tomcat...\webapps\AtYourservice.
> Under  inetpub/wwwroot all html files are copied.
> 
> When I log in to the portal using the URL 
> www.eservicebazaar.com/AtYourService, the portal works fine. But if I 
> move the index.html to the inetpub/wwwroot folder, and log in to the 
> portal as www.eservicebazaar.com, I get the 404 error as the IIS is not 
> looking at the JSP files in tomcat../AtYourservice folder through ISAPI 
> redirector.

What is the content of the index.html file ? (copy and paste it here)

What is the content of the uriworkermap.properties files ? (copy and paste here)


> 
> The only thing that was the problem BEFORE IIS FAILED was our router 
> link SUDDENLY WENT down and when I brought back the link, IIS stopped 
> talking to ISAPI filter.
> 
> Can a bad router create this problem ?

In principle, no.  But again, we do not have direct access to your system, so we cannot 
look at what happened.


> 
> Thanks,
> Vijaya
> 
> -----Original Message----- From: André Warnier
> Sent: Wednesday, June 13, 2012 1:49 PM
> To: Tomcat Users List
> Subject: Re: iis not looking for jsp in tomcat webapps folder
> 
> Hi.
> 
> Quoting you :
> 
> Vijaya wrote:
>> Thanks for the reply Andre Warnier. It is not virus. It happened over 
>> the week end while the download of signatures failed. It is that IIS 
>> is not looking at the tomcat' webapps folder for the jsps through 
>> ISAPI filter. When I try to delete isapi_redirector dll, I keep 
>> getting the error the file is in use by another program. I'll try to 
>> install the latest version of tomcat and see what happens.
>>
> 
> [...]
> 
>>> After a long time I am having a problem that I cannot explain why is 
>>> it happening. Help will be very much appreciated.
>>>
>>> Our portal www.eservicebazaar.com was working okay till last week. 
>>> Suddenly we had the anti virus software, and link problem and after 
>>> that the portal is not working okay.
>>>
>>> The current setting is
>>> In IIS 6, I have the jakarta isapi filter set  and the default 
>>> document only as and nothing else; All the portal related files are 
>>> moved under inetpub/wwwroot except the jspfiles. jspfiles are located 
>>> under tomcat../webapps/esb folder.
>>> The index.html that is located in wwwroot folder has nothing other 
>>> than calling index.jsp from webapps directory.
>>> Till last friday, the portal was working okay and all of us could 
>>> login to the portal from remote machines. last saturday, our link 
>>> went down and when I connected the link back, I am not able to login 
>>> to the portal both locally and remotely.
>>> the url  invokes the index.html (means the name server, iis is 
>>> working fine) but the index.jsp gives a 404 error.
>>> I tried all possible things like deleting the jakarta virtual 
>>> directory, recreating the reg entries, and deleting the 
>>> isap_redirector2.dll and copying back from the backup version. 
>>> Nothing is working.
>>> Can any body help me what I need to do (reinstall IIS)?
>>>
>>
> Unquote
> 
> Vijaya,
> there is not much that can be done with the explanation above.
> In summary :
> - it was "working" last week, and is "not working" this week.
> - something happened in-between, which may or may not involve a virus
> - since then you have been modifying Registry entries, 
> deleting/recreating files and/or
> moving them around
> - and still "nothing is working"
> 
> In normal circumstances, and to take a shortcut, I would probably tell 
> you to
> 1) verify that Tomcat itself is working, by accessing your Tomcat 
> application directly,
> through Tomcat's own HTTP port
> 2) if Tomcat is working, then stop IIS, de-install isapi_redirector, and 
> re-install it
> properly according to the relevant on-line documentation.
> 3) and if you still have a problem then, turn on the logging feature of 
> isapi_redirector,
> check the logs and try to determine exactly what happens.
> 
> But, considering that you have already been making changes all over, 
> including in the
> Registry, it is not even certain that the isapi_redirector 
> de-installation procedure can
> work properly and will really clean up.
> 
> We do not have a crystal ball here, and we cannot see your real system 
> setup nor what
> happens to make it "not work". So unless you come back here with a 
> really precise and
> technical description of what you are doing, what happens, including a 
> copy of the
> relevant log messages, there is not more we could do.
> 
> Otherwise, my recommendation would still be the same : re-install this 
> machine completely.
> Or use another machine, where Windows and IIS and Tomcat are a "clean" 
> install, add
> isapi_redirector, and try it out. If it works, then compare with the 
> machine that does not
> work.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Vijaya wrote:
> Thanks for the reply again Andre Warner. We reformatted our server and 
> installed a windows, IIS, and Tomcat all over. The problem still persists.
> 
> This is what my setting is.
> 
> Our portal URL is www.eservicebazaar.com. The class, and jsp files are 
> under the folder tomcat...\webapps\AtYourservice.
> Under  inetpub/wwwroot all html files are copied.
> 
> When I log in to the portal using the URL 
> www.eservicebazaar.com/AtYourService, the portal works fine. But if I 
> move the index.html to the inetpub/wwwroot folder, and log in to the 
> portal as www.eservicebazaar.com, I get the 404 error as the IIS is not 
> looking at the JSP files in tomcat../AtYourservice folder through ISAPI 
> redirector.

What is the content of the index.html file ? (copy and paste it here)

What is the content of the uriworkermap.properties files ? (copy and paste here)


> 
> The only thing that was the problem BEFORE IIS FAILED was our router 
> link SUDDENLY WENT down and when I brought back the link, IIS stopped 
> talking to ISAPI filter.
> 
> Can a bad router create this problem ?

In principle, no.  But again, we do not have direct access to your system, so we cannot 
look at what happened.


> 
> Thanks,
> Vijaya
> 
> -----Original Message----- From: André Warnier
> Sent: Wednesday, June 13, 2012 1:49 PM
> To: Tomcat Users List
> Subject: Re: iis not looking for jsp in tomcat webapps folder
> 
> Hi.
> 
> Quoting you :
> 
> Vijaya wrote:
>> Thanks for the reply Andre Warnier. It is not virus. It happened over 
>> the week end while the download of signatures failed. It is that IIS 
>> is not looking at the tomcat' webapps folder for the jsps through 
>> ISAPI filter. When I try to delete isapi_redirector dll, I keep 
>> getting the error the file is in use by another program. I'll try to 
>> install the latest version of tomcat and see what happens.
>>
> 
> [...]
> 
>>> After a long time I am having a problem that I cannot explain why is 
>>> it happening. Help will be very much appreciated.
>>>
>>> Our portal www.eservicebazaar.com was working okay till last week. 
>>> Suddenly we had the anti virus software, and link problem and after 
>>> that the portal is not working okay.
>>>
>>> The current setting is
>>> In IIS 6, I have the jakarta isapi filter set  and the default 
>>> document only as and nothing else; All the portal related files are 
>>> moved under inetpub/wwwroot except the jspfiles. jspfiles are located 
>>> under tomcat../webapps/esb folder.
>>> The index.html that is located in wwwroot folder has nothing other 
>>> than calling index.jsp from webapps directory.
>>> Till last friday, the portal was working okay and all of us could 
>>> login to the portal from remote machines. last saturday, our link 
>>> went down and when I connected the link back, I am not able to login 
>>> to the portal both locally and remotely.
>>> the url  invokes the index.html (means the name server, iis is 
>>> working fine) but the index.jsp gives a 404 error.
>>> I tried all possible things like deleting the jakarta virtual 
>>> directory, recreating the reg entries, and deleting the 
>>> isap_redirector2.dll and copying back from the backup version. 
>>> Nothing is working.
>>> Can any body help me what I need to do (reinstall IIS)?
>>>
>>
> Unquote
> 
> Vijaya,
> there is not much that can be done with the explanation above.
> In summary :
> - it was "working" last week, and is "not working" this week.
> - something happened in-between, which may or may not involve a virus
> - since then you have been modifying Registry entries, 
> deleting/recreating files and/or
> moving them around
> - and still "nothing is working"
> 
> In normal circumstances, and to take a shortcut, I would probably tell 
> you to
> 1) verify that Tomcat itself is working, by accessing your Tomcat 
> application directly,
> through Tomcat's own HTTP port
> 2) if Tomcat is working, then stop IIS, de-install isapi_redirector, and 
> re-install it
> properly according to the relevant on-line documentation.
> 3) and if you still have a problem then, turn on the logging feature of 
> isapi_redirector,
> check the logs and try to determine exactly what happens.
> 
> But, considering that you have already been making changes all over, 
> including in the
> Registry, it is not even certain that the isapi_redirector 
> de-installation procedure can
> work properly and will really clean up.
> 
> We do not have a crystal ball here, and we cannot see your real system 
> setup nor what
> happens to make it "not work". So unless you come back here with a 
> really precise and
> technical description of what you are doing, what happens, including a 
> copy of the
> relevant log messages, there is not more we could do.
> 
> Otherwise, my recommendation would still be the same : re-install this 
> machine completely.
> Or use another machine, where Windows and IIS and Tomcat are a "clean" 
> install, add
> isapi_redirector, and try it out. If it works, then compare with the 
> machine that does not
> work.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by Vijaya <sv...@solutionscraft.com>.
Thanks for the reply again Andre Warner. We reformatted our server and 
installed a windows, IIS, and Tomcat all over. The problem still persists.

This is what my setting is.

Our portal URL is www.eservicebazaar.com. The class, and jsp files are under 
the folder tomcat...\webapps\AtYourservice.
Under  inetpub/wwwroot all html files are copied.

When I log in to the portal using the URL 
www.eservicebazaar.com/AtYourService, the portal works fine. But if I move 
the index.html to the inetpub/wwwroot folder, and log in to the portal as 
www.eservicebazaar.com, I get the 404 error as the IIS is not looking at the 
JSP files in tomcat../AtYourservice folder through ISAPI redirector.

The only thing that was the problem BEFORE IIS FAILED was our router link 
SUDDENLY WENT down and when I brought back the link, IIS stopped talking to 
ISAPI filter.

Can a bad router create this problem ?

Thanks,
Vijaya

-----Original Message----- 
From: André Warnier
Sent: Wednesday, June 13, 2012 1:49 PM
To: Tomcat Users List
Subject: Re: iis not looking for jsp in tomcat webapps folder

Hi.

Quoting you :

Vijaya wrote:
> Thanks for the reply Andre Warnier. It is not virus. It happened over the 
> week end while the download of signatures failed. It is that IIS is not 
> looking at the tomcat' webapps folder for the jsps through ISAPI filter. 
> When I try to delete isapi_redirector dll, I keep getting the error the 
> file is in use by another program. I'll try to install the latest version 
> of tomcat and see what happens.
>

[...]

>> After a long time I am having a problem that I cannot explain why is it 
>> happening. Help will be very much appreciated.
>>
>> Our portal www.eservicebazaar.com was working okay till last week. 
>> Suddenly we had the anti virus software, and link problem and after that 
>> the portal is not working okay.
>>
>> The current setting is
>> In IIS 6, I have the jakarta isapi filter set  and the default document 
>> only as and nothing else; All the portal related files are moved under 
>> inetpub/wwwroot except the jspfiles. jspfiles are located under 
>> tomcat../webapps/esb folder.
>> The index.html that is located in wwwroot folder has nothing other than 
>> calling index.jsp from webapps directory.
>> Till last friday, the portal was working okay and all of us could login 
>> to the portal from remote machines. last saturday, our link went down and 
>> when I connected the link back, I am not able to login to the portal both 
>> locally and remotely.
>> the url  invokes the index.html (means the name server, iis is working 
>> fine) but the index.jsp gives a 404 error.
>> I tried all possible things like deleting the jakarta virtual directory, 
>> recreating the reg entries, and deleting the isap_redirector2.dll and 
>> copying back from the backup version. Nothing is working.
>> Can any body help me what I need to do (reinstall IIS)?
>>
>
Unquote

Vijaya,
there is not much that can be done with the explanation above.
In summary :
- it was "working" last week, and is "not working" this week.
- something happened in-between, which may or may not involve a virus
- since then you have been modifying Registry entries, deleting/recreating 
files and/or
moving them around
- and still "nothing is working"

In normal circumstances, and to take a shortcut, I would probably tell you 
to
1) verify that Tomcat itself is working, by accessing your Tomcat 
application directly,
through Tomcat's own HTTP port
2) if Tomcat is working, then stop IIS, de-install isapi_redirector, and 
re-install it
properly according to the relevant on-line documentation.
3) and if you still have a problem then, turn on the logging feature of 
isapi_redirector,
check the logs and try to determine exactly what happens.

But, considering that you have already been making changes all over, 
including in the
Registry, it is not even certain that the isapi_redirector de-installation 
procedure can
work properly and will really clean up.

We do not have a crystal ball here, and we cannot see your real system setup 
nor what
happens to make it "not work". So unless you come back here with a really 
precise and
technical description of what you are doing, what happens, including a copy 
of the
relevant log messages, there is not more we could do.

Otherwise, my recommendation would still be the same : re-install this 
machine completely.
Or use another machine, where Windows and IIS and Tomcat are a "clean" 
install, add
isapi_redirector, and try it out. If it works, then compare with the machine 
that does not
work.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Hi.

Quoting you :

Vijaya wrote:
> Thanks for the reply Andre Warnier. It is not virus. It happened over 
> the week end while the download of signatures failed. It is that IIS is 
> not looking at the tomcat' webapps folder for the jsps through ISAPI 
> filter. When I try to delete isapi_redirector dll, I keep getting the 
> error the file is in use by another program. I'll try to install the 
> latest version of tomcat and see what happens.
> 

[...]

>> After a long time I am having a problem that I cannot explain why is 
>> it happening. Help will be very much appreciated.
>>
>> Our portal www.eservicebazaar.com was working okay till last week. 
>> Suddenly we had the anti virus software, and link problem and after 
>> that the portal is not working okay.
>>
>> The current setting is
>> In IIS 6, I have the jakarta isapi filter set  and the default 
>> document only as and nothing else; All the portal related files are 
>> moved under inetpub/wwwroot except the jspfiles. jspfiles are located 
>> under tomcat../webapps/esb folder.
>> The index.html that is located in wwwroot folder has nothing other 
>> than calling index.jsp from webapps directory.
>> Till last friday, the portal was working okay and all of us could 
>> login to the portal from remote machines. last saturday, our link went 
>> down and when I connected the link back, I am not able to login to the 
>> portal both locally and remotely.
>> the url  invokes the index.html (means the name server, iis is working 
>> fine) but the index.jsp gives a 404 error.
>> I tried all possible things like deleting the jakarta virtual 
>> directory, recreating the reg entries, and deleting the 
>> isap_redirector2.dll and copying back from the backup version. Nothing 
>> is working.
>> Can any body help me what I need to do (reinstall IIS)?
>>
> 
Unquote

Vijaya,
there is not much that can be done with the explanation above.
In summary :
- it was "working" last week, and is "not working" this week.
- something happened in-between, which may or may not involve a virus
- since then you have been modifying Registry entries, deleting/recreating files and/or 
moving them around
- and still "nothing is working"

In normal circumstances, and to take a shortcut, I would probably tell you to
1) verify that Tomcat itself is working, by accessing your Tomcat application directly, 
through Tomcat's own HTTP port
2) if Tomcat is working, then stop IIS, de-install isapi_redirector, and re-install it 
properly according to the relevant on-line documentation.
3) and if you still have a problem then, turn on the logging feature of isapi_redirector, 
check the logs and try to determine exactly what happens.

But, considering that you have already been making changes all over, including in the 
Registry, it is not even certain that the isapi_redirector de-installation procedure can 
work properly and will really clean up.

We do not have a crystal ball here, and we cannot see your real system setup nor what 
happens to make it "not work". So unless you come back here with a really precise and 
technical description of what you are doing, what happens, including a copy of the 
relevant log messages, there is not more we could do.

Otherwise, my recommendation would still be the same : re-install this machine completely.
Or use another machine, where Windows and IIS and Tomcat are a "clean" install, add 
isapi_redirector, and try it out. If it works, then compare with the machine that does not 
work.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by Vijaya <sv...@solutionscraft.com>.
Thanks for the reply Andre Warnier. It is not virus. It happened over the 
week end while the download of signatures failed. It is that IIS is not 
looking at the tomcat' webapps folder for the jsps through ISAPI filter. 
When I try to delete isapi_redirector dll, I keep getting the error the file 
is in use by another program. I'll try to install the latest version of 
tomcat and see what happens.

Vijaya

-----Original Message----- 
From: André Warnier
Sent: Tuesday, June 12, 2012 3:47 PM
To: Tomcat Users List
Subject: Re: iis not looking for jsp in tomcat webapps folder

Vijaya wrote:
> Hi All,
>
> After a long time I am having a problem that I cannot explain why is it 
> happening. Help will be very much appreciated.
>
> Our portal www.eservicebazaar.com was working okay till last week. 
> Suddenly we had the anti virus software, and link problem and after that 
> the portal is not working okay.
>
> The current setting is
> In IIS 6, I have the jakarta isapi filter set  and the default document 
> only as and nothing else; All the portal related files are moved under 
> inetpub/wwwroot except the jspfiles. jspfiles are located under 
> tomcat../webapps/esb folder.
> The index.html that is located in wwwroot folder has nothing other than 
> calling index.jsp from webapps directory.
> Till last friday, the portal was working okay and all of us could login to 
> the portal from remote machines. last saturday, our link went down and 
> when I connected the link back, I am not able to login to the portal both 
> locally and remotely.
> the url  invokes the index.html (means the name server, iis is working 
> fine) but the index.jsp gives a 404 error.
> I tried all possible things like deleting the jakarta virtual directory, 
> recreating the reg entries, and deleting the isap_redirector2.dll and 
> copying back from the backup version. Nothing is working.
> Can any body help me what I need to do (reinstall IIS)?
>

If you suspect that there was a virus infection, then the prudent thing to 
do is to take
the server off the network, and re-install it completely (Windows included).
I would say specially if this is a web server, because you may be spreading 
this virus
much more widely than you even think.  You probably already have.

As for other help, what do you expect ? if it is a virus, then who knows 
what it may have
corrupted.  Re-install the system, and the next time, choose a platform and 
software that
is less suceptible to that kind of thing (hint).





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: iis not looking for jsp in tomcat webapps folder

Posted by André Warnier <aw...@ice-sa.com>.
Vijaya wrote:
> Hi All,
> 
> After a long time I am having a problem that I cannot explain why is it happening. Help will be very much appreciated.
> 
> Our portal www.eservicebazaar.com was working okay till last week. Suddenly we had the anti virus software, and link problem and after that the portal is not working okay.
> 
> The current setting is
> In IIS 6, I have the jakarta isapi filter set  and the default document only as and nothing else; All the portal related files are moved under inetpub/wwwroot except the jspfiles. jspfiles are located under tomcat../webapps/esb folder.
> The index.html that is located in wwwroot folder has nothing other than calling index.jsp from webapps directory.
> Till last friday, the portal was working okay and all of us could login to the portal from remote machines. last saturday, our link went down and when I connected the link back, I am not able to login to the portal both locally and remotely. 
> 
> the url  invokes the index.html (means the name server, iis is working fine) but the index.jsp gives a 404 error. 
> 
> I tried all possible things like deleting the jakarta virtual directory, recreating the reg entries, and deleting the isap_redirector2.dll and copying back from the backup version. Nothing is working. 
> 
> Can any body help me what I need to do (reinstall IIS)?
> 

If you suspect that there was a virus infection, then the prudent thing to do is to take 
the server off the network, and re-install it completely (Windows included).
I would say specially if this is a web server, because you may be spreading this virus 
much more widely than you even think.  You probably already have.

As for other help, what do you expect ? if it is a virus, then who knows what it may have 
corrupted.  Re-install the system, and the next time, choose a platform and software that 
is less suceptible to that kind of thing (hint).





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org