DBCP : Best practice javax.sql.DataSource object and Connection Object creation in Web Application

2014-01-01 Thread Milan
each method call and close the connection after transaction is finished. Please advise me on B) practice. Is there anything I am missing or how does B) impact on my DB transaction. Thanks and Regards, Milan Dalsaniya BIPL

RE: Apache Tomcat 5.0.28 Server/Intermittently Web Apps becomes Unresponsive

2014-01-01 Thread Milan
business logic method.(Using finally block) Now, Can you suggest me how I should use DBCP i.e. Creating DataSource Object, Connection Object, Statement object. Suggest me efficient way to use DBCP so that I can avoid blocking session in my oracle Thanks and Regards, Milan Dalsaniya BIPL

RE: Apache Tomcat 5.0.28 Server/Intermittently Web Apps becomes Unresponsive

2013-12-27 Thread Milan
suggest to migrate. And yeah still positively waiting for the response with some nearby solution. Advices and suggestion are always welcome. Thanks and Regards, Milan Dalsaniya BIPL -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, December 27, 2013 4:13 PM To

Apache Tomcat 5.0.28 Server/Intermittently Web Apps becomes Unresponsive

2013-12-27 Thread Milan
running. Please help me with this issued as I am able to resolve it. Manny Thanks. Thanks and Regards, Milan Dalsaniya BIPL

Re: DB Connection Pool

2012-11-21 Thread Milan Tomic
CP datasource from JNDI (getInnerConnection() also didn't helped), so I swithced from DBCP to OracleDataSource. Best regards, Milan

Logging in Tomcat 5 (SysOut & SysErr)

2009-11-20 Thread Milan Tomic
x27;t have it. Nor logging.properties. Please, can someone give me short guide what I have to do to acomplish logging of system.err and system.out into the file(s)? I can not change the way applications log, apps log to system.out and doesn't use log4j. Thank

Re: Tomcat startup exception

2009-11-09 Thread Milan Tomic
Oh, I have missed this line: Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory it seems that Log4J is missing. Best regards, Milan - Original Message From: Milan Tomic To: Tomcat Users List Sent: Mon, November 9, 2009 12:32:47 PM Subject: Re: Tomcat

Re: Tomcat startup exception

2009-11-09 Thread Milan Tomic
Hi Pid, > Post the full stacktrace please. At the end of this mail. > Your server.xml with comments removed At the end of this mail. > Is this a vanilla install? I have just installed it and moved some apps from tomcat 5.0. > On which OS/version? Windows 2003 Server Thank you! :) LOG: Using

Tomcat startup exception

2009-11-09 Thread Milan Tomic
ssege here is not descriptive enough. Thank you in advance, Milan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat start problem in Window XP

2008-12-26 Thread Milan Cvejic
ce INFO Server startup in 782 ms -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar Zorana Đinđića 99, 11000 Beograd, Srbija tel +381 11 313 07 21 mob +381 65 344 42 23 fax +381 11 313 37 34 m.cve...@inbox-online.com www.i

Re: mod_jk initialization error

2008-12-08 Thread Milan Cvejic
ntime-status.26372 errno=2. Load balancing workers will not function properly. The steps I followed to compile the module: make clean ./configure --with-apxs=/usr/sbin/apxs2 make During compilation I get no errors. I am using apache2. Any pointers? -- Milan Cvejić Sistem Administrator Inbox

Re: SSL/Apache and Proxy

2008-12-08 Thread Milan Cvejic
e-mail: [EMAIL PROTECTED] -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar Zorana Đinđića 99, 11000 Beograd, Srbija tel +381 11 313 07 21 mob +381 65 344 42 23 fax +381 11 313 37 34 [EMAIL PROTECTED] www.i

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Milan Cvejic
Thanks, sorry, did't see it... Caldarale, Charles R wrote: From: Milan Cvejic [mailto:[EMAIL PROTECTED] Subject: Re: Create Virtual Host without shutting down tomcat I need this... Is any way to add new VirtualHost without restarting tomcat? This question was just answered a few

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Milan Cvejic
ski <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar Zorana Đinđića 99, 11000 Beograd, Srbija tel +3

Re: Problem install APR Tomcat Native Library on Centos 5.2

2008-11-12 Thread Milan Cvejic
/jdk1.6.0_10/jre/lib/i386:/usr/jdk1.6.0_10/jre/../lib/i386:/home/belpop/tomcat/lib:/usr/local/apr/lib:/usr/local/apr:/usr/java/packages/lib/i386:/lib:/usr/lib Paul On Wed, Nov 12, 2008 at 6:04 PM, Milan Cvejic <[EMAIL PROTECTED]>wrote: Try creating new file in /etc/ld.so.conf.d name

Re: Problem install APR Tomcat Native Library on Centos 5.2

2008-11-12 Thread Milan Cvejic
o.2 (0x2affd399e000) libselinux.so.1 => /lib64/libselinux.so.1 (0x2affd3bb3000) libsepol.so.1 => /lib64/libsepol.so.1 (0x2affd3dcc000) gr Paul On Wed, Nov 12, 2008 at 4:50 PM, Mladen Turk <[EMAIL PROTECTED]> wrote: Paul van Beukering wrote: Hell

Re: Problem install APR Tomcat Native Library on Centos 5.2

2008-11-12 Thread Milan Cvejic
Hello, You should copy libtcnative-1.so to java JDK installation folder in my case: jre/lib/amd64/ Those libraries are needed by java... Greetings Paul van Beukering wrote: Hi all, We are trying to get APR to work. Sofar without success. tThe APR libraries are build, are readable for the w

create new virtual host dinamicly...

2008-07-10 Thread Milan Cvejic
Hello, i have difficulties setting new virtual host without restarting tomcat process... Is that even possible? There is no reload command in catalina.sh... Thanks... -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11

Proxy_ajp VS. mod_jk - Performance comparation?

2008-06-30 Thread Milan Cvejic
Hello, i have simple question. What is faster? Proxy_ajp or mod_jk? I noticed weird cpu usage increase for tomcat process when i use proxy_ajp. Thanks. -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11 313 07 21 fax

java.net.SocketException: Broken pipe?

2008-06-26 Thread Milan Cvejic
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Thanks for any suggestion... -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-26 Thread Milan Cvejic
Dev Lists wrote: it happens on the line ReplicationValve.java 348 : Manager manager = request.getContext().getManager(); probably getContext() returns null, do you have a simple test case how this is happening? Filip Milan Cvejic wrote: I am using 6.0.14 version of tomcat. A

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Milan Cvejic
I am using 6.0.14 version of tomcat. And jdk 1.6 update 4. Any suggestions ? Thanks. Filip Hanik - Dev Lists wrote: what version of tomcat 6 are you using? Filip Milan Cvejic wrote: Hello, i am getting null pointer exceptions when i add the following line in server.xml filter=".*

NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Milan Cvejic
java:1508) at java.lang.Thread.run(Thread.java:619) Thanks for any help. -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11 313 07 21 fax +381 11 313 37 34 [EMAIL PROTECTED] www.inb

Tomcat cluster problem - null pointer exeptions - bad members

2008-06-23 Thread Milan Cvejic
419) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:394) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508) at java.lang.Thread.run(Thread.java:619) Does anyone know what may be the problem? Thank you for your effort. -- Mila

isapi redirector 404 error

2006-11-13 Thread Milan Hampl
log is useful after analyze. Could anybody help me? Does anybody knowledge of similar situation? Thanks Milan Hampl

how to propagate an exception from JAAS to JSP page, and a workaround

2006-02-02 Thread Milan Mrdjen
ssword to generate the key and read the message value from JNDI. What do you think about the workaround? Do you see any obvious holes? Thx, Milan -- [EMAIL PROTECTED] [EMAIL PROTECTED]

Servlet can't be found by Tomcat 5.5

2005-11-30 Thread Milan Tomic
nd binaries to someone willing to help. Some files are in the attachment. Please help me. Thank you, Milan http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";> ejb/Registar ejb/Registar http://java.sun.com/

RE: Servlets (total beginner)

2005-11-22 Thread Milan Tomic
No, I wasn't. Now I have added it and it works fine now. Thank you, Milan -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:27 PM To: Tomcat Users List Subject: RE: Servlets (total beginner) Have you added the and elemen

Servlets (total beginner)

2005-11-22 Thread Milan Tomic
I have compiled my first servlet and copied it into apache-tomcat-5.5.12\webapps\servlets-examples\WEB-INF\classes but when I navigate my browser to http://localhost:8080/servlets-examples/DemoServlet or http://localhost:8080/servlets-examples/servlet/DemoServlet I got an HTTP 404 error message.

RE: JSP compilation

2005-11-21 Thread Milan Tomic
Yes, they have to be part of some package. Works fine now. :) Thank you. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:04 PM To: Tomcat Users List Subject: RE: JSP compilation > From: Milan Tomic [mailto:[EMAIL PROTEC

RE: JSP compilation

2005-11-21 Thread Milan Tomic
d servlet error: The import TestClass cannot be resolved An error occurred at line: 2 in the jsp file: /demo/TestMe.jsp Generated servlet error: TestCLass cannot be resolved to a type Can you help me? :( Milan -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, N

JSP compilation

2005-11-21 Thread Milan Tomic
I have created simple TestMe.jsp page and when I open it in Tomcat, I can see it OK. The problem is that I can't find, using WinXP WE search engine, TestMe.class file. Where is it? Are JSP files compiled?

RE: Calling EJBs

2005-11-21 Thread Milan Tomic
Nick (and others), Do you know which mailing list is for JBoss? Thank you, Milan -Original Message- From: Duan, Nick [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 4:49 PM To: Tomcat Users List Subject: RE: Calling EJBs 1. If you access an EJB app from another server, your

JSPs on Tomcat

2005-11-21 Thread Milan Tomic
I have problems running JSPs on Tomcat. I'm using latest release. I got compiler error that some imported classes could not be found. Where should I copy those classes? In the lib folder? Do I need to edit some configuration (xml) files also?

RE: Calling EJBs

2005-11-21 Thread Milan Tomic
che-tomcat-5.5.12\server\lib and apache-tomcat-5.5.12\webapps\jsp-examples\WEB-INF\lib, but it seems Tomcat still can't find it. Is there any other folder I should try or some XML settings file I should edit? Thank you in advance, Milan -Original Message- From: Martin Gainty [mailto:[

Calling EJBs

2005-11-20 Thread Milan Tomic
nt. :) What should I do? Thank you in advance, Milan