Please help me sir
Sir I have installed Jdk1.5.0 in windows 2000 server. After that I have installed Apache Tomcat/5.0.29. I have deployed all of my JSPs in Root directory and all of my beans in classes. Now after starting of the Tomcat server. when I want to see the paged in IE6, It is giving errors javac: target release 1.3 conflicts with default source release 1.5 . Now sir please tell me what can I I do for this purpose. Thanking you in anticipation. Regards Asit Basak email - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me sir
Hello Asit Could it be that you write for Java 1.5 whilst your Tomcat somehow expects Java 1.3? Try this link: http://blog.taragana.com/index.php/archive/how-to-run-javac-15-or-beyond-compiler-for-jsp-compilation-in-tomcat-55-with-generics-enabled-and-other-15-only-features/1/ hope it helps have a nice day J.Zaruba On 6/27/05, Asit Basak [EMAIL PROTECTED] wrote: Sir I have installed Jdk1.5.0 in windows 2000 server. After that I have installed Apache Tomcat/5.0.29. I have deployed all of my JSPs in Root directory and all of my beans in classes. Now after starting of the Tomcat server. when I want to see the paged in IE6, It is giving errors javac: target release 1.3 conflicts with default source release 1.5 . Now sir please tell me what can I I do for this purpose. Thanking you in anticipation. Regards Asit Basak email - [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]
Developing a large project using Tomcat, please help me
Hi, we are developing a large java project using Tomcat. On the same project works several persons and the project counts serveral thousand of classes. The project has (in few words) three big places: - standard: the place in which are placed all the classes (not jar but classes) - patches: the places in which are places the bug-fixes of standard classes - work in progress: the place in which a developer develop his own modification to a standard class Each developer has its own Tomcat. Now, imagine that - in standard classes is there a class named: helpme.class - this class has been bug-fixed and in patches is there the same class - a developer is working on its own local copy of this class and he has places it in his own work-in-progress folder Is possible using Tomcat to manage a situation like that? In other word, If I develop using j2SE standard, to obtaint what i want, I simply set my CLASSPATH env variable in this way; set CLASSPATH=x:\MyWorkInProgress\classes;x:\AllPatches\classes;x:\Standard\classes And java default classpath ensure me that it loads helpme.class first looking in WowkInProgress, than, if not found, in AllPatches, than, if not found in standard Is it possible during Tomcat runtime to have something like that (possibly WITHOUT using jar) Thank you very much in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can anybody please help me!!
Dear Friends, I have written a simple servlet which reads a init parameter from the web.xml file and displays on the browser. I'm a beginner and trying to learn simple servlets, I have reached where I can read some init params from the web.xml file and displays on the browser, but all the simple servlets are working without any hassle, but reading init parameter returns null in the servlet, because I triend to print that on to the console, but it returns null, please help me, awaiting a reply, regards Raasi web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping servlet servlet-nameHelloServlet/servlet-name servlet-classHelloServlet/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/HelloServlet/url-pattern /servlet-mapping servlet servlet-nameInternationalizedHelloWorld/servlet-name servlet-classcom.jspbook.InternationalizedHelloWorld/servlet-class init-param param-namegreeting/param-name param-valueKisahairetu/param-value /init-param /servlet servlet-mapping servlet-nameInternationalizedHelloWorld/servlet-name url-pattern/InternationalizedHelloWorld/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can anybody please help me!!
Hi, Are you using init() method of the servlet for fetching init parameters like this? String str = getServletConfig().getInitParameter(param1); Rgrds, Hardik --- Raasi Potluri [EMAIL PROTECTED] wrote: Dear Friends, I have written a simple servlet which reads a init parameter from the web.xml file and displays on the browser. I'm a beginner and trying to learn simple servlets, I have reached where I can read some init params from the web.xml file and displays on the browser, but all the simple servlets are working without any hassle, but reading init parameter returns null in the servlet, because I triend to print that on to the console, but it returns null, please help me, awaiting a reply, regards Raasi web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping servlet servlet-nameHelloServlet/servlet-name servlet-classHelloServlet/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/HelloServlet/url-pattern /servlet-mapping servlet servlet-nameInternationalizedHelloWorld/servlet-name servlet-classcom.jspbook.InternationalizedHelloWorld/servlet-class init-param param-namegreeting/param-name param-valueKisahairetu/param-value /init-param /servlet servlet-mapping servlet-nameInternationalizedHelloWorld/servlet-name url-pattern/InternationalizedHelloWorld/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can anybody please help me!!
Hello Hardik, thanks for your reply, yeas, I'm using the same code as you written, thanx eversomuch, please help me out the code looks like this [code] package com.jspbook; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InternationalizedHelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(text/html); PrintWriter out = response.getWriter(); String greeting; greeting = getServletConfig().getInitParameter(greeting); if(greeting != null) { System.out.println(lopaliki vachav); out.println(html); out.println(head); out.println(titleShabbu Bhai/title); out.println(/head); out.println(body); out.println(h1 + greeting + /h1); out.println(/body); out.println(/html); } else { System.out.println(bayate unnav); out.println(html); out.println(head); out.println(titleShabbu Bhai/title); out.println(/head); out.println(body); out.println(h1Emiledura Dunna/h1); out.println(/body); out.println(/html); } } } [code] --- Hardik Tank [EMAIL PROTECTED] wrote: Hi, Are you using init() method of the servlet for fetching init parameters like this? String str = getServletConfig().getInitParameter(param1); Rgrds, Hardik --- Raasi Potluri [EMAIL PROTECTED] wrote: Dear Friends, I have written a simple servlet which reads a init parameter from the web.xml file and displays on the browser. I'm a beginner and trying to learn simple servlets, I have reached where I can read some init params from the web.xml file and displays on the browser, but all the simple servlets are working without any hassle, but reading init parameter returns null in the servlet, because I triend to print that on to the console, but it returns null, please help me, awaiting a reply, regards Raasi web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping servlet servlet-nameHelloServlet/servlet-name servlet-classHelloServlet/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/HelloServlet/url-pattern /servlet-mapping servlet servlet-nameInternationalizedHelloWorld/servlet-name servlet-classcom.jspbook.InternationalizedHelloWorld/servlet-class init-param param-namegreeting/param-name param-valueKisahairetu/param-value /init-param /servlet servlet-mapping servlet-nameInternationalizedHelloWorld/servlet-name url-pattern/InternationalizedHelloWorld/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e
Re: can anybody please help me!!
Hi, Use init(ServletConfig config) method of servlet for init parameters. bcs, init parameters will be set only once it is initialised... so, u have to do the same in the init() method only... thanks. --- Raasi Potluri [EMAIL PROTECTED] wrote: Hello Hardik, thanks for your reply, yeas, I'm using the same code as you written, thanx eversomuch, please help me out the code looks like this [code] package com.jspbook; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InternationalizedHelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(text/html); PrintWriter out = response.getWriter(); String greeting; greeting = getServletConfig().getInitParameter(greeting); if(greeting != null) { System.out.println(lopaliki vachav); out.println(html); out.println(head); out.println(titleShabbu Bhai/title); out.println(/head); out.println(body); out.println(h1 + greeting + /h1); out.println(/body); out.println(/html); } else { System.out.println(bayate unnav); out.println(html); out.println(head); out.println(titleShabbu Bhai/title); out.println(/head); out.println(body); out.println(h1Emiledura Dunna/h1); out.println(/body); out.println(/html); } } } [code] --- Hardik Tank [EMAIL PROTECTED] wrote: Hi, Are you using init() method of the servlet for fetching init parameters like this? String str = getServletConfig().getInitParameter(param1); Rgrds, Hardik --- Raasi Potluri [EMAIL PROTECTED] wrote: Dear Friends, I have written a simple servlet which reads a init parameter from the web.xml file and displays on the browser. I'm a beginner and trying to learn simple servlets, I have reached where I can read some init params from the web.xml file and displays on the browser, but all the simple servlets are working without any hassle, but reading init parameter returns null in the servlet, because I triend to print that on to the console, but it returns null, please help me, awaiting a reply, regards Raasi web.xml looks like this ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping servlet servlet-nameHelloServlet/servlet-name servlet-classHelloServlet/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/HelloServlet/url-pattern /servlet-mapping servlet servlet-nameInternationalizedHelloWorld/servlet-name servlet-classcom.jspbook.InternationalizedHelloWorld/servlet-class init-param param-namegreeting/param-name param-valueKisahairetu/param-value /init-param /servlet servlet-mapping servlet-nameInternationalizedHelloWorld/servlet-name url-pattern/InternationalizedHelloWorld/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
Please help me
Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me
I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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: Please help me
i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the server or a perticular webapp that site is under maintanance please visit in few minutes is it possible? Rajesh VTR Ravi Kumar wrote: I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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: Please help me
You can load balance between the two instances. cheers, Hari Mailvaganam On Mon, 13 Dec 2004 16:29:16 +0530, Rajesh [EMAIL PROTECTED] wrote: i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the server or a perticular webapp that site is under maintanance please visit in few minutes is it possible? Rajesh VTR Ravi Kumar wrote: I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat5.5/xp/starting problem Please help me
Hi, I am getting following error while starting tomcat .. beasides i have a lot of other issues can anyone look and guide me what do do ? I am also sending web.xml Dec 14, 2004 4:43:43 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 14, 2004 4:43:43 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 860 ms Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.4 Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Dec 14, 2004 4:43:44 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apa che.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache. webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirec t URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta. apache.org]] Dec 14, 2004 4:43:44 PM org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 39 column 5: The element type servlet must be terminated by the matching end-ta g /servlet. org.xml.sax.SAXParseException: The element type servlet must be terminated by the matching end-tag /servlet. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper. java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmen tScannerImpl.java:1219) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc h(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentS cannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) ==CONTENT OF web.xml ++ ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- ACTION SERVLET SERVLET MAPPINGS START -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param /init-param param-nameapplication/param-name param-valuesrc.tcs.beans.ApplicationResources/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- !-- Tag Lib List -- taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib
RE: Tomcat5.5/xp/starting problem Please help me
stop this /init-param /init-param -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 December 2004 11:16 To: Tomcat Users List Subject: Tomcat5.5/xp/starting problem Please help me Hi, I am getting following error while starting tomcat .. beasides i have a lot of other issues can anyone look and guide me what do do ? I am also sending web.xml Dec 14, 2004 4:43:43 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 14, 2004 4:43:43 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 860 ms Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.4 Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Dec 14, 2004 4:43:44 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apa che.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache. webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirec t URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta. apache.org]] Dec 14, 2004 4:43:44 PM org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 39 column 5: The element type servlet must be terminated by the matching end-ta g /servlet. org.xml.sax.SAXParseException: The element type servlet must be terminated by the matching end-tag /servlet. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.cr eateSAXParseException(ErrorHandlerWrapper. java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fa talError(ErrorHandlerWrapper.java:215) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repor tError(XMLErrorReporter.java:386) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.repor tError(XMLErrorReporter.java:316) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatal Error(XMLScanner.java:1438) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca nnerImpl.scanEndElement(XMLDocumentFragmen tScannerImpl.java:1219) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca nnerImpl$FragmentContentDispatcher.dispatc h(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca nnerImpl.scanDocument(XMLDocumentFragmentS cannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration. parse(XML11Configuration.java:834) ==CONTENT OF web.xml ++ ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- ACTION SERVLET SERVLET MAPPINGS START -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param /init-param param-nameapplication/param-name param-valuesrc.tcs.beans.ApplicationResources/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup1/load
Re: Tomcat5.5/xp/starting problem Please help me
This error can be found using an xml validator. Specifically: init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param /init-param param-nameapplication/param-name param-valuesrc.tcs.beans.ApplicationResources/param-value /init-param Your second init-param block is opened with an ending tag. --David [EMAIL PROTECTED] wrote: Hi, I am getting following error while starting tomcat .. beasides i have a lot of other issues can anyone look and guide me what do do ? I am also sending web.xml Dec 14, 2004 4:43:43 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 14, 2004 4:43:43 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 860 ms Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.4 Dec 14, 2004 4:43:43 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Dec 14, 2004 4:43:44 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apa che.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache. webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirec t URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta. apache.org]] Dec 14, 2004 4:43:44 PM org.apache.tomcat.util.digester.Digester fatalError SEVERE: Parse Fatal Error at line 39 column 5: The element type servlet must be terminated by the matching end-ta g /servlet. org.xml.sax.SAXParseException: The element type servlet must be terminated by the matching end-tag /servlet. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper. java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmen tScannerImpl.java:1219) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatc h(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentS cannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) ==CONTENT OF web.xml ++ ?xml version=1.0 encoding=ISO-8859-1? !-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- ACTION SERVLET SERVLET MAPPINGS START -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param /init-param param-nameapplication/param-name param-valuesrc.tcs.beans.ApplicationResources/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param
Urgent .Please help me out
Hi !! I have deployed an application on tomcat 4.1.18. I do get the following exception .I am using IE6 as my webbrowser. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Cannot find bean userObject in scope null at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 48) 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.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:260) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:550) 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.StandardContext.invoke(StandardContext.java:2415) 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:170) 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:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:534) root cause javax.servlet.ServletException: Cannot find bean userObject in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896) 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 04) at
Urgent !! Please help me out.
HI!! I get the following error when i try to run my application on tomcat. The message in the server is as follows. ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] - Error in actionPerform: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228) at oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav a:468) at com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407) at com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91) at com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag er.java:300) at com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20 6) at com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957) at com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade r.java:1238) at com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61) at com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup (GROWBaseAction.java:100) at com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction .java:108) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va:1787) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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) Thanks Regards, Shanti Priya Sunkara Location: Pune, India Email : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Urgent .Please help me out
your db is down or unreachable -Ursprüngliche Nachricht- Von: Shanti Priya [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 22. September 2004 09:13 An: Tomcat-User Betreff: Urgent .Please help me out Hi !! I have deployed an application on tomcat 4.1.18. I do get the following exception .I am using IE6 as my webbrowser. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Cannot find bean userObject in scope null at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 48) 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.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:260) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:550) 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.StandardContext.invoke(StandardContext.java:2415) 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:170) 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:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:534) root cause javax.servlet.ServletException: Cannot find bean userObject in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896
Re: Urgent !! Please help me out.
This is because the oracle dll is not found int the PATH environment variable. For this you should have Oracle client installed. Or you can use Oracle thin driver which dont need Oracle installed rgds Antony Paul - Original Message - From: Shanti Priya [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 12:45 PM Subject: Urgent !! Please help me out. HI!! I get the following error when i try to run my application on tomcat. The message in the server is as follows. ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] - Error in actionPerform: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228) at oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:246) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav a:468) at com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407) at com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91) at com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag er.java:300) at com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20 6) at com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957) at com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade r.java:1238) at com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61) at com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup (GROWBaseAction.java:100) at com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction .java:108) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va:1787) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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) Thanks Regards, Shanti Priya Sunkara Location: Pune, India Email : [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: Urgent !! Please help me out.
Hi Shanti Your error seems to be a databse connection error. Tell me r u using oracle as your database for the application. Then you need to check the entries for db connectivity files - driverproperties.properties. Reply me with detailed info sot that i can help in a much better way. Regards Prashant Shanti Priya [EMAIL PROTECTED] wrote: HI!! I get the following error when i try to run my application on tomcat. The message in the server is as follows. ERROR [2004-09-22 12:36:07,275] [Thread-5] [GSEITBaseAction.java:166] - Error in actionPerform: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.jav a:468) at com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407) at com.cisco.ea.apparch.framework.db.DBPool.borrowConnection(DBPool.java:91) at com.cisco.ea.apparch.framework.db.DBPoolManager.borrowConnection(DBPoolManag er.java:300) at com.cisco.gseit.db.ConnectionFactory.getConnection(ConnectionFactory.java:20 6) at com.cisco.gseit.db.ObjectLoader.getConnection(ObjectLoader.java:957) at com.cisco.gseit.db.ObjectLoader.getCollectionFromStoredProcedure(ObjectLoade r.java:1238) at com.cisco.asit.grm.user.UserDAO.getUserFromLoginName(UserDAO.java:61) at com.cisco.asit.grm.struts.common.action.GROWBaseAction.performPreActionSetup (GROWBaseAction.java:100) at com.cisco.gseit.struts.common.action.GSEITBaseAction.perform(GSEITBaseAction .java:108) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja va:1787) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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) Thanks Regards, Shanti Priya Sunkara Location : Pune, India Email : [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.
RE: Urgent !! Please help me out.
javax.servlet.ServletException: Cannot find bean userObject in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896) 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 04) 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.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:260) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:550) 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.StandardContext.invoke(StandardContext.java:2415) 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:170) 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:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:534) -Original Message- From: prashant chavan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 4:49 PM To: Tomcat Users List Subject: Re: Urgent !! Please help me out. Hi Shanti Your error seems to be a databse connection error. Tell me r u using oracle as your database for the application. Then you need to check the entries for db connectivity files - driverproperties.properties. Reply me with detailed info sot that i can help in a much better way. Regards Prashant Shanti Priya [EMAIL PROTECTED] wrote: HI!! I get the following error when i try to run my
Re: Urgent !! Please help me out.
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:534) root cause javax.servlet.ServletException: Cannot find bean userObject in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:896) 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 04) 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.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:260) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:550) 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.StandardContext.invoke(StandardContext.java:2415) 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:170) 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:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:534) -Original Message- From: prashant chavan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 4:49 PM To: Tomcat Users List Subject: Re: Urgent !! Please help me out. Hi Shanti Your error seems to be a databse connection error. Tell me r u using oracle as your database for the application. Then you need to check the entries for db connectivity files - driverproperties.properties. Reply me with detailed info sot that i can help
RE: Urgent .Please help me out
Hi Can you read this please: http://www.catb.org/~esr/faqs/smart-questions.html And then consider the following: - This seems like a servlet or JSP question rather than a Tomcat question. http://www.catb.org/~esr/faqs/smart-questions.html#forum - There is no explanation of the cirumstances surrounding the problem, or any source code to look at. http://www.catb.org/~esr/faqs/smart-questions.html#beprecise - The subject line contains urgent and doesn't describe the problem. http://www.catb.org/~esr/faqs/smart-questions.html#urgent http://www.catb.org/~esr/faqs/smart-questions.html#bespecific Regards, Rob -Original Message- From: Shanti Priya [mailto:[EMAIL PROTECTED] Sent: Wed 9/22/2004 8:12 AM To: Tomcat-User Subject: Urgent .Please help me out Hi !! I have deployed an application on tomcat 4.1.18. I do get the following exception .I am using IE6 as my webbrowser. (snip) Thanks Regards, Shanti Priya Sunkara Location: Pune, India Email : [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Urgent .Please help me out
Return Receipt Your AW: Urgent .Please help me out document : was Prabhjot Sodhi/Australia/Contr/IBM received by: at: 23/09/2004 09:07:51 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help me
This is Rajesh. I am working on webApplication project.The project Environment is in Struts1.1 Framework with jdk1.4.2_01,WebServer as Tomcat5 on O.S Linux connecting back-end Mysql. I am trouble shooting a problem. I have properly closed each and every connection whenever I open a connection.So the db connection is properly maintained.And the Session too is properly maintained.In struts1.1 struts-config.xml just for connection pooling I've coded data-source tag like data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=com.mysql.jdbc.Driver/ set-property property=url value=jdbc:mysql://ip address/contextname/ set-property property=username value=/ set-property property=password value=/ set-property property=removeAbandoned value=true/ set-property property=removeAbandonedTimeout value=60/ /data-source /data-sources So for every 60 seconds the connection pool is checked to freeze-out the unwanted Connection. Every thing works fine on first day but on the consecutive day it troubles. MAIN PROBLEM STATEMENT IS On the next day when I try to login to my site it is not letting me login. I am sure there is no problem in my coding, because the whole day the site is working perfectly well. Only for a period of time the db access is not working. So I want to know where the problem is.Whether it's in Database Pooling or it is Tomcat related problems. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me
I'm guessing the snippet below is from your struts-config.xml file. I tried to make that work and couldn't even on a straight forward textbook example. It was much easier to define the datasource in the [context].xml file in conf/Catalina/localhost, use the DBCP db pool, and then write my own db access code. Besides, I think I saw something to the effect that the feature you're using below might be removed from future Struts releases. I'm sure there are people on the list who can confirm or deny that suspicion. --David Rajesh wrote: This is Rajesh. I am working on webApplication project.The project Environment is in Struts1.1 Framework with jdk1.4.2_01,WebServer as Tomcat5 on O.S Linux connecting back-end Mysql. I am trouble shooting a problem. I have properly closed each and every connection whenever I open a connection.So the db connection is properly maintained.And the Session too is properly maintained.In struts1.1 struts-config.xml just for connection pooling I've coded data-source tag like data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=com.mysql.jdbc.Driver/ set-property property=url value=jdbc:mysql://ip address/contextname/ set-property property=username value=/ set-property property=password value=/ set-property property=removeAbandoned value=true/ set-property property=removeAbandonedTimeout value=60/ /data-source /data-sources So for every 60 seconds the connection pool is checked to freeze-out the unwanted Connection. Every thing works fine on first day but on the consecutive day it troubles. MAIN PROBLEM STATEMENT IS On the next day when I try to login to my site it is not letting me login. I am sure there is no problem in my coding, because the whole day the site is working perfectly well. Only for a period of time the db access is not working. So I want to know where the problem is.Whether it's in Database Pooling or it is Tomcat related problems. - 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: Problem Compiling JSP under TOMCAT 5.0.18; please help me
You can try this and restart tomcat. 1. Copy tools.jar from your-jsdk\lib\tools.jar to your- tomcat\common\lib\tools.jar This may not be necessary, but the installer does attempt to copy this file so it won't hurt to do the same. And if that does not work try this step next and restart tomcat. 2.Change registry entry for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Apache Tomcat 4.1\Parameters\JVM Library from (adjust these paths to your machine and java version) C:\Program Files\Java\j2re1.4.1_02\bin\client\jvm.dll to C:\j2sdk1.4.1_02\jre\bin\server\jvm.dll Hope that helps Kal -Original Message- From: De Toffoli Garry [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 11:59 AM To: [EMAIL PROTECTED] Subject: Problem Compiling JSP under TOMCAT 5.0.18; please help me Hi to all, I would like to pass from tomcat 3.2.x to tomcat 5.0.18; under tomcat 3.2.x I have some package under the WEB-INF/classes of all my sites, and run OK; passing to tomcat 5.0.18 I have changed only tomcat, leaving untouched all the directory where resides the sites; but when I call a .jsp that use a package, I have this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /tst_sitengine/testDB.jsp Generated servlet error: [javac] Compiling 1 source file /usr/jakarta-tomcat-5.0.18/work/Catalina/www.test.it/_/org/apache/jsp/ts t_005fsitengine/testDB_jsp.java:7: package db does not exist import db.*; ^ On catalina.log I have a detail about the error, where is reported the classpath where jasper is looking for, and doesn't appear WEB-INF; I think that this is why I have the error; but How can I correct this? Please, could someone help me? I have the same error with tomcat 5.0.16; here there is the content of catalina.log 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:552) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon textValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:509) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 64) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972
Problem Compiling JSP under TOMCAT 5.0.18; please help me
Hi to all, I would like to pass from tomcat 3.2.x to tomcat 5.0.18; under tomcat 3.2.x I have some package under the WEB-INF/classes of all my sites, and run OK; passing to tomcat 5.0.18 I have changed only tomcat, leaving untouched all the directory where resides the sites; but when I call a .jsp that use a package, I have this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /tst_sitengine/testDB.jsp Generated servlet error: [javac] Compiling 1 source file /usr/jakarta-tomcat-5.0.18/work/Catalina/www.test.it/_/org/apache/jsp/tst_005fsitengine/testDB_jsp.java:7: package db does not exist import db.*; ^ On catalina.log I have a detail about the error, where is reported the classpath where jasper is looking for, and doesn't appear WEB-INF; I think that this is why I have the error; but How can I correct this? Please, could someone help me? I have the same error with tomcat 5.0.16; here there is the content of catalina.log 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Env: Compile:
AUTO 'Getty=001-015-886'Problem Compiling JSP under TOMCAT 5.0. 18; please help me
Hello and thank you for your email. We strive to respond to all email inquiries within one business day. If your issue cannot wait that long, please call us at 877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday through Friday. For reference, your assigned case ID is:1015886 -Original Message- From: De Toffoli Garry [EMAIL PROTECTED] Sent: Monday, Feb 2 2004 9:01AM To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Problem Compiling JSP under TOMCAT 5.0.18; please help me Hi to all, I would like to pass from tomcat 3.2.x to tomcat 5.0.18; under tomcat 3.2.x I have some package under the WEB-INF/classes of all my sites, and run OK; passing to tomcat 5.0.18 I have changed only tomcat, leaving untouched all the directory where resides the sites; but when I call a .jsp that use a package, I have this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /tst_sitengine/testDB.jsp Generated servlet error: [javac] Compiling 1 source file /usr/jakarta-tomcat-5.0.18/work/Catalina/www.test.it/_/org/apache/jsp/tst_005fsitengine/testDB_jsp.java:7: package db does not exist import db.*; ^ On catalina.log I have a detail about the error, where is reported the classpath where jasper is looking for, and doesn't appear WEB-INF; I think that this is why I have the error; but How can I correct this? Please, could someone help me? I have the same error with tomcat 5.0.16; here there is the content of catalina.log 2-feb-2004 17.50.46 org.apache.jasper.compiler.Compiler generateClass GRAVE: Javac exception Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol
RE: Please help me for jk_nt_service problem
See the note at the bottom of this page: http://www.apache.org/dist/jakarta/tomcat-3/bin/win32/i386/ Cheers, Larry -Original Message- From: Dreamy Wu [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 4:49 AM To: [EMAIL PROTECTED] Subject: Please help me for jk_nt_service problem Hi : Please help me for jk_nt_service problem . Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service- howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It shows : C:\jakarta-tomcat-3.3.1a\bin\win32\i386jk_nt_service -s Jakarta Asked (and given) winsock 1.1 Starting Jakarta. Jakarta failed to start. My env : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_01 TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a JVM.STDerr shows below : java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Exception in thread main java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Could you please help me for this issue ? Thanks. * Dreamy Wu Professional Service Dept. ADVANCED SYSTEM STORAGE CORP. TEL: +886-2-8792-0108 #812 Mobile : 0913391369 FAX: +886-2-8792-0109 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help me for jk_nt_service problem
Hi : Please help me for jk_nt_service problem . Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It shows : C:\jakarta-tomcat-3.3.1a\bin\win32\i386jk_nt_service -s Jakarta Asked (and given) winsock 1.1 Starting Jakarta. Jakarta failed to start. My env : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_01 TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a JVM.STDerr shows below : java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Exception in thread main java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Could you please help me for this issue ? Thanks. * Dreamy Wu Professional Service Dept. ADVANCED SYSTEM STORAGE CORP. TEL: +886-2-8792-0108 #812 Mobile : 0913391369 FAX: +886-2-8792-0109 *
Re: Please help me for jk_nt_service problem
It looks like you commented out the line: Dreamy Wu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi : Please help me for jk_nt_service problem . wrapper.jvm.options= in your wrapper.properties file. Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It shows : C:\jakarta-tomcat-3.3.1a\bin\win32\i386jk_nt_service -s Jakarta Asked (and given) winsock 1.1 Starting Jakarta. Jakarta failed to start. My env : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_01 TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a JVM.STDerr shows below : java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Exception in thread main java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Could you please help me for this issue ? Thanks. * Dreamy Wu Professional Service Dept. ADVANCED SYSTEM STORAGE CORP. TEL: +886-2-8792-0108 #812 Mobile : 0913391369 FAX: +886-2-8792-0109 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
URGENT PLEASE HELP ME........................................
I could able to run servlets in tomcat 4.1. I created a folder called webdev in webapps in that i created WEB-INF and classes. I stored web.xml in WEB-INF. as follows. webapps/webdev/WEB-INF/classes WEB-INF/web.xml I configured web.xml with servletname,servletclass between webapps tags. After restarting the server when i say http://localhost:8080/webdev/servlet/myservletfile It showing 404 Requested URI not found. I tried like the below also http://localhost:8080/webdev/myservletfile But still it is not getting. Let me tell anybody that tomcat4.1 have any bug in reading web.xml - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
RE: URGENT PLEASE HELP ME........................................
Try reading the documentation. The default invoker is disabled in 4.1.x. Either re-enable it, or create servlet/servlet mapping pairs in the web.xml file. -Original Message- From: Pinguti Sridevi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 1:22 AM To: anand; javagroup; parvez; tomcat Subject: URGENT PLEASE HELP ME I could able to run servlets in tomcat 4.1. I created a folder called webdev in webapps in that i created WEB-INF and classes. I stored web.xml in WEB-INF. as follows. webapps/webdev/WEB-INF/classes WEB-INF/web.xml I configured web.xml with servletname,servletclass between webapps tags. After restarting the server when i say http://localhost:8080/webdev/servlet/myservletfile It showing 404 Requested URI not found. I tried like the below also http://localhost:8080/webdev/myservletfile But still it is not getting. Let me tell anybody that tomcat4.1 have any bug in reading web.xml - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: URGENT PLEASE HELP ME........................................
Pinguti Can you post the xml code here or somewhere on the web where we can have a look at it. I have not had any problems with Tomcat and web.xml. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. :: -Original Message- :: From: Pinguti Sridevi [mailto:[EMAIL PROTECTED] :: Sent: Wednesday, December 17, 2003 10:22 AM :: To: anand; javagroup; parvez; tomcat :: Subject: URGENT PLEASE HELP ME :: :: I could able to run servlets in tomcat 4.1. I created :: a folder called webdev in webapps in that i created WEB-INF and :: classes. I stored web.xml in WEB-INF. as follows. :: webapps/webdev/WEB-INF/classes :: WEB-INF/web.xml :: I configured web.xml with servletname,servletclass between webapps :: tags. After restarting the server when i say :: http://localhost:8080/webdev/servlet/myservletfile :: It showing :: 404 Requested URI not found. :: I tried like the below also :: http://localhost:8080/webdev/myservletfile :: But still it is not getting. :: Let me tell anybody that tomcat4.1 have any bug in reading web.xml :: :: :: :: - :: Do you Yahoo!? :: New Yahoo! Photos - easier uploading and sharing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: URGENT PLEASE HELP ME........................................
You should change your server.xml, adding another context like Context path=/webdev docBase=webdev debug=0 reloadable=true crossContext=true /Context Try to see if it will help. I could able to run servlets in tomcat 4.1. I created a folder called webdev in webapps in that i created WEB-INF and classes. I stored web.xml in WEB-INF. as follows. webapps/webdev/WEB-INF/classes WEB-INF/web.xml I configured web.xml with servletname,servletclass between webapps tags. After restarting the server when i say http://localhost:8080/webdev/servlet/myservletfile It showing 404 Requested URI not found. I tried like the below also http://localhost:8080/webdev/myservletfile But still it is not getting. Let me tell anybody that tomcat4.1 have any bug in reading web.xml - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: URGENT PLEASE HELP ME........................................
If his app is directly under the webapps directory, he shouldn't need to alter server.xml. AutoDeploy will pick it up. You will, however need to create a mapping for your servlet in your web.xml file under WEB-INF in your app's directory. On Wednesday 17 December 2003 11:05 am, qi zhang wrote: You should change your server.xml, adding another context like Context path=/webdev docBase=webdev debug=0 reloadable=true crossContext=true /Context Try to see if it will help. I could able to run servlets in tomcat 4.1. I created a folder called webdev in webapps in that i created WEB-INF and classes. I stored web.xml in WEB-INF. as follows. webapps/webdev/WEB-INF/classes WEB-INF/web.xml I configured web.xml with servletname,servletclass between webapps tags. After restarting the server when i say http://localhost:8080/webdev/servlet/myservletfile It showing 404 Requested URI not found. I tried like the below also http://localhost:8080/webdev/myservletfile But still it is not getting. Let me tell anybody that tomcat4.1 have any bug in reading web.xml - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me in my problem...
If you don't say which error message you got it will be a little difficult ! SaM Steven Ang wrote: Hello, I need some help in configurating tomcat server. I'm doing a JSP project, I have read some documentation about tomcat and it states that i need to add some line in %CATALINA_HOME%/conf/server.xml Context path=/thesis docbase=thesis debug=0 reloadable=true crossContext=true/ but after i save the server.xml and run start tomcat, i got some error message in console. I don;t know why. And also http://localhost:8080/thesis/hello.jsp returns and error message. here are my source code of hello.jsp html boby HI /body /html here are my software and hardware information WINDOWS XP JAVA SDK 1.4.2 TOMCAT 4.1.24 Pentium III 1G 128MB 20 GB Hard Drive Please help me Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help me in my problem...
Hello, I need some help in configurating tomcat server. I'm doing a JSP project, I have read some documentation about tomcat and it states that i need to add some line in %CATALINA_HOME%/conf/server.xml Context path=/thesis docbase=thesis debug=0 reloadable=true crossContext=true/ but after i save the server.xml and run start tomcat, i got some error message in console. I don;t know why. And also http://localhost:8080/thesis/hello.jsp returns and error message. here are my source code of hello.jsp html boby HI /body /html here are my software and hardware information WINDOWS XP JAVA SDK 1.4.2 TOMCAT 4.1.24 Pentium III 1G 128MB 20 GB Hard Drive Please help me Thanks
Re: Please help me in my problem...
I got similar problems when I saved the server.xml with non standard ascii chars. Scrive Steven Ang [EMAIL PROTECTED]: Hello, I need some help in configurating tomcat server. I'm doing a JSP project, I have read some documentation about tomcat and it states that i need to add some line in %CATALINA_HOME%/conf/server.xml Context path=/thesis docbase=thesis debug=0 reloadable=true crossContext=true/ but after i save the server.xml and run start tomcat, i got some error message in console. I don;t know why. And also http://localhost:8080/thesis/hello.jsp returns and error message. here are my source code of hello.jsp html boby HI /body /html here are my software and hardware information WINDOWS XP JAVA SDK 1.4.2 TOMCAT 4.1.24 Pentium III 1G 128MB 20 GB Hard Drive Please help me Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ERROR using the tomcat db connection pool against one SQL SERVER 200 database. Please help me
org.apache.commons.dbcp.DbcpException : java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL The URL is invalid. valuejdbc:microsoft:sqlserver://192.168.0.12:1433/Northwind/value Here is the URL On my servers, my devs are using: valuejdbc:microsoft:sqlserver://1.2.3.4:port;DatabaseName=DBP_toto /value Hope this helps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Basci Authentication... Please help me...
Dear friends, I have a problem that I can't solve. I'm trying to use BASIC authentication in TOMCAT 4.0.5 for a web application and its web.xml file is: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app security-constraint web-resource-collection web-resource-nameArea protetta/web-resource-name url-pattern/index.html/url-pattern /web-resource-collection auth-constraint role-nametomcat/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameBASIC AUTHENTICATION AREA/realm-name /login-config /web-app But when I call index.html page no authentication form is displayed! (index.html exists on both the applications). I tried it on a server with Tomcat 4.0.6 and everything goes well. So I tried to use, on TOMCAT 4.0.5, the same web.xml also for the ROOT application (that comes with TOMCAT) and everything goes well. On your opinion, why the authentication doesn't run on my application? Please, help me! I thank you in advance! Riccardo (Italy) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ERROR using the tomcat db connection pool against one SQL SERVER 200 database. Please help me
Hello i am trying for using the Tomcat database conecition pool (dbcp) against one SQL SERVER 2000 but i cannot connect always appears this error: DBCP borrowObject failed: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL. org.apache.commons.dbcp.DbcpException : java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL in the server.xml i have: Context path= docBase= reloadable=true crossContext=true Resource name=jdbc/DB auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/DB parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namedriverClassName/name valuecom.microsoft.jdbc.sqlserver.SQLServerDriver/value /parameter parameter nameurl/name valuejdbc:microsoft:sqlserver://192.168.0.12:1433/Northwind/value /parameter parameter nameusername/name valuesa/value /parameter parameter namepassword/name valuesa/value but i cannot connect, the error appears when i make: conn=ds.getConnection(); can anybody helps me? this question is very important for my job. Please help me. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running external C routine from a servlet ? Please help me !!!!
Hi there ! I'm running a little C program from a servlet. I'm using runtime, process and exec to do this. I gather the result in an inputstream. In fact there's no pb on that. The problem is rather a path problem. All servlets in my app are using relative path to found the others and properties file ie the working directory is myapp/WEB-INF/classes. But for C program the default path is always the home path ie /root or /home/user. I must build the complete absolute path to launch my C routine. I don't understand why the default path isn't the classes path as for servlet. I'm running under linux Red HAT 7.3, java 1.4.1_02, Tomcat 4.1.24. Is there any config file to modify in tomcat, linux or java? Please help ! Many thanks in advance ! Michel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running external C routine from a servlet ? Please help me !!!!
Michel, I had a similar problem creating files in a servlet. I found that in my case, the relative path start in the directory where tomcat is started. I changed the startup script to do a cd to $tomcat_home then called bin/startup.sh. Hope this helps Rick Bradberry NCR WCS Managed Services Telephone: 937-848-2203 Cell Phone: 937-367-1879 efax: 413-674-7094 -Original Message- From: Michel Jubault [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:45 AM To: [EMAIL PROTECTED] Subject: Running external C routine from a servlet ? Please help me Hi there ! I'm running a little C program from a servlet. I'm using runtime, process and exec to do this. I gather the result in an inputstream. In fact there's no pb on that. The problem is rather a path problem. All servlets in my app are using relative path to found the others and properties file ie the working directory is myapp/WEB-INF/classes. But for C program the default path is always the home path ie /root or /home/user. I must build the complete absolute path to launch my C routine. I don't understand why the default path isn't the classes path as for servlet. I'm running under linux Red HAT 7.3, java 1.4.1_02, Tomcat 4.1.24. Is there any config file to modify in tomcat, linux or java? Please help ! Many thanks in advance ! Michel - 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: Running external C routine from a servlet ? Please help me !!!!
Hi ! Many thanks, it's a good idea !!! You're right it's the same case for me : the default dir is the directory where I launch tomcat Is it a particar behavior of the 4.1.24 version? Regards Michel - Original Message - From: Bradberry, Rick [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Saturday, August 02, 2003 4:23 PM Subject: RE: Running external C routine from a servlet ? Please help me Michel, I had a similar problem creating files in a servlet. I found that in my case, the relative path start in the directory where tomcat is started. I changed the startup script to do a cd to $tomcat_home then called bin/startup.sh. Hope this helps Rick Bradberry NCR WCS Managed Services Telephone: 937-848-2203 Cell Phone: 937-367-1879 efax: 413-674-7094 -Original Message- From: Michel Jubault [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:45 AM To: [EMAIL PROTECTED] Subject: Running external C routine from a servlet ? Please help me Hi there ! I'm running a little C program from a servlet. I'm using runtime, process and exec to do this. I gather the result in an inputstream. In fact there's no pb on that. The problem is rather a path problem. All servlets in my app are using relative path to found the others and properties file ie the working directory is myapp/WEB-INF/classes. But for C program the default path is always the home path ie /root or /home/user. I must build the complete absolute path to launch my C routine. I don't understand why the default path isn't the classes path as for servlet. I'm running under linux Red HAT 7.3, java 1.4.1_02, Tomcat 4.1.24. Is there any config file to modify in tomcat, linux or java? Please help ! Many thanks in advance ! Michel - 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]
DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Services..... Failured... Please, help me!
The message is... java.sql.SQLException: Connection refused: connect at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.init(Unknown Source) at net.sourceforge.jtds.jdbc.Driver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at foo.Arteli.init(Arteli.java:25) at org.apache.jsp.Arteli_jsp._jspService(Arteli_jsp.java:52) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Somebody why?? The files is: Empresa.java public class Empresa { String foo = Not Connected; int bar = -1; Connection conn; public void init() { try{ conn = null; Class.forName(net.sourceforge.jtds.jdbc.Driver); Connection conn = DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Servic es,sa,); Statement stmt = conn.createStatement(); ResultSet rst = stmt.executeQuery(SELECT * FROM consecutivos); if(rst.next()){ foo=rst.getString(1); bar=rst.getInt(2); } conn.close(); } catch(Exception e){ e.printStackTrace(); } } public String getFoo() { return foo; } public int getBar() { return bar;} } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Services..... Failured... Please, help me!
Are you providing a user name and password? I am not familiar with this driver, but with the IBM DB2 driver a property of prompt=false is also needed. At 12:40 PM 4/3/2003 -0600, Victor Gonzalez wrote: The message is... java.sql.SQLException: Connection refused: connect at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.init(Unknown Source) at net.sourceforge.jtds.jdbc.Driver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at foo.Arteli.init(Arteli.java:25) at org.apache.jsp.Arteli_jsp._jspService(Arteli_jsp.java:52) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Somebody why?? The files is: Empresa.java public class Empresa { String foo = Not Connected; int bar = -1; Connection conn; public void init() { try{ conn = null; Class.forName(net.sourceforge.jtds.jdbc.Driver); Connection conn = DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Servic es,sa,); Statement stmt = conn.createStatement(); ResultSet rst = stmt.executeQuery(SELECT * FROM consecutivos); if(rst.next()){ foo=rst.getString(1); bar=rst.getInt(2); } conn.close(); } catch(Exception e){ e.printStackTrace(); } } public String getFoo() { return foo; } public int getBar() { return bar;} } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Services.....Failured... Please, help me!
Check and see if the password and username is correct for the database you setup. Victor Gonzalez wrote: The message is... java.sql.SQLException: Connection refused: connect at net.sourceforge.jtds.jdbc.TdsConnection.allocateTds(Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.init(Unknown Source) at net.sourceforge.jtds.jdbc.Driver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at foo.Arteli.init(Arteli.java:25) at org.apache.jsp.Arteli_jsp._jspService(Arteli_jsp.java:52) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Somebody why?? The files is: Empresa.java public class Empresa { String foo = Not Connected; int bar = -1; Connection conn; public void init() { try{ conn = null; Class.forName(net.sourceforge.jtds.jdbc.Driver); Connection conn = DriverManager.getConnection(jdbc:jtds:sqlserver://127.0.0.1:1443/Servic es,sa,); Statement stmt = conn.createStatement(); ResultSet rst = stmt.executeQuery(SELECT * FROM consecutivos); if(rst.next()){ foo=rst.getString(1); bar=rst.getInt(2); } conn.close(); } catch(Exception e){ e.printStackTrace(); } } public String getFoo() { return foo; } public int getBar() { return bar;} } - 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]
Please help me
I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC
RE: Please help me
Juan, Here you go: http://www.moreservlets.com/Using-Tomcat-4.html Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help me
Juan, Woops. My bad. Wrong link. Here is the right link: http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help me
and http://www.johnturner.com/howto/ Filip -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:52 AM To: 'Tomcat Users List' Subject: RE: Please help me Juan, Here you go: http://www.moreservlets.com/Using-Tomcat-4.html Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - 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]
please help me by japan
hello, (B excuse me (B i install the RedHat linux7.2 full install (by For Server) (B and j2sdk1.4.0 (B and Tomcat4.0.6 (B and mod_webapp-1.0-1.i386.rpm (B and settings as follwing (B -- (B httpd.conf (B DocumentRoot and Directory changed tomcat root (B addmodule mod_webapp.c (B and mod_webapp.so (B (B and IFmodule --- (BWebApplication conn warp local:8008 (BWebAppDeploy examples conn /examples/ (B/. (B (B and tomcat start and apache start (B - (B in Browser url --- localhost/examples/jsp/ (B in one dayas yesterday... (B is OK (B (B but today is error. (B why? (B please helpme (B Error info as Following... (B (B WebApp:Error 404 (B File:wa_request.c line:197 (B Web-application not yet deployed. (B (B Thanks in Advance (B best regards (B (B (B (B-- (BTo unsubscribe, e-mail: mailto:[EMAIL PROTECTED] (BFor additional commands, e-mail: mailto:[EMAIL PROTECTED]
Please Help me
Hi, I am new to this mailing list and Posting for the first time. I have a prob. using Tomcat 4.0 on Win ME system with Apache My Apache is configured on port 80 properly and working fine. I am Developing Sites in PHP and Its working fine with Apache. Now I Installed Tomcat 4.0 on my system for JSP Support. Tomcat is working fine seperately, When i use it on Port 8080 Now i want to invoke the JSP Support from Apache. I have been advised to Copy the ApacheModuleJserv.dll in the Apache's Modules Directory and to include the following line in httpd.conf LoadModule jserv_module modules/ApacheModuleJServ.dll I have done that. I searched on net, and got that everytime Tomcat will generate the tomcat-apache.conf file in the conf directory of tomcat. It is advised to include the following line in the httpd.conf include c:\tomcat\conf\tomcat-apache.conf My Tomcat is working fine, but there is no configuration file in the directory. Please help me to come out with this prob. Regards Manoj Tyagi
Re: Please Help me
JServ is deprecated, and AFAIK, not supported at all for Tomcat 4.x. Since you are running under Windows, mod_webapp isn't an option. You'll need to get the mod_jk connector from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /. Manoj Tyagi [EMAIL PROTECTED] wrote in message 000f01c2af27$0a531e80$0200a8c0@rps">news:000f01c2af27$0a531e80$0200a8c0@rps... Hi, I am new to this mailing list and Posting for the first time. I have a prob. using Tomcat 4.0 on Win ME system with Apache My Apache is configured on port 80 properly and working fine. I am Developing Sites in PHP and Its working fine with Apache. Now I Installed Tomcat 4.0 on my system for JSP Support. Tomcat is working fine seperately, When i use it on Port 8080 Now i want to invoke the JSP Support from Apache. I have been advised to Copy the ApacheModuleJserv.dll in the Apache's Modules Directory and to include the following line in httpd.conf LoadModule jserv_module modules/ApacheModuleJServ.dll I have done that. I searched on net, and got that everytime Tomcat will generate the tomcat-apache.conf file in the conf directory of tomcat. It is advised to include the following line in the httpd.conf include c:\tomcat\conf\tomcat-apache.conf My Tomcat is working fine, but there is no configuration file in the directory. Please help me to come out with this prob. Regards Manoj Tyagi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Please help me out to set character encoding of JVM
Hi I am working on a web application. The language supported is Japanease, I am using EUC-JP encoding type. My database [pgsql] is set for the EUC-JP. The problem here is JVM is not handeling EUC-JP Intially I started with tomcat3.2 and jdk1.3 after that I upgraded both as tomcat4 and jdk1.4 and I put the below in tomcat configuration -Dfile.encoding=EUC-JP It helped me a lot and started wirking as per my requirement. But the main problem was the whole system reduced the perfomance more the 50 times compare to the earlier. [I dont know why] So I just put jdk1.3 back. Now the system is working fast. but support for EUC- JP is not working even then -Dfile.encoding=EUC-JP is exists in the tomcat 4. Please let me know how set the encoding type for jdk1.3 JVM Thanks in advance Kantharaju Javali _ Any Opinions, explicit or implied, are solely those of the author and do not necessarily represent those of Questech. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Please help me, problem in connecting to Oracle using think drivers in tomcat
Dear Friends Using Tomcat, I am developing one application, during the process, I could able to connect to the oracle using JDBC-ODBC drivers, but I could not connect to the Oracle thin drivers I am Using : Windows NT Oracle 8.0.5 Tomcat 4.1.2 What I have done : I have download the Binary version of the tomcat from the Apache web site and unzipped and placed in the D:\Tomcat I Have created the catalina_home and set the path as d:\Tomcat I have converted the classes111.zip and classes102.zip to class111.jar and classes102.jar respectively Trial one : I have copied the above Jar files into d:\tomcat\common\lib folder I have restarted the start the server Result : Still I am getting the connection as Null Trial Two. I have set the Classpath for the above 2 jar file using the command set classpath=%classpath%.;d:\tomcat\common\lib\classes111.jar;d:\tomcat\common\lib\classes102.jar I have start the services ( startup.bat) and tried Result: Connection =null What else I have to do Please help me Advance Thank Thanks Girijapathi Nagesh Cox, Charlie wrote: why do you need a servlet wrapper for binary files? if you need to do pre/post-processing, use a filter and let tomcat server the file. This way you don't have to try to implement the http spec in your servlet. You will run into problems when a download manager requests 10 pieces(via http resume) of your file at once and you will end up serving the whole file 10 times if you have not handled 'resume' correctly. A filter resolved this for me. Charlie -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 12:46 PM To: Tomcat Users List Subject: Re: Problem downloading binary files, please help. I got a very weird error and here is the situation: The app I used: tomcat 4.06, phoenix web browser 0.3, ie6.0 Here is the problem: When I set up an application in tomcat (with BASIC AUTHEN), phoenix could download all binary files (.exe, .pdf, etc...) fine from Tomcat server. Then I tested with IE6.0, and I got error (server could not find the file or something). However, IE6.0 could download text file ok without any problem. Ok, so I came back and delete the file index.html in the application, and I can download the file fine. Isn't this strange? But that's not all yet. I want to serve files using a servlet wraper. Basically send back the binary with the right content type. Mozilla/phoenix can download without any problem. But IE6.0 complain with the same error before. So, somehow the index.html file and the servlet have something in common that make IE not working while it works without the index.html and statically. Well, want another strange thing? I could not find anyone complain about this, or even ask any question about this in newsgroup or apache site. And I can produce consistently using different machine. Anyone have any idea? Is it Apache Tomcat or IE error? Or both? Or it's me? I am sure Tomcat can be changed to work, since statically served page works. And I am sure IE can be changed to work, since Mozilla works all the time. Actually, I found any article in the newsgroup on Google with a similar error, but very different situation (IIS server). And the problem is in the expiration of a page. If some page has instant expiration, then IE6 has problem getting it. It could be the same problem. Coudl someone help me out here since IE has 95% of the market share? Thank you very much in advance. Vy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
please help me
Hi There, I'm very new to java technology and I started loving java, and now a days I'm learning servlets, I have written a servlet example, and trying to compile it but couldn't able to do that, do I need to have different software to compile the servlets apart from jdk1.4 please hel me!! I'm getting errors saying that Servlet calsses not found, so please tell me do I need to set the path or ?? please reply me, shabeer __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: please help me
To use servlets you will need a servlet container/webserver like Tomcat. To compile servlets some .jar files from Tomcat are necessary. You have to add this to your classpath or use ant scripts whatever. In your case I guess that servlet.jar from /tomcat/common/lib/ is missing in your classpath when your try to compile your servlet classes. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: please help me
You'll have to include servlet.jar in your CLASSPATH. servlet.jar is part of your tomcat distribution. When using Tomcat 4.1 you can find it in $CATALINA_HOME/common/libs Carsten Am Freitag, 22.11.02, um 12:40 Uhr (Europe/Berlin) schrieb Shabeer Miah: Hi There, I'm very new to java technology and I started loving java, and now a days I'm learning servlets, I have written a servlet example, and trying to compile it but couldn't able to do that, do I need to have different software to compile the servlets apart from jdk1.4 please hel me!! I'm getting errors saying that Servlet calsses not found, so please tell me do I need to set the path or ?? please reply me, shabeer __ Do you Yahoo!? Yahoo! Mail Plus ñ Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Carsten Ziegert Hannover Medical School, Dept. of Hematology and Oncology Carl-Neuberg-Straße 1, 30625 Hannover University of Applied Sciences, Faculty of Information Sciences Ricklinger Stadtweg 120, 30459 Hannover http://summit-bmt.fh-hannover.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SV: please help me
You can download the .class files from SUN: http://java.sun.com/products/servlet/download.html /Dan -Ursprungligt meddelande- Från: Shabeer Miah [mailto:[EMAIL PROTECTED]] Skickat: den 22 november 2002 12:41 Till: [EMAIL PROTECTED] Ämne: please help me Hi There, I'm very new to java technology and I started loving java, and now a days I'm learning servlets, I have written a servlet example, and trying to compile it but couldn't able to do that, do I need to have different software to compile the servlets apart from jdk1.4 please hel me!! I'm getting errors saying that Servlet calsses not found, so please tell me do I need to set the path or ?? please reply me, shabeer __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
please help me understand 'request encoding'
Hi, Please help me understand 'ServletRequest.getCharacterEncoding()', I'm really confused. I'm using 'SetCharacterEncodingFilter' that comes with examples webapp to process jsp pages with %page contentType=text/html;charset=GB2312 %. The filter works fine. What I don't understand is: . before calling reqeust.setCharacterEncoding(GB2312), I print out what's request.getCharacterEncoding(). It retuns 'NULL'. How could this happen? How come the request does not have an encoding? How does browser posts Strings in the form, I mean how does browser convert strings to byte stream? . In another form I need to upload a file saved in Unicode-big-endian, with a bunch of other form text inputs in GB2312. In this case, will the browser converts Unicoded file into GB2312 byte stream too? If not, that means I need two encodings to handle stuff from the request, 'GB2312' for string parameters but leave unicoded files as it is? Thanks for your help. Liu
Please help me!!
Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml with type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restarted, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection() = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me!!
This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 03 de octubre de 2002 9:47 Para: tomcat-user Asunto: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml with type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restarted, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection() = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me!!
Well I use the default pool DataSource of tomcat 4.0.3. I get a initial connection (--- static block) and then I return that with getConnection() method. I suppose that when the db is restarted my connection becomes null, but I'm not sure. I'm planning to use DBCP: is it possible using it with Tomcat 4.0.3? How can I install it? Does DBCP resolve the problem of the DB restart? Thanks Laura This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 03 de octubre de 2002 9:47 Para: tomcat-user Asunto: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml w ith type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restart ed, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString () + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection () = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me!!
You may want to look into these two classes from oracle. oracle.jdbc.oci.OracleOCIConnection oracle.jdbc.pool.OracleOCIConnectionPool They should be in the classes12.jar. This will preclude you from using the thin driver, but probably provide more stability in connection pooling. Read Oracle documentation here. http://otn.oracle.com/docs/products/oracle9i/doc_library/901_doc/index.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 3:47 AM To: tomcat-user Subject: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml with type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restarted, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection() = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me!!
Miguel Angel Mulero Martinez wrote: This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Does DBCP that comes with Tomcat 4.0.4 and later reconnect? Nix. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
please help me!!! [repost]
i am using apache 1.3.26 to server my static webpages on one server and connecting to a separate tomcat 3.1 server through mod_jk. when i start up apache, it is able to connect to the webapps fine. but after several minutes, something strange happens. if i put in the url of one webapplication, the browser shows a different webapplication. for example: i have a webapp called directory which is suppose to show a phone directory by going to http://myserver.com/directory it works when apache is just started, but after awhile, when i go to http://myserver.com/directory, i gives me a page that should actually be something like http://myserver.com/email. has this happened to anyone else? anyone know what is causing this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Please help me... URGENT
Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me... URGENT
Hi There, I would go with Tomcat+SSL, the setup is much easier than your other alternative. The only thing you really lose by not using apache is the ability to use virtual hosts. Mike On Fri, 2 Aug 2002, Sujith Mathew wrote: Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me... URGENT
Hi, If you need to get it up and running fast, just use Tomcat with SSL. You can always add Apache later if you think it will boost performance. Setting up an Apache+SSL+Tomcat server can be tricky if you are a newbie (and even if you aren't). A lot of this depends on what you are running and how heavy the demands on the server will be. If you have a lot of static pages (and maybe even if you don't) Apache with SSL and Tomcat may be faster. In that setup you use Apache to do the SSL, which is theoretically faster because it is a binary on the server. In reality the extra overhead of the transfer from Apache to Tomcat of dynamic pages may nullify any speed advantages. - Original Message - Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up and running. -Original Message- From: Michael B Sebetich [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:42 PM To: Tomcat Users List Subject: RE: Please help me... URGENT I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
I would assume that the use of SSL implies sensitive data being handled by the Win 2k server. Why risk compromising that data by using IIS? On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up and running. -Original Message- From: Michael B Sebetich [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:42 PM To: Tomcat Users List Subject: RE: Please help me... URGENT I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Login-Password http://localhost/manager ????? Please help me....
Hi, look at http://localhost:8080/tomcat-docs/manager-howto.html. There it says You can add the manager role to the comma-delimited roles attriute for one or more existing users, and/or create new users with that assigned role. So just add ,manager to one of those users. Then you can use this user for the manager app. For safety reason you should not use one of the predefined users but define a new user with role manager. After that you have to restart Tomcat. Hope that's what's needed by you. Andreas hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Login-Password http://localhost/manager ????? Please help me....
Actually there is no default password. You will have to change the user configuration file to set the login and password as you wish. Also, the roles have to be set. To manage everything set the following roles: Standard, Manager. My tomcat-users.xml looks like this ... user name=mgrLogin password=mgrPass roles=standard, manager / Regards, John. IT-INDIA.com wrote: hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Login-Password http://localhost/manager ????? Please help me....
?xml version='1.0'? tomcat-users role rolename=admin/ role rolename=manager/ role rolename=provider/ user username=tomcat password=tcpass roles=admin,manager,provider/ /tomcat-users -Original Message- From: Andreas Probst [SMTP:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 2:13 AM To: Tomcat Users List Subject:Re: Login-Password http://localhost/manager ? Please help me Hi, look at http://localhost:8080/tomcat-docs/manager-howto.html. There it says You can add the manager role to the comma-delimited roles attriute for one or more existing users, and/or create new users with that assigned role. So just add ,manager to one of those users. Then you can use this user for the manager app. For safety reason you should not use one of the predefined users but define a new user with role manager. After that you have to restart Tomcat. Hope that's what's needed by you. Andreas hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Login-Password http://localhost/manager ????? Please help me....
In order to use the manager app, you have to have the role 'manager' defined for your username. --- IT-INDIA.com [EMAIL PROTECTED] wrote: hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Login-Password http://localhost/manager ????? Please help me....
hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Login-Password http://localhost/manager ????? Please help me....
you need to set your user and password in tomcat-user.xml good luck clay -Original Message- From: IT-INDIA.com [SMTP:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:27 AM To: Tomcat Users List Subject:Login-Password http://localhost/manager ? Please help me File: ATT2.txt; charset = iso-8859-2 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat a pps)
Knutsen Jeffrey S wrote: YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. snip Well, although I agree with other posters that answering your question will not provide you with any useful information, here goes... I am developing a REAL application using Tomcat. Development is on a G3 PowerBook running Mac OS X 10.1.5, Tomcat 4.0.3 standalone, and MySQL something or other (recent, anyway!) with mm.MySQL JDBC driver. Performance is very good. Production will be on some kind of Sun box which also runs Samba (masquerades as an NT server) for local workgroup. Production DB will be Oracle 8i, which will probably slow down the app somewhat, but still confident the car will go fast enough! Now, apart from the information that the Mac is an excellent platform for Java apps, I don't know how this helps you, but hey... :-) Martin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
please help me
hi, i am tryingto configure Tomcat as a secure web server using SSL on windows 2000 i have installed the tomcat 4.0 and j2sdk1.4.0 my tomact is working alright that is the unsecure tomcat so far to make secure web server i have done this 1. i have created the certificate by %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA 2. I have made changes in the server.xml !-- Define a non-SSL HTTP/1.1 Connector on port 80 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=6/ !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- !-- Define an SSL HTTP/1.1 Connector on port 8443 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true keystorePass=changeit acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector 3. now when i do https://localhost:8443/ it gives me oage not found but http://localhost works can give me some what should i do - Original Message - From: Sven Woltmann [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 6:47 AM Subject: AW: SSL Certificates from a CA... If you use Apache's SSL functionality, you don't need Tomcat's, since Apache does all the SSL encrypting/decrypting for you. If you use Tomcat standalone, you can use JDK's keytool to generate an SSL certificate request with the -certreq option. Sven -Ursprüngliche Nachricht- Von: Sean M Alderman [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Juni 2002 15:43 An: Tomcat Users List Betreff: SSL Certificates from a CA... Greetings, I just read through the SSL-HowTo for Tomcat and followed it to get things going with a test certificate. Is there any documentation on how to generate a server certificate request for a CA? I've done this with apache and mod_ssl using openSSL with out issue. Are the openSSL tools interoperable with Tomcat? Thanks. -- Sean M. Alderman ITRACK Systems Analyst PACE/NCI - NASA Glenn Research Center (216) 433-2795 Calling a windowed operating system Windows is like naming an automobile Wheels. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcata pps)
YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. The type of responses I was hoping for would have had developers proudly boasting something like: At my company we are successfully running 17 applications in two TC instances or We are running one TC instance with four apps or We have one app. I am not interested in app type or size or anything like that. Based on the information I have seen, I should be forced to conclude that TC is not being used for any real applications, but I KNOW this can not be true - there are far too many intelligent and competent people monitoring the mail list. Unfortunately (for me), no one has yet proclaimed success. I understand that when it comes time to actually implement TC, the questions regarding OS, JVM, type of apps, etc will become VERY important. But I need to try to make some justifications before I can ever get to that point. Thanks all for all your help! -- Jeff -Original Message- From: Adrian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 7:32 PM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcat a pps)
Jeff - We are using Tomcat to provide a Web front end for a mainframe application -- so at most two or three clients at once hitting the server. The box is Win2K or WinNT 4. The application is a bunch of JSPs and a couple of Java Beans which use TCP/IP to talk to the MF. We are not quite released but the Beta code has been running very nicely in Tomcat 3.3.x and 4.0.x for 3 or 4 months now. Everyone that has seen it has been impressed. Does that help? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Knutsen Jeffrey S [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:20 AM To: Tomcat Users List Subject: RE: Please help me improve my question skills (number of tomcat a pps) YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. The type of responses I was hoping for would have had developers proudly boasting something like: At my company we are successfully running 17 applications in two TC instances or We are running one TC instance with four apps or We have one app. I am not interested in app type or size or anything like that. Based on the information I have seen, I should be forced to conclude that TC is not being used for any real applications, but I KNOW this can not be true - there are far too many intelligent and competent people monitoring the mail list. Unfortunately (for me), no one has yet proclaimed success. I understand that when it comes time to actually implement TC, the questions regarding OS, JVM, type of apps, etc will become VERY important. But I need to try to make some justifications before I can ever get to that point. Thanks all for all your help! -- Jeff -Original Message- From: Adrian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 7:32 PM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED
Please help me improve my question skills (number of tomcatapps)
I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcat apps)
Maybe you'd better check this http://www.tuxedo.org/~esr/faqs/smart-questions.html first or, still better, ask at The Tomcat Developer List, which can be subscribed here http://jakarta.apache.org/site/mail2.html . The guys there might know. That's all I can do for you, mate. tom -Original Message- From: Knutsen Jeffrey S [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 3:49 PM To: '[EMAIL PROTECTED]' Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcatapps)
On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcata pps)
Thanks very much for the help. I do understand that there are many variables that will affect the answer to this question. At this time, all I am really after is what is the best that anyone has done, in any configuration. I am interested in real-world successes. Thanks again! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 10:33 AM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat a pps)
Hi, So the question reduces to:- 1. What are the extra memory requirements for a virtual host/context? 2. How much longer does it take to decide on a servlet/jsp to invoke for an extra virtual host/context? From my (limited) understanding of Tomcat, I would say the answer to both of these questions is negligible compared to the memory/overhead of processing a typical request. So your question reduces to how many requests can be processed by your instance, and that depends very much on your application. The distribution of the requests amongst the applications shouldm't matter. Can somebody more knowledgeable confirm the extra resource requirements for virtual hosts/contexts. Regards, Arshad - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 10, 2002 4:37 PM Subject: RE: Please help me improve my question skills (number of tomcat a pps) Thanks very much for the help. I do understand that there are many variables that will affect the answer to this question. At this time, all I am really after is what is the best that anyone has done, in any configuration. I am interested in real-world successes. Thanks again! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 10:33 AM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe
Re: Please help me improve my question skills (number of tomcat apps)
On Mon, 10 Jun 2002, Arshad Mahmood wrote: Date: Mon, 10 Jun 2002 16:49:07 +0100 From: Arshad Mahmood [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Please help me improve my question skills (number of tomcat a pps) Hi, So the question reduces to:- 1. What are the extra memory requirements for a virtual host/context? 2. How much longer does it take to decide on a servlet/jsp to invoke for an extra virtual host/context? From my (limited) understanding of Tomcat, I would say the answer to both of these questions is negligible compared to the memory/overhead of processing a typical request. So your question reduces to how many requests can be processed by your instance, and that depends very much on your application. The distribution of the requests amongst the applications shouldm't matter. Can somebody more knowledgeable confirm the extra resource requirements for virtual hosts/contexts. Virtual hosts and webapps are both looked up via Hashtables (Tomcat 3.x) or HashMaps (Tomcat 4.x), so the cost is indeed very small - so small that it's basically not worth worrying about for a standalone Tomcat installation. When you're using Tomcat behind a web connector, it really depends on how the connector is implemented -- and someone else will have to answer those questions; I never use 'em so don't have any idea. Regards, Arshad Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat apps)
Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me
Hi! I need to integrate Apache 2 and Tomcat 4 on Windows 2000. I run into a whole lot of problems. The main problem is that Apache cannot load the mod_jk.dll module. I referred to a website and got another version of a re-compiled mod_jk.dll, but did no good. Has anyone integrated Apache 2 and Tomcat 4 on Windows 2000? Otherwise, any help would be greatly appreciated. I have been working on this for days and have reached nowhere... Do drop me a line Thanks! Ryan. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me
http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Ryan Gomes [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 10:51 PM To: [EMAIL PROTECTED] Subject: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me Hi! I need to integrate Apache 2 and Tomcat 4 on Windows 2000. I run into a whole lot of problems. The main problem is that Apache cannot load the mod_jk.dll module. I referred to a website and got another version of a re-compiled mod_jk.dll, but did no good. Has anyone integrated Apache 2 and Tomcat 4 on Windows 2000? Otherwise, any help would be greatly appreciated. I have been working on this for days and have reached nowhere... Do drop me a line Thanks! Ryan. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me
Hi Ryan, Check the archives for the subject: mod_jk for Apache 2 on Win32?. You probably have issues with your mod_jk.conf and/or your workers.properties. I posted my files there as examples of something that works. Of course you need to adapt it for your own purposes, but it should get you started. The messages were posted with attached files on 4/30/2002. Using those configuration files and the binary from http://www.acg-gmbh.de/mod_jk/ allows Apache 2.x.x and Tomcat 4.x.x to work great together. Jake At 11:51 PM 5/4/2002 -0400, you wrote: Hi! I need to integrate Apache 2 and Tomcat 4 on Windows 2000. I run into a whole lot of problems. The main problem is that Apache cannot load the mod_jk.dll module. I referred to a website and got another version of a re-compiled mod_jk.dll, but did no good. Has anyone integrated Apache 2 and Tomcat 4 on Windows 2000? Otherwise, any help would be greatly appreciated. I have been working on this for days and have reached nowhere... Do drop me a line Thanks! Ryan. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Urgent.. Please help me
Hi! I have an urgent question. Could any guru help me to diagnosis it? I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it raise the following exception: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at javax.naming.InitialContext.lookup(InitialContext.java:350) That means the the whole java:comp cannot be found, which I think should have nothing to do with my DataSource resource setup in my web application context. Also I use javax.naming.NamingEnumeration ne = initCtx.list(); I found there is nothing under JNDI root. I think there is much some configuration not right. Can any gurus help? thanks so much! Alvin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Urgent.. Please help me
please send some more, like the db JNDI definition, i think is only a name problem GIorgio - Original Message - From: Alvin Wang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:05 PM Subject: Urgent.. Please help me Hi! I have an urgent question. Could any guru help me to diagnosis it? I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it raise the following exception: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at javax.naming.InitialContext.lookup(InitialContext.java:350) That means the the whole java:comp cannot be found, which I think should have nothing to do with my DataSource resource setup in my web application context. Also I use javax.naming.NamingEnumeration ne = initCtx.list(); I found there is nothing under JNDI root. I think there is much some configuration not right. Can any gurus help? thanks so much! Alvin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Urgent.. Please help me
Are you using the WARP connector by any chance? Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Alvin Wang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:05 PM Subject: Urgent.. Please help me Hi! I have an urgent question. Could any guru help me to diagnosis it? I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it raise the following exception: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at javax.naming.InitialContext.lookup(InitialContext.java:350) That means the the whole java:comp cannot be found, which I think should have nothing to do with my DataSource resource setup in my web application context. Also I use javax.naming.NamingEnumeration ne = initCtx.list(); I found there is nothing under JNDI root. I think there is much some configuration not right. Can any gurus help? thanks so much! Alvin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat/IIS/ISAPI/SendRedirect Problem - Please help me!!! Urgent!!!
Please help me! I´m using Tomcat 3.2.4 with isapi_redirector.dll and IIS 5.0 on Win2k. The problem is with reponse.sendRedirect(../page.jsp?xxx=xxx.) Depending of the length of the query_string (xxx=xxx...) the Internet Explorer doesn´t redirect, it stays waiting for something. This problem doesn´t occur when i access tomcat´s port directly(8080). Do you know some bug with SendRedirect and Internet Explorer or maybe IIS? Because it works fine in Netscape and Opera... Thanks... -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
SOLVED [PLEASE HELP ME: JNDI ERROR 1]
Hi all, I solved my problem with Oracle 8.1.6 and JNDI. I remember you the problem was that when I tried to execute Connection con = ds.getConnection() (where ds is a DataSource token by JNDI) I receved: Network Adapter could not establish the connection. Well first a couple of considerations: 1) I discovered that this problem is not specific of Oracle 8.1.6 but it can occure with Oracle 8.1.7. 2) The version of driver (classes12.zip) is important but with the correct version of driver the error persist. At least the solution. In the server.xml where you set your JNDI connection, the value of DriverName isn't jdbc:oracle:thin:@HOST:PORT:SID but the correct string is: jdbc:oracle:thin:@(description=(address=(host=HOST)(protocol=tcp)(port=PORT))(connect_data=(sid=SID)(SERVER=DEDICATED))) whre the part SERVER=DEDICATED is very very very important. I hope this can help someone. Thanks everybody who helped me. Laura -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]