Re: A very weird problem

2001-03-23 Thread Rajeev Jha

well we tried this on tomcat running on win9x box and it is getting added(!),
in log file you can see adding context /at though docBase points to some bogus
location.
did u try to stop+start the server after adding these contexts ?

Pradeep Kumar wrote:

> I have got Tomcat 3.2.1 on the Solaris box. I have got a directory called
> "at" under webapps directory. The problem is that when I start the tomcat
> server, my context "at" doesn't get loaded (I don't see the message "Adding
> context Ctx( /at )").
> The examples and test context does get loaded. I even tried to put the at
> directory out of the webapp directory and defined in the context in the
> server.xml file. But the "at" context doesn't load.
> The real weird behavior is that, when I rename the test directory to test1,
> the test context is loaded.
> I tried all kind of things like, creating a war file of "at", installing
> tomcat again. But can't fix this problem. Even the log file is not created
> under logs directory.
>
> I am really having very tough time with this, your help here is highly
> appreciated.
>
> Thanks in advance,
> pradeep

--
eagles may soar, but weasels don't get sucked into jet engines
 -- anonymous psycopath on ./
---
Rajeev Jha
Indegene Lifesystems P Ltd.
130, 1st cross , 5th block, kormangla , bang!ore - 95
voice -- +91-80- 55243 14/24

http://www.indegene.com





Re: urgent help please

2001-03-23 Thread Rajeev Jha

first thing is to check the log files , if it has something like:
loaded context /abcd
or not.if this context is loaded as per the log files then check the docBase
attribute of your context , whether it is pointing to correct physical directory
or not. and check for possible case-mismatch also.

Pradeep Kumar wrote:

> Hello all,
> I need some urgent help from you guys.
>
> I have tomcat 3.2.1 on solaris box. The problem is when start the server, my
> context is not loading. I have a directory defined under webapps called at
> and it has WEB-INF directory and web.xml
>
> Please give me a quick reply if you know about this.
>
> Thanks,

--
eagles may soar, but weasels don't get sucked into jet engines
 -- anonymous psycopath on ./
-------
Rajeev Jha
Indegene Lifesystems P Ltd.
130, 1st cross , 5th block, kormangla , bang!ore - 95
voice -- +91-80- 55243 14/24

http://www.indegene.com





standalone tomcat servers : security risks

2001-03-19 Thread Rajeev Jha

hi
is there any resource apart from the user's guide which addresses security
issues and solutions when running tomcat as a stand alone server on some port ?
if there are some known issues/ fixes ?

regards


--
eagles may soar, but weasels don't get sucked into jet engines
 -- anonymous psycopath on ./
-------
Rajeev Jha
Indegene Lifesystems P Ltd.
130, 1st cross , 5th block, kormangla , bang!ore - 95
voice -- +91-80- 55243 14/24

http://www.indegene.com





passing IIS session variable to stand-alone tomcat

2001-03-17 Thread Rajeev Jha

Hi list
we have tomcat 3.2 running as a stand-alone service on win NT4.0 m/c. we are
also running IIS 4.0 on same m/c..  applications (mostly asp pages) running on
IIS use session variables. basically when user logs on to the IIS server for
first time, his login id is subsequently used as session -id. now from one asp
page on IIS server we have to go to jsp pages running on tomcat. how can we
pass the session variable that we are using in asp pages on IIS to jsp pages on
tomcat ?

 on IIS : some asp page using session-id
 and it has link to one HTML page hosted on tomcat
this HTML page is submitted to a jsp page on tomcat
now in this jsp page we want the session-id that was being used in asp page.

would appreciate ur help

--
eagles may soar, but weasels don't get sucked into jet engines
 -- anonymous psycopath on ./
---
Rajeev Jha
Indegene Lifesystems P Ltd.
130, 1st cross , 5th block, kormangla , bang!ore - 95
voice -- +91-80- 55243 14/24

http://www.indegene.com





Re: Tomcat on IIS

2000-12-14 Thread Rajeev Jha

hi list
it is possible to use tomcat with IIS and it works fine. things u need to install r 
the following :
1. jdk1.2.2 / jdk1.3 or some other JVM if u like
2. then install tomcat (binary release is there , so u don't have to do anything)
3. check the stand alone tomcat
4. if u want, u can make jakarta-tomcat a service on ur NT machine
5. now use the isapi_redirect.dll to server jsp pages/particular contexts with IIS
6. tomcat user guide has all the information , and basically on NT u don't have to do 
much anyway!!

HTH

Stief Dirckx wrote:

> Hello
>
> I'm a webdeveloper for some time now. Up to now I only developed websites
> using IIS and ASP technologie. Now I'm interested in starting to use JSP.
> Because I haven't got the possibility to install a new webserver (Apache or
> WebSpher or ...) I wan't to enable JSP on IIS. I've read about the Tomcat
> project, that it made possible to run JSP on IIS whitout using Apache. I've
> tried to install it using the Tomcat documentation
> (http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html) but
> it's not all that clear to me. It's not clear to me what order I have to
> use to install everything properly. Do I also need JDK, how do I install
> that? How do I install Tomcat properly and configure it? How do I use the
> ISAPI redirector? What i'm asking is the follow: is there a document that
> really gives a good order on installing, activating and configuring Tomcat
> on IIS. I do know some things about webservers and Windows, so technically
> it won't be a problem. It's just the correct order that important to me and
> that it cover everything from scratch to a running a servlet. Please help
> me ASAP.
>
> Met vriendelijke groeten
>
> 
>---
>
>

--
Smith & Wesson: The original point-and-click interface.
---
Rajeev Jha  http://www.indegene.com
Indegene Lifesystems (P) Ltd.
  130, 1st cross , 5th Block ,
  Kormangla   bang !ore 560095

---
voice -- +91(80) 5524314 5524324  Email: [EMAIL PROTECTED]
---





Re: Startup problem

2000-12-14 Thread Rajeev Jha

hi list
i have installed tomcat3.2 on win 98 and it's working fine. just do 2 things
1. open tomcat.bat in wordpad or ms-word and then save it
2. add following line  to ur config.sys file
SHELL=c:\command.com  /E:4096  /P

restart and it should work fine. just check TOMCAT_HOME and JAVA_HOME
in tomcat.bat

Narayanan wrote:

>I  have installed tomcat 3.2.1  in WIN  98 and i have set all the
> classpath in addition to java_home and tomcat_home .
>When i start the tomcat using >startup it is not opening and  some
>out of enviroinment space error is comming
>
>   sometimes it is opening in a new window and suddenly the new window
>   vanishes .
>
>   What may be the problem ...is there any problem in my class path settings
> r have anybody tried
>   installation in 98 . I am just trying out a standalone tomcat.
>
>   thanks in advance .
>
>  Regards
>  Narayanan

--
Smith & Wesson: The original point-and-click interface.
-------
Rajeev Jha Indegene Lifesystems (P) Ltd.
  130, 1st cross , 5th Block ,
  Kormangla   bang !ore 560095
http://www.indegene.com
---
voice -- +91(80) 5524314 5524324  Email: [EMAIL PROTECTED]
---





Re: error 401 : IIS redirector

2000-12-14 Thread Rajeev Jha

hi
got the problem. error 401 was coming because of the "access violation". the
/jakarta virtual directory, when mapped to c:\jakarta  was not accessible.
when i mapped it to c:\inetpub\jakarta and put the iis_redirect.dll there,
it started working. i know my fault now , but see new to IIS :o|  plus the
log_file should be iis_redirect.log and not isapi.log. (as in 3.2
conf/iis_redirect.reg-auto file)

best regards

Rajeev Jha wrote:

> HI
> trying to set up tomcat to work with IIS4.0. but i am unable to redirect
>
> requests from IIS to tomcat . the IIS logs show the following :
>
> 07:03:19 127.0.0.1 GET /samples/images/powered.gif 304
> 07:03:19 127.0.0.1 GET /jakarta/isapi_redirect.dll 401
>
> and the isapi.log file has the following messages:
>
> [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,
> NULL parameter
> [jk_uri_worker_map.c (184)]: In
> jk_uri_worker_map_t::uri_worker_map_free, NULL parameters
>
> i am trying to access http://localhost/examples/jsp/index.html
>
> to be sure, i have checked the registry entries, conf files and the
> status of "jakarta" filter on my server machine is a green arrow
> pointing up. in short have tried to follow everything given in the
> trouble shooting section. if any body has any clue, pls let me know . i
> would appreciate your help very much.
>
>

--
Smith & Wesson: The original point-and-click interface.
---
Rajeev Jha

  Indegene Lifesystems (P) Ltd.
  130, 1st cross , 5th Block ,
  Kormangla   bang !ore 560095

---
voice -- +91(80) 5524314 5524324  Email: [EMAIL PROTECTED]
---





error 401 : IIS redirector

2000-12-13 Thread Rajeev Jha

HI
trying to set up tomcat to work with IIS4.0. but i am unable to redirect

requests from IIS to tomcat . the IIS logs show the following :

07:03:19 127.0.0.1 GET /samples/images/powered.gif 304
07:03:19 127.0.0.1 GET /jakarta/isapi_redirect.dll 401

and the isapi.log file has the following messages:

[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL parameter
[jk_uri_worker_map.c (184)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

i am trying to access http://localhost/examples/jsp/index.html

to be sure, i have checked the registry entries, conf files and the
status of "jakarta" filter on my server machine is a green arrow
pointing up. in short have tried to follow everything given in the
trouble shooting section. if any body has any clue, pls let me know . i
would appreciate your help very much.

--
There are two major products that come out of Berkeley: LSD and UNIX. We
don't believe this to be a coincidence.

--------
Rajeev Jha   Email: [EMAIL PROTECTED]
Indegene Lifesystems (P) Ltd.
130, 1st cross , 5th Block ,Kormangla   bang !ore 560095

voice - +91(80) 5524314 5524324






error 401 : isapi_redirect.dll

2000-12-12 Thread Rajeev Jha

HI
trying to set up tomcat to work with IIS4.0. but i am unable to redirect
requests from IIS to tomcat . the IIS logs show the following :

07:03:19 127.0.0.1 GET /samples/images/powered.gif 304
07:03:19 127.0.0.1 GET /jakarta/isapi_redirect.dll 401

and the isapi.log file has the following messages:

[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL parameter
[jk_uri_worker_map.c (184)]: In
jk_uri_worker_map_t::uri_worker_map_free, NULL parameters

to be sure, i have checked the registry entries, conf files and the
status of "jakarta" filter on my server machine is a green arrow
pointing up. in short have tried to follow everything given in the
trouble shooting section. if any body has any clue, pls let me know . i
would appreciate your help very much. pls cc to [EMAIL PROTECTED]
also as i am not on the list


regards


--
 NT is an OS, at least it used to be.
 -- from one /. article

Rajeev Jha
---
Indegene Lifesystems (P) Ltd.
130, 1st cross , 5th Block
Kormangla , bang !ore 560095
---
voice - +91(80) 55243 14/24
---