Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread Pid *
On 26 Dec 2011, at 09:50, S B wrote: > On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > >> On 23/12/2011 04:57, S B wrote: >>> On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: >>> >>>> On 22/12/2011 10:34, Konstantin Kolinko wrote: >>>>> 2011/12

Re: Security Constraints With URL Rewrite filter

2011-12-26 Thread Pid *
On 25 Dec 2011, at 22:03, Jerry Malcolm <2ndgenfi...@gmail.com> wrote: > Thanks for the input. This has turned into something really ugly. Let me > go back and summarize the situation: > > I have an established large application made up of about 10 separate > webapps (contexts) to keep it modula

Re: MBean InitialContext() Tomcat query- pls help

2011-12-24 Thread Pid
On 23/12/2011 04:57, S B wrote: > On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > >> On 22/12/2011 10:34, Konstantin Kolinko wrote: >>> 2011/12/20 S B : >>>> Hi, >>>> >>>> I created and deployed an MBean in my tomcat. It uses datas

Re: Running not multithreaded application

2011-12-24 Thread Pid
On 23/12/2011 02:05, hernan wrote: >> >> On 12/14/11 5:45 PM, hernan wrote: >>> I'm using Tomcat 7.0 for developing a new application. A key >>> component in the application have to run an external not >>> multithreaded application. >>> >>> Since I'm not an experienced user

Re: Hosted environment

2011-12-24 Thread Pid
On 23/12/2011 18:46, Mark Eggers wrote: > - Original Message - > >> From: Pid * >> To: Tomcat Users List >> Cc: >> Sent: Friday, December 23, 2011 9:42 AM >> Subject: Re: Hosted environment >> >> On 22 Dec 2011, at 18:29, Ma

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-24 Thread Pid
On 23/12/2011 14:47, Christopher Schultz wrote: > Saravanan, > > On 12/23/11 7:03 AM, Saravanan L wrote: >> Please find the latest thread dump attached with mail. > >> Tomcat 7 still crashes without acceptCount. I am wrong on this >> assumption. > >> The response code is 504. It takes about 2 h

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-24 Thread Pid
On 23/12/2011 10:52, Saravanan L wrote: > Please find the dump below. > > One more interesting thing I found out, was when I remove > acceptCount=1 My tomcat 7 works fine. Note the 'acceptCount' definition: http://tomcat.apache.org/tomcat-7.0-doc/config/http.html This attribute specifies t

Re: Creating CSR for Purchasing SSL Certificate from VeriSign

2011-12-24 Thread Pid
On 23/12/2011 22:42, Mark Eggers wrote: > - Original Message - > >> From: Christopher Schultz >> To: Tomcat Users List >> Cc: >> Sent: Friday, December 23, 2011 2:08 PM >> Subject: Re: Creating CSR for Purchasing SSL Certificate from VeriSign >> >> -BEGIN PGP SIGNED MESSAGE- >>

Re: Hosted environment

2011-12-23 Thread Pid *
> Sigh, it's not the gospel according to Mr. Eggers :-p. I mock you not sir. p > I just read and follow instructions / source code / information on the 'net / > snappy answers to my not so bright questions. Once I figure it all out (TM), > I'll write it up and post on a Wiki somewhere. > > H

Re: Hosted environment

2011-12-23 Thread Pid *
On 22 Dec 2011, at 18:29, Mark Eggers wrote: > - Original Message - > >> From: r.sriram >> To: Tomcat Users List >> Cc: >> Sent: Wednesday, December 21, 2011 5:27 PM >> Subject: Re: Hosted environment > Hmm, it certainly does work. I currently have about 100 virtual hosts, 8 > CATAL

Re: MBean InitialContext() Tomcat query- pls help

2011-12-22 Thread Pid
On 22/12/2011 10:34, Konstantin Kolinko wrote: > 2011/12/20 S B : >> Hi, >> >> I created and deployed an MBean in my tomcat. It uses datasource to connect >> to DB. >> >> My questions is: >> >> When I create InitialContext() inside MBean's constructor and pass the >> envContext to DBManager class t

Re: Error in documentation

2011-12-22 Thread Pid
On 22/12/2011 15:00, Peter Šály wrote: > Hi all, > > I want to point on wrong setting example for tomcat manager in the > documentation: > http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access It is not wrong. You just omitted the line beforehand: "Th

Re: Hosted environment

2011-12-22 Thread Pid
In case you prefer the gospel according to the erudite Mr Eggers... On 21/12/2011 15:24, Mark Eggers wrote: > Well, you sort of kind of followed that. > > Now, as Pid has also pointed out, you will need to configure mod_proxy, > mod_proxy_ajp, or mod_ajp to connect Apache HTTP

Re: Hosted environment

2011-12-22 Thread Pid
On 20/12/2011 11:55, Pid wrote: From earlier in the thread, as you seem to be having trouble reading these things: >> * Is there any other configuration change that I need to do > > Yes, you will need to configure the connection between HTTPD and Tomcat, > using mod_proxy or mod

Re: Hosted environment

2011-12-22 Thread Pid
7;re getting here, you might consider that the price is doing things our way. p > On 12/21/2011 11:19 PM, Pid wrote: >> On 21/12/2011 17:38, r.sriram wrote: >>> is it possible for you to give me steps on what I should do please to >>> make the virtual host work. >

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-22 Thread Pid
On 22/12/2011 04:51, Caldarale, Charles R wrote: >> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] >> Subject: Re: Login fails, then works subsequently (Tomcat 7) > >> No "testWhileIdle" / "validationQuery" settings? > >> 10 to 1 you've got stale connections in your pool > > Did we

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-22 Thread Pid *
On 22 Dec 2011, at 02:22, Brian Burch wrote: > On 22/12/11 06:39, Jerry Malcolm wrote: >> About a month ago, I upgraded two different servers from TC 5 to TC 7. The >> migration went cleanly, and everything has been working fine with the >> exception of one thing. About 50% of the time, when I

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-22 Thread Pid *
On 21 Dec 2011, at 22:52, Chema wrote: >> 10 to 1 you've got stale connections in your pool; first try fails, second >> one gets a fresh connection > > I thought the same > > > autoReconnect > Should the driver try to re-establish stale and/or dead connections? Nope. Like Hassan said, use a vali

Re: [Discussion]Problem passing parameters to a Method ( Looking for incorrect argument Type )

2011-12-21 Thread Pid
On 21/12/2011 18:05, Paul Nicolucci wrote: > > > I'm just following up on this issue as I did not see any responses from the > community. Can anyone help out here? Please don't cross post. > (See attached file: JSF20EL.war) The list strips attachments. > Instructions for reproducing this iss

Re: Hosted environment

2011-12-21 Thread Pid
pecific answers. p > --- > > > > On 12/21/2011 10:09 PM, Pid wrote: >> On 20/12/2011 11:55, Pid wrote: >>> On 20/12/2011 09:21, r.sriram wr

Re: Table display disappears when moving to Tomcat 6.0.29

2011-12-21 Thread Pid
On 21/12/2011 13:09, Zonsheine, David wrote: > Hi, > > I want to share a table display issue we spent a few days on fixing when > moving our tomcat webapp from tomcat 6.0.16 to 6.0.32. > > It took us a while to understand that an 'offers' page does not work > correctly (does not display a tabl

Re: Hosted environment

2011-12-21 Thread Pid
On 20/12/2011 11:55, Pid wrote: > On 20/12/2011 09:21, r.sriram wrote: >> Thanks Andre. >> a few quick questions. >> >> Questions with respect to your response: >> Your response: >> >> >>... >> >> >> >>

Re: Hosted environment

2011-12-21 Thread Pid
On 21/12/2011 07:00, Pid * wrote: > On 21 Dec 2011, at 06:52, "r.sriram" wrote: > >> Thanks Mark. >> >> this is great. I just wanted to make sure, for each of the virtual >> hosts, I can create the webapps directory outside of Apache directory >> str

Re: Survivor space fine tuning

2011-12-21 Thread Pid *
On 21 Dec 2011, at 14:23, Pandian R wrote: Hi, This is the problem I am facing. I have a tomcat 7 server running on JDK 7 - Win2008 32 bit. Exactly which versions? There are 23 of Tomcat to choose from. I am monitoring all the memory areas. I am seeing the Survivor Space is highly consumed al

Re: Hosted environment

2011-12-21 Thread Pid *
On 21 Dec 2011, at 13:44, "r.sriram" wrote: > Hello, > > I followed: http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts > and made the following changes: > > C:\inetpub\vhosts\x.com\httpdocs\webapps > > added the following in Server.xml: > > > appBase="C:\inetpub\vhosts\x.

Re: Hosted environment

2011-12-20 Thread Pid *
On 21 Dec 2011, at 06:52, "r.sriram" wrote: > Thanks Mark. > > this is great. I just wanted to make sure, for each of the virtual > hosts, I can create the webapps directory outside of Apache directory > structure can't I? e.g. > > C:\inetpub\vhosts\x.com\httpdocs\webapps > C:\inetpub\vhosts\

Re: Can't get APR running w/ Tomcat 6.0.33 (Debian)

2011-12-20 Thread Pid
On 20/12/2011 17:33, Gregor S. wrote: > Ok, here's some news: > > When using the APR without SSL by changing the attribute of > APRLiefeCycleListener to > > SSLEngine="off" /> > > it's working. > > My SSL-version is > > OpenSSL> version > OpenSSL 0.9.8c 05 Sep 2006 Should probably update tha

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid *
On 20 Dec 2011, at 15:47, S B wrote: > On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > >> On 20/12/2011 11:57, S B wrote: >>> MBeanImpl code is packaged as a war and deployed in tomcat along with >> it's >>> mbeans-descriptor.xml >>> I am n

Re: How much connections are handled per thread?

2011-12-20 Thread Pid
On 20/12/2011 13:36, uwe.hellm...@t-systems.com wrote: > Hello together, > > just a short question. > Does a single Tomcat thread handle more than one connection at a time? (kind > of multiplexing) No. > Is it possible that if there are more connections at a time per thread that > there is a b

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
> On Tue, Dec 20, 2011 at 5:18 PM, Pid wrote: > >> On 20/12/2011 11:46, S B wrote: >>> Code Sample that fails with exception(I am invoking reload() from >> jconsole >>> ): >>> >>> class MBeanImpl implements MBeanInterface

Re: Hosted environment

2011-12-20 Thread Pid
On 20/12/2011 09:21, r.sriram wrote: > Thanks Andre. > a few quick questions. > > Questions with respect to your response: > Your response: > > >... > > > >... > > > Questions: > > * which is the file where I should add these lines tomcat/conf/server.xml > * Is hos

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
somewhere else? p > On Tue, Dec 20, 2011 at 4:59 PM, S B wrote: > >> Hi, >> I am using : >> >> Server version: Apache Tomcat/6.0.32 >> OS Name:Mac OS X >> OS Version: 10.6.8 >> Architecture: x86_64 >> JVM Version:1.6.0_29-b

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
the question, so the conversation order is easily readable. Please answer the other question below. > On Tue, Dec 20, 2011 at 4:52 PM, Pid * wrote: > >> On 20 Dec 2011, at 11:02, S B wrote: >> >>> Hi, >>> >>> I created and deployed an MBean in my t

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid *
On 20 Dec 2011, at 11:02, S B wrote: > Hi, > > I created and deployed an MBean in my tomcat. It uses datasource to connect > to DB. Which version of Java? Tomcat? > My questions is: > > When I create InitialContext() inside MBean's constructor and pass the > envContext to DBManager class to lo

Re: Do I Have Java Memory Fragmentation?

2011-12-19 Thread Pid
On 19/12/2011 19:41, Leon Rosenberg wrote: > Do a simple math. If you give each VM up to 384M heap and if you add > some 100 MB for permspace and overhead, you have a consumption of > 500MB per VM. Agreed. Object heap != total process usage. > Take 1GB for OS needs, you have 15, and 15.000/500

Re: Tomcat SSL

2011-12-19 Thread Pid
On 14/12/2011 10:42, Jean Louis LECOQUIERRE wrote: > Hi > > I need help to manage the tomcat.jks > > The certificate Racine is not good, I need to change it > > What is the command ? $JAVA_HOME/bin/keytool --help p > Jean Louis LECOQUIERRE > Administrateur systemes et reseaux > > Challenge

Re: Tomcat 7.0.23 problem

2011-12-19 Thread Pid
Deploying web application directory >>> /usr/local/tomcat1/webapps/ROOT" >>> >>> There are not error messages. >>> >>> Can you suggest something? >> If you do not have a Realm defined in your server.xml, define one. > Dear Pid, > > Thank

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-19 Thread Pid
On 17/12/2011 22:33, Tim Watts wrote: > On Sun, 2011-12-18 at 01:11 +0530, Anshul Asthana wrote: >> >> >> >> >> >> From: André Warnier >> To: Tomcat Users List >> Sent: Saturday, 17 December 2011 6:03 PM >> Subject: Re: Tomcat 6.0 configuration with Adobe LiveCyc

Re: Hosted environment

2011-12-19 Thread Pid
On 19/12/2011 02:44, r.sriram wrote: > Hello, > I am setting up my multiple domains on Go Daddy. In my current in-house > windows server my Tomcat is on Program Files (86) and the ROOT is in > C:\Program Files (x86)\apache-tomcat-6.0.33\webapps directory. That is > where WEB-INF is, that is what is

Re: Tomcat 7.0.23 problem

2011-12-16 Thread Pid *
On 16 Dec 2011, at 15:57, "Lutischán Ferenc" wrote: > Dear Users, > > I have a webapplication. I use it with tomcat 7.0.22, java 1.7.02. > When I have upgraded it to 7.0.23, the starting process is paused on the line: > "INFO: Deploying web application directory /usr/local/tomcat1/webapps/ROOT" >

Re: Change Default SSL port on Tomcat

2011-12-16 Thread Pid *
> > Thank you pid, > > I looked in Catalina.out and found out 443 port is already in use error > and I had listen 443 in apache, so removed it and now tomcat > comes up and all is good. > > I am not sure if it is better to serve ssl and https through Tomcat or Apache

Re: dbcp is mixing up connections

2011-12-16 Thread Pid *
On 16 Dec 2011, at 09:32, "Aitor Garcia | Tempel.es" wrote: Mark: I'm just declaring variables there, no putting logic. You had overlooked log4jdbc, if you have read books in the same way Library log4jdbc is COOL! Works very Well, is really a good library that helps me a lot, without it I

Re: Change Default SSL port on Tomcat

2011-12-16 Thread Pid
On 16/12/2011 08:47, Blaxton wrote: > > > > > ________ > From: Pid * > To: Tomcat Users List > Sent: Friday, December 16, 2011 10:59:02 AM > Subject: Re: Change Default SSL port on Tomcat > > On 16 Dec 2011, at 03:28, Blaxton wr

Re: Change Default SSL port on Tomcat

2011-12-15 Thread Pid *
On 16 Dec 2011, at 03:28, Blaxton wrote: > Hi > > Apache 2.2 is connected to Tomcat 6.0.29 through mod_jk and all works fine. > > uncommented Connector port=8443 and by adding required fields in web.xml > accessing secured pages would be forwarded to https with port 8443, > but when I change the

Re: Access dbf files outside context/docbase

2011-12-15 Thread Pid
On 15/12/2011 20:56, David kerber wrote: > I am trying to figure out how to access .dbf files that are on a > networked drive from my TC 5.5.xx server. I have no trouble with the > coding; it all works fine from my Eclipse dev environment. I believe > the issue is tomcat's contexts on the product

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-15 Thread Pid
On 14 December 2011 22:40, Anshul Asthana wrote: > > > From: Pid > To: Anshul Asthana > Sent: Monday, 12 December 2011 4:46 AM > > Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server > > On 11/12/2011 20:05, Anshul Asthana wrote: >> &

Re: Running not multithreaded application

2011-12-15 Thread Pid *
On 15 Dec 2011, at 17:56, hernan wrote: > On Thu, Dec 15, 2011 at 12:27 PM, Pid wrote: > >> On 15/12/2011 00:15, hernan wrote: >>> On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < >>> ch...@christopherschultz.net> wrote: >>> >>&g

Re: Running not multithreaded application

2011-12-15 Thread Pid
On 15/12/2011 00:15, hernan wrote: > On Wed, Dec 14, 2011 at 8:17 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hernán, >> >> On 12/14/11 5:45 PM, hernan wrote: >>> I'm using Tomcat 7.0 for developing a new application.

Re: dbcp is mixing up connections

2011-12-15 Thread Pid
On 15/12/2011 12:55, Aitor Garcia | Tempel.es wrote: > I had read all the JNDI & JDBC Official & Unofficial documentation but & > only found than you MUST close the connections. > > There insn't references to where to declare variables. > > Declaring into local scope forces that you have pass by

Re: Tomcat xerces conflicts and Endorsed,Standards Override Mechanism

2011-12-12 Thread Pid *
On 13 Dec 2011, at 03:27, Warren Bell wrote: > Here are all the jars in my app. There are a lot. The jars that came in > as dependencies of smooks are: > > milyn-smooks-csv-1.5.jar > openscv-1.8.jar > milyn-smooks-flatfile-1.5.jar > milyn-smooks-javabean-1.5.jar > milyn-smooks-core-1.5.jar > mily

Re: Compatability Problem OSX to Windows 7 Port

2011-12-12 Thread Pid *
On 13 Dec 2011, at 04:31, Glyn Thomas wrote: > All, > In case anyone has the same problem, here is the solution. The behavior is > controlled by the J/Connector flag useOldAliasMetadataBehavior, which needs > to be set to 'true' for the query to work correctly on recent J/Connector > versions.

Re: path used for tc-natuve

2011-12-12 Thread Pid
On 12/12/2011 22:25, André Warnier wrote: > Pid * wrote: >> On 12 Dec 2011, at 16:37, "André Warnier" wrote: >> >>> Hi >>> >>> On a Debian Linux system, was running a Debian-pre-packaged Tomcat 5.5. >>> We stopped this Tomcat 5.5, but

[OT] Re: Detecting Mobile Device

2011-12-12 Thread Pid
On 12/12/2011 17:52, Jerry Malcolm wrote: > What is the best/recommended way to determine if the request is coming from > a mobile device? I have an alternate layout that I want to use for pages > going to a smart phone, etc. I know there is client/browser info in the > request. But it's more br

Re: path used for tc-natuve

2011-12-12 Thread Pid *
On 12 Dec 2011, at 16:37, "André Warnier" wrote: > Hi > > On a Debian Linux system, was running a Debian-pre-packaged Tomcat 5.5. > We stopped this Tomcat 5.5, but did not remove the corresponding package(s). > Then we installed an "official" Tomcat 6, downloaded from the Tomcat website, > in /o

Re: Tomcat proxy configuration for serverside http requests

2011-12-12 Thread Pid
On 12/12/2011 09:56, André Warnier wrote: > Dale Ogilvie wrote: >> Hi, >> >> >> >> Weird issue, perhaps someone can explain how this might be happening >> from a tomcat perspective... >> >> >> >> I have some CXF generated web service client code that calls a web >> service that operates on an I

Re: Tomcat 5.5 crashes after changing server IP

2011-12-12 Thread Pid
On 12/12/2011 12:02, André Warnier wrote: > sir...@8host.pl wrote: It is probly Tomcat + Xen (KVM) + Intel (?) releted problem. >>> >>> I really have no idea how you come to that conclusion. >> >> Like i said when i install Windows 8 on Xen machine, starts Virtuabox >> on it and new 32bit Cent

Re: Tomcat 5.5 crashes after changing server IP

2011-12-12 Thread Pid
On 12/12/2011 00:29, sir...@8host.pl wrote: > One more log: > > 2011-12-12 00:52:15 org.apache.catalina.core.AprLifecycleListener init > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: > /usr/l

Re: [sidebar] Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-11 Thread Pid
On 10/12/2011 23:39, Tim Watts wrote: > On Sat, 2011-12-10 at 22:45 +0000, Pid wrote: >> Yeah... >> >> Please also just reply to the mailing list. >> > Are you referring to this (cough, cough): > > http://catb.org/~esr/faqs/smart-questions.html#easyreply

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-10 Thread Pid
On 10/12/2011 19:36, Anshul Asthana wrote: > > > > > ____ > > From: Pid > To: Anshul Asthana > Sent: Saturday, 10 December 2011 2:26 PM > Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server > > >

Re: Tomcat Silently Dies and then Won't Restart -- Error 1067

2011-12-10 Thread Pid
On 10/12/2011 00:48, oh...@cox.net wrote: > > "Caldarale wrote: >>> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] >>> Subject: RE: Tomcat Silently Dies and then Won't Restart -- Error 1067 >> >>> Tomcat 6 on our Windows 2003 R2 x64 server runs fine for a >>> day or two, then silent

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 16:37, André Warnier wrote: > David kerber wrote: >> On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation >>> I should add that Tomcat is running as a Windows service, it isn't st

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-09 Thread Pid
On 09/12/2011 18:52, Anshul Asthana wrote: > Hi, > >I want to Configure my Web Server(Tomcat 6.0) so that it can communicate > with Adobe LiveCycle DS ES 3.0 Server. I want to know how I can configure my > WebServer Tomcat 6.0. for this. > > Your early response will be appreciated. Sor

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 14:52, Martin O'Shea wrote: > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 09 Dec 2011 14 46 > To: Tomcat Users List > Subject: RE: Tomcat memory allocation > >> From: Martin O'Shea [mailto:app...@dsl.pipex.com] >> Subject: Tom

Re: Multiple Tomcats on the Machine

2011-12-09 Thread Pid
On 09/12/2011 11:54, Alexander Diedler wrote: > Hello > > We have three instances of Tomcat on a Windows Server and want to access > on every instance several applications through the Manager app. > > In every /Catalina/[hostname]/manager.xml is > > > privileged="true" antiResourceLoc

Re: add and modify globalnamingresources on the fly

2011-12-09 Thread Pid
On 09/12/2011 12:31, Marcelo Romulo Fernandes wrote: > Hi people, > > Is it possible to change globalnamingresources at tomcat and reflect the > changes to a running instance without restart? > I want do add and change datasources global resources dynamically without > restart tomcat! W

Re: Tomcat 7.0.23 won't start

2011-12-09 Thread Pid
On 08/12/2011 18:42, Christopher Schultz wrote: > Jacob, > > On 12/8/11 10:04 AM, Jacob Champlin wrote: >> Practical: This was my sandbox config file. I switch between 6 >> different applications. I do this by switching server.xml files >> when I switch projects. This keeps things minimal (not

Re: Tomcat 7.0.23 won't start

2011-12-09 Thread Pid
On 08/12/2011 15:04, Jacob Champlin wrote: >> Add a Realm definition or wait until 7.0.24. There's a bug in 7.0.23. > > I am waiting for 7.0.24. > >> I'm wincing as I ask: is there a particular reason that you're defining >> the Context in server.xml - it's been strongly recommended to not do >>

Re: Tomcat JMX/RMI: How server interface is choosen?

2011-12-09 Thread Pid
On 08/12/2011 11:15, Ilya Kazakevich wrote: > I enable JMX server and JMX Registry in tomcat using > >rmiRegistryPortPlatform="10001" rmiServerPortPlatform="10002" /> > Client connects to 10001 and tomcat returns its address and port 10002, > right? > But if I have several addresses on th

Re: MVC or Model2 with Tomcat

2011-12-09 Thread Pid
On 08/12/2011 10:51, Blaxton wrote: >> >> >> On 6 Dec 2011, at 15:52, Blaxton wrote: >>> >>> I have added the host directive to >> server.xml and moved appexmp1 contents to ROOT directory >>> and now I can access www.mydomain.com/index.jsp with no problem, >>> however now the servlets are not wo

Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-09 Thread Pid *
w-r--r-- 1 root root 8351 Dec 2 12:27 apr.exp > > > > -rw-r--r-- 1 root root 873264 Dec 2 12:27 libapr-1.a > > > > -rwxr-xr-x 1 root root831 Dec 2 12:27 libapr-1.la > > > > lrwxrwxrwx 1 root root 17 Dec 2 12:27 libapr-1.so -> > > > libapr-1.so.0.4.5 >

Re: upgrading from 6.0.20 to 6.0.35

2011-12-08 Thread Pid *
On 9 Dec 2011, at 06:28, AngeloChen wrote: > hi, > how easy is to upgrade? can i use the server.xml in 6.0.20 without changes > in 6.0.35? thanks, Yes, but we still usually recommend starting afresh each time. It should relatively simple, just make a backup copy of each file you edit, first. NB

Re: Securing only a single web application on Tomcat

2011-12-08 Thread Pid *
On 8 Dec 2011, at 23:41, Pid * wrote: > On 8 Dec 2011, at 16:50, Savitha Amelia wrote: > >> Hi, >> >> I have multiple applications hosted on my tomcat server which includes web >> services, web applications etc. >> >> To secure the web services,

Re: Securing only a single web application on Tomcat

2011-12-08 Thread Pid *
On 8 Dec 2011, at 16:50, Savitha Amelia wrote: > Hi, > > I have multiple applications hosted on my tomcat server which includes web > services, web applications etc. > > To secure the web services, we made changes to server.xml ->connector > element and defined roles in tomcat-users.xml. > In the

Re: "VerifyError: ... Illegal constant pool index" when jspx invokes a tagx on Tomcat 7.0.16

2011-12-08 Thread Pid
On 07/12/2011 17:32, Robert Winch wrote: > We have a web application that was consistently getting a VerifyError > whenever a jsp invoked a custom tagx. The jsp is a SiteMesh decorator that > uses a custom tagx to display a Spring Security Authentication object. The > issue was resolved by restarti

Re: MVC or Model2 with Tomcat

2011-12-08 Thread Pid *
On 8 Dec 2011, at 06:08, Blaxton wrote: > > > > > > From: Blaxton > To: Tomcat Users List > Sent: Tuesday, December 6, 2011 9:19:00 PM > Subject: Re: MVC or Model2 with Tomcat > > > > > > > ___

Re: How many object of the Web Service class will be created?

2011-12-07 Thread Pid
On 07/12/2011 15:43, EmotionalStabilitySlave wrote: > Thanks for your reply. > > Please see my comment. > > > 2011-12-07 > > > > EmotionalStabilitySlave > > > > 发件人: Pid * > 发送时间: 2011-12-07 21:50:19 > 收件人: Tomcat Users List > 抄送:

Re: How many object of the Web Service class will be created?

2011-12-07 Thread Pid *
On 7 Dec 2011, at 10:17, emotional stability wrote: > I create one web service and deploying on the tomcat with axis2. Exact OS, Java, Tomcat versions? > But I want to know how many objects of the my Web service class will be > created. Why? > When the the web service is called from outsi

Re: Occurence of Byte Order Mark (BOM) in responses varies between identical subsequent requests in Tomcat 6.0.35

2011-12-07 Thread Pid *
On 7 Dec 2011, at 09:11, Jochen Gazda wrote: > Gentlemen, > > The following occurs on Tomcat 6.0.20 or 6.0.35 on 64bit Linux > $ java -version > java version "1.6.0_26" > Java(TM) SE Runtime Environment (build 1.6.0_26-b03) > Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) > > It h

Re: MVC or Model2 with Tomcat

2011-12-06 Thread Pid
On 06/12/2011 17:49, Blaxton wrote: > > > > > ________ > From: Pid * > To: Tomcat Users List > Sent: Tuesday, December 6, 2011 8:12:40 PM > Subject: Re: MVC or Model2 with Tomcat > > > > On 6 Dec 2011, at 15:52, Blax

Re: Tomcat 7.0.23 won't start

2011-12-06 Thread Pid
On 06/12/2011 18:20, Jacob Champlin wrote: > Is anyone else having trouble getting 7.0.23 to start up? > > I am trying to migrate from 7.0.22 to 7.0.23 and Tomcat hangs on: > > INFO: Starting Servlet Engine: Apache Tomcat/7.0.23 > > If I use the default server.xml it starts up, but if I use our

Re: Null component

2011-12-06 Thread Pid
On 06/12/2011 19:35, kccc wrote: > > Hi, > > > I'm a new tomcat user and I'm trying to solve this error: > "SEVERE: Null component > Catalina:type=DataSource,path=/myAPP,host=localhost,class=javax.sql.DataSource,name="PGDS/ActivityLogDS" > > My tomcat and java version: > apache-tomcat-6.0.16 U

Re: MVC or Model2 with Tomcat

2011-12-06 Thread Pid *
On 6 Dec 2011, at 15:52, Blaxton wrote: > > I have added the host directive to server.xml and moved appexmp1 contents to > ROOT directory > and now I can access www.mydomain.com/index.jsp with no problem, > however now the servlets are not working. > I can access jsp files, but no servlets, I g

Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Pid *
On 6 Dec 2011, at 07:51, Oladapo Moshood wrote: > Dan, > > This is what I actually have in my Oracle EL5. The other information I sent > on apache-tomcat-7 was done on my redhat 6 to see if the error i'm getting > is a bug in apache-tomcat-6, but got the same error. > > Here is how i installed it

Re: MVC or Model2 with Tomcat

2011-12-05 Thread Pid
>> anyway, here is the out put of the package query on my FreeBSD box: >> ap22-mo_jk-ap2-1.2.30_1 Apache2 JK module for connecting to Tomcat using >> AJP1X > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > Fo

Re: Disabling Apps in host root

2011-12-05 Thread Pid
On 04/12/2011 23:52, Caldarale, Charles R wrote: >> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] >> Subject: Disabling Apps in host root > >> When I start tomcat > > What exact version? We're not mind-readers, and capabilities vary > considerably depending on what level you're on. > >>

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Pid *
On 4 Dec 2011, at 16:17, Blaxton wrote: > > > > > > From: André Warnier > To: Tomcat Users List > Sent: Sunday, December 4, 2011 6:51:58 PM > Subject: Re: MVC or Model2 with Tomcat > > Blaxton wrote: >> I have created ROOT directory and placed index.jsp in ROOT

Re: MVC or Model2 with Tomcat

2011-12-04 Thread Pid
On 04/12/2011 09:32, Blaxton wrote: > Apache 2.2.16 is connected to Tomcat 6.0.29 through mod_jk version 2 > and every thing is working fine, but to implement Model2 or MVC, I need > to serve JSP files from apache document root and don't know what is > the best soluction. Why do you need to do

Re: Anybody can help me?Thank you!

2011-12-03 Thread Pid
On 03/12/2011 13:57, 孙文 wrote: > Hi,you can read message in attachment. The list strips attachments. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Tomcat Logging and HTTP Header question

2011-12-02 Thread Pid
On 02/12/2011 18:12, jmpaul012 wrote: > > Sorry I didn't mean to ask the questions as though this forum is my private > consulting firm. I have done everything I could before I posted on this > forum. I have searched google, experts exchange, asked coworkers, and asked > my previous Tomcat profe

Re: Configuring SSL on TOMCAT6 Using APR connector - Oracle EL 5

2011-12-02 Thread Pid
On 02/12/2011 16:58, Christopher Schultz wrote: > Moshood, > > On 12/2/11 3:56 AM, moshood oladapo wrote: >> > SSLEngine="on" > > That's the second message today from someone trying to use > SSLEngine="on" in their . > > Is the documentation for not clear enough? > http://tomcat.apache.org/tomc

Re: hi

2011-12-02 Thread Pid
On 02/12/2011 18:03, srilaxmi deevela wrote: > hi , am going to execute the web application based on structs,what are the > basic procedurefor deploy the web application Is this for a homework assignment? p > On Fri, Dec 2, 2011 at 11:30 PM, srilaxmi deevela > wrote: > >> where is the downlo

Re: Logging

2011-12-01 Thread Pid
if > I'm wrong. Are you using the service wrapper that ships with Tomcat or > are you using a different one? Like Java Service Wrapper > (http://www.tanukisoftware.com/en/wrapper.php). > > Dan > > >> -Original Message- >> From: P

Re: Logging

2011-12-01 Thread Pid
On 01/12/2011 14:10, Pid wrote: > On 01/12/2011 14:01, Thom Hehl wrote: >> I'm looking for stack traces. People report defects and we get a stack trace >> and I need to see it in the log, but instead, the log is still in the >> buffer. Usually I have to shutdown the s

Re: Logging

2011-12-01 Thread Pid
On 01/12/2011 13:03, Thom Hehl wrote: > > > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Wednesday, November 30, 2011 6:15 PM > To: Tomcat Users List > Subject: Re: Logging > > Thom, > > On 11/30/11 1:04 PM, Thom Hehl wrote: >>> I'm using

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-12-01 Thread Pid
On 30/11/2011 11:14, Ellecer Valencia wrote: > Thanks Igor. I made a mistake though. I actually meant "modifying web.xml > and restarting the webapp." > > We want to find a way to change session timeouts - even for existing > sessions - without doing a restart of the webapp. I don't see an obvi

Re: Connection has been abanded

2011-12-01 Thread Pid
On 30/11/2011 21:15, János Löbb wrote: > Hi, > > IT is Mac OSX 10.6.8 > java -version > java version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) > tomcat is 7.0.21 > database is Sybase ASE 15

Re: Logging

2011-12-01 Thread Pid
On 30/11/2011 23:14, Christopher Schultz wrote: > Thom, > > On 11/30/11 1:04 PM, Thom Hehl wrote: >> I'm using VI to reading the log file. I running a Windows RDP. > > Are you using 'vi' in a way that allows it to get updates from the > file? I'm no 'vi' expert, but I'm sure it reads the entire f

Re: Tomcat 7 + exception while adding cookies

2011-12-01 Thread Pid
On 01/12/2011 04:38, Debraj Mallick wrote: > hi Christopher, > > my tomcat version is : 7.0.14 > working on Window7 with JDK 1.6 Can you try again with at least 7.0.21? p > On Thu, Dec 1, 2011 at 4:45 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Debraj, > > On 11/30/

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread Pid *
On 30 Nov 2011, at 10:45, "choudh...@labware.com" wrote: > Hello , >The question is not why I would use 32 bit JVM , the question is > whether there is any maximum limit on memory for Tomcat and if yes why No. Tomcat has no knowledge of the memory capacity of the JVM. p > ? > Regards

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-11-30 Thread Pid
On 29/11/2011 17:47, Sylvain Goulmy wrote: > Hi all, > > I'd like to know it is possible to have equivalent functionality to the > "extended document root" provided by the WebSphere product. This feature > allows you to define a location outside the webapp to make contribution > without having to

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