On Sat, 26 Mar 2005 16:46:44 +0100
Simon Kitching [EMAIL PROTECTED] wrote:
I don_t understand; If you want jars from the war-specific WEB-INF/lib
to be used BEFORE the common/lib version, then the default classloading
order (child-first) is exactly what you want, isn_t it?
yes, in my
I'm having problems locating a javascript file.
{catalina_home}/project/x.html
finds an external javascript file in the same directory
quite happily.
script language=JavaScript1.2
type=text/javascript src=upload.js/script
Same thing from a jsp file
When I convert the jsp
From: Pawson, David [mailto:[EMAIL PROTECTED]
When I convert the jsp file to
/project/WEB-APPS/class/x.class
where would you expect the javascript file to be found please?
By what URL is the client accessing the page (FileProperties or
right-clickProperties in IE)? It needs to be in that
-Original Message-
From: Peter Crowther
When I convert
the jsp file to /project/WEB-APPS/class/x.class
where would you expect the javascript file to be found please?
By what URL is the client accessing the page (FileProperties or
Problem solved! Worthy of note:
script language=JavaScript type=text/javascript src=upload.js/script
the space after javascript was the criminal! remove it and
its back working again.
Because I'd converted from jsp to java,
I'd been careless with the whitespace;
Odd one is that MS was picky,
A listing of some names, and some static content, the content is pulled from
the database, but is infrequently changed
From: QM [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: caching pattern
Date:
Hi,
I want to create something like the content negotiation implemented in the
'mod_negotiation' for Apache HTTP Server, which would resolve requests like
myPage.jsp.en using the language preferences of browsers or resource names
without extensions like images.
Does anyone knows a solution
If you are caching content, e.g. pages I would recommend using XSL to
transform the data into html, or jsp if you need. At startup and then
whenever it is changed.
For data, implement a persistence pattern (Data extends BaseData class,
Persistence extends BasePersistence class). Then for any data
thanks to all for your anwsers
i finaly found that internet explorer was refusing the autentification
cookie on xp (sp2)
for db authentification
[EMAIL PROTECTED]
administrateur http://monteregiechat.org
From: Martin Alvarez Espinar [EMAIL PROTECTED]
Reply-To: Tomcat Users List
Hi,
Please follow the directions by user rmorriso on the following link.
It should work fine.
http://forums.devshed.com/archive/t-120081
On Fri, 25 Mar 2005 19:11:15 + (GMT), Krishnakant Mane
[EMAIL PROTECTED] wrote:
hello all,
im going to put a web application in java servlets
with
Running on HPUX...SDK 1.4.2...the standard output is
going to catlaina.out. Is it possible to change the
logger settings reduce the size of the catalina.out
file and perform circular logging? If so where are
these settings?
Regards,
Jimmy Ray
Are there any good examples of this?
From: Mark Benussi [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: RE: caching pattern
Date: Tue, 29 Mar 2005 14:54:24 +0100
If you are caching content, e.g. pages I
The content or the data?
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 15:59
To: tomcat-user@jakarta.apache.org
Subject: RE: caching pattern
Are there any good examples of this?
From: Mark Benussi [EMAIL PROTECTED]
Reply-To: Tomcat Users List
Sorry...Tomcat 5.0.28
--- Jimmy Ray [EMAIL PROTECTED] wrote:
Running on HPUX...SDK 1.4.2...the standard output is
going to catlaina.out. Is it possible to change the
logger settings reduce the size of the catalina.out
file and perform circular logging? If so where are
these settings?
There shouldn't be anything going to standard output (Unless your code is
writing to System.out)
An overly simple way to rotate logs in unix ...
cd $tomcat_log_dir
cp -f catalina.out catalina.out.`date +%Y.%m.%d`
cat /dev/null catalina.out
-Tim
Jimmy Ray wrote:
Running on HPUX...SDK 1.4.2...the
or like we do, we pipe the output through cronolog
Filip
Tim Funk wrote:
There shouldn't be anything going to standard output (Unless your code
is writing to System.out)
An overly simple way to rotate logs in unix ...
cd $tomcat_log_dir
cp -f catalina.out catalina.out.`date +%Y.%m.%d`
cat
I would imagine that tomcat is logging using commons-logging, and that by
default it is outputting to Catalina.out
A suggested solution would be to include for example log4j.jar with a
log4j.properties in the classpath which should control how this log is
produced (consoleAppender output seems to
On our production environment, when hot-deploying WAR files, Tomcat
occasionally spits out errors like this one:
Mar 29, 2005 12:46:59 AM org.apache.catalina.core.StandardContext
preDeregister
SEVERE: error stopping
LifecycleException: Manager has not yet been started
at
Dear Members,
On the documentation there is a comment about downloading the Compatibility
Package in order to run Tomcat 5.5 under 1.4.x version. I don't see such
package on the download section.
Do you have any idea where to find such package?
Tanks in advance,
David
From: David [mailto:[EMAIL PROTECTED]
Subject: Where to download the Compatibility Package for running
Tomcat 5.5 with 1.4 jdk?
On the documentation there is a comment about downloading the
Compatibility Package in order to run Tomcat 5.5 under 1.4.x
version. I don't see such package on
On Tue, 29 Mar 2005 08:15:33 -0800 (PST), David [EMAIL PROTECTED] wrote:
Dear Members,
On the documentation there is a comment about downloading the Compatibility
Package in order to run Tomcat 5.5 under 1.4.x version. I don't see such
package on the download section.
Do you have any
Hi,
they are available for download with the other downloads here
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi. Named
5.5.X Compat tar.gz/zip.
Trond
David wrote:
Dear Members,
On the documentation there is a comment about downloading the Compatibility
Package in order to run
Peter,
Many thanks for finding and fixing the bug, however we are currently
running 5.0.28, and not likely to upgrade until summer. Can you
describe enough about the problem that I could track it down and create
a local fix / work around until then?
Peter Rossbach wrote:
Yes the wrong saving
Is it really that hard to see the -compat download there?
No, but there is no link to this addres on the Introduction documentation about
Tomcat 5.5
On this link:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html
There is a following comment:
If using a J2SE 1.4 JRE, the
Hi all,
I've checked the archives and google, but come up dry on this. I know
that with 5.5 we're no longer supposed to put contexts for individual
applications in server.xml, but none of the 'proper' ways have worked.
I've got source for an application that we're working on in
I am having some problems using JDBC with 5.5.x
releases. I can use JDBC with 5.0.28, but as soon as I
switch to 5.5.x, I get the following errors trying to
connect to database:
Mar 29, 2005 11:26:37 AM
org.apache.catalina.realm.DataSourceRealm open
SEVERE: Exception performing authentication
Hi,
the way to define JNDI Datasources has changed from 5.0.x to 5.5.x.
Check out the docs
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Trond
Martin Dubuc wrote:
I am having some problems using JDBC with 5.5.x
releases. I can use JDBC with 5.0.28, but as
I then start tomcat and access the /manager utility and it shows
/MyAppName in the Applications display and indicates 'false' under the
Running column.
I'm stumped -- I can't imagine that the only way to work with unWAR-ed
files is to put them inside tomcats directory structure.
Cheers,
data, or as they say in new england datur
From: Mark Benussi [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: RE: caching pattern
Date: Tue, 29 Mar 2005 16:01:08 +0100
The content or the data?
-Original
I can't imagine that the only way to work with unWAR-ed
files is to put them inside tomcats directory structure.
Patrick Thomas
Patrick - make sure that the deployOnStartup attribute is not set to
false in the server.xml. We are running apps outside the Tomcat folder
structure with
This brought up an issue that we are having in 5.0.28.
We can not get a JNDI data sources to work unless we
have a resource link entry in the application.xml file
in the $tomcat_home/conf/catalina/localhost directory.
If we do not have these entries then we get the error:
ERROR: SQL
Can anyone tell me how to get tomcat to see my connection pool (DBCP) when
tomcat starts?
I'm running struts if that helps.
I have a Jndi resource set up that i can call from my code. But the pool
starts the first time i ask for a connection from the factory. I'd rather it
start on startup.
Yes, this can be done. I use a resource listener with struts. Upon Tomcat
startup, the resource listener fires up and executes my Oracle DB connection
pool logic. I can send you the code later today, as it's not available at my
current location.
- Original Message -
From: Brian
Based on my own experience, the quickest way to work out what is
happening will be to debug your way through it. See the FAQ for how to
set this up: http://jakarta.apache.org/tomcat/faq/development.html
Mark
Mudumbai, Kalyan wrote:
Hi All,
I am trying to write a custom realm for my web
Hi all,
I would like to deploy my webapp along with custom mbeans. I have
LifeCycleListeners enabled, and I can get a hold of MBeanServer object
from my webapp's servlet code, list mbeans, etc. I cannot call the
MBeanServer.createMBean() method because all of my mbean-related classes
are only
That error indicates an IE specific error in the javascript code,
usually a null variable object that Firefox will gracefully ignore.
I've run into that a few times; isn't Microsoft grand?
Brent Sims
Systems Analyst 2
KC Human Services
-
Road
Hello Jeffrey,
I have no time to made a storeconfig backport to the Tomcat 5.0 tree.
Sorry, the 5.0.x is in some places very
unfriendly. When you want a local workaround look inside
StandardServer#storeConnector.
The probleme is the storeAttributes method calls for real Connector and
also for
Hi,
We're using Tomcat 5.5.7 on Windows Server 2003 with Sun's J2SE 5.0.
From time to time, we have problems with jsp:includes and c:imports.
For some reason, the whole page gets included more than once. For
example;
on index.jsp, we have news.jsp and events.jsp includes.
From time to time
Could we get the jsp code and web.xml configuration?
Vinod
-Original Message-
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 3:14 PM
To: Tomcat Users List
Subject: include / c:import problems
Hi,
We're using Tomcat 5.5.7 on Windows Server 2003 with Sun's J2SE
OK! Good news. The JNDIRealm code is rock solid
which I found out after a few days of looking through
it and running tests. Eventually I got around to
having a good look at my context descriptor and
discovered that I was not capitalizing the n and s in
roleName and roleSearch.
Hopes this
are you refering to includes or Tiles?
On Tue, 29 Mar 2005 15:20:01 -0500, Ramu, Vinod [EMAIL PROTECTED] wrote:
Could we get the jsp code and web.xml configuration?
Vinod
-Original Message-
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 3:14 PM
To:
putting a foo.xml file into conf\Catalina\localhost eventually
worked... not exactly sure why it's working, but thanks for the input
all.
~PST
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Here is the web.xml at top level (Tomcat/conf/web.xml), there is
really nothing special about it. Our regular applications don't
really need web.xml:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Did the tomcat-juli jar not make the release of 5.5.9 or is this
something I need to build separately? I can't seem to locate the jar in
the zip download, which could very well just be my eyes.
Thanks
Brent Sims
Systems Analyst 2
KC Human Services
Hello,
I have tomcat 5.5.7, mod_jk 1.2.8 and Apache 2.0.53 installed on Debian
linux machine (machine A).
When accessing a webapp through apache using a browser on the same machine
as the server (machine A) I have no problems. When accessing the same URL
from another machine on the same network
As I undertand it, some browsers (which ones?) support GZIP compression.
I'm not sure if the HTTP response needs to include anything to tell the
browser that the server supports it or not. Does anybody know if Tomcat
will provide the right headers for that?
I read in the Coyote HTTP connector
My servlets create data files. The webapp is running on a Linux
system. The app user is jims and my group is jims. I have to set
permissions to 777 in order for tomcat to read data files. When data files
are created, the user is tomcat and the group is nobody. As a result my
servlets can
It seems the problem was that the auto-generated mod_jk.conf file was
placing the JkMount directives inside a VirtualHost tag for localhost.
Since I'm not interested in having any name-based virtual hosting, I removed
the enclosing VirtualHost tags and renamed the file mod_jk.conf.manual so it
I don't believe that TC 4 registers the webapp's classloader with JMX (only
the Catalina Loader). You'll need TC 5 for that.
Sheykhet, Rostic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
I would like to deploy my webapp along with custom mbeans. I have
LifeCycleListeners
No replies yet??? :(
Is it possible that this is a possible bug in the tomcat5.exe
executable? Can this thread be forwarded to the other mailing list,
the tomcat-developers one???
Eagerly awaiting your replies...
--
Warm Regards,
Lakshmi Narayanan K.
When the buying stops, the killing can
Hi all,
I need to launch a browser from a java application (swing) on the click of the
button.
Each click should launch a different instance of the browser. However, all
these instances of the browser should share the same HttpSession (created on
the launch of the first browser instance).
I was watching this mailing list and found this
posting useful. Even my environment is same except
that i'm using MS Access on windows 2000 machine. I
followed what Mr. Luke has done and it works fine for
me too. Earlier i was using JDBC connection as
follows:
Hi All,
Is it possible to apply SSL on tomcat 3.3.1a using JDK 1.3.1 ?
We have succeeded for Tomcat 3.3.1a using JDK 1.4.2. unfortunately, the
application required JDK 1.3.1
Does anyone have similar experince about this ?
Thanks,
Marcus.
Hi,
Few browsers (like Mozilla) are giving a warning message == Security Error:
Doamin Name Mismatch with https. I understand that the error is because i
have two domain names, like www.mycompany.com and mycompany.com for the same
IP, and the certificate of tomcat contains only one of the 2
Marcus Nugroho [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
Is it possible to apply SSL on tomcat 3.3.1a using JDK 1.3.1 ?
We have succeeded for Tomcat 3.3.1a using JDK 1.4.2. unfortunately, the
application required JDK 1.3.1
Does anyone have similar experince about
One way is to redirect all requests if the request.getServerName()
dont return the hostname for which SSL certificate is issued. This can
be done in entry pages to your site.
On Wed, 30 Mar 2005 00:40:34 -0600, Sasisekar S Sundaram
[EMAIL PROTECTED] wrote:
Hi,
Few browsers (like Mozilla) are
Which JDK is mostly used with Tomcat in production environment?.
Is it
* Sun
* IBM
* BEA(Jrockit)
* Unisys
* HP(on HP ux)
Is Tomcat certified with any JDK vendor?.
Ill put something together and send it to you, not the list as I think
people mind large files being posted.
Will try and get it out by 5pm BST
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 18:12
To: tomcat-user@jakarta.apache.org
Subject: RE:
Thanks Antony !
- Original Message -
From: Antony Paul [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, March 30, 2005 12:57 AM
Subject: Re: multiple domain name support for https
One way is to redirect all requests if the request.getServerName()
59 matches
Mail list logo