I have tried for several hours now to get connection pooling for my
MySql database to work, but have been unable to do so. I keep getting
this error:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.apache.commons.dbcp.BasicDataSourceFactory
I checked to make sure this
Hello,
I have a problem with tomcat 5.5.9 - for some reason tomcat does not
recompile JSPs after I redeploy the application using manager
application.
There's no error message in the logs, tomcat has write access to work
directory and it compiles new jsps. It simply does not recompile the
I saw this just today. I did some digging and realized that my
application context file, usually found under $
CATALNA_HOME/conf/Catalina/localhost was messed up. After I fixed
whatever problem it was, I was able to deploy again.
Michal Kwiatek wrote:
Hello,
I have a problem with tomcat
Well, I don't have a context.xml file! I'm not using one for this app,
and AFAK, tomcat creates context automatically in memory for the
application.
Anyway, my context.xml file is not corrupted, because there's none.
Any other idea perhaps?
Thanks,
Michal.
-Original Message-
From:
Hi Peter,
I'm using Windows XP SP1 and not enable Firewall.
Also I can use Multicast.
I was able to set-up Tomcat Cluster with 5.0.16,
but I failed with 5.5.9 and 5.0.28.
On only uncommenting the Cluster and Value element in
server.xml, I succeeded to set-up with 5.0.16.
But with 5.5.9 and
Hello,
I have a little problem, and perhaps you can help me!
I made a new java class and I just want to execute it every time
that the server Tomcat starts.
Does anyone know how to do it ?
I think thats a configuration problem, but I don't know how to solve it.
Thanks in advance!
Xavier
Buenos dias,
tengo un problema con la configuración de la memoria
de la JVM con Tomcat 5.
Alguien sabe como incrementar la memoria de la JVM,
por favor
Estoy en un entorno W2003Server.
He probado poniendo variables de entorno como
JAVA_OPTS o JAVA_ARGS pero nada de eso funciona, sigo
HI,
Could any body tell me tomcat upgradation document location from 3.x to 4.x
or 5.x.
Regards,
Jagadish
-
Start your day with Yahoo! - make it your home page
The problem can be reproduced. There is already a bug describing this
issue:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26449
Regards,
Marius
-Original Message-
From: George Francis [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 21, 2005 7:07 PM
To:
Hi Sean,
--- Ursprüngliche Nachricht ---
Von: Sean Rowe [EMAIL PROTECTED]
An: tomcat-user@jakarta.apache.org
Betreff: jndi question
Datum: Mon, 22 Aug 2005 01:26:49 -0500
I have tried for several hours now to get connection pooling for my
MySql database to work, but have been unable to
Hi All
First of all my jsp file looks like this
Contents Jsp File:
%@ page language=java %
%@ page contentType=text/html; charset=UTF-8 %
%@ taglib uri=http://java.sun.com/jstl/fmt; prefix=fmt %
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c %
c:out value=${person.language.localeName} /
You need to build prunsrv.exe, then rename it to replace tomcat5.exe.
Robert
-Original Message-
From: Brad Baynes [mailto:[EMAIL PROTECTED]
Sent: 19 August 2005 18:05
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start
I'm a little fuzzy on the
Ensure that your class members all have getters, since
person.language.localeName will call
person.getLanguage().getLocaleName()
Allistair.
-Original Message-
From: Martyn Hiemstra [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 09:55
To: Tomcat Users List
Subject: Re: Java
Hi Everyone,
Just been deploying ROOT.war into webapps and it's failing to explode. The logs
indicate;
INFO: Deploying web application archive ROOT.war
22-Aug-2005 09:46:44 org.apache.catalina.startup.ContextConfig
applicationWebConfig
INFO: Missing application web.xml, using defaults only
If you do have com.jatse.api.User.getLanguage() then the problem is that
language is null. Test with
c:if test=${empty person.language}
language is null
/c:if
Allistair.
-Original Message-
From: Allistair Crossley
Sent: 22 August 2005 10:19
To: Tomcat Users List
Subject: RE:
Hi Martyn,
I have 2 suggestions.
I) I suspect that the 2 dots in the value *might* be the problem.
I.e. have you tried this: c:out value=${person.language} /
II) You are using Jakarta Taglibs JSTL. Have you upgraded this to the
latest stable version? This could be an incompability between an
As what allistair mentioned, please check if the object person is null,
if it's not, then test if person.language is null.
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 5:27 PM
To: Tomcat Users List
Subject: Re: Java 1.4.2_08 and
On 5.5.9,
I can get http://localhost/webdav/index.html to serve up the webdav home
page. If I just put /webdav in, I get the directory index. Though, I
suspect I could get it to serve it up straight away if I play with the
mapping.
AH!!! Just occured to me. I'm picking it up through Apache
On 8/22/05, Allistair Crossley [EMAIL PROTECTED] wrote:
Hi Everyone,
Just been deploying ROOT.war into webapps and it's failing to explode. The
logs indicate;
INFO: Deploying web application archive ROOT.war
22-Aug-2005 09:46:44 org.apache.catalina.startup.ContextConfig
Hi,
Just to reconfirm, and also to take into account what you did in your test
0. Check server.xml for unpackWARs=true autoDeploy=true
1. I use Ant's war task to correctly war the web application package.
2. I clear Tomcat's webapps folder and restart for good measure.
3. I copy the war into
On 8/22/05, Allistair Crossley [EMAIL PROTECTED] wrote:
Hi,
Just to reconfirm, and also to take into account what you did in your test
0. Check server.xml for unpackWARs=true autoDeploy=true
1. I use Ant's war task to correctly war the web application package.
I used 7zip.
2. I clear
server/lib/catalina.jar
-Tim
Mark Goking wrote:
Anyone know which jar file this belongs?
I found this article, and this could be the solution to retaining
request parameters after logging in
http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila
id=766413
Hi all,
I have a scenario in which multiple time-critical clients call a Tomcat
servlet. The read timeout on a client-server connection is set to 100ms, so if
the servlet has not responded within that time, the connection is closed and
the client continues with other work.
I want to count the
Hi,
Yes, the default ROOT.war does appear to work in the way I have been trying to
deploy my own ROOT.war, you're right there.
Nevertheless I will hold that there are a lot of potential differences between
the empty default ROOT and an 18MB struts/spring/hibernate etc... real-world
web
Hello!
I've been searching on the web for someone with a similar problem, but I
had no success. I hope someone of you can help!
I have a Mandriva Linux system, running the latest Java VM (JDK 1.5). I
downloaded Tomcat 5.5.9, and it works fine when executed from a local
account.
Hi,
OK, I've found the issue :( The Ant war task appears to have packed all files
that were in the root of WEB-INF within a packed path of as web-inf (i.e
lowercase) although not the classes which are packed within an uppercase
WEB-INF.
Looks like the funny theory is funny afterall.
Cheers,
Haveyou seen this article?
http://ant.apache.org/faq.html#winzip-lies
Best regards
Robert
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 11:59
To: Tomcat Users List
Subject: RE: Deploying ROOT.war indicates missing application web.xml
Hi,
On 5.5.9...
* Go to webapps/webdav/WEB-INF
* Edit web.xml
Go to bottom and fix...
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
After I fixed, still not work...
Tom
Kyle [EMAIL PROTECTED] wrote:
On 5.5.9,
I can get
You can do it a couple of ways...
(1) You could create a startup servlet and load it on startup to call
your class.
(2) You could use a ContextListener to do the same thing.
Both of those require a webapp of course, and it's not obvious that you
actually want there to be one. So, you could
Hi,
Nope, but that looks helpful,
Many thanks, Allistair.
-Original Message-
From: Longson, Robert [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 12:11
To: Tomcat Users List
Subject: RE: Deploying ROOT.war indicates missing application web.xml
Haveyou seen this article?
Have you tried using the tomcat5w.exe application in Tomcat's bin
directory? It should also be available under the Apache Tomcat program
group in the Start button All Programs listing as Configure Tomcat.
--David
Doojan wrote:
Buenos dias,
tengo un problema con la configuración de la memoria
Long refresh delay with apache connector
Hi,
When I make a out.flush() and response.flushBuffer() the browser gets
refreshed but when I go through the apache connector, the browser refreshes
only when the servlet is finished.
The servlet might long for a long time, how can I provide some
I've just noticed that on tomcat 5.5.9 JSPs unpacked by tomcat from a
deployed war file have creation dates pointing to the time when the
files were first created. On tomcat 5.0.28 unpacked files have creation
dates pointing to time when they were unpacked (i.e created on this file
system).
Like this perhaps?
http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm
Best regards
Robert
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 13:22
To: Tomcat Users List
Subject: Long refresh delay with apache connector
Long refresh delay with apache
Allistair,
My apologies for taking much longer than usual to get back to you but I had
to finish some Java code that allowed us to upgrade our portal to PlumTree
version 5.
To clarify and answer your points below.
1) I have opted not to have a context.xml file in the META-INF directory
but I
I had a similar problem, I wouldn't go so far as to say I have a
solution, but fiddling with the tomcat/conf/web.xml file to have the
following in its jsp section seemed to help a bit (currently used for
our demo level systems):
servlet
servlet-namejsp/servlet-name
Hi,
That bug report does not seem to relate to my issue; there is no
mention of different behavior depending on what port Tomcat is running
on...
On 8/22/05, Marius Hanganu [EMAIL PROTECTED] wrote:
The problem can be reproduced. There is already a bug describing this
issue:
Thank you for everyone's input. It worked for me from
your suggestions. I downloaded the struts.dtd and
pointed my struts-config.xml to that location, but it
was giving a weird error. Then I commented out the
reference itself in struts-config.xml and it is
working fine now.
Cool, Thanks for
Hi George,
I am under the impression that some ports are
reserved for the computer. I think it ranges from
1-2000 (correct me if I am wrong). Try using any port
after 2000, it should work.
Thanks
Sunjay
--- George Francis [EMAIL PROTECTED] wrote:
Hi,
That bug report does not seem to relate
Mark Thomas wrote:
Set the ciphers attribute on the connector. See
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
I knew of this attribute, but I didn't know which
strong ciphers were supported by Tomcat 5.5, but
thanks to serversniff.de, the answer (empirically)
seems to be
Mark Hagger wrote:
...
Although to be honest I suspect that the best solution for production
boxes is to pre-compile all jsps into the war file anyway.
Is this possible? Don't different containers store the
compiled pages in different places, with different names?
Paul Singleton
--
No
compiled pages are just classes, and so long as they are mapped correctly in
the web.xml you'll be ok.
-Original Message-
From: Paul Singleton [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 15:13
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: tomcat 5.5.9 not recompiling
It works also with ports like 81 or 1999.
Marius
-Original Message-
From: Sunjay Gunda [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 4:52 PM
To: Tomcat Users List
Subject: Re: WebDav on Port 80
Hi George,
I am under the impression that some ports are reserved for the
You're both right.
But when you run your Webapplication under non-tomcat container you need the
tomcat libraries.
Also when going to dfferent versions of tomcat, so e.g. from 4 to 5.5 you
might get compatibility issues.
Bernhard
-Ursprüngliche Nachricht-
Von: Allistair Crossley
Thanks for responding Dirk. I've practically memorized the
documentation on the link you sent:
// Obtain our environment naming context
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
// Look up our data source
DataSource ds = (DataSource)
I am using IE 6.0, XP, tomcat 5.5.9, and when clicking
File-Open-http://localhost/webdav/ and marking Open as web folder
checkbox, the response I receive is:
\\localhost\webdav is not accessible. You might not have
permissions to use this network resource. Contact administrator...
The network
Thanks for the hint - I'm checking it and it's been OK up to now. Since
the behaviour was not deterministic in the past, I have to test it some
more - I'll do it tomorrow.
One more question: was it not deterministic (meaning that sometimes it
worked and sometimes did not) in your case too? If so,
I don't think so. The operating system (i think) encrypts that port as
a standard. just curiouswhy not use one of the other 65534 ports
out there?
[EMAIL PROTECTED] wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use
Sean,
--- Ursprüngliche Nachricht ---
Von: Sean Rowe [EMAIL PROTECTED]
An: Tomcat Users List tomcat-user@jakarta.apache.org
Betreff: Re: jndi question
Datum: Mon, 22 Aug 2005 09:24:10 -0500
Thanks for responding Dirk. I've practically memorized the
documentation on the link you sent:
I really need to use the 443
Sean Rowe [EMAIL PROTECTED]
22/08/2005 12:43 p.m.
Por favor, responda a
Tomcat Users List tomcat-user@jakarta.apache.org
Para
Tomcat Users List tomcat-user@jakarta.apache.org
cc
Asunto
Re: Use port 443 as non-ssl
I don't think so. The operating system (i
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use the 443 in a non-ssl? Im not
using the ssl (it is between !-- --).
Thanks
Hi Dirk,
Thanks again for responding. I have tried putting this into it's own
context file. For my latest attempt, I have created the data source
using the admin module, and it rewrote my server.xml file for me, so I'm
assuming it's in there correctly. No matter how I do it ( and i really
On 8/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use the 443 in a non-ssl? Im not
using the ssl (it is between !-- --).
I don't think browsers will let you do that, it would be a
Hi Robert,
We are a java only shop so I don't have a c/c++ compiler readily available
to me. Would it be possible for you to send me your prunsrv build so I could
give it a test?
Brad
-Original Message-
From: Longson, Robert [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 3:19
I am using Tomcat 5.0.28 and need to have a pdf document open as a plug-in
in Internet Explorer. I tried using the
response.class file (for an earlier version of Tomcat) recommended in the
bug documentation, but it did not make a difference. Is there any
additional information/solutions that are
Jason Bainbridge wrote:
On 8/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use the 443 in a non-ssl? Im not
using the ssl (it is between !-- --).
I don't think browsers will let
Hello all,
I am getting special characters when we enter spaces
during formatting a text in a textarea. It used to
work perfectly in our development environment but when
we moved it to production we get 'Â' character for
every repeated blank space.
The only thing changing in development and
[EMAIL PROTECTED] wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success.
What have you tried and what went wrong?
Is there a way to use the 443 in a non-ssl?
Yes, just specify
port=443
instead of
port=8080
in the default Connector
Am Montag, 22. August 2005 17:54 schrieb Jason Bainbridge:
On 8/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use the 443 in a non-ssl? Im not
using the ssl (it is between !--
Am Montag, 22. August 2005 17:43 schrieb Sean Rowe:
I don't think so. The operating system (i think) encrypts that port as
a standard.
Where did you get that information?
To the OS, a port is a port - regardless of it's number. The only magic
regarding port numbers is that Unix-like system
i just assumed, which was why i said 'i think'. i offer no guarantees
about anything that comes out of my mouth. ;)
sean
Markus Schönhaber wrote:
Am Montag, 22. August 2005 17:43 schrieb Sean Rowe:
I don't think so. The operating system (i think) encrypts that port as
a standard.
--- nitin dubey [EMAIL PROTECTED] wrote:
Hello all,
I am getting special characters when we enter spaces
during formatting a text in a textarea. It used to
work perfectly in our development environment but
when
we moved it to production we get 'Â' character for
every repeated blank
--- Wylie, Ian [EMAIL PROTECTED] wrote:
Allistair,
My apologies for taking much longer than usual to
get back to you but I had
to finish some Java code that allowed us to upgrade
our portal to PlumTree
version 5.
To clarify and answer your points below.
1) I have opted not to have
Wade,
It is when the data is displayed in browser. I have
used the default encoding and will now look out for
any mismatch.
Regards,
Nitin
--- Wade Chandler [EMAIL PROTECTED]
wrote:
--- nitin dubey [EMAIL PROTECTED] wrote:
Hello all,
I am getting special characters when we enter
On 8/22/05, Markus Schönhaber [EMAIL PROTECTED] wrote:
Am Montag, 22. August 2005 17:54 schrieb Jason Bainbridge:
On 8/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi, I need to use the tomcat with a non - ssl connector on port 443.
Up to now, no success. Is there a way to use the
We're using Lawson Software and their web products.
They are telling us that we need to add this to our
Tomcat 4.1 startup script:
-D
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
Any ideas on where this goes in the startup script?
Jeff
From: Mystery [EMAIL PROTECTED]
We're using Lawson Software and their web products.
They are telling us that we need to add this to our
Tomcat 4.1 startup script:
-D
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
Any ideas on where this goes in the startup script?
I think
Hi, does anyone know how to connect a Pound Reverse Proxy with Tomcat?
My scenario is:
A user types https://:443/aplication in the browser
then the reverse proxy Pound translate it to http://xxx:8080/aplication
the problem is the return, doesn't work.
thanks in advance
Dirk, I'm sorry I didn't see the difference on the page you sent me to.
However, if there is a way I can do this without having to use jstl, I
would really like to know. I was hoping to put the code in a class
somewhere that my servlets could use.
thanks,
sean
Dirk Weigenand wrote:
Sean,
Hi,
I am trying to log all illegal requests from Tomcat 5. By illegal
requests I mean those that have return status code other than 200, i.e..
404 (Page Not Found)
403 (Forbidden), 408 (Request Timeout). I am using log4j 1.2.9.
I display a custom error page for the above status codes and
Try inserting proxyPort and proxyName attributes into your connector.
proxyPort is obvious -- the port number of the publicly available site.
proxyName is the site DNS name or IP address of the publicly available
site.
These attributes are used by tomcat to compose links in pages and 300
Thanks - thats exactly my experience also; Does anyone here know why
port 80 doesnt work?
On 8/22/05, Marius Hanganu [EMAIL PROTECTED] wrote:
I am using IE 6.0, XP, tomcat 5.5.9, and when clicking
File-Open-http://localhost/webdav/ and marking Open as web folder
checkbox, the response I
I am working on a web application that can be used in two ways at the same
time depending on its URL. The original WAR file has a web.xml that defines
tight security requiring form authentication with id and password.
In Tomcats server.xml I have two Contexts with different paths but to the
George Francis wrote:
Thanks - thats exactly my experience also; Does anyone here know why
port 80 doesnt work?
See http://issues.apache.org/bugzilla/show_bug.cgi?id=36303
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello, In my application, I need a component, which checks emails. If an
email is the one in responsing my application action, I will process it
(write some record in database).
If you have example for it, please forward me instruction.
Thanks
Christoph - you exactly summarize my situation - i.e. there are
objects with hashmaps and so i really don't know what can be
serialized at the time of serialization.
As regards to 'people', others also work on this webapp, and more
others will work on it in the future... so i want to try to
No, I don't believe this is the problem. I've removed the ROOT web
application and confugured apache forwarding to tomcat using the mod_jk
connector to forward the root webapp to 'mysite'.
On 8/20/05, Peter Rossbach [EMAIL PROTECTED] wrote:
You must rename your directory from mysite to
I'm trying to get the Tomcat manager app to unpack war files when I
install them. (using Deploy directory or WAR file located on server)
The only setting I found that is supposed to control this is unpackWARs,
so I have this in my server.xml:
Host name=localhost debug=0
Hi all,
For some reason I'm not able to retrieve the
parameters from a URL.
I have a simple test JSP file that attempts to print
out the names and values of parameters passed via the
URL. The JSP loads, executes and provides a response
just fine, but the call to
79 matches
Mail list logo