Need Help
Hello EveryBody, I am trying to execute my jsp's servlets from my remote server from /home/httpd/vhosts/domainname.com dir It works fine for the Html's but when try to execute my jsp's servlets it is not able to execute and even doesnt displays an error page just displays only the html tags. the configuration in the server.xml Host name=domainname..com debug=0 appBase=webapps unpackWARs=true Aliaswww.domainname.s.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path=/home/httpd/vhosts/domainname.com docBase=domainname debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host Any help will be most appreciated. Best Regard's Tomcat Cat-User
RE: Tomcat5.0.25 TCP Session Replication
conf looks good, (Bdo you have multicast enabling between your boxes? (B (BFilip (B (B-Original Message- (BFrom: $B4d:j(B $B?7(B [mailto:[EMAIL PROTECTED] (BSent: Friday, September 03, 2004 12:13 AM (BTo: [EMAIL PROTECTED] (BSubject: Tomcat5.0.25 TCP Session Replication (B (B (BOn Tomcat5.0.25 it doesn't replicate, even though I try to do session (Breplication. (B (BBelow is a setting. (B (Bserver.xml of SERVER 1 (BCluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" (B (BmanagerClassName="org.apache.catalina.cluster.session.DeltaManager" (BexpireSessionsOnShutdown="false" (BprintToScreen="true" (Bdebug="9" (BuseDirtyFlag="false" (B (BMembership (BclassName="org.apache.catalina.cluster.mcast.McastService" (BmcastAddr="228.0.0.4" (BmcastPort="45564" (BmcastFrequency="500" (BmcastDropTime="3000"/ (B (BReceiver (BclassName="org.apache.catalina.cluster.tcp.ReplicationListener" (BtcpListenAddress="10.108.128.91" (BtcpListenPort="4001" (BtcpSelectorTimeout="100" (BtcpThreadCount="6"/ (B (BSender (B (BclassName="org.apache.catalina.cluster.tcp.ReplicationTransmitter" (BreplicationMode="synchronous"/ (B (BValve className="org.apache.catalina.cluster.tcp.ReplicationValve" (Bfilter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;*\.html;.*\.txt;"/ (B/Cluster (B (Bserver.xml of SERVER 2 (BCluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" (B (BmanagerClassName="org.apache.catalina.cluster.session.DeltaManager" (BexpireSessionsOnShutdown="false" (BprintToScreen="true" (Bdebug="9" (BuseDirtyFlag="false" (B (BMembership (BclassName="org.apache.catalina.cluster.mcast.McastService" (BmcastAddr="228.0.0.4" (BmcastPort="45564" (BmcastFrequency="500" (BmcastDropTime="3000"/ (B (BReceiver (BclassName="org.apache.catalina.cluster.tcp.ReplicationListener" (BtcpListenAddress="10.108.128.93" (BtcpListenPort="4001" (BtcpSelectorTimeout="100" (BtcpThreadCount="6"/ (B (BSender (B (BclassName="org.apache.catalina.cluster.tcp.ReplicationTransmitter" (BreplicationMode="synchronous"/ (B (BValve className="org.apache.catalina.cluster.tcp.ReplicationValve" (Bfilter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;*\.html;.*\.txt;"/ (B/Cluster (B (B (BThe following is added on web.xml of application. (B (Bdistributable/ (B (BSERVER1:10.108.128.91 (B (BSERVER2:10.108.128.93 (B (BOS:both RedHat LinuxA3.0 (B (B (B (BThere're some packet to confirm each other on "tcpdump". (BSeesion Replication can be confirmed on Session Examplle . (B (BAbove all,are there any to notice insufficient settings or the settings? (B (B_ $B3Z$7$$3(J8;z$G%3%3%mEA$o$k%a%C%;%s%8%c!<(B http://messenger.msn.co.jp/ (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED] (B--- (BIncoming mail is certified Virus Free. (BChecked by AVG anti-virus system (http://www.grisoft.com). (BVersion: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004 (B (B--- (BOutgoing mail is certified Virus Free. (BChecked by AVG anti-virus system (http://www.grisoft.com). (BVersion: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004 (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]
Re: How to control the order Valves are invoked?
By default, the Authenticator is added after any custom Valves. However, if you add the Authenticator yourself, you can control the order: Context path=... docBase=... Valve className=org.apache.catalina.authenticator.FormAuthenticator / Valve className=org.mcarthur.my.package.MyValve / ... /Context Sandy McArthur [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a custom Valve I specify in a Context element of the server.xml which I'd like to be invoked after the AuthenticatorBase in the chain of Valves so that I can use: ((HttpServletRequest) request.getRequest()).getRemoteUser() and possibly get a meaningful value. Is there any hope of controlling the Valve order or must I find another way to do what I want? -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat connected to apache via proxy gives virtual host problems
Yes, we did that. But it doesn't work. Is it possible at all using proxying and if so, how? Or should we make the switch to jk2? Hola, If you're defining the host in server.xml, you can make webapps/foo/bar the host's appBase. Yoav Shapira Millennium Research Informatics -Original Message- Hi, We are running tomcat5, proxied to apache. So far this has worked fine, but now we want to attach a virtual host to a subdirectory. So we have host1.com maps to webapps/ host2.com maps to webapps/foo/bar Now, on host2.com paths are relative to webapps rather than webapps/foo/bar. And thus, images can't be found and sessions don't work. I'm inclined to think since everything is proxied to localhost, tomcat doesn't even know it's supposed to be a virtual host. Is there a solution to this? TIA, Sandor Vroemisse - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
javascript and servlets.
I have a form with multiple input name=file0 elements. The names are generated and range file0..n I'm trying (and failing) to retrieve the value of the input fields. String f =; f = request.getParameter(file0); works fine; The remainder appear inaccessible. In the docs ...webapps/tomcat-docs/servletapi/index.html I'm warned: You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String). However, since each entry within the form has a variant name value, what parameter should I pass to the getParameterValues method to retrieve the multiple values? tc 5.0.27 in use. Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: javascript and servlets.
String[] f = request.getParameterValues(file0); f[0] .. f[f.length - 1] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:16 AM To: [EMAIL PROTECTED] Subject: javascript and servlets. String f =; f = request.getParameter(file0); works fine; The remainder appear inaccessible. In the docs ...webapps/tomcat-docs/servletapi/index.html
RE: javascript and servlets.
use getParameterNames public java.util.Enumeration getParameterNames() to get the name of all input fields and then getParameter to get the value(s) oh each parameter Laurent -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoy : vendredi 3 septembre 2004 09:16 : [EMAIL PROTECTED] Objet : javascript and servlets. I have a form with multiple input name=file0 elements. The names are generated and range file0..n I'm trying (and failing) to retrieve the value of the input fields. String f =; f = request.getParameter(file0); works fine; The remainder appear inaccessible. In the docs ...webapps/tomcat-docs/servletapi/index.html I'm warned: You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String). However, since each entry within the form has a variant name value, what parameter should I pass to the getParameterValues method to retrieve the multiple values? tc 5.0.27 in use. Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: usage tomcat5w ?
Nobody who can explain this tomcat5w.exe or refer to documentation about it ? -Original Message- From: Quinten Verheyen Sent: 02 September 2004 19:23 To: Tomcat Users List Subject: RE: usage tomcat5w ? --- Unless the context's reloadable attr is set to true, Tomcat won't reload *any* classes until a context (re)start. --- The directory containing those classes isn't part of any web root context (where you could indeed set the 'reloadable' attribute, but that's not advised on production environments). The root is just given as a classpath param in the tomcat5w.exe program. So I assume it's part of the Tomcat ClassLoader because any new/updated class in that root gets picked up by the container without any reload/restart. I have to say I can't find much documentation about that tomcat5w.exe. --- Generally speaking, it's best for the long-term to follow the spec's and Tomcat's guidelines for where to put things. That simplifies upgrades and makes it easier to determine whether a problem lies in the container's code or yours. That said, there are a million ways to run a shop, half of which are right. Sometimes it's necessary to deviate from the norm. --- I personally don't see any reason to deviate from the tomcat dev standard convention, in this case I guess it's done to avoid container restart. But that's a pretty weak argument if one can deploy/undeploy webapps remotely through the manager app, don't you think ? Thanks for the feedback btw, Quinten -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 19:03 To: Tomcat Users List Subject: Re: usage tomcat5w ? On Thu, Sep 02, 2004 at 03:44:52PM +0200, Quinten Verheyen wrote: : we have Tomcat 5 installed and there is something that troubles me. : Some guys have modified the classpath via the tomcat5w.exe (Java tab) and put : all their applications in a directory outside of tomcat. It isn't even a web : root, just a root for class files. : They did this so they don't have to restart Tomcat for every class change and : to put their application class files anywhere they want. Unless the context's reloadable attr is set to true, Tomcat won't reload *any* classes until a context (re)start. : This bugs me. They just change the classpath known by Tomcat at startup (like : bootstrap) but isn't this against all design logic ? Generally speaking, it's best for the long-term to follow the spec's and Tomcat's guidelines for where to put things. That simplifies upgrades and makes it easier to determine whether a problem lies in the container's code or yours. That said, there are a million ways to run a shop, half of which are right. Sometimes it's necessary to deviate from the norm. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - 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: javascript and servlets.
-Original Message- From: Marot Laurent [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 08:33 To: Tomcat Users List Subject: RE: javascript and servlets. use getParameterNames public java.util.Enumeration getParameterNames() to get the name of all input fields and then getParameter to get the value(s) oh each parameter Thanks Laurent: java.util.Enumeration enum = request.getParameterNames(); while (enum.hasMoreElements()){ String s = (String)enum.nextElement(); out.println(p+s+/p); } Produces no output? Implies that hasMoreElements() is false? Ralph suggested String[] f = request.getParameterValues(file0); f[0] .. f[f.length - 1] but I can't see how that will access the entry with name file1, file2 etc? Perhaps all the entries should be named the same (which seems illogical). regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: usage tomcat5w ?
Quinten Verheyen wrote: Nobody who can explain this tomcat5w.exe or refer to documentation about it ? Well, your question was too political :). How will someone configure the Tomcat really has nothing to do with tomcat5w. Exactly the same can be done manually editing the registry, customizing batch scripts, etc... Of course those are not dynamic changes and can not be used for serious 24x7 servers. Regards, MT. : This bugs me. They just change the classpath known by Tomcat at startup (like : bootstrap) but isn't this against all design logic ? smime.p7s Description: S/MIME Cryptographic Signature
Form based authentication - last login
Hi All, I'm supposed to record the last login timestamp. IMHO the best sollution would be to intercept the authentication process (I'm working with Tomcat 4.x), to smuggle some custom code there that updates the appropriate column in the database. The question is.. how can I do this?? Or maybe someone has a better idea how to do this?? Thanx in advance for your suggestions Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: usage tomcat5w ?
--- Of course those are not dynamic changes and can not be used for serious 24x7 servers --- Indeed, but the thing is ... they ARE used for serious 24x7 servers. They thought something like this : 1) application logic does not really need web functionalities 2) so we don't use a web context and put all classes in the tomcat CP And everybody was happy. The reason why they actually use a tomcat container is because they want easy interaction with other (tomcat) webservers on other machines. There are 2 ways I see here : - either follow their approach - or use a web context in combination with a well-secured manager webapp I'm still doubting :) -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 09:44 To: Tomcat Users List Subject: Re: usage tomcat5w ? Quinten Verheyen wrote: Nobody who can explain this tomcat5w.exe or refer to documentation about it ? Well, your question was too political :). How will someone configure the Tomcat really has nothing to do with tomcat5w. Exactly the same can be done manually editing the registry, customizing batch scripts, etc... Of course those are not dynamic changes and can not be used for serious 24x7 servers. Regards, MT. : This bugs me. They just change the classpath known by Tomcat at startup (like : bootstrap) but isn't this against all design logic ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
????? +++ problem saving Euro symbol character to database from my JSP form using TC5
HI Nikola. et. al., thanks for your help. I really appreciate it !! 1. I have a Windows-1250 oracle database, and I am using TC 5. and jsp/html pages to perform updates/inserts. Despite using iso-8859-15 in my jsp/html, the client is still posting a ? (question mark symbol) instead of a Euro symbol. Anybody know what is happening ? 2. If I do change our product database, from Windows-1250 to UTF-8, how will this affect existing applications I wonder writing to the database using Windows-1250 or iso-8859-1. I guess because utf-8 is backward compatable it should not affect the existing apps. making updates or inserts? Would appreciate any help ! thanks BEn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JMX remoting by RMI
Hi, How do you enable remote access to the JMX Server by RMI in Tomcat 4.1.30 ? I'd like to access a custom MBean, which i register to the Tomcat JMX Server in my webapp, via RMI. Thanks for your help, Sebastien
[OT] RE: javascript and servlets.
very surprising ... to ensure you really send parameters, just try to get one of them with usual getParameter(param). but i think it is slighly off-topic -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoy : vendredi 3 septembre 2004 09:38 : [EMAIL PROTECTED] Objet : RE: javascript and servlets. -Original Message- From: Marot Laurent [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 08:33 To: Tomcat Users List Subject: RE: javascript and servlets. use getParameterNames public java.util.Enumeration getParameterNames() to get the name of all input fields and then getParameter to get the value(s) oh each parameter Thanks Laurent: java.util.Enumeration enum = request.getParameterNames(); while (enum.hasMoreElements()){ String s = (String)enum.nextElement(); out.println(p+s+/p); } Produces no output? Implies that hasMoreElements() is false? Ralph suggested String[] f = request.getParameterValues(file0); f[0] .. f[f.length - 1] but I can't see how that will access the entry with name file1, file2 etc? Perhaps all the entries should be named the same (which seems illogical). regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authenticate a virtual JK2 context on IIS side ?
Hi, we want out frontend-webserver to do the authentication autorisation. The Tomcat-apps are on a different server connected via JK2/AJP13. Now, when we map a URI-context to tomcat, there are no physical files on IIS-Side to bind security permissions to. We also can't use dummy-files coz the java-apps change to often. And when we create a folder for the context, say abcd, and bind the permissions there, direct requests into the folder like ... www.web1.de/acbd/index.jsp ...are still not blocked because index.jsp doesn't exist here, so no security information. What we are looking for is a possibility to bind permissions to a folder AND it's entire substructure, like you can do in Apache's httpd.conf or .htaccess in IIS6 to set permissions for an JK2-URI-Mapped context on Webserverside. The application must not do the authorisation by concept. Any help appreciated.. -- Gruss... Björn Andersen _ Webservices, Premiere Fernsehen GmbH - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: usage tomcat5w ?
Quinten Verheyen wrote: --- Of course those are not dynamic changes and can not be used for serious 24x7 servers --- Indeed, but the thing is ... they ARE used for serious 24x7 servers. Still, what this has to do with the tomcat5w.exe? It's a GUI service config helper, and you a talking about webserver implementation strategies. Regards, MT. smime.p7s Description: S/MIME Cryptographic Signature
RE: usage tomcat5w ?
--- Still, what this has to do with the tomcat5w.exe? It's a GUI service config helper, and you a talking about webserver implementation strategies. --- The fact that their approach uses that GUI to modify the tomcat classpath (wich has an impact on implementation strategy) led me to wanting to know more about the good/bad things of such an approach, that's all. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 10:24 To: Tomcat Users List Subject: Re: usage tomcat5w ? Quinten Verheyen wrote: --- Of course those are not dynamic changes and can not be used for serious 24x7 servers --- Indeed, but the thing is ... they ARE used for serious 24x7 servers. Still, what this has to do with the tomcat5w.exe? It's a GUI service config helper, and you a talking about webserver implementation strategies. Regards, MT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] RE: javascript and servlets.
-Original Message- From: Marot Laurent very surprising ... to ensure you really send parameters, just try to get one of them with usual getParameter(param). Yes, the first entry element value is retrievable easily f = request.getParameter(file0); returns the value no problem. form method=post action=/repository/getit name=form ol id=ULlist li input type=file id=file0 name=file0 input type=button onclick=showUpload(event); value=Upload another file? /li /ol input type=submit value=Submit.../ /form Further input items are added via javascript, to enable multiple file uploads. The name attribute is set in the jscript to file+ iteration value. regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: javascript and servlets.
Sorry i misread your post, that is the solution to retrieve the values if you have more than one field with the same name. If you have file0 through filen this should work: request.getParameter(file0); .. request.getParameter(filen); if file1 through filen are null against your expectations, I would say something is wrong on the client side. Some recommendations: - change method to get so you can see the fields as query string. - Make shure that all fields are in the same form -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:38 AM To: [EMAIL PROTECTED] Subject: RE: javascript and servlets. but I can't see how that will access the entry with name file1, file2 etc?
RE: javascript and servlets.
If you have file0 through filen this should work: request.getParameter(file0); .. request.getParameter(filen); if file1 through filen are null against your expectations, I would say something is wrong on the client side. I'm beginning to suspect that too! Some recommendations: - change method to get so you can see the fields as query string. How please? - Make sure that all fields are in the same form I'll check. Thanks. regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] RE: javascript and servlets.
just put one name.. say myFile. then get it thru String[] myFile = getParamterValues(myFile)... for(int i=0; imyFile.length;i++) { myFile[i]; } regards, aris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 4:37 PM To: [EMAIL PROTECTED] Subject: RE: [OT] RE: javascript and servlets. -Original Message- From: Marot Laurent very surprising ... to ensure you really send parameters, just try to get one of them with usual getParameter(param). Yes, the first entry element value is retrievable easily f = request.getParameter(file0); returns the value no problem. form method=post action=/repository/getit name=form ol id=ULlist li input type=file id=file0 name=file0 input type=button onclick=showUpload(event); value=Upload another file? /li /ol input type=submit value=Submit.../ /form Further input items are added via javascript, to enable multiple file uploads. The name attribute is set in the jscript to file+ iteration value. regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - 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: javascript and servlets.
form method=get ... /form the query string can be found in the access log. (This might be turned of) From your last post with the source I think that each input tag has it's own form so only one field is submitted. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:47 AM To: [EMAIL PROTECTED] Subject: RE: javascript and servlets. Some recommendations: - change method to get so you can see the fields as query string. How please? - Make sure that all fields are in the same form I'll check.
TC-5.0.27 and eclipse Java Compiler
Hi, I have read that TC-5.5 can use the eclipse Java Compiler. Can I use this compiler also with TC-5.0.27? If yes, how? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need Urgent Help
Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following Host name=domainname.com debug=0 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true Aliaswww.domainname.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host but still my jsp's servlets doenst executes at the server side.. Any help is most appreiciated. Best Regard's Venu
RE: Need Urgent Help
Is docBase right??? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:25 AM Aan: Tomcat Users List Onderwerp: Need Urgent Help Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following Host name=domainname.com debug=0 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true Aliaswww.domainname.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host but still my jsp's servlets doenst executes at the server side.. Any help is most appreiciated. Best Regard's Venu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Urgent Help
yes it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs) where i am having my jsp's servlets - Original Message - From: Bedrijven.nl [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:41 PM Subject: RE: Need Urgent Help Is docBase right??? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:25 AM Aan: Tomcat Users List Onderwerp: Need Urgent Help Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following Host name=domainname.com debug=0 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true Aliaswww.domainname.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host but still my jsp's servlets doenst executes at the server side.. Any help is most appreiciated. Best Regard's Venu - 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]
Sending every request in apache to the mod_jk module.
Hi all, I read about that issues several times in this mailing list, but got no clear answer to this. I use Apache/1.3.27 (Unix) mod_jk/1.2.4 and Tomcat 4.1.27 I got the following debug messages in the mod_jk log file: [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (477)]: Attempting to map URI '/' [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (477)]: Attempting to map URI '/index.html' [Fri Sep 03 10:14:32 2004 AM] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match It seems that for every request sent to Apache, the mod_jk module is asked if it could handle that request. Is this the usual behaviour? Couldn't this have performance issues? Could it be, that this is a configuration error? Does anybody know, how Apache handles a request in combination with mod_jk? Any help is appreciated. Regards Karin Here is an extract from my configuration (httpd.conf): ## ## httpd.conf -- Apache HTTP server configuration file ## ... LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c ### # mod_jk ### JkWorkersFile /usr/local/apache/conf/worker.properties JkLogFile /var/apache/logs/mod_jk.log JkLogLevel debug JkLogStampFormat[%a %b %d %H:%M:%S %Y %p] JkMount /tomcat_sample/* tomcat_sample # ServletExec Admin Location /servletexec SetHandler servlet-exec /Location - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need Urgent Help
yes but it;s a relative path..so relative to what?? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:43 AM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: Re: Need Urgent Help yes it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs) where i am having my jsp's servlets - Original Message - From: Bedrijven.nl [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:41 PM Subject: RE: Need Urgent Help Is docBase right??? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:25 AM Aan: Tomcat Users List Onderwerp: Need Urgent Help Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following Host name=domainname.com debug=0 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true Aliaswww.domainname.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host but still my jsp's servlets doenst executes at the server side.. Any help is most appreiciated. Best Regard's Venu - 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: custom error page for 403
thanks the config part in web.xml: error-page error-code404/error-code location/errorPage.html/location /error-page error-page error-code403/error-code location/errorPage.html/location /error-page for 404, my errorpage.html is dispalyed for 403, the following page is displayed. thanks cheng =returned page-what is dispaled in the browser== HTTP Status 403 - Access to the requested resource has been denied type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Apache Tomcat/5.0.19 --- QM [EMAIL PROTECTED] wrote: On Thu, Sep 02, 2004 at 10:39:28AM +0100, zhicheng wang wrote: : can any one tell me how to config tomcat 5.0.25 to use : custom error 403 page? I can config it for 404, but : 403 apparently does not work, even though some : articles say that the configs are the same. apparently does not work is hardly enough detail. The process should be the same for all error pages. Post your web.xml and perhaps the page itself, and someone here may have some answers. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com = Best wishes Z C Wang ___ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Urgent Help
sorry i didnt get you... relative to the dir on the same server - Original Message - From: Bedrijven.nl [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:59 PM Subject: RE: Need Urgent Help yes but it;s a relative path..so relative to what?? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:43 AM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: Re: Need Urgent Help yes it the dir (docBase=/home/httpd/vhosts/domainname.com/httpdocs) where i am having my jsp's servlets - Original Message - From: Bedrijven.nl [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:41 PM Subject: RE: Need Urgent Help Is docBase right??? -Oorspronkelijk bericht- Van: Venu [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 10:25 AM Aan: Tomcat Users List Onderwerp: Need Urgent Help Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following Host name=domainname.com debug=0 appBase==/home/httpd/vhosts/domainname.com/httpdocs unpackWARs=true Aliaswww.domainname.com/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=domainname suffix=.log timestamp=true/ Context path= docBase=/home/httpd/vhosts/domainname.com/httpdocs debug=0 reloadable=true/ Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/ /Host but still my jsp's servlets doenst executes at the server side.. Any help is most appreiciated. Best Regard's Venu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ????? +++ problem saving Euro symbol character to database from my JSP form using TC5
What is your database URL? Are you ensuring that a charset is specified on your database connectivity? This charset should be Cp1252 for Windows-1250. Find a row in the database with a euro character and ask yourself how that euro character got there? If it got there using an encoding different from the response encoding then you will get your ?. In order to solve this problem you need to make sure you have test data correctly encoded to match your database encoding. Then work backwards to the UI. Make sure the db URL charset matches the database. Then use a JSP with pageEncoding and charset of utf-8 OR try Cp1252 OR try Windows-1250. I don't think you need to worry about changing your DB encoding .. it seems to me that you either have incorrectly encoded data in the database which is throwing you red herrings when you get the UI encoding right OR your UI is just mal-configured. 1. I have a Windows-1250 oracle database, and I am using TC 5. and jsp/html pages to perform updates/inserts. Despite using iso-8859-15 in my jsp/html, the client is still posting a ? (question mark symbol) instead of a Euro symbol. Anybody know what is happening ? 2. If I do change our product database, from Windows-1250 to UTF-8, how will this affect existing applications I wonder writing to the database using Windows-1250 or iso-8859-1. I guess because utf-8 is backward compatable it should not affect the existing apps. making updates or inserts? Would appreciate any help ! thanks BEn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5 service on windows
Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: ServletContextListener and HttpSessionActivationListener
We can talk opinions all we want -- if it's a grey area in the spec, and your container (Tomcat, in this case) does things a certain way then that's how it goes. But if people would agree with me we could try to get a next spec more specific. That's my intention. Have you at least tried the 5.x series and/or checked Bugzilla? Yes, Tomcat 5.0.24 does the same Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Urgent Help
sorry both the ways i have tried dosent work here my server.xml !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- Comment these entries out to disable JMX MBeans support -- !-- You may also configure custom components (e.g. Valves/Realms) by including your own mbean-descriptor file(s), and setting the descriptors attribute to point to a ';' seperated list of paths (in the ClassLoader sense) of files to add to the default list. e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Tomcat-Standalone !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 4.0 documentation bundle for more detailed instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit for both the certificate and the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on performance, so you can disable it by setting the enableLookups attribute to false. When DNS lookups are disabled, request.getRemoteHost() will return the String version of the IP address of the remote client. -- !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disableUploadTimeout=true / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=false protocol=TLS / /Connector -- !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009
RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
Hello, Thank's to Andy Eastham solution I managed to get Apache to forward *.jsp requests to Tomcat. In adition I also discovered that I had to define localhost(127.0.0.1) in JK2.properties file as without this config Tomcat(JK2) was listening on the wrong IP(0.0.0.0.). Servlets are still not being forwarded - Apache reports - 404 file not found when I click on, for example, - http://localhost/MyServlet. MyServlet exists on my root_path as MyServlet.class . Can anyone tell me how to prevent this error and forward the request to Tomcat5? Warmest Regards Joao Gil Andy Eastham [EMAIL PROTECTED]To: 'Tomcat Users List' [EMAIL PROTECTED] om cc: Subject: RE: Unable to integrate Apache 2.0.24 with Tomcat 5. 02-09-2004 16:41 Please respond to Tomcat Users List Joao, I looked at that url and the way redirections are configured is different to mine. I do NOT have things like Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /mywebapp JkUriSet worker ajp13:localhost:8009 /Location (in fact these look like mod_jk configuration to me) Instead, my workers2.properties is as follows: [logger.apache2] #level=DEBUG [shm] file=/usr/local/apache2/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:192.168.0.103/wisadmin/*] worker=ajp13:localhost:8009 [uri:localhost/wisadmin/*] worker=ajp13:localhost:8009 [uri:wis/wisadmin/] worker=ajp13:localhost:8009 [uri:127.0.0.1/wisadmin/*] worker=ajp13:localhost:8009 Note that the URIs are mapped in this file. Give this a try, Andy -Original Message- From: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 16:25 To: [EMAIL PROTECTED] Subject: Unable to integrate Apache 2.0.24 with Tomcat 5. Greatings, I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success. The best solution I have found on the net is at http://www.dynamicobjects.com/d2r/archives/002574.html After configuring Apache and Tomcat as instructed, both execute with no problem. But Apache is still not forwarding JSP pages/Servlets to Tomcat. Can anyone help me? Warmest Regards Joao Gil - 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: javascript and servlets.
-Original Message- From: Ralph Einfeldt form method=get ... /form the query string can be found in the access log. (This might be turned of) How do I enable it please? From your last post with the source I think that each input tag has it's own form so only one field is submitted. I noted that the jscript adds extra input elements within the form, hence there are many, each with a differing name attribute. All within the same form. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Tomcat upgrading
Hello, I am testing the new Tomcat version. So what dit I do: - Installed Tomcat 5.0.19 (older version was 4.0.25) - copied my webapps to the new installation - restarting tomcat Everything seems to work fine. However when I tried to start my webapplications everything goes fine but Tomcat trowns a ClassNotFound Exception. example: the logonuser.jsp %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD etc. Tomcat throws teh following exception: javax.servlet.jsp.JspException: Exception creating bean of class nl.intervision.formbeans.LogonUserForm: java.lang.ClassNotFoundException: nl.intervision.formbeans.LogonUserForm at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568) at org.apache.jsp.logonuser_jsp._jspService(logonuser_jsp.java:106) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 10) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.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(StandardValveContex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.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(StandardValveContex t.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:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) at java.lang.Thread.run(Thread.java:536) My webapps is structered as follows: C:\tomcat\webapps\template\WEB-INF\classes\nl\intervision\formbeans\LogonUse rForm.java. So why is a class not found exception thrown? I tried so many classpath settings but none of them works! Please help me out!! Tnx in advanced Maarten -Oorspronkelijk bericht- Van: news [mailto:[EMAIL PROTECTED] Vic Verzonden: Friday, September 03, 2004 11:53 AM Aan: [EMAIL PROTECTED] Onderwerp: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:
AW: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
Change settings of your workers file... Maybe tomcat does not use it??? -Ursprüngliche Nachricht- Von: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 3. September 2004 13:18 An: Tomcat Users List Betreff: RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5. Hello, Thank's to Andy Eastham solution I managed to get Apache to forward *.jsp requests to Tomcat. In adition I also discovered that I had to define localhost(127.0.0.1) in JK2.properties file as without this config Tomcat(JK2) was listening on the wrong IP(0.0.0.0.). Servlets are still not being forwarded - Apache reports - 404 file not found when I click on, for example, - http://localhost/MyServlet. MyServlet exists on my root_path as MyServlet.class . Can anyone tell me how to prevent this error and forward the request to Tomcat5? Warmest Regards Joao Gil Andy Eastham [EMAIL PROTECTED]To: 'Tomcat Users List' [EMAIL PROTECTED] om cc: Subject: RE: Unable to integrate Apache 2.0.24 with Tomcat 5. 02-09-2004 16:41 Please respond to Tomcat Users List Joao, I looked at that url and the way redirections are configured is different to mine. I do NOT have things like Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /mywebapp JkUriSet worker ajp13:localhost:8009 /Location (in fact these look like mod_jk configuration to me) Instead, my workers2.properties is as follows: [logger.apache2] #level=DEBUG [shm] file=/usr/local/apache2/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:192.168.0.103/wisadmin/*] worker=ajp13:localhost:8009 [uri:localhost/wisadmin/*] worker=ajp13:localhost:8009 [uri:wis/wisadmin/] worker=ajp13:localhost:8009 [uri:127.0.0.1/wisadmin/*] worker=ajp13:localhost:8009 Note that the URIs are mapped in this file. Give this a try, Andy -Original Message- From: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 16:25 To: [EMAIL PROTECTED] Subject: Unable to integrate Apache 2.0.24 with Tomcat 5. Greatings, I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success. The best solution I have found on the net is at http://www.dynamicobjects.com/d2r/archives/002574.html After configuring Apache and Tomcat as instructed, both execute with no problem. But Apache is still not forwarding JSP pages/Servlets to Tomcat. Can anyone help me? Warmest Regards Joao Gil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need Help
Hello Guru's Im using the my application outside the webapps in server.xml i have confiured the following but still my jsp's servlets doenst executes at the server side.. Here is my Server.xml file. !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- Comment these entries out to disable JMX MBeans support -- !-- You may also configure custom components (e.g. Valves/Realms) by including your own mbean-descriptor file(s), and setting the descriptors attribute to point to a ';' seperated list of paths (in the ClassLoader sense) of files to add to the default list. e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Tomcat-Standalone !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8080. You can also enable an SSL HTTP/1.1 Connector on port 8443 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 4.0 documentation bundle for more detailed instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit for both the certificate and the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on performance, so you can disable it by setting the enableLookups attribute to false. When DNS lookups are disabled, request.getRemoteHost() will return the String version of the IP address of the remote client. -- !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disableUploadTimeout=true / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=false protocol=TLS / /Connector -- !-- Define a
How setup virtual hosting
Ive used a virtual hosting provider which allows apache/tomcat/ssh/etc access to each user. How did they accomplish the fff: 1) allow each users in /home/*username/public_html dir to have their own apache/tomcat daemon, where each user can start stop its own tomcat 2) each user cannot access other users files (e.g /home, or system files) 3) they can allow each users having own domain name redirected to their specific user dir 4) they can allow each user register ssl certifcate and apply to apache? (not sure about this, if this will work on a virtual hosting) Thanks for any help and a howto will be much appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rotation of Catalina.out
I am running Tomcat 5.0.27 on a Debian Unstable system in /usr/local/share/tomcat5. Under this directory is the logs directory and that contains lots of localhost_log.-mm-dd.txt files (one for each day) but only one catalina.out file. In server.xml there are two Logger tags:- !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ and I guess that the latter is responsible for all the daily logs. The former however is obviously not responsible for the catalina.out as the file name is wrong. So I assume that Catalina.out is coming from StandardErrLogger and/or StandardOutLogger. My question is how to get daily files for Catalina.out? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Rotation of Catalina.out
Here is a couple links that should explain the lack of rotation of catalina.out: 1) http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out This one is from the tomcat website and is just the question you are asking. It says that you should not be using stdout (System.out.println) because you should be using a logging package like log4j (good recommendation). 2) http://marc.theaimsgroup.com/?t=10554447261r=1w=2 As reference by the above link, this one is a thread about rotating catalina.out. Hope this helps, Andrew Janian -Original Message- From: David Goodenough [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:49 AM To: [EMAIL PROTECTED] Subject: Rotation of Catalina.out I am running Tomcat 5.0.27 on a Debian Unstable system in /usr/local/share/tomcat5. Under this directory is the logs directory and that contains lots of localhost_log.-mm-dd.txt files (one for each day) but only one catalina.out file. In server.xml there are two Logger tags:- !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ and I guess that the latter is responsible for all the daily logs. The former however is obviously not responsible for the catalina.out as the file name is wrong. So I assume that Catalina.out is coming from StandardErrLogger and/or StandardOutLogger. My question is how to get daily files for Catalina.out? David - 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]
AW: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
Hi Servlets are still not being forwarded - Apache reports - 404 file not found when I click on, for example, - http://localhost/MyServlet. MyServlet exists on my root_path as MyServlet.class . Can anyone tell me how to prevent this error and forward the request to Tomcat5? First, simply copying Java Classes to root_path does not work. Servlets need to be 1. inside WEB-INF 2. NOT packageless 3. mapped in web.xml Try to get tomcat with it's own html-connector to work first. It is much easier than with apache / mod_jk. THEN think about using tomcat without apache. And only LAST, put mod_jk inbetween. In that case, think about updateing your fairly old version of Apache2. 2.0.50 is current stable. 2.0.24 is old and has much more bugs. There should be no problems, since the apache2 api is stable since 2.0.22. Regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5 using jsvc in a chroot jail
That, and dump strace's output to a file so you can grep for other occurences of .hotspot_compiler... Maybe it's failing to create a file somewhere. This file is not referenced anywhere else in the strace. It seems to me that the .hotspot_compiler is referencing to javac, try (and i'm just guessing here) to symlink javac to that file in the JAVA_HOME dir just to test How did you copy/install the JDK? I did a recursive cp of all files. This could be the issue the JDK not necesarilly copies its file in just one dir -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
service tomcat does not support chkconfig
I downloaded the tomcat-5.0.27 and it can start fine with startup.sh. When I tried to put tomcat.sh to /etc/init.d to add it as a service to start up at boot time in my RHE3, It tells me service tomcat does not support chkconfig. What could be the problem? Thank you very much for your help. Cynthia
RE: service tomcat does not support chkconfig
I'm using RHE2, and Tomcat 4, so not totally your situation but I was able to create and add the startup script to chkconfig without issue. Could it be your script? From: Qi, Xlaoyan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: service tomcat does not support chkconfig Date: Fri, 3 Sep 2004 09:02:21 -0400 I downloaded the tomcat-5.0.27 and it can start fine with startup.sh. When I tried to put tomcat.sh to /etc/init.d to add it as a service to start up at boot time in my RHE3, It tells me service tomcat does not support chkconfig. What could be the problem? Thank you very much for your help. Cynthia _ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with Tomcat upgrading
Hi, Import your classes if you're not doing so already. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:27 AM To: 'Tomcat Users List' Subject: Problem with Tomcat upgrading Hello, I am testing the new Tomcat version. So what dit I do: - Installed Tomcat 5.0.19 (older version was 4.0.25) - copied my webapps to the new installation - restarting tomcat Everything seems to work fine. However when I tried to start my webapplications everything goes fine but Tomcat trowns a ClassNotFound Exception. example: the logonuser.jsp %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD etc. Tomcat throws teh following exception: javax.servlet.jsp.JspException: Exception creating bean of class nl.intervision.formbeans.LogonUserForm: java.lang.ClassNotFoundException: nl.intervision.formbeans.LogonUserForm at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568) at org.apache.jsp.logonuser_jsp._jspService(logonuser_jsp.java:106) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: 2 10) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte x t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo ntex t Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte x t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:13 7 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte x t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:11 7 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte x t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte x t.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:7 93) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Conn e ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5 71) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo l.ja v a:644) at java.lang.Thread.run(Thread.java:536) My webapps is structered as follows: C:\tomcat\webapps\template\WEB- INF\classes\nl\intervision\formbeans\LogonUse rForm.java. So why is a class not found exception thrown? I tried so many classpath settings but none of them works! Please help me out!! Tnx in advanced Maarten -Oorspronkelijk bericht- Van: news [mailto:[EMAIL PROTECTED] Vic Verzonden: Friday, September 03, 2004 11:53 AM Aan: [EMAIL PROTECTED] Onderwerp: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going
Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
1-Sep-2004 1:46:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 These two lines say that the JK2 connector has started normally it seems to me that the problem isn't on the java side ld.so.1: /usr/java/bin/java: fatal: relocation error: file /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3: referenced symbol not found Here's the problem. first things first. find what libraries do uses libapr, then try to see if all the files are in your path, use the which command, or was it whereis? :-S This causes tomcat not to start, I don't really know what to do about this. I read some forum posted message about the symbol __divdi3: referenced symbol not found and they said this is because of some glibc 2.0 stuff, but didn't find any solution to this certainly, Solaris is a real pain with the glibc issue try to compile apache from source in that box -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
Hi, 5.5 releases are on the normal download pages, right above 5.0 releases. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Sent: Friday, September 03, 2004 6:53 AM To: [EMAIL PROTECTED] Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: service tomcat does not support chkconfig
check this out, down near the bottom. http://www.tldp.org/HOWTO/MMBase-Inst-HOWTO/x184.html From: Didier McGillis [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: service tomcat does not support chkconfig Date: Fri, 03 Sep 2004 13:08:58 + I'm using RHE2, and Tomcat 4, so not totally your situation but I was able to create and add the startup script to chkconfig without issue. Could it be your script? From: Qi, Xlaoyan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: service tomcat does not support chkconfig Date: Fri, 3 Sep 2004 09:02:21 -0400 I downloaded the tomcat-5.0.27 and it can start fine with startup.sh. When I tried to put tomcat.sh to /etc/init.d to add it as a service to start up at boot time in my RHE3, It tells me service tomcat does not support chkconfig. What could be the problem? Thank you very much for your help. Cynthia _ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ServletContextListener and HttpSessionActivationListener
Hi, I think this was clarified in Spec v2.4 to match Michael's opinion, and there's an open issue for Tomcat 5 for this already. Yoav Shapira Millennium Research Informatics -Original Message- From: Michael Sudkamp [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:07 AM To: 'Tomcat Users List' Subject: AW: ServletContextListener and HttpSessionActivationListener We can talk opinions all we want -- if it's a grey area in the spec, and your container (Tomcat, in this case) does things a certain way then that's how it goes. But if people would agree with me we could try to get a next spec more specific. That's my intention. Have you at least tried the 5.x series and/or checked Bugzilla? Yes, Tomcat 5.0.24 does the same Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TC-5.0.27 and eclipse Java Compiler
Hi, TC 5.5 not only can but does use the Eclipse JDT compiler by default. It's not a trivial back-port to the 5.0 branch, but it's of course possible, and you don't even have to mess with that many classes. But you would need to write some code and build your own custom tomcat version. You'd need to modify org.apache.jasper.compiler.Compiler to use JDT instead of Ant. Take a look at that class' code. Yoav Shapira Millennium Research Informatics -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 5:00 AM To: Tomcat Users List Subject: TC-5.0.27 and eclipse Java Compiler Hi, I have read that TC-5.5 can use the eclipse Java Compiler. Can I use this compiler also with TC-5.0.27? If yes, how? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: javascript and servlets.
-Original Message- From: Ralph Einfeldt If you have file0 through filen this should work: request.getParameter(file0); .. request.getParameter(filen); if file1 through filen are null against your expectations, I would say something is wrong on the client side. And so it was Ralph. No idea what, but I'm now iterating through the attribute values happily... except, Theinput type=file id=file0 name=file0 I enter a full path, e.g. c:\dir\dir\file.ext and the retrieved value is file.ext. I'm still missing a bit, but so far so good! Tks for the tips. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: javascript and servlets.
A better approach would be to name all the fields file instead of fileX and then us the getParameterValues to get the enumeration of values taken from the fields named file very simple and elegant not for (int loop just a plain old while (enum.hasMoreElements()){ enum.nextElement().} if your javascrip relies on the field names, you can use the fields ID instead, because field ID isn't passed as parameter name [EMAIL PROTECTED] escribi: I have a form with multiple input name=file0 elements. The names are generated and range file0..n I'm trying (and failing) to retrieve the value of the input fields. String f =; f = request.getParameter(file0); works fine; The remainder appear inaccessible. In the docs ...webapps/tomcat-docs/servletapi/index.html I'm warned: You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String). However, since each entry within the form has a variant name value, what parameter should I pass to the getParameterValues method to retrieve the multiple values? tc 5.0.27 in use. Regards DaveP. snip here * -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: javascript and servlets.
If your fields are all file uploads, then you probably can't get them through the regular HttpServletRequest.getParameter(). I'm curious though, what do you get from the first element (file0). Is it the file contents? What you need to do is submit the form as multipart form, and process posted boundaries. This article has everything that you'll need: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters-p4.html Don't forget to modify your form like this: form method=post action=/repository/getit name=form enctype=multipart/form-data On Fri, 3 Sep 2004 12:21:52 +0100 , [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Original Message- From: Ralph Einfeldt form method=get ... /form the query string can be found in the access log. (This might be turned of) How do I enable it please? From your last post with the source I think that each input tag has it's own form so only one field is submitted. I noted that the jscript adds extra input elements within the form, hence there are many, each with a differing name attribute. All within the same form. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - 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: javascript and servlets.
i've just realised that you want to use input type=FILE. so you have to post FORM ACTION=... ENCTYPE=multipart/form-data METHOD=POST form -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoy : vendredi 3 septembre 2004 15:15 : [EMAIL PROTECTED] Objet : RE: javascript and servlets. -Original Message- From: Ralph Einfeldt If you have file0 through filen this should work: request.getParameter(file0); .. request.getParameter(filen); if file1 through filen are null against your expectations, I would say something is wrong on the client side. And so it was Ralph. No idea what, but I'm now iterating through the attribute values happily... except, Theinput type=file id=file0 name=file0 I enter a full path, e.g. c:\dir\dir\file.ext and the retrieved value is file.ext. I'm still missing a bit, but so far so good! Tks for the tips. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 service on windows
Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: service tomcat does not support chkconfig
I have trouble to add tomcat(tomcat-5.0.27) as a service in my RHE3. Script is like this: #!/bin/sh ## # # Copyright 2004 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an AS IS BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## # # Small shell script to show how to start/stop Tomcat using jsvc # If you want to have Tomcat running on port 80 please modify the server.xml # file: # #!-- Define a non-SSL HTTP/1.1 Connector on port 80 -- #Connector className=org.apache.catalina.connector.http.HttpConnector # port=80 minProcessors=5 maxProcessors=75 # enableLookups=true redirectPort=8443 # acceptCount=10 debug=0 connectionTimeout=6/ # # That is for Tomcat-5.0.x (Apache Tomcat/5.0) # # Adapt the following lines to your configuration JAVA_HOME=/usr/java/j2sdk1.4.2_05 CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.27/build DAEMON_HOME=/usr/local/jakarta-tomcat-5.0.27/bin TOMCAT_USER=jakarta TMP_DIR=/var/tmp CATALINA_OPTS= CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar case $1 in start) # # Start Tomcat # $DAEMON_HOME/jsvc-src/native/unix/jsvc \ -user $TOMCAT_USER \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap # # To get a verbose JVM #-verbose \ # To get a debug of jsvc. #-debug \ ;; stop) # # Stop Tomcat # PID=`cat /var/run/jsvc.pid` kill $PID ;; *) echo Usage tomcat.sh start/stop exit 1;; esac -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:09 AM To: [EMAIL PROTECTED] Subject: RE: service tomcat does not support chkconfig I'm using RHE2, and Tomcat 4, so not totally your situation but I was able to create and add the startup script to chkconfig without issue. Could it be your script? From: Qi, Xlaoyan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: service tomcat does not support chkconfig Date: Fri, 3 Sep 2004 09:02:21 -0400 I downloaded the tomcat-5.0.27 and it can start fine with startup.sh. When I tried to put tomcat.sh to /etc/init.d to add it as a service to start up at boot time in my RHE3, It tells me service tomcat does not support chkconfig. What could be the problem? Thank you very much for your help. Cynthia _ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU =http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN(r) Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with Tomcat upgrading
Hello, I tried this see below. But same the same error that the Class is not Found. For my imagination: is't possible to install the new Tomcat 5.0.25 version and then copy a webapplication (in my case is called template) in the webapps director..stop/start services and it should work. Isn't it?? Or do I need to do something more?? I tried this...import the LogonUserForm ___ %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ page import=nl.intervision.formbeans.LogonUserForm % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD My LogonUserForm ___ package nl.intervision.formbeans; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import nl.intervision.util.*; public final class LogonUserForm extends ActionForm { private String username = null; private String password = null; public String getUsername() { return (this.username); } public void setUsername(String username) { this.username = username; } public String getPassword() { return (this.password); } public void setPassword(String password) { this.password = password; } public void reset(ActionMapping mapping, HttpServletRequest request) { this.username = null; this.password = null; } /** * Validate the properties that have been set from this HTTP request, * and return an codeActionErrors/code object that encapsulates any * validation errors that have been found. If no errors are found, return * codenull/code or an codeActionErrors/code object with no * recorded error messages. * * @param mapping The mapping used to select this instance * @param request The servlet request we are processing */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (!CheckInput.checkTextLength(username, 1, 50)) { errors.add(username, new ActionError(error.username.required)); errors.add(usernamewrong, new ActionError(error.usernamewrong.display)); } if (!CheckInput.checkTextLength(password, 1, 50)) { errors.add(password, new ActionError(error.password.required)); errors.add(passwordwrong, new ActionError(error.passwordwrong.display)); } if (errors.size() 0) { errors.add(textheader, new ActionError(error.textheader.display)); } return errors; } } ___ -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:11 PM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: RE: Problem with Tomcat upgrading Hi, Import your classes if you're not doing so already. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:27 AM To: 'Tomcat Users List' Subject: Problem with Tomcat upgrading Hello, I am testing the new Tomcat version. So what dit I do: - Installed Tomcat 5.0.19 (older version was 4.0.25) - copied my webapps to the new installation - restarting tomcat Everything seems to work fine. However when I tried to start my webapplications everything goes fine but Tomcat trowns a ClassNotFound Exception. example: the logonuser.jsp %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD etc. Tomcat throws teh following exception: javax.servlet.jsp.JspException: Exception creating bean of class nl.intervision.formbeans.LogonUserForm: java.lang.ClassNotFoundException: nl.intervision.formbeans.LogonUserForm at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568) at org.apache.jsp.logonuser_jsp._jspService(logonuser_jsp.java:106) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at
RE: Problem with Tomcat upgrading
Hi, It's possible to copy over webapps that adhere strictly to the Servlet Specification and general Java guidelines, which include importing all used classes. It seems like you're doing that and still getting a CNFE, and I'm not sure why you're getting the error. Are there other errors, e.g. during server startup, that might be affecting your webapp? Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:30 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hello, I tried this see below. But same the same error that the Class is not Found. For my imagination: is't possible to install the new Tomcat 5.0.25 version and then copy a webapplication (in my case is called template) in the webapps director..stop/start services and it should work. Isn't it?? Or do I need to do something more?? I tried this...import the LogonUserForm ___ %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ page import=nl.intervision.formbeans.LogonUserForm % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD My LogonUserForm ___ package nl.intervision.formbeans; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import nl.intervision.util.*; public final class LogonUserForm extends ActionForm { private String username = null; private String password = null; public String getUsername() { return (this.username); } public void setUsername(String username) { this.username = username; } public String getPassword() { return (this.password); } public void setPassword(String password) { this.password = password; } public void reset(ActionMapping mapping, HttpServletRequest request) { this.username = null; this.password = null; } /** * Validate the properties that have been set from this HTTP request, * and return an codeActionErrors/code object that encapsulates any * validation errors that have been found. If no errors are found, return * codenull/code or an codeActionErrors/code object with no * recorded error messages. * * @param mapping The mapping used to select this instance * @param request The servlet request we are processing */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (!CheckInput.checkTextLength(username, 1, 50)) { errors.add(username, new ActionError(error.username.required)); errors.add(usernamewrong, new ActionError(error.usernamewrong.display)); } if (!CheckInput.checkTextLength(password, 1, 50)) { errors.add(password, new ActionError(error.password.required)); errors.add(passwordwrong, new ActionError(error.passwordwrong.display)); } if (errors.size() 0) { errors.add(textheader, new ActionError(error.textheader.display)); } return errors; } } ___ -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:11 PM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: RE: Problem with Tomcat upgrading Hi, Import your classes if you're not doing so already. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:27 AM To: 'Tomcat Users List' Subject: Problem with Tomcat upgrading Hello, I am testing the new Tomcat version. So what dit I do: - Installed Tomcat 5.0.19 (older version was 4.0.25) - copied my webapps to the new installation - restarting tomcat Everything seems to work fine. However when I tried to start my webapplications everything goes fine but Tomcat trowns a ClassNotFound Exception. example: the logonuser.jsp %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ include
RE: javascript and servlets.
-Original Message- From: Marot Laurent i've just realised that you want to use input type=FILE. so you have to post FORM ACTION=... ENCTYPE=multipart/form-data METHOD=POST form That I didn't know. Thanks Laurent. Mike/John, I am now getting them via the request.getparameter() call, Just that I had a problem on the client end. f = request.getParameter(file0); while (f != null){ out.println(pfile : + f ); out.println(/p); // fn[numFiles]=f; numFiles++; f = request.getParameter(file+Integer.toString(numFiles)); System.err.println(Seeking + file+Integer.toString(numFiles)); } Is working well.. except for the path being curtailed, just returning the filename+ext. regards DaveP ** snip here ** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.
Joao, The way I do this is to forward all of a subdirectories requests to a webapp on tomcat, and then I give my servlets an arbitrary extension (I use .isa for irrelevant reasons). For example, in workers2.properties, I forward everything to the apache url /control to tomcat: [uri:localhost/control/*] worker=ajp13:localhost:8009 [uri:wwws/control/] worker=ajp13:localhost:8009 [uri:127.0.0.1/control/*] worker=ajp13:localhost:8009 Then in tomcats server.xml: Host name=xxx.xx.xxx.xx.xx debug=0 appBase=webapps unpackWARs=true autoDeploy=true Aliaswww.xxx.com/Alias Alias192.168.0.102/Alias Aliaslocalhost/Alias Aliaswwws/Alias Alias127.0.0.1/Alias Context path=control docBase= debug=1/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=home_access_log. suffix=.txt pattern=common resolveHosts=false/ /Host Note the context path for control, and the aliases for different urls your server may be called by. Then in the web.xml for the control webapp (under WEB-INF directory): servlet servlet-name myServlet /servlet-name servlet-class com..servlet.myServlet /servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-name myServlet /servlet-name url-pattern *.isa /url-pattern /servlet-mapping This maps any requests to anything.isa to my servlet. If you don't want to use the extension method, you can use the invoker servlet supplied with Tomcat. This method requires that you redirect a subdirectory, not all apache requests. I don't know if you can redirect all apache requests, but that would lose some of the benefits of using apache with tomcat, eg serving images and other static content directly from apache. Hope this helps, Andy -Original Message- From: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 12:18 To: Tomcat Users List Subject: RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5. Hello, Thank's to Andy Eastham solution I managed to get Apache to forward *.jsp requests to Tomcat. In adition I also discovered that I had to define localhost(127.0.0.1) in JK2.properties file as without this config Tomcat(JK2) was listening on the wrong IP(0.0.0.0.). Servlets are still not being forwarded - Apache reports - 404 file not found when I click on, for example, - http://localhost/MyServlet. MyServlet exists on my root_path as MyServlet.class . Can anyone tell me how to prevent this error and forward the request to Tomcat5? Warmest Regards Joao Gil Andy Eastham [EMAIL PROTECTED]To: 'Tomcat Users List' [EMAIL PROTECTED] om cc: Subject: RE: Unable to integrate Apache 2.0.24 with Tomcat 5. 02-09-2004 16:41 Please respond to Tomcat Users List Joao, I looked at that url and the way redirections are configured is different to mine. I do NOT have things like Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /mywebapp JkUriSet worker ajp13:localhost:8009 /Location (in fact these look like mod_jk configuration to me) Instead, my workers2.properties is as follows: [logger.apache2] #level=DEBUG [shm] file=/usr/local/apache2/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri mapping [uri:192.168.0.103/wisadmin/*] worker=ajp13:localhost:8009 [uri:localhost/wisadmin/*] worker=ajp13:localhost:8009 [uri:wis/wisadmin/] worker=ajp13:localhost:8009 [uri:127.0.0.1/wisadmin/*] worker=ajp13:localhost:8009 Note that the URIs are mapped in this file. Give this a try, Andy -Original Message- From: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 16:25 To: [EMAIL PROTECTED] Subject: Unable to integrate Apache 2.0.24 with Tomcat 5. Greatings, I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success. The best solution I have found on the net is at http://www.dynamicobjects.com/d2r/archives/002574.html After configuring Apache and Tomcat as instructed, both execute with no problem. But Apache is still not forwarding JSP pages/Servlets to Tomcat. Can anyone help me? Warmest Regards Joao Gil
Re: Rotation of Catalina.out
Well actually I am using Log4j (under the covers) I think. I am using the log JSP tags, and they have log4j as a pre-req. But obviously somehow the default config for log4j is writing to stdout rather than a log file. The default log4j.properties file that ships with the log tags is:- # Sample properties to initialise log4j #log4j.rootCategory=debug, stdout, R log4j.rootCategory=debug, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output the caller's file name and line number. log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=logtags.log log4j.appender.R.MaxFileSize=100KB # Keep one backup file log4j.appender.R.MaxBackupIndex=2 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Obviously I need to modify this to get it to put the output somewhere else and to rotate it. But reading the log4j manual on the apache site I am not sure I know what I need to modify. TIA David On Friday 03 September 2004 13:55, Andrew Janian wrote: Here is a couple links that should explain the lack of rotation of catalina.out: 1) http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out This one is from the tomcat website and is just the question you are asking. It says that you should not be using stdout (System.out.println) because you should be using a logging package like log4j (good recommendation). 2) http://marc.theaimsgroup.com/?t=10554447261r=1w=2 As reference by the above link, this one is a thread about rotating catalina.out. Hope this helps, Andrew Janian -Original Message- From: David Goodenough [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:49 AM To: [EMAIL PROTECTED] Subject: Rotation of Catalina.out I am running Tomcat 5.0.27 on a Debian Unstable system in /usr/local/share/tomcat5. Under this directory is the logs directory and that contains lots of localhost_log.-mm-dd.txt files (one for each day) but only one catalina.out file. In server.xml there are two Logger tags:- !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ and I guess that the latter is responsible for all the daily logs. The former however is obviously not responsible for the catalina.out as the file name is wrong. So I assume that Catalina.out is coming from StandardErrLogger and/or StandardOutLogger. My question is how to get daily files for Catalina.out? David - 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: Rotation of Catalina.out
If you remove the stdout references then the output will only go to your file. See below: # Sample properties to initialise log4j #log4j.rootCategory=debug, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=logtags.log log4j.appender.R.MaxFileSize=100KB # Keep one backup file -- really keeping 2, you know that right? log4j.appender.R.MaxBackupIndex=2 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Hope that helps, Andrew -Original Message- From: David Goodenough [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:47 AM To: Tomcat Users List Subject: Re: Rotation of Catalina.out Well actually I am using Log4j (under the covers) I think. I am using the log JSP tags, and they have log4j as a pre-req. But obviously somehow the default config for log4j is writing to stdout rather than a log file. The default log4j.properties file that ships with the log tags is:- # Sample properties to initialise log4j #log4j.rootCategory=debug, stdout, R log4j.rootCategory=debug, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output the caller's file name and line number. log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=logtags.log log4j.appender.R.MaxFileSize=100KB # Keep one backup file log4j.appender.R.MaxBackupIndex=2 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Obviously I need to modify this to get it to put the output somewhere else and to rotate it. But reading the log4j manual on the apache site I am not sure I know what I need to modify. TIA David On Friday 03 September 2004 13:55, Andrew Janian wrote: Here is a couple links that should explain the lack of rotation of catalina.out: 1) http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out This one is from the tomcat website and is just the question you are asking. It says that you should not be using stdout (System.out.println) because you should be using a logging package like log4j (good recommendation). 2) http://marc.theaimsgroup.com/?t=10554447261r=1w=2 As reference by the above link, this one is a thread about rotating catalina.out. Hope this helps, Andrew Janian -Original Message- From: David Goodenough [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:49 AM To: [EMAIL PROTECTED] Subject: Rotation of Catalina.out I am running Tomcat 5.0.27 on a Debian Unstable system in /usr/local/share/tomcat5. Under this directory is the logs directory and that contains lots of localhost_log.-mm-dd.txt files (one for each day) but only one catalina.out file. In server.xml there are two Logger tags:- !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ and I guess that the latter is responsible for all the daily logs. The former however is obviously not responsible for the catalina.out as the file name is wrong. So I assume that Catalina.out is coming from StandardErrLogger and/or StandardOutLogger. My question is how to get daily files for Catalina.out? David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with Tomcat upgrading
Hi, No not that I can see in the log. What I know is that ven not all the examples work as well. Some does other not. ITs seems that Tomcat can interpretet my classes. My structure is at follows: WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class. Pff I really flipping.. -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:37 PM Aan: Tomcat Users List Onderwerp: RE: Problem with Tomcat upgrading Hi, It's possible to copy over webapps that adhere strictly to the Servlet Specification and general Java guidelines, which include importing all used classes. It seems like you're doing that and still getting a CNFE, and I'm not sure why you're getting the error. Are there other errors, e.g. during server startup, that might be affecting your webapp? Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:30 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hello, I tried this see below. But same the same error that the Class is not Found. For my imagination: is't possible to install the new Tomcat 5.0.25 version and then copy a webapplication (in my case is called template) in the webapps director..stop/start services and it should work. Isn't it?? Or do I need to do something more?? I tried this...import the LogonUserForm ___ %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ page import=nl.intervision.formbeans.LogonUserForm % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD My LogonUserForm ___ package nl.intervision.formbeans; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import nl.intervision.util.*; public final class LogonUserForm extends ActionForm { private String username = null; private String password = null; public String getUsername() { return (this.username); } public void setUsername(String username) { this.username = username; } public String getPassword() { return (this.password); } public void setPassword(String password) { this.password = password; } public void reset(ActionMapping mapping, HttpServletRequest request) { this.username = null; this.password = null; } /** * Validate the properties that have been set from this HTTP request, * and return an codeActionErrors/code object that encapsulates any * validation errors that have been found. If no errors are found, return * codenull/code or an codeActionErrors/code object with no * recorded error messages. * * @param mapping The mapping used to select this instance * @param request The servlet request we are processing */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (!CheckInput.checkTextLength(username, 1, 50)) { errors.add(username, new ActionError(error.username.required)); errors.add(usernamewrong, new ActionError(error.usernamewrong.display)); } if (!CheckInput.checkTextLength(password, 1, 50)) { errors.add(password, new ActionError(error.password.required)); errors.add(passwordwrong, new ActionError(error.passwordwrong.display)); } if (errors.size() 0) { errors.add(textheader, new ActionError(error.textheader.display)); } return errors; } } ___ -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:11 PM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: RE: Problem with Tomcat upgrading Hi, Import your classes if you're not doing so already. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:27 AM To: 'Tomcat Users List' Subject: Problem with Tomcat upgrading Hello, I am testing the new Tomcat version. So what dit I do: - Installed Tomcat 5.0.19 (older
RE: Problem with Tomcat upgrading
Hi, Make sure you do a clean installation of Tomcat to a new directory: don't override the old $CATALINA_HOME. If you do the latter you might end up with some old jars and config files loaded. The fact the examples don't run suggest a screwy Tomcat installation. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:54 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hi, No not that I can see in the log. What I know is that ven not all the examples work as well. Some does other not. ITs seems that Tomcat can interpretet my classes. My structure is at follows: WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class. Pff I really flipping.. -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:37 PM Aan: Tomcat Users List Onderwerp: RE: Problem with Tomcat upgrading Hi, It's possible to copy over webapps that adhere strictly to the Servlet Specification and general Java guidelines, which include importing all used classes. It seems like you're doing that and still getting a CNFE, and I'm not sure why you're getting the error. Are there other errors, e.g. during server startup, that might be affecting your webapp? Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:30 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hello, I tried this see below. But same the same error that the Class is not Found. For my imagination: is't possible to install the new Tomcat 5.0.25 version and then copy a webapplication (in my case is called template) in the webapps director..stop/start services and it should work. Isn't it?? Or do I need to do something more?? I tried this...import the LogonUserForm __ _ %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ page import=nl.intervision.formbeans.LogonUserForm % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD My LogonUserForm __ _ package nl.intervision.formbeans; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import nl.intervision.util.*; public final class LogonUserForm extends ActionForm { private String username = null; private String password = null; public String getUsername() { return (this.username); } public void setUsername(String username) { this.username = username; } public String getPassword() { return (this.password); } public void setPassword(String password) { this.password = password; } public void reset(ActionMapping mapping, HttpServletRequest request) { this.username = null; this.password = null; } /** * Validate the properties that have been set from this HTTP request, * and return an codeActionErrors/code object that encapsulates any * validation errors that have been found. If no errors are found, return * codenull/code or an codeActionErrors/code object with no * recorded error messages. * * @param mapping The mapping used to select this instance * @param request The servlet request we are processing */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (!CheckInput.checkTextLength(username, 1, 50)) { errors.add(username, new ActionError(error.username.required)); errors.add(usernamewrong, new ActionError(error.usernamewrong.display)); } if (!CheckInput.checkTextLength(password, 1, 50)) { errors.add(password, new ActionError(error.password.required)); errors.add(passwordwrong, new ActionError(error.passwordwrong.display)); } if (errors.size() 0) { errors.add(textheader, new ActionError(error.textheader.display)); } return errors; } } __ _ -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:11 PM
RE: Problem with Tomcat upgrading
Hi, I tried this, but the first example came withe 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: org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/Str ing;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runti me/ProtectedFunctionMapper;Z)Ljava/lang/Object; org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:536) org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithm etic_jsp.java:73) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) root cause java.lang.NoSuchMethodError: org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(Ljava/lang/Str ing;Ljava/lang/Class;Ljavax/servlet/jsp/PageContext;Lorg/apache/jasper/runti me/ProtectedFunctionMapper;Z)Ljava/lang/Object; org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithm etic_jsp.java:44) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs. What;s wrong?? I don't understand it anymore iam hopeless Maarten -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:58 PM Aan: Tomcat Users List Onderwerp: RE: Problem with Tomcat upgrading Hi, Make sure you do a clean installation of Tomcat to a new directory: don't override the old $CATALINA_HOME. If you do the latter you might end up with some old jars and config files loaded. The fact the examples don't run suggest a screwy Tomcat installation. Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:54 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hi, No not that I can see in the log. What I know is that ven not all the examples work as well. Some does other not. ITs seems that Tomcat can interpretet my classes. My structure is at follows: WEB-INF/classes/nl/intervision/formbeans/LogonUserForm.class. Pff I really flipping.. -Oorspronkelijk bericht- Van: Shapira, Yoav [mailto:[EMAIL PROTECTED] Verzonden: Friday, September 03, 2004 2:37 PM Aan: Tomcat Users List Onderwerp: RE: Problem with Tomcat upgrading Hi, It's possible to copy over webapps that adhere strictly to the Servlet Specification and general Java guidelines, which include importing all used classes. It seems like you're doing that and still getting a CNFE, and I'm not sure why you're getting the error. Are there other errors, e.g. during server startup, that might be affecting your webapp? Yoav Shapira Millennium Research Informatics -Original Message- From: Bedrijven.nl [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:30 AM To: 'Tomcat Users List' Subject: RE: Problem with Tomcat upgrading Hello, I tried this see below. But same the same error that the Class is not Found. For my imagination: is't possible to install the new Tomcat 5.0.25 version and then copy a webapplication (in my case is called template) in the webapps director..stop/start services and it should work. Isn't it?? Or do I need to do something more?? I tried this...import the LogonUserForm __ _ %@ page language=java % %@ page errorPage = errorpage.jsp % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %! String title =Inloggen; % %@ page import=nl.intervision.formbeans.LogonUserForm % %@ include file=/includes/prelogintop.jsp % html:form method=POST action=/LogonUser focus=username %@ include file=/includes/top.jsp % HR TRTD My LogonUserForm __ _ package nl.intervision.formbeans; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import nl.intervision.util.*; public final class LogonUserForm extends ActionForm { private String username = null; private String password = null; public String getUsername() { return (this.username); } public void setUsername(String username) { this.username = username; } public String getPassword() { return (this.password); } public void setPassword(String password) {
Re: Problem with Tomcat upgrading
On Fri, Sep 03, 2004 at 03:54:18PM +0200, Bedrijven.nl wrote: : No not that I can see in the log. What I know is that ven not all the : examples work as well. Some does other not. What was your upgrade process? Did you recompile everything against the new JARs, etc? There's a brief list of steps on my website (http://www.brandxdev.net). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Kinda Urgent: Huge Temporary Files (2BG) Fill Up Root Partition (mrfxxxxx.tmp files?)
On Fri, Sep 03, 2004 at 07:19:08AM +0200, Nikola Milutinovic wrote: : Check with the app's developers -- perhaps they're creating temp files : : Could it be a session holding many objects? Or an application scope : holding the same? Doubtful, as (IIRC) all that happens in memory. This sounds like something the app's developers are doing, either directly (their own code) or indirectly (using a third-party toolkit). The .mf extension will likely be your clue. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Help
On Fri, Sep 03, 2004 at 02:16:26PM +0800, Venu wrote: : I am trying to execute my jsp's servlets from my remote server : from /home/httpd/vhosts/domainname.com dir : : It works fine for the Html's but when try to execute my jsp's servlets : it is not able to execute and even doesnt displays an error page just : displays : only the html tags. Check out the Tomcat docs on this one. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Form based authentication - last login
On Fri, Sep 03, 2004 at 10:08:59AM +0200, [EMAIL PROTECTED] wrote: : IMHO the best sollution would be to intercept the authentication process (I'm working with Tomcat 4.x), to smuggle some custom code there that updates the appropriate column in the database. The question is.. how can I do this?? Or maybe someone has a better idea how to do this?? There are several ways to do this, I'm sure. My preferred method: map a Filter to the protected area(s) that checks for the presence of some session object. If the object isn't there, the person has just logged in, so you record the timestamp and store the object. Otherwise, the person's already logged in and the filter can pass the request/response down the chain. The marker object needn't be anything special: a simple Boolean will do, if you don't store any other objects for users who are logged in. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
Hi all... I ran the ldd utility on the jni dynamic library libjkjni.so with the following results: ldd libjkjni.so libcrypt_i.so.1 = /usr/lib/libcrypt_i.so.1 libapr-0.so.0 = /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 libc.so.1 = /usr/lib/libc.so.1 libgen.so.1 = /usr/lib/libgen.so.1 libsendfile.so.1 = /usr/lib/libsendfile.so.1 librt.so.1 =/usr/lib/librt.so.1 libm.so.1 = /usr/lib/libm.so.1 libsocket.so.1 =/usr/lib/libsocket.so.1 libnsl.so.1 = /usr/lib/libnsl.so.1 libresolv.so.2 =/usr/lib/libresolv.so.2 libpthread.so.1 = /usr/lib/libpthread.so.1 libdl.so.1 =/usr/lib/libdl.so.1 libaio.so.1 = /usr/lib/libaio.so.1 libmd5.so.1 = /usr/lib/libmd5.so.1 libmp.so.2 =/usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 libthread.so.1 =/usr/lib/libthread.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1 I notice that the library suposed to have the problem was there /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 so I ran nm utility on it with the following results: nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div [337] | 0| 0|FUNC |GLOB |0|UNDEF |.div [640] | 0| 0|FUNC |GLOB |0|UNDEF |.udiv [909] | 0| 0|NOTY |GLOB |0|UNDEF |__divdi3 [938] | 0| 0|NOTY |GLOB |0|UNDEF |__udivdi3 So it seems that the problem is on the libapr-0.so.0 because there is the variable __divdi3 wich is reporting the relocation error One more thing, the Apache2 and the JK2 connector was configured and make by me on box.. Thanks all... Any comments would be very helpful Regards Jonathan On Fri, 03 Sep 2004 09:13:58 -0400, John Villar [EMAIL PROTECTED] wrote: 1-Sep-2004 1:46:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 These two lines say that the JK2 connector has started normally it seems to me that the problem isn't on the java side ld.so.1: /usr/java/bin/java: fatal: relocation error: file /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3: referenced symbol not found Here's the problem. first things first. find what libraries do uses libapr, then try to see if all the files are in your path, use the which command, or was it whereis? :-S This causes tomcat not to start, I don't really know what to do about this. I read some forum posted message about the symbol __divdi3: referenced symbol not found and they said this is because of some glibc 2.0 stuff, but didn't find any solution to this certainly, Solaris is a real pain with the glibc issue try to compile apache from source in that box -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote: : nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div : [337] | 0| 0|FUNC |GLOB |0|UNDEF |.div : [640] | 0| 0|FUNC |GLOB |0|UNDEF |.udiv : [909] | 0| 0|NOTY |GLOB |0|UNDEF |__divdi3 : [938] | 0| 0|NOTY |GLOB |0|UNDEF |__udivdi3 : : So it seems that the problem is on the libapr-0.so.0 because there : is the variable __divdi3 wich is reporting the relocation error What happens when you run ldd on libapr-0.so.0, and skim those libs for the symbol? Note especially any libs that ldd claims it can't find. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TC 5.5 exceptions on shutdown and restart
Hi Guys, I can create a couple of exceptions with TC 5.5 on shutdown as described below; SCENARIO 1 == 1. I start TC 5.5 using the service with no error messages until it says finally : INFO: Server startup in 8843 ms 2. I wait 1 minute 3. I shutdown the service. The additional logging is; 03-Sep-2004 16:09:31 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 03-Sep-2004 16:09:32 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1636e4e') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@df0438') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@18e261d') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@10efd7c') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@12412e7') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1552b76') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:582) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Caused by: java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:875) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1104) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1076) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1043) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:425) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2001) at org.apache.catalina.startup.Catalina.stop(Catalina.java:594) at org.apache.catalina.startup.Catalina.start(Catalina.java:569) ... 6 more SCENARIO 2 == 1. I start TC 5.5 using the service with no error messages until it says finally : INFO: Server startup in 9890 ms 2. I restart the service and get a bunch of BindExceptions in addition to the same InvocationTargetException as in SCENARIO 1. 03-Sep-2004 16:12:41 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 03-Sep-2004 16:12:42 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@bb494b') 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c8efd1') 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@f892a4') 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES',
RE: TC 5.5 exceptions on shutdown and restart
Hi, The bind exception is not surprising, as the shutdown isn't properly completed and the port is never unbound. Thanks for reporting the other exception though. Please use the full release numbers, e.g. 5.5.0, when reporting issues. Thanks ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 11:15 AM To: [EMAIL PROTECTED] Subject: TC 5.5 exceptions on shutdown and restart Hi Guys, I can create a couple of exceptions with TC 5.5 on shutdown as described below; SCENARIO 1 == 1. I start TC 5.5 using the service with no error messages until it says finally : INFO: Server startup in 8843 ms 2. I wait 1 minute 3. I shutdown the service. The additional logging is; 03-Sep-2004 16:09:31 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 03-Sep-2004 16:09:32 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1636e4e') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@df0438') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@18e261d') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@10efd7c') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@12412e7') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1552b76') 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 03-Sep-2004 16:09:32 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:582) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Caused by: java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:8 75) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:110 4) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1076) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3 12) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo rt.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1043) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:425) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2001) at org.apache.catalina.startup.Catalina.stop(Catalina.java:594) at org.apache.catalina.startup.Catalina.start(Catalina.java:569) ... 6 more SCENARIO 2 == 1. I start TC 5.5 using the service with no error messages until it says finally : INFO: Server startup in 9890 ms 2. I restart the service and get a bunch of BindExceptions in addition to the same InvocationTargetException as in SCENARIO 1. 03-Sep-2004 16:12:41 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 03-Sep-2004 16:12:42 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@bb494b') 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c8efd1') 03-Sep-2004 16:12:42 org.apache.catalina.core.ApplicationContext log INFO: ContextListener:
RE: Tomcat 5 service on windows
I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - 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: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
Hi, thanks for your very important help.. I ran the ldd utility on the libapr-0.so.0 lib, with the following results: /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0 libsendfile.so.1 = /usr/lib/libsendfile.so.1 librt.so.1 =/usr/lib/librt.so.1 libm.so.1 = /usr/lib/libm.so.1 libsocket.so.1 =/usr/lib/libsocket.so.1 libnsl.so.1 = /usr/lib/libnsl.so.1 libresolv.so.2 =/usr/lib/libresolv.so.2 libpthread.so.1 = /usr/lib/libpthread.so.1 libdl.so.1 =/usr/lib/libdl.so.1 libc.so.1 = /usr/lib/libc.so.1 libaio.so.1 = /usr/lib/libaio.so.1 libmd5.so.1 = /usr/lib/libmd5.so.1 libmp.so.2 =/usr/lib/libmp.so.2 libthread.so.1 =/usr/lib/libthread.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1 Then I those libs for the symbol, and don't find it... What does this mean? Thanks .. Jonathan On Fri, 3 Sep 2004 10:01:01 -0500, QM [EMAIL PROTECTED] wrote: On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote: : nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div : [337] | 0| 0|FUNC |GLOB |0|UNDEF |.div : [640] | 0| 0|FUNC |GLOB |0|UNDEF |.udiv : [909] | 0| 0|NOTY |GLOB |0|UNDEF |__divdi3 : [938] | 0| 0|NOTY |GLOB |0|UNDEF |__udivdi3 : : So it seems that the problem is on the libapr-0.so.0 because there : is the variable __divdi3 wich is reporting the relocation error What happens when you run ldd on libapr-0.so.0, and skim those libs for the symbol? Note especially any libs that ldd claims it can't find. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - 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]
admin/manager app
I'm on a WinXP machine and the admin/mananger came to me disabled, I inherited the system. Where would someone have done that, in the server.xml or somewhere else. Using the standalone system. _ MSN® Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: admin/manager app
there's a file named admin.xml on conf/Catalina/localhost (standard configuration)... it has the following in it ?xml version='1.0' encoding='utf-8'? Context displayName=Tomcat Administration Application docBase=../server/webapps/admin path=/admin privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log. suffix=.txt timestamp=true/ /Context i think that should do the trick Didier McGillis escribió: I'm on a WinXP machine and the admin/mananger came to me disabled, I inherited the system. Where would someone have done that, in the server.xml or somewhere else. Using the standalone system. _ MSN® Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
That is 5.5.0. But 5.5.1 has bug fixes, where is that? And where can I get the 5.5.x nighlies? tia, .V Shapira, Yoav wrote: Hi, 5.5 releases are on the normal download pages, right above 5.0 releases. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Sent: Friday, September 03, 2004 6:53 AM To: [EMAIL PROTECTED] Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
RE: admin/manager app
Hi, Actually, he/she is probably just missing the user name and password in conf/tomcat-users.xml. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 12:11 PM To: Tomcat Users List Subject: Re: admin/manager app there's a file named admin.xml on conf/Catalina/localhost (standard configuration)... it has the following in it ?xml version='1.0' encoding='utf-8'? Context displayName=Tomcat Administration Application docBase=../server/webapps/admin path=/admin privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log. suffix=.txt timestamp=true/ /Context i think that should do the trick Didier McGillis escribió: I'm on a WinXP machine and the admin/mananger came to me disabled, I inherited the system. Where would someone have done that, in the server.xml or somewhere else. Using the standalone system. _ MSN® Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en- capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_M SNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
Hi, How many times do I have to post this? ;) 5.5.1 is NOT AVAILABLE YET. It's looking like I'll cut it Tuesday. Nightlies are available at the usual place, http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, but they're use at your own risk of course. Note that the above URL is nicely linked from the normal Jakarta download pages, it's not hard to find ;) Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Sent: Friday, September 03, 2004 12:08 PM To: [EMAIL PROTECTED] Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) That is 5.5.0. But 5.5.1 has bug fixes, where is that? And where can I get the 5.5.x nighlies? tia, .V Shapira, Yoav wrote: Hi, 5.5 releases are on the normal download pages, right above 5.0 releases. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Sent: Friday, September 03, 2004 6:53 AM To: [EMAIL PROTECTED] Subject: Re: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)) Silly me, I can't find where to get the 5.5.1 or the 5.5 nighly's from? They are not here, this looks like the 5.0 brach. http://cvs.apache.org/builds Where can I get the new 5.5s from? Do I have to go to cvs and build? tia, .V Vic wrote: Yes, but where? What URL? (the commons download link I think is for the 5.0 trunk? or is that 5.5?) .V ps: Thax tomcat team on very nice product! Remy Maucherat wrote: On Thu, 02 Sep 2004 11:52:48 -0500, Vic [EMAIL PROTECTED] wrote: Where can we get 5.5.1? Or 5.5 nightlies? Don't worry: since this is heavy development mode, new binaries are going to be released often (unless Yoav doesn't have time to do the releases). -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. -- Please post on Rich Internet Applications User Interface (RiA/SoA) http://www.portalvu.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a
RE: admin/manager app
They have the same exact setup I do in those three files. Yes when they go to the admin section they get prompted for the login for the tomcat administrator, and I get the login for the admin section out our web application ( not tomcat admin ) From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: admin/manager app Date: Fri, 3 Sep 2004 12:15:58 -0400 Hi, Actually, he/she is probably just missing the user name and password in conf/tomcat-users.xml. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 12:11 PM To: Tomcat Users List Subject: Re: admin/manager app there's a file named admin.xml on conf/Catalina/localhost (standard configuration)... it has the following in it ?xml version='1.0' encoding='utf-8'? Context displayName=Tomcat Administration Application docBase=../server/webapps/admin path=/admin privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log. suffix=.txt timestamp=true/ /Context i think that should do the trick Didier McGillis escribió: I'm on a WinXP machine and the admin/mananger came to me disabled, I inherited the system. Where would someone have done that, in the server.xml or somewhere else. Using the standalone system. _ MSN® Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en- capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_M SNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
Yes... //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:20 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For
Re: Fatal: relocation error: file libapr-0.so.0: symbol __divdi3: referenced symbol not found
Hi, all... My problem is definitive related with the libjkjni.so lib, when I add the path of the library to the LD_LIBRARY_PATH I get the error message: ld.so.1: /usr/java/bin/java: fatal: relocation error: file /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0: symbol __divdi3: referenced symbol not found But, when take this path out of the LD_LIBRARY_PATH the error disappears, but also disappears the AF_SOCKET support of the connector, and got this message: INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: no jkjni in java.library.path Because of this error I did put the libjkjni.so lib on the LD_LIBRARY_PATH... Any suggestions?? Regards Jonathan On Fri, 3 Sep 2004 11:50:11 -0400, Jonathan Rengifo [EMAIL PROTECTED] wrote: Hi, thanks for your very important help.. I ran the ldd utility on the libapr-0.so.0 lib, with the following results: /usr/local/apache-httpd-2.0.50/lib ldd libapr-0.so.0 libsendfile.so.1 = /usr/lib/libsendfile.so.1 librt.so.1 =/usr/lib/librt.so.1 libm.so.1 = /usr/lib/libm.so.1 libsocket.so.1 =/usr/lib/libsocket.so.1 libnsl.so.1 = /usr/lib/libnsl.so.1 libresolv.so.2 =/usr/lib/libresolv.so.2 libpthread.so.1 = /usr/lib/libpthread.so.1 libdl.so.1 =/usr/lib/libdl.so.1 libc.so.1 = /usr/lib/libc.so.1 libaio.so.1 = /usr/lib/libaio.so.1 libmd5.so.1 = /usr/lib/libmd5.so.1 libmp.so.2 =/usr/lib/libmp.so.2 libthread.so.1 =/usr/lib/libthread.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1 Then I those libs for the symbol, and don't find it... What does this mean? Thanks .. Jonathan On Fri, 3 Sep 2004 10:01:01 -0500, QM [EMAIL PROTECTED] wrote: On Fri, Sep 03, 2004 at 10:44:13AM -0400, Jonathan Rengifo wrote: : nm /usr/local/apache-httpd-2.0.50/lib/libapr-0.so.0 | grep div : [337] | 0| 0|FUNC |GLOB |0|UNDEF |.div : [640] | 0| 0|FUNC |GLOB |0|UNDEF |.udiv : [909] | 0| 0|NOTY |GLOB |0|UNDEF |__divdi3 : [938] | 0| 0|NOTY |GLOB |0|UNDEF |__udivdi3 : : So it seems that the problem is on the libapr-0.so.0 because there : is the variable __divdi3 wich is reporting the relocation error What happens when you run ldd on libapr-0.so.0, and skim those libs for the symbol? Note especially any libs that ldd claims it can't find. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - 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: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
Shapira, Yoav wrote: Hi, How many times do I have to post this? ;) 5.5.1 is NOT AVAILABLE YET. It's looking like I'll cut it Tuesday. A. OK! Nightlies are available at the usual place, http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, but they're use at your own risk of course. Note that the above URL is nicely linked from the normal Jakarta download pages, it's not hard to find ;) So the niglies are not 5.0 branch, they are 5.5. THNX,sorry to be slow on the uptake. .V Yoav Shapira Millennium Research Informatics -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: repost: Where to get 5.5.1 from? ( Was TC 5.5 - 4 issues (jasper, ROOT, jndi, logging))
Hi, So the niglies are not 5.0 branch, they are 5.5. Yup, nightlies are always built from CVS HEAD, which is the latest 5.5 stuff. If someone wanted to do a latest 5.0 build they'd use the TOMCAT_5_0 CVS branch, not HEAD. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie help w/ORielly examples
Recomiliing didn't help. Has anyone got any ideas? Thanks. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:56 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I've restarted a few times. I'll see if I can recompile these. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:40 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Usually HTTP 500 codes are bugs in the code i really don't know what this debug attribute is used for but you should restart your tomcat to see if it heals. John Najarian escribió: I got in there but now I get this error when I try to access the context '/ora': HTTP Status 500 - Error retrieving attribute debug _ type Status report message Error retrieving attribute debug description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. _ Apache Tomcat/5.0.19 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:25 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Then manually deploy it the admin app has a facility to deploy a context that should do the trick John Najarian escribió: Thanks John, the autodeploy was already set to 'True'. I've got a few apps working this one just doesn't. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 1:44 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples enable autodeploy on the admin app (i.e. localhost:8080/admin). Make sure you have a user configured to access the admin app in your conf/server.xml file John Najarian escribió: I've tried installing the examples from the 'Java Server Pages' book to no avail. I expanded the jspbook3.zip file and copied the 'ora/' directory to the 'tomcat/webapps' directory. I restarted the tomcat service. When I try to access the apps by typing 'http://localhost:8080/ora/' into a browser I get the following displayed in the browser. HTTP Status 404 - /ora/ type Status report message /ora/ description The requested resource (/ora/) is not available. Apache Tomcat/5.0.19 Any ideas? This is running on an XP machine. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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: Newbie help w/ORielly examples
Hi, It's not accurate to say that 500-class HTTP responses are usually application code bugs. Server misconfiguration is at least as common a cause for these responses. The stack trace and error information posted by the OP is insufficient to determine the cause of the error. To the OP: do the Tomcat examples run? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:20 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples Recomiliing didn't help. Has anyone got any ideas? Thanks. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:56 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I've restarted a few times. I'll see if I can recompile these. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:40 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Usually HTTP 500 codes are bugs in the code i really don't know what this debug attribute is used for but you should restart your tomcat to see if it heals. John Najarian escribió: I got in there but now I get this error when I try to access the context '/ora': HTTP Status 500 - Error retrieving attribute debug _ type Status report message Error retrieving attribute debug description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. _ Apache Tomcat/5.0.19 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:25 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Then manually deploy it the admin app has a facility to deploy a context that should do the trick John Najarian escribió: Thanks John, the autodeploy was already set to 'True'. I've got a few apps working this one just doesn't. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 1:44 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples enable autodeploy on the admin app (i.e. localhost:8080/admin). Make sure you have a user configured to access the admin app in your conf/server.xml file John Najarian escribió: I've tried installing the examples from the 'Java Server Pages' book to no avail. I expanded the jspbook3.zip file and copied the 'ora/' directory to the 'tomcat/webapps' directory. I restarted the tomcat service. When I try to access the apps by typing 'http://localhost:8080/ora/' into a browser I get the following displayed in the browser. HTTP Status 404 - /ora/ type Status report message /ora/ description The requested resource (/ora/) is not available. Apache Tomcat/5.0.19 Any ideas? This is running on an XP machine. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie help w/ORielly examples
I don't know if the Tomcat examples run. That's what I'm trying. Other JPSs Servelts do run on this tomcat installation. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:25 AM To: Tomcat Users List Subject: RE: Newbie help w/ORielly examples Hi, It's not accurate to say that 500-class HTTP responses are usually application code bugs. Server misconfiguration is at least as common a cause for these responses. The stack trace and error information posted by the OP is insufficient to determine the cause of the error. To the OP: do the Tomcat examples run? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:20 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples Recomiliing didn't help. Has anyone got any ideas? Thanks. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:56 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I've restarted a few times. I'll see if I can recompile these. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:40 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Usually HTTP 500 codes are bugs in the code i really don't know what this debug attribute is used for but you should restart your tomcat to see if it heals. John Najarian escribió: I got in there but now I get this error when I try to access the context '/ora': HTTP Status 500 - Error retrieving attribute debug _ type Status report message Error retrieving attribute debug description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. _ Apache Tomcat/5.0.19 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:25 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Then manually deploy it the admin app has a facility to deploy a context that should do the trick John Najarian escribió: Thanks John, the autodeploy was already set to 'True'. I've got a few apps working this one just doesn't. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 1:44 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples enable autodeploy on the admin app (i.e. localhost:8080/admin). Make sure you have a user configured to access the admin app in your conf/server.xml file John Najarian escribió: I've tried installing the examples from the 'Java Server Pages' book to no avail. I expanded the jspbook3.zip file and copied the 'ora/' directory to the 'tomcat/webapps' directory. I restarted the tomcat service. When I try to access the apps by typing 'http://localhost:8080/ora/' into a browser I get the following displayed in the browser. HTTP Status 404 - /ora/ type Status report message /ora/ description The requested resource (/ora/) is not available. Apache Tomcat/5.0.19 Any ideas? This is running on an XP machine. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Newbie help w/ORielly examples
Hi, Are you trying the Tomcat examples or the O'Reilly ones? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:55 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I don't know if the Tomcat examples run. That's what I'm trying. Other JPSs Servelts do run on this tomcat installation. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:25 AM To: Tomcat Users List Subject: RE: Newbie help w/ORielly examples Hi, It's not accurate to say that 500-class HTTP responses are usually application code bugs. Server misconfiguration is at least as common a cause for these responses. The stack trace and error information posted by the OP is insufficient to determine the cause of the error. To the OP: do the Tomcat examples run? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:20 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples Recomiliing didn't help. Has anyone got any ideas? Thanks. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:56 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I've restarted a few times. I'll see if I can recompile these. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:40 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Usually HTTP 500 codes are bugs in the code i really don't know what this debug attribute is used for but you should restart your tomcat to see if it heals. John Najarian escribió: I got in there but now I get this error when I try to access the context '/ora': HTTP Status 500 - Error retrieving attribute debug _ type Status report message Error retrieving attribute debug description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. _ Apache Tomcat/5.0.19 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:25 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Then manually deploy it the admin app has a facility to deploy a context that should do the trick John Najarian escribió: Thanks John, the autodeploy was already set to 'True'. I've got a few apps working this one just doesn't. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 1:44 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples enable autodeploy on the admin app (i.e. localhost:8080/admin). Make sure you have a user configured to access the admin app in your conf/server.xml file John Najarian escribió: I've tried installing the examples from the 'Java Server Pages' book to no avail. I expanded the jspbook3.zip file and copied the 'ora/' directory to the 'tomcat/webapps' directory. I restarted the tomcat service. When I try to access the apps by typing 'http://localhost:8080/ora/' into a browser I get the following displayed in the browser. HTTP Status 404 - /ora/ type Status report message /ora/ description The requested resource (/ora/) is not available. Apache Tomcat/5.0.19 Any ideas? This is running on an XP machine. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
How do I programmatically find the DocBase of my webapp?
Hello all, Quick question here (I hope). Inside of my web application, I want to find the full, absolute file path to this application's doc base. How do I do this? Basically, I want to ensure that files X, Y and Z exist before my application starts to respond to requests. JDG -- Jay Glanville Software Engineer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie help w/ORielly examples
FWIW, the O'Reilly examples work just fine on my TC 5.0.27 site with no tweaking of any kind. Did you if you followed the installation instructions to be sure the whole directory tree was copied into the webapps directory? Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 12:57 To: Tomcat Users List Subject: RE: Newbie help w/ORielly examples Hi, Are you trying the Tomcat examples or the O'Reilly ones? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:55 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I don't know if the Tomcat examples run. That's what I'm trying. Other JPSs Servelts do run on this tomcat installation. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:25 AM To: Tomcat Users List Subject: RE: Newbie help w/ORielly examples Hi, It's not accurate to say that 500-class HTTP responses are usually application code bugs. Server misconfiguration is at least as common a cause for these responses. The stack trace and error information posted by the OP is insufficient to determine the cause of the error. To the OP: do the Tomcat examples run? Yoav Shapira Millennium Research Informatics -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 1:20 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples Recomiliing didn't help. Has anyone got any ideas? Thanks. -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:56 PM To: 'Tomcat Users List' Subject: RE: Newbie help w/ORielly examples I've restarted a few times. I'll see if I can recompile these. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:40 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Usually HTTP 500 codes are bugs in the code i really don't know what this debug attribute is used for but you should restart your tomcat to see if it heals. John Najarian escribió: I got in there but now I get this error when I try to access the context '/ora': HTTP Status 500 - Error retrieving attribute debug _ type Status report message Error retrieving attribute debug description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. _ Apache Tomcat/5.0.19 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 2:25 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples Then manually deploy it the admin app has a facility to deploy a context that should do the trick John Najarian escribió: Thanks John, the autodeploy was already set to 'True'. I've got a few apps working this one just doesn't. -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 1:44 PM To: Tomcat Users List Subject: Re: Newbie help w/ORielly examples enable autodeploy on the admin app (i.e. localhost:8080/admin). Make sure you have a user configured to access the admin app in your conf/server.xml file John Najarian escribió: I've tried installing the examples from the 'Java Server Pages' book to no avail. I expanded the jspbook3.zip file and copied the 'ora/' directory to the 'tomcat/webapps' directory. I restarted the tomcat service. When I try to access the apps by typing 'http://localhost:8080/ora/' into a browser I get the following displayed in the browser. HTTP Status 404 - /ora/ type Status report message /ora/ description The requested resource (/ora/) is not available. Apache Tomcat/5.0.19 Any ideas? This is running on an XP machine. Thanks --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - 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] This e-mail, including any attachments, is a confidential business communication, and may