I need customize Tomcat Log Pattern
common ="%h %l %u %t "%r" %s %b %r"
combined = ?
Referer and User-Agent how to express
Hi,
The GUI has proved useful for debugging, but didn't solve the problem.
It appears to read/write the registry, so settings made from the command
line are picked up in the GUI tool, and vice versa.
Our Java setup is slightly non-standard. I'm not sure how non-standard:
perhaps somebody
Ah. Thanks for the clarification. that's a big help.
Kevin
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, March 10, 2008 7:44 PM
Subject: RE: Eclipse with tomcat and mysql
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED
Hi,
Is it possible to programmatically determine a web application's URL
during context initialization (also considering possible deployment
using Tomcat virtual host)? Once a request is available it is
straight-forward but what about within the servlet init(), struts plugin
init(), etc?
Th
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: Re: Eclipse with tomcat and mysql
>
> But the funny thing is the docs say to put path and docBase in.
The path and docBase attributes are used only when the element
is in server.xml, not when it's in a webapp's META-INF/context.x
Removing the path and docBase worked. Or maybe it was that I deleted tomcat
and unziped it again. Not sure which.
But the funny thing is the docs say to put path and docBase in. That is
where I get it from:
Section 2 Context configuration
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: Re: Eclipse with tomcat and mysql
>
> debug="5" reloadable="true" crossContext="true">
Remove the path and docBase attributes - they're not allowed here.
>type="javax.sql.DataSource"
>maxActive="100"
I removed the logger still did not work.
You mentioned that the resource also was not right? what is the correct
resource statement?
As for the does, the first thing I tried was the context below
which I got from the docs section "2. Context configuration" at
http://tomcat.apache.org/tomcat-
I tried it with the upper case also and it still does not work.
docbase="musicDB">
classname="org.apache.catalina.logger.FileLogger">
type="javax.sql.DataSource"
username="javauser" password="javadude"
driverClassName="com.mysql.jdbc.Driver"
url=
> From: Eric Hawkes [mailto:[EMAIL PROTECTED]
> Subject: RE: Can't start tomcat 5.5.26 service on windows
>
> Does this suggest a cause to my earlier problems?
Probably means you don't have the parameters quite right for the
tomcat5.exe program. Look at what the service.bat script generates,
Hi,
Thank you for the debugging tip.
Running service.bat worked:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin>service.bat
install
Installing the service 'Tomcat5' ...
Using CATALINA_HOME:C:\Program Files\Apache Software
Foundation\Tomcat 5.5
Using CATALINA_BASE:C:\Progr
> From: Eric Hawkes [mailto:[EMAIL PROTECTED]
> Subject: RE: Can't start tomcat 5.5.26 service on windows
>
> I tried something simpler: a plain unzip install. It still
> doesn't work, and my web searches haven't been fruitful.
What happens if you enter the parameters via the tomcat5w.exe GUI
Hi,
I tried something simpler: a plain unzip install. It still
doesn't work, and my web searches haven't been fruitful.
This is so simple, I have either missed something quite obvious,
or I have really screwed up my dev environment.
I've been working on this for quite a long time. Any he
> From: David Smith [mailto:[EMAIL PROTECTED]
> Subject: Re: Eclipse with tomcat and mysql
>
> For the most part -- just remember case matters. It's Context, not
> context. Same is true for Logger and Resource as well.
Note that there is no element in 5.5, and the posted
[sic] didn't look i
For the most part -- just remember case matters. It's Context, not
context. Same is true for Logger and Resource as well.
See http://tomcat.apache.org/tomcat-5.5-doc/config/index.html for
further information regarding tomcat config. BTW, what about the 5.5
docs specifically doesn't seem cor
Am Dienstag, 11. März 2008 02:03:37 schrieb Stasa Jerinic:
> Hallo,
>
> I save some application specific settings in file, that will be readed from
> application. This file contains parameters that can contain german special
> characters like Ö, Ä, Ü, ß etc.
>
> I tested my application under window
So I found this out the hard way. Eclipse overwrote my
$CATALINA_HOME/conf/Catalina/localhost/.xml
Now I can't see to get the DB connected outside of Eclipse either. I can't
remember what the syntax on the context was since I had to try many
different suggestions I found on the web before on
Hallo,
I save some application specific settings in file, that will be readed from
application.
This file contains parameters that can contain german special characters like
Ö, Ä, Ü, ß etc.
I tested my application under windows 2000 professional with Tomcat 5.0 and
under Linux and the german s
So you're putting the .xml file into conf/Catalina yourself,
right? That could be the problem because of the way Web Standard Tools
copies files around (or doesn't) when you "Publish" the webapp. I
don't know all the details, but some files in workspace/Servers/Tomcat
v5.5 Server are copied to anot
Hi,
I'm installing tomcat in kind of a strange way (I'll explain why in
a postscript), and I'm having trouble getting the service to start
and stop consistently.
I'd appreciate any advice on how to get this working, or a better
procedure that meets the constraints under which I must work.
banderson a écrit :
I have an application running on tomcat 5.5 and I can access it no problem
from http://localhost:8080. However, when I use another computer to try and
connect via IP address (192.168.1.2:8080), the browser states that it can't
establish a connection. Any ideas what I might b
We're writing an application that processes requests using both a normal
servlet and a CometProcessor. The normal servlet handles user
authentication and logout (among other things). Once the user has been
authenticated, the client makes a Comet request, which is open until the
server has somet
Hi Justin,
Justin Vassallo schrieb:
Thank you that helped. I got gnumake installed and configure worked fine.
(had to chmod 700 configure and scripts/build/instdso.sh)
No, I think you are still using the wrong source download. In the tar.gz
download of mod_jk 1.2.26 configure is already execu
Paranoid_Fabio a écrit :
Hello. I'm developing an application for a small company.
The company has got only one server, from wich users can download data
uploaded by providers.
Data can be uploaded in zip archives and it can be several MB large. I don't
want users to experience slow down in the
Hi there,
I have a problem with a clustering configuration.
I am using tomcat-5.5.23 on FreeBSD 6.2 OS and java 1.5.0.
My problem is that the session content seems to not be replicated in some
situations (when it should be).
I will try to describe my situation with an example.
I have tomcatA
Josiah Yoder wrote:
After reading the logging FAQ,
http://wiki.apache.org/tomcat/FAQ/Logging
I was under the impression that I would need to program my own logger to
accomplish what I wanted to do, even though it can be done with the simple
request log listed below:
(In server.xml, in the tag
> From: banderson [mailto:[EMAIL PROTECTED]
> Subject: 8080 only works on localhost
>
> when I use another computer to try and connect
> via IP address (192.168.1.2:8080), the browser
> states that it can't establish a connection.
1) Firewall on either machine?
2) Is the other computer on the
Hello
i am able to rotate my application logs daily
using log4j..Now i want to archive each application's
log files, such that i have 7 log files available for
view always and rest of the old log files should be
another directory gzipped..
Does log4j provides anything for archiving? or i ha
version 5.1.5
Kevin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Tomcat Users List"
Sent: Monday, March 10, 2008 11:20 AM
Subject: Re: Eclipse with tomcat and mysql
Kevin--
what version is your MySQL driver?
?
Martin
- Original Message -
Wr
banderson ha scritto:
I have an application running on tomcat 5.5 and I can access it no problem
from http://localhost:8080. However, when I use another computer to try and
connect via IP address (192.168.1.2:8080), the browser states that it can't
establish a connection. Any ideas what I might
I have an application running on tomcat 5.5 and I can access it no problem
from http://localhost:8080. However, when I use another computer to try and
connect via IP address (192.168.1.2:8080), the browser states that it can't
establish a connection. Any ideas what I might be missing?
--
View t
Kevin--
what version is your MySQL driver?
?
Martin
- Original Message -
Wrom: UFPEGAUTFJMVRESKPNKMBIPBARHDMN
To: "Tomcat Users List"
Sent: Monday, March 10, 2008 1:43 PM
Subject: Re: Eclipse with tomcat and mysql
> Yes the driver is in my project libraries.
>
> Thanks,
> Kevin
>
>
Thank you that helped. I got gnumake installed and configure worked fine.
(had to chmod 700 configure and scripts/build/instdso.sh)
Now getting this warning, otherwise .so being created ok:
Warning! dlname not found in
/local/home/ixops3/tomcat-connectors-1.2.26-src/tomcat-connectors-1.2.26-src
Yes the driver is in my project libraries.
Thanks,
Kevin
- Original Message -
Do you have the driver for MySQL added to your project libraries?
-Steve O.
-
To start a new topic, e-mail: users@tomcat.apache.org
This did not work either.
There is a "/Servers/Tomcat v5.5 Server at
localhost-config" directory which contains a copy of the tomcat conf files
such as server.xml.
I tried adding the DB driver context to this server.xml file but got the
same issue.
For Tomcat 5.5 I had to add the database co
On Fri, Mar 07, 2008 at 10:51:07PM -0600, Caldarale, Charles R wrote:
>
> This may be the same issued discussed earlier today in this mailing
> list. Look here for Mark T's comments:
> http://marc.info/?l=tomcat-user&m=120492204906663&w=2
> especially the suggestion at the bottom of the bugzilla
> Hello,
>
> I'm having trouble getting Eclipse to work with Mysql/Tomcat.
>
> In Eclipse, I have set up a project and have added a Tomcat server and
> added the project to the server. The project consists of a simple
> example of a standard struts architecture for the MVC.
>
> Model: Artist.ja
Web Standard Tools makes copies of some of the Tomcat config files,
which might be causing your problem. In particular, if you've defined
your JDBC resource in server.xml it might not be seen by Tomcat when
you run it from Eclipse. If that's the case, update the copy of
server.xml in your Eclipse w
For some info about the Tomcat support in the Web Tools Platform of Eclipse,
see this FAQ:
http://wiki.eclipse.org/WTP_Tomcat_FAQ
If you happen to have put your mysql driver jar in shared/lib, then this
question might explain the behavior:
http://wiki.eclipse.org/WTP_Tomcat_FAQ#Why_are_classes
Justin Vassallo wrote:
Hello,
I am trying to build mod_jk on Solaris 10 x86, which unfortunately is not
available in binary form.
I dlded Apache source and built using:
$ PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
$ export PATH SH_LIBS
$ ./configure --with-included-apr
--prefix=/usr
Hello,
I am trying to build mod_jk on Solaris 10 x86, which unfortunately is not
available in binary form.
I dlded Apache source and built using:
$ PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
$ export PATH SH_LIBS
$ ./configure --with-included-apr
--prefix=/usr/local/apache/httpd
Hello. I'm developing an application for a small company.
The company has got only one server, from wich users can download data
uploaded by providers.
Data can be uploaded in zip archives and it can be several MB large. I don't
want users to experience slow down in the download, so I would like
Kevin-
tomcat shutdown
from Eclipse
install sysdeo
Go to preferences and then navigate to Sysdeo Tomcat option.
Here your will find a property 'Source Path'.
Select your project that you want to debug.
Save your changes and start tomcat again.
Be mindful Eclipse IDE likes to run in its *own envi
After reading the logging FAQ,
http://wiki.apache.org/tomcat/FAQ/Logging
I was under the impression that I would need to program my own logger to
accomplish what I wanted to do, even though it can be done with the simple
request log listed below:
(In server.xml, in the tag)
>
There are several helpful notes in the server.xml file
> Note: A "Service" is not itself a "Container", so you may not
> define subcomponents such as "Valves" or "Loggers" at this level.
These are nice, but they didn't tell me where to put my "Valve" component
to do standard access
Eclipse (Eurpoa) version 3.1.1
I am using the Web Standard Tools. (The project I created is a Dynamic Web
Project).
I do NOT have the Sysdeo Tomcat plugin. Would this help?
Thanks,
Kevin
- Original Message -
From: "Len Popp" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ;
<[EMAIL PRO
What version of Eclipse are you using, and what extensions are you
using for your webapp project (e.g. Web Standard Tools or Sysdeo
Tomcat plug-in)?
--
Len
On Mon, Mar 10, 2008 at 11:32 AM, <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm having trouble getting Eclipse to work with Mysql/Tomcat.
>
>
Hello,
I'm having trouble getting Eclipse to work with Mysql/Tomcat.
In Eclipse, I have set up a project and have added a Tomcat server and added
the project to the server.
The project consists of a simple example of a standard struts architecture for
the MVC.
Model: Artist.java, ArtistSearch
The abstract base class org.apache.catalina.valves.ValveBase makes it
easy to implement a Valve. See the Tomcat 6 javadocs. Also, there are
several valves that you can look at in the Tomcat source code, such as
org.apache.catalina.valves.AccessLogValve.
--
Len
On Mon, Mar 10, 2008 at 7:41 AM, ami
We intend to develop tomcat valves specific to our product, I found
information about APIs available and samples from the internet and book.
But I am not able to locate any material over internet or in books for the
Tomcat 6. It looks like the valve development specific classes have been
refactored
Christopher Schultz schrieb:
Christian Kindler wrote:
| I want to interrupt a multipart post request (e.g. if the content-length
| exceeds a given limit). The problem is, that the client seems to
| continue sending the data to the server and gets no response from the
| server until the whole data
> From: only vimal [mailto:[EMAIL PROTECTED]
> My problem is if I use DNS name
> of server instead of IP address in the URL its giving DNS
> error from other systems.
That sounds like a DNS problem - a DNS error would cause a failure before the
remote system ever tried to contact Tomcat. Let's t
52 matches
Mail list logo