Problem with Tomcat Service when Tomcat Installation pathname has double byte characters
We are using Tomcat 4.1 as a service. The service calls and runs the tomcat.exe correctly so long the tomcat installation pathname has ASCII characters only. But moment we install the Tomcat in a pathname that has double bytes, the tomcat.exe invoked by the service fails to run ? Any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
Wasik, Paul wrote: Hi all, Can anyone point me in the right direction on what might be causing this error in my catalina.out log file? I'm running Tomcat 5.0.28 on a RedHat EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside from this entry in my log file, everything seems to be working fine. This is due to the fact that your system has a rather high security setting. I have the same thing on my Mandrake. Basically, java is unable to read /proc file system and cannot determine some facts about it's own process. This is mostly harmless, since my TC is running with that, no problem. Perhaps it could be worthwhile to investigate and see what permissions tomcat user should have on the system to access /proc FS. It is also a good question whether or not, tomcat user *should* have access to proc fs. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Book
Hi, Can anyone recommend on a good Tomcat Book? Thanks.
RE: Tomcat Book
Professional Apache Tomcat - Wrox Press is pretty good -Original Message- From: Adi Gati [mailto:[EMAIL PROTECTED] Sent: 12 July 2005 09:40 To: tomcat-user@jakarta.apache.org Subject: Tomcat Book Hi, Can anyone recommend on a good Tomcat Book? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsvc.exec error: Service exit with a return value of 143
Hi all, Can anyone point me in the right direction on what might be causing this error in my catalina.out log file jsvc.exec error: Service exit with a return value of 143? I'm running Tomcat 5.0.28 on a RedHat EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside from this entry in my log file, everything seems to be working fine. Thanks, Paul
web.xml breaks EL
Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind} /c:forEach When I delete my web.xml, everything works well but when I reload the context with it, the EL replacement doesn't work. I can't see why. I have a very simple web.xml : ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app display-nameQuestionnaire/display-name servlet servlet-namestruts-action/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 load-on-startup2/load-on-startup /servlet !-- Standard Action Servlet Mapping -- servlet-mapping servlet-namestruts-action/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- The Usual Welcome File List -- welcome-file-list welcome-fileindex.jsp/welcome-file welcome-fileindex.html/welcome-file /welcome-file-list /web-app And WEB-INF/lib contains : antlr.jar commons-beanutils.jar commons-digester.jar commons-logging.jar commons-validator.jar jakarta-oro.jar jstl.jar standard.jar struts.jar struts-el.jar Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: web.xml breaks EL
Dewitte Rémi wrote: Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind} /c:forEach When I delete my web.xml, everything works well but when I reload the context with it, the EL replacement doesn't work. I can't see why. I have a very simple web.xml : ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; This is web.xml for a Servlet 2.2 specification and you need 2.4: 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 Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem when a click a button that it execute a servlet n times
My problem is that I can not disable the button because when the user click the button the application return a file to the user. And when the process has finished then the user have to can download other file. The button does the next (call a servlet): - Process the inserted information by the user. - Store this information in a oracle database . - Finally, return a file to the user (download). The user always is in the same jsp page. In the page the user enter a lot of information, and the idea is the user can download various files. I can not refesh the page because I lose the entered information by user. If I disable the button the user can not download other file because the button is disabled. I don't know how do it without disabling the button. Could I disable the button when the user click the button and could I enable when the user has download the file? How? Michael Jouravlev [EMAIL PROTECTED] escribió: On 7/11/05, Frank W. Zammetti wrote: If you are not script-averse, the solution to this that I've always used is to disable the button client-side before submitting the form. It's not a perfect solution though, as there is no way to re-submit if a problem occurs (i.e., if it hangs for a long time... outright server-side errors would still occur as usual of course), but in many situations it's fine. Note that PayPal is one example of a major site that does this. Frank I agree, something like this works pretty well, but you still need to check for resubmits, if resubmitting must not be allowed at all. function SubmitForm(){ document.getElementById('sub').disabled = true; document.forms['msgform'].submit(); return true; } ... [input] name=param_submit value=Submit This Form / Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
Re: How to set the user created tld in web.xml??
It looks like your tld file is missing the uri element. For example: taglib 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 web-jsptaglibrary_2_0.xsd version=2.0 ... urihttp://www.jiyaJobs.com//uri ... /taglib Also be sure the tag file is in /WEB-INF/ -Tim IndianAtTech wrote: Hi All, I am facing a problem in setting the user created tld file in web.xml If I don't specify anything in web.xml I am getting below error Exception Handler Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error. Exception Details: org.apache.jasper.JasperException This absolute uri (http://www.jiyaJobs.com/) cannot be resolved in either web.xml or the jar files deployed with this application Possible Source of Error: Class Name: org.apache.jasper.compiler.DefaultErrorHandler File Name: DefaultErrorHandler.java Method Name: jspError Line Number: 105 Source not available. Information regarding the location of the exception can be identified using the exception stack trace below. Stack Trace: org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154) org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:159) org.apache.jasper.compiler.JspDocumentParser.addCustomTagLibraries(JspDocumentParser.java:459) org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:189) org.apache.xerces.parsers.AbstractSAXParser.startElement( Unknown Source ) org.apache.xerces.impl.dtd.XMLDTDValidator.startElement( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unknown Source ) org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument( Unknown Source ) org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source ) org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source ) org.apache.xerces.parsers.XMLParser.parse( Unknown Source ) org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source ) javax.xml.parsers.SAXParser.parse(SAXParser.java:345) org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:156) org.apache.jasper.compiler.ParserController.parse(ParserController.java:193) org.apache.jasper.compiler.ParserController.parse(ParserController.java:153) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227) org.apache.jasper.compiler.Compiler.compile(Compiler.java:369) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432) org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130) com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
Re: web.xml breaks EL
Thanks very much ! Rémi Le Mardi 12 Juillet 2005 12:12, Nikola Milutinovic a écrit : Dewitte Rémi wrote: Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind} /c:forEach When I delete my web.xml, everything works well but when I reload the context with it, the EL replacement doesn't work. I can't see why. I have a very simple web.xml : ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; This is web.xml for a Servlet 2.2 specification and you need 2.4: 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 Nix. - 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: file access via HttpSession
No, you would need to do this via a programmtic authorization. There is no declaritive way to do this. -Tim Clark Slater wrote: Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer) httpSession.getValue(Customer); if (c.getCountryCode().equals(CAN)) their browser could display any HTML file in /webapps/ecat/profiles/canada but not files in /webapps/ecat/profiles/usa Of course, files in either of these directories would not be viewable by the outside world. Thanks! Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to set the user created tld in web.xml??
This is what I have taglib 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 web-jsptaglibrary_2_0.xsd version=2.0 tlib-version0.1/tlib-version jsp-version1.2/jsp-version short-namea/short-name urihttp://www.jiyaJobs.com//uri display-nameJiya Library/display-name description The AddOns Tag Library is a tag library containing JavaServer Faces component+renderer custom actions. It contains no dependencies on any other APIs and libraries except for the following standard APIs: * JavaServer Faces (version 1.0 or later) * JavaServer Pages (JSP) (version 1.2 or later) * Servlet (version 2.3 or later) /description /taglib Am I missing anything?? On 7/12/05, Tim Funk [EMAIL PROTECTED] wrote: It looks like your tld file is missing the uri element. For example: taglib 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 web-jsptaglibrary_2_0.xsd version=2.0 ... urihttp://www.jiyaJobs.com//uri ... /taglib Also be sure the tag file is in /WEB-INF/ -Tim IndianAtTech wrote: Hi All, I am facing a problem in setting the user created tld file in web.xml If I don't specify anything in web.xml I am getting below error Exception Handler Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error. Exception Details: org.apache.jasper.JasperException This absolute uri (http://www.jiyaJobs.com/) cannot be resolved in either web.xml or the jar files deployed with this application Possible Source of Error: Class Name: org.apache.jasper.compiler.DefaultErrorHandler File Name: DefaultErrorHandler.java Method Name: jspError Line Number: 105 Source not available. Information regarding the location of the exception can be identified using the exception stack trace below. Stack Trace: org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154) org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:159) org.apache.jasper.compiler.JspDocumentParser.addCustomTagLibraries(JspDocumentParser.java:459) org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:189) org.apache.xerces.parsers.AbstractSAXParser.startElement( Unknown Source ) org.apache.xerces.impl.dtd.XMLDTDValidator.startElement( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( Unknown Source ) org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source ) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument( Unknown Source ) org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source ) org.apache.xerces.parsers.XML11Configuration.parse( Unknown Source ) org.apache.xerces.parsers.XMLParser.parse( Unknown Source ) org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source ) javax.xml.parsers.SAXParser.parse(SAXParser.java:345) org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:156) org.apache.jasper.compiler.ParserController.parse(ParserController.java:193) org.apache.jasper.compiler.ParserController.parse(ParserController.java:153) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227) org.apache.jasper.compiler.Compiler.compile(Compiler.java:369) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432) org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130) com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
install automatically a datasource with tomcat 5.0.25
hi all i have tomcat 5.0.25 and i used context.xml in META-INF for configuring the datasource. But I notice that I have to configure the datasource data(url.path , driver) also with the tomcat administrator. I notice that with tomcat 5.5.7 that do not happen I want for sure using tomcat 5.0.25. So any idea for automatically generate the datasource? Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Single Sign on to access another webapp.
Hi Everyone, Thanks for the replies. If i understand correctly, then the SSO should work between Tomcat and another j2EE type servlet container? The other app. in question is websphere. regards, Ben Bookey From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Using Single Sign on to access another webapp. Date: Fri, 08 Jul 2005 06:48:44 -0400 One way to do SSO is to utilize a cookie (lets call it SSO, and to be really secure - it should only be transfered over https). The existence of a cookie says the person might be logged in. The value of the cookie needs to be checked. The value of the cookie shold NOT be the user id. It can be an encrytped form of the user id, or it can be a token which the web server would use in a hash lookup to get the real user id. In the case of the hash - you'd need a service to be be able to handle maintenance of getting userids/tokens into the hash. Luckily for you, there are some projects out there that do this. Google is your friend here. -Tim Ben Bookey wrote: Dear List, We are using Tomcat 4.1.xx. We are NOT using the built in security framework which comes with TC. In the login.jsp page the user/password is validated by an external organisation wide process, which returns simply true or false. If the user is valid, the user is forwarded to the application JSP pages. The user can not access the application pages at will, because the pages check to see if a particular session flag is checked. Now my problem. I have been asked to assess if single sign On (SSO) could be used to create a URL link to another similar webapp's JSP page (TC with no security framework), where the user doesnt need to login for a second time. There is not so much info. about SSO around, but from what I gather it persists login info. inside a session which is passed between web applications. My first problem is that my application never knows what the password is. Can anyone see a possibilty of using SSO for me, allowing direct access to another webapps JSP page with out re-login ? Would really appreciate any help on this. Especially ones with info. more than simply No ;-) kind regards, Ben p.s. might be that the 2nd app has to create a web-service or something to provide the information for us!! - 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: web app url config question
Thanks for the quick response Rob. I saw that but was afraid that was violating some tomcat best practice. If that is indeed the best way of configing my url then I'll roll with it. thx... erik --- Rob Hills [EMAIL PROTECTED] wrote: HI Erik, On 11 Jul 2005 at 19:34, Erik Weibust wrote: i have a question that after reading the majority of the online docs is still unanswered. how can i set my tomcat url to default to a specific page in a webapp? i.e. i would like http://localhost:8080 to load http://localhost:8080/testwebapp/home.jsp. There are a number of ways to do this. One is listed at the bottom of the wiki howto page: http://wiki.apache.org/jakarta-tomcat/HowTo HTH, Rob Hills - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Erik Weibust developer and blogger - http://erik.weibust.net leader J2EE SIG - Dallas, TX - http://j2eesig.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
file access via HttpSession
Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer) httpSession.getValue(Customer); if (c.getCountryCode().equals(CAN)) their browser could display any HTML file in /webapps/ecat/profiles/canada but not files in /webapps/ecat/profiles/usa Of course, files in either of these directories would not be viewable by the outside world. Thanks! Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xml, jse1.5 and the endorsed directory
Does jse1.5 still require using the endorsed directory to override the built-in parser? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with refreshing JSP
Hi, It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. Thanks, Rahul. Gurumoorthy [EMAIL PROTECTED] wrote: Well, Is it the browser or tomcat ? if it is the browser then you need to add the no-cache headers to the response regards Guru - Original Message - From: Rahul Joshi To: Sent: Tuesday, July 12, 2005 1:50 AM Subject: Problem with refreshing JSP Hello: I am using Tomcat5.5.7 with Eclipse environment. The problem I was facing was that inspite of changing or deleting re-copying and compiling a JSP page (after re-starting the tomcat server), the browser was reading the old compiled file from work/Catalina/localhost/... I solved the problem by deleteing the contents of work/Catalina/localhost. Is there a programmatic, I mean, by setting some Tomcat property solution to this?? Any help is greatly appreciated. Thanks! Rahul.
Re: Problem with refreshing JSP
Hi Rahul, On 12 Jul 2005 at 8:19, Rahul Joshi wrote: It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. If you set the Reloadable attribute of your application's Context element to True you will find that Tomcat will recompile any JSP file shortly after it changes ( see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html ). As described in the documentation, this can slow down the performance of your application so it's best to switch it off on a production server. Rob Hills Western Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirection/Multiple URLs (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE Hey everyone, I am trying to let 2 URLs to resolve to the same IP address. I am using apache as a web server that talks to the application server where the app is deployed. What is the best way to approach this ? Would a redirect tag do it ? Where (in which file) does the change have to be made ? Thanks a lot for your support. Fadi Classification: UNCLASSIFIED Caveats: NONE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how can I put enable a button when a servlet has finished.
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
how can I put enable a button when a servlet has finished.
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
Re: how can I put enable a button when a servlet has finished.
you can enable and disable buttons through javascript - Original Message - From: password password [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how can I put enable a button when a servlet has finished.
Yes with javascript, but my problem when I can know that the servlet has finish in that jsp page? Eric J. Pastoor [EMAIL PROTECTED] escribió: you can enable and disable buttons through javascript - Original Message - From: password password To: Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks. - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
Re: how can I put enable a button when a servlet has finished.
You know that when the Servlet send a response stream to the browser, a.k.a. HTML code ;) Call the servlet in a hidden frame. Make the servlet response a html containing a javascript call... easy. password password escribió: Yes with javascript, but my problem when I can know that the servlet has finish in that jsp page? Eric J. Pastoor [EMAIL PROTECTED] escribió: you can enable and disable buttons through javascript - Original Message - From: password password To: Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how can I put enable a button when a servlet has finished.
What event see that the servlet has finished in javascript or html? can you send me an example? Ivan Rodriguez [EMAIL PROTECTED] escribió:You know that when the Servlet send a response stream to the browser, a.k.a. HTML code ;) Call the servlet in a hidden frame. Make the servlet response a html containing a javascript call... easy. password password escribió: Yes with javascript, but my problem when I can know that the servlet has finish in that jsp page? Eric J. Pastoor escribió: you can enable and disable buttons through javascript - Original Message - From: password password To: Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Correo Yahoo! Comprueba qué es nuevo, aquí http://correo.yahoo.es
Re: how can I put enable a button when a servlet has finished.
public void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { [.] [When you end the server tasks, ] String redirectString = request.getContextPath() + /some/path/to/finished.jsp; response.sendRedirect(response.encodeURL(redirectString)); } In that finished.jsp file: body onload=top.document.getElementByID('id_of_submit_button').enabled='true' JS code need to be checked by yourself, I just write it fast :) password password escribió: What event see that the servlet has finished in javascript or html? can you send me an example? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with refreshing JSP
Rob Hills wrote: Hi Rahul, On 12 Jul 2005 at 8:19, Rahul Joshi wrote: It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. If you set the Reloadable attribute of your application's Context element to True you will find that Tomcat will recompile any JSP file shortly after it changes ( see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html ). As described in the documentation, this can slow down the performance of your application so it's best to switch it off on a production server. Actually reloadable=true makes tomcat watch for changes in /WEB-INF/classes/ and /WEB-INF/lib (see again http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html ) which is indeed a costly operation. Watching for changes to the JSPs is done somewhere else. If memory fails me not, it is in the server.xml file: an attribute of the JSPServlet element. Watching for JSP changes is not that costly. Unless you have a very high traffic site you can safely use it for your production site, too. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: File Download dialog launched errantly
Thanks Luis - I found the wmlbrowser plug-in for Mozilla, installed it, and can now display WML. Greatly appreciate it! Regards, Steve PS - wapsilon.com seems to be down at the moment - am interested in seeing their product too so will keep trying -Original Message- From: Luis Torres [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 7:58 PM To: Tomcat Users List Subject: Re: File Download dialog launched errantly Hi, Actually that sounds right. You can't display WML data in a standard browser and that's why you get the download dialog. To see that type of content you can test using a WAP browser like winwap (not free but you get a trial) or an online WAP emulator such as wapsilon http://www.wapsilon.com. If it displays ok in one of those two then you are on the right track :) Hasta luego. Luis Kirby, Stephen (Civ, ARL/CISD) wrote: Hi, I am using a WML file as my welcome-file. When I try to launch the web page I'm getting a File Download dialog for some reason. (it's tomcat-5.5.9 and it shows tomcat works fine when I leave the welcome file as index.jsp) The web.xml already had the MIME mapping for wml extension files so I don't think that's the problem. (from web.xml) mime-mapping !-- WML Source -- extensionwml/extension mime-typetext/vnd.wap.wml/mime-type /mime-mapping I've triple-checked the wml file and can't see anything wrong: ?xml version=1.0? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wml card id=myFirstCard title=First Card p align=center Hi there.. /p /card /wml I've seen mention of a http.conf file -- is that relevant to jakarta tomcat; if so what line is added to recognize wml? TIA -Steve - 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]
Tomcat session deserialization issue ?
Hello all, We have a webapp deployed on Tomcat 5.5.7 and Apache/2.0.53. We have serialized our sessions. We get this error in our log on start of the webapp: WARN - Cannot serialize session attribute SESSION_DATA for session 1948F0D64D1B2679896325B06457A075 java.io.NotSerializableException: org.apache.catalina.connector.RequestFacade at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.catalina.session.StandardSession.writeObject(StandardSession. java:1436) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSess ion.java:911) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.jav a:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java: 462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:66 4) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4261) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:89 2) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1147 ) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1119) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31 2) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1051) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:445) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717) at org.apache.catalina.startup.Catalina.stop(Catalina.java:586) at org.apache.catalina.startup.Catalina.start(Catalina.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) WARN - Cannot serialize session attribute SESSION_DATA for session 1DB7954590DC27243A584C999392B7FD java.io.NotSerializableException: org.apache.catalina.connector.RequestFacade at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at org.apache.catalina.session.StandardSession.writeObject(StandardSession. java:1436) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSess ion.java:911) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.jav a:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java: 462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:66 4) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4261) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:89 2) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1147 ) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1119) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31 2) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1051) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1063) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:445) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717) at org.apache.catalina.startup.Catalina.stop(Catalina.java:586) at org.apache.catalina.startup.Catalina.start(Catalina.java:561) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
Classpath issues with embedded tomcat
Hello all, I'm running embedded tomcat 5.5.9. Let's say that I have one version of X.jar in my main classpath when I launch my embedded Tomcat, and also a different version of X.jar in a deployed webapp under WEB-INF/lib. Is there a way to force tomcat to use the X.jar version that it's in WEB-INF/lib and NOT the one that's in the main classpath? The default class loading behavior uses the X.jar in the main classpath and not the X.jar in WEB-INF/lib, which is causing problems since the deployed webapp doesn't suppor the version of X.jar that the parent classloader has already loaded. Any help is greatly appreciated! Thanks, Ryan
Re: Datasource works in Tomcat 5.5.4 but not 5.5.9
After some more testing, I have determined that I can remove the user name and password from context.xml in Tomcat 5.5.4, and it still works. Removing the entire Resource tag, however, causes it to crash out, as it should. This means that Tomcat 5.5.4 needs the connection information in context.xml, but authenticates from elsewhere, probably Active Directory, since I have to log on to my desktop workstation via Active Directory. Any idea why 5.5.9 will not authenticate this way, or more importantly, how to cause it to authenticate this way? On 7/8/05, Craig Dixon [EMAIL PROTECTED] wrote: I am encountering a very strange problem when trying to use a datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by using the following in TomcatHome\conf\Catalina\localhost\webAppContext.xml Context path=/appName docBase=appName debug=5 reloadable=true crossContext=true Resource name=jdbc/RDM auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=*hidden* password=*hidden* driverClassName=sun.jdbc.odbc.JdbcOdbcDriver url=jdbc:odbc:RDM_CURRENT_11/ /Context I use this in conjunction with the following in TomcatHome\webapps\appName\WEB-INF\web.xml: ?xml version=1.0 encoding=ISO-8859-1? 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 resource-ref descriptionRDM/description res-ref-namejdbc/RDM/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app This works like a dream. I tried upgrading to Tomcat 5.5.9. I downloaded and installed the admin add-on application, then added the datasource via the admin interface as follows: JNDI Name: RDM Datasource URL: jdbc:odbc:RDM_CURRENT_11 JDBC Driver Class: sun.jdbc.odbc.JdbcOdbcDriver Username: *hidden* Password: *hidden* MaxActiveConnections: 100 MaxIdleConnections: 30 MaxWaitForConnection: 1 Validation Query: Now I get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:171) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.) org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276) org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159) org.apache.jsp.gradprofile_jsp._jspx_meth_sql_query_0(org.apache.jsp.gradprofile_jsp:190) org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:80) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. Apache Tomcat/5.5.9 I still have 5.5.4 installed, and when I switch back to it, everything works fine. I'd like to work in the most current version, though. Anyone have any ideas about this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For
Serving .jsp's from other dirs (newbie)
Hello all, Im a bit new to Tomcat and interoperation with Apache thru mod_jk... I seem to have most of it setup. Im running Apache 1.3.33 and Tomcat 5.5.9 on Solaris 10 x86 I'm trying to get .jsp scripts to run within directories of my choice, rather than the default examples dir. In httpd.conf Ive added: - LoadModule jk_module libexec/mod_jk.so Alias /jsp-examples /usr/local/tomcat/webapps/jsp-examples Alias /site /usr/local/tomcat/webapps/site JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel info JkMount /jsp-examples/*.jsp ajp13 JkMount /site/*.jsp ajp13 - and my workers.properties looks as so: - workers.tomcat_home=3D/usr/local/tomcat workers.java_home=3D/usr/java ps=3D/ worker.list=3Dajp13 worker.ajp13.port=3D8009 worker.ajp13.host=3Dlocalhost worker.ajp13.type=3Dajp13 worker.ajp13.lbfactor=3D1 - when i browse to http://localhost/jsp-examples everything works great, this was the dir of examples that came packaged with tomcat however, i created a new dir under webapps/ called site and placed a test.jsp file in there... when browsing to http://localhost/site/test.jsp i get an HTTP Status 404 - /site/test.jsp The requested resource (/site/test.jsp) is not available. If I move the test.jsp file to /jsp-examples folder, it runs! Why is this? This is killing me, I know it can't be too complex... the jsp-examples folder can run scripts but my newly created one cannot. Is there a setting im missing? Also, If i added the following line, could I run jsp's from anywhere within my web doc tree: JkMount /*.jsp ajp13 Any help appreciated :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Datasource works in Tomcat 5.5.4 but not 5.5.9
After some more testing, I have determined that I can remove the user name and password from context.xml in Tomcat 5.5.4, and it still works. Removing the entire Resource tag, however, causes it to crash out, as it should. This means that Tomcat 5.5.4 needs the connection information in context.xml, but authenticates from elsewhere, probably Active Directory, since I have to log on to my desktop workstation via Active Directory. Any idea why 5.5.9 will not authenticate this way, or more importantly, how to cause it to authenticate this way? On 7/8/05, Craig Dixon [EMAIL PROTECTED] wrote: I am encountering a very strange problem when trying to use a datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by using the following in TomcatHome\conf\Catalina\localhost\webAppContext.xml Context path=/appName docBase=appName debug=5 reloadable=true crossContext=true Resource name=jdbc/RDM auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=*hidden* password=*hidden* driverClassName=sun.jdbc.odbc.JdbcOdbcDriver url=jdbc:odbc:RDM_CURRENT_11/ /Context I use this in conjunction with the following in TomcatHome\webapps\appName\WEB-INF\web.xml: ?xml version=1.0 encoding=ISO-8859-1? 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 resource-ref descriptionRDM/description res-ref-namejdbc/RDM/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app This works like a dream. I tried upgrading to Tomcat 5.5.9. I downloaded and installed the admin add-on application, then added the datasource via the admin interface as follows: JNDI Name: RDM Datasource URL: jdbc:odbc:RDM_CURRENT_11 JDBC Driver Class: sun.jdbc.odbc.JdbcOdbcDriver Username: *hidden* Password: *hidden* MaxActiveConnections: 100 MaxIdleConnections: 30 MaxWaitForConnection: 1 Validation Query: Now I get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.) org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:171) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.) org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276) org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159) org.apache.jsp.gradprofile_jsp._jspx_meth_sql_query_0(org.apache.jsp.gradprofile_jsp:190) org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:80) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. Apache Tomcat/5.5.9 I still have 5.5.4 installed, and when I switch back to it, everything works fine. I'd like to work in the most current version, though. Anyone have any ideas about this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,
Re: Tomcat Book
oreilly's tomcat the definitive guide is a little old now, but still useful, and the next edition is due out soon additionally, one of its authors hangs out in irc.freenode.net's #tomcat channel and is very good about answering direct questions. On 7/12/05, Adi Gati [EMAIL PROTECTED] wrote: Hi, Can anyone recommend on a good Tomcat Book? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RFC-2047 Header Character Set Encoding JK + Tomcat 5
Is there a FAQ on how Tomcat 5 and JK1 implement HTTP header character sets? (ie, does it support RFC-2047) We use some single sign-on plugin's at the web server (apache 2) that set specific headers which may contain international characters. The headers are being returned by Tomcat to jsps/servlets in such a way that the strings decode properly only if the browser is forced to view them as UTF-8. This implies that the values are actually UTF-8 encoded, but improperly assumed to be ISO-8859-1 as some point. I have not yet tracked down which component in the chain is at fault. It may very well be that the SSO plugin is calling the Apache API to set Headers with UTF-8 values when they accept only ISO-8859-1 values, or values encoded per RFC-2047. I'd like to find out what mod_jk expects the header values to be when it retrieves them from Apache, and whether Tomcat supports RFC-2047 decoding of header values. If anyone has any experience with this, or can refer me to a discussion or thread about this very item, I'd greatly appreciate the tip. I'm not looking forward to the amount of inspection I'm going to have to do to find the culprit. thanks, Byron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: file access via HttpSession
You could put the restricted directories under WEB-INF and then use a Front Controller Servlet to forward to or stream the files to the browser. On Tue, 2005-07-12 at 09:27, Clark Slater wrote: Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer) httpSession.getValue(Customer); if (c.getCountryCode().equals(CAN)) their browser could display any HTML file in /webapps/ecat/profiles/canada but not files in /webapps/ecat/profiles/usa Of course, files in either of these directories would not be viewable by the outside world. Thanks! Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Co. CONFIDENTIALITY NOTICE: This e-mail message, and any accompanying documents, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, distribution or copying is prohibited. If you are not the intended recipient, please contact our office by email or by telephone at (508) 747-7261 and immediately destroy all copies of the original message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CATALINA_BASE
i'm running the latest tomcat (5.5.9) on Win2K Pro. Tomcat works in the default configuration. thanks. i'm trying to get Tomcat working using CATALINA_BASE. that is, i want a second Tomcat instance to serve my webapps from a directory different than the default. the default directory is (F:\tomcat 5.5\webapps\myapp). the secondary is (G:\tomcatuser\webapps\myapp). CATALINA_HOME=F:\tomcat 5.5 CATALINA_BASE=G:\tomcatuser the [G:] directory structure and user files looks to be perfectly in order. for example, G:\tomcatuser [conf][webapps] [log] {server.xml} [myapp] {context.xml} *.jsp Tomcat seems to ignore my second configuation. that is, when i start tomcat it keeps trying to fetch my web pages from the [F:] disk's directory. fyi, i have apache2 httpd in front of Tomcat, using the AJP/1.3 protocol. no problems with the connection! if i can get the apache web server talking to Tomcat, then this CATALINE_BASE thing should not be too difficult to set-up. what the heck am i doing wrong? other information: 1) i do NOT really need multiple instances running. i just want to keep my Tomcat executables on drive [F:] and my development stuff on drive [G:]. so, i haven't tested the system with 1 instance running. 2 i already know about 'appBase'. what i want is for my Tomcat development instance to start-up thanks. - ken harwood
Re: Tomcat 5.5.9 - When JSPs change, gives error org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated
Got mod_jk running; that's not the issue. Another curious piece to this anomaly is that making a change and then restarting server does not head off the error. I have to make the change, access the page (thus generating the error) THEN restart the server and access the page again, at which point the error is corrected. If I change more than one page, I have to access one page, restart the server, access the second page, restart the server again, etc. Why should accessing the page and throwing the error make any difference? Why does restarting the server not help unless the error is thrown first? Can anybody help me with this? It's driving me nuts! On 7/11/05, Craig Dixon [EMAIL PROTECTED] wrote: Another thought that just occurred to me is that the problem could be my use of the mod_jk2 connector. Could this be it? I'd like to use the mod_jk connector, since jk2 is deprecated, but I haven't been able to make it work. I wish I could find some instructions for setting up mod_jk that are as clear and concise as these for mod_jk2: http://mpcon.org/apacheguide/#jsp Any suggestions? On 7/11/05, Craig Dixon [EMAIL PROTECTED] wrote: Yes, I am running JDK 1.5.0_03. Is there any problem between Tomcat and this JDK? On 7/11/05, Tim Diggins [EMAIL PROTECTED] wrote: I don't know the answer, but can you confirm you are either: 1) using jdk 1.5 or 2) using jdk 1.4 (and with the compatibility package for tomcat 5.5) as the compatibility package (as I understand it) addresses xml parser versioning/instantiation issues. -- Tim Craig Dixon wrote: I've encountered a strange problem with my JSPs in Tomcat. Whenever I change one of them, then try to access it from the browser, I get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java:152) org.apache.taglibs.standard.tlv.JstlCoreTLV.validate(JstlCoreTLV.java:96) org.apache.jasper.compiler.TagLibraryInfoImpl.validate(TagLibraryInfoImpl.java:750) org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1527) org.apache.jasper.compiler.Validator.validate(Validator.java:1495) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:157) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. I don't have the foggiest idea what that means, but when I stop and restart Tomcat, everything usually works fine (until the next time I change the file.) I'd send relevant source code, but it seems to happen with every page in multiple applications. I've posted this in several forums and have yet to even get a reply. This is driving me batty! Any ideas? - 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: CATALINA_BASE
woops. i just saw a CATALINA_BASE thead in May '05. i'll take a look at that. is there a user-list SEARCH form anywhere or do i need to check the archives manually month-by-month? - ken h. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: CATALINA_BASE
I can't speak from experience under Windows, but on Unix system we typically have the following layout for a separate CATALINA_HOME: $CATALINA_HOME |-- conf/ | |-- Catalina | | `-- localhost | | |-- context.xml.default | | |-- manager.xml | | `-- admin.xml | |-- server.xml | `-- web.xml |-- etc/ | `-- environment.sh |-- logs/ | |-- PID | |-- catalina.log | `-- stdout.log |-- shared/ | |-- classes/ | `-- lib/ |-- start |-- stop |-- temp/ |-- webapps/ | |-- appname/ | |-- META-INF | | `-- MANIFEST.MF | |-- WEB-INF | | |-- classes | | |-- lib | | `-- logs | |-- html | |-- index.jsp | `-- jsp/ | `-- *.jsp `-- work `-- Catalina/ Hope that helps! All of these things may not apply to your setup and we've added many things. war files won't require you to have the appname/ dir since they will autodeploy. Byron -Original Message- From: Kenneth B. Harwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 4:31 PM To: tomcat-user@jakarta.apache.org Subject: CATALINA_BASE i'm running the latest tomcat (5.5.9) on Win2K Pro. Tomcat works in the default configuration. thanks. i'm trying to get Tomcat working using CATALINA_BASE. that is, i want a second Tomcat instance to serve my webapps from a directory different than the default. the default directory is (F:\tomcat 5.5\webapps\myapp). the secondary is (G:\tomcatuser\webapps\myapp). CATALINA_HOME=F:\tomcat 5.5 CATALINA_BASE=G:\tomcatuser the [G:] directory structure and user files looks to be perfectly in order. for example, G:\tomcatuser [conf][webapps] [log] {server.xml} [myapp] {context.xml} *.jsp Tomcat seems to ignore my second configuation. that is, when i start tomcat it keeps trying to fetch my web pages from the [F:] disk's directory. fyi, i have apache2 httpd in front of Tomcat, using the AJP/1.3 protocol. no problems with the connection! if i can get the apache web server talking to Tomcat, then this CATALINE_BASE thing should not be too difficult to set-up. what the heck am i doing wrong? other information: 1) i do NOT really need multiple instances running. i just want to keep my Tomcat executables on drive [F:] and my development stuff on drive [G:]. so, i haven't tested the system with 1 instance running. 2 i already know about 'appBase'. what i want is for my Tomcat development instance to start-up thanks. - ken harwood - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CATALINA_BASE
On 7/12/05, Kenneth B. Harwood [EMAIL PROTECTED] wrote: snip/ is there a user-list SEARCH form anywhere or do i need to check the archives manually month-by-month? snap/ This is an option [ http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 ] -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Book
You can also see a nice list of Tomcat titles on the tomcat wiki. http://wiki.apache.org/jakarta-tomcat/Tomcat/Books erik --- Alon Belman [EMAIL PROTECTED] wrote: oreilly's tomcat the definitive guide is a little old now, but still useful, and the next edition is due out soon additionally, one of its authors hangs out in irc.freenode.net's #tomcat channel and is very good about answering direct questions. On 7/12/05, Adi Gati [EMAIL PROTECTED] wrote: Hi, Can anyone recommend on a good Tomcat Book? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Erik Weibust developer and blogger - http://erik.weibust.net leader J2EE SIG - Dallas, TX - http://j2eesig.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem deleting files from servlet
Hi, I've got a pretty vanilla Tomcat 5.5.9 install. It seems like I can't delete files within my webapp's document root from a servlet. I have written a trivial servlet to isolate the problem from my app. All it does is try to delete two files, one is outside the document root, one is inside. The external file is deleted, the internal one is not. I never create a stream for the internal file, so there shouldn't be anything with a lock on it. Tomcat has never served it. I have tried the System.gc() hack, it doesn't help. I encountered these results on Win XP Home. On Linux (Suse 9.1) the code works perfectly. The files are created with this command (in Cygwin), immediately before starting Tomcat: echo I Am A Monkey c:/test.txt; echo I Am A Monkey Too c:/java/tomcat559/webapps/jim/ifs/test.txt Here's the code to the servlet: protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException { final String _external = C:\\test.txt; final String _internal = C:\\java\\tomcat559\\webapps\\jim\\ifs\\test.txt; File extFile = new File( _external ); File intFile = new File( _internal ); tryDelete( extFile ); tryDelete( intFile ); } private void tryDelete( File file ) { System.out.println( Got file at + file.getPath() + ( + file.length() + bytes) ); System.out.println( file.exists() == + file.exists() ); System.out.println( file.canWrite() == + file.canWrite() ); System.out.println( file.delete() == + file.delete() ); } Here's the output: Got file at C:\test.txt (14 bytes) file.exists() == true file.canWrite() == true file.delete() == true Got file at C:\java\tomcat559\webapps\jim\ifs\test.txt (36 bytes) file.exists() == true file.canWrite() == true file.delete() == false Sorry if this is in a spec somewhere, or has already been discussed. I took a quick look through the archives, couldn't find anything. Any help appreciated. Russ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: file access via HttpSession
Shamelss plug: My Java Web Parts project (http://javawebparts.sourceforge.net) will have this capability, hopefully by this weekend, via its AccessControlFilter. It's now probably 50% written and in CVS, but I have to complete the IP-based limiting (I got side-tracked a bit and went off and did some other things... typical!). Frank Ben Souther wrote: You could put the restricted directories under WEB-INF and then use a Front Controller Servlet to forward to or stream the files to the browser. On Tue, 2005-07-12 at 09:27, Clark Slater wrote: Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer) httpSession.getValue(Customer); if (c.getCountryCode().equals(CAN)) their browser could display any HTML file in /webapps/ecat/profiles/canada but not files in /webapps/ecat/profiles/usa Of course, files in either of these directories would not be viewable by the outside world. Thanks! Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CATALINA_BASE
what is the minimum file configuration required to run multiple Tomcat instances? conceptually, i shouldn't need an ENTIRE Tomcat file installation in my second (third, fourth, whatever) directory; Tomcat should only require a small amount of customizing in the target directory(s). for example, the secondary conf directory should only require a modified server.xml file. that way, when Tomcat is starting up and it detects that CATALINA_BASE is defined, the program should know to gather it's instance configuration information from the second server.xml file instead of the primary one. or, are there a whole bunch of files that would need to be brought over and modified? if that's the case then that would be a violation of good design practice. philosophically, all the localized stuff should be in a single file. sorry to sound so academic-lite about the subject. - ken h. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
test
Hello. I'm new to this list and this is just a test to see if I'm using the correct sending method so I can issue my legitimate question about tomcat. --Lance Bo Spotted Elk
config commands for apache
Hello, I am trying to setup Apache Tomcat 5.5.9 and am following the instructions from the following website: http://groups-beta.google.com/group/comp.infosystems.www.servers.unix/browse_thread/thread/e7c48975fb113b8d/249073ae2fdcf778?q=tomcat+linux+install+help+redhat+9rnum=22hl=en#249073ae2fdcf778 However, after I install Apache 1.3.33 and attempt the config commands, I get the following message: Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) configure:Error: invalid option ' ' After googling for a while, I still don't know what this means. --Lance Bo Spotted Elk
RE: config commands for apache
From: Spotted Elk Lance [mailto:[EMAIL PROTECTED] Subject: config commands for apache I am trying to setup Apache Tomcat 5.5.9 and am following the instructions from the following website: Why do you want to install Apache httpd? Try running Tomcat standalone first and make sure you have that working. Only if you decide you really need httpd features should you bother with that complication. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.library.path when running as a service
I have been running a servlet with Tomcat 5.5.7 for a few months, I left it alone for a while, and now I get an UnsatisfiedLinkError when the servlet tries to load a native DLL. The error says the DLL cannot be found in java.library.path. The DLL I want to load is located in $CATALINA_HOME\common\lib. When I just run Tomcat from the command line, everything works great, no complaints. When run as a service, I get this problem. I tried setting java.library.path via the JvmOptions in service.bat, but in that case I get an UnsatisfiedLinkError which refers to dependent libraries for the DLL. Thanks in advance for any suggestions. Michael Ivanov Tomcat 5.5.7 Windows XP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clusters - Disabling or restricting autodiscovery
When using tomcat clusters on an untrusted subnet or using a routable multicast address, i see the potential for a rogue tomcat instance to join a cluster in order to hijack session information. Is there any way to restrict autodiscovery of cluster membership to a known list of IPs or disable auto discovery alltogether? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: java.library.path when running as a service
Due to a bug in the JRE/JVM, your dependent DLLs have to either be in PATH or in the directory containing java.exe. My personal favorite solution to this is to use the delay loader hook to get around it. -Original Message- From: Michael Ivanov [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 7:13 PM To: tomcat-user@jakarta.apache.org Subject: java.library.path when running as a service I have been running a servlet with Tomcat 5.5.7 for a few months, I left it alone for a while, and now I get an UnsatisfiedLinkError when the servlet tries to load a native DLL. The error says the DLL cannot be found in java.library.path. The DLL I want to load is located in $CATALINA_HOME\common\lib. When I just run Tomcat from the command line, everything works great, no complaints. When run as a service, I get this problem. I tried setting java.library.path via the JvmOptions in service.bat, but in that case I get an UnsatisfiedLinkError which refers to dependent libraries for the DLL. Thanks in advance for any suggestions. Michael Ivanov Tomcat 5.5.7 Windows XP - 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: java.library.path when running as a service
My PATH variable already includes $CATALINA_HOME\common\lib, and it definitely has worked in the past. Wouldn't this also affect Tomcat launched from the command line? My problem only occurs when Tomcat is a service. Also, can you elaborate on what the delay loader hook is? Thank you. On 7/12/05, Benson Margulies [EMAIL PROTECTED] wrote: Due to a bug in the JRE/JVM, your dependent DLLs have to either be in PATH or in the directory containing java.exe. My personal favorite solution to this is to use the delay loader hook to get around it. -Original Message- From: Michael Ivanov [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 7:13 PM To: tomcat-user@jakarta.apache.org Subject: java.library.path when running as a service I have been running a servlet with Tomcat 5.5.7 for a few months, I left it alone for a while, and now I get an UnsatisfiedLinkError when the servlet tries to load a native DLL. The error says the DLL cannot be found in java.library.path. The DLL I want to load is located in $CATALINA_HOME\common\lib. When I just run Tomcat from the command line, everything works great, no complaints. When run as a service, I get this problem. I tried setting java.library.path via the JvmOptions in service.bat, but in that case I get an UnsatisfiedLinkError which refers to dependent libraries for the DLL. Thanks in advance for any suggestions. Michael Ivanov Tomcat 5.5.7 Windows XP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to link
hi guys how to link apache2 and tomcat i have apache 2.0.54 and tomcat 4.1.xx running on linux .. my both apache and tomcat runs indepently fine i need to link both how i do it ... i trying following one example on the http://wass.homelinux.net/howtos/Jakarta_How-To.shtml i cant find jk folder under jakarta folder .. anybody got any example to guide me .. thanks for help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to link
I am currently working on the same thing on a Windows box. If I can figure it out, then I will let you know what I did, the configuration should not be too different. On 7/12/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys how to link apache2 and tomcat i have apache 2.0.54 and tomcat 4.1.xx running on linux .. my both apache and tomcat runs indepently fine i need to link both how i do it ... i trying following one example on the http://wass.homelinux.net/howtos/Jakarta_How-To.shtml i cant find jk folder under jakarta folder .. anybody got any example to guide me .. thanks for help - 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]
500 - Internal server error
Hi all, My web application run in an intranet site, i used jmeter for testing the Load and performance, when the concurrent user is set to 500 in jmeter to test the application i am getting 500 - Internal server error what is the cause for this problem, any solutions, thanks, inr. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to increase the heap size no of threads
Hi all, CAn anyone help me ? How to increase the number of threads that tomcat can process ? Also how to increase the size of the heap? thanks in advance, Ayyanar. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]