Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Konstantin Kolinko
t; What is your experience level? Do you know what a "web application" is? Have you read The Servlet specification, Documentation, etc.? Do you know where your classes must be put in a Web application? Your "main directory" terminology does not make sense. Best regards, Konst

Re: Access to Tomcat server has not been authorized

2012-04-18 Thread Konstantin Kolinko
e.org/tomcat-7.0-doc/manager-howto.html I do not know why Netbeans needs access to it. It is a problem of Netbeans, not of your webapp. Maybe they have some explanation in their docs. Best regards, Konstantin Kolinko - To un

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Konstantin Kolinko
) > ... and that's all... > Why ? I don't understand. Same method, same smtp server. > Any idea ? Different libraries? Try to check, what implementation is returned by those calls, Session.getInstance(..) Try running with a debugger, http://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Konstantin Kolinko : > 2012/4/18 Jacques Desodt : >> Well, a little bit disappointed... >> I changed my code : >> >>(...) >> ... and that's all... >> Why ? I don't understand. Same method, same smtp server. >> Any idea ? > >

Re: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-18 Thread Konstantin Kolinko
gt; As "main directory" I mean the docBase referenced in the server.xml file. > I have read the Servlet Specificacion (2.4) and did several changes to the > configuration files with no success. > > Does someone here have any idea where to check some configuration ? > > >

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Konstantin Kolinko
h with the following content: CATALINA_OUT=/dev/null 2. Make the file executable. 3. Restart Tomcat. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Classpath issues with Embedded Tomcat 7

2012-04-19 Thread Konstantin Kolinko
2012/4/19 icfantv : > UPDATE: > > Adding ALL my WEB-INF/lib jars to my launch command classpath causes the web > application to start, but I'm not sure this is correct.  If it is, what's > the point of the WEB-INF/lib directory? > > Anyone have any thoughts here? > Subscribe to the Mailing list pr

Re: Classpath issues with Embedded Tomcat 7

2012-04-19 Thread Konstantin Kolinko
sedir) { this.basedir = basedir; } ]]] There is code somewhere in that class that implements what is written in the above javadoc. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@t

Re: my website is not opening after installing CA certificate successfully

2012-04-19 Thread Konstantin Kolinko
them has name "tomcat". > Need better description of the problem. You might also include the > steps you've already taken. And your configuration. +1 Best regards, Konstantin Kolinko - To unsubscribe,

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-19 Thread Konstantin Kolinko
.0.2.jar > jstl-1.2.jar > validation-api-1.0.0.GA.jar > > I suspect packages in one or more of these jar files is generating these > INFO and DEBUG log entries in catalina.out > > * The application's log4j.properties file is in the application's > WEB-INF/classes folder

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
rence soon. I'm already starting to forget things. > You need to put log4j.properties file in yourapp/WEB-INF/classes, with > the appropriate logging config. > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
it is this file that has control and not some default elsewhere. BTW, log4j project: http://logging.apache.org/log4j/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
who could be responsible for creating and configuring catalina.out file on > the Linux sever? Where do I look? The last executed line of catalina.sh (the one that starts Tomcat) redirects stderr and stdout streams from started java application - by default to that file. Best regards, Konstant

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-20 Thread Konstantin Kolinko
7. Any > suggested reading on delta between 5.5 and 7.x, steps to follow, what to > look for / be careful of when upgrading from Tomcat 5.5 to 7? > http://tomcat.apache.org/migration.html http://tomcat.apache.org/tomcat-7.0-doc/security-howto

Re: BufferOverflowException in Tomcat 7.0.x at AjpAprProcessor.output()

2012-04-20 Thread Konstantin Kolinko
ou add this to Bugzilla? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: asp file and session creation

2012-04-23 Thread Konstantin Kolinko
uot; in their headers, but such a patch might be very > far-reaching. > I wonder whether this is already possible to do using "jsp-property-group" + "include-prelude" in web.xml. Just saying. Best regards, Konstantin Kolinko -

Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?

2012-04-23 Thread Konstantin Kolinko
h/ Logback is yet another logging framework, at the level of log4j. You have no configuration file for it, so apparently what you get is its default configuration. (Just from code it seems that their root Logger has level of DEBUG by default). Maybe you started to use classes that depend on slf4j

Re: Tomcat 6.0.35 filters not invoked for error-pages

2012-04-24 Thread Konstantin Kolinko
ervlet >   mypackage.MyServlet > > > >   myservlet >   /* > > > >   myfilter >   myservlet >   REQUEST >   FORWARD ERROR Since Servlet 2.4. > > Best regards, Konstantin Kolinko - To unsubscr

Re: Long timeout after aborted upload

2012-04-28 Thread Konstantin Kolinko
er you can have better error handling at client side if you use similar approach. E.g. JavaScript detects that upload failed and then makes additional HTTP request to get error details from the server. Best regards, Konstantin Kolinko ---

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-03 Thread Konstantin Kolinko
e issues, but it's a clear bug.  Thanks for > your tip. > One more tip: run with "org.apache.catalina.connector.RECYCLE_FACADES=true" That will be more secure and you will be able to more easily detect errors like this one. http://tomcat.apache.org/tomcat-7.0-doc/config/systempr

Re: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Konstantin Kolinko
uot;embedded" Tomcat where all configuration is done programmatically by whatever starts is, then you are out of luck, because configuration files will be irrelevant. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user

Re: Live changes to web.xml

2012-05-07 Thread Konstantin Kolinko
e a good place for me to reset the connection. > Try for youself? 5.5 is near EOL, so whatever is there wouldn't change. > Or is there a better place? > Describe what "messed up" means. Troubles with DB connections are usually solved with a validation query (checkOnBorro

Re: Start Tomcat6 service with StartMode as java

2012-05-08 Thread Konstantin Kolinko
have never tried it, and that would be a Commons Daemon question). Why do you want "java.exe"? Why cannot you start Tomcat with a *.bat file? Also IIRC it was mentioned several times that in Vista and later services cannot interact with Desktop. You have not mentioned what your OS is. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Konstantin Kolinko
le. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat pausing and process killed

2012-05-10 Thread Konstantin Kolinko
hould be mentioned in the access log. > memory use increases just before the system crashed. Maybe some bot is walking around your server, and that causes creation of new session for each request? Maybe your web site is popular in certain hours

Re: http status 404 error

2012-05-11 Thread Konstantin Kolinko
2012/5/11 Irene Amatulli : > Hi, > > I got this error when trying to access my application's website. Are you sure that it is your web site? Configure an access log at the server and look for evidences. >  The Tomcat service is running, so I don't know why I got this error.  The > website appear

Re: http status 404 error

2012-05-11 Thread Konstantin Kolinko
2012/5/11 Giles Coochey : > On 11/05/2012 15:19, Konstantin Kolinko wrote: >> >> >> BTW, Tomcat 6.0.20 is 3 years old. >> Here is a list of known security issues fixed in later releases: >> http://tomcat.apache.org/security-6.html >> >> > Strangel

Re: maxParameterCount with Tomcat 5.5.23

2012-05-11 Thread Konstantin Kolinko
should, but that is up to you to confirm. You have that strange version of Tomcat, we do not. BTW Note, that ASF support of Tomcat 5.5.x branch ends in several months, http://tomcat.apache.org/tomcat-55-eol.html Best regards, Konstantin Kolinko -

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-11 Thread Konstantin Kolinko
the error. It is a rare configuration and IMHO a broken one. I think that running without JreMemoryLeakPreventionListener is wrong. A place that I know that closes JARs is WebappClassLoader#closeJARs(). The closeJARs() is called after StandardContext has started up. But WebappClassLoader and WARDirCon

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-12 Thread Konstantin Kolinko
2012/5/12 Jesse Farinacci : > Greetings, > > On Fri, May 11, 2012 at 8:47 PM, Konstantin Kolinko > wrote: >> I can easily reproduce this "zip file closed" issue in trunk with a >> simple jar containing Tomcat's icon in META-INF/resources/favicon.ico &

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-12 Thread Konstantin Kolinko
2012/5/12 Mark Thomas : > On 12/05/2012 18:01, Konstantin Kolinko wrote: >> 2012/5/12 Jesse Farinacci : > >>> With the listeners all added, things are working as I expect. The >>> resource is served, no error is produced. I still think this is a bug >>> t

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-12 Thread Konstantin Kolinko
the moment when you experience the delay. Maybe StuckThreadDetectionValve in Tomcat 7 can help here. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comma

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-12 Thread Konstantin Kolinko
er seeing someone adding a few KBs of HTML comments into the error page, because that suppresses this behaviour of IE. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: IE caching problem-

2012-05-13 Thread Konstantin Kolinko
p (or stop it and clear its work folder, - compiled JSPs are kept there) - Check whether clock time is correct on your PC and server > Environment: > TC 6.0.20 > IE: 9 > > Does anyone have suggestions to allow TC to return new index.jsp and not the &g

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread Konstantin Kolinko
rver.xml snippet : > > protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443"/> > > Even the sample program "AsyncRequest" that comes with tomcat does not > work. :-(   it also throws the same exception. You mean those listed at the bot

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread Konstantin Kolinko
   NewServlet >        /NewServlet >     >     >         >            30 >         >     > > 1. Note, that you have to check Tomcat's conf/web.xml as well 2. I recommend you to add metadata-complete="true" to the r

Re: Manager activeSessions and customized error page

2012-05-14 Thread Konstantin Kolinko
[1] http://localhost:8080/examples/jsp/security/protected/index.jsp > If not: Is there any other approach to limit the number of sessions? I think it is possible with a Filter, Valve or with a SessionListener. It should be also be possible with a c

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
ing_API The "containerLog" writes to a category that has name similar to the following: org.apache.catalina.core.ContainerBase.[${engine}].[${host}].[${context}] If your realm in in Context, then you will get the full name. If it is in Host, you will get [engine][host] only, and s

Re: tomcat slowing down

2012-05-17 Thread Konstantin Kolinko
ee that is not exactly the size). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
artup.HostConfig.level = FINE > #org.apache.catalina.level = WARNING I have not see your server.xml, but let's suppose that your Realm is in the Engine. The logging category for engine will be "org.apache.catalina.core.ContainerBase.[Catalina]" To enable debug logging

Re: Tomcat 7. MX4J

2012-05-22 Thread Konstantin Kolinko
nage JMX beans in version 7 as we could in > version 6? (please see > http://logback.qos.ch/manual/images/chapters/jmxConfigurator/mx4j_jetty.gif >  ) > Please 1. Post your response below the text that you are replying to (aka "do not top-post") 2. Do not cross-post questions be

Re: Shared data source (Bug 49543)

2012-05-23 Thread Konstantin Kolinko
> <% > >    c.close(); > %> > > > > > Am I doing some wrong? > 1. You have to wrap all this with try/finally and invoke close() on ResultSet and Statement before calling that method on Connection (which returns it to the pool, but does not actually close it). I'd have resource leaks otherwise. 2. You need to set alternateUsernameAllowed="true" on Tomcat JDBC pool [1] Otherwise arguments in ds.getConnection(user,password) method on that datasource are ignored. [1] http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: JRE Access violation

2012-05-23 Thread Konstantin Kolinko
anything. I see nothing wrong with Apr connector threads state. They are executing java code. Only several of them are in "_thread_in_native" state. Nothing else can be said, because java stack traces are not present. You can take thread dumps from Tomcat instance whe

Re: Shared data source (Bug 49543)

2012-05-23 Thread Konstantin Kolinko
uot; >            password="foopass" >  ... > > >  ... >              name="appDataSource" >            global="sharedDataSource" >            type="javax.sql.DataSource" >  ... > > > > > That way, just does no

Re: memory leak in tomcat

2012-05-24 Thread Konstantin Kolinko
the classloader itself is responsible for 300 Mb of memory. > and the data that is in the entries of the gigantic Map is > org.hibernate.impl.SessionFactoryObjectFactory > That would be a hibernate question. I have no clue what that class is about. Best regards, Konstantin Kolinko --

Re: Shared data source (Bug 49543)

2012-05-24 Thread Konstantin Kolinko
. > 3) ... Thank you. It is good to have a working example. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: After going to Tomcat 6 I get log4j problems. Why?

2012-05-25 Thread Konstantin Kolinko
ing log4j" described there, but not all of them. Note that using log4j in Tomcat is not the default configuration. 3) Apache Commons Logging documentation http://commons.apache.org/logging/guide.html Especially how commons-logging switches between java.util.logging

Re: jsvc catalina.out log wont rotate

2012-05-28 Thread Konstantin Kolinko
f it already writes those messages in other files. It is possible to configure "logrotate" daemon to rotate catalina.out. E.g. using "copytruncate" option of it. Search archives of this mailing list for more details.

Re: command line equivalent of tomcat service manager buttons "start" and "stop"

2012-05-29 Thread Konstantin Kolinko
ion did you use to find out about the //MR// > option? > http://commons.apache.org/daemon/procrun.html Tomcat[n].exe and Tomcat[n]w.exe come from Apache Commons Daemon project. They are renamed copies of prunsrv.exe and prunmgr.exe Best regard

Re: Tomcat filter behaviour

2012-05-29 Thread Konstantin Kolinko
sory at best, but this strikes me > as wrong. I've got a virtual server I can fiddle with if anyone has > suggestions as to how I can "fix" this behaviour. > Yes, it is intended behaviour and Tomcat 7 here differs from

Re: Tomcat filter behaviour

2012-05-29 Thread Konstantin Kolinko
worked in the past but I believe I understand why it had to change. > I added mention of conf/web.xml processing changes to the Migration Guide, http://tomcat.apache.org/migration-7.html Best regards, Konstantin Kolinko > 2012/5/29 Alexander Landsnes Keül : >> I'm seeing some be

Re: how to test hash collision security fix in tomcat 7.1

2012-05-30 Thread Konstantin Kolinko
2012/5/30 manjesh : > Hi , > I have downloaded tomcat 7.1 for Windows OS > 1. There is no such version. I do not know what you are testing. > added the following parameter (maxParameterCoun)  into server.xml > >                connectionTimeout="2" >              redirectPort="8443" maxParame

Re: using CATALINA_BASE

2012-05-30 Thread Konstantin Kolinko
nvironment > variable at some point before launching the startup script. Note that > you can't effectively set CATALINA_BASE in your > CATALINA_BASE/bin/setenv.sh because, well, CATALINA_BASE must already > be known in order to call it. > Confirming the abo

Re: how to test hash collision security fix in tomcat 7.1

2012-05-31 Thread Konstantin Kolinko
at/FAQ/Developing#Debugging Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: thread dump of Tomcat7.0.27.exe on is not working

2012-05-31 Thread Konstantin Kolinko
5 > > [Work around] > Use jstack in JDK. > > [Note] > In these cases, I don't use RDP. > > Any comment would be greatly appreciated. > Confirming that the issue is reproducible. I reported it to the Apache Commons Daemon project, https://issues.apache.org/jira/browse/D

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-05-31 Thread Konstantin Kolinko
;        } >    } > Just a note: If you want this change to be in the code, you have to ask on the Apache Commons DBCP project. Tomcat repacks released versions of Commons Pool and Commons DBCP as they are, only using an automated string replaceme

Re: Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!

2012-05-31 Thread Konstantin Kolinko
webapp that comes with Tomcat work for you? I wonder what the source code for ChLogin.jsp is, but it looks like a compiler error. Tomcat 7.0.27 uses Eclipse JDT Compiler 3.7.2. You may try different versions of ecj-x.y.z.jar from older releases of T

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-05-31 Thread Konstantin Kolinko
NE in web.xml and then manually configure a > valve/filter in context.xml that would enforce CONFIDENTIAL to all remote > hosts but let localhost pass without redirects to port 443? > > Any ideas are appreciated! > It will 1. Listen on localhost only. 2. Be treated by

Re: mod_jk2 question

2012-05-31 Thread Konstantin Kolinko
ken. The connector that people should use is "mod_jk". Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-06-01 Thread Konstantin Kolinko
; connection pools. > By the way: 53254 (1340160): Add in the ability to purge connections from the pool (fhanik) https://issues.apache.org/bugzilla/show_bug.cgi?id=53254 It will be in Tomcat JDBC pool in 7.0.28. Best regard

Re: which java ?

2012-06-01 Thread Konstantin Kolinko
.0 does not mention it. 2. Testing, testing, testing... I would try to run Tomcat 7 testsuite on that JDK to see if there are any noticeable failures. There is no such suite for 6.0 though. Maybe you can use some automated tests from some web applications. Best regards, Konstantin Kolinko

Re: ROOT.xml problem

2012-06-01 Thread Konstantin Kolinko
2012/6/1 Kevin Marx : > I am using Tomcat 7 and wish to have my app open as the default page. > > I have googled and basically found the following recommendation, but its not > working.  Wondering what I am missing? > > ROOT.xml code…. > > > >        docBase="corda.war" >        path="/corda" >

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-06-04 Thread Konstantin Kolinko
2012/6/4 Timothy J Schumacher : > On 5/31/2012 1:30 PM, Konstantin Kolinko wrote: >> >> 2012/5/31 Timothy J Schumacher: >>> >>> Hi, >>> >>> We are using Apache Tomcat 6.0.35 >>> >>> with >>> >>> # java -vers

Re: transport CONFIDENTIAL based on remote ip/host filter?

2012-06-04 Thread Konstantin Kolinko
s not accessible from outside, regardless of your web.xml. If things are more complicated, you could implement a Filter that does the same job as transport-guarantee. The Connector that the client connects to could be distinguished by ServletRequest.getLocalAddr(), getLocalPort(

Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-05 Thread Konstantin Kolinko
on the server) redirect your URL to the correct address. It is easy to implement it as a Filter by yourself, but there already exists a common solution, UrlRewiteFilter. See a link here: http://wiki.apache.org/tomcat/AddOns Best regards, Konstantin Kolinko --

Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-05 Thread Konstantin Kolinko
Your configuration could be something like this: [[[ ^/static/(.+) /$1 ^/default/(.+) /$1 ]]] Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: "/" getting added to action path

2012-06-06 Thread Konstantin Kolinko
2012/6/6 Dharamshila Khandelwal : > Tim, > > It worked fine with IE 6. > Tomcat logs clearly say that the path is invalid. > Wierd this is that when the screen is loaded for the first time, it works > fine. If I click on save (which makes a call to servlet) , it starts giving > invalid path error.

Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Konstantin Kolinko
cification has changed. All documented API works. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-06 Thread Konstantin Kolinko
ted (many years), but for a new system I would go with 1.7. I heard that Oracle plans to stop provide free updates for 1.6 this summer. So they will be available only as "Java for Business". Best regards, Konstantin Kolinko

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-07 Thread Konstantin Kolinko
2012/6/7 Miguel González Castaños : > On 07/06/2012 00:54, Konstantin Kolinko wrote: >> >> 2012/6/7 Miguel González Castaños: >>> >>> Hi, >>> >>>  We are getting isHexDigit errors again, although there is no malformed >>> URL >>

Re: puzzling stacktrace

2012-06-07 Thread Konstantin Kolinko
raries into wrong place, or they are not readable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-08 Thread Konstantin Kolinko
Local IP address (%A), regardless of how > I access the websites on the browser - via HTTP or HTTPs, and via IP > address or domain name. > Looking at the code, the value used for host name in IP-based virtual hosts is ServletRequest.getLocalName(). It is not

Re: "/" getting added to action path

2012-06-08 Thread Konstantin Kolinko
Absolute URLs (http(s)://...) - URLs that are relative to the root of the server (ones that start with '/') Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [POLL] Finer-grained "manager" user-access privileges?

2012-06-08 Thread Konstantin Kolinko
tected). Essentially it is the same as the "allow all" role of "manager" that we had until recently. If there is a way to implement your feature in a simple and transparent way, I would not mind it. But I do not see such a way. If one has specific require

Re: puzzling stacktrace

2012-06-08 Thread Konstantin Kolinko
OME: - bin - common - server The following directories belong to CATALINA_BASE: - file "bin/setenv.bat" (or .sh) only. - conf - logs - shared - temp - webapps - work In later versions of Tomcat the list of directories is similar, but slightly different. Best regards, Konstantin Kolinko --

Re: puzzling stacktrace

2012-06-08 Thread Konstantin Kolinko
NA_HOME is irrelevant, because Tomcat will not be looking there. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 6 : Warnings at startup

2012-06-10 Thread Konstantin Kolinko
ory: [false], canRead: [false] Those look very much like directories that Tomcat 5.5 uses. I would guess that your CATALINA_BASE is wrong. That is as if you tried to start Tomcat 6 with Tomcat 5.5 configuration files. Best regards, Konstantin Kolinko -

Re: ClassNotFoundException Error in Tomcat 5.5 and Tomcat 6.0

2012-06-10 Thread Konstantin Kolinko
he second application and vice versa). Tomcat 7 and recent versions of Tomcat 6 have better protection against certain known PermGen memory leaks in their default configuration. Tomcat 5.5 does not have such protection at all. Best regards, Konstantin Kolinko

Re: Tomcat 6 : Warnings at startup

2012-06-10 Thread Konstantin Kolinko
lders are configured in conf/catalina.properties. If you have that file copied from Tomcat 5.5 that you will see this effect. > So, what does that "org.apache.catalina.startup.ClassLoaderFactory > validateFile" really do, that it does not seem happy ? http://svn.apache.org/viewvc?v

Re: Tomcat 6 : Warnings at startup

2012-06-10 Thread Konstantin Kolinko
server/classes] and warned you that the said directory does not exist. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Removing Ref to YourKit in TC

2012-06-10 Thread Konstantin Kolinko
mcat.apache.org and compare. 2. Cite the actual messages that are being printed (and what is printed before them). 3. What exact version of Tomcat 7.x.y ? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubsc

Re: Removing Ref to YourKit in TC

2012-06-10 Thread Konstantin Kolinko
ready used or not. Do not forget to choose a non-default one). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: ClassNotFoundException Error in Tomcat 5.5 and Tomcat 6.0

2012-06-10 Thread Konstantin Kolinko
2012/6/10 Venkata Pavan Kumar Sannisetty : > Hi Konstantin Kolinko, > > Thanks for the response. > > Can you point out some reference where i can know about this permgen memory > leak. I am unable to find good article/material on it to understand furthur. > It should be som

Re: Tomcat 6 : Warnings at startup

2012-06-10 Thread Konstantin Kolinko
2012/6/10 André Warnier : > Konstantin Kolinko wrote: >> >> 2012/6/10 André Warnier : >>> >>> No tomcat 5.5 files have been copied to that system (apart from the >>> webapp). >>> Here is the complete (edited, comments remov

Re: EL Resolver throws InvocationTargetException (char-long conversation)

2012-06-11 Thread Konstantin Kolinko
har to a number is performed as "If A is Character, convert A to new Short((short)a.charValue()) ..." so you have to s/'w'/119/. There might be other workarounds, such as a) Add another property to that bean that will return the value as String b) Use a function such as fn:

Re: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Konstantin Kolinko
w to take the thread dumps is mentioned in the FAQ. Any chance for upgrade to 6.0.35 or to Tomcat 7? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: HttpOnly

2012-06-12 Thread Konstantin Kolinko
issue. It might be possible with a Valve though, but YMMV. Anyway, if you are seriously worrying about security, you should not use such an outdated version of Tomcat. http://tomcat.apache.org/security-6.html Built-in support for HttpOnly is available since Tomcat 6.0.20 (issue 44

Re: wget and Tomcat resources

2012-06-14 Thread Konstantin Kolinko
is way you will know what requests come from wget and how fast they are served by Tomcat. 2. Make sure that the page contacted by wget does not use sessions. If each request creates a new session it would be a waste of resources. You can include session id

Re: heap memory issues

2012-06-18 Thread Konstantin Kolinko
2012/6/16 Miguel González Castaños : > Dear all, > >   We have a webapp under Tomcat 5.5 and jdk 1.5 32 bits under a virtual > machine of 4 Gb and a 64 bits OS. 4 Gb is memory size? >   Some of you have helped me suggesting me to install Javamelody and sar to > monitor the system. Setting up heap

Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread Konstantin Kolinko
RE is broken. Try running a simple java program that calls the above method and see what happens. Just guessing at straws: you may try to simplify your environment (do you need all that libraries as mentioned in java.library.path? what is your default charse

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread Konstantin Kolinko
File > New > Project... -> Web > Dynamic Web Project -> and the "New Dynamic Web Project" dialog needs the following values Target runtime = Tomcat 7, Dynamic web module version = 3.0. Best regards, Konstantin Kolinko

Re: Problem with URL mapping

2012-06-22 Thread Konstantin Kolinko
2012/6/22 : > Hello all > > I have problem with URL mappings with embedded tomcat 7 > > I whant to handle all requests to my applications. I added filter with > mapping /*  for my application with context path "/" > >    FilterMap errorFilter = new FilterMap(); >    errorFilter.setFilterName("erro

Re: Problem with URL mapping

2012-06-23 Thread Konstantin Kolinko
y. > > The problem is that I can handle any request except requests with character > "\". But I what to handle ALL. I just wondered why it looks impossible. > > Konstantin Kolinko писал 2012-06-23 09:28: >> >> 2012/6/22  : >>> >>> Hello all &g

Re: Tomcat 6 jsvc startup/shutdown script

2012-06-23 Thread Konstantin Kolinko
2012/6/23 Christopher Schultz : > > On 6/22/12 10:12 AM, Muriithi, Priscilla K. wrote: >> Can anyone send me a tomcat 6 jsvc startup/shutdown script for Red >> Hat Linux 5.4? > > Please don't post the same message over and over again to the list. If > you don't get a response right away, you need t

Re: Problem with URL mapping

2012-06-23 Thread Konstantin Kolinko
2012/6/23 : > I see. Thanks a lot. One more question: why request URL with backslash > treated as illegal by default? > > Konstantin Kolinko писал 2012-06-23 12:03: >> >> 2012/6/23  : >>> >>> No, my application has context path "/" so applicat

Re: AprLifecycleListener initialization issue

2012-06-23 Thread Konstantin Kolinko
s_when_using_JNI_under_Tomcat 3. If you want to debug Tomcat, some tips are in the FAQ. http://wiki.apache.org/tomcat/FAQ/Developing#Debugging 4. > my problem is that this class seems to not recognize apr in my computer. The actual error messages =? 5. Do you need Tomcat-Native library at al

Re: How to configure Microsoft Internet Information Server for use with the tomcat

2012-06-23 Thread Konstantin Kolinko
2012/6/23 Debabratta Jena : > I have an webapplication written mainly in jsp and servlet and I use > tomact7.0.26 as my application server. I want this application to run > by IIS 5.1 on windows xp machine. I want that when jsp request comes > to IIS server, it forwards it to tomcat server. >  I se

Re: Tomcat server start up taking excessive time

2012-06-25 Thread Konstantin Kolinko
as can be seen above. Isn't it generating tons of logging output somewhere? Detailed logging is usually slow. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Wish to use an independent class module in Tomcat

2012-06-26 Thread Konstantin Kolinko
into the web application. Using JNDI (via GlobalNamingResources or directly) is one of them. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: restrict per user public_html to serve static files only...

2012-06-27 Thread Konstantin Kolinko
ess of contents of conf/catalina.policy every web application is granted permission to load its own classes and write to its own temporary directory. The servlet spec requires it. Best regards, Konstantin Kolinko - To unsubscribe

<    6   7   8   9   10   11   12   13   14   15   >