add me to the tomcat mailing list
403: Forbidden error, you are unable to access /examples from this server
Hi all, I have installed apache 1.3.11 and tomcat 3.2.2 with mod_jk, apache and tomcat are working perfect separately. I have also installed jetspeed and cocoon (web applications) in the webapps directory, When i point my browser to http://localhost:8080/jetspeed/ i am able to view the page, but when i point my browser to http://localhost/jetspeed i get this error Forbidden You don't have permission to access /cocoon on this server. Apache/1.3.11 Server at stonebox Port 80 Can anyone suggest how to overcome this problem. bye, raghu "black holes are,when GOD is dividing by zero"
Fw: Forbidden error, you are unable to access /examples from this server: please help, veryurgent
From: raghu To: tomcat Sent: Tuesday, July 24, 2001 6:30 PM Subject: 403: Forbidden error, you are unable to access /examples from this server Hi all, I have installed apache 1.3.11 and tomcat 3.2.2 with mod_jk, apache and tomcat are working perfect separately. I have also installed jetspeed and cocoon (web applications) in the webapps directory, When i point my browser to http://localhost:8080/jetspeed/ i am able to view the page, but when i point my browser to http://localhost/jetspeed i get this error Forbidden You don't have permission to access /cocoon on this server. Apache/1.3.11 Server at stonebox Port 80 Can anyone suggest how to overcome this problem. bye, raghu "black holes are,when GOD is dividing by zero"
Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent
Hello, I have included the mod_jk.conf-auto file in my httpd.conf. Should i mount the directories separately? My feeling is that mod_jk.conf takes care of it "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 2:19 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Have you checked your Apache httpd.conf file ? have you mounted your directory in your apache? Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 12:54 PMTo: tomcatSubject: Fw: Forbidden error, you are unable to access /examples from this server: please help, veryurgent From: raghu To: tomcat Sent: Tuesday, July 24, 2001 6:30 PM Subject: 403: Forbidden error, you are unable to access /examples from this server Hi all, I have installed apache 1.3.11 and tomcat 3.2.2 with mod_jk, apache and tomcat are working perfect separately. I have also installed jetspeed and cocoon (web applications) in the webapps directory, When i point my browser to http://localhost:8080/jetspeed/ i am able to view the page, but when i point my browser to http://localhost/jetspeed i get this error Forbidden You don't have permission to access /cocoon on this server. Apache/1.3.11 Server at stonebox Port 80 Can anyone suggest how to overcome this problem. bye, raghu "black holes are,when GOD is dividing by zero"
Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent
i did as u said, but still i am getting the same error. I now doubt if mod_jk.so is working properly or not? No, i am running only tomcat with apache, please help "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 4:46 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent try mounting a Alias directory named "jetspeed" and tell apache its location.. yes, as you tell mod_jk should take care of it. But I don't think their would be any harm in having a alias? (I have mounted all the dir with a alias name along with my mod_jk configuration) one other possibility would be, check if you are running IIS or PWS with Apache, if that is the case. either stop them or assign them a different port number. Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 3:10 PMTo: [EMAIL PROTECTED]Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Hello, I have included the mod_jk.conf-auto file in my httpd.conf. Should i mount the directories separately? My feeling is that mod_jk.conf takes care of it "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 2:19 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Have you checked your Apache httpd.conf file ? have you mounted your directory in your apache? Regards Senthil Kumar.R -----Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 12:54 PMTo: tomcatSubject: Fw: Forbidden error, you are unable to access /examples from this server: please help, veryurgent From: raghu To: tomcat Sent: Tuesday, July 24, 2001 6:30 PM Subject: 403: Forbidden error, you are unable to access /examples from this server Hi all, I have installed apache 1.3.11 and tomcat 3.2.2 with mod_jk, apache and tomcat are working perfect separately. I have also installed jetspeed and cocoon (web applications) in the webapps directory, When i point my browser to http://localhost:8080/jetspeed/ i am able to view the page, but when i point my browser to http://localhost/jetspeed i get this error Forbidden You don't have permission to access /cocoon on this server. Apache/1.3.11 Server at stonebox Port 80 Can anyone suggest how to overcome this problem. bye, raghu "black holes are,when GOD is dividing by zero"
Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent
Hello, The 2nd point which u mentioned did not work, i.e. the when i try to run examples via apache(http://localhost/examples/ i get the same Forbidden error. "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 6:11 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, very urgent With the info.. I could not think of any specific reasons which might stop you to set this up.. just try going through following tasks.. 1. ref. to mod_jk how to manual which you have got along with tomcat, and set up your mod_jk with apache ( you have to mount mod_jk in apache like this (hey, are u doing your own mod_jk .dll file from source?if that is the case check your source for any possible error which can be induced in the source??) "include /jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto" ( I would recommend using conf-auto file, so that your tomcat will give all the details) 2.check your apache and tomcat. (just test run your example servlet via apache) If your example application works fine.. Go ahead and mount a alias directory and try calling jet speed. in case you get some error, check them in apache log and tomcat log for error details, (I think that should help you solve the error) let me know what is the error you are getting...So that I can try to get to the core issue. Also note, if you are using winNT, check for environment variables setting too for tomcat_home, Apache_home and java_home settings, since in your tomcat configuration files, it picks up directory details calling this environment variables. Note, check if your tools.jar file is accessible by your system(it should be in system path) Hope this helps.. Cheers Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 5:27 PMTo: [EMAIL PROTECTED]Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent i did as u said, but still i am getting the same error. I now doubt if mod_jk.so is working properly or not? No, i am running only tomcat with apache, please help "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 4:46 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent try mounting a Alias directory named "jetspeed" and tell apache its location.. yes, as you tell mod_jk should take care of it. But I don't think their would be any harm in having a alias? (I have mounted all the dir with a alias name along with my mod_jk configuration) one other possibility would be, check if you are running IIS or PWS with Apache, if that is the case. either stop them or assign them a different port number. Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 3:10 PMTo: [EMAIL PROTECTED]Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Hello, I have included the mod_jk.conf-auto file in my httpd.conf. Should i mount the directories separately? My feeling is that mod_jk.conf takes care of it "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 2:19 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Have you checked your Apache httpd.conf file ? have you mounted your directory in your apache? Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 12:54 PMTo: tomcatSubject: Fw: Forbidden error, you are unable to access /examples from this server: please help, veryurgent From: raghu To: tomcat Sent: Tuesday, July 24, 2001 6:30 PM Subject: 403: Forbidden error, you are u
Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent
hey, can anyone give nme their compiled binary of mod_jk.so for apache 1.3.11. I am running tomcat 3.2.2 "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 6:11 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, very urgent With the info.. I could not think of any specific reasons which might stop you to set this up.. just try going through following tasks.. 1. ref. to mod_jk how to manual which you have got along with tomcat, and set up your mod_jk with apache ( you have to mount mod_jk in apache like this (hey, are u doing your own mod_jk .dll file from source?if that is the case check your source for any possible error which can be induced in the source??) "include /jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto" ( I would recommend using conf-auto file, so that your tomcat will give all the details) 2.check your apache and tomcat. (just test run your example servlet via apache) If your example application works fine.. Go ahead and mount a alias directory and try calling jet speed. in case you get some error, check them in apache log and tomcat log for error details, (I think that should help you solve the error) let me know what is the error you are getting...So that I can try to get to the core issue. Also note, if you are using winNT, check for environment variables setting too for tomcat_home, Apache_home and java_home settings, since in your tomcat configuration files, it picks up directory details calling this environment variables. Note, check if your tools.jar file is accessible by your system(it should be in system path) Hope this helps.. Cheers Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 5:27 PMTo: [EMAIL PROTECTED]Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent i did as u said, but still i am getting the same error. I now doubt if mod_jk.so is working properly or not? No, i am running only tomcat with apache, please help "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 4:46 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent try mounting a Alias directory named "jetspeed" and tell apache its location.. yes, as you tell mod_jk should take care of it. But I don't think their would be any harm in having a alias? (I have mounted all the dir with a alias name along with my mod_jk configuration) one other possibility would be, check if you are running IIS or PWS with Apache, if that is the case. either stop them or assign them a different port number. Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 3:10 PMTo: [EMAIL PROTECTED]Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Hello, I have included the mod_jk.conf-auto file in my httpd.conf. Should i mount the directories separately? My feeling is that mod_jk.conf takes care of it "black holes are,when GOD is dividing by zero" - Original Message - From: Senthil Kumar Rajamanickam To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 2:19 PM Subject: RE: Forbidden error, you are unable to access /examples from this server: please help, veryurgent Have you checked your Apache httpd.conf file ? have you mounted your directory in your apache? Regards Senthil Kumar.R -Original Message-From: raghu [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 25, 2001 12:54 PMTo: tomcatSubject: Fw: Forbidden error, you are unable to access /examples from this server: please help, veryurgent From: raghu To: tomcat Sent: Tuesday, July 24, 2001 6:30 PM Subject: 403: Forbidden error, you are unable to access /examples from t
Re: Help for VHost...
Hi loic, Can u send me ur test code and the configuration files. "black holes are, when GOD is dividing by zero" - Original Message - From: Loïc Lefèvre <[EMAIL PROTECTED]> To: Mailing List Tomcat <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 9:02 PM Subject: Help for VHost... > > Hi, > After many problems, my servlet run under > windows NT / Apache / Tomcat 3.2.3 / mod_jk. > This url helped me: > > http://mikal.org/interests/java/tomcat/archive/view?mesg=24718 > > Thanks Jeff Kilbride > > Loïc Lefèvre > > note: if one want my servlet test java code + configuration files, email > me, >I'll put them here ;) >
Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent
Hi all, I checked my apache htdocs and saw that all files do have the readme permissions. My mod_jk.log looks like this, i think the error lies here. Please check and suggest some solutions. > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter "black holes are, when GOD is dividing by zero" - Original Message - From: David Smith <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 6:37 PM Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent Just a thought on this thread and I've been guilty of this one as well, but you might also want to check directory and file permissions. If the user apache is running under does not have at least read permissions, the whole thing will fail regardless of settings in any .conf file. On Thursday 26 July 2001 01:28 am, you wrote: > hey, > can anyone give nme their compiled binary of mod_jk.so for apache 1.3.11. > I am running tomcat 3.2.2 > > > "black holes are, > when GOD is dividing by zero" > - Original Message - > From: Senthil Kumar Rajamanickam > To: [EMAIL PROTECTED] > Sent: Wednesday, July 25, 2001 6:11 PM > Subject: RE: Forbidden error, you are unable to access /examples from > this server: please help, very urgent > > > With the info.. I could not think of any specific reasons which might > stop you to set this up.. > > just try going through following tasks.. > > 1. ref. to mod_jk how to manual which you have got along with tomcat, and > set up your mod_jk with apache ( you have to mount mod_jk in apache like > this (hey, are u doing your own mod_jk .dll file from source?if that is the > case check your source for any possible error which can be induced in the > source??) > > "include /jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto" > ( I would recommend using conf-auto file, so that your tomcat will give > all the details) > > 2.check your apache and tomcat. (just test run your example servlet via > apache) If your example application works fine.. > > Go ahead and mount a alias directory and try calling jet speed. > in case you get some error, check them in apache log and tomcat log for > error details, (I think that should help you solve the error) > > let me know what is the error you are getting...So that I can try to get > to the core issue. > > Also note, if you are using winNT, check for environment variables > setting too for tomcat_home, Apache_home and java_home settings, since in > your tomcat configuration files, it picks up directory details calling this > environment variables. > > Note, check if your tools.jar file is accessible by your system(it should > be in system path) > > Hope this helps.. > Cheers > Senthil Kumar.R > > > -Original Message- > From: raghu [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 5:27 PM > To: [EMAIL PROTECTED] > Subject: Re: Forbidden error, you are unable to access /examples from > this server: please help, veryurgent > > > i did as u said, but still i am getting the same error. I now doubt if > mod_jk.so is working pro
Forbidden error, you are unable to access /examples from this server: please help, very urgent
"black holes are, when GOD is dividing by zero" - Original Message ----- From: raghu <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 6:45 PM Subject: Re: Forbidden error, you are unable to access /examples from this server: please help, very urgent > Hi all, > I checked my apache htdocs and saw that all files do have the readme > permissions. > My mod_jk.log looks like this, i think the error lies here. Please check > and suggest some solutions. > > -- -- > > > > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL parameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > NULL parameter > > > "black holes are, > when GOD is dividing by zero" > - Original Message - > From: David Smith <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 26, 2001 6:37 PM > Subject: Re: Forbidden error, you are unable to access /examples from this > server: please help, very urgent > > > Just a thought on this thread and I've been guilty of this one as well, but > you might also want to check directory and file permissions. If the user > apache is running under does not have at least read permissions, the whole > thing will fail regardless of settings in any .conf file. > > On Thursday 26 July 2001 01:28 am, you wrote: > > hey, > > can anyone give nme their compiled binary of mod_jk.so for apache 1.3.11. > > I am running tomcat 3.2.2 > > > > > > "black holes are, > > when GOD is dividing by zero" > > - Original Message - > > From: Senthil Kumar Rajamanickam > > To: [EMAIL PROTECTED] > > Sent: Wednesday, July 25, 2001 6:11 PM > > Subject: RE: Forbidden error, you are unable to access /examples from > > this server: please help, very urgent > > > > > > With the info.. I could not think of any specific reasons which might > > stop you to set this up.. > > > > just try going through following tasks.. > > > > 1. ref. to mod_jk how to manual which you have got along with tomcat, > and > > set up your mod_jk with apache ( you have to mount mod_jk in apache like > > this (hey, are u doing your own mod_jk .dll file from source?if that is > the > > case check your source for any possible error which can be induced in the > > source??) > > > > "include /jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto" > > ( I would recommend using conf-auto file, so that your tomcat will give > > all the details) > > > > 2.check your apache and tomcat. (just test run your example servlet via > > apache) If your example application works fine.. > > > > Go ahead and mount a alias directory and try calling jet speed. > > in case you get some error, check them in apache log and tomcat log for > > error details, (I think that should help you solve the error) > > > > let me know what is the error you are getting...So that I can try to get > > to the core issue. > > > > Also note, if you are u
403: forbidden error
> Hello guys, > I am running tomcat 3.2.2 with apache 1.3.11 on SuSE Linux 7.1,and > communication between them is thro' mod_jk.so > I compiled the src of tomcat and copied the mod_jk.so in my /apache/libexec. > I have also installed jetspeed and cocoon within my webapps. > The problems i am facing are, > 1. When i access tomcat standalone , everything works fine. But when i > access cocoon or jetspeed(or for that matter examples, test of tomcat) thru > apache http://localhost/cocoon , i get a 403: forbidden error. > Forbidden > You don't have permission to access /cocoon/ on this server. > > Apache/1.3.11 Server at stonebox Port 80 > > > > > Also my mod_jk.log shows the following lines repeatedly, > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL > par > ameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL p > arameters > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL > par > ameter > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > NULL p > arameters > > > 2. Is my mod_jk.so working properly? > I have asked this questions already on the mailing list, but i haven't got > any answers "black holes are, when GOD is dividing by zero"
Re: 403: forbidden error
its me again, also i am running both tomcat and apache as root "black holes are, when GOD is dividing by zero" - Original Message - From: David Smith <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 7:09 PM Subject: Re: 403: forbidden error I know I've responded to this before without being much help, but I'm willing to volunteer hopefully a more constructive answer this time. I have Cocoon running successfully after doing a lot of hunting on the web for answers to different problems (and one or two hacks). Could you post the mod_jk.conf and relavant parts of the Apache file you're using (ie sections relating to permissions)? If mod_jk isn't working, Apache's response should probably be more like 500 Server error. Anyone with more knowledge of mod_jk internals could give a better answer on this. I think there's possibly something in Apache's config that's preventing the request from being fulfilled. Maybe a Deny directive or an Order directive switching up Allow and Deny the wrong way to. As a test, you could place a static page on the servlet's directory and see if you can access it. As a further test, comment our all the directives relating to mod_jk in mod_jk.conf and restart apache leaving only the apache specific directives in place. This effectively takes mod_jk out of the picture (mod_jk.so shouldn't even load at this point) and only tests Apache's security settings. Just my thoughts on the subject. Anyone else? On Wednesday 01 August 2001 12:01 am, you wrote: > > Hello guys, > > I am running tomcat 3.2.2 with apache 1.3.11 on SuSE Linux 7.1,and > > communication between them is thro' mod_jk.so > > I compiled the src of tomcat and copied the mod_jk.so in my > > /apache/libexec. > > > I have also installed jetspeed and cocoon within my webapps. > > The problems i am facing are, > > 1. When i access tomcat standalone , everything works fine. But when i > > access cocoon or jetspeed(or for that matter examples, test of tomcat) > > thru > > > apache http://localhost/cocoon , i get a 403: forbidden error. > > Forbidden > > You don't have permission to access /cocoon/ on this server. > > > > Apache/1.3.11 Server at stonebox Port 80 > > > > > > > > > > Also my mod_jk.log shows the following lines repeatedly, > > > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > > NULL > > > par > > ameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > > NULL p > > arameters > > [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, > > NULL > > > par > > ameter > > [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, > > NULL p > > arameters > > > > > > 2. Is my mod_jk.so working properly? > > I have asked this questions already on the mailing list, but i haven't > > got > > > any answers > > "black holes are, > when GOD is dividing by zero" -- David Smith, CISSP Network Operations Supervisor Cornell University Department of Entomology 2121 Comstock Hall Ithaca, NY 14853 Phone: (607) 255-9571 Fax: (607) 255-0939 Email: [EMAIL PROTECTED]
mod_jk.so for solaris8
Hello all, Can any one give me the binary file of mod_jk.so. I am running tomcat 3.2.2 and apache1.3.14 on solaris 8. Please reply. Thanx, Raghu "black holes are, when GOD is dividing by zero"
error while compiling mod_jk.so on solaris 8
Hello, I am getting this error while compiling mod_jkso on solaris 8 ../jk/jk_jni_worker.c:67: jni.h: No such file or directory ../jk/jk_jni_worker.c:770: warning: #warning --- ../jk/jk_jni_worker.c:771: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR JAVA 2 FEATURES DISABLED ../jk/jk_jni_worker.c:772: warning: #warning --- apxs:Break: Command failed with rc=1 can any one give me a solution. thanx, raghu "black holes are, when GOD is dividing by zero"
mod_jk.so unable to compile, please help. Urgent
../jk/jk_jni_worker.c:67: jni.h: No such file or directory ../jk/jk_jni_worker.c:770: warning: #warning --- ../jk/jk_jni_worker.c:771: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR JAVA 2 FEATURES DISABLED ../jk/jk_jni_worker.c:772: warning: #warning --- apxs:Break: Command failed with rc=1 "black holes are, when GOD is dividing by zero"
please reply?
Hi, I had installed Tomcat 3.2.2, Apache 1.3.20 and Jetspeed 1.3a1. Everythign was fine, except that i could not receive any mails(the mails which has secret key). I had configured a binary version of Tomcat 3.2.2 which did not have any webadapter(mod_jk.so) Is it essential to have mod_jk? Now, i have downloaded the source for Tomcat 3.2.2, and i am unable to build the tomcat. I am getting the error Exception in "Main" thread : java.lang.NoClassDefFoundError: org/apache/tools/Main What may be the problem?? And which version of jetspeed should i use for receiving the mails. Please reply fast, as my project deadline is fast approaching. bye, raghu
Redirecting HTTP requests to HTTPS
Experts, Need your help!! I have both the HTTP (port 8080) and HTTPS (Port 8443) working with my Tomcat server (Version 3.2.. I believe). So is there any way I can get all the HTTP requests redirected to HTTPS by Tomcat? Something by tweaking the Tomcat configuration files? I do not have an Apache server there to serve Tomcat, otherwise I would have used the mod_rewrite to get that done. Thanks and your help will be appreciated. Raghu
Re: Redirecting HTTP requests to HTTPS
I did that... now I'm getting a message "SSL required to access this page" when I try to use HTTP. I thought it will automatically get redirected HTTPS. Am I missing anything? or is that how it supposed to work? Thanks, Raghu - Original Message - From: "Steph Richardson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2003 5:56 PM Subject: RE: Redirecting HTTP requests to HTTPS > Adding the following lines to your deployment descriptor ( web.xml ) will do the trick : > > > > > Entire Application > /* > > > CONFIDENTIAL > > > > > > However - Does anyone know how to configure this in server.xml rather than web.xml. I would really be able to configure it on a > server by server basis ( e.g. development vs. production machines ). ? > > > Steph > > > > > > > > -Original Message- > > From: Raghu Karamel [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 11, 2003 8:49 PM > > To: [EMAIL PROTECTED] > > Subject: Redirecting HTTP requests to HTTPS > > > > > > Experts, > > > > Need your help!! > > > > I have both the HTTP (port 8080) and HTTPS (Port 8443) working with my Tomcat server (Version 3.2.. I believe). > > > > So is there any way I can get all the HTTP requests redirected to HTTPS by Tomcat? Something by tweaking the Tomcat > > configuration files? > > > > I do not have an Apache server there to serve Tomcat, otherwise I would have used the mod_rewrite to get that done. > > > > Thanks and your help will be appreciated. > > > > Raghu > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to convert SSL Certificates and Private Keys to Tomcat (JKS) format?
Hi Experts, Need your help on figuring out how to do the following. I have the private key (Generated using OpenSSH) and the certificate signed by Verisign. Both are in Base-64 encoded format. How can I get both the private key and certificate imported into Tomcat Keystore? In other words, what do I need to do to get the verisign certificate working with my tomcat server? Do I need to just import the certificate or both the certificate and the private key? Your help will be appreciated. Thanks, Raghu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to "start" a web app?
Hey Dave, I have one problem Action Class i will tell u the clean scenario.. It is related with the session validation and invalidation in the same page.. 1) i am logging into the site and retrieved my trip details... 2) and i started Initial Search with the same user name and password...coz it maintains my session.. 3) i went upto 3 steps... (ex: Review Trip page). there it should ask only the continue button.. i am getting it. and i logged out from that session 4) and in the same screen i started my initial search again.. 5) when i get into the review trip page it should ask for two options.. one is login option and another on is continue option.. hence i logged out from the first session.. 6) But i am getting only the continue option... when i looked into application.log file, it is given me the same session id and same JSessionId... Please tell me how can i come over this problem here is the code change i have made to validate and invalidate the session:--- private void validateSession( HttpServletRequest request, HttpServletResponse response, SessionManager sessionManager ) throws ActionSessionException { HttpSession httpSession = request.getSession(); Session sessionToken = getSession( request ); if ( isDebugEnabled() ) { logDebug( "AbstractTpAction::validateSession( )-->", "Found session token. Will try to validate it" ); } //TODO: will be replaced by 'DONT_CREATE_TP_SESSION'. if ( sessionToken.getTpSession().getLastKnownState() == TpSessionState.TPNOTAVAILABLE && !isTPUsed ) { createSession( request, response, sessionManager ); return; } if ( !isTPUsed ) { return; } // Copy the current session ID from cookie for any of the 888 applications // if this isn't the first time they've validated the session. // Their session IDs change everytime they go to the 888 home page and // if we try to validate the new vs. old, it fails. /* TpPdbResponse tpPdbResponse = null; TpDataManager tpDataManager; tpDataManager = (TpDataManager) lookupComponent( TpDataManager.ROLE ); try { tpDataManager.retrievePDB( getSession ( request ), "cookie_uid"); tpDataManager.retrievePDB( getSession ( request ), "sh_SID"); tpDataManager.retrievePDB( getSession ( request ), "sh_login_list"); } catch (ManagedComponentException ex) { logError("AbstractTpAction: error in retirevePDB", ex); } finally { getComponentManager().release (tpDataManager); } */ HttpDataManager httpDataManager = null; TpDataManager tpDataManager = null; httpDataManager = ( HttpDataManager ) lookupComponent( HttpDataManager.ROLE ); httpDataManager.getPersistentValue(request, "SID"); logDebug( "Cookie Value - >",httpDataManager.getPersistentValue(request, "SID")); if ( httpDataManager.getPersistentValue(request, "SID") == null) { tpDataManager = ( TpDataManager ) lookupComponent( TpDataManager.ROLE ); try { TpResponse tpResponse = tpDataManager.invalidateSession( getSession(request) ); httpSession.invalidate(); createSession( request, response, sessionManager ); sessionToken = getSession( request ); request.setAttribute( "FIRST_REQUEST", "FIRST_REQUEST" ); return; }catch ( ManagedComponentException ex ) { logError( "AbstractTpAction: error in invalidation tpSession ", ex ); } finally { getComponentManager().release( httpDataManager ); } } if ( ValidateUtil.validateNotNull( sessionToken.getSessionId() ) && sessionToken.getServiceTag().endsWith( "PHONE" ) ) { try { String tpSessionId = httpDataManager.getPersistentValue( request, "SID" ); if ( ValidateUtil.validateNotNull( tpSessionId ) ) { sessionToken.getTpSession().setSessionId( tpSessionId ); } } finally { getComponentManager().release( httpDataManager ); } } /* if ( ValidateUtil.validateNotNull( sessionToken.getSessionId() ) && sessionToken.getServiceTag().endsWith( "PHONE" ) ) { HttpDataManager httpDataManager = null; try { httpDataManager = ( HttpDataManager ) lookupComponent( HttpDataManager.ROLE ); String tpSessionId = httpDataManager.getPersi
Re: Trouble running Tomcat using Sun's JDK1.4.2_05
go ahead check ur xml files... if there is any problem in xml files u will get this sort of org.apache.jasper.JasperException... like, u would have missed some tags or context path etc.. Kannan On Fri, 9 Jul 2004 08:15:22 +0100, Peter Guyatt <[EMAIL PROTECTED]> wrote: > Hi There, > >Has anyone come across this problem. All Iam am doing is starting tomcat > and then attempting to use my web app. > > The exception I am getting is as follows: > > Exception report > > message > > description The server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Error allocating a servlet instance >at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > 54) >at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) >at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > FilterChain.java:247) >at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > ain.java:193) >at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > va:256) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:643) >at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) >at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > va:191) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:643) >at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) >at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) >at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > ) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:643) >at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > java:171) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:641) >at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 > ) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:641) >at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) >at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > :174) >at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > eNext(StandardPipeline.java:643) >at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) >at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) >at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) >at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne > ction(Http11Protocol.java:392) >at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) >at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav > a:619) >at java.lang.Thread.run(Thread.java:534) > > root cause > > javax.servlet.ServletException: Error allocating a servlet instance >at > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:672) >at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. > java:653) >at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch > er.java:432) >at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher > .java:356) >at > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430) >at org.apache.jsp.index_jsp._jspService(index_jsp.java:42) >at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) >at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > 10) >at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) >at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >at javax.s
Re: Trouble running Tomcat using Sun's JDK1.4.2_05
No Problem Pete... Kannan On Fri, 9 Jul 2004 09:20:05 +0100, Peter Guyatt <[EMAIL PROTECTED]> wrote: > Hi There, > >Thanks for the reply, what I dont understand is why it woudl work with > 1.4.2_04, the only thing that has changed is the JDK. > > No config changes have been made. > > Thanks > > Pete > > > > -Original Message- > From: Kannan Raghu [mailto:[EMAIL PROTECTED] > Sent: 09 July 2004 08:40 > To: Tomcat Users List > Subject: Re: Trouble running Tomcat using Sun's JDK1.4.2_05 > > go ahead check ur xml files... if there is any problem in xml files u > will get this sort of org.apache.jasper.JasperException... > > like, u would have missed some tags or context path etc.. > > Kannan > > On Fri, 9 Jul 2004 08:15:22 +0100, Peter Guyatt > <[EMAIL PROTECTED]> wrote: > > Hi There, > > > >Has anyone come across this problem. All Iam am doing is starting > tomcat > > and then attempting to use my web app. > > > > The exception I am getting is as follows: > > > > Exception report > > > > message > > > > description The server encountered an internal error () that prevented it > > from fulfilling this request. > > > > exception > > > > org.apache.jasper.JasperException: Error allocating a servlet instance > >at > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > > 54) > >at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > >at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > >at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > > FilterChain.java:247) > >at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > > ain.java:193) > >at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > > va:256) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:643) > >at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > >at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > >at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > > va:191) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:643) > >at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > >at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > >at > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) > >at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > > ) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:643) > >at > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > > java:171) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:641) > >at > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 > > ) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:641) > >at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > >at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > >at > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > > :174) > >at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok > > eNext(StandardPipeline.java:643) > >at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > >at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > >at > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > >at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) > >at > &
Re: No Java compiler was found to compile the generated source for the JSP
Hey Simon, check out the xml files if ur using struts with ur application.. try this out and let me know.. Kannan On Mon, 12 Jul 2004 14:44:52 +0200, Simone-dev <[EMAIL PROTECTED]> wrote: > Hello all, > I just installed Apache Tomcat/5.0.25 on my newly installed developing > workstation on Windows > I've installed SDK 1.4.2_05, too... > > But when I try to run a JSP to compiled I get the error > > org.apache.jasper.JasperException: Unable to compile class for JSP > > No Java compiler was found to compile the generated source for the JSP. > This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK > to the common/lib directory of the Tomcat server, followed by a Tomcat restart. > If using an alternate Java compiler, please check its installation and access path. > > I've set JAVA_HOME as C:\j2sdk1.4.2_05 but tomcat still doesn't compile JSP > > any ideas? > > Simone > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CLASSPATH and JARs
Hi, Am using Tomcat 3.1. For a webapp, I have a bunch of JARs. How do I ensure that it gets picked up in the CLASSPATH ? Putting them in either the web-inf/lib or web-inf/classes does not help. >From the FAQ on Jakarta site, one person recommends adding it to the system CLASSPATH. Maybe it is fixed in Tomcat 4.0 m3. anybody ? note: Am trying to get Jyve up and running, and it has tons of JARs -raghu Raghu Havaldar [EMAIL PROTECTED] Objectspace, Inc.
RE: jar's still not picked up in WEB-INF/lib
The Context setup is for the web-app. I do not think it is a good idea to put app-depedent libs under $TOMCAT/lib. Just for experimentation, I tried placing the JARs under $TOMCAT/lib and $TOMCAT/webapps/web-inf/lib. Does not work. Tried with 3.1 and 3.2beta6 on WinNT 4.0. -raghu -Original Message-From: Leon Palermo [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 01, 2000 7:31 AMTo: [EMAIL PROTECTED]Subject: Re: jar's still not picked up in WEB-INF/lib I would definitely set up a context in server.xml like this: docBase="webapps/Oasis" debug="0" reloadable="true" > That should solve you problem. Otherwise, just put the .jar files in the D:\Java\jakarta-tomcat\lib directory. Then the jars would be available for all applications served by tomcat. Leon Palermo Zedak Corporation Valhalla, NY - Original Message - From: Bill Pfeiffer To: Tomcat Sent: Wednesday, November 01, 2000 8:13 AM Subject: Re: jar's still not picked up in WEB-INF/lib I am experiencing the same problem that others have reported on this topic. I explicitly set my Tomcat classpath to be sure of no redundancies in the jars. I have a Tomcat startup batch file with one line that adds in all the jars in my WEB-INF\lib to the classpath explicitly. When I comment that line out, I get the classnotfound errors. When I put it back in, my web app runs fine. Obviosly I want the line commented out and have the jars picked up in the lib dir, but that aint happening. Because the jars work when explicitly included in the classpath, I conclude that the jars are not corrupt. I also conclude, based on commenting out the explicit lib jars classpath, that there are not redundant jars in the classpath. I have also checked other sources for possible classpath jar redundancies and I am just not finding any. I am running under Win2000 using jdk1.3. These is the exact dir structure I have set up: D:\Java\jakarta-tomcat\webapps D:\Java\jakarta-tomcat\webapps\Oasis D:\Java\jakarta-tomcat\webapps\Oasis\jsp D:\Java\jakarta-tomcat\webapps\Oasis\META-INF D:\Java\jakarta-tomcat\webapps\Oasis\resources D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\classes D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\lib I have gone through Craig McClanahans list of things to check and all seems to be as it should. Any hope for a fix? Should I continue to look at my config? I have heard some people talk about setting up an explicit context for the app in the server.xml. Does this solve the problem consistantly? TIA, Bill Pfeiffer
RE: jar's still not picked up in WEB-INF/lib
I think u misread me a bit. I would NOT recommend putting them under $TOMCAT/lib. However, their right place is (as the doc suggests) in $TOMCAT/webapps/APP/web-inf/lib. I have not yet looked at load-balancing issues. But, they are another beast (for upgrades and such). -raghu -Original Message-From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 01, 2000 9:28 AMTo: [EMAIL PROTECTED]Subject: Re: jar's still not picked up in WEB-INF/lib Aside from the fact that it does not work in certain situations, why would you think it is not a good idea to put your app specific libs under the WEB-INF\lib directory. The spec says to do it. It allows for good application orginization. What would be your arguments against it? Actually I can think of one argument against it, and that is that by including your libs in the classpath instead, you can control the order of the classpath. It appears that using the libs directory would allow for random ordering (based on OS directory ordering) of these libs. Also, I need to include zip files and these don't get picked up anyway. Maybe using the classpath is the way to go. Bill Pfeiffer - Original Message - From: Raghu Havaldar To: '[EMAIL PROTECTED]' Sent: Wednesday, November 01, 2000 9:34 AM Subject: RE: jar's still not picked up in WEB-INF/lib The Context setup is for the web-app. I do not think it is a good idea to put app-depedent libs under $TOMCAT/lib. Just for experimentation, I tried placing the JARs under $TOMCAT/lib and $TOMCAT/webapps/web-inf/lib. Does not work. Tried with 3.1 and 3.2beta6 on WinNT 4.0. -raghu -Original Message-From: Leon Palermo [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 01, 2000 7:31 AMTo: [EMAIL PROTECTED]Subject: Re: jar's still not picked up in WEB-INF/lib I would definitely set up a context in server.xml like this: docBase="webapps/Oasis" debug="0" reloadable="true" > That should solve you problem. Otherwise, just put the .jar files in the D:\Java\jakarta-tomcat\lib directory. Then the jars would be available for all applications served by tomcat. Leon Palermo Zedak Corporation Valhalla, NY - Original Message - From: Bill Pfeiffer To: Tomcat Sent: Wednesday, November 01, 2000 8:13 AM Subject: Re: jar's still not picked up in WEB-INF/lib I am experiencing the same problem that others have reported on this topic. I explicitly set my Tomcat classpath to be sure of no redundancies in the jars. I have a Tomcat startup batch file with one line that adds in all the jars in my WEB-INF\lib to the classpath explicitly. When I comment that line out, I get the classnotfound errors. When I put it back in, my web app runs fine. Obviosly I want the line commented out and have the jars picked up in the lib dir, but that aint happening. Because the jars work when explicitly included in the classpath, I conclude that the jars are not corrupt. I also conclude, based on commenting out the explicit lib jars classpath, that there are not redundant jars in the classpath. I have also checked other sources for possible classpath jar redundancies and I am just not finding any. I am running under Win2000 using jdk1.3. These is the exact dir structure I have set up: D:\Java\jakarta-tomcat\webapps D:\Java\jakarta-tomcat\webapps\Oasis D:\Java\jakarta-tomcat\webapps\Oasis\jsp D:\Java\jakarta-tomcat\webapps\Oasis\META-INF D:\Java\jakarta-tomcat\webapps\Oasis\resources D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\classes D:\Java\jakarta-tomcat\webapps\Oasis\WEB-INF\lib I have gone through Craig McClanahans list of things to check and all seems to be as it should. Any hope for a fix? Should I continue to look at my config? I have heard some people talk about setting up an explicit context for the app in the server.xml. Does this solve the problem consistantly? TIA, Bill Pfeiffer
RE: jar's still not picked up in WEB-INF/lib
That's what I thought after reading the docs, but seemed not to work. Makes me lookk silly with this whole CLASSPATH thing. -raghu -Original Message- From: Martin Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 12:12 PM To: [EMAIL PROTECTED] Subject: Re: jar's still not picked up in WEB-INF/lib I unpacked a jar file in the WEB-INF classes directory. It had a servlet and another class called by the servlet. The servlet could be run okay, but when the servlet tried to use the other class, it was not found. Are you saying that if I leave the classes in the jar and put the jar in WEB-INF/lib, then the other class will be found when it is used? martin -- Martin Smith email: [EMAIL PROTECTED] Vollsveien 9 tel. : +47 6783 1202 P.O. Box 482 1327 Lysaker, Norway