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:
*
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
-
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
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
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
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\
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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]
}
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
€??? ???°? ?Š?€? ???? ?®????? ???®?? ?
-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
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
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
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
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
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
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
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.
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
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
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
-
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
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
---
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
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
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
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]
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]
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
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
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
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@
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
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
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
; > 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
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
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
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
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]
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
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
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
---
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
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
--
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
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
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]
101 - 165 of 165 matches
Mail list logo