Hi guys,
recently our server crashed (Debian), and since then I'm having
problems getting JavaMail to run within Tomcat 5.5
I've defined a ressource within $catalina_home/context.xml:
Resource name=mail/Session auth=Container
type=javax.mail.Session
Hi Ben,
On Tue, Aug 12, 2008 at 4:19 PM, Ben Stringer [EMAIL PROTECTED] wrote:
On Tue, 2008-08-12 at 16:07 +0200, Gregor Schneider wrote:
I've often had problems with javamail in Tomcat due to more than one
version of the javamail jar being on the classpath. Perhaps check if
this is the case
Hi jonny,
On Tue, Aug 12, 2008 at 5:06 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
its HELO (blank) because when java asks the machine who it is... it doesnt
know ;)
that was the clue I was looking for
after the crash the hostname in /etc/hostname wasn't configured - duh
thanx!
Well,
I guess you should v´have a vanilla start with log4j.
Therefore:
1st make sure that you've got all necessary libs installed in the
appropriate folders (guess you're fine here, otherwise no logs would
show up)
2nd create a file $catalina_home/common/classes/log4j.xml with the
following
On Tue, Aug 26, 2008 at 2:02 PM, sam wun [EMAIL PROTECTED] wrote:
package command;
Package command;
notice the difference?
cheers
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Hi folks,
some background-infos:
OS:
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail:
Hi folks,
some background-information first:
OS : Debian (Etch)
Tomcat: Tomcat 5.5.26
Java : 1.5.014
I've compiled jsvs (which is running) and tomcat-native.
I've copied all compiler-output from tomcat-native to $catalina-home/lib:
-rw-r--r-- 1 tomcat tomcat 1506416 2008-08-26 15:49
Hm, rather quiete here about my problem...
Is there anybody on this list who is using Tomcat together with APR on
any Linux and could let me know about his/her configs?
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
Hi Mark,
On Thu, Aug 28, 2008 at 1:15 PM, Mark Thomas [EMAIL PROTECTED] wrote:
Is the right listener defined in web.xml?
hm, what do you mean by right listener? and what web.xml? I figure you
mean $catalina_home/conf/web.xml?
As a how-two I used the tomcat-docs as described here
And the story continues
OS: Debian Etch
Tomcat: 5.5.20
Java: 1.5.0_10-b03
Happily having setup TC Native and APR, now I'm trying to configure SSL
Since I'm using the APR, Tomcat uses OpenSSL instead of the
JSSE-implementation - ok, got that:
I created my connector in
Hi there,
I'm about to give it up.
One final question though:
Anybody out there who has the following combination up running:
- Linux (Debian preferred, other distributions also welcome)
- Tomcat 5.5
- APR
- SSL
?
I'm sucessful getting Tomcat running together with the APR, however,
when
Hi Markus,
On Fri, Aug 29, 2008 at 5:52 PM, Markus Schönhaber
[EMAIL PROTECTED] wrote:
Gregor Schneider schrieb:
Search the list archives. There has more than once been discussion about
this topic. For example
http://marc.info/?l=tomcat-userm=118190563608389w=2
Maybe this helps.
actually
On Mon, Sep 1, 2008 at 1:41 PM, Manuel Trujillo [EMAIL PROTECTED] wrote:
Is the java 64 bits more memory-eat than 32 bits?
No, in fact the 64-bit-jvm is able to adress (thus use) more memory
than on 32-bit-jvm.
just make sure that a 64-bit-jvm (java-virtual-machine) is installed.
Gregor
--
Hi Markus,
seems I was a bit too optimistic...
although I compiled APR with /dev/urandomPLUS creating $HOME/.rnd
(changed 2048 to 4096 since this is the value specified in
/proc/sys/kernal/poolsize), it's again taking ages to start up tomcat.
Since this is a server-machine where I just can't
On Mon, Sep 1, 2008 at 3:57 PM, Ronald Klop [EMAIL PROTECTED] wrote:
My experience is also that java likes more memory on 64-bit systems. But I
can't prove or explain it.
You can tell Java exactly how much memory to use:
Have a look at the -Xms and -XMX-parameters for the JVM (java -X will
Hi Marcus,
On Mon, Sep 1, 2008 at 4:56 PM, Markus Schönhaber
[EMAIL PROTECTED] wrote:
Is the libtcnative your Tomcat uses really linked against your self-compiled
version of APR (ldd to check)?
looks as if you're becoming my personal hero...
I just had the development-headers of the APR
Tomcat is a webserver plus a servlet-container.
To run EJBs, you need an application-server.
Have a look at JBoss (www.jboss.org):
It's an application-server incorporating Tomcat as a servlet-container
/ web-server.
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp:
On Mon, Sep 1, 2008 at 7:38 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
The guys tell me that the JRE did have a memory heap allocation bug... in
pre JRE's 6...
Its not tomcat apparently if you want to play with 64 bit... get the
very latest JRE 6 from SUN direct.
Have fun...
And dont
Hi Johnny,
On Mon, Sep 1, 2008 at 9:26 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
Linux admin guys just knocked off... I'll ask them to explain the details in
the morning...
They just said something about a major/minor heap allocation problem on
earlier JREs
You know these debian dudes...
Hi guys,
I have quite a bit of a problem here.
Status quo:
We have some heavily framed static html, which now should be served by
Tomcat (5.5) only via SSL.
The whole content needs to be protected, so I've implemented a
FormAuthenticator.
However, the heavy framing *yuck* of this static html
Suresh,
I guess no one is having the same problem like what you're having.
As a first guess, within your connector I'd change
clientAuth=false sslProtocol=TLS keystoreType=PKCS12
to
clientAuth=false sslProtocol=ALL keystoreType=PKCS12
2nd, I'd have a look how it behaves
Hi Filip,
guess you're mixing things up:
Since I'm using the APR (Apache Portable Runtime), according to
http://tomcat.apache.org/tomcat-5.5-doc/apr.html,
it has to be SSLEngine=on
(check the HTTPS-Connector)
The example given in the Tomcat-docs is
Connector port=443
On Wed, Sep 3, 2008 at 8:20 AM, Suresh Kumar J [EMAIL PROTECTED] wrote:
Am runing Harmony JRE in this case. Is this error related to Harmony JRE or
Tomcat?.
Suresh, sorry, but unfortunately my cristal ball is not available...
Try it with the original SUN JDK - Not JRE and see if it works.
I
Hi there,
On Wed, Sep 3, 2008 at 1:50 PM, H. Hall [EMAIL PROTECTED] wrote:
Assuming that your login form is a jsp, why don't you put something like
this in it:
if(isOKLogin ){
RequestDispatcher rd = request.getRequestDispatcher(/index.html);
rd.forward(request, response);
On Wed, Sep 3, 2008 at 2:15 PM, Amit Dixit [EMAIL PROTECTED] wrote:
I want to listen at two ports in Tomcat 5.5. One is SSL enabled and another
is unsecured port. Currently I have created two Services in Tomcat, Is it the
best strategy or I can satisfy this requirement using one Tomcat
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
Search for SingleSignOn
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole [EMAIL PROTECTED] wrote:
Cookies (like you see in this site) is a good solution?
*http://www.fwd.at/tomcat/sharing-session-data-howto.html*
On Wed, Sep 3, 2008 at 6:21 PM, Andrew Hole [EMAIL PROTECTED]wrote:
Thanks.
And how can I test this
Andrew,
On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole [EMAIL PROTECTED] wrote:
Cookies (like you see in this site) is a good solution?
*http://www.fwd.at/tomcat/sharing-session-data-howto.html*
that's not necessary.
When you configure the SingleSignOnValve within Tomcat, all webapps
I guess he's talking about Tomcat-services:
A Service element represents the combination of one or more Connector
components that share a single Engine component for processing
incoming requests. One or more Service elements may be nested inside a
Server element.
From:
http://tomcat.apache.org/connectors-doc/
rgds
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new
Ayden,
On Thu, Sep 18, 2008 at 12:53 AM, [EMAIL PROTECTED] wrote:
I would also like a Blogger like WordPress or Apache ROLLER
Actually it's pretty simple:
- Wordpress is based on PHP
- Apache Roller is based on Java (Java-Webapp)
There are some options to run PHP using Tomcat, but it's not
On Fri, Sep 19, 2008 at 10:41 PM, André Warnier [EMAIL PROTECTED] wrote:
An alternative is to wait a couple more hours, until the first suggestion to
de-install your Tomcat package and install the Tomcat from the official
Tomcat site arrives.
actually, that would be my suggestion.
however, I
Hm, I guess I disagree.
Tomcat is using / supporting the standard logging-features from Java,
and I think this is the way it should be.
If the Java Community decides for a new way of logging, TC may implement it.
For us, we just configure TC to use log4j, and it works like charm.
Sure, it's no
got the same scenario here:
- RMI-app (server)
- Servlet connecting to the RMI-server
However, that's not a Tomcat-issue:
Just code the RMI-calls within your servlet.
Hope I understood your problem correctly.
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp:
Maybe one more statement to shed some light:
Tomcat does not have any built-in support for RMI-connectivity but for
the HTTP(S)-connectivity.
If you want to forward incoming HTTP(S)-Requests to your RMI-server,
you'll have to write a servlet which accepts the default
HTTP(S)-requests and
Hi Leon
On Mon, Oct 27, 2008 at 12:03 PM, Leon Rosenberg
[EMAIL PROTECTED] wrote:
Gregor,
I think you misunderstood the OP (or maybe I did)
but he wanted to receive incoming calls via RMI or HTTP, at least that
was what he posted, and not using tomcat as client...
I see... however, what
I'm giving you a piece of advice:
- copy debian's tomcat-startup-script - since it is not too bad
- after that, remove purge debian's tomcat-package
- get the tar fro tomcat.apache.org and untar it in a directory of
your choice (i.e. /var/lib)
- copy debian's startup-script back to the
Hi guys,
we're running Tomcat on Debian on port 80 using Tomcat Native (JSVC).
Now I'm wondering wether it's possible to get remote debugging working here.
I've adapted the the startup-script as follows:
code
#!/bin/sh
export
Hi there,
to those who might be trapped in the same pitfall:
remote-debugging wth tomcat-native works perfectly.
The issue was resolved by removin a proxy-setting within Eclipse (Ganymede):
Obviously Eclipse doesn't accept information of hosts to for which
the proxy has to be bypassed.
Hi there,
we're running some websites which are heavily framed (unfortunately)
using IFrames.
Authorization is done via FormBased Auth using Tomcat's built-in
j_security_check-method.
However, this is giving us some headaches when an application times out.
As you may know, j_security_check
Hi Mikolaj,
On Mon, Dec 1, 2008 at 1:50 PM, Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Try http://securityfilter.sourceforge.net/
- the good news: Your karma has grown
- the bad news: Since SecurityFilter does not support SingleSignOn,
looks that I'm not able to use it without adapting the
Hi Chris,
On Tue, Dec 2, 2008 at 3:51 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Now if the session times out, the user clicks on the menue, the url
requested is the source of the IFrame.
This shouldn't be the case: the URL requested
Hi Chris,
On Tue, Dec 2, 2008 at 4:13 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
For Securityfilter's next version, we are attempting to make it easy to
implement it as a Tomcat Valve, which should allow things like SSO.
Do you have any information when this next version will be
Maybe this might help:
http://marc.info/?l=tomcat-userm=122538405720489w=2
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Good evening,
I thought I understood the autodeploy-feature. howver...
I've started to move away from Tomcat 5.5 towards 6.0, and created my
virtual hosts as suggested in the docs:
I've created
- ${catalina.home}/example.com (directory)
- ${catalina.home}/example.com/META-INF (directory, no
Duuh.. sorry for the misunderstanding:
On Mon, Dec 8, 2008 at 10:39 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
Subject: Again: Autodeploy in Tomcat 6
Next, I put a webapp (roller.war) into ${catalina.home}/webapps -
awaiting deployment
Hi Chuck,
everything's working fine now.
That was what I missed:
On Mon, Dec 8, 2008 at 11:22 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
Note that autoDeploy is effective only for webapps added while Tomcat is
running; it's the deployOnStartup attribute that determines what happens
Bill,
On Thu, Dec 11, 2008 at 4:15 AM, Bill Barker [EMAIL PROTECTED] wrote:
The article is referring to the fact that Tomcat adds cache headers by
default to any page protected by a security-constraint to prevent someone
else from stealing it from an intermediate proxy. The default settings
On Thu, Dec 11, 2008 at 1:05 PM, Javabeat [EMAIL PROTECTED] wrote:
same applies on Firefox though, there may well be issues in IE as always but
i'm not convinced this is the core problem here.
I strongly disagree.
We do have a setup here having Apache HTTPD 2.2 fronting Tomcat 5.5,
and the
what user are you logged in as?
what does
ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
and
ls -l /usr/local/apache-tomcat-6.0.18
give?
gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
Hi Parha,
never ever run tomcat as root - that's a security-issue.
I hope you haven't followed the hint to chmod to 777 - that's anything
but a good idea.
to solve the issue, procceed like this:
- as root , do
- create a user tomcat
- chown -R tomcat /usr/local/apache-tomcat-6.0.18
- su
Patha,
I think you've received enough pointers here already.
If you're logged in as root and you can't even write into a directory,
it's pretty likely that either
- the device is mounted read-only (check with mount -l)
- the device is somewhat corrupted (either the device or the
Hi there,
I'm just wondering one thing:
When using formbased authentication within Tomcat aka
j-security_check, the credentials are sent over the wire.
No problem when using SSL, however, when using a simple HTTP-request,
I figure that this scenario might be a security-issue.
Does anybody have
Hi Mark,
ehem, a bit too abstract for my taste - what's the problem with UTF-8
here, anyways?
Do you recommend any action to be taken from site-owners? Is there any
sample available which explains the issue in more detail?
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not
Hi Mark,
that means, if I haven't set
URIEncoding and useBodyEncodingForURI within my connectors at all,
I'm well off since the defaults are ISO-8859-1 and false, correct?
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp:
André,
what does that tell you?
Update early, update often... ;)
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Hi ho Chuck,
On Thu, Dec 18, 2008 at 10:10 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
Don't need mod_jk, but Sun does have Java running on the iPhone;
unfortunately, Mr Jobs won't let them release it.
Is it? Provided somebody having a jailbreaked *cough* 3G - you've got
*any*
Stephanie,
Charles did not recommend to search the list for ann but for ANN -
please notice the difference.
If that's all too complicated for you maybe this suggestion helps:
- Subscribe to the Tomcat-Users-Mailinglist (not the digest)
- create the following filter:
if (from ==
Is Tomcat running?
Do you see the welcome-page when opening http://localhost:8080?
What gives netstat -lnp? Do you see any application listening on port 8080?
Gregor
PS.: To help keep messages readable, please do not fullquote the whole
thread but only the necessary details.
--
just because
One more thought to ease up things:
- stop Tomcat
- delete ALL / MOVE logfiles
- restart server
- resdtart Tomcat
Now, please post the contents of all log-files.
This procedure will make sure that the logs are as short as possible
but contain the important things - if any.
Gregor
--
just
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
This message is pretty obvious:
Is it possible that you've started Tomcat as root incidently and now
try to run Tomcat as another user (such as tomcat)?
Looks as if there is at least one file where the rights are
Hi Christoph,
please post your question here: You should get some answers almost
instantly:
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
-D sets a system-property which then can be used by the Java Runtime.
Quick guess:
- You're using something but the original startup.bat-file
Is the a special reason why ypu are using Tomcat 4 and not Tomcat 6?
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp:
Take a look at the Apache Portable Runtime:
It will increase Tomcat's performance regarding static content sigificantly:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key
Hi Janning,
we've downloaded Tomcat from the Apache website, un-tarred it and ran it
using the original scripts - it works quite smooth.
Consider this solution as a workaround in case you're not able to solve the
problem.
I know that there have been some issues with the Debian packages in the
Hi Peter,
when you're using Apache HTTP in front to serve static content and Tomcat is
serving JSP / Servlets only, using the APR won't give you any advantage
(AFAIC).
However, some ppl are using Tomcat only (running on port 80 / 443 with f.e.
JSVC): Then, according to my brain-cells, the APR
It's quite some time since my last experience with DB2, however, maybe
this gives you a start:
There are multiple jdbc-drivers available for DB2.
Obviously, youÄre using a class3-JDBC-driver, meaning that this is not
a plain java-driver but needs some middleware to connect to DB2
(DB2-Connect).
=SELECT 1 works for DB2 - if not,
replace it with a working one.
Cheers
Gregor
On Nov 16, 2007 9:22 AM, Gregor Schneider [EMAIL PROTECTED] wrote:
It's quite some time since my last experience with DB2, however, maybe
this gives you a start:
There are multiple jdbc-drivers available for DB2
Hi Chuck,
On Nov 15, 2007 3:55 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat in production
AFAICT the main advantage of APR wrt static content is the possibility
to use sendfile.
The pure Java NIO connector also
Hi Andrew,
that's why I suggest that you define a data-pool in your
application-specific context.xml-file (stred in config/server) and put
all the needed JDBC-drivers to $CATALINA_HOME/common/lib
With this scenario, no web-app need to provide their JDBC-drivers in
the WEB-INF/lib-directories and
if [ -z $(netstat -lnp | grep 8080) ]
then
echo Tomcat running
exit -1
else
[ continue with startup-script ]
fi
do the same for port 8009 (AJP)
however, the best way would be to first check if tomcat is running
before starting it up
remember:
a fool with a tool is still a
Shaji,
maybe this will do the trick:
http://tomcat.apache.org/faq/security.html#8005
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script
Cheers
Gregor
--
what's puzzlin' you, is
arfgl... must still have some alcohol in my brains from the last party...
indudhar:
java byte-code is always the same on any platform.
the only thing what you need is a 64-bit-java-runtime.
having this, you can just run the precompiled java-bytecode which
*should* use the 64bit-benefits (like
Seems as if you lack the basic knowledge of what a ServletContainer
(aka Tomcat) is about.
I got no idea why you want to deploy a jar-file within Tomcat - are
you trying something like Webstart?
What is you application, anyways.? Is it a Servlet / JSP? If so, then
the your deployment was already
Dear list,
among other things it's now my job to look out for CMS.
I've asked auntie Google, however, browsing all hits that Google
showed up would lead straight into my retirement (and I'm not *that*
old...)
What I've seen so far is, that most CMSs are based on PHP - something
which is giving
Guys,
thanks a lot for the input!
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic,
Hm, strange, why does Tomcat need Eclipse-classes for compilation?
Maybe that's a classpath-problem (do you have Eclipse installed on your box?)
Btw. why are your compiling anyway? Tomcat is all Java, therefore it's
ok to download the binaries from tomcat.apache.org, untar them, set
the
Sorry, my cristal ball just f'd up, therefore I'm neither able to see
the errors thrown up nor a possible solution for them.
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
well, the error-log is giving you pretty good hints:
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
Type mismatch: cannot convert from Integer to int
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
The
Hi list,
we're running Tomcat 5.5 here on Debian Edge, MySQL 5 and we've set up
a connectionpool.
Example of context.xml:
?xml version=1.0 encoding=UTF-8?
Context
Resource
auth=Container
description=DB Connection for SSO
name=jdbc/SSODS
type=javax.sql.DataSource
On 7/17/07, Rainer Jung [EMAIL PROTECTED] wrote:
There is no way to influence HTTP headers by mod_jk.
You can manipulate Headers via mod_headers, which is part of Apache httpd.
when combining apache2 with tomcat 5 using mod_jk, mod_headers will
not touch any headers created by tomcat - we've
Hi guys,
the following sympomps:
We have 2 Apache HTTPD-instances (SSL) behind a CISCO-loadbalancer,
the HTTPDs serving static content, dynamic content (servlets) are
served by 2 Tomcat instances (5.5).
HTTPD and Tomcat are linked via mod_jk 1.2.19
I've specified a session-timeout of 240 (8
Hi Mikolaj,
the 2 cookies you're talking about are
JSessionID
and
JSessionIDSSO
However, JSessionID is sent for encrypted sessions only (https),
JSessionIDSSO for any type of connection.
The request-headers do show, for each request only JSessionIDSSO is
passed together with the response,
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have an error in your web.xml
if that's the one you posted previously:
you missed the entry
/web-app
at the end.
if you're using the standard-realm, you can lookup your passwords at
http://www.gnupg.org/
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail:
ok, this information is for free, the next one you'll have to pay me for:
they keys of software.distributions are check-sums over the
program-archives (like zip, tgz etc.).
those check-sums usually are calculated using a program like pgp
(pretty good privacy) or the free version from the
Hi Mark,
your application doesn't need the log4j*.jar since they are provided
by Tomcat 6 (unlike Tomcat 5.x).
However, your application should have it's own log4j-configuration aka
log4j.xml.
This file is usually found in
${CATALINA_HOME}/webapps/${your_application}/WEB-INF/classes
In this
Tomcat installing from source doesn't make *any* sense, not even on Linux.
Why?
Well, Tomcat is written entirely in Java. Therefore, you can download
the binaries from the Apache website and check the KEYS
(MD5-checksums). If they are ok, you can be sure nobody has tampered
with.
Building from
use a filter, see example below:
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE log4j:configuration SYSTEM log4j.dtd
log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/;
!-- SSO Daily Rolling File Appender TRACE, DEBUG, INFO --
appender name=DailyFileAppenderInfo
Forgot to mention:
ou can leave the part
logger name=CompassLogger additivity=false
!--
level value=TRACE /
level value=DEBUG /
level value=INFO /
--
level value=WARN /
!--
level value=ERROR /
level value=FATAL /
--
appender-ref ref=DailyFileAppenderInfo /
well, then either
- migrate to xml-files (that's what I would do)
or
- try to use a threshold
i know the log4j-docs besides the commercial one are a pain in the
ass, however, the log4j-developers have to earn their dollars, too,
therefore, the log4j-manual (commercial) might be a good
Professional Apache Tomcat 5:
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764559028.html
There's also a Tomcat 6-version available
However, I've used the really good documentation on the
Tomcat-Website, started with their examples and read the mailinglist,
which altogether gave me a pretty
Forgot to mention:
Tomcat. The Definitive Guide. By Jason Brittain and Ian F. Darwin
might also be a *very* good catch since Jason is a well known
contributor to the Jakarta projects and definately knows his ways
around Tomcat - if I ever had to buy a book, I guess I'd go for the
O'Reilly...
Will,
as long as you don't post your configuration (context.xml and web.xml
of your web-app, your servlet / jsp-code accessing the datasource),
nobody will be able to help you.
That is, since we all ran out of cristal balls telling us the solution
for your problems...
Gregor
--
what's puzzlin'
I have an original Tomcat-version (5.5) running here on Debian Edge,
and my JPDA-startup-script reads as:
#!/bin/sh
export JPDA_ADDRESS=8787
export JPDA_TRANSPORT=dt_socket
/home/tomcat/www/bin/catalina.sh jpda start
Try this (run it as user tomcat), but first change the default port
8787 to
1st, it would help if you let us know which Tomcat / Eclipse-Version...
Anyways, it should work if you do the following:
- Copy your xml-apis-1.3.03.jar into your application's
WEB-INF/lib-directory, so that your application's classloader can find
the corrosponding classes.
Tomcat (at least
david,
I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory.
are you saying that the jar containing the said class is in your
WEB-INF/lib-directory already and you get that NullPointer?
On which OS are you running? Is it possible, that you have set an
environment-variable
as to what i understood, david thinks he's using the ones coming with
jdk 1.6, however, they are giving a nullpointer.
therefore, it has to be checked if tomcat uses the endorsed mechanism
using it's very own libraries. seems as in this very case something is
in eclipse's classpath what's missing
I think you misread your test-results.
We performed the same tests here, and the result was, that, if you
pass requests via mod_jk to Tomcat as a worker, Apache HTTPD did
definately not create / touch any headers but uses the ones returned
from the worker (Tomcat) via mod_jk.
Versions:
Tomcat
1 - 100 of 466 matches
Mail list logo