Hi,
I have installed TOMCAT 5.5.9 alog with JDK1.4.2_07. I also have the latest
version of xalan.jar, xerces.jar and xmlapi.jar. I installed my application
on TOMCAT. But, i have a navigation.xml file in my application which gets
dynamically populated. On running the application only the static
Hi,Jason
Everything is clear !
Thank so much.
- NanFei
- Original Message -
From: Jason Bainbridge [EMAIL PROTECTED]
To: NanFei Wang [EMAIL PROTECTED]; Tomcat Users List
tomcat-user@jakarta.apache.org
Sent: Thursday, May 05, 2005 11:02 PM
Subject: Re: Network Disk Not Exist Under
Hi Michol,
Am Donnerstag, 5. Mai 2005 22:49 schrieb Murray, Michol:
After I finish committing my changes for creating a user using the
Tomcat Web server administration tool, if I have users logged in to
my site I notice that all the users are logged out. What would cause
this?
Do you use the
On 5/6/05, Joe Hertz [EMAIL PROTECTED] wrote:
I have a Struts Servlet that executes the code snippet below to create a
directory.
Under Windows, this works great, the directory showing up under
C:\TOMCAT4\WEBAPPS\
Under Suze Linux, it doesn't get created, and it's not a permission
Hi!
I'm preparing to upgrade from tomcat 4.1 to 5.5. I've a lot of apps, which have
a context path with subdirectories (e.g. /dir1/app1 ...) and it seems that
tomcat 5.5 doesn't allow this.
In the tomcat 5.5 docs (.../tomcat-docs/config/context.html) in the description
of path there's the
Hi,
I've seen this mentioned before but no solution.
I'm trying to use javamail with the above set up but I keep getting
java.lang.NoClassDefFoundError: javax/activation/DataSource.
I have the activation.jar and have tried it in common/lib, shared/lib and
WEB-INF/lib with no success and it is
Hi,
Make sure you only have activation.jar and mail.jar in common/lib and not in
your web application lib folder.
Allistair
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: 06 May 2005 11:10
To: Tomcat Users List (E-mail)
Subject: activation.jar / Tomcat 5.5 /
Have done that. Only ever had one copy of the jar.
Ta
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 06 May 2005 11:15
To: Tomcat Users List
Subject: RE: activation.jar / Tomcat 5.5 / JDK 5
Hi,
Make sure you only have activation.jar and mail.jar in
Have you unpacked the activation.jar you have and verified this class exists ;)
You've not left anything in shared/lib or the JRE hasn't anything that would
find activation on your classpath no?
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: 06 May 2005 11:27
I hadn't unpacked it but use the same jar with no problems in Tomcat 5.0.2x and
JDK 1.4.2. I did just now and it is there.
shared/lib is empty. I've also searched through the JDK directory and it's not
there either.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
On Fri, May 06, 2005 at 10:07:32AM +0200, Pfingstl Gernot wrote:
: This seems to me to have only context path with has the same value as the name
: of the context.xml file.
: I want to use context.xml files and not put context information into
: server.xml.
: So isn't it possible to depoly apps in
I'm using Windows 2003.
I've installed Apache2 on port 80, using .php scripts from ~/wwwroot
I've installed Tomcat5 on port 8080, using .jsp scripts from ~/webapps/root
I want2run HTML by Apache, .jsp by Tomcat and place my complete Web site in
~/wwwroot
How, this is possible?
Thank you!
It works with #!
- but is this the 'official' way to do this in future releases? I have not
found any docs about this.
Gernot
-Ursprüngliche Nachricht-
Von: QM [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 06. Mai 2005 12:58
An: Tomcat Users List
Betreff: Re: tomcat 5.5;
On 5/6/05, anshul [EMAIL PROTECTED] wrote:
I'm using Windows 2003.
I've installed Apache2 on port 80, using .php scripts from ~/wwwroot
I've installed Tomcat5 on port 8080, using .jsp scripts from ~/webapps/root
I want2run HTML by Apache, .jsp by Tomcat and place my complete Web site in
Benchmarks shows that Tomcat 5 is same or better than Apache in serving
static content.
I think/read, Apache is better than Tomcat for HTML Web pages.
I asked, to run .jsp from ~/wwwroot
- Original Message -
From: Anto Paul [EMAIL PROTECTED]
To: Tomcat Users List
On 5/6/05, anshul [EMAIL PROTECTED] wrote:
Benchmarks shows that Tomcat 5 is same or better than Apache in serving
static content.
I think/read, Apache is better than Tomcat for HTML Web pages.
I asked, to run .jsp from ~/wwwroot
- Original Message -
From: Anto Paul [EMAIL
From: anshul [mailto:[EMAIL PROTECTED]
I think/read, Apache is better than Tomcat for HTML Web pages.
That is your decision, but...
I asked, to run .jsp from ~/wwwroot
... you won't easily be able to mix, in the same directory, Apache
serving the HTML files and Tomcat serving the JSPs.
On 5/6/05, George Gunson [EMAIL PROTECTED] wrote:
Actually, just fixed it:
changed
/opt/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/build.xml
and removed the line:
691 about mkdir
dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp/
good luck
Question:
I was concerned about
HI,
I have installed TOMCAT 5.5.9 on my Windows XP jdk 1.5.0 and when I start
the server I receive the following error :
log4j:WARN No appenders could be found for logger (
org.apache.catalina.startup.ClassLoaderFactory).
log4j:WARN Please initialize the log4j system properly.
The server
Hi,
You need to configure the log4j subsystem with a log4j.properties file and pop
it into your web application's classes folder (or in Tomcat's common/classes if
you have no webapp). At the very least you will want to setup a root logger.
See the log4j documentation for this or use the Tomcat
I am running Tomcat 5 on XP and after
deploying a new war file, which worked, and was the only change I made, the
next time I rebooted the machine (after all it is XP) this is what I get:
156593 INFO [main]
core.StandardHostDeployer - Processing Context configuration file URL
Original Message
Subject: ApacheCon Europe 2005: Registration open and conference program
online!
Date: Fri, 06 May 2005 13:41:42 +0200
From: Lars Eilebrecht [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Registration for ApacheCon Europe 2005 is now open at www.apachecon.com.
Check
Matt Galvin [EMAIL PROTECTED] wrote:
Yes, there is, I usually put them in:
$CATALINA_HOME/conf/Catalina/localhost/myapp.xml
Could you post the contents of your context file? Maybe something
needs to be tweak possibly.
Here is context.xml...
Context path=/xx docBase=xx crossContext=true
Hi!
Does anybody know how to solve this problem?
Please excuse me if the cuestion is too stupid. I am really newbie. :)
Thanks a lot!
Cheers,
Gaston
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this
my english es bad
puede ser por que has instalado tu TomCat/Java como usuario
intentalo como Administrador sobre tu maquina
-Mensaje original-
De: Rogério Saulo [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 06 de mayo de 2005 8:30
Para: tomcat-user@jakarta.apache.org
Asunto: Problem
In Windows that's what it means too, but this isn't Windows or Linux...it's
a JVM.
Since it wasn't obvious from the code (MessageResources used in pathnames),
let me put it another way.
The code tries to create a directory /images/userid.
The Servlet is apparently limited in the filepath it
Remove the commons-logging.jar from WEB-INF\lib and place log4j.jar in it
And
Place log4j.xml in WEB-INF\classes folder
Joy Kenneth
-Original Message-
From: Alex Pure [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 8:41 PM
To: Tomcat Users List
Subject: RE: Problem with
On 5/6/05, Gastón Simone [EMAIL PROTECTED] wrote:
Hi!
Does anybody know how to solve this problem?
Please excuse me if the cuestion is too stupid. I am really newbie. :)
root cause
java.lang.NoClassDefFoundError
at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown
It is not possible. I have asked here for months and nothing has worked. The
compiler flags than the docs say to use are not passed to the compiler, so you
can not use Ant as the docs say. I think it is an IBM conspiricy. It took IBM
a year to implement inner classes back in the jdk 1.1
my understanding comes from this book i got: 'common is responsible for
classes that are used by Tomcat and publicly available to all Web
apps'. shared is like common, except that 'developers can place their
own classes and JAR files into the shared class loader domain'.
developers shouldn't
Please correct the documentation to reflect that this does not work. It would
save a lot of time and lots of emails here about the same issue.
Thanks, Milo
--
___
Get your free email from http://www.dellmail.com
Hello,
I have a web application that uses java.awt.Font objects to render
images. The application will run in tomcat and that is where I have
done development. When I first tried to run the application on a
Linux box with Tomcat 5.0.25 I got the following error:
java.lang.NoClassDefFoundError
Hello,
I am writing an application which needs to load font files. The font
files are deployed with other classes on the server (i.e. under the
WEB-INF/classes directory). Currently I have the reference built in
like this
//private static final String pathToWebapp =
I doesn´t have an application installed yet, the message appears when I
start TOMCAT wiithout install any application.
On 5/6/05, Joy Kenneth Harry [EMAIL PROTECTED] wrote:
Remove the commons-logging.jar from WEB-INF\lib and place log4j.jar in it
And
Place log4j.xml in WEB-INF\classes
Michael Echerer wrote:
Shouldn't it have the -server in there if it is running in server mode?
How can I tell that the JVM is actually running in server mode?
well, not sure if you can. I'd try java.lang.System.getProperties() or
something...
Yupp... works... Just run my junitreport via
Ron Heeb wrote:
my understanding comes from this book i got: 'common is responsible for
classes that are used by Tomcat and publicly available to all Web
apps'. shared is like common, except that 'developers can place their
own classes and JAR files into the shared class loader domain'.
Using Tomcat 4.1.24:
When I deploy an application using a context configuration file, the
application cannot use shared/lib/*.jar files. It doesn't give a class not
found error, either. It gives a jasper exception.
If I deploy the .war or a webapp directory *without* the context config
Your code looks pretty good. What is the trouble? Do you have
something like the following?
fontStream = new FileInputStream(file);
font = Font.createFont(Font.TRUETYPE_FONT,fontStream);
font = font.deriveFont(attributes);
where attributes sets the logical and family font
servlet-api.jar does seem to work.
How we found servlet.jar... we googled javax.lang.xxx.xxx, which came
from a compile error. The only references were to servlet.jar. The two
versions of servlet.jar were quite old.. 1999 and 2001 if I remember
correctly, which caused me concern, but it is
How can I tell that the JVM is actually running in server mode?
well, not sure if you can. I'd try java.lang.System.getProperties() or
something...
Yupp... works... Just run my junitreport via ant which also dumps lots
of system properties, too:
java.vm.name is what you are
On Apache Tomcat/5.0.28, I've got SLL installed, and whenever I try to
download a doc file I get:
Some files can harm your computer. If the file information below
looks suspicious, or you do not fully trust the source, do not open or
save this file
File name: x.doc
File type:
I have a apache/tomcat environment that has some
problems recently. The environment has the following:
1. Apache 1.3
2. Tomcat 5.0.28 (Max memory 384mb)
3. JDK 1.4.2_06
My apache has MaxClient set to 256 (apache default).
The maxThread for tomcat is 500. The site is a
database driven site.
Actually, it still didn't work for me until I removed the move statement.
On 5/6/05, George Gunson [EMAIL PROTECTED] wrote:
FL
Hey mate, I'm no expert - just trying to learn this stuff from a book -
but it made it install and tomcat works fine
The build seemed to continue as normal -
What does netstat -nt show?
You may have enough connections going that old ones
have to time out before you can establish a new one.
-Original Message-
From: Jeffrey [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 2:16 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5 slow,
Yoo,
Probably you already looked at it but :
1) Make sure not to use reloadable in context descriptions.
2) Start tomcat with optimal java parameters, concerning memory heap and stack
3) Make sure that connections to database are minimal, do requery if
answer is always the
same...
Good
Yoo,
Sorry bas typo, in 3) I meant, do NOT requery ;)
Greetings O.
On 5/6/05, Oto Bossert [EMAIL PROTECTED] wrote:
Yoo,
Probably you already looked at it but :
1) Make sure not to use reloadable in context descriptions.
2) Start tomcat with optimal java parameters, concerning
Hi,
I recently installed Crystal Reports XI on one of my servers. This included
an installation of Tomcat. I am trying to log in to both the administration
and manager consoles, but cannot get it to work. I have added the following
record to the tomcat-users.xml file:
user username=foo
What JK version do you use? To quote Mladen:
You are probably using prefork mpm, so there is no way to
control the number of connections to Tomcat in any way, trough
mod_jk. You can limit it only by setting MaxClients in the httpd.conf
to the maximum number desired.
Because of pre-forking
I actually have the reloadable set to true for my
webapps. I will change it to false. Thanks for the
remind.
What optimal java parameters in your mind are
important ?
Thanks for taking look at this.
--- Oto Bossert [EMAIL PROTECTED] wrote:
Yoo,
Probably you already looked at it but :
1)
Look in the server.xml That is where you will find where the username and
password is being looked up at. If the comments are there then they will
explain the configuration. If there are no comments then download the
matching version of Tomcat and look at the virgin server.xml for the
I use just mod_jk, not jk2 I believe. I do have
connectionTimeout=2 set to AJP connector in
server.xml
Is there any performance issues with jk? Should I
switch to jk2?
Thanks.
--- e [EMAIL PROTECTED] wrote:
What JK version do you use? To quote Mladen:
You are probably using prefork
Is there a way to stop the administration tool from restarting?
-Original Message-
From: Lutz Zetzsche [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 12:26 AM
To: Tomcat Users List
Subject: Re: Users being logged out
Hi Michol,
Am Donnerstag, 5. Mai 2005 22:49 schrieb Murray,
In server.xml, it has the path to tomcat-users.xml as the pathname. Is
there something I am missing when adding the new user? I just opened up
tomcat-users.xml in wordpad or notepad and added a line. It seemed like
that was all that was necessary. Any other thoughts?
Phil
-Original
Hi Phil,
Am Freitag, 6. Mai 2005 21:51 schrieb Phil Manheim:
I recently installed Crystal Reports XI on one of my servers. This
included an installation of Tomcat. I am trying to log in to both
the administration and manager consoles, but cannot get it to work.
I have added the following
I did add those two lines as well. Is that all that is necessary to add new
roles? Do I need to define those roles or their rights somewhere?
Phil
-Original Message-
From: Lutz Zetzsche [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 4:50 PM
To: Tomcat Users List
Subject: Re:
Hi Phil
Am Freitag, 6. Mai 2005 22:54 schrieb Phil Manheim:
I did add those two lines as well. Is that all that is necessary to
add new roles? Do I need to define those roles or their rights
somewhere?
No, if you have defined in the server.xml that the tomcat-users.xml will
be used for
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 3:39 PM
To: Jeffrey; Tomcat Users List
Subject: RE: Tomcat 5 slow, it's in production, please help!
There are certainly people here who understand this much better than I, but
ESTABLISHED
That was the problem. Thanks a lot. I guess I missed that step somehow.
Thanks.
Phil
-Original Message-
From: Lutz Zetzsche [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 4:59 PM
To: Tomcat Users List
Subject: Re: manager/admin login problem
Hi Phil
Am Freitag, 6. Mai 2005
Is it possible to use the JndiLoginModule class with JAAS to connect
to LDAP when the LDAP server only supports user binds. The LDAP
server that I am trying to connect to does not provide user
information when connecting anonymously.
Thank you.
Hi
Someone know how to log the content-type of any request??
Thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://issues.apache.org/bugzilla/show_bug.cgi?id=27122
-Tim
Donny R Rota wrote:
On Apache Tomcat/5.0.28, I've got SLL installed, and whenever I try to
download a doc file I get:
Some files can harm your computer. If the file information below
looks suspicious, or you do not fully trust the
Sort of ...
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
But AccessLogValve doesn't support outgoing headers for logging. But a
workaround is the create a filter which catches the
HttpServletResponse.setContentType and sets the
Hey! I had that problem too, and the fix is as sexy as any windows fix: Edit
the registry!
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings]
BypassSSLNoCacheCheck=dword:0001
This tells IE that it is OK to use cached data that was delivered over SSL.
I know
All,
Your help would be greatly appreciated on this possibly simple solution
but one that is causing me great grief. Is there a way to stop the
administration server after hitting commiting changes from restarting
tomcat server? Please your help on this matter would be greatly
appreciated.
Thank
I think some of the problem is at the OS level
You can set a session time at the tomcat level, but the default solaris TCP
timeouts are hours long. I hope you used the ndd commands to set the TCP
parameters for short web sessions.
Also, Solaris 2.6 has a bad thread model and there are
I think you want to look for the CAtalina Realms that are commented out in the
web.xml or server.xml files.This is where you set up security constraints.
I amd still trying to figure out how to extend the catalina login methods with
a new method to set a DB flag I'll take suggestions.
Does Tomcat can generate a log file just like Apache or IIS?
Thanks,
Lorenzo
-
Si usted no es el destinatario indicado en este mensaje o responsable como
persona
de la entrega del mensaje, no debe copiar o reenviar este mensaje,
Yes,
Just un-comment the AccessLogValve in your server.xml file
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs prefix=localhost_access_log. suffix=.txt
pattern=common resolveHosts=false/
153 ESTABLISHED connections to port 443
553 connections to port 443 in the process of dying.
1420 connections total (Assuming I'm reading the output of wc correctly;)
[EMAIL PROTECTED] tony]$ cat netstat.txt |grep ESTABLISHED|wc
6934851 55442
[EMAIL PROTECTED] tony]$ cat netstat.txt
it sounds like the problem is caused by a large number of connections
dying holding things up.
peter
On 5/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
153 ESTABLISHED connections to port 443
553 connections to port 443 in the process of dying.
1420 connections total (Assuming I'm
Hi
I have two tomcat servers 4.0.x with apache 1.3.x to load balance the
requests. Now when a new browser is opened and i used forms based
authentication it takes me to the correct page but when i submit that page the
servlet gets executed which takes me to the login page instead of the next
Peter,
thanks for your tomcat instance (Catalina_base) installation process. It
has been very helpful,
but I have couple of questions (interleaved with your information, below).
Hey Bill,
here my simple catalina.base installation description:
install jakarta-tomcat-5.5.x
mkdir node1
cd node1
Note: forwarded message attached.
Yahoo! Mail
Stay connected, organized, and protected. Take the tour---BeginMessage---
Hi
I have two tomcat servers 4.0.x with apache 1.3.x to load balance the
requests. Now when a new browser is opened and i used forms based
authentication it takes me to
Hey Bill,
Bill Winspur schrieb:
Peter,
thanks for your tomcat instance (Catalina_base) installation process.
It has been very helpful,
but I have couple of questions (interleaved with your information,
below).
Hey Bill,
here my simple catalina.base installation description:
install
74 matches
Mail list logo