Re: how to use provider with java 18 , différent from java 11

2024-07-30 Thread Christopher Schultz
Aughra, On 7/27/24 10:32, aughra wrote: Hello everyone, Maybe this question has been asked many times, but I have a problem that I can't find a solution for,. To summarize, I have: A Java program WAR on Tomcat, and Tomcat must contain a provider to call an encryption module to obtain keys.

how to use provider with java 18 , différent from java 11

2024-07-27 Thread aughra
Hello everyone,  Maybe this question has been asked many times, but I have a problem that I can't find a solution for,.  To summarize, I have: A Java program WAR on Tomcat, and Tomcat must contain a provider to call an encryption module to obtain keys.  The Tomcat version is 10.1.26  In Java

Re: how to use separate shared dlls for OpenSSL, APR, and libtcnative-1...

2019-02-11 Thread John Palmer
> For Windows, you are better off using the all-in-one statically-linked > DLL provided by the Tomcat team. ... > In general, the Tomcat team tries to keep on top of the latest news > and releases from both APR and OpenSSL, so you shouldn't have to wait > too long between a newly-published version

Re: how to use separate shared dlls for OpenSSL, APR, and libtcnative-1...

2019-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 2/11/19 10:46, John Palmer wrote: > (I'm new to using TC-native, interested in how to accomplish "In > security conscious production environments, it is recommended to > use separate shared dlls for OpenSSL, APR, and libtcnative-1, and > up

how to use separate shared dlls for OpenSSL, APR, and libtcnative-1...

2019-02-11 Thread John Palmer
(I'm new to using TC-native, interested in how to accomplish "In security conscious production environments, it is recommended to use separate shared dlls for OpenSSL, APR, and libtcnative-1, and update them as needed according to security bulletins. " Apparently I need a concrete example (step-by

Re: How to use server.xml with embedded Tomcat 9?

2018-12-18 Thread Rémy Maucherat
On Tue, Dec 18, 2018 at 7:33 AM Ryan Palmer wrote: > Hello, > > I'm using the Tomcat class to embed the container in my application. I > have configured the CATLINA_HOME and _BASE properties, and I know those are > working because the 'work' folder gets generated there as expected. However > if I

How to use server.xml with embedded Tomcat 9?

2018-12-17 Thread Ryan Palmer
Hello, I'm using the Tomcat class to embed the container in my application. I have configured the CATLINA_HOME and _BASE properties, and I know those are working because the 'work' folder gets generated there as expected. However if I put a server.xml file in a 'conf' folder in the same directo

How to use org.apache.catalina.Catalina#findRoleMapping properly?

2015-12-14 Thread Michael Osipov
Hello, I'd like to perform role mapping from technical role names spit out by our realm to application specific ones like Admin, Translator, Manager, etc. Though, the aforementioned method should do it but it isn't called anywhere in the code. I am aware of security-role-ref in web.xml but those

Re: How to use Jar Scan Filters

2015-03-31 Thread Thusitha Thilina Dayaratne
to use Tomcat 8.0.20 with that. I saw newly introduced Jar Scan Filter there. >Can someone give me an example code segment to show how to use JarScanFilters? >I go through the [1]. There it mention >Is this can be use only to scan jars inside WEB-INF and class path? >or can

How to use Jar Scan Filters

2015-03-25 Thread Thusitha Thilina Dayaratne
.0.20 with that. I saw newly introduced Jar Scan Filter there. Can someone give me an example code segment to show how to use JarScanFilters? I go through the [1]. There it mention Is this can be use only to scan jars inside WEB-INF and class path? or can I scan some jar file which are lo

Re: How to use Jasper to Parse JSP

2015-03-16 Thread Mark Thomas
On 16/03/2015 09:19, kaori hattanda wrote: > Dear Jasper > > I develop a tool for JSP's static code analysis. > > I would like to use parse result of jsp files for my tool. > I am assuming that the result is a syntax tree. Assumptions are never a good idea. Take a look at the source code for Ja

How to use Jasper to Parse JSP

2015-03-16 Thread kaori hattanda
Dear Jasper I develop a tool for JSP's static code analysis. I would like to use parse result of jsp files for my tool. I am assuming that the result is a syntax tree. Would you tell me how to use the syntax tree from external programs? Best Regards, Kaori Hat

Re: How to use Jasper to Parse JSP

2015-02-03 Thread t-zhang
Dear Christopher > What do you want your checker to do? Anything more than make sure that > the JSP will compile? Yes, I need a source code analyzer. Which one will not only make sure that the JSP will compile. Best Regards On Thu, 29 Jan 2015 10:34:23 -0500 Christopher Schultz wrote: > -

Re: How to use Jasper to Parse JSP

2015-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zhang, On 1/29/15 7:22 AM, t-zhang wrote: > I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not > enouth. So I need a better JSPparser and I want to try Jasper as a > parser. What do you want your checker to do? Anything more than ma

Re: How to use Jasper to Parse JSP

2015-01-29 Thread t-zhang
Thanks for your reply. I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not enouth. So I need a better JSPparser and I want to try Jasper as a parser. Best Regards Tao Zhang On Tue, 27 Jan 2015 11:56:42 + Mark Thomas wrote: > On 27/01/2015 11:36, t-zhang wrote: > > Hi guys >

Re: How to use Jasper to Parse JSP

2015-01-27 Thread Mark Thomas
On 27/01/2015 11:36, t-zhang wrote: > Hi guys > > I am looking for a tool which can parse the JSP code(parse and generate > the AST) Why? What problem are you trying to solve? (There may be a better solution). Mark > If anyone use Jasper to parse the JSP, > Could you share your experience to

How to use Jasper to Parse JSP

2015-01-27 Thread t-zhang
Hi guys I am looking for a tool which can parse the JSP code(parse and generate the AST) If anyone use Jasper to parse the JSP, Could you share your experience to me? I guess the class "org.apache.jasper.compiler.Parser" in Jasper is able to generate the AST. But I can't get the Return Value ma

Questions about how to use the Jasper

2014-10-08 Thread Sho Hatanaka
Hi All. Does Jasper parse a JSP page into a DOM-like objects? And if so, is it possible to use those object by my program? I think that it might be can get those object by "org.apache.jasper.compiler.Parser". Sho. このメールは、本来の宛先の方のみに限定された機密情報が含まれてい る場合がございます。お心あたり

Re: How to use Jasper class?

2014-07-31 Thread Daniel Mikusa
On Wed, Jul 30, 2014 at 10:36 PM, Aaron Lewis wrote: > Thanks guys. I copied all jars from tomcat 7.0.55 binary, libs & > bin/*.jar to 'lib' folder, then I start winstone like this: > %> java -jar winstone-0.9.10.jar --useJasper --commonLibFolder=lib/ > --webroot=webroot/ > > When I access any JS

Re: How to use Jasper class?

2014-07-30 Thread Aaron Lewis
Thanks guys. I copied all jars from tomcat 7.0.55 binary, libs & bin/*.jar to 'lib' folder, then I start winstone like this: %> java -jar winstone-0.9.10.jar --useJasper --commonLibFolder=lib/ --webroot=webroot/ When I access any JSP file (that works in tomcat), I got an exception, perhaps I'm mis

Re: How to use Jasper class?

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 7/30/14, 8:16 AM, Daniel Mikusa wrote: > On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis > wrote: > >> Hi, >> >> I'm trying to build a minimal JSP container, just like winstone >> http://winstone.sourceforge.net/#commandLine >> >> But w

Re: How to use Jasper class?

2014-07-30 Thread Daniel Mikusa
On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis wrote: > Hi, > > I'm trying to build a minimal JSP container, just like winstone > http://winstone.sourceforge.net/#commandLine > > But with tc 7.0.55 it doesn't seem to work, so I had to find my own > ways around the Jasper class: > Error initializing

How to use Jasper class?

2014-07-30 Thread Aaron Lewis
Hi, I'm trying to build a minimal JSP container, just like winstone http://winstone.sourceforge.net/#commandLine But with tc 7.0.55 it doesn't seem to work, so I had to find my own ways around the Jasper class: Error initializing web application: prefix [] java.lang.NoClassDefFoundError: org/apac

RE: OT: How to use JSP outside of tomcat

2013-07-24 Thread Martin Gainty
; Date: Wed, 24 Jul 2013 13:22:36 -0400 > Subject: OT: How to use JSP outside of tomcat > From: aryeh.fried...@gmail.com > To: users@tomcat.apache.org > > I have a number of documents that are very template like and ideal for > JSP that are 1) not intended for the web and 2) nee

Re: OT: How to use JSP outside of tomcat

2013-07-24 Thread Michael-O
Am 2013-07-24 19:22, schrieb Aryeh Friedman: I have a number of documents that are very template like and ideal for JSP that are 1) not intended for the web and 2) need to be automatically batch processed (the output stored in output files). How do I call the JSP processor from them command line?

OT: How to use JSP outside of tomcat

2013-07-24 Thread Aryeh Friedman
I have a number of documents that are very template like and ideal for JSP that are 1) not intended for the web and 2) need to be automatically batch processed (the output stored in output files). How do I call the JSP processor from them command line? (it takes tomcat too long to see updated files

Re: How to use the Manager interface

2013-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 7/17/13 11:03 AM, Daniel Nazarkiewicz wrote: > I want to change the standard session manager. I added in > context.xml the In my > netbeans ide 7, I created in source packages of my web application > the java class. When i run my web ap

How to use the Manager interface

2013-07-17 Thread Daniel Nazarkiewicz
Hi, I want to change the standard session manager. I added in context.xml the In my netbeans ide 7, I created in source packages of my web application the java class. When i run my web application, tomcat told me it cannot find my manager. What is the procedure to declare my session manager ? Th

Re: Embedded Tomcat how to use addContext for docBase

2013-01-30 Thread Jimmy Johnson
Awesome! Thanks a million Konstantin, it worked. As for using the /tmp folder. "/tmp/images" is it actually just a place where I give the images a uuid name, process them, and then save them elsewhere immediately I then delete the original so it should be okay. I will also add in the File.getAbs

Re: Embedded Tomcat how to use addContext for docBase

2013-01-30 Thread Konstantin Kolinko
2013/1/30 Jimmy Johnson : > Ah, Okay, so I should use the addWebapp method to add a path to an external > folder? > > e.g tomcat.addWebapp("/MyWebApp/images", "/tmp/images"); > It should not matter whether it is an external folder or not, as you are not relying on the autodeployment feature. There

Re: Embedded Tomcat how to use addContext for docBase

2013-01-29 Thread Jimmy Johnson
Ah, Okay, so I should use the addWebapp method to add a path to an external folder? e.g tomcat.addWebapp("/MyWebApp/images", "/tmp/images"); Thanks, Jimmy On Tue, Jan 29, 2013 at 2:06 PM, Konstantin Kolinko wrote: > 2013/1/29 Jimmy Johnson : > > System: Mac OS X 10.8 > > Tomcat Version: 7.0.30

Re: Embedded Tomcat how to use addContext for docBase

2013-01-29 Thread Konstantin Kolinko
2013/1/29 Jimmy Johnson : > System: Mac OS X 10.8 > Tomcat Version: 7.0.30 > Language: Java > > I'm trying to set up the context in an embedded Tomcat instance to serve > files from a local directory not within the deployed folder. > > In the standard server.xml when using the standard Tomcat confi

Re: How to use the usehttponly feature in application level

2012-12-04 Thread Zhi Xie
Got it. Thanks, guys. 2012/12/4 Konstantin Kolinko > 2012/12/4 : > > Hi Zhi, > > > > You can set following parameters in web.xml of application. > > > > > > > > true > > true > > > > > > +1. This is the best way. > > Note, that your web application should be using Servlet 3.0 > specificati

Re: How to use the usehttponly feature in application level

2012-12-04 Thread Konstantin Kolinko
2012/12/4 : > Hi Zhi, > > You can set following parameters in web.xml of application. > > > > true > true > > +1. This is the best way. Note, that your web application should be using Servlet 3.0 specification (as declared at the top of your web.xml file) to use this feature. Best regards,

Re: How to use the usehttponly feature in application level

2012-12-04 Thread Konstantin Kolinko
2012/12/4 Zhi Xie : > Sorry, I don't find any doc to introduce this. There are a lot of docs to > show how to implement the feature in conf/context.xml. > > > ... > > > Who can tell me how to implement the feature in application level? The application-level file is named META-INF/context.xml htt

Re: How to use the usehttponly feature in application level

2012-12-03 Thread techienote . com
Hi Zhi, You can set following parameters in web.xml of application. true true Regards, Vidyadhar --Original Message-- From: Zhi Xie To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: How to use the usehttponly feature in application level Sent: Dec 4, 2012 10:43 Sorry

How to use the usehttponly feature in application level

2012-12-03 Thread Zhi Xie
Sorry, I don't find any doc to introduce this. There are a lot of docs to show how to implement the feature in conf/context.xml. ... Who can tell me how to implement the feature in application level? For example, I have 2 applications in the Tomcat server. One is named HelloWorld, the other is

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
Awesome, thanks! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, June 30, 2011 10:18 PM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup -BEGIN PGP

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, On 6/30/2011 10:07 PM, Bob DeRemer wrote: > Thanks! I know it's all open and online, I was just hoping someone > might be able to point me to some specific classes so I don't have to > pour through a lot of irrelevant code. Tomcat's component f

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
y, June 30, 2011 10:04 PM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, On 6/30/2011 9:55 PM, Bob DeRemer wrote: > I've verified that the WEB-INF/extensi

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, On 6/30/2011 9:55 PM, Bob DeRemer wrote: > I've verified that the WEB-INF/extensions will work, too. The key > issue for us is being able to hot-deploy extension JAR(s) live > without restarting the webapp or Tomcat. I began by seeing if Tomcat

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
eciate any direction to shorten my dev time. Thanks, Bob -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, June 30, 2011 7:17 PM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 6/30/2011 5:27 PM, Rainer Jung wrote: > On 30.06.2011 22:50, Christopher Schultz wrote: >> Konstantin, >> >> On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >>> 2011/6/30 Bob DeRemer : virtualClasspath="/WEB-INF/lib/extensio

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
2011/7/1 Christopher Schultz : > > On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >> 2011/6/30 Bob DeRemer : >>>           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> >> >> The above should be an absolute path. >> >> You can use system variables, e.g. >> ${catalina.base}/webapps/mywebapp/W

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Rainer Jung
On 30.06.2011 22:50, Christopher Schultz wrote: > Konstantin, > > On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >> 2011/6/30 Bob DeRemer : >>> virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> > >> The above should be an absolute path. > >> You can use system variables, e.g. >> ${c

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: > 2011/6/30 Bob DeRemer : >> virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> > > The above should be an absolute path. > > You can use system variables, e.g. > ${catalina.base

RE: UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
ses "on the fly" for extensible applications that need to remain running. -bob -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, June 30, 2011 12:25 PM To: Tomcat Users List Subject: Re: UPDATE - RE: how to use VirtualWebappLoader - e

Re: UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
2011/6/30 Bob DeRemer : > I was able to get this to work.  I had a hunch, so I moved the extensions > folder outside the WEB-INF directory.    Any idea why these extra > repositories cannot be under the WEB-INF/lib folder ? I think classes should be loadable, but IIRC annotation and resources sc

UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
mailto:bob.dere...@thingworx.com] Sent: Thursday, June 30, 2011 11:53 AM To: Tomcat Users List Subject: RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup Thanks Konstantin, but that didn't do it. I can see that Tomcat copies the context.xml over to /con

RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
Do I need to do anything programmatically to enable this? -bob -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, June 30, 2011 11:27 AM To: Tomcat Users List Subject: Re: how to use VirtualWebappLoader - either in META-INF/context.x

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
2011/6/30 Bob DeRemer : >           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> The above should be an absolute path. You can use system variables, e.g. ${catalina.base}/webapps/mywebapp/WEB-INF/lib/extensions/*.jar - To

how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Bob DeRemer
n't help. If anyone can clarify how to use this, I would greatly appreciate it. Thanks in advance, -bob

RE: After manager says that there was a leak, how to use a profiler?

2010-11-19 Thread Brian
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, November 19, 2010 04:45 AM > To: Tomcat Users List > Subject: Re: After manager says that there was a leak, how to use a profiler? > > On 19/11/2010 03:58, Brian wrote: > >

Re: After manager says that there was a leak, how to use a profiler?

2010-11-19 Thread Mark Thomas
On 19/11/2010 03:58, Brian wrote: > Hi Chris, > > I already took off the JARs from the shared/lib directory. So that is not an > issue now. > I have just stopped my apps, and this is what I have found in my log: > > > Nov 18, 2010 10:22:57 PM org.apache.catalina.core.StandardWrapper unload > IN

RE: After manager says that there was a leak, how to use a profiler?

2010-11-18 Thread Brian
4 PM > To: Tomcat Users List > Subject: Re: After manager says that there was a leak, how to use a profiler? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brian, > > On 11/16/2010 10:42 AM, Brian wrote: > > If I choose > > the report of "P

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
ist' > Subject: RE: FW: After manager says that there was a leak, how to use a > profiler? > > I have notices several weird things: > > - Sometimes it runs, sometimes it doesn't > - When I'm in Eclipse, if I already started the Tomcat server and it is running, if >

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
les R [mailto:chuck.caldar...@unisys.com] > Sent: Wednesday, November 17, 2010 06:46 PM > To: Tomcat Users List > Subject: RE: FW: After manager says that there was a leak, how to use a > profiler? > > > From: Brian [mailto:bbprefix-m...@yahoo.com] > > Subject: RE: FW: A

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Wednesday, November 17, 2010 06:46 PM > To: Tomcat Users List > Subject: RE: FW: After manager says that there was a leak, how to use a > profiler? > > > Fro

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Caldarale, Charles R
> From: Brian [mailto:bbprefix-m...@yahoo.com] > Subject: RE: FW: After manager says that there was a leak, how to use a > profiler? > It seems that the JARs inside "...WEB-INF/lib" are not > being discovered or used. Hence the request to see your catalina.prop

RE: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
> -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Wednesday, November 17, 2010 04:02 PM > To: Tomcat Users List > Subject: Re: FW: After manager says that there was a leak, how to use a > profiler? > > On 17/11/2010 20:56, Brian wrote: > > I

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
Hi Chuck, > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Wednesday, November 17, 2010 04:02 PM > To: Tomcat Users List > Subject: RE: After manager says that there was a leak, how to use a profiler? > > > From:

Re: FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Pid
On 17/11/2010 20:56, Brian wrote: > I will have to swallow my pride with this question. I bet this is a very > easy issue, but for some reason I haven't found an answer. > I moved my JARs from the ".../tomcat/shared/lib" directory to the > "web-inf/lib" directory in the app itself, but it seems tha

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Caldarale, Charles R
> From: Brian [mailto:bbprefix-m...@yahoo.com] > Subject: FW: After manager says that there was a leak, how to use a profiler? > I moved my JARs from the ".../tomcat/shared/lib" directory to the > "web-inf/lib" directory in the app itself It better be WEB-INF/li

FW: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
I will have to swallow my pride with this question. I bet this is a very easy issue, but for some reason I haven't found an answer. I moved my JARs from the ".../tomcat/shared/lib" directory to the "web-inf/lib" directory in the app itself, but it seems that the JARs there are not being discovered

RE: After manager says that there was a leak, how to use a profiler?

2010-11-17 Thread Brian
I'm doing it, thanks! > -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, November 16, 2010 04:27 PM > To: Tomcat Users List > Subject: RE: After manager says that there was a leak, how to use a profiler

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
Thanks a lot for the info Konstantin. I will read it asap! > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Monday, November 15, 2010 11:08 PM > To: Tomcat Users List > Subject: Re: After manager says that there was a leak, how to

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Caldarale, Charles R
> From: Brian [mailto:bbprefix-m...@yahoo.com] > Subject: RE: After manager says that there was a leak, how to use a profiler? > All my JARs are in the shared directory that Tomcat has. > Is that a problem? Yes, that's a problem. You very likely have some references in the sha

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
2010 04:37 AM > To: Tomcat Users List > Subject: Re: After manager says that there was a leak, how to use a profiler? > > On 16/11/2010 04:12, Brian wrote: > > Maybe my question sounded too vague and repetitive. > > What I meant is something like this "Is the a class

Re: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 11/16/2010 10:42 AM, Brian wrote: > If I choose > the report of "Paths from GC roots" from it, I see LOTS of items! And all of > them have the " of" indication. All the items are classes programmed > by me, so I guess I'm guilty, and not the

RE: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Brian
.@apache.org] > Sent: Tuesday, November 16, 2010 04:37 AM > To: Tomcat Users List > Subject: Re: After manager says that there was a leak, how to use a profiler? > > On 16/11/2010 04:12, Brian wrote: > > Maybe my question sounded too vague and repetitive. > > What I meant is somet

Re: After manager says that there was a leak, how to use a profiler?

2010-11-16 Thread Mark Thomas
On 16/11/2010 04:12, Brian wrote: > Maybe my question sounded too vague and repetitive. > What I meant is something like this "Is the a class loader (or something > like that) than I should start analyzing? I mean, is there a route I should > follow in order to see which objects are stucked? If the

RE: After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Brian
g got stucked in the memory, how does it know that? Is there a clue we should start?". > -Original Message- > From: Brian [mailto:bbprefix-m...@yahoo.com] > Sent: Monday, November 15, 2010 10:58 PM > To: users@tomcat.apache.org > Subject: After manager says that there

Re: After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Konstantin Kolinko
2010/11/16 Brian : > Hi, > > After the Tomcat manager warns that there was a leak with one app what was > stopped or undeployed, how do I use the profiler to investigate that? I > mean, that is the starting point to analize that? What should I look for? > E.g., using Eclipse MAT, [1] http://www.ec

After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Brian
Hi, After the Tomcat manager warns that there was a leak with one app what was stopped or undeployed, how do I use the profiler to investigate that? I mean, that is the starting point to analize that? What should I look for? Brian

Re: how to use

2010-04-27 Thread Mark Eggers
Subject: how to use To: users@tomcat.apache.org Date: Tuesday, April 27, 2010, 1:11 AM Hi, How to use openEJB and tomcat server for developing enterprise application in netbeans?  RGDS - To unsubscribe, e-mail: users

Re: how to use

2010-04-27 Thread Pid
On 27/04/2010 09:11, Navid Esfahani wrote: > Hi, > > How to use openEJB and tomcat server for developing enterprise > application in netbeans? http://catb.org/~esr/faqs/smart-questions.html p > *__* > > *Navid Esfahani* &

how to use

2010-04-27 Thread Navid Esfahani
Hi, How to use openEJB and tomcat server for developing enterprise application in netbeans? RGDS __ Navid Esfahani Member of BOD / IT Manager Sobhan Paya Pardaz Co. na...@sobhanpaya.com #60, shahanaghi Alley, Sheikh-Bahaee St, Molla-Sadra Ave

RE: How to use custom classloader to load my own app classes in tomcat?

2010-01-21 Thread Caldarale, Charles R
> From: Chinmoy Chakraborty [mailto:cch...@gmail.com] > Subject: Re: How to use custom classloader to load my own app classes > in tomcat? > > how to tell tomcat to use my custom classloader to load > classes of my app? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/

Re: How to use custom classloader to load my own app classes in tomcat?

2010-01-21 Thread Chinmoy Chakraborty
Thanks a lot for your reply. This is what I want: I have a webapplication and I want to load the classes of my app (../WEB-INF/classes & ../WEB-INF/lib) using my own classloader. Now I have my own classloader. My question is, how to tell tomcat to use my custom classloader to load classes of my a

Re: How to use custom classloader to load my own app classes in tomcat?

2010-01-21 Thread Peter Crowther
2010/1/21 Chinmoy Chakraborty > How I can use my own custom classloader to load my own app classes inside > webapp? Please share some ideas. > > 1) Write custom classloader. 2) Write code in web app to use your custom classloader. Sorry... if you want us to help you, I think you'll need to provi

How to use custom classloader to load my own app classes in tomcat?

2010-01-21 Thread Chinmoy Chakraborty
Hi All, How I can use my own custom classloader to load my own app classes inside webapp? Please share some ideas. Chinmoy

Re: How to use Includes in CSS files

2009-10-26 Thread rowlando
quests. Thanks for your help everyone. -- View this message in context: http://www.nabble.com/How-to-use-Includes-in-CSS-files-tp26024235p26063842.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubsc

Re: How to use Includes in CSS files

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 10/26/2009 9:21 AM, rowlando wrote: > I suggest you read the links I posted if you're interested in the why. Ouch. Maybe /you/ should read your own links: " [Comment from reader "Murray":] I’ve also heard that when using @import, browsers m

Re: How to use Includes in CSS files

2009-10-26 Thread rowlando
your global.css as shown below and then >>> link the global.css file to your pages (as you mentioned)...this will >>> give you ability to seperate your css but avoid the bother with the >>> jsp includes. >>> >>> @import url(../global/i_base.css); >

Re: How to use Includes in CSS files

2009-10-26 Thread Curtis Garman
;> @import url(../global/i_header.css); >> @import url(../global/i_footer.css); >> @import url(../global/i_layout.css); >> @import url(../global/i_button.css); >> >> > > -- > View this message in context: > http://www.nabble.com/How-to-use-Includes-in-CS

Re: How to use Includes in CSS files

2009-10-23 Thread rowlando
> @import url(../global/i_base.css); > @import url(../global/i_header.css); > @import url(../global/i_footer.css); > @import url(../global/i_layout.css); > @import url(../global/i_button.css); > > -- View this message in context: http://www.nabble.com/How-to-use-Includes-in-CSS-f

Re: How to use Includes in CSS files

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 10/23/2009 10:31 AM, Hassan Schroeder wrote: > On Fri, Oct 23, 2009 at 3:50 AM, rowlando wrote: > >> For maintenance purposes I want to keep stylesheets in separate files. >> However, when served, they should be concatenated together as a

Re: How to use Includes in CSS files

2009-10-23 Thread Curtis Garman
servlet risks preventing the browser from caching it as >> effectively. >> >> > > I am building a static site. I'm using JSPs purely for Includes. The build > process is a simple web crawl, where every HTML page is saved as a file. > -- > View this message in cont

Re: How to use Includes in CSS files

2009-10-23 Thread rowlando
g it via a servlet risks preventing the browser from caching it as > effectively. > > I am building a static site. I'm using JSPs purely for Includes. The build process is a simple web crawl, where every HTML page is saved as a file. -- View this message in context: h

Re: How to use Includes in CSS files

2009-10-23 Thread Pid
On 23/10/2009 11:50, rowlando wrote: Hi there, For maintenance purposes I want to keep stylesheets in separate files. However, when served, they should be concatenated together as a single file. Why? - Why do this with a JSP/Servlet? - Why not concatenate it into a single CSS file at build

Re: How to use Includes in CSS files

2009-10-23 Thread Hassan Schroeder
On Fri, Oct 23, 2009 at 3:50 AM, rowlando wrote: > For maintenance purposes I want to keep stylesheets in separate files. > However, when served, they should be concatenated together as a single file. > Simply, I have a file called global.css with the following: > > <%@ include file="../global/i_

How to use Includes in CSS files

2009-10-23 Thread rowlando
isn't processed by the JSP servlet. What do I need to configure to allow the CSS file to process the include directives? Thanks, Nick. -- View this message in context: http://www.nabble.com/How-to-use-Includes-in-CSS-files-tp

Re: How to use the error page config of Apache in tomcat?

2009-07-13 Thread Rainer Jung
On 13.07.2009 13:59, acastanheira2001 wrote: > Hi, > > Apache has an internationalized error page system configured on errors.conf. > I use apache and tomcat on the same machine, so I would like that tomcat use > the same error page config. > > Any ideas? > > Thanks, > Andre Likely not exactly

How to use the error page config of Apache in tomcat?

2009-07-13 Thread acastanheira2001
Hi, Apache has an internationalized error page system configured on errors.conf. I use apache and tomcat on the same machine, so I would like that tomcat use the same error page config. Any ideas? Thanks, Andre -- View this message in context: http://www.nabble.com/How-to-use-the-error-page

Re: How to use a gzip javascript file in a webapp running under tomcat

2009-06-11 Thread balachandra maddina
Hi chris, Thx for the reply. just after posting the question i tried the same steps and the files are getting gzip. Thank you, bala. On 6/11/09, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bala, > > On 6/10/2009 8:37 AM, balachandra maddina wrote: >> I'm wo

Re: How to use a gzip javascript file in a webapp running under tomcat

2009-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bala, On 6/10/2009 8:37 AM, balachandra maddina wrote: > I'm wondering if its possible to refer [to] a javascript file something like >

How to use a gzip javascript file in a webapp running under tomcat

2009-06-10 Thread balachandra maddina
Hi There, Im wondering if its possible to referr a javascript file something like

need an example of how to use the NIO connector

2009-01-21 Thread Dharma Lion
I'm now looking for an example of how to use the NIO connector with Tomcat--I need this in order to use chat.  I've found the following example of how to configure this on the Tomcat side: But I can't seem to find any information on how to configure things on the Apac

How to use a custom formater for org.apache.juli.FileHandler

2008-05-06 Thread Zlatan Kadragić
I have changed logging.properties file in conf directory so that i have different log files for different web apps. This is what i have changed/added to that file: handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4admin

Re: how to use different session id from http to https

2008-02-10 Thread Dave
session.invalidate(); session = request.getSession(true); The new session will have the same session id. Bill Barker <[EMAIL PROTECTED]> wrote: "Dave" wrote in message news:[EMAIL PROTECTED] > Hi, > > I am using JBoss 4.0.5GA. Cookie-based session tracking is used. > Starting with http, whe

  1   2   3   >