can apache tomcat be a virus?
Hello, I'm looking for help for my father. We are both using our computer only to surf and email and some games. Now on the computer of my father, when he opens Internet Explorer, he always gets a page fro Apache Tomcat saying something that it is installed successfully. He cannot surf to any other page, typing in an url always gives this same page, so he cannot surf anymore. Is this a known problem? Can anyone help. Elke
Java core dump location
Running Tomcat5.5 from Red Hat packages on a RHEL4 server. I’m having problem with one of my webapps in that it occasionally core dumps. I’m working getting the root cause sorted out, but in the meantime, the core dumps fill /tmp – can anyone point me to a guide to changing where the core dumps are dumped to? Kind Regards, Alan --- Alan Cooper No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.9/832 - Release Date: 04/06/2007 18:43 -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison, nplusone or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison, nplusone and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by Lumison.
RE: can apache tomcat be a virus?
From: Elke Thoné [mailto:[EMAIL PROTECTED] I'm looking for help for my father. We are both using our computer only to surf and email and some games. Now on the computer of my father, when he opens Internet Explorer, he always gets a page fro Apache Tomcat saying something that it is installed successfully. He cannot surf to any other page, typing in an url always gives this same page, so he cannot surf anymore. Hi Elke. I'm guessing that one of the following two things is true: - Your father's web browser has been attacked, and it will only ever navigate to one page. That page isn't on your computer, it's on a server somewhere on the Internet. This is by far the most likely option. If so, I suggest you do a malware scan. I tend to use Spybot S+D (from www.safer-networking.org - beware, there are lots of sites out there that advertise Spybot and give you versions with more malware built in!) You'll need to download it on another computer, then transfer it on a CD or a USB key. - Your Internet service provider runs a proxy server, and it's failed or been hacked. If this is the case, many people using the same ISP will be seeing the same problem, and your ISP will by trying to fix it as fast as possible! This is a much less likely option. If it's true, the problem should go away of its own accord. So. Run a malware scan on the machine, and see what you find. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can apache tomcat be a virus?
Elke Thoné wrote: Hello, I'm looking for help for my father. We are both using our computer only to surf and email and some games. Now on the computer of my father, when he opens Internet Explorer, he always gets a page fro Apache Tomcat saying something that it is installed successfully. He cannot surf to any other page, typing in an url always gives this same page, so he cannot surf anymore. LOL. This will for sure end up in one of my future Tomcat presentations! Having Tomcat as default for any content on the Internet is every Tomcat's developer dream :) However, it's probably you have your computer infected and you'll probably find a solution to your problem on some other group. Cheers, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk and rewrite changed behaviour from 1.2.18 -1.2.23
Recently I tried to update the mod_jk module for a debian system to version 1.2.18 of the jk connector. All compiling went through but I have problems with some changes in conjunction with the rewrite functionality of apache I assume. In the past I did some internal [PT] (proxy pass through) requests to map a shtml path to a tomcat struts application (see setup below). Unfortunately this is not working any more in 1.2.23. My setup worked with 1.2.18, but 1.2.23 fails with a tomcat file not found error: some.shtml could not be found. Does somebody know this? And can give me a hint how to achieve a similar functionality? Thanks Thomas My setup looks like this: JkMount /gototomcat/* ajp13_worker VirtualHost somehost ProxyRequests Off RewriteEngine On RewriteRule /some.shtml /gototomcat/action.do [PT] /VirtualHost - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTTP 500 when using custom error pages in Tomcat 6.0
Hi there, Recently we upgraded to Tomcat 6.0. Suddenly the custom errorpages don't work anymore. For this test I created a simple jsp-page with %=x% in it without declaring that x so it would result in an error. I would like to know how I can get the customized page (error.jsp) back. # test.jsp # %@ page errorPage=error.jsp % html body h1Error test page/h1 %=x% /body /html # error.jsp # !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd html body h1Error message/h1 pSomething went wrong!/p div%= exception.getMessage () %/div /body /html # 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: Unable to compile class for JSP: An error occurred at line: 6 in the jsp file: /error/errormessage.jsp x cannot be resolved 3: html 4: body 5: h1Error test page/h1 6: %=x% 7: /body 8: /html Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError( ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java :423) org.apache.jasper.compiler.Compiler.compile (Compiler.java:308) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) org.apache.jasper.JspCompilationContext.compile( JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java :320) org.apache.jasper.servlet.JspServlet.service (JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) After repeated refreshes, I sometimes 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 org.apache.jasper.JasperException : org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.servlet.JspServletWrapper.getServlet( JspServletWrapper.java:156) org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java :329) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java :320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java :803) root cause org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load( JspCompilationContext.java:600) org.apache.jasper.servlet.JspServletWrapper.getServlet ( JspServletWrapper.java:144) org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:329) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java :320) org.apache.jasper.servlet.JspServlet.service (JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.lang.ClassNotFoundException: org.apache.jsp.error.errormessage_jsp java.net.URLClassLoader$1.run (URLClassLoader.java:200) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:188) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load( JspCompilationContext.java:598) org.apache.jasper.servlet.JspServletWrapper.getServlet ( JspServletWrapper.java:144) org.apache.jasper.servlet.JspServletWrapper.service( JspServletWrapper.java:329) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java :320) org.apache.jasper.servlet.JspServlet.service (JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) Thanks for your input! Roger
Re: Java core dump location
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, Alan Cooper wrote: Running Tomcat5.5 from Red Hat packages on a RHEL4 server. If you're running a RHEL package of Tomcat, most of us won't be able to help you with confguration issues like this because almost all of us run the standard package that you can download from tomcat.apache.org. I’m having problem with one of my webapps in that it occasionally core dumps. I’m working getting the root cause sorted out, but in the meantime, the core dumps fill /tmp – can anyone point me to a guide to changing where the core dumps are dumped to? Usually, the core dump goes to the current working directory of the process dumping core. I would imagine that your packaged version of Tomcat switches to /tmp before launching the JVM. Try looking in /etc/* for anything resembling Tomcat configuration. Maybe in /etc/init.d or /etc/conf.d or even /etc/tomcat or something like that. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZVbd9CaO5/Lv0PARAkNMAJ9+h5oCcw3N1+3OwxFrrlXFgJsJZQCfX91o 9Z9xBwaJskNZ7Dw2xH/5PBo= =ViXn -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java-Ecommerce
I am trying to create using a small sales tool like that of amazon(ie shopping cart, checkout). 1)Just wondered if there is already a interface for this already. 2)Also how do i go about creating the actual money transactions? Do I use paypall. 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. I know you could edit the stock level as soon as a product is added to a cart. But really technically the product is not sold until confirmation in checkout. And the user may not even buy. - Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.
Re: Java-Ecommerce
Sam- Depends on the backend you're using Are you using a DB with a JDBC Datasource? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Asare Samuel [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, June 05, 2007 8:29 AM Subject: Java-Ecommerce I am trying to create using a small sales tool like that of amazon(ie shopping cart, checkout). 1)Just wondered if there is already a interface for this already. 2)Also how do i go about creating the actual money transactions? Do I use paypall. 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. I know you could edit the stock level as soon as a product is added to a cart. But really technically the product is not sold until confirmation in checkout. And the user may not even buy. - Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Java-Ecommerce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asare, This sounds like a request for a consulting engagement. I'm sure many of us would be glad to sell our services for this type of request. As it is both off-topic and more relevant to solving general problems, I don't think you'll get too many in-depth replies. See below for terse ones. Asare Samuel wrote: I am trying to create using a small sales tool like that of amazon(ie shopping cart, checkout). 1)Just wondered if there is already a interface for this already. Do you mean a GUI? AFAIK, nobody really sells or provides GUIs out of the box. You generally have to create your own by adopting things you like about existing sites. 2)Also how do i go about creating the actual money transactions? Do I use paypall. Paypal is not a requirement, but is an option. There are lots of credit card processors out there. Make sure you read about PCI Guidelines which dictate how you must treat credit card data if you choose to do the transactions yourself (instead of using something like paypal's pay-it-at-paypal's-site service). 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. That's a semi-complex problem that has multiple solutions depending on other requirements. Good luck, - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZVmf9CaO5/Lv0PARAiHZAKC4+risMnqpK2diYV4la+cr0D2TogCeNqRA Ob7c7vUf8krrxzv7w1vpSEk= =biR0 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java-Ecommerce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samuel; [Asare Samuel [EMAIL PROTECTED] @ Tue, 5 Jun 2007 05:29:46 -0700 (PDT)] 1)Just wondered if there is already a interface for this already. There is a bunch of online shopping solutions out in the wild, most of them proprietary and/or expensive (I wonder whether there are any usable open-source JEE based web shops out there?) 2)Also how do i go about creating the actual money transactions? Do I use paypall. This is likely to be part of either what the shop system you will make use of offers, or part of your specifications of what your shop system is likely to do. 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. I know you could edit the stock level as soon as a product You could go with more than two different states per item in your stock (available, reserved == someone put it in its cart but hasn't checked out yet, sold or something like that). Of course, you have to be sure to handle these states in a meaningful way, i.e. take care to expire product reservations after a sane amount of time has passed (to deal with people who fill up their cart but never actually check out and/or buy anything...). Are you about to build a system like this? If so, how much of the specification / design work did you do so far? Cheers, Kris - -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality. (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGZVmGcxBAPOA1m6wRAsFyAJ9PsNQcrzSIx2aSlYb1jiDFabl+3QCfXqKb yZTHiSsRPIP187OzKGQPHQQ= =SOrq -END PGP SIGNATURE-
[OT] RE: Java-Ecommerce
[Marked off-topic because this has nothing at all to do with Tomcat] From: Asare Samuel [mailto:[EMAIL PROTECTED] I am trying to create using a small sales tool like that of amazon(ie shopping cart, checkout). There are many of these around already. You will pay less to buy a license to an existing tool than you will in time to create your own - don't reinvent the wheel. 1)Just wondered if there is already a interface for this already. Many. Search for java shopping cart on Google. 2)Also how do i go about creating the actual money transactions? Do I use paypall. Again, there are many options, depending on transaction volume, size, security, what methods of payment you want your users to be able to use... most of the commercial carts integrate with several different payment providers, or search for payment provider on Google. I've used WorldPay most recently; this is not an endorsement, merely a note. 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. I know you could edit the stock level as soon as a product is added to a cart. But really technically the product is not sold until confirmation in checkout. And the user may not even buy. Sorry, you're trying to have your cake and eat it here. EITHER you're optimistic and let both users put the product in their cart (but allow double-purchasing) OR you're pessimistic and only let one user put the product in their cart (and accept that in low-stock situations you won't get some sales). There's no way of doing both - about the best you can do is keep separate stock level and quantity in carts levels. But this is irrelevant, because you really, really don't want the pain of maintaining your own solution; you want to buy someone else's solution. Honest. It'll save money, time and pain in the long run. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] RE: Java-Ecommerce
Thanks peter and all those that replied. I think I will take peter's advice and find a tool rather than reinvent the wheel. Thanks Peter Crowther [EMAIL PROTECTED] wrote: [Marked off-topic because this has nothing at all to do with Tomcat] From: Asare Samuel [mailto:[EMAIL PROTECTED] I am trying to create using a small sales tool like that of amazon(ie shopping cart, checkout). There are many of these around already. You will pay less to buy a license to an existing tool than you will in time to create your own - don't reinvent the wheel. 1)Just wondered if there is already a interface for this already. Many. Search for java shopping cart on Google. 2)Also how do i go about creating the actual money transactions? Do I use paypall. Again, there are many options, depending on transaction volume, size, security, what methods of payment you want your users to be able to use... most of the commercial carts integrate with several different payment providers, or search for payment provider on Google. I've used WorldPay most recently; this is not an endorsement, merely a note. 3)How do you prevent double purchasing-eg one product in stock-user1 is the first to put it in cart but continues to shop. User2 comes along and puts same product in cart but goes to checkout quicker. I know you could edit the stock level as soon as a product is added to a cart. But really technically the product is not sold until confirmation in checkout. And the user may not even buy. Sorry, you're trying to have your cake and eat it here. EITHER you're optimistic and let both users put the product in their cart (but allow double-purchasing) OR you're pessimistic and only let one user put the product in their cart (and accept that in low-stock situations you won't get some sales). There's no way of doing both - about the best you can do is keep separate stock level and quantity in carts levels. But this is irrelevant, because you really, really don't want the pain of maintaining your own solution; you want to buy someone else's solution. Honest. It'll save money, time and pain in the long run. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.
Re: can apache tomcat be a virus?
+1 BTW: If you want a browser that works on every platform try Firefox http://www.mozilla.com/en-US/firefox/ M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Mladen Turk [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, June 05, 2007 6:30 AM Subject: Re: can apache tomcat be a virus? Elke Thoné wrote: Hello, I'm looking for help for my father. We are both using our computer only to surf and email and some games. Now on the computer of my father, when he opens Internet Explorer, he always gets a page fro Apache Tomcat saying something that it is installed successfully. He cannot surf to any other page, typing in an url always gives this same page, so he cannot surf anymore. LOL. This will for sure end up in one of my future Tomcat presentations! Having Tomcat as default for any content on the Internet is every Tomcat's developer dream :) However, it's probably you have your computer infected and you'll probably find a solution to your problem on some other group. Cheers, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jstl Tomcat 6 (if )
I have this code: %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% jsp:useBean id=sbean scope=request type=it.matrix.cercateatri.SearchBean/ !-- riassunto -- trtd colspan=3img src=/cercateatri/images/blank.gif width=1 height=10//td/tr tr tdimg src=/cercateatri/images/blank.gif width=5 height=1//td td class=st7 align=leftbHai cercato c:if test=${fn:length(sbean.searchRequest.sm_exhibition) 0}lo spettacolo 'c:out value=${sbean.searchRequest.sm_exhibition} /' /c:if c:if test=${fn:length(sbean.searchRequest.sm_theatre) 0}nel teatro 'c:out value=${sbean.searchRequest.sm_theatre} /' /c:if c:if test=${fn:length(sbean.searchRequest.sm_city_name) 0}a 'c:out value=${sbean.searchRequest.sm_city_name} /' /c:if c:choose c:when test=${sbean.searchRequest.sm_f_date != sbean.searchRequest.sm_i_date}per il periodo dal c:out value=${sbean.searchrequest.sm_i_date} / al c:out value=${sbean.searchRequest.sm_f_date} //c:when c:otherwiseper c:out value=${sbean.searchRequest.sm_f_date} //c:otherwise /c:choose c:if test=${fn:length(sbean.searchRequest.sm_ex_type_name) 0}in 'c:out value=${sbean.searchRequest.sm_ex_type_name} /' /c:if /b/td tdimg src=/cercateatri/images/blank.gif width=5 height=1//td /tr /table !-- /riassunto -- And 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 org.apache.jasper.JasperException: h3Validation error messages from TagLibraryValidator for c in /jsp/conclusions.jsp/h3p4: tag = 'if' / attribute = 'test': An error occurred while parsing custom action attribute test with value ${fn:length(sbean.searchRequest.sm_exhibition) 0}: org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported./pp20: tag = 'if' / attribute = 'test': An error occurred while parsing custom action attribute test with value ${fn:length(sbean.searchRequest.sm_theatre) 0}: org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported./pp25: tag = 'if' / attribute = 'test': An error occurred while parsing custom action attribute test with value ${fn:length(sbean.searchRequest.sm_city_name) 0}: org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported./pp43: tag = 'if' / attribute = 'test': An error occurred while parsing cust om action attribute test with value ${fn:length(sbean.searchRequest.sm_ex_type_name) 0}: org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported./p org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:74) org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1797) org.apache.jasper.compiler.Validator.validate(Validator.java:1743) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178) org.apache.jasper.compiler.Compiler.compile(Compiler.java:306) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) org.apache.jsp.jsp.listing_jsp._jspx_meth_c_005fwhen_005f2(listing_jsp.java:845) org.apache.jsp.jsp.listing_jsp._jspx_meth_c_005fchoose_005f2(listing_jsp.java:810) org.apache.jsp.jsp.listing_jsp._jspService(listing_jsp.java:110) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968) org.apache.jsp.jsp.form_jsp._jspx_meth_c_005fif_005f24(form_jsp.java:1048) org.apache.jsp.jsp.form_jsp._jspService(form_jsp.java:328)
Ref: Cannot create JDBC driver of class '' for connect URL 'null'
Hi, I am running an application using tomcat5.x and getting following error: The error log is as follows: Jun 5, 2007 7:12:31 PM org.apache.catalina.core.ApplicationContext log SEVERE: AdminAcct Initialization Failure javax.faces.FacesException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at com.sun.rave.faces.data.CachedRowSetDataModel.executeIfNecessary(CachedRowSetDataModel.java:374) at com.sun.rave.faces.data.CachedRowSetDataModel.isRowAvailable(CachedRowSetDataModel.java:133) at com.sun.rave.faces.data.CachedRowSetDataModel.setRowIndex(CachedRowSetDataModel.java:286) at com.sun.rave.faces.data.CachedRowSetDataModel.setWrappedData(CachedRowSetDataModel.java:323) at com.sun.rave.faces.data.CachedRowSetDataModel.setCachedRowSet(CachedRowSetDataModel.java:348) at acctapps.AdminAcct._init(AdminAcct.java:50) at acctapps.AdminAcct.init(AdminAcct.java:464) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.fireInit(LifecycleListener.java:555) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:405) at org.apache.catalina.connector.Request.setAttribute(Request.java:1398) at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:500) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at com.sun.faces.context.RequestMap.put(ExternalContextImpl.java:622) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:279) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:666) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780) at
Re: Jstl Tomcat 6 (if )
On 6/5/07, Davide Manca [EMAIL PROTECTED] wrote: I have this code: %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% Mixing taglib versions can't be good :-) I'd change that last to 'uri=http://java.sun.com/jsp/jstl/core;' and see what happens... FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ref: Cannot create JDBC driver of class '' for connect URL 'null'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pranav, Pranav wrote: I am running an application using tomcat5.x and getting following error: [snip] I would appreciate if any one could help me with this. I running the application using Netbeans 5.5 and have setup the MySql and made the connection on that. Further I have copied the mysqlxxx.jar in commons/lib folder. Please help me to find the cause of the error. First, search the archives. This issue comes up over and over again. If the archives don't help, please post your DBCP configuration. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZWr09CaO5/Lv0PARAs0qAKCPe0VeECHpfvHHVNO1h3YTDb7fbwCeI7gR 06l35ckDx6zDnm2Z+bBnv2s= =iIvk -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk and rewrite changed behaviour from 1.2.18 -1.2.23
Thomas Hartwig wrote: My setup worked with 1.2.18, but 1.2.23 fails with a tomcat file not found error: some.shtml could not be found. Try adding JkOptions ForwardURICompat 1.2.23 has as default ForwardURICompatUnparsed to be able to deal with some security attacks (see 1.2.13 announcement) I'm not very happy with that and we'll release 1.2.24 that will again have ForwardURICompat as default. Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ref: Cannot create JDBC driver of class '' for connect URL 'null'
Additionally the tomcat website has some excellent docs on how to set this up. I would refer to those docs for your specific version of tomcat (5.0.x or 5.5.x) --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pranav, Pranav wrote: I am running an application using tomcat5.x and getting following error: [snip] I would appreciate if any one could help me with this. I running the application using Netbeans 5.5 and have setup the MySql and made the connection on that. Further I have copied the mysqlxxx.jar in commons/lib folder. Please help me to find the cause of the error. First, search the archives. This issue comes up over and over again. If the archives don't help, please post your DBCP configuration. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZWr09CaO5/Lv0PARAs0qAKCPe0VeECHpfvHHVNO1h3YTDb7fbwCeI7gR 06l35ckDx6zDnm2Z+bBnv2s= =iIvk -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot create JDBC driver of class '' for connect URL 'null'
Previous posting displays configure Resource in context.xml http://marc.info/?l=tomcat-userm=117312340132291w=2 HTH/ M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Pranav [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, June 05, 2007 9:45 AM Subject: Ref: Cannot create JDBC driver of class '' for connect URL 'null' Hi, I am running an application using tomcat5.x and getting following error: The error log is as follows: Jun 5, 2007 7:12:31 PM org.apache.catalina.core.ApplicationContext log SEVERE: AdminAcct Initialization Failure javax.faces.FacesException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at com.sun.rave.faces.data.CachedRowSetDataModel.executeIfNecessary(CachedRowSetDataModel.java:374) at com.sun.rave.faces.data.CachedRowSetDataModel.isRowAvailable(CachedRowSetDataModel.java:133) at com.sun.rave.faces.data.CachedRowSetDataModel.setRowIndex(CachedRowSetDataModel.java:286) at com.sun.rave.faces.data.CachedRowSetDataModel.setWrappedData(CachedRowSetDataModel.java:323) at com.sun.rave.faces.data.CachedRowSetDataModel.setCachedRowSet(CachedRowSetDataModel.java:348) at acctapps.AdminAcct._init(AdminAcct.java:50) at acctapps.AdminAcct.init(AdminAcct.java:464) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.fireInit(LifecycleListener.java:555) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:405) at org.apache.catalina.connector.Request.setAttribute(Request.java:1398) at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:500) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at com.sun.faces.context.RequestMap.put(ExternalContextImpl.java:622) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:279) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:666) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at
Re: Jstl Tomcat 6 (if )
If I write http://java.sun.com/jsp/jstl/core instead of http://java.sun.com/jstl/core my jstl tags are not executed... Why? Thank you. On Tue, 2007-06-05 at 06:53 -0700, Hassan Schroeder wrote: On 6/5/07, Davide Manca [EMAIL PROTECTED] wrote: I have this code: %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% Mixing taglib versions can't be good :-) I'd change that last to 'uri=http://java.sun.com/jsp/jstl/core;' and see what happens... FWIW, - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invalid command 'workers.tomcat_home=/usr/local/tomcat' when starting Apache
Hi, I'm just trying to set up a basic installation of Tomcat 5.5 with Apache2 using mod_jk on Ubuntu Feisty. Tomcat is creating the configuration file automatically as it should be. I have that configuration file imported from within the apache2.conf file. However, when I try to start Apache2 I get the following error. $sudo /etc/init.d/apache2 start * Starting web server (apache2)... Syntax error on line 1 of /etc/apache2/conf.d/workers.properties: Invalid command 'workers.tomcat_home=/usr/local/tomcat', perhaps misspelled or defined by a module not included in the server configuration I don't know whether my configuration is just wrong or what logs to check. I have mod_jk.so in the apache2 modules directory and I'm fairly certain it is correctly set to load. I've attached my configuration files for your perusal. I apologize if the format is wrong, I have never used a mailing list before. From my Google searches on the problem it seems to be somewhat rare so I suspect I have missed something very simple in my configuration. Thanks! Gerry Jackson ===apache2.conf== # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs-2.1/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so /var/log/apache2/foo.log # with ServerRoot set to will be interpreted by the # server as //var/log/apache2/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation (available # at URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot /etc/apache2 # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # #IfModule !mpm_winnt.c #IfModule !mpm_netware.c LockFile /var/lock/apache2/accept.lock #/IfModule #/IfModule # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/apache2.pid # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves IfModule mpm_prefork_module StartServers 5 MinSpareServers 5 MaxSpareServers 10
Re: How to monitor Tomcat Server.
Nagios is overkill for one app, or even a small network. I'd suggest other OSS projects like monit or zenoss (full network monitoring). I configured Nagios for a small hosting group and loved what it could do, but no one on the planet would say it is easy to set up if you've never done it before. I've used monit for years. Easy configuration. EXTREMELY EASY. Great documentation. It will email you status messages and restart the service/process if desired. It has a web interface. It has a VERY small footprint and uses almost no memory. I've used it to monitor a buggy Tomcat application before and I am using it now for a Resin app server ATM. I am configuring it today for a new Tomcat installation. Zenoss is a full network monitoring system which may be overkill, but check it out if you wish. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Praveen, Praveen Kumar wrote: pls could send the file and cron job details , it would be more useful to me . Uh... google httping, man cron. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVZ/Y9CaO5/Lv0PARAsYZAJsHjL2r25TPJFIhaU+cWqHxxakmigCffFnQ L314/jC8//BRs+nWNq1fo5w= =obMu -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-monitor-Tomcat-Server.-tf3808194.html#a10971523 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jstl Tomcat 6 (if )
On 6/5/07, Davide Manca [EMAIL PROTECTED] wrote: If I write http://java.sun.com/jsp/jstl/core instead of http://java.sun.com/jstl/core my jstl tags are not executed... Why? What servlet spec version is your web.xml? Perhaps you can distill and post a small test JSP? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jstl Tomcat 6 (if )
Ok I fixed! In my web.xml I don't specify any jstl. in my jsp I use %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % Now it works about everything. Thank you. On Tue, 2007-06-05 at 08:16 -0700, Hassan Schroeder wrote: On 6/5/07, Davide Manca [EMAIL PROTECTED] wrote: If I write http://java.sun.com/jsp/jstl/core instead of http://java.sun.com/jstl/core my jstl tags are not executed... Why? What servlet spec version is your web.xml? Perhaps you can distill and post a small test JSP? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jstl Tomcat 6 (if )
David As Hassan mentioned you're seeing some version specific feature(s) i.e. http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html is version 1.1 specific 1.2 supports the Class PermittedTaglibsTLV javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV which has the initialisation parameter a.. permittedTaglibs: A whitespace-separated list of URIs corresponding to tag libraries permitted to be imported on the page in addition to the tag library that references PermittedTaglibsTLV (which is allowed implicitly). 1.2 version also allows you to load up a list of URI's (in addition to taglib which references PermittedTaglibsTLV) HTH/ Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Davide Manca [EMAIL PROTECTED] To: Hassan Schroeder [EMAIL PROTECTED] Cc: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, June 05, 2007 10:38 AM Subject: Re: Jstl Tomcat 6 (if ) If I write http://java.sun.com/jsp/jstl/core instead of http://java.sun.com/jstl/core my jstl tags are not executed... Why? Thank you. On Tue, 2007-06-05 at 06:53 -0700, Hassan Schroeder wrote: On 6/5/07, Davide Manca [EMAIL PROTECTED] wrote: I have this code: %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c% Mixing taglib versions can't be good :-) I'd change that last to 'uri=http://java.sun.com/jsp/jstl/core;' and see what happens... FWIW, - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Job Opportunity for Developers, Java Web at Fredhopper
TOP SOFTWARE PRODUCT COMPANY OFFERS TALENTED JAVA WEB DEVELOPERS A UNIQUE OPPORTUNITY TO BUILD LARGE SCALE WEB APPLICATIONS Company: Fredhopper, Location: Amsterdam or Sofia, Position: Full-time Do you have a talent for seeing a problem and immediately contemplating the likely solution? Are you passionate about making great ideas reality? Do you thrive within a fast-paced and engineering-driven environment? At Fredhopper we look for talented engineers with web technology experience to join our team of engineers that develop our next generation search engine. Fredhopper developers tackle interesting large scale challenges, build product innovations and work on the breadth of the entire product, crafting solutions from idea to implementation. We use short release cycles to continually add novel features, so you will immediately see the impact of your efforts. Fredhopper is the № 1 provider of site search solutions for online business in Europe and behind the scenes of many of the largest online businesses. Customers include many leading international companies such as Philips Electronics, Karstadt-Quelle, Kingfisher, Littlewoods-Shopdirect, Thomas Cook, Wolters Kluwer and Woolworths. Fredhopper has product development centers in Amsterdam and Sofia. The nature of the issues we’re working on require a development team that yields both excellent analytical and engineering skills. We prioritise talent over experience. Qualifications University degree in Computer Science or equivalent (last year students will also be considered) Strong programming skills, preferably in Java or other OO language Excellent understanding of Web-standards, such as JS, HTML, XML Self-thinking and having hands-on approach Good knowledge of English language Experience with web-based user interfaces such as JSF, Wicket, Tapestry is a plus Applications Interested? Then send your CV to [EMAIL PROTECTED], or contact Vasil Kokareshkov at [EMAIL PROTECTED] www.fredhopper.com We are looking to fill positions immediately, therefore apply today! -- View this message in context: http://www.nabble.com/Job-Opportunity-for-Developers%2C-Java-Web-at-Fredhopper-tf3873476.html#a10975131 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28
Hi, Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28 Problem Description: I created a JNDI(Name is jdbc/TestOracle ) for Oracle using Tomcat Admin console Example --TomcatServer-Service-Host-Context(TestProject)-Resources-DataSources using oracle.jdbc.driver.OracleDriver driver In my web application I created a connection using above JNDI name. private static final String JNDI_POOL=jdbc/TestOracle ; Context oracleObjCtx = new InitialContext(); DataSource ds=null; try { ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } catch (Exception ne) { oracleObjCtx = (Context)oracleObjCtx.lookup(java:comp/env); ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } conn = (Connection)ds.getConnection(); Above code is working fine in Window environment and it 's throwing exception in Linux while creating a DataSource Error Message is Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.usscript.util.ConnectionManager.getOracleConnectionFromPool(ConnectionManager.java:26) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetailsAfterFirstTimeAccess(AuthenticatorDAO.java:132) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetails(AuthenticatorDAO.java:29) at com.usscript.delegate.LoginDelegateHandler.getUserDetails(LoginDelegateHandler.java:125) at com.usscript.action.LoginAction.execute(LoginAction.java:39) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at com.usscript.util.USScriptActionServlet.doPost(USScriptActionServlet.java:48) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Thank, Somu 573-462-0599 - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
Does manager show AJP connections as stage K?
Hi, in the manager app of Tomcat 5.5 there is the list of threads and their state and connection for each Connector when you click on Server Status. The AJP connector shows a large number (about 50) threads, all in state K (keepalive) with connection times of several to several hundred hours. Question: Are these just the permanently open AJP connections between Apache and Tomcat or are these stalled requests? Thanks for any help, regards Georg - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28
I would recommend not using the admin console to define datasources. There have been messages on this list for a while indicating the admin console webapp doesn't always persist the config to the disk. Instead, configure it in the context.xml file if at all possible. --David Somu Sundar Reddy.Y wrote: Hi, Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28 Problem Description: I created a JNDI(Name is jdbc/TestOracle ) for Oracle using Tomcat Admin console Example --TomcatServer-Service-Host-Context(TestProject)-Resources-DataSources using oracle.jdbc.driver.OracleDriver driver In my web application I created a connection using above JNDI name. private static final String JNDI_POOL=jdbc/TestOracle ; Context oracleObjCtx = new InitialContext(); DataSource ds=null; try { ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } catch (Exception ne) { oracleObjCtx = (Context)oracleObjCtx.lookup(java:comp/env); ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } conn = (Connection)ds.getConnection(); Above code is working fine in Window environment and it 's throwing exception in Linux while creating a DataSource Error Message is Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.usscript.util.ConnectionManager.getOracleConnectionFromPool(ConnectionManager.java:26) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetailsAfterFirstTimeAccess(AuthenticatorDAO.java:132) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetails(AuthenticatorDAO.java:29) at com.usscript.delegate.LoginDelegateHandler.getUserDetails(LoginDelegateHandler.java:125) at com.usscript.action.LoginAction.execute(LoginAction.java:39) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at com.usscript.util.USScriptActionServlet.doPost(USScriptActionServlet.java:48) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Thank, Somu 573-462-0599 - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28
if it's working ok in Windows and NOT in Linux, check to see that the spelling reference of jdbc/TestOracle is the same through out. You might want to wrap equalsIgnoreCase() around it. -Original Message- From: Somu Sundar Reddy.Y [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 1:27 PM To: users@tomcat.apache.org Subject: Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28 Hi, Need some help in using Oracle Database connection pool in jakarta-tomcat-5.0.28 Problem Description: I created a JNDI(Name is jdbc/TestOracle ) for Oracle using Tomcat Admin console Example --TomcatServer-Service-Host-Context(TestProject)-Resources-DataSources using oracle.jdbc.driver.OracleDriver driver In my web application I created a connection using above JNDI name. private static final String JNDI_POOL=jdbc/TestOracle ; Context oracleObjCtx = new InitialContext(); DataSource ds=null; try { ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } catch (Exception ne) { oracleObjCtx = (Context)oracleObjCtx.lookup(java:comp/env); ds = (DataSource) oracleObjCtx.lookup(JNDI_POOL); } conn = (Connection)ds.getConnection(); Above code is working fine in Window environment and it 's throwing exception in Linux while creating a DataSource Error Message is Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.usscript.util.ConnectionManager.getOracleConnectionFromPool(ConnectionManager.java:26) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetailsAfterFirstTimeAccess(AuthenticatorDAO.java:132) at com.usscript.dataaccess.AuthenticatorDAO.getUserDetails(AuthenticatorDAO.java:29) at com.usscript.delegate.LoginDelegateHandler.getUserDetails(LoginDelegateHandler.java:125) at com.usscript.action.LoginAction.execute(LoginAction.java:39) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at com.usscript.util.USScriptActionServlet.doPost(USScriptActionServlet.java:48) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Thank, Somu 573-462-0599 - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
Re: Job Opportunity for Developers, Java Web at Fredhopper
Good Afternoon Vasil Would you consider opening an office here in the US? Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Vasil Kokareshkov [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, June 05, 2007 2:25 PM Subject: Job Opportunity for Developers, Java Web at Fredhopper TOP SOFTWARE PRODUCT COMPANY OFFERS TALENTED JAVA WEB DEVELOPERS A UNIQUE OPPORTUNITY TO BUILD LARGE SCALE WEB APPLICATIONS Company: Fredhopper, Location: Amsterdam or Sofia, Position: Full-time Do you have a talent for seeing a problem and immediately contemplating the likely solution? Are you passionate about making great ideas reality? Do you thrive within a fast-paced and engineering-driven environment? At Fredhopper we look for talented engineers with web technology experience to join our team of engineers that develop our next generation search engine. Fredhopper developers tackle interesting large scale challenges, build product innovations and work on the breadth of the entire product, crafting solutions from idea to implementation. We use short release cycles to continually add novel features, so you will immediately see the impact of your efforts. Fredhopper is the № 1 provider of site search solutions for online business in Europe and behind the scenes of many of the largest online businesses. Customers include many leading international companies such as Philips Electronics, Karstadt-Quelle, Kingfisher, Littlewoods-Shopdirect, Thomas Cook, Wolters Kluwer and Woolworths. Fredhopper has product development centers in Amsterdam and Sofia. The nature of the issues we’re working on require a development team that yields both excellent analytical and engineering skills. We prioritise talent over experience. Qualifications University degree in Computer Science or equivalent (last year students will also be considered) Strong programming skills, preferably in Java or other OO language Excellent understanding of Web-standards, such as JS, HTML, XML Self-thinking and having hands-on approach Good knowledge of English language Experience with web-based user interfaces such as JSF, Wicket, Tapestry is a plus Applications Interested? Then send your CV to [EMAIL PROTECTED], or contact Vasil Kokareshkov at [EMAIL PROTECTED] www.fredhopper.com We are looking to fill positions immediately, therefore apply today! -- View this message in context: http://www.nabble.com/Job-Opportunity-for-Developers%2C-Java-Web-at-Fredhopper-tf3873476.html#a10975131 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java core dump location
Hi, there my by problem with core file size. Try ulimit -c unlimited. Here is more instructions to check coredump settings http://support.bea.com/application_content/product_portlets/support_patterns/wls/BinaryCoreFileAnalysisPattern.html#Operating_System_Values_that_should_be_checked_for_core_file_generation Regards, Zdenek On 6/5/07, Alan Cooper [EMAIL PROTECTED] wrote: Running Tomcat5.5 from Red Hat packages on a RHEL4 server. I'm having problem with one of my webapps in that it occasionally core dumps. I'm working getting the root cause sorted out, but in the meantime, the core dumps fill /tmp – can anyone point me to a guide to changing where the core dumps are dumped to? Kind Regards, Alan --- Alan Cooper No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.9/832 - Release Date: 04/06/2007 18:43 -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison, nplusone or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison, nplusone and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by Lumison. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does manager show AJP connections as stage K?
Georg Sauer-Limbach wrote: The AJP connector shows a large number (about 50) threads, all in state K (keepalive) with connection times of several to several hundred hours. Question: Are these just the permanently open AJP connections between Apache and Tomcat or are these stalled requests? The first one. Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does manager show AJP connections as stage K?
Hi, Thanks for your reply. When I open the admin console in Tomcat 5.0.28, I can see two Connectors 1. Connector(8009) 2. Conenctor(8080) Below values I can see in Conenctor(8080) Type: - HTTP Scheme: - http Enable DNS Lookups: - false URI Encoding: - Use Body Encoding For URI Query Parameters: - False Allow TRACE Method: Flase IP Address: Secure: Accept Count: -100 Compression: - off Connection Linger (milliseconds) : -1 Connection Timeout (milliseconds) : 2 Connection Upload Timeout (milliseconds) :3 Default Buffer Size:2048 Disable Upload Timeout: True Max KeepAlive Requests:100 Max Spare Threads:75 Max Threads:150 Min Spare Threads:25 Processor Thread Priority:5 TCP No Delay : True X Powered By : True Ports Port Number: 8080 Redirect Port Number: -8443 Proxy Name: Proxy Port Number: 0 Please do let me know if I need to send other information in resolving Oracle connection pool problem. Thanks a lot for your help. Somu Georg Sauer-Limbach [EMAIL PROTECTED] wrote: Hi, in the manager app of Tomcat 5.5 there is the list of threads and their state and connection for each Connector when you click on Server Status. The AJP connector shows a large number (about 50) threads, all in state K (keepalive) with connection times of several to several hundred hours. Question: Are these just the permanently open AJP connections between Apache and Tomcat or are these stalled requests? Thanks for any help, regards Georg - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
Tomcat URL decoding different from Java's URLDecoder?
We were playing around with a little JSP application, and trying to submit (and handle) Big5 characters. (The real purpose was to exercise our primary app which sniffs HTTP traffic and does stuff with the raw data it captures - it sees the headers and body as sent over the wire.) One odd thing we noticed was that when we sent in a single (two-byte) Big5 character in a form field (the page was already set to character encoding Big5), the encoded value sent in the URL was rather screwy: The original character is (Big5) 0xAE 0x78. The URL sent by IE said %AEx. (!!) Now Java's URLDecoder.decode(s, Big5) doesn't like the above encoding: it insists that both characters be encoded, or neither - it ends up decoding this into ?x. However, Tomcat actually returns the correct single chinese character from request.getParameter(userid). Is it doing the URL decoding in a different way than Java's built-in URL decoder? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can apache tomcat be a virus?
Doesnt really sound like a virus, or malware, probably just broken. Try this Tools Internet Options Advanced Browsing Uncheck - Enable 3rd party browser extensions It may start working... tell your dad to remove any FREE programs he installed, especially ones that said... cool free toolbar for your explorer. Then, if you get lucky and it works get yourself a really good antivirus program. I can recommend the free Avast... Good luck... - Original Message - From: Elke Thoné [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, June 05, 2007 10:29 AM Subject: can apache tomcat be a virus? Hello, I'm looking for help for my father. We are both using our computer only to surf and email and some games. Now on the computer of my father, when he opens Internet Explorer, he always gets a page fro Apache Tomcat saying something that it is installed successfully. He cannot surf to any other page, typing in an url always gives this same page, so he cannot surf anymore. Is this a known problem? Can anyone help. Elke - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat URL decoding different from Java's URLDecoder?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shankar, Shankar Unni wrote: One odd thing we noticed was that when we sent in a single (two-byte) Big5 character in a form field (the page was already set to character encoding Big5), the encoded value sent in the URL was rather screwy: This is probably because URLs should be decoded using UTF-8 or ISO-8859-1 instead of Big5. Even if the content-type of the request or response body is Big5, then URL ought to be UTF-8 or ISO-8859-1. However, Tomcat actually returns the correct single chinese character from request.getParameter(userid). Is it doing the URL decoding in a different way than Java's built-in URL decoder? Yes, it's using either UTF-8 or ISO-8859-1 to decode the URL parameters (you can set this in your Connector's configuration) instead of Big5, which you were manually choosing when you used Java's URLDecoder. Hope that helps. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZe6L9CaO5/Lv0PARAv/7AJwNeZyp39F5N/zYpIUyRK/tyL8HggCgrzU8 hPaSFVlAop0gngQLs2dDsJA= =3oPF -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat URL decoding different from Java's URLDecoder?
On 6/5/07, Shankar Unni [EMAIL PROTECTED] wrote: (the page was already set to character encoding Big5), the encoded value sent in the URL was rather screwy: The original character is (Big5) 0xAE 0x78. The URL sent by IE said %AEx. (!!) Did you also configure the web.xml properly ? It should have context-param param-namePARAMETER_ENCODING/param-name param-valueBig5/param-value /context-param Are you setting the request parameter correctly before reading the parameter? String paramEncoding = application.getInitParameter(PARAMETER_ENCODING); request.setCharacterEncoding(paramEncoding); Now Java's URLDecoder.decode(s, Big5) doesn't like the above encoding: it insists that both characters be encoded, or neither - it ends up decoding this into ?x. However, Tomcat actually returns the correct single chinese character from request.getParameter(userid). Is it doing the URL decoding in a different way than Java's built-in URL decoder? -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP 500 when using custom error pages in Tomcat 6.0
On 6/5/07, Roger Roger [EMAIL PROTECTED] wrote: Hi there, Recently we upgraded to Tomcat 6.0. Suddenly the custom errorpages don't work anymore. It works, when I try the example you've shown in your first post. A few things you may want to check: 1) errorPage=error.jsp , is error.jsp relative to test.jsp ? Since the above is a ~page relative~ path, both test.jsp and error.jsp should be in the same folder , otherwis error.jsp will not be found. A better approach would be to make errorPage a ~context~ relative path , something like errorPage=/errors/error.jsp , this way error.jsp will be visible to any page in your app when you use that path. 2) Is the web.xml configured correctly, is the path of error.jsp in web.xml correct? Again, it should be context relative. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 6 and AjaxAnywhere
Have you resolved this then? I am creating an app from scratch on Tomcat 6 using Netbean 6 and JSF 1.2 and am getting this same error when an ajaxified component makes an ajax call back to the server. thanks! jvosloo wrote: I realized that the problem is actually being caused by the MyFaces upgrade I did from version 1.1.4 to 1.1.5 - it had nothing to do with Tomcat 6. The reason I suspected Tomcat 6 was that Tomcat 6 now logs warning about parameters, which Tomcat 5.5. didn't do. jvosloo wrote: I have an JSF Appfuse based app which uses AjaxAnywhere to perform search functions on certain JSPs. This worked fine in Tomcat 5.5, but since upgrading to version 6, my form fields seems to be no longer submitted and I get the following warning in the Tomcat log: 2007/06/04 08:36:36 org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. Any ideas/advice? -- View this message in context: http://www.nabble.com/Tomcat-6-and-AjaxAnywhere-tf3867094.html#a10980621 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Perm Size
Caldarale, Charles R wrote: Note to Mark T: The service.bat script for 6.0.13 still references http://jakarta.apache.org/tomcat. Thanks. Fixed. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invalid command 'workers.tomcat_home=/usr/local/tomcat' when starting Apache
Gerry Jackson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for responding. Which configuration file are you importing? Tomcat automatically creates a mod_jk.conf file which I believe I attached to my original message. It looks like you are trying to use workers.properties as an apache httpd config file. This file is read by mod_jk, not by apache httpd directly. For instance, you should /not/ have anything like this in your httpd.conf (or apache2.conf, or whatever): Instead, you should have a JkWorkersFile directive in your apache httpd config file. I haven't included the workers.properties in the apache2.conf file. I have only included the following file (which was generated automatically by tomcat) which includes the JkWorkersFile directive. Hopefully that helps you help me :-) Somebody should really cleanup the auto-config generator :). It was only used by JNI, so when it was decided to drop JNI support from mod_jk, the directive was dropped as well. For many versions, mod_jk just quietly ignored unrecognized directives. Newer versions now warn when they see them. Gerry ==mod_jk.conf= ## Auto generated on Tue Jun 05 09:39:34 EDT 2007## IfModule !mod_jk.c LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so /IfModule JkWorkersFile /etc/apache2/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel emerg VirtualHost www.domain1.com ServerName www.domain1.com /VirtualHost VirtualHost localhost ServerName localhost JkMount /manager ajp13 JkMount /manager/* ajp13 JkMount /webdav ajp13 JkMount /webdav/* ajp13 JkMount /servlets-examples ajp13 JkMount /servlets-examples/* ajp13 JkMount /tomcat-docs ajp13 JkMount /tomcat-docs/* ajp13 JkMount /host-manager ajp13 JkMount /host-manager/* ajp13 JkMount /jsp-examples ajp13 JkMount /jsp-examples/* ajp13 JkMount /balancer ajp13 JkMount /balancer/* ajp13 /VirtualHost - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot create JDBC driver of class '' for connect URL 'null'
Hi Martin, Referring to the link you asked me to check, I checked the same and updated the server.xml under *GlobalNamingResources*, hope i guess that is correct.With all this done, I am getting the same error: Jun 6, 2007 9:36:31 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:276) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: javax.faces.FacesException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at com.sun.rave.faces.data.CachedRowSetDataModel.executeIfNecessary(CachedRowSetDataModel.java:374) at com.sun.rave.faces.data.CachedRowSetDataModel.isRowAvailable(CachedRowSetDataModel.java:133) at com.sun.rave.faces.data.CachedRowSetDataModel.setRowIndex(CachedRowSetDataModel.java:286) at com.sun.rave.faces.data.CachedRowSetDataModel.setWrappedData(CachedRowSetDataModel.java:323) at com.sun.rave.faces.data.CachedRowSetDataModel.setCachedRowSet(CachedRowSetDataModel.java:348) at acctapps.AdminAcct._init(AdminAcct.java:50) at acctapps.AdminAcct.init(AdminAcct.java:464) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.fireInit(LifecycleListener.java:555) at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:405) at org.apache.catalina.connector.Request.setAttribute(Request.java:1398) at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:500) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283) at com.sun.faces.context.RequestMap.put(ExternalContextImpl.java:622) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:279) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at