Default encoding in tomcat 5.5.29

2012-08-09 Thread Petr Hracek
encoding ISO8859-1 or UTF-8? -- Best Regards / S pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problem with shutting down tomcat5.5.29

2012-04-05 Thread Petr Hracek
Petr Dne 5. dubna 2012 14:19 Konstantin Kolinko napsal(a): > 2012/4/5 Petr Hracek : >> Dear all, >> >> I now that I am using pretty old version of tomcat5, but I have a >> tricky problem. >> On the server is run apache2.2.21 and tomcat5 together. tomcat5 is >>

Re: Catalina.policy file for security option

2011-11-09 Thread Petr Hracek
shutdownHooks) access: access allowed (java.util.logging.LoggingPermission control) But in output lsof -i | grep java is not mentioned and tomcat. Dne 8. listopadu 2011 14:15 Petr Hracek napsal(a): > When I have set CATALINA_OPTS to: > linux:/var/log/tomcat5/base # echo $CATALIN

Re: Catalina.policy file for security option

2011-11-08 Thread Petr Hracek
@8e208e2 Permissions: static: java.security.Permissions@8930893 ( (java.io.FilePermission /usr/share/tomcat5/bin/bootstrap.jar read) (java.lang.RuntimePermission exitVM) ) Dne 8. listopadu 2011 13:51 Petr Hracek napsal(a): > Yes the tomcat should be run as a back-end server (

Re: Catalina.policy file for security option

2011-11-08 Thread Petr Hracek
java and lsof -i | grep java I did not see any 8009 and 8005 port or even that tomcat5 is not starting. Where could be a problem? Dne 7. listopadu 2011 12:29 André Warnier napsal(a): > Petr Hracek wrote: >> >> Dear tomcat users, >> >> I have try to configure my reall

Catalina.policy file for security option

2011-11-07 Thread Petr Hracek
ePermission "getAttribute"; // Allow read of JAXP compliant XML parser debug permission java.util.PropertyPermission "jaxp.debug", "read"; // Precompiled JSPs need access to this package. permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime"; permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*"; // Precompiled JSPs need access to this system property. permission java.util.PropertyPermission "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read"; }; My server.xml configuration file is: Thank you in advance. If any logs will be need I can provide of course. -- Best Regards / S pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

How to start tomcat5 with -security

2011-08-19 Thread Petr Hracek
lina.await(Catalina.java:616) at org.apache.catalina.startup.Catalina.start(Catalina.java:576) ... 6 more What can be the problem? -- Best Regards / S pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: HANDLER THREAD PROBLEM: java.io.IOException: Stream broken

2011-07-11 Thread Petr Hracek
Upgrading to the latest version of tomcat is not so easy on the customer side. It needs time therefore we have only tomcat 5.5 version. Under SLES10 there is tomcat 5.5 version on the SLES11 there is tomcat 6 version. Dne 11. července 2011 15:56 Pid napsal(a): > On 11/07/2011 14:30, Petr Hra

Re: HANDLER THREAD PROBLEM: java.io.IOException: Stream broken

2011-07-11 Thread Petr Hracek
>  http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html > > The mod_jk/isapi versions are currently 1.2.x but this is not related. > > > p > >> Petr Hracek wrote: >>> Dear users. >>> >>> during the development of my component sometimes I am recei

HANDLER THREAD PROBLEM: java.io.IOException: Stream broken

2011-07-11 Thread Petr Hracek
pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: user tomcat authentication

2011-06-13 Thread Petr Hracek
.html will be shown. Thank you very much 2011/6/13 Pid : > On 13/06/2011 07:50, Petr Hracek wrote: >> First authentication is done so that if in the browser exists relevant >> HTTP COOKIE and validation of that cookie is done then page should be >> shown. >>     How t

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
. If HTTP COOKIE is not existing than logging has to be done over my one program. How to do that I do not know as well. Are there any examples? 2011/6/13 Petr Hracek : > First authentication is done so that if in the browser exists relevant > HTTP COOKIE and validation of that cookie i

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. 2011/6/12 Mark Thomas : > On 12/06/2011 20:29, Pid wrote: >> On 12/06/2011 17:12, Petr Hracek wrote: >>> And what about in case

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
/2011 11:26, Petr Hracek wrote: Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. or users which are stored in anothe

user tomcat authentication

2011-06-10 Thread Petr Hracek
Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file or users which are stored in another database engine than Realm thank you in advance -- Best Regards / S pozdravem Petr Hracek

VJDBC and tomcat5

2011-05-12 Thread Petr Hracek
1.layout=org.apache.log4j.PatternLayout # Print the date in ISO 8601 format log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n linux:/srv/www/tomcat5/base/webapps/vjdbc/WEB-INF # Thank you in advance -- Best Regards / S pozdravem Pet

Re: JSP pages are not loaded. Only HTML source code

2011-03-10 Thread Petr Hracek
roxyPassMatch ^/XYtest/servlet/(.*)$  ajp://localhost:8009/XYtest/$1 > > 3a) in the file index.html : > > (in this case, the ProxyPassMatch directive will "strip" the "/servlet" > part, which confuses Tomcat) > > > When (if?) the above is working, then I wi

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Petr Hracek
t; In other words, > > "/XYtest/" already points to "/opt/test/servlet". > If you say "/XYtest/servlet/x", you are pointing to > "/opt/test/servlet/servlet/x", no ? > > > > > > > > Petr Hracek wrote: >> >> I ha

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Petr Hracek
(/XYtest/servlet/jsp/Viewer/View.jsp) is not available. What is wrong? Other servlets which did not used JSP are working properly. Thank you in advance Petr 2011/3/8 André Warnier : > Petr Hracek wrote: >> >> Dear users, >> >> I would like to asked you on the some thing reg

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
 Delivery Center Czech >     Republic, s.r.o. >  Sídlo: Brno, Technická >  2995/21, PSČ 61600 IČ: >         26244535 >   Zapsaná v obchodním >    rejstříku, vedeném >  Krajským soudem v Brně >  oddíl C, vlozka 39922 > > > > > > > |> > | From:

JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
tory (/etc/tomcat5/base/Catalina/localhost/XYtest.xml) is following context file test# cat /etc/tomcat/5/base/Catalina/locahost/XYtest.xml test# structure in Linux is: /opt/test/XYtest/jsp/Viewer where are located files index.html and view.jsp which is part of FRAME -- Best Regards / S pozd

More traces from tomcat 3.2.X

2011-02-09 Thread Petr Hracek
CPU. Is there any way how to specify in XML configuration files more logs during the calling servlets? Thank you in advance -- Best Regards / S pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
7;. > Run 'jstack '. This gives you the thread dump. > > The id's of the threads (in hex) correspond to the pid's (in decimal) of the > threads in ps -H or top with threads on. > > You can also find the pid with ps like you are likely used to. > > Ronald. &g

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Dear users, I do not understand correctly. I am linux administrator but the command like 'thread dump' is not existing. Do you have any example? Thank you in advance Petr 2011/1/19 Mark Thomas : > On 19/01/2011 08:29, Petr Hracek wrote: >> Dear tomcat users, >> >

servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
special setting in tomcat5 which could show me more information? Thank you in advance -- Best Regards / S pozdravem Petr Hracek - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Tomcat5 and ajp13 (port 8009) localhost only

2010-10-12 Thread Petr Hracek
66u IPv6 12088996 TCP *:http-alt (LISTEN) java 4752 tomcat 68u IPv6 12089001 TCP *:8009 (LISTEN) java 4752 tomcat 71u IPv6 12089004 TCP localhost:8005 (LISTEN) system:~ # Thank you in advance -- Best Regards / S pozdravem Petr Hracek

Re: Authentication of proxy over own module

2010-06-17 Thread Petr Hracek
Sorry I have posted to the wrong conference. Add the end of this mail youc can find where I have a problem? 2010/6/17 Pid > On 16/06/2010 10:08, Petr Hracek wrote: > > Sorry my wrong explanation. I have ment the when the request is > > authorized/authenticated by my module

Re: Authentication of proxy over own module

2010-06-16 Thread Petr Hracek
p > and > rv = apr_socket_connect(*sock, sockaddr); >if (rv) { > //snip > > On 15 June 2010 20:49, Petr Hracek wrote: > > That's a good sentence. > > You mention: > >>> if you did auth in your own module there should be accepted stream and &g

Re: "Gracefull" restart of tomcat

2010-06-01 Thread Petr Hracek
Hello *, my context file foo.xml is: my server.xml file is: If more config files will be neccessary I will provide. 2010/6/1 Pid > On 01/06/2010 11:31, Petr Hracek wrote: > > Hello *, > > &g

Re: "Gracefull" restart of tomcat

2010-06-01 Thread Petr Hracek
servlets and other jar files. War files are not used. Only jar files with web.xml files. 2010/5/31 Pid > On 31/05/2010 11:40, Petr Hracek wrote: > > Dear users, > > > > I would like to ask you on the some thing which regards to the > application > > deployment

"Gracefull" restart of tomcat

2010-05-31 Thread Petr Hracek
neccessary restart of tomcat? Is there any "gracefull" restart of tomcat like in apache2? Is there any mechanishm how to update servlets when tomcat is already running so that tomcat 5 will not be restarted and new servlets will be loaded? Thank you in advance -- Best Regards / S pozd

Re: Problem with downloading file over servlet

2010-05-04 Thread Petr Hracek
If I understand right then sun.net.www.protocol.http.HttpURLConnection is not part of any class, right / is obsolete? Or is there any other class? Sorry for that stupid question but I do not understand. Code has been really adopted. 2010/5/3 Caldarale, Charles R > > From: Petr

Problem with downloading file over servlet

2010-05-03 Thread Petr Hracek
de.siemens.icn.hipath.unity.as.repgen.api.ServletRequestThread.parseRunReportLine(ServletRequestThread.java:731) at de.siemens.icn.hipath.unity.as.repgen.api.ServletRequestThread.run(ServletRequestThread.java:242) Do you know what is the reason of that failure? Thank you in advance -- Best Regards / S pozdravem Petr

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
Could please explain me more detailly what do you mean with the sentence about servlets? I am user with tomcat and beginner with servlets Thank you in advance Best Regards Petr Hracek 2010/4/29 Caldarale, Charles R > > From: Petr Hracek [mailto:phrac...@gmail.com] > > Subject:

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I will delete them. Will the servlets work when I will delete path from the context file? Best Regards Petr 2010/4/29 Caldarale, Charles R > > From: Petr Hracek [mailto:phrac...@gmail.com] > > Subject: Re: Problem w

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
/04/2010 07:34, Petr Hracek wrote: > > Yes you are right bad configuration in web.xml. > > In the conf/Catalina/localhost/ is RepGen.xml > > and in web.xml file is /ReportRenderer. > > Then surely the correct URL to call is: > > /RegGen/ReportRenderer > > > Whe

Re: Problem with starting tomcat5

2010-04-28 Thread Petr Hracek
Yes you are right bad configuration in web.xml. In the conf/Catalina/localhost/ is RepGen.xml and in web.xml file is /ReportRenderer. When I change them to /servlet/ReportRenderer no it's wokring. Best Regards Petr 2010/4/28 André Warnier > Petr Hracek wrote: > >> Hello *, >

Re: Problem with starting tomcat5

2010-04-28 Thread Petr Hracek
00 00 00 00 00 00 00 00 00 00 00 - 2... [debug] jk_ajp_common.c (660): status = 404 Does it error mean that servlet has bad PERMISSIONS? If yes what permission should be there? 555 for directory? What can be a problem now? Best Regards Petr Hracek 2010/4/27 André Warnier > Petr

Re: Problem with starting tomcat5

2010-04-27 Thread Petr Hracek
-- Best Regards / S pozdravem Petr Hracek 2010/4/27 Konstantin Kolinko > 2010/4/27 Petr Hracek : > > WARNING: Default charset ISO-10646-Minimum-European-Subset not supported, > > using ISO-8859-1 instead > > Do not know what prints the above. > > &

Problem with starting tomcat5

2010-04-27 Thread Petr Hracek
105 Apr 27 11:12 PM-Reports.xml -rw-r--r--1 root sys 117 Apr 27 11:12 PM.xml -rw-r--r--1 root sys 105 Apr 27 11:12 RepGen.xml /var/apache/tomcat# Could you please let me know where I did a problem? -- Best Regards / S pozdravem Petr Hracek

Startin tomcat5 instead of jsvc with java

2010-03-04 Thread Petr Hracek
Hello *, from the documention I have read that tomcat5.5 ( http://tomcat.apache.org/tomcat-5.5-doc/setup.html) can be started with the help of command jsvc. Is there any other possibility how to start up tomcat with java? I wouldn't start tomcat 5.5 over rcScript stored in /etc/init.d/ Thank you