Tomcat 5.5 with java 1.4.2...
I've googled and read the release notes included with the 1.4.2 tomcat download. It references the running.txt doc for more info on doing this. I can't find thiat document or reference in the TC doc's or by googling the issue/searching the tomcat forum. Does anyone have a pointer to what the exact steps are that need to be completed to run TC 5.5 with JDK 1.4.2? Related, is there a doc or FAQ that talks about issues/limitations running in this mode? It's not something I want to do but have to do because of 3rd party software constraints. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5 with java 1.4.2...
Thanks that helped a lot. Please don't shoot the messenger as someone else chose the server OS, but I notice the Windows Service Installer download contains everything but the running.txt file. I've downloaded just the zip file and grabbed running.txt now. Thanks again Markus. -Original Message- From: Markus Schönhaber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Date: Wed, 7 Mar 2007 14:51:04 +0100 Subject: Re: Tomcat 5.5 with java 1.4.2... JT Neville wrote: I've googled and read the release notes included with the 1.4.2 tomcat download. It references the running.txt doc for more info on doing this. I can't find thiat document or reference in the TC doc's or by googling the issue/searching the tomcat forum. RUNNING.txt should be in the directory where you unpacked Tomcat 5.5. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.28 + Oracle9i
Can't really say without seeing your code but 90% of the time when I get this error it is because I've made a type-o in my code and two variables are not aligning, or I've not terminated a line of code correctly. hth -Original Message- From: nikita berdikov [mailto:[EMAIL PROTECTED] Sent: Sunday, December 18, 2005 8:48 AM To: users@tomcat.apache.org Subject: Tomcat 5.0.28 + Oracle9i Hi! I have *.jsp page with a form. It sets several properties of a bean, that then connects to Oracle DB and inserts data into table. When i click Submit, i have the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ContextManager in Tomcat 5.5?
In summary: 1) Edit the isapi_reg file (part of Tomcat or make your own) to and replace $tomcat_home with the local path (ie. d:\test\t4\webapps\tomCat_webApp_subfolder...) 2) Run that reg file. 3) Create a virtual folder in your root website named tomCat_webApp_subfolder, point it to the tomcat webapp subfolder. Default security. 4) Create a virtual folder named jakarta and point it to the bin directory with the isapi_redirect dll file in it. Give this item execute rights. 5) For 2003 only, add a web service called 'jakarta', set it to allow and point it to the isapi dll above. 6) For 2003 only, add the mime types (.class, .properties, .tmp) to the virtual or web folder. 7) Restart the IIS admin service. As a side note (resolved last week here) for additional servlets under IIS: These are two files located in (or somewhere else if you changed the isapi_redirect reg file) \$TomcatRoot$\WEB-INF\config\jk\iis\ uriworkermap.properties workers.properties In the uriworkermap.properties file you add your custom servlets. In example (/virtualRoot/pathToServlet/servletName/=workerThread): /webapp_subfolder/servlets/yourCustomServlet=$(default.worker) or (for a more generic approach) /webapp_subfolder/servlets/*=main If you were hosting multiple virtual containers all using the same servlets or working in the root containers you would create and edit these two files in the $tomcatHome$\conf\ folder. This is above and beyond installing the servlet itself in Tomcat, copying any files over and editing the web.xml file. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 9:11 AM To: Tomcat Users List Subject: Re: ContextManager in Tomcat 5.5? Good Morning Michael have you seen IISConfig doc? http://piglet.uccs.edu/~cs526/jwsdp/docs/tomcat/config/jk.html HTH, M- - Original Message - From: Michael Neel [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 15, 2005 11:30 AM Subject: ContextManager in Tomcat 5.5? I'm trying to figure out ways of running Tomcat behind IIS, and area where documentation is very lacking :/ I found the IISConfig directive here at: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/jk/conf ig/IISConfig.html it says: Generates automatic IIS isapi_redirect configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting an IISConfig element in the ContextManager tag body inside the server.xml file like so: ContextManager ... ... IISConfig options / ... /ContextManager ..but I have no ContextManager tag in my server.xml and searching the list and tomcat docs hasn't pointed to what happened to it. Where do I need to place the IISConfig tag? Thanks, Mike - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: setup for web designers?
Offering performance advice based on a 3-year old Tomcat is highly inappropriate. The 5.5.12 version delivers static content at essentially the same speed as Apache httpd. Suggested reading (note that this is about 5.5.4, and 5.5.12 is yet faster Not everyone can stay on the bleeding edge or even a major rev off it. When it takes thousands of hours to migrate and regression test applications that work just fine as they are, the ROI just doesn't add up. While it would be nice to have unlimited budgets for hardware upgrades, developers and testers, much of the business world doesn't; so advice on Tomcat 3, 4 and 5.x are all valid and appropriate for this list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Specifying an appBase on a shared disc
Just give whatever account the service is executing on run as a service rights as well as specifying the local machine on the share with the correct rights. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:18 PM To: Tomcat Users List Subject: RE: Specifying an appBase on a shared disc From: Svante Kumlien [mailto:[EMAIL PROTECTED] Subject: Specifying an appBase on a shared disc Bought a network disc yesteraday (LaCie 500Gb), connected it to my network and thought I could put my tiny jsp-based site there. I mapped the disc to w:\ and started to fiddle with my server.xml. I get a nasty java.lang.IllegalArgumentException: Document base w:\webapps does not exist or is not a readable directory Are you running Tomcat as a service? If so, it won't be able to access network drives, since those are associated specifically with your Windows account. Don't know if there's a way to do a permanent mount for all users, including whatever account Tomcat is running under. You might be able to do it with a UNC name rather than a drive letter, but I haven't tried it. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Specifying an appBase on a shared disc
You need to go to advanced or custom most likely on the security tab not the file share tab depending on the OS you are running. -Original Message- From: Svante Kumlien [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:57 PM To: Tomcat Users List Subject: RE: Specifying an appBase on a shared disc Hi! Yes, it´s running as a service and it´s logging on as Local System account. But I'm not sure how/where to give this account rights? I'm also not sure how to specify the local machine on the share, on the LaCie disc I'm only able to define 'generic' users, no machine specific stuff (like Admin/x as id/pwd). Thanks Svante -Original Message- From: JT Neville [mailto:[EMAIL PROTECTED] Sent: den 13 december 2005 22:29 To: 'Tomcat Users List' Subject: RE: Specifying an appBase on a shared disc Just give whatever account the service is executing on run as a service rights as well as specifying the local machine on the share with the correct rights. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:18 PM To: Tomcat Users List Subject: RE: Specifying an appBase on a shared disc From: Svante Kumlien [mailto:[EMAIL PROTECTED] Subject: Specifying an appBase on a shared disc Bought a network disc yesteraday (LaCie 500Gb), connected it to my network and thought I could put my tiny jsp-based site there. I mapped the disc to w:\ and started to fiddle with my server.xml. I get a nasty java.lang.IllegalArgumentException: Document base w:\webapps does not exist or is not a readable directory Are you running Tomcat as a service? If so, it won't be able to access network drives, since those are associated specifically with your Windows account. Don't know if there's a way to do a permanent mount for all users, including whatever account Tomcat is running under. You might be able to do it with a UNC name rather than a drive letter, but I haven't tried it. - Chuck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Servelts under IIS or Apache integration
Hello, checked FAQ's, Googled, trial/errored and still unclear how to resolve this. I have a servlett that works in Tomcat over 8080 (in standalone mode) [it's a form that passes information in XML format to a file], but when I integrated Tomcat into IIS6, the servlett no longer responds when surfing the jsp site over http. I would like to stop any 8080 traffic and just punch a single port 80 in my firewall. Is there a way to do this? I've read the chapter in my WROX book on servletts but they don't really address how my issue. Thanks, JT
re: Servelts under IIS or Apache integration
Anyone clarify this for me? Using IIS and Tomcat, I created this file: uiworkermap.properties with this text in it (as suggested by Reynir - http://www.reynir.net/java/greinar/nr/52) /*jsp=main /servlet/*=main I expect the above is for the root folder only? Can anyone confirm? Now my custom servlet is set to run in another virtual root, for example webx http://www.foo.org/webx/servlets/SurveyXMLServlet?etc So would I need to add some lines like below to get my servlet to go? /webx/SurveyXMLServlet/*=main or maybe? /SurveyXMLServlet/*=main or even? SurveyXMLServlet/*=webx Any insight would be appreciated. I'm not exactly clear on what the rules are for these paths. This email supercedes my first request. =)