Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Daniel Mikusa
On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: > Comment below > > On Wed, Mar 7, 2012 at 8:53 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Amit, > > > > On 3/7/12 12:12 AM, amit shah wrote: > > > I am using

Re: JDBC Pool - Error handling during connection creation

2012-03-08 Thread Daniel Mikusa
On Thu, 2012-03-08 at 08:55 -0800, Amit wrote: > > > > On 08-Mar-2012, at 6:37 PM, Daniel Mikusa wrote: > > > On Thu, 2012-03-08 at 00:34 -0800, amit shah wrote: > >> Comment below > >> > >> On Wed, Mar 7, 2012 at 8:53 PM, Christopher Sc

Re: Tomcat 7 Cluster Issue

2012-03-09 Thread Daniel Mikusa
On Fri, 2012-03-09 at 08:38 -0800, Bruce Pease wrote: > Good Morning: > > > > I recently upgraded my tomcat containers from tomcat 6 to tomcat 7.0.26, and > the jdk from 1.6 to 1.7. This is a major jump for both Tomcat & the JVM. Have you considered rolling back one of them to the previous versio

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Daniel Mikusa
Neil, I think the instructions here are a pretty good start. I've used them a few times to setup LDAP authentication and they have been helpful. https://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html#JNDIRealm In my opinion, the hardest part is to figure out the correct LDAP options and

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Daniel Mikusa
- Original Message - From: "Neil Munro" To: "Tomcat Users List" Sent: Friday, March 16, 2012 10:56:56 AM Subject: Re: Tomcat, JSP and LDAP On 16 March 2012 14:41, Pid wrote: > On 16/03/2012 14:13, Neil Munro wrote: >> I have since made some minor progress with LDAP query's this login.

Re: configuring SSL for Tomcat with .pfx

2012-03-23 Thread Daniel Mikusa
- Original Message - > Hi everyone, > > I have been tasked with configuring SSL for Tomcat. I am new to > Tomcat configuration so I have been through the docs and consulted > many different articles in an attempt to figure out how all of this > works. > > I have been given the following (

Re: configuring SSL for Tomcat with .pfx

2012-03-26 Thread Daniel Mikusa
- Original Message - > Hi Daniel > > > > Thanks so much for replying. > > > > So you mentioned that I ought to import the existing PKCS12 > (remedy.optinet.net_cert.pfx) keystore into a Java Keystore > (remedy.optinet.net_cert.jks) using the foll

Re: configuring SSL for Tomcat with .pfx

2012-03-26 Thread Daniel Mikusa
- Original Message - > > > > Hey Daniel > > > > I seem to be making progress. Here’s what I’ve done so far: > > > > Imported the existing PKCS12 (remedy.optinet.net_cert.pfx) keystore > into a Java Keystore (remedy.optinet.net_cert.jks):

Re: Information regarding 12085 - Apache Tomcat servlet/JSP container default files

2012-03-27 Thread Daniel Mikusa
https://tomcat.apache.org/security-4.html#Fixed_in_Apache_Tomcat_4.1.0 or https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-2006 "The default installation of Apache Tomcat 4.0 through 4.1 and 3.0 through 3.3.1 allows remote attackers to obtain the installation path and other sensitive s

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Daniel Mikusa
- Original Message - > Hello, > > Thank you for your answers. > > > Teppei Yamada wrote > > 1. What version of Tomcat7 did you test? > On a Windows XP machine: Tomcat 7.0.20 > On a Debian Squeeze machine: Tomcat 7.0.22 > > > Teppei Yamada wrote > > 2. Where do you place context.xml i

Re: Running Tomcat as a Standalone desktop Application

2012-04-02 Thread Daniel Mikusa
- Original Message - > Thank you Chuck. Using Tomcat in the embedded form looks like a nice > way to > go. I see there was on older article on the web which described the > type > of solution we are looking for in the disconnected deployment of our > Web > App. > > http://www.javalobby.

Re: Discrepancy between Tomcat's connection pool and tomcat's report on memory leaks

2012-04-04 Thread Daniel Mikusa
- Original Message - > Hi, > > I am using Tomcat 7.0.25 in a Linux machine > > I am using Tomcat's connection pool > (org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am > using H2 as a file database. Where are you defining the connection pool? Can you include your configur

Re: jdbc pool properties

2012-04-04 Thread Daniel Mikusa
- Original Message - > My db connections seem to be lost after an extended period of > inactivity There could be a number of reasons that this occurs. Perhaps a network issue is causing them to be disconnected or the database may be timing them out. At any rate, it's not likely that

Re: SEVERE: Unable to start cluster.

2012-04-04 Thread Daniel Mikusa
- Original Message - > Hi List, > > Below is the error we are facing while starting tomcats. > > SEVERE: Unable to start cluster. > org.apache.catalina.tribes.ChannelException: > java.net.SocketException: Not > a multicast address; No faulty members identified. > The address you specifi

Re: Where can I find slow query log produced by tomcat-jdbc?

2012-04-06 Thread Daniel Mikusa
- Original Message - > Pool works nice, but > I get empty logs/pool.2012-04-06.log > No debug messages, no slow query's. > Configuration below Maybe you have really fast queries? I believe if you set "threshold=-1", it should log all queries. Not something you'd want to do in production

Re: Where can I find slow query log produced by tomcat-jdbc?

2012-04-06 Thread Daniel Mikusa
Just saw this too. https://issues.apache.org/bugzilla/show_bug.cgi?id=51237 You might want to check what version you are using. Dan - Original Message - > Pool works nice, but > I get empty logs/pool.2012-04-06.log > No debug messages, no slow query's. > Configuration below > > ---

Re: LockOutRealm IP logging

2012-04-16 Thread Daniel Mikusa
- Original Message - > Hello, > > Is it possible to get LockOutRealm to include the client's IP address Not as convenient, but if you have an access log enabled you should be able to find the IP address in there. Dan > in log messages, rather than just the username? Messages such as >

Re: Fail to load keystore type JKS with path C:\apache-tomcat-7.0.26-windows-x86\apache-tomcat-7.0.26\${user.home}

2012-04-17 Thread Daniel Mikusa
- Original Message - > Hello sir, > I am using tomcat 7.0.26 on windows. > I have read the manual "SSL Configuration HOW-TO" to configure SSL > for > my web application. > I create the .keystore file which reside on my home directory which > is > C:\Users\debabrattaj\.keystore. > Coding for

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-17 Thread Daniel Mikusa
- Original Message - > > As the 2 test wars were not correctly attached to my previous mail, > I'm attaching them in a zip archive now. You cannot attach files to the list. The list will automatically strip the attachments. Dan > > > Regards, > Maria > > > На 17 април 2012, 15:48,

Re: WebSocket Help

2012-05-02 Thread Daniel Mikusa
- Original Message - > But the whole question was not answered there. They said that this > question > is from user list. http://markmail.org/message/v5uztyakaczjxxrr > kindly tell me how to increase 20sec timeout and how can we > explicitly > close the connection.? > I am in trouble plea

Re: Tomcat Stdout Rotate

2012-05-15 Thread Daniel Mikusa
- Original Message - > Chris, > > Thank you so much for the suggestions. > > It's a tomcat on windows so some options of logs or files rotation > available on Li/Unix won't work. I tried to write script to rotate > but failed b/c as you said, I can't move log files while tomcat is > run

Re: tomcat slowing down

2012-05-16 Thread Daniel Mikusa
- Original Message - > Hi, > > we have the problem that tomact is slowing down after a while > until even the manager app becomes unusable. > > Our System: > 2 Quadcores/24 GB Mem > OpenSuse 11.4 > tomcat 6.0.29 > wicket/hibernate/postgres > > Max Memory and total Memory 2GB > Free Mom

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Daniel Mikusa
- Original Message - > I am using MongoDB through the Java driver allowing up to 100 > connections to the MongoDB server. > I also use DBCP with a max size of 50 JDBC connections. > My webapp uses about 150 JAR files. > There is no native libraries loaded from my webapp as far as I know. >

Re: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Daniel Mikusa
-XX:MaxPermSize=512M -XX:-UseConcMarkSweepGC -XX:+UseStringCache > -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/example/logs > > -Jorge > > > > > > > On Thu, Jun 7, 2012 at 12:07 PM, Daniel Mikusa > wrote: > > - Original Message - &g

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

2012-06-13 Thread Daniel Mikusa
- Original Message - > I am creating a website and implement security. For this I am using > Form > based authentication and JAASRealm. I have implemented the login > module and > able to authenticate but while authorizing tomcat is not able to load > the > user and role classes once I star

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-19 Thread Daniel Mikusa
- Original Message - > I followed directions for install and config here: > http://wolfpaulus.com/journal/mac/tomcat7 > > and here: > > http://www.janhellevik.no/blog/?p=323 > > When attempting to start Tomcat I get the following error…. ( I've > googled the _ _ it out of this error and

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Daniel Mikusa
- Original Message - > > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home > Not sure? > I have sub directories: > > bin bundle lib man > Try running "$JAVA_HOME/bin/java -version". Dan > the install of tomcat at /usr/local is listed user "root" and owner

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Daniel Mikusa
- Original Message - > > From: Samuel V Green III [mailto:macun...@gmail.com] > > Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion" > > > I was trying to follow the instructions here: > > http://wolfpaulus.com/journal/mac/tomcat7 > > I would strongly recommend (as did Ch

Re: Tomcat server start up taking excessive time

2012-06-26 Thread Daniel Mikusa
- Original Message - > Hi > > Can any one give a cue as to why tomcat is taking such a long time to > start up on windows-7 64 bit machine, while the same used to startup > in mere seconds on a 32 bit windows XP machine? I have pasted the > server startup console info below. > > -Orig

Re: 7.0.4 Parallel deployment, war name invalid

2012-06-28 Thread Daniel Mikusa
- Original Message - > > > Hi, > > was trying the parallel deployment feature: > - have an app xapp under webapps, running > - created a new war of xapp, named xapp##001.war > - placed the under webapps > > no xapp#001 folderlogs says: > > SEVERE: The war name [xapp##001.war] is in

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Daniel Mikusa
- Original Message - > Hi All, > > I am getting class cast exception when casting DataSource to > BasicDataSource. > The same is executed when run on JDeveloper. > > Environment : Tomcat 7.X > DB : Oracle > > Used : tomcat-dbcp.jar,ojdbc14.jar Where do you have these deployed? WEB-INF/

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Daniel Mikusa
- Original Message - > Thanks for your reply, > > 1. $CATALINA_HOME/lib > > 2. conf/context.xml? > > 3. In y application/lib also tomcat-dbcp.jar,ojdbc14.jar files are > available. Please suggest how to debug any useful site. I'm not sure I fully understand this statement. Are you sayi

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - > Jose, > Tomcat is using JDK 1.5 and its JDBC driver.So I am not sure if I > need to upgrade the JDBC driver. >I suspect that whene DB is getting restarted, Are you restarting the Oracle database without restarting your Tomcat instance? Depending on how your appli

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - > Thanks Daniel and Jose. > Do you knoe what is the root cause of this issue It's hard to say since you have not answered the questions from my previous email, you have not posted your data source configuration and you have only posted a partial

Re: java.sql.SQLException: No more data to read from socket

2012-07-19 Thread Daniel Mikusa
- Original Message - > Thanks Daniel. > > -> DB is getting restarted every weekend but tomcat is not getting > restarted at the same time. > just fyi this issue doesnt happen every time. It happens once every > month even if the DB is getting restarted every week. >

Re: java.sql.SQLException: No more data to read from socket

2012-07-20 Thread Daniel Mikusa
- Original Message - > Daniel, > It is a web application. I was just referring to the java code > in the webapplication. > This is how we retrieve the connection > Class.forName(driver); > ObjectPool connectionPool = new GenericObjectPool(null); &

Re: java.sql.SQLException: No more data to read from socket

2012-07-20 Thread Daniel Mikusa
- Original Message - > Daniel Mikusa wrote: > ... > > > > > This doesn't look like a Tomcat issue. Your app is maintaining its > > own connection pool, it is not using one provided by Tomcat. I > > would suggest that you talk with your devel

Re: java.sql.SQLException: No more data to read from socket

2012-07-24 Thread Daniel Mikusa
- Original Message - > > Felix/Daniel, > I have a question on your solution. > To mitigate the problem of handing out broken connections > > the pool often > > has functionality to check a connection, before it hands it > > to the > > client. When using

Re: Permanent servlet in TC7

2012-07-26 Thread Daniel Mikusa
- Original Message - > Hi, > > In TC7, is there a way to tell Tomcat to never unload a given servlet > unless Tomcat itself is being shutdown? I want a single servlet > instance that I can know will exist for the life of the tomcat > process without being unloaded & reloaded (unless someo

Re: Error within Tomcat

2012-08-01 Thread Daniel Mikusa
- Original Message - > Has anyone seen this error before or can cast any light on what the > issue may be? > > RuntimeException: Could not create the temp file for upload: > /opt/econtent/tomcat/latest/temp/upload***.tmp Looks like the specified file cannot be created. My first thought w

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-06 Thread Daniel Mikusa
- Original Message - > >They are. However, if you have classes in a shared classloader used > >by > both webapps, and such a class is coded badly, references can leak > from > one webapp to another. > > > >BTW, jcifs.http.NtlmHttpFilter hasn't been viable for some years (no > possibility o

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Daniel Mikusa
- Original Message - > Hello. > > I have an use case in which I would want to copy an > `org.apache.tomcat.jdbc.pool.DataSource`, to have two disjoint > connection > pools, with some pool properties changed. > > My first thought was to do something like this: > > PoolProperties props = n

Re: Unable to start cluster (java.net.BindException: Cannot assign requested address)

2012-08-15 Thread Daniel Mikusa
On Aug 15, 2012, at 4:31 PM, Jeff Hall wrote: > Dan, thanks for the reply. I don't know why port 49352 was in use when I ran > the test. I started the cluster up a second time after making sure all java > processes were stopped, and netstat reported no use of port 49352 (the > shutdown port f

Re: required web applications which run on tomcat

2012-08-17 Thread Daniel Mikusa
On Aug 17, 2012, at 8:55 AM, Ragini wrote: > Hi all, > > I am looking for some web applications which run on tomcat. I need them > to do some experiments for my research. I would like to do some attacks, > try to do some malicious behavior etc. Absolutely with no intention to > harm people ! jus

Re: required web applications which run on tomcat

2012-08-17 Thread Daniel Mikusa
On Aug 17, 2012, at 9:01 AM, Daniel Mikusa wrote: > On Aug 17, 2012, at 8:55 AM, Ragini wrote: > >> Hi all, >> >> I am looking for some web applications which run on tomcat. I need them >> to do some experiments for my research. I would like to do some attack

Re: Class not Found, but it's in WEB-INF/classes

2012-08-27 Thread Daniel Mikusa
On Aug 25, 2012, at 3:52 PM, Jonathan Rosenberg wrote: > On Sat, Aug 25, 2012 at 3:40 PM, Konstantin Kolinko > wrote: > >> 2012/8/25 Jonathan Rosenberg : > >>> BTW: it's Tomcat 7.0.12 > >> When Tomcat starts, its prints its version number, e.g. >> INFO: Starting Servlet Engine: Apache Tomcat/7

Re: Tuning session replication on clusters

2012-09-06 Thread Daniel Mikusa
On Sep 5, 2012, at 8:48 PM, kharp...@oreillyauto.com wrote: > I'm working with Lee on this as well, so I can help answer most of that. > > In short: Yes, all our replication is working well. We have keepalived > acting as a vrrp device (no round-robin dns) in front of a few web servers > (apach

Re: how to read files in file system

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 3:11 AM, IBM partner Gestione Elaboratori wrote: > With jsp i can read files in the file system only if there are located under > the directory webapps//. > > If I read a file ,for example, in c:/ Tomcats signals an error (se > atthachment) Again, there is no attachment. The

Re: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 8:21 AM, Aditi Sinha wrote: > Hi, > > > > We have a web server hosted on Apache Tomcat Version 7.0.22. > > Machine details: Windows 2008 server machine, 32-bit OS > > Java version: jdk1.6.0_25 > > > > Two HTTP connectors are defined in server.xml. Please include the f

Re: Clusterning tomcat app server for production use

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 10:11 AM, Ashish Kulkarni wrote: > HI > Which one is better for clustering tomcat in production environment > > > - mod_jk the classic Apache/Tomcat module > - mod_proxy another Apache module > I this explains the choice well. http://www.tomcatexpert.com/blog/2010/06/1

Re: Tomcat JNDI custom resource factory questions

2012-09-12 Thread Daniel Mikusa
On Sep 12, 2012, at 1:52 AM, Kirill Ilyukhin wrote: > Hi! > > I am using Tomcat 7.0.29 with a custom JNDI resource factory > (http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories). > The factory creates a connection to data server which then can be >

Re: HTTP NIO connector not supporting IPv6

2012-09-12 Thread Daniel Mikusa
IPv6, including BIO, NIO, and >>> native/APR. However, how you configure the connector will affect which >>> protocol is supported. >>> >>> As far as I've been able to tell from empirical testing (see previous >>> threads), if you leave off the ad

Re: HTTP NIO connector not supporting IPv6

2012-09-12 Thread Daniel Mikusa
On Sep 12, 2012, at 2:44 PM, Jeffrey Janner wrote: >> -Original Message- >> From: Daniel Mikusa [mailto:dmik...@vmware.com] >> Sent: Wednesday, September 12, 2012 10:00 AM >> To: Tomcat Users List >> Subject: Re: HTTP NIO connector not supporting IPv6 >

Re: Tomcat 6.0.33 and Spring Insight

2012-09-13 Thread Daniel Mikusa
On Sep 13, 2012, at 11:15 AM, anuj kumar wrote: > Hi, > I am working on Tomcat 6 and I want to integrate Spring Insight into my > Tomcat 6 instance. Can anyone help me in achieving the same. Save yourself some time and install the tc Server Developer Edition. It comes with Spring Insight instal

Re: Tomcat 6.0.33 and Spring Insight

2012-09-13 Thread Daniel Mikusa
gt; Cheers! > Anuj > > On Thursday, 13 September 2012, Daniel Mikusa wrote: > >> On Sep 13, 2012, at 11:15 AM, anuj kumar wrote: >> >>> Hi, >>> I am working on Tomcat 6 and I want to integrate Spring Insight into my >>> Tomcat 6 instance. Can any

Re: mod_jk vs. mod_proxy

2012-09-18 Thread Daniel Mikusa
On Sep 18, 2012, at 10:04 AM, Shanti Suresh wrote: > All, > > I wanted your opinion on this topic. I was heavily into using "mod_jk" a > few years back. But I have since started using mod_proxy for the following > reasons: > (1) mod_proxy is easier to configure > (2) I remember reading that "mo

Re: exploting tomcat vulnerability with example

2012-09-19 Thread Daniel Mikusa
On Sep 19, 2012, at 5:02 AM, Ragini wrote: > Hi all, > > For my research work I want to have different attacking scenarios which > exploits vulnerability of JAVA based applications. This java applications can > be just any web-application, desktopapplication or any other. > > For this, I was t

Re: configured truststore ignored by tomcat

2012-09-19 Thread Daniel Mikusa
On Sep 19, 2012, at 2:40 AM, marco_strull...@swissre.com wrote: > Hi all, > I have a tomcat 6.0.35 that needs to connect to a remote server using > https, so it is acting as a https client: it means that tomcat must have > the remote server certificate installed. > > The ideal solution I found

Re: ajp_ilink_receive error - please advise

2012-09-20 Thread Daniel Mikusa
On Sep 19, 2012, at 5:38 PM, Django Radonich-Camp wrote: > hello. > > we are running an application on tomcat and experiencing intermittent > periods where the application is non-responsive and thus non-functional. > the general set up is apache and tomcat, with mod_proxy_ajp as the > connector (

Re: Installer info

2012-09-20 Thread Daniel Mikusa
On Sep 20, 2012, at 10:05 AM, J.V. wrote: > We have an application to install that involves deployment of wars to > /webapps/. > > Before installation, I need to verify some things about the version of tomcat > installed. Would "bin/version.sh|bat" work? $./bin/version.sh Using CATALINA_BASE

Re: ajp_ilink_receive error - please advise

2012-09-21 Thread Daniel Mikusa
uring thread dumps? this will be > difficult however because the incidents are random and so far, mostly > ocurring in the middle of the night. There are a few ways to do this. I find running "kill -3 " to be the easiest. You could also use "jstack " Dan > &

Re: Downloading binary version of vulnerable tomcat 6.0.0 - 6.0.20 to exploit the vulnerabilty CVE-2009-2693

2012-09-25 Thread Daniel Mikusa
On Sep 25, 2012, at 7:15 AM, Ragini wrote: > Hi, > > I want to try to exploit tomcat vulnerability CVE-2009-2693. From site it > says that the affected version are from 6.0.0 to 6.0.20. I could not find any > of this on official apache tomcat website. I want to do some tests on that > vulnerab

Re: Tomcat 7.0 and Runtime.getRuntime()

2012-09-26 Thread Daniel Mikusa
On Sep 25, 2012, at 8:46 PM, Ray Collins wrote: > I am using Tomcat7.0. The web application I created executes a script from > the command line using Runtime.getRuntime(). This script sends an http: > request to another server that is on the local network. For Some > reason the script executes

Re: Question on realm configuration in TC 6 / 7

2012-10-01 Thread Daniel Mikusa
On Sep 29, 2012, at 5:41 PM, Josh Gooding wrote: > It seems that I have run into something that seems a bit strange. I have > configured 4 separate web applications to each have their own context.xml > files. There are multiple places where you can put context configuration. Where did you co

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Daniel Mikusa
On Oct 1, 2012, at 5:42 AM, Julien Martin wrote: > Hello, > > I am experiencing trouble with my embedded tomcat: when I run my Spring app > using the embedded Tomcat, it seems the properties are not resolved. What about using a standard (i.e. not embedded, not part of Eclipse) Tomcat installat

Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread Daniel Barcellos
could you missing something on you web.xml ? 2012/10/16 majin_clo...@t-online.de > Hello guys, > > well I could successfull deploy my web-application "test" on > tomcat. > My problem is now: If I want to run my web-application I get the > following error: > > FAIL - Application a

Re: asking advice for tomcat 7 config

2012-10-17 Thread Daniel Barcellos
I have faced similar issues as well! I have quite similar tomcat6 over a similar hardware infrastructure and sometimes we noticed some unavailable issues as well! I already tried tuning tomcat but not success! The only thing I did last time was increase the maxthread from 200 to 500 and another

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
Hey I'm facing similar problems too and I guess with a good configuration of my server.xml would be a good start point. So could kindly share a good Connector configuration in this mail thread? What would that be the best choice in terms of max min threads keep alived timeout configurations ?

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
ok... thanks for nothing... 2012/10/18 Pid > On 18/10/2012 12:22, Daniel Barcellos wrote: > > Hey > > > > I'm facing similar problems too and I guess with a good configuration of > my server.xml would be a good start point. > > > > So could kindly sha

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
ource when downloading things from my app. Well I will wait when those thread problems come bach and see if I can catch some thread dumps and stuffs... Thanks! 2012/10/18 André Warnier > Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >

Re: tomcat jdbc

2012-10-19 Thread Daniel Mikusa
On Oct 18, 2012, at 2:51 PM, S Ahmed wrote: > Hi, > > When using the jdbc connection pool library, would it be possible to > somehow record the # of connections that are being used, > when the # of connections in the pool are being saturated etc., or is that > something that > would have to be m

Re: tomcat jdbc

2012-10-22 Thread Daniel Mikusa
t 19, 2012 at 5:37 PM, Pid wrote: > >> On 19/10/2012 16:18, Daniel Mikusa wrote: >>> On Oct 18, 2012, at 2:51 PM, S Ahmed wrote: >>> >>>> Hi, >>>> >>>> When using the jdbc connection pool library, would it be possible to &g

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Daniel Barcellos
I also facing similiar issues and what I'm noting is that almost every question is either about tomcat's perfomance and optimization or minimal setup. It woul be wonderful if exists some sort of tutorial or best pratices about that point... I'll track this thread too... 2012/10/23 Charles Richard

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Daniel Mikusa
>> Hi, >> >> I'm testing performance of our Java application in Tomcat (6.0.30) and we >> have maxThreads set to 750. I noticed that when i did a netstat -an | grep >> my_ajp_port, i saw around 860 connections. That does not necessarily mean that you have 860 threads running. What are you tr

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Daniel Mikusa
e CPU. Dan > My OS is CentOS 5.8 for my sandbox and Red Hat 5.8 for my production boxes. > > Thanks, > Charles > > On Tue, Oct 23, 2012 at 12:25 PM, Daniel Mikusa wrote: > >>>> Hi, >>>> >>>> I'm testing performance of our Java applicat

Re: insfrastructure set list

2012-10-23 Thread Daniel Barcellos
hat they will give us. > > > > Is that possible that you guys share some experience and minimal setup > due > > to those above scenario? > > > > Thanks!!! > > Daniel, > > I think that you are trying to use this list incorrectly. If everyone > that wanted

Re: insfrastructure set list

2012-10-23 Thread Daniel Barcellos
from my iPhone On 23/10/2012, at 18:57, Mark Eggers wrote: > On 10/23/2012 1:12 PM, Daniel Barcellos wrote: >> Hi Chris, >> >> you've said: "I think that you are trying to use this list incorrectly...". >> >> Thank you for your patience in advis

Re: insfrastructure set list

2012-10-23 Thread Daniel Barcellos
Thank you só much Christofer that's what I'm talking about!!! Muito obrigado pela ajuda!!! Sent from my iPhone On 23/10/2012, at 22:38, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Daniel, > > On 10/23/12 4:12 PM, Daniel Barc

Re: SSL BIO/NIO setup with openssl CA puzzle

2012-10-26 Thread Daniel Mikusa
On Oct 26, 2012, at 5:11 AM, Brian Burch wrote: > My production tomcat 7.0.26 (and its predecessors back as far as tc 5) have > been running with its original SSL server certificate in a JKS keystore for > many years. > > I decided to retire my ancient java-based Certificate Authority and creat

Re: unknown state in VisualVM

2012-10-29 Thread Daniel Mikusa
On Oct 29, 2012, at 8:37 AM, Charles Richard wrote: > Hi, > > I had a thread a while back but my configuration has changed and so has my > issue, so hence a new thread. > > My config: > > CentOS 5.8 > Apache 2.23 > 3 tomcat instances (6.0.30) with each ajp_port with a connectionTimeout > settin

Re: unknown state in VisualVM

2012-10-29 Thread Daniel Mikusa
le'd "errno=24" and it came up with "Too many open files". Dan > If I just restart Apache, i can connect to Tomcat again which > tells me Tomcat wasn't down. > > Cheers, > Charles > > On Mon, Oct 29, 2012 at 10:39 AM, Daniel Mikusa wrote

Re: How to get the number of live threads in Tomcat 6?

2012-10-29 Thread Daniel Mikusa
On Oct 29, 2012, at 12:39 PM, Ravi Joshi wrote: > To get the number of live threads, previously i was using JConsole, which was > pointing to tomcat PID. but it looks like JConsole is not updating the graphs > fastly. How fast do you need the graphs updated? How fast are you seeing the graphs

Re: redirects https only for one app

2012-10-30 Thread Daniel Mikusa
On Oct 29, 2012, at 7:28 PM, Ted Smith wrote: > Hello: > > I have several web apps (war files) under single host and webapps dir. > I need to force HTTPS only for one of them and leave others unchanged. My opinion is that the easiest fix would be to modify ".war/WEB-INF/web.xml". > config web.

Re: SSL BIO/NIO setup with openssl CA puzzle

2012-10-31 Thread Daniel Mikusa
On Oct 31, 2012, at 10:23 AM, Brian Burch wrote: > On 26/10/12 13:24, Daniel Mikusa wrote: >> On Oct 26, 2012, at 5:11 AM, Brian Burch wrote: >> >>> My production tomcat 7.0.26 (and its predecessors back as far as tc 5) have >>> been running with its origina

Re: context.xml - how to escape a double quote in an attribute value

2012-11-01 Thread Daniel Mikusa
On Nov 1, 2012, at 11:32 AM, Campbell, Lance wrote: > In a context.xml file in a I need a value of an attribute to > contain a double quote. Is there any way to escape a double quote so it will > work as a value in an attribute? Have you tried """? Dan > > > Thanks, > > Lance Campbel

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: > Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 > > I have a Grails app that I'm deploying to this Tomcat. How are you deploying the application? What are the exact steps that you are taking? Dan > During the > deployment, I see the follo

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 3:10 PM, Jonathan Rosenberg wrote: > On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: >> On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: >> >>> Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 >>> >>> I have a Grails app that I&

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 4:04 AM, Miguel Gonzalez wrote: > Dear all, > > When an user is logged on our system (a Struts app), when the session > expires, the user gets a java error report. What does the user see when this happens? Is there a stack trace? If so, can you include the stack trace he

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 9:51 AM, Miguel Gonzalez wrote: > > >>> Dear all, >>> >>>When an user is logged on our system (a Struts app), when the session >>> expires, the user gets a java error report. > >> What does the user see when this happens? Is there a stack trace? If so, >> can you inc

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 10:24 AM, Miguel Gonzalez wrote: > > >> Hard to say without more details. Seeing the stack trace would be a good >> start. > > I attach a screenshot of one one of the stack traces we get Sorry. The attachment didn't come through. The list usually removes them. Dan >

Re: handling expired sessions in Tomcat

2012-11-05 Thread Daniel Mikusa
On Nov 5, 2012, at 10:24 AM, Miguel Gonzalez wrote: > > >> Hard to say without more details. Seeing the stack trace would be a good >> start. > > I attach a screenshot of one one of the stack traces we get Please don't send stuff directly to people off the list. This creates a gap in the

Re: jdbc connection debugging, tips?

2012-11-13 Thread Daniel Mikusa
On Nov 12, 2012, at 10:55 PM, S Ahmed wrote: > I can't seem to connect to my mysql database from my java code, but I can > do it via terminal using the user and password that is in my spring context > file. > > I also tried modifying it to localhost:3306 but that didn't change anything > (it defa

Re: jdbc connection debugging, tips?

2012-11-13 Thread Daniel Mikusa
your application starts. Dan > > > > On Tue, Nov 13, 2012 at 8:18 AM, Daniel Mikusa wrote: > >> On Nov 12, 2012, at 10:55 PM, S Ahmed wrote: >> >>> I can't seem to connect to my mysql database from my java code, but I can >>> do it

Re: Problem with tomcat and JRE1.7

2012-11-16 Thread Daniel Mikusa
On Nov 16, 2012, at 2:06 PM, Ralph Grove wrote: > I just upgraded my JRE from 1.6 to 1.7, and the tomcat home page now throws > an exception (below). The example apps, and my own apps are still working OK, > though. > > Anyone else noticed this problem? Have not seen this before. Just a guess

Re: Problem with tomcat and JRE1.7

2012-11-19 Thread Daniel Mikusa
the location from where they were loaded. Look to see if any of the Tomcat / JSP classes are being loaded from anywhere other than "$CATALINA_HOME/lib" or "$CATALINA_BASE/lib". Dan > > Ralph > > On 11/16/12 3:01 PM, Daniel Mikusa wrote: >> On Nov 16, 2012

Re: My app stop respoding after 3 to 5 days in my Redhat server

2012-11-19 Thread Daniel Mikusa
On Nov 19, 2012, at 6:52 AM, Anuroop wrote: > Hi, > > > > I am new for tomcat and linux. > > > > I have hosted my application on my redhat server, from last 1 week I am > observing that its suddenly stops working after continuously running after 2 > to 3days. > > > > Observation: > > >

Re: SimpleTCPCluster

2012-11-20 Thread Daniel Mikusa
On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: > Hi, > > I'm trying to test simple session sharing using SimpleTCPCluster on > Tomcat 7.0.32. > > Following the documentation, I've uncommented the className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> element, and > ensured is in t

Re: DB Connection Pool

2012-11-21 Thread Daniel Mikusa
On Nov 21, 2012, at 5:36 AM, Milan Tomic wrote: > > After 1 month of Tomcat 6.0.18 running, That's a really old version, you should strongly consider upgrading to the latest Tomcat 6.0.x or 7.0.x release. > I have 50 opened JDBC connections, which should be closed, but they aren't. How are yo

Re: DB Connection Pool

2012-11-21 Thread Daniel Mikusa
On Nov 21, 2012, at 9:45 AM, Milan Tomic wrote: > > >> That's a really old version, you should strongly consider upgrading to the >> latest Tomcat 6.0.x or 7.0.x release. > My SSO (old JOSSO version) works only with 6.0.18. > >> How are you determining this? Are you looking at open connections

Re: Install - Tomcat Server on Mac OS X 10.8.2

2012-11-26 Thread Daniel Mikusa
On Nov 26, 2012, at 4:46 PM, Naga Kishore Vankayala wrote: > Hi All > > > I got a new mac book and am trying to install tomcat server on my mac book. I > searched formac version of tomcat and could not find it. Appreciate if > any one can point me to a site where i can download the server

<    1   2   3   4   5   6   7   8   9   10   >