Re: Database related performance degradation after upgrading from Tomcat 9.0.33 to Tomcat 9.0.69

2023-02-23 Thread Artur Tomusiak - Hannon Hill
rmance degradation between these versions of Tomcat (essentially between 9.0.37 or earlier, and 9.0.38 or later)? Since DBCP 2.8.0 was released in 2020-09-21 and Tomcat 9.0.38 was released in 2020-08-11, it's a bit strange that this issue was not reported previously by anyone. Thank you,

Database related performance degradation after upgrading from Tomcat 9.0.33 to Tomcat 9.0.69

2023-02-21 Thread Artur Tomusiak - Hannon Hill
additional information I could provide to help troubleshoot or replicate the problem? Thank you, Artur Tomusiak

It seems Tomcat shares libraries between web applications

2022-10-13 Thread Artur Swat
mcat versions: I spotted it on 9.0.54, after upgrade to 9.0.68 observed same behaviour. Java version is 1.8.0_202 (Oracle build). OS: Windows 10 21H2. How app Y can get a library from app X? Is tomcat\temp shared between web applications? --- Best regards Artur Swat -

How to debug deployment process of my application in IntelliJ IDEA

2016-03-21 Thread Artur Owczarek
I'm learning how Spring MVC works. I'd like to debug the process of deployment on different containers (using IntelliJ) as well as how my application works after deployment. I created the simplest application possible. It does nothing except registering dispatcher servlet. Now I set breakpoint some

Re: Restart problem

2010-10-21 Thread Artur Osmanov
Artur Osmanov 2010/10/20 Caldarale, Charles R > > From: Artur Osmanov [mailto:a.osma...@52north.org] > > Subject: Restart problem > > > But if I stop Tomcat and start it again Tomcat hangs > > and nothing works anymore. > > Have you tried taking a thread dump? &g

Restart problem

2010-10-19 Thread Artur Osmanov
Tomcat/6.0.29 with default configuration Windows 7 Professional 64bit hibernate 3.5.2 postgresql 8.3 kind regards Artur Osmanov log entry after tomcat stop 19.10.2010 20:43:17 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 19.10.2010 20:43:18

Re: DefaultServlet, allowLinking, symbolic links do not work

2007-11-15 Thread Artur Rataj
Mark wrote: > Tomcat version? I think I recall some issues with this on older versions. I installed 6.0.14 and it works, thank you for help. Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org

DefaultServlet, allowLinking, symbolic links do not work

2007-10-24 Thread Artur Rataj
/ This is the app's context.xml that allows symbolic links: And directory symbolic links still do not work. Why? Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

Re: Why DefaultServlet listing does not work

2007-10-24 Thread Artur Rataj
> > The way the default servlet works, if it isn't mapped to '/', it won't > work properky. Thanks, with that mapping it works. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Why DefaultServlet listing does not work

2007-10-23 Thread Artur Rataj
Is not the listings option in apps' web.xml enough? I wanted the app to decide if it allows listings of its servlet. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Why DefaultServlet listing does not work

2007-10-23 Thread Artur Rataj
say resource not available until I created a directory `listings' in the application directory. Then it become to show an empty directory listing. I then created various files in the directory, but the directory listing was still empty, even after page reload. What did I wrong? Best regards,

Re: Java source encoding

2007-08-03 Thread Artur Rataj
> > > What do you need source files stored inside war file for? > I don't need them them there. The conversion of characters is at compile time, of course. I have mistaken this. Thank you. Best regards, Artur ---

Java source encoding

2007-08-02 Thread Artur Rataj
Hello, can I specify the encoding of java source files in the war file? Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Context.xml error

2007-07-18 Thread Artur Rataj
On 7/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Artur Rataj [mailto:[EMAIL PROTECTED] > Subject: Re: Context.xml error > > I have a web app that has servlets on /library/*, and want tomcat to > also display some directory listing under /files or

Re: Context.xml error

2007-07-10 Thread Artur Rataj
On 7/9/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: What are you actually trying to accomplish? I have a web app that has servlets on /library/*, and want tomcat to also display some directory listing under /files or something like that.

Re: Context.xml error

2007-07-09 Thread Artur Rataj
On 7/8/07, Mark Thomas <[EMAIL PROTECTED]> wrote: Because each context.xml file can oly define a single context. So, if an app has additional context for some directory listing, where it should be defined? Artur --

Context.xml error

2007-07-07 Thread Artur Rataj
) 2007-07-07 11:23:06 org.apache.catalina.startup.ContextConfig processContextConfig SEVERE: Occurred at line 20 column 2 Could you tell me why? Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Mod_jk and "Kernel Panic - not syncing: Attempting to free lock on active lock list"

2007-04-17 Thread Artur
another question. I have set logging for mod_jk to error level, but it logs every request and response time, shoudn't only errors be logged ? Normally response time is sth like 0.0500 or 0.0900 but sometimes it is 10.2345 or 15.2543 or even 90.0456. What can take so much time ? Regards

Mod_jk and "Kernel Panic - not syncing: Attempting to free lock on active lock list"

2007-04-12 Thread Artur Różycki
### httpd.conf # server.xml ### server.xml ### Thanks in advance for any help. Best regards Artur - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Thank you for help, it was indeed the listings setting in web.xml that needed to be changed. Now it works ok. Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Please help me. I tried this: with various combinations of slashes, with a symlink etc. it all gives 404 when trying http:///disk - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
I have just copied the context from another one in the default configuration file. On 3/21/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Artur Rataj wrote: > docBase="/home/lib/disk/" >reloadable="true"> >

A disk directory context without cache

2007-03-21 Thread Artur Rataj
Hello. How to configure a context that displays the contents of a given disk directory, but without it being cached? I tried this, but it does not work at all, i. e. I get an error message from tomcat when trying to access /disk. -

Contexts in Tomcat 6, why does not work

2007-02-08 Thread Artur Rataj
tomcat can read from it. Thanks, Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Mod_jk balancing, session problem

2006-08-11 Thread Artur
ARNING: processCallbacks status 2 Do you have any idea what my be the reason ? Best regards Artur -- View this message in context: http://www.nabble.com/Mod_jk-balancing%2C-session-problem-tf2073073.html#a5765997 Sent from the To

Re: Mod_jk balancing, session problem

2006-08-08 Thread Artur
by adding request log to mod_jk you mean something > like this: > > # JkRequestLogFormat set the request format > JkRequestLogFormat "%w %V %T" > > > >> Of course sticky_session is set to "true". >> Below I paste our config files. Please help if

Mod_jk balancing, session problem

2006-08-08 Thread Artur
but we are losing sessions. Of course sticky_session is set to "true". Below I paste our config files. Please help if you only can. Best regards Artur ###Jk status for one day: NameTypejvmRouteHostAddrStatD F M V Acc Err Wr

Re: Converting characters to "ascii" value

2006-03-19 Thread Artur Rataj
char is a numeric type. You might try this code as an example: char c = 32; c += '@'; if(c > 31) System.out.println(c + " = " + (int)c); The exception is it adds to strings as a character, thus the cast is

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
To turn it off, set reloadable="false" in the context definition of your app. I do not know where you have it defined, it might be tomcat's server.xml or context.xml of your app. I am not sure if it will work -- I have used applications listeners to stop the threads, which was ve

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
It might that it unloaded an app. You may turn off app unloading/reloading in serwer.xml. Or start and stop threads using listeners. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClassLoader IllegalStateException

2006-03-06 Thread Artur Rataj
One of the reasons might be that you have stray threads that do not stop when Tomcat tries to stop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: A simple question about creating a thread in Tomcat app

2006-02-22 Thread Artur Rataj
I had some problems with the thread run in init(), that I described in the thread `STrange problem with a thread made in Servlet.init()'. Now I use the listeners with both startup/shutdown of the thread. Best regards, Artur ---

Re: STrange problem with a thread made in Servlet.init()

2006-02-22 Thread Artur Rataj
I replaced HttpServlet.init() with a listener, do both startup/shutdown of the thread, and also shut down HSQLDB not before VM shutdown, but in the listener. And now the thread works OK, and these error messages are gone. Best regards, Artur

Re: STrange problem with a thread made in Servlet.init()

2006-02-22 Thread Artur Rataj
0 time=0/50 config=null Feb 22, 2006 5:26:07 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Feb 22, 2006 5:26:07 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5577 ms As you can see, HSQLDB, tha

STrange problem with a thread made in Servlet.init()

2006-02-22 Thread Artur Rataj
org.algstoch.trafficlogger.Logger.(Logger.java:50) at logger.LoggerThread.run(LoggerThread.java:35) If the same thread is run outside webapp, it works ok. What can it be? Best regards, Artur - To unsubscribe, e-mail: [EMAIL

Re: A simple question about creating a thread in Tomcat app

2006-02-22 Thread Artur Rataj
Thanks for help, Artur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A simple question about creating a thread in Tomcat app

2006-02-22 Thread Artur Rataj
Hello! I would like, just after tomcat starts, to create a new thread. Where can I put the code that starts it? I do not want to wait with starting the thread until some servlet is needed. Best regards, Artur - To unsubscribe

Re: Strange servlet exception

2006-02-22 Thread Artur Rataj
over the JARs in the WAR. Artur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange servlet exception

2006-02-22 Thread Artur Rataj
Now, I changed the name of the method, adding an underscore before it, clean and rebuild in Netbeans worked fine, the WAR worked in the tomcat bundled with Netbeans, yet, copying the WAR to any other tomcat I tried causes now: javax.servlet.ServletException: Servlet execution threw an exception r

Re: Strange servlet exception

2006-02-21 Thread Artur Rataj
5. And the error occurs also with Java 1.5 and Tomcat 5.5.15. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange servlet exception

2006-02-21 Thread Artur Rataj
removeUserId is in a library, included in the war as a jar. 4. It looked as if just calling removeUserId(HttpSession session) from processRequest() caused the error, because println() in the first line of the method did not show in catalina.out. Artur

Re: Strange servlet exception

2006-02-21 Thread Artur Rataj
is now included once. So perhaps it was not the reason. What it might be? Tomcat would not work without HttpSession, yet it says no class def found. I guess it is some kind of bug because it appeared probably just after I changed some unimportant string in the app. Artur

Re: Strange servlet exception

2006-02-21 Thread Artur Rataj
Thank you for help. It was the tomcat web app that was putting the servlet-api-jar into war. I corrected it and the app works ok again. Artur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Strange servlet exception

2006-02-21 Thread Artur Rataj
needs it to compile within netbeans, and netbeans propagates compile-time libraries to all categories. What can be the reason of it? Thanks, Artur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Blank servlet pages

2005-10-30 Thread Artur Rataj
/browser configurations. What might be the possible reason? Thanks, Artur