RE: WAR deployment incomplete (sometimes)

2007-05-11 Thread Michael Heinrichs
om: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 4:46 AM To: Tomcat Users List Subject: Re: WAR deployment incomplete (sometimes) Hi Michael... shame still struggling with this. One thing you not telling us is wot is packaging the WAR. A WAR is basically a zip... but I do know t

RE: WAR deployment incomplete (sometimes)

2007-05-11 Thread Michael Heinrichs
-- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 1:13 PM To: Tomcat Users List Subject: Re: WAR deployment incomplete (sometimes) HEY! wots this. ROOT.war does not unpack http://issues.apache.org/bugzilla/show_bug.cgi?id=36887 Its a reported bug?? ----- Ori

If xerces is in WEB-INF/lib this is used for deployment/web.xml parsing on tomcat6 (bug or feature?)

2007-05-25 Thread Michael Wyraz
Hi, today i played around with tomcat 6 (latest). I have an old webapp wich used Xerces 2.0.0. The Webapp deploys fine and runs without Problems until i try to reload the Context. In this case i get a NullpointerException fro xerces when it tries to load web.xml via JNDI. I played around with

Tomcat 6.0.13 issue with web.xml generated by Eclipse

2007-05-28 Thread Michael Hoffman
70 It seems I would need to change something in Tomcat to allow it to handle the web.xml context above. Any help would be appreciated. Sincerely, Michael [EMAIL PROTECTED]

Tricky remote JMX port problem

2007-11-06 Thread Michael Böckling
this? Is there any workaround? I'm thankful for any hints, I'm out of ideas... :( Regards, Michael -- Michael Böckling Java Engineer dmc digital media center GmbH Rommelstraße 11 70376 Stuttgart (Germany) Telefon: +49 711 601747-0 Telefax: +49 711 601747-141 E-Mail: [

JK connector causes Tomcat to utilize 50% CPU

2008-01-03 Thread Smith, Michael
pd.conf to use JK: LoadModule jk_module modules/mod_jk.so(in the LoadModule section) Include "c:/tomcat5525/conf/mod_jk.conf" (down at the bottom) 5) restart Apache and Tomcat. At first the CPU is at 0%, after the first loading of "Hello World" it goes to 50

problems installing administration console on TC5.5.25

2008-01-22 Thread Michael Phoenix
I am trying to install the tomcat admin console on version 5.5.25 and am having a hard time. I used the following directions from the Tomcat faq as listed below, you can also link to them using http://wiki.apache.org/tomcat/HowTo#head-f50555909547d981d0e2b0303236...

IIS and Tomcat 5.5

2007-06-08 Thread Michael Angelo
I have followed the instructions on the Apache web site verbatim and I still cannot get IIS and Tomcat 5.5 to work together. I have set up the jsp-examples like the instructions say. The isapi.log file shows the filter matching on *.jsp and it determines it should be redirected to ‘jakarta’. I get

isapi redirector

2007-06-12 Thread Michael Angelo
I check my isapi.log file and it says “/jsp-examples/ is a servlet ULR and should redirect to ajp13….” but I continue to get the error page 404. I have tried everything and cannot get this connect to work with Tomcat 5.5. Very frustrated and lost!! Can anyone help? Mike.

Tomcat 6.0.10 DataSourceRealm says "Name jdbc is not bound in this Context"

2007-06-19 Thread Michael Wesner
I am sure someone has run across this before. I appreciate any help or pointers to other threads about this. in the logs I get this error: un 19, 2007 1:01:24 PM org.apache.catalina.realm.DataSourceRealm open SEVERE: Exception performing authentication javax.naming.NameNotFou

What is Tomcat 6 status?

2007-06-28 Thread Michael Jouravlev
oes not provide even interface libs for JSF. Not that I am going to use JSF, I just wanted to find out what the status is. RELEASE-NOTES in the download zip file do not help much. Thanks, Michael. - To start a new topic, e-ma

Re: What is Tomcat 6 status?

2007-06-29 Thread Michael Jouravlev
We still use Tomcat 4 for deployment. Michael. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 6 sessionDidActivate() being called before contextInitialized()

2007-07-17 Thread Michael Youngstrom
I'm using Seam and a Seam app depends upon the Seam application being initialized before you can do much of anything in Seam. That said Seam puts some hooks into the sessionDidActivate() and sessionDidPassivate() events. Because of that when I start up my app I'm getting a Seam IllegalStateExcep

Re: Tomcat 6 sessionDidActivate() being called before contextInitialized()

2007-07-18 Thread Michael Youngstrom
I went ahead and created an issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=42934 On 7/17/07, Michael Youngstrom <[EMAIL PROTECTED]> wrote: I'm using Seam and a Seam app depends upon the Seam application being initialized before you can do much of anything in Seam. Tha

Server Security

2007-07-25 Thread Michael McQuade
Hi folks, hope someone can offer me a little bit of advice. Im running Tomcat 5.0.28 on a home server I want to allow people to look at a product I'm developing over the web But I am worried about my server being hacked Can anyone offer me some tips on how to protect it.

Re: Server Security

2007-07-25 Thread Michael McQuade
U, also, can Tomcat be run on Port 80? - Original Message - From: "Michael McQuade" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, July 25, 2007 11:38 AM Subject: Server Security Hi folks, hope someone can offer me a little bit of advi

POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
ximum post size to x KB, but in my case, the post data is a just a few text fields. Any idea as to why this happens? Regards, Michael -- Michael Böckling Java Engineer dmc digital media center GmbH Rommelstraße 11 70376 Stuttgart (Germany) Telefon: +49 711 601747-0 Telefax: +49 711 601747-1

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
nfig, that doesn't help. Is there a configuration option for mod_rewrite or mod_jk that I have to set to make it work? I tried the "ForwardURIxxx" options on my mod_jk, but they didn't help. Any Ideas? Thanks a lot for the help so far! Regards, Michael > -O

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
chung HTTP/1.1 Flawed redirect: Location: http://localhost:778/lucene/target.jsp?test=%25C3%25BCberraschung As you can see, the % have been encoded again. What can I do about it? Regards, Michael > - if so, is the second request as decoded by apache OK? The > access log >

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
e? Thanks for your help, Michael Böckling > -Original Message- > From: fredk2 [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 06, 2007 7:30 PM > To: users@tomcat.apache.org > Subject: RE: POST data lost when switching URL using mod_rewrite and > mod_jk > &g

Force URL encoding

2007-09-10 Thread Michael Dehmlow
Hello I'm looking for a way to force url session tracking regardless of whether the user has cookies enabled. My thoughts right now are to create a session filter that deletes the cookie on the way out the door. if this seems like a good idea who should I go about deleting the the cookie. -- Vie

Re: Force URL encoding

2007-09-10 Thread Michael Dehmlow
in the context file. And simply encode all URLs. Michael Dehmlow wrote: > > Hello I'm looking for a way to force url session tracking regardless of > whether the user has cookies enabled. My thoughts right now are to create > a session filter that deletes the cookie on the way

Re: Force URL encoding

2007-09-10 Thread Michael Dehmlow
Alright now I have another problem which is baffling me: I have: <%@ page session="true" %> '<%=response.encodeURL("test/") %>' in a jsp page. the result is always 'test/' so i tried forcing: '<%="test;jsessionid="+request.getSession().getId() %>' And the result looks like i expect it too But w

Re: Force URL encoding

2007-09-11 Thread Michael Dehmlow
ch says to me that tc is ignoring the url encoded sessionid. I've tried every variation I can think of can someone point me in the direction of the tomcats source 8( Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Micha

Re: Force URL encoding

2007-09-11 Thread Michael Dehmlow
(which I'm not using) on older versions (which I'm not using). I'll try the cookies enabled angle thanks. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael, > > Michael Dehmlow wrote: >> The new session println

Tomcat dies when apache restarted - mod_proxy_ajpe

2008-01-27 Thread Michael L
I am using Apache 2.2 with mod_proxy_ajp and tomcat 5.5.25. Using straight ProxyPass connection (no load balancing). It seems that whenever Apache is restarted - tomcat instances die. Any way to avoid that? Thanks. -- View this message in context: http://www.nabble.com/Tomcat-dies-when-apache

Re: Tomcat dies when apache restarted - mod_proxy_ajpe

2008-01-27 Thread Michael L
Nevermind. The issue had nothing to do with apache, tomcat, or mod_proxy_ajp - but instead with how I started tomcat. Resolved now. Thank you. -M Michael L wrote: > > I am using Apache 2.2 with mod_proxy_ajp and tomcat 5.5.25. Using straight > ProxyPass connection (no load balan

What version of Tomcat??

2008-02-18 Thread Michael McQuade
Hi Folks Sorry I'm not very knowledgeable about technical aspects of Tomcat. I am having some problems with an application I am running acting rather weird. So what I want to do is download a newer version of Tomcat to try and rule out some possibilities. Currently I am running t

Re: CVS check-out

2008-03-06 Thread Michael Beardsley
There's no facility in CVS that I'm aware of to do this. You're best bet would be to do a cvs export and then remove the files yourself. If you're on a *NIX box, you can use the find command to do this. Something like: find /path/to/cvs/export -type f -exec rm -{} \; Read the man pages for find.

SSL question

2008-03-12 Thread Michael Bongiovi
I'm running Tomcat 5.5 as a servlet container under IIS so that I can run Jive forums on my web site. The forum is linked to from the main web page, which already has an SSL certificate. I'd like to be able to have the Jive login screen passed through SSL, but I'm not sure how to do it. Any help

RE: SSL question

2008-03-12 Thread Michael Bongiovi
o with the second solution you mentioned, using the JK connector. Where would be a good reference source for information on doing that? --- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Michael Bongiovi [mailto:[EMAIL PROTECTED] > > I'm running Tomcat 5.5 as a servlet

RE: SSL question

2008-03-12 Thread Michael Bongiovi
vailable. --- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Michael Bongiovi [mailto:[EMAIL PROTECTED] > > Unless I'm not understanding things correctly, setting up SSL > > on Tomcat would > > require getting another SSL certificate to be kept in the >

RE: SSL question

2008-03-12 Thread Michael Bongiovi
The keystore won't accept my existing certificate if I put an alias of 'tomcat', and if I put no alias, it says it's not a valid X.509 certificate, even though it's been loaded by IIS. --- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Michael Bongi

Number of open DB connections in shared a datasource pool?

2008-03-13 Thread Michael L
I have a DataSource pool defined in Tomcat config shared among multiple servlets. I would like to monitor its activity level (number of active connections vs min/max values). I tried to find a way to monitor it via JMX but found only ways to see active connection per each servlet - which is sub

Re: Number of open DB connections in shared a datasource pool?

2008-03-24 Thread Michael L
Thanks. Does LambdaProbe offer data via JMX so that a monitoring application can easily read it? I guess it is open source so I can write my own JMX hooks if not :-/ -M markt-2 wrote: > > Karthik Abram wrote: >> I'd like to find out about this as well .. anyone have a solution? > > http:/

that old problem - Invalid direct reference to form login page

2008-04-15 Thread Michael Teter
I've spent time in book on safari.oreilly, reading countless tutorials and docs online, and I'm at a dead end. I surely hope someone see's where I've made a mistake. Thanks, Michael

Re: that old problem - Invalid direct reference to form login page

2008-04-15 Thread Michael Teter
Here's the login.jsp Realm Login JNDIRealm (LDAP) Login Current User: <%= request.getUserPrincipal() %> On Tue, Apr 15, 2008 at 7:40 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Michael Teter [mailto:[EMAIL PROTECTED] > &

Re: that old problem - Invalid direct reference to form login page

2008-04-15 Thread Michael Teter
t know why some people could get there and > others not, and a couple were helped by clearing browser cache and others > still not. > > -Original Message- > From: Michael Teter [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 15, 2008 6:30 AM > To: Post-to Tomcat Users >

DOMImplementationRegistry and Tomcat...

2008-04-24 Thread Michael Burbidge
tance(); domImpl = (DOMImplementationLS) domRegistry.getDOMImplementation("LS"); Any ideas why that would be? Thanks, Michael-

Where to define Context element...

2008-04-29 Thread Michael Burbidge
url="jdbc:mysql://localhost:3306/mytest? autoReconnect=true"/> My Context defined this way is not loaded. I've checked using the Tomcat Manager and there is no JNDI resource loaded. What am I doing wrong? Thanks, Michael-

Re: Where to define Context element...

2008-04-29 Thread Michael Burbidge
Chuck, On Apr 29, 2008, at 8:37 AM, Caldarale, Charles R wrote: From: Michael Burbidge [mailto:[EMAIL PROTECTED] Subject: Where to define Context element... The Tomcat documentation lists several different places that you can define a Context element. Would you like us to guess what Tomcat

Hot deploy deletes my context file...

2008-05-01 Thread Michael Burbidge
resources declared in the context work properly. But if I deploy a new war while tomcat is running, mytest.xml is deleted and of course the resources defined in it are not available. Can anyone give my some guidance? Thanks, Michael

Re: Hot deploy deletes my context file...

2008-05-02 Thread Michael Burbidge
deleting the .war file. Michael- On May 1, 2008, at 11:14 PM, Mark Thomas wrote: Michael Burbidge wrote: I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/ mytest.xml. My war is called mytest.war and my servlet is

RE: JMX Perform GC TOMCAT 5.5.23

2008-06-04 Thread Michael Simmons
osed Exceptions" in (http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto. html) For template code. Michael Simmons Technical Advisor/Programmer Information Technology Services (ITS) (Office of Finance and Resources) Telephone: 6488 4792 Fax: 6488 3861 MBDP: M463 Email: [EMAIL PROTECTED] -

RE: JMX Perform GC TOMCAT 5.5.23

2008-06-04 Thread Michael Simmons
timeout = 5 mins. We have a Javascript Timeout counter counting down in every pages status line to alert the user. This helps free session data. I also detect if a new page has been requested less than 250ms ago and redirect them off the site. (to stop people hit refresh rapidly as a Denial of serve

Proxy timeout error in Apache error log

2008-10-16 Thread Michael Farah
cache/Folder/image.jpg, referer: http://www.site.com Can anyone advise what the issue might be? Regards Michael

Proxy timeout error in Apache error log

2008-10-18 Thread Michael Farah
cache/Folder/image.jpg, referer: http://www.site.com Can anyone advise what the issue might be? Regards Michael

RE: Proxy timeout error in Apache error log

2008-10-18 Thread Michael Farah
Mark I have turned off Keep Alive and also set SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 This does not seem to have made a difference. Regards Michael > -Original Message- > From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: 18 October 2008 2

RE: Proxy timeout error in Apache error log

2008-10-19 Thread Michael Farah
;s defintely running. Regards Michael > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: 19 October 2008 16:03 > To: Tomcat Users List > Subject: RE: Proxy timeout error in Apache error log > > > that should've worked > can you do

FW: Proxy timeout error in Apache error log

2008-10-21 Thread Michael Farah
from specific jsp pages and we can isolate these and troubleshoot them. Regards Michael From: Michael Farah Sent: 18 October 2008 12:13 To: 'users@tomcat.apache.org' Subject: Proxy timeout error in Apache error log Hi all We have three Tomcat sites running on three differ

[Http]ServletResponseWrapper.getOutputStream()

2008-11-11 Thread Michael Ludwig
ce of the include set in the source code of S will be lost. Is this analysis correct? Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-11 Thread Michael Ludwig
Michael Ludwig schrieb am 12.11.2008 um 02:37:29 (+0100): > But even with my Filter overriding both getOutputStream() and > getWriter() and substituting buffers that will be written to, there is > a problem. Servlet S will write to one buffer, and the DefaultServlet > will write to

Re: Tomcat threads, II

2008-11-12 Thread Michael Ludwig
OM or XSL, may easily consume 200 MB of RAM. If it's XSL and not done properly, five minutes of CPU hogging are easily attainable :-) I'd ask the vendor to explain what's going on. Michael Ludwig - To start

Re: Tomcat threads, II

2008-11-12 Thread Michael Ludwig
d etc.. XML is so much more "in". But > I am having second thoughts now, and I will give it a try. If your data is indeed tabular, CSV is probably fine. > Some reflexes remain for a lifetime. Fortunately! Michael Ludwig --

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-15 Thread Michael Ludwig
Christopher Schultz schrieb am 12.11.2008 um 14:46:08 (-0500): > Michael Ludwig wrote: > > IllegalStateException: > > > > getOutputStream() has already been called for this response > > > > But I haven't called getOutputStream() - I've called getWri

Re: Accessing User subject or User principal

2008-11-16 Thread Michael Ludwig
n my LoginModule's commit() call? You're supposed to access these values by calling getUserPrincipal() on the HttpServletRequest object. http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/ Michael Ludwig ---

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-17 Thread Michael Ludwig
Christopher Schultz schrieb am 16.11.2008 um 19:43:00 (-0500): > Michael Ludwig wrote: > > Christopher Schultz schrieb am 12.11.2008 um 14:46:08 (-0500): > >> What you need to do is provide a unified buffer that /both/ calls > >> can write to. If you use a ByteArra

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-17 Thread Michael Ludwig
Michael Ludwig schrieb am 17.11.2008 um 22:34:16 (+0100): > * ../include.html > * web.xml > * WEB-INF/src/milu/IncludeServlet.java > * WEB-INF/src/milu/GuFilter.java > * WEB-INF/src/milu/HttpResponseCatcher.java > * WEB-INF/src/milu/CapturedServletOutputStream.java Correction: I

Re: Configuring JNDI resources

2008-11-18 Thread Michael Ludwig
tp://www.atlassian.com/software/jira/docs/v3.13/databases/firebird.html Third, the following should be the best place to ask: http://tech.groups.yahoo.com/group/Firebird-Java/ I hope this helps. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-19 Thread Michael Ludwig
Hi Christopher, thanks for a long and detailed response. Christopher Schultz schrieb am 18.11.2008 um 16:26:23 (-0500): > Michael Ludwig wrote: > > I thought it helpful to have a trace of the methods getting called > One way to do it is to use a "proxy object". If yo

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-20 Thread Michael Ludwig
makes sense for situations where I have many nested filters and have them all detect the PW/SOS issue by calling my method in order to avoid risking an exception. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-20 Thread Michael Ludwig
Michael Ludwig schrieb am 20.11.2008 um 01:58:20 (+0100): > > > >String s = "" + wrapper.toString(); > > >( (HttpServletResponse) res).setHeader( > > > "Zeichen", Integer.toString( s.length())); > > > > Note that this

isapi_redirect.dll 64 bit

2008-11-21 Thread Michael McLeod
Where can I get a 64 bit version of the isapi_redirect.dll? I assume this is created by Apache? Regards, Michael McLeod Consultant ProtoCall One T +44 (0) 800 881 8130 F +44 (0) 845 466 6005 M +44 (0) 797 032 9560 E [EMAIL PROTECTED] W www.pc-1.co.uk <http://www

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-21 Thread Michael Ludwig
; > public String toString() { return this.buffer.toString(); } > > Although this will work, it might be surprising to users of your class. > I would like a method such as "getCapturedOutput" instead. I renamed this one. Thanks for your help, Christopher and Chuck! Michael Ludwi

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-21 Thread Michael Ludwig
ee: You never know. And who knows what stuff gets set or tweaked in Tomcat's internals for each one of getWriter() and getOutputStream(). On the other hand, I haven't found any statement to the effect that you have to pass through the calls to the underlying response object. Michael Lud

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-21 Thread Michael Ludwig
Christopher Schultz schrieb am 20.11.2008 um 10:05:48 (-0500): > Keep reading for more. > > Michael Ludwig wrote: > >> So, when this code is called from an "include" call to the request > >> dispatcher, it doesn't appear in your filter's captured

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
pache.org/tomcat-5.5-doc/class-loader-howto.html http://tomcat.apache.org/migration.html http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html http://weblogs.java.net/blog/arungupta/archive/2007/07/metro_on_tomcat.html Finer granularity of

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
ould make sense? And wouldn't more memory be required for 5 web apps all loading the same classes redundantly instead of relying on the container to do it once instead? Michael Ludwig - To start a new topic, e-mail: users@

Re: Debian Etch, Eclipse 3.2, Tomcat5 can't work together?

2008-11-23 Thread Michael Ludwig
ay. So let Debian be Debian and get your milk directly from the cow: http://www.eclipse.org/downloads/ http://tomcat.apache.org/download-55.cgi http://tomcat.apache.org/download-60.cgi Michael Ludwig - To start a new

Filter and ServletResponseWrapper obligations

2008-11-23 Thread Michael Ludwig
tainer citizens? What are their obligations? Is this contract documented? Alright, I found the spec. http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html But I haven't read it yet :-) So if anyone wants to comment ... Thanks, Michael Ludwig

Re: tomcat 5.5.20 security issue

2008-11-24 Thread Michael Ludwig
otes/guides/security/crypto/CryptoSpec.html#ProviderInstalling Let us know if this helps, and if so, what you have to do to get it working. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-m

Re: tomcat 5.5.20 security issue

2008-11-24 Thread Michael Ludwig
citly wants the "com.sun.org.apache" version, you'll probably have to upgrade. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Setup Logging for Tomcat 6

2008-11-24 Thread Michael Ludwig
tem". > (Can't tell you exactly, this PC is German, and there it's called > "Ereignisanzeige") Shortcut: Hit Windows-r, then type "eventvwr.msc". Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Setup Logging for Tomcat 6

2008-11-24 Thread Michael Ludwig
pression yesterday. "Share a logging complex" - could you expand a bit on what this means, or provide a pointer to an informative document? Thanks. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apac

Re: Re: Tomcat 6 unstable

2008-11-24 Thread Michael Ludwig
rties". > The idea I have is to create a pool of connections. I read the concept > but now I need to implement it. Is Tomcat deal with the pool or I need > to ask help in DB2 forums ? It'll probably work the same way as for other database servers. In order for this to work, both

Re: Setup Logging for Tomcat 6

2008-11-24 Thread Michael Ludwig
Caldarale, Charles R schrieb am 24.11.2008 um 18:53:06 (-0600): > > From: Michael Ludwig [mailto:[EMAIL PROTECTED] > > Subject: Re: Setup Logging for Tomcat 6 > > > > "See the driver" - I think I used that expression yesterday. "Share a > > logging c

Re: User Request Ordering

2008-11-24 Thread Michael Ludwig
er knows everything. So Tomcat can check whether or not it is legitimate for button X to be clicked on behalf of user Y. This should be done regardless of whether or not you move to one of the solutions at the UI level. Michael Ludwig ---

Re: Setup Logging for Tomcat 6

2008-11-24 Thread Michael Ludwig
Caldarale, Charles R schrieb am 24.11.2008 um 19:37:52 (-0600): > > From: Michael Ludwig [mailto:[EMAIL PROTECTED] > > Subject: Re: Setup Logging for Tomcat 6 > > > > Does the same hold true for the "shared.loader"? > > It holds true for *any* classl

Re: Re: Tomcat 6 unstable

2008-11-24 Thread Michael Ludwig
ommon.loader"? Or would web app Foo only harm itself? Does this mean web apps have to be monitored for the classes they make available in order to make sure none of them has already been made available via the common.loader? Michael Ludwig -

Re: Re: Tomcat 6 unstable

2008-11-25 Thread Michael Ludwig
Caldarale, Charles R schrieb am 24.11.2008 um 21:51:33 (-0600): > > From: Michael Ludwig [mailto:[EMAIL PROTECTED] > > > Could web app Foo, which brings its own DB2 driver - in spite > > of the same driver already offered by the common.loader or > > the bootstra

Re: Re: Tomcat 6 unstable

2008-11-25 Thread Michael Ludwig
e, all objects derived from it are also closed. (That's how drivers are implemented so they're not too complicated to use.) The whole point of the pool, however, is to *not* close the connection. So no automatic tidying up is going to happen: you have to do it yourself. Michael Ludwi

Re: Re: Tomcat 6 unstable

2008-11-25 Thread Michael Ludwig
Caldarale, Charles R schrieb am 25.11.2008 um 17:00:24 (-0600): > > From: Michael Ludwig [mailto:[EMAIL PROTECTED] > > Subject: Re: Re: Tomcat 6 unstable > > > > I've read somewhere that omitting the file:/// URI scheme is wrong. > > However, it seems to work.

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-25 Thread Michael Ludwig
getByteArray() { return buffer.toString().getBytes(); } public char[] getCharArray() { return buffer.toString().toCharArray(); } } Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-25 Thread Michael Ludwig
Christopher Schultz schrieb am 25.11.2008 um 09:31:17 (-0500): > Michael Ludwig wrote: > > Your argument in favour of the unified buffer sounds perfectly > > logical to me. In the end, it's all bytes that get written, > > regardless of whether or not I wrap a Pri

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-25 Thread Michael Ludwig
I forgot two important lines; explanation in other posts on this thread. Michael Ludwig schrieb am 26.11.2008 um 02:14:58 (+0100): > public ServletOutputStream getOutputStream() throws IOException { getResponse().getOutputStream(); > return stream; > } > > public PrintW

Re: Manager app language

2008-11-26 Thread Michael Ludwig
ld be the ones to look out for. LC_CTYPE is for character classification. Watch out for LANG, which overrides everything else. > But where the h.. does Tomcat or the Manager figure that it needs to > send the "application list" main page in German ? Don't complain about

Re: Manager app language

2008-11-26 Thread Michael Ludwig
n of another colleague who, like me, saw it in German > yesterday for the first time. > Wie nennt man gremlins in Deutsch ? Kobolde. Zur See auch Klabautermänner, aber ich schätze, Dein Tomcat ist eine Landratte. Oder wohl eher eine Landkatz

Re: Manager app language

2008-11-26 Thread Michael Ludwig
text requires the requested locale be installed in the OS, else ignoring the locale you're trying to set.) Or simply: LANG=de_DE ./startup.sh # or maybe even LANG=de ./startup.sh Michael Ludwig - To

Re: Tomcat 5.5.26 / 6.0.18 difference: loading jdbc jar??

2008-11-26 Thread Michael Ludwig
-loader-howto.html > B) is there something I need to adjust in my configuration and jndi > code? If you want the JNDI data source, put the mysql.jar in Tomcat/lib. Michael Ludwig - To start a new topic, e-mail: users@tomc

Re: Setting encoding for tomcat compiler

2008-11-26 Thread Michael Ludwig
} finally { if ( in != null ) in.close(); if ( out != null ) out.close(); } } } C:\dev\Java\Encoding :: java -cp . Convert CP1251.txt latin1 Murks.txt utf-8 C:\dev\Java\Encoding :: more Murks.txt €???­ ???°? ?Š?€? ?­???­ ?®?­???? ???®?? ?

Re: Odd encoding of servlet parameters

2008-11-27 Thread Michael Ludwig
e ASCII character set.) Some element in the chain gets the parsing wrong. I'd suspect the producer of this "XML" first. Michael Ludwig - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Manager app language

2008-12-01 Thread Michael Ludwig
Michael Ludwig schrieb am 26.11.2008 um 20:57:12 (+0100): > LC_MESSAGES or LC_ALL would be the ones to look out for. LC_CTYPE is > for character classification. > > Watch out for LANG, which overrides everything else. I was mistaken here. LANG is *not* the one that overrides eve

Re: Tomcat 6 unstable

2008-12-01 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 16:16:49 (-0500): > Michael Ludwig wrote: > > The very fact that object leak from one web app into another is a > > possibility seems to constitute a strong argument in favour of > > strict monitoring, be it only to shield one

RE: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Michael McLeod
IIS is running 32 bit on a 64 bit machine, but I do not know how to check this. I decided to move to 32 bit and I am still getting the same problem so have gone back to my supplier. Regards, Michael McLeod ProtoCall One -Original Message- From: Alexander Diedler [mailto:[EMAIL PROTECTED

Embedded Tomcat and global naming resources

2008-12-04 Thread Michael Borchert
Exception when calling the database. When I'm adding the ContextResource directly to the Context the everything works fine: Context context = createContext("", docBase.getAbsolutePath()); context.getNamingResources().addResource(resource); So how do I get a resource link working in

Apache Tomcat 6.0.18 Not Starting

2008-12-09 Thread Michael CC
I just installed this version on Vista. When I run startup.bat, Tomcat is not finishing loading. It just hangs there. Here is a copy of my log. Any suggestions? Dec 9, 2008 4:46:07 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows

Re: Can not fail over a web service call using mod_jk

2008-12-09 Thread Michael Ludwig
g and error reaction. [OT] Good old (but not exactly light-weight) mod_perl can do all that. Although I don't know how good its threading implementation is. Michael Ludwig - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Apache Tomcat 6.0.18 Not Starting

2008-12-09 Thread Michael CC
I am already running Apache Webserver on 8080. I changed the Connector Port to 8088 in the Server. xml file. When I test the service by calling http://localhost:8088/ I get the "Internet Explorer cannot display the webpage". Kirk True wrote: > > Hi Michael, > > Micha

RE: Apache Tomcat 6.0.18 Not Starting

2008-12-09 Thread Michael CC
t right here. Caldarale, Charles R wrote: > >> From: Michael CC [mailto:[EMAIL PROTECTED] >> Subject: Apache Tomcat 6.0.18 Not Starting >> >> I just installed this version on Vista. When I run >> startup.bat, Tomcat is not finishing loading. > > What mak

Re: Tomcat thread pool question

2008-12-10 Thread Michael Ludwig
g, as no work has been done in it. You have to close your connection each and every time to give it back to the pool. That's the idiomatics of the pool: Calling close() on a connection returns it to the pool. http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/PoolableConnection.

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