[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

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: 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: 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.

Re: tomcat6, bottleneck, concurrent requests, windows xp

2008-12-14 Thread Michael Ludwig
tenth of the time taken altogether. > Time per request: 166.563 [ms] (mean, across all concurrent requests) > Transfer rate: 162.42 [Kbytes/sec] received Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat6, bottleneck, concurrent requests, windows xp

2008-12-15 Thread Michael Ludwig
k. I think you should (1) increase your test volume, (2) check for possible server-side bottlenecks (like database connections), and (3) maybe try the Executor with minSpareThreads. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: HTTP Status 500 problem with tomcat5.5

2008-12-15 Thread Michael Ludwig
in(String[] args) throws ParseException { DateFormat dateFormat = new SimpleDateFormat( "EEE MMM dd HH:mm:ss zzz ", Locale.US); Date now = new Date(); System.out.println( now.toString()); Date date = d

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-12-27 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 13:15:24 (-0500): > Michael Ludwig wrote: [Better late than never.] > > public HttpResponseCatcher( HttpServletResponse res) { > > super( res); > > this.buffer = new ByteArrayOutputStream(); > > this.stream = new

Re: Filter and ServletResponseWrapper obligations

2008-12-27 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 14:15:31 (-0500): > Michael Ludwig wrote: Hi Chris, thanks for your reply. Sorry for not getting back earlier. > Is this the filter you wrote in your other thread? Yes. > Maybe you are not printing your output at the right time. Or

Re: [OT] How to compile a servlet for Tomcat 5 on IBM JVM, or, "Dr. Warnier: How I learned to stop worrying and love VMWare"

2008-12-29 Thread Michael Ludwig
ei "Standardgateway für das Remotenetzwerk verwenden" entfernen. Or the equivalent steps in English. But maybe your case is a different one. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-20 Thread Michael Ludwig
spel the error. What could make the script version succeed and the service version fail with both Tomcat 5.5 and 6? What could I do to find the error? Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-21 Thread Michael Ludwig
Tommy Pham schrieb am 20.01.2009 um 21:45:17 (-0800): > > I don't know if this is relevant to your problem or not and you didn't > mention whether you're x64 or x86 of XP version. Yes, I forgot to say, this is a 32 bit system. > Here's where you can get 64bit for tomcat5: > http://svn.apache.org

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-21 Thread Michael Ludwig
t is just a guess. > > And indeed, this works using bin\startup.cmd. > > We'll presume you meant bin\startup.bat. You can safely do that. :-) Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-22 Thread Michael Ludwig
Konstantin Kolinko schrieb am 22.01.2009 um 07:51:16 (+0300): > 2009/1/22 Michael Ludwig : > > But I'm assured by the developers that: > > "The Java API for DB XML begins by first trying to load the > > release versions of the libraries, and failing that the

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-28 Thread Michael Ludwig
Konstantin Kolinko schrieb am 23.01.2009 um 04:57:31 (+0300): > > I think that the answer is (and your solution proves this) that the > statement that service does not need environment variables is not 100% > true. > > That is, if you compare *.bat/*.sh with how the service is started, > you can

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-28 Thread Michael Ludwig
Caldarale, Charles R schrieb am 22.01.2009 um 21:52:36 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > If you don't mind running another experiment, please start Tomcat as a > service onc

Re: Deploy 1st Service to Tomcat proper

2009-01-28 Thread Michael Ludwig
uot;jar tf your.war" to check what's in the JAR. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2009-01-28 Thread Michael Ludwig
username="username" > password="password" > driverClassName="oracle.jdbc.OracleDriver" > uri="jdbc:oracle:thin:@aserver:2224:DB"/> Try changing the attribute "uri" to "url". Even though th

Re: Tomcat 6 vs Apache running as services

2009-01-28 Thread Michael Ludwig
ho.com/ > I need them to run parallel and be completely independent - tomcat for > java apps and apache for php5. You can have them run in separate contexts. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomc

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-01 Thread Michael Ludwig
Caldarale, Charles R schrieb am 29.01.2009 um 22:45:40 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > > > > -Djava.library.path=C:\Server;C:\src\BerkeleyDbXml\dbxml-2.4.1 > > 6\bin\

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
uch thing in the source tree. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
Caldarale, Charles R schrieb am 01.02.2009 um 22:38:57 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > > > > The Java bridge DLLs (or whatever they're called) can be moved to a &g

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
tension to the Berkeley Database. > can you provide the link where you acquired the source? Here's the product homepage with a download link: Oracle Berkeley DB XML http://www.oracle.com/database/berkeley-db/xml/inde

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
u're talking about running inside your IDE? Or standalone? Is it possible that Log4J is improperly configured and thus not showing you error messages? I'd get rid of the IDE and log4j to cut down complexity. Then, you should find error messages in the log files. Michael Ludwig -

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
alk about building stuff. Note that you don't have to do that yourself, Instead, you may want to download the extra components from one of the mirrors. The extra components are in the bin/extra directory of the mirrors, so one level down from where the Tomcat archives are. You'll need: *

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
Caldarale, Charles R schrieb am 02.02.2009 um 18:32:46 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: Deploy 1st Service to Tomcat proper > > > > http://tomcat.apache.org/tomcat-6.0-doc/extras.html > > http://tomcat.apache.org/tomcat-6.0-d

Re: How to get thread dump on Tomcat 6 (windows)

2009-06-22 Thread Michael Ludwig
g as a service (needs the box "Allow service to interact with desktop" checked to show the console, of course); (3) clicking the icon in the notification area (systray) after launching "tomcat6w.exe //MS//", see [1].

Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
oes anyone know what steps I have to undertake in oder to get the Tomcat adapter working within Eclipse 3.5 Galileo? Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
y $32/yr. Saves a variety of pain. That's nice, of course. Still, I'd like to know how to assemble the beast myself. Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Now I downloaded Eclipse 3.5 (Galileo), and there are no configurations whatsoever in the Servers view. Absolutely no configuration? Then it is strange. In Galileo (Java EE development edition) I have Tomcat configurations and I tested it

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Michael Ludwig schrieb: Now I downloaded Eclipse 3.5 (Galileo), and there are no configurations whatsoever in the Servers view. On clicking "Download additional server adapters" from the New Server dialog, I'm presented with a list of adapters including Geronimo, Glassfish, Je

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Does anyone know the name of the Tomcat adapter feature? Or a URL to download the feature? It should be "JST Server Adapters" Thanks again, Antonio. I thought so, too, but that only creates a template for "J2EE Preive

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Does anyone know the name of the Tomcat adapter feature? Or a URL to download the feature? It should be "JST Server Adapters" And that's exactly what it is. The thing to note is that you can either install "JST Serve

Re: providing downloading functionality for a file which is on disk

2009-07-21 Thread Michael Ludwig
WORKSPACE\XPGJ\WEBCONTENT │ ├───META-INF │ context.xml │ import.xml │ MANIFEST.MF │ └───WEB-INF │ web.xml -- As I suspected, no second context gets configured. Is there a way of including a second context with a web application in a similarly

Re: Export Eclipse Web Service to Tomcat

2009-08-05 Thread Michael Ludwig
rting according to your wishes. Is there an easy way of testing the deployed .war is running correctly? Depends on what tests you have set up. For an XML web service, tests should be rather doable. You could use Schematron or Canoo WebTest. Do I need to put the axis2 .jar on the Tomcat? Don&#

Re: Beginner

2009-08-06 Thread Michael Ludwig
on the web and also in your local Tomcat installation, likely to be reached at: http://localhost:8080/docs/ -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Trailer header and tomcat

2009-08-06 Thread Michael Ludwig
this chunk should be mentioned in the "Trailer" header in the previous response. Or trailers. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat copies context.xml to conf/Catalina/localhost/app.xml but never updates it?

2009-08-06 Thread Michael Ludwig
Mark Thomas schrieb: M4N - Arjan Tijms wrote: Anyone has any idea? Search the archives. This been covered repeatedly. Hint: Tomcat has a manager app. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat copies context.xml to conf/Catalina/localhost/app.xml but never updates it?

2009-08-07 Thread Michael Ludwig
use an Eclipse-managed Tomcat, you may then have to right-click on the Server entry in the Servers view and choose "Clean". You might want to check what's on the filesystem in the relevant directory before and after cleaning (using something like dir /s /b) so you understand what&

Re: Change the deployment path to another name than the .WARs name

2009-08-07 Thread Michael Ludwig
hout restarting | Tomcat. So you even might want to reconsider this option and follow one of the other approaches listed in the introduction. [1] http://localhost:8080/docs/config/context.html -- Michael Ludwig - To unsubscribe, e-mail:

Re: Tomcat copies context.xml to, conf/Catalina/localhost/app.xml,but neverupdates it?

2009-08-07 Thread Michael Ludwig
riptor that was there before and - naturally - refuses to overwrite it with anything else as it might well be the one and only master copy? -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additio

Re: Tomcat copies context.xml to conf/Catalina/localhost/app.xml, but never updates it?

2009-08-07 Thread Michael Ludwig
It seems misleading indeed. Maybe the description of the "deployment sequence" should amend this sentence: | 1. Any Context Descriptors will be deployed first. to include a warning like: Achtung! This will only happen if there is no Context Descriptor

Re: Tomcat copies context.xml to conf/Catalina/localhost/app.xml, but never updates it?

2009-08-07 Thread Michael Ludwig
Mark Thomas schrieb: Michael Ludwig wrote: "Static deployment" does not seem to handle META-INF/context.xml - and that looks broken. No, static deployment is not deprecated. Static deployment *does* handle context.xml. It is working as designed. If you delete the WAR/DIR *an

Re: Error "libphp4.so is not a valid load module: Bad magic number" starting Apache

2009-08-14 Thread Michael Ludwig
mailing list. (And explain to them WTF is "WebAccess".) http://www.php.net/mailing-lists.php -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

Re: Error "libphp4.so is not a valid load module: Bad magic number" starting Apache

2009-08-14 Thread Michael Ludwig
m/thread.jspa?threadID=5263283 So you need to get the correct version for your machine, either 32 or 64 bit. Good luck. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat-users.xml on Tomcat6

2009-08-25 Thread Michael Ludwig
ou read the doc concerning the MemoryRealm? http://localhost:8080/docs/realm-howto.html#MemoryRealm The usual expert advice on this list is to avoid the prepackaged Tomcat and install the real one that can be downloaded from the Apache site. --

Re: Tomcat cluster fails and generates tons of logs

2009-08-25 Thread Michael Ludwig
ch seems to have led you here: http://stackoverflow.com/questions/1326336/ Maybe it is helpful to others who know about Tomcat internals. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: java.lang.UnsatisfiedLinkError: running tomcat on java headless?

2009-08-31 Thread Michael Ludwig
ndencies simply required? I think the JVM wants to load libmlib_image.so because it is needed. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Is resource-ref really needed?

2009-08-31 Thread Michael Ludwig
;s just me... It's not just you. I've also been wondering why you should need it when obviously you don't as your works without a . -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org F

Re: java.lang.UnsatisfiedLinkError: running tomcat on java headless?

2009-08-31 Thread Michael Ludwig
more than one Java installation on your machine? Do Java library directories show up in the output of "ldconfig -p"? Could that confuse the JVM about what library to load? -- Michael Ludwig - To unsubscribe, e-mail: users

Re: java.lang.UnsatisfiedLinkError: running tomcat on java headless?

2009-08-31 Thread Michael Ludwig
wt.headless=false, which also makes isHeadless() return false. So it seems to work with or without this headless property. So why does it not work for Method8 (the OP)? -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr.

Re: java.lang.UnsatisfiedLinkError: running tomcat on java headless?

2009-08-31 Thread Michael Ludwig
ce you are using iText - this shouldn't be an issue. Indeed, and it isn't for me - only for the OP. -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comma

Re: Db connection issue due to firewall

2009-08-31 Thread Michael Ludwig
so shouldn't need testOnReturn and testWhileIdle, though I > understand you're probably desperate. > I can't imagine that it matters, but you might want to take out the > spaces after the = signs in your XML (like validationQuery ="true"). S

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
oy using the manager application? Or removing the WAR and properly waiting for Tomcat to discover this? Or are you improperly clobbering the WAR? That would leave a stale context.xml for your application in place. -- Michael Ludwig ---

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
o in your resource definition. I once had Resource/@url instead of Resource/@uri with the MySQL driver. The error was just: Cannot create JDBC driver of class 'com.mysql.jdbc.Driver' for connect URL 'null' Double-check your re

Re: Strange problem with data source Tomcat 6.0.18

2009-08-31 Thread Michael Ludwig
slight differences pertaining to case-insensitive filesystems, but that's probably not relevant here. > Try capitalizing to . -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apach

Re: Strange problem with data source Tomcat 6.0.18

2009-09-01 Thread Michael Ludwig
Schalk, glad you solved it. Michael Ludwig schrieb: Then I suspect a typo in your resource definition. I once had Resource/@url instead of Resource/@uri with the MySQL driver. The error was just: For posterity, I got this the wrong way around: Resource/@url is correct, Resource/@uri is

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
ha, beta and gamma? (1) By dropping a copy in each of the different Host/@appBase? (2) By having all three Host/@appBase point to the same location (and then of course put the WAR there)? (3) By some other means? -- Michael Ludwig [1] http://tomcat.apache.org/tomcat-6.0-doc/config/serv

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
Caldarale, Charles R schrieb: From: Michael Ludwig [mailto:m...@as-guides.com] A server may have mulitple elements. Don't ask me why you'd want more than one elements [2] - because that's what I'd like to ask the experts. Anyone? Seemed like a good idea at the time?

Re: tomcat 6.0.20 different instances with diff ips but same port no 80

2009-09-01 Thread Michael Ludwig
l requests go there regardless. It's only when you have multiple elements that the name attribute and any elements come into play. That makes sense. Thanks! -- Michael Ludwig - To unsubscribe, e-mail: users-unsubscr...@to

  1   2   >