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
obteniend
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: tomcat-user@jakarta.apache.or
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 u
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" %>
The error occures on t
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 interac
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 1.4
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
language is null
Allistair.
> -Original Message-
> From: Allistair Crossley
> Sent: 22 August 2005 10:19
> To: Tomcat Users List
> Subject: RE: Java 1.4.2_08 and up breaks Jstl
>
>
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:
II) You are using Jakarta Taglibs JSTL. Have you upgraded this to the
latest stable version? This could be an incompability between an older
JSTL implementation and ne
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 a
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
> applic
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
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=59484&atid=491164&func=detail&a
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 applica
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. Nevertheless,
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, A
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,
O
On 5.5.9...
* Go to webapps/webdav/WEB-INF
* Edit web.xml
Go to bottom and fix...
index.html
After I fixed, still not work...
Tom
Kyle <[EMAIL PROTECTED]> wrote:
On 5.5.9,
I can get http://localhost/webdav/index.html to serve up the webdav home
page. If I just put /w
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 memori
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 feedbac
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). Perhaps
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 c
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 am
I had a similar problem, I wouldn't go so far as to say I have a
solution, but fiddling with the /conf/web.xml file to have the
following in its "jsp" section seemed to help a bit (currently used for
our demo level systems):
jsp
org.apache.jasper.servlet.JspServlet
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:
>
> http://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 everyo
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 rela
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 virus
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 recompi
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
comput
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 [mail
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)
e
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 netwo
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 t
Sean,
> --- Ursprüngliche Nachricht ---
> Von: Sean Rowe <[EMAIL PROTECTED]>
> An: Tomcat Users List
> 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:
>
> // Obtain our env
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"
Para
Tomcat Users List
cc
Asunto
Re: Use port 443 as non-ssl
I don't think so. The operating system (i think) encrypts that port as
a standard. just curious.
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 b
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 a
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 you
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 prod
[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 att
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 betw
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 b
--- "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 opte
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
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
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 thi
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 sho
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
serie
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 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
same
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]
Fo
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
'futur
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 t
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:
Nothing I tried caused the war to ge
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
HttpServletRequest.getParameterNa
Hi Tomcat gurus
I use Mac OSX Server 10.3.9.
After an electricity black-out I can not start Tomcat over "Server
Admin - Appication Server".
The panel shows, that Tomcat is running, but it is not. After press on
"Stop" there happens nothing.
Over the Terminal with the script startup.sh I am able t
75 matches
Mail list logo