On Tue, Aug 12, 2008 at 2:32 PM, Stefan Oestreicher <
[EMAIL PROTECTED]> wrote:
> if there is nothing in the ROOT directory that you need (what I suspect,
> since you wanted to put a redirect document there) you can delete it and
> rename the dspace.war to ROOT.war. Tomcat will then unpack that wa
Hi Everyone,
I am trying to run tomcat 5.5 with Rational Purify to test my web application
for any potential memory leakages. I have run pstart -setup and set set
JAVA_HOME, _JAVA_OPTIONS environment variables.
But when I run tomcat with this command
>catalina.bat start
I get the following er
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of
a User
Add it where exactly? In $CATALINA_HOME/conf/context.xml? In
$CATALINA_HOME/conf/server.xml? Please provide the exact path and a snippet of
the code...
In Response To:
Hi all,
I'm using CGI servlet in
On Tue, Aug 12, 2008 at 8:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote:
> Can you suggest ways to troubleshoot the problem I am having?
>
> I can neither get my war file, nor an exploded dir tree to start (tomcat
> 5.5)
>
> In the [catalina] log file I see these errors, which I believed relat
Can you suggest ways to troubleshoot the problem I am having?
I can neither get my war file, nor an exploded dir tree to start (tomcat 5.5)
In the [catalina] log file I see these errors, which I believed related to a
corrupt archive file. Having removed the archive, and replaced with a dir tree
Hi Chris,
--- On Tue, 8/12/08, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> Tommy,
>
> Tommy Pham wrote:
> | I'm looking for a way to remove the product name
> and/or version from
> | the server header and default http errors (without
> defining my own
> | custom error-page). I know it's po
i know my question could seem strange to you, but pls:
why did you execute "rm -rf $(cwd)/.. && /etc/init.d/tomcat5 restart"?
And above all: where?
:-)
Luca
--
From: "Enrique Arizón" <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2008 7:11 PM
To
Answering your question:
assuming you have a apache web server proxing the first tomcat with mod_jk
(so mod_jk help),
you shuold have a thread in your second tomcat which interrogate a servlet
in the first tomcat and if the answer fails this thread should reconfigure
the worker (the mod_jk) so
Alonzo Wilson wrote:
4.1.30 and 6.0.16
4.1.30 you should be able to use the admin app to add a new connector. With
6.0.16 you might be able to use JMX. Restarting Tomcat will be far easier.
Mark
-
To start a new topic, e-
4.1.30 and 6.0.16
>>> Mark Thomas <[EMAIL PROTECTED]> 8/12/2008 3:02 PM >>>
Alonzo Wilson wrote:
> After importing the signed certificate using
>
>
> keytool -import -alias tomcat1 -trustcacerts -file tsat.cer
> -keystore .keystore
>
> is there a way to make the new certificate active besid
> Stephen Nelson-Smith wrote:
>
> My server.xml was not originally written by me, and
> has been handed down and modified over the ages. It
> was originally from Tomcat 4.1
This is generally a really bad idea. Due to changes in the syntax and
semantics of server.xml over the years, you cannot g
Hi,
I'm running IIS 6.0 on Win2K3, with Tomcat connector v1.2.26.0, and Tomcat
5.0.28 in the back-end. We have a monitoring system that monitors server health
by periodically sending a HEAD request for /healthcheck.txt to IIS. I have the
connector configured to pass this on to Tomcat in order t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen Nelson-Smith wrote:
| * My server.xml was not originally written by me, and has been handed
| down and modified over the ages. It was originally from Tomcat 4.1
| * Tomcat works fine in standalone mode - the app works.
Your server.
Alonzo Wilson wrote:
After importing the signed certificate using
keytool -import -alias tomcat1 -trustcacerts -file tsat.cer
-keystore .keystore
is there a way to make the new certificate active besides stopping
and starting tomcat?
Tomcat version?
Mark
--
Frank Uccello wrote:
I am new to tomcat I was wondering how to I change tomcat 5.5 running on
Linux box to state auto developed = false also on tom cat 4
Assuming you mean automatic deployment, see
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
It is pretty much the same on Tomcat 4.
[EMAIL PROTECTED] wrote:
Hello Team,
I tried to unsubscribe from this email list, but got mail undelivered
message, could someone unsubscribe me from this email list, so that I
could use or subscribe with my new email ID.
You used the wrong address to unsubscribe. The correct address
([EMAIL
After importing the signed certificate using
keytool -import -alias tomcat1 -trustcacerts -file tsat.cer
-keystore .keystore
is there a way to make the new certificate active besides stopping
and starting tomcat?
Thank you advance.
Hello Team,
I tried to unsubscribe from this email list, but got mail undelivered
message, could someone unsubscribe me from this email list, so that I
could use or subscribe with my new email ID.
Please help me.
Thanks in advance.
Warm Regards,
Pranab Das
Senior Software Engineer
BirlaSoft
The tomcat distribution doesn't contain any code which goes into /etc/init.d
The feature as described below needs to be addressed in the
distribution. (Or the rpm creator)
-Tim
Enrique Arizón wrote:
I suddenly removed my cwd just prior to start tomcat. Briefly, the script would
be similar t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Enrique,
Enrique Arizón wrote:
| # rm -rf $(cwd)/.. && /etc/init.d/tomcat5 restart
Does this seem like a good idea to you?
Hmm... "I added 'rm -rf' to my script and now I can't find any files!".
I can't imagine that this has anything to do with th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tommy,
Tommy Pham wrote:
| I'm looking for a way to remove the product name and/or version from
| the server header and default http errors (without defining my own
| custom error-page). I know it's possible for apache using
| ServerSignature and Se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard S. Huntrods wrote:
| I FIXED THE PROBLEM!
|
| Yep - totally fixed (tested and verified).
|
| What I decided to do was to move the close statements (and nulling RSMD)
| into the FINALLY block - it seemed pointless to duplicate cod
I suddenly removed my cwd just prior to start tomcat. Briefly, the script would
be similar to:
# rm -rf $(cwd)/.. && /etc/init.d/tomcat5 restart
after which I got lot of errors and tomcat "broke" (broke == I reinstalled the
rpm package to make it work again). The worst thing is that after the f
In server.xml - add a "server" attribute to the Connector element. [WWW]
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
[I just added this to the FAQ]
http://wiki.apache.org/tomcat/FAQ/Security#Q9
-Tim
Tommy Pham wrote:
Hi,
I'm looking for a way to remove the product name and/or ve
> From: Tommy Pham [mailto:[EMAIL PROTECTED]
> Subject: removal of product name/version
>
> I'm looking for a way to remove the product name and/or
> version from the server header and default http errors
> (without defining my own custom error-page).
You didn't bother to tell us the Tomcat versio
I am new to tomcat I was wondering how to I change tomcat 5.5 running on
Linux box to state auto developed = false also on tom cat 4
Thanks
Frank
Chris,
| If I close the resultset AND the statement, then the connector
| should release all the objects created by those two. The connection is,
| after all, just a pipe between the database and the java code. The
| connector should not (IMO) be hanging on to statement or resultset
| objects j
Christopher, Johnny and Konstantin
thanks a lot for your help.
I implemented a while.. loop as Christopher and Konstantin suggested
and now it's working like a charm (I also updated from Tomcat 4.x to
5.5 but that's another story).
Thanks again,
Michele
--
Michele Fuortes, M.D., Ph.
Hi,
I'm looking for a way to remove the product name and/or version from the server
header and default http errors (without defining my own custom error-page). I
know it's possible for apache using ServerSignature and ServerTokens, also
possible for glassfish v2 using a jvm option. I've looke
Thanks a bunch Luca. I inherited quite some messy code before the old
developer said goodbye. So far the big architectural issues in the Data
Access and Logic layers have been cleaned up, but the problems in the view
still exist. I will live with this issue for now and refactor the view later
to u
Hi jonny,
On Tue, Aug 12, 2008 at 5:06 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> its HELO (blank) because when java asks the machine who it is... it doesnt
> know ;)
>
that was the clue I was looking for
after the crash the hostname in /etc/hostname wasn't configured - duh
thanx!
Ofer Kalisky wrote:
Is there a reason why no one is answering this?
- Original Message -
Mmmm, let me think..
Maybe it is because this is a free forum for people to ask questions
about Tomcat, which is a free product ?
Maybe it is because nobody knows the answer ?
Maybe it is becaus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard S. Huntrods wrote:
| I use a RSMD object in all my queries. I don't close
| it. - MAYBE THAT's THE PROBLEM. I will test and report...
Looking back at the JDBC API, I'm not sure you have any control over the
RSMD query, result, etc.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
De Vries, Richard wrote:
| Basically the logger.exe is watching for pre-configured patterns and
| shooting off SNMP traps, which then triggers a recovery action of sorts.
Is it possible to configure your logger program to watch a log file
i
Richard,
Richard S. Huntrods wrote:
| Everything is local except the pooled connections, so I would say this
| is the problem. This code was originally written before tomcat had good
| connection pools, and so I had to write my own. The pool is basically a
| vector of connections.
I wouldn't wan
Shahar Cohen wrote:
Rmove this line:
#
Change this line:
to:
Ok... just to be clear, after more testing:
On the same machine, using apache 2.2 mod_proxy_ajp:
1) set ProxyPass to localhost
2) use application server.xml
All works.
Move apache to a different machine.
1) Set ProxyPass to IP or DNS name of tomcat server
Apache gives a 400 and I get no conte
On Tue, Aug 12, 2008 at 8:20 AM, Shahar Cohen
<[EMAIL PROTECTED]> wrote:
> when I put in my browser anyone of the URLS I don't get my web site.
>
> resourceName="UserDatabase" />
> #
I hope you don't actually have a '#' in your server.xml -- it's not an
XML comment :-
Hi,
In my dns I enter 3 records:
www.aaa.dev
www.bbb.dev
www.ccc.dev
all redirect to ip 10.10.10.12
when I put in my browser anyone of the URLS I don't get my web site.
And I don't want to enter the urls as a host header in server.xml.
When I change in the server.xml to one of the URLS
On Tue, Aug 12, 2008 at 8:13 AM, Szűcs Attila
<[EMAIL PROTECTED]> wrote:
> I forgot to mention that the design, when opened outside of tomcat (just the
> plain html file with css and images) looks all right, so the css and the html
> files are good. The other strange thing is that when I copy th
Good Morning Mr Cohen-
for CNAME, ADDR and PTR questions I would consult your sys admin for
particulars on
mapping those DNS records to specified IP
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments rel
HI,
I am following an example from the following link, but got error and
using maven building the project.
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
I have downloaded jta-1.1-classes.jar and used maven install it in
the repository.
Output from build process:
[INFO]
Christopher,
Thanks for your reply. I am not generating the images. They are read from an
image folder.
I forgot to mention that the design, when opened outside of tomcat (just the
plain html file with css and images) looks all right, so the css and the html
files are good. The other strange
On Tue, Aug 12, 2008 at 8:02 AM, Shahar Cohen
<[EMAIL PROTECTED]> wrote:
> I have installed tomcat 5.5 on my linux and I want to configure my
> website so I would be able to connect to it without the need to
> configure host header in a virtual site but receiving requests to the ip
> address of th
- Original Message -
From: "Gregor Schneider" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 12, 2008 4:07 PM
Subject: Problems using JavaMail-API within Tomcat
Hi guys,
recently our server crashed (Debian), and since then I'm having
problems getting JavaMail to
Hi,
I have installed tomcat 5.5 on my linux and I want to configure my
website so I would be able to connect to it without the need to
configure host header in a virtual site but receiving requests to the ip
address of the site on the specified port which are coming
>From multiple DNS directions
Hi Ben,
On Tue, Aug 12, 2008 at 4:19 PM, Ben Stringer <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-08-12 at 16:07 +0200, Gregor Schneider wrote:
>
> I've often had problems with javamail in Tomcat due to more than one
> version of the javamail jar being on the classpath. Perhaps check if
> this is th
Hello -
Wondering if anyone can help.
I am using:
- Tomcat 6.0.14 on Linix
- Java 1.5.0_13
- Spring 2.5.1
- Quartz scheduler 1.6.0
- commons logging 1.1.1
I am seeing the following in the tomcat catalina-2008-mm-dd.log file:
SEVERE: Runtime error occured in main trigger firing loop.
java.lang.N
That error is ok, since you're shutting down, we closing the socket
forcefully. It's a mistake of me to print the error message
Filip
Zachariah Zachariah wrote:
Thanks Filip. I found that changing the Host name to localhost from
the actual node names made it to work properly. So in my case z2
Hey Chris; thank you for your response.
You do have good suggestions; I'm just not sure whether they are doable
in our environment. I guess I'll have to do a bit more research.
Basically the logger.exe is watching for pre-configured patterns and
shooting off SNMP traps, which then triggers a reco
Hi,
"<[EMAIL PROTECTED]" is a static include, that is at compile time the compiled
code
of the INCLUDED jsp is simply copied.
But if you change a included jsp/servlet after the INCLUDING page has been
compiled, well, nothing happens in the INCLUDING.
You have to touch (modify something) the inclu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Huntly,
Huntly Cameron wrote:
| I've run into a strange problem with redirecting from a servlet when
using a
| normal domain name (www.xyz.com) Basically up until now I was just
testing
| my app using the http://locahost/ URL. The servlet redirect
On Tue, Aug 12, 2008 at 3:11 AM, Jeng Yu <[EMAIL PROTECTED]> wrote:
> The servlet (in Appserver A) then processes part of
> the
> form input in the doGet method and then needs to send
> the rest of the form to another web server
> (Appserver B) to process and return the results
> (response code or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Atti,
Szűcs Attila wrote:
| However when I am
| putting everything together the images are a little bit larger than
| in the original design. This is a problem because the image contains
| text which becomes blurry, and some spacer and separator ima
On Tue, 2008-08-12 at 16:07 +0200, Gregor Schneider wrote:
>
> I've got no clue what is missing here, so if you gyus got any hint's
> I'd really appreciate that..
Hi Gregor,
I've often had problems with javamail in Tomcat due to more than one
version of the javamail jar being on the classpath.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
| 1) You already asked this question and Mark Thomas already answered.
| Don't repeat your posts.
|
| 2) Why can't people ever post their tomcat version, OS, and JVM
| version? We aren't psychic or big brother -- we have no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
De Vries, Richard wrote:
| For instance, I changed stdout from "auto" to "|
| c:\progra~1\logger\logger.exe", but this yields a no-go :-(. Checking
| the task manager I also don't see "logger.exe" running.
Sadly, win32 is not UNIX, where th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard S. Huntrods wrote:
| Everything is local except the pooled connections, so I would say this
| is the problem. This code was originally written before tomcat had good
| connection pools, and so I had to write my own. The pool is basic
Hi guys,
recently our server crashed (Debian), and since then I'm having
problems getting JavaMail to run within Tomcat 5.5
I've defined a ressource within $catalina_home/context.xml:
The above named server is listed in my /etc/hosts
I can ping myserver.com
However, I get an exception sa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Gainty wrote:
| ..I'll ask the dumb question..what is a drive-by login
Sorry for the colloquialism. By "drive-by" login, I mean that the user
was presented with a login page that was not served by Tomcat as a
result of a request for a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Thomas wrote:
|> Many of securityfilter's users use it merely because it allows
|> drive-by logins. We're happy to have them (!), but this seems like
|> a reasonable feature to have in the core of Tomcat.
|
| Given there is a demand for th
It shouldn't be a problem as long as:
1. The Java version in your Eclipse environment matches the Java version
of your tomcat server
2. The classes of your webapp stay in sync between Eclipse and Tomcat.
The second of those two is harder than the first. I would personally
recommend you start
--- Peter Crowther <[EMAIL PROTECTED]>
wrote:
> > From: Jeng Yu [mailto:[EMAIL PROTECTED]
> > The servlet (in Appserver A) then processes part
> of
> > the
> > form input in the doGet method and then needs to
> send
> > the rest of the form to another web server
> > (Appserver B) to process and r
Alright, I will take a look. This may seem like a daft question, but I am
compiling the class using Eclipse and it utilizes two other classes with
import statements. I have those classes in my same Eclipse work environment,
but I am only compiling and deploying the single class that I need. I simp
Backing up slightly, maybe the first step should be to confirm whether the Web
Tools Platform, Sysdeo, or other plug-in is being used for the Tomcat server
support.
The fact that "C:\Program Files\Apache Software Foundation\Tomcat
6.0\conf\tomcat-users.xml" is being renamed suggests that if WTP
You should take a look at your logs for the source of the error. It may
be a difference between the JVM tomcat runs on and the JVM used to build
the new class, but that will be indicated in the logs.
--David
cfrankland wrote:
Hi,
I am a bit new to Tomcat, but have a really quick question. I
My personal preference is to get jsvc from the commons-daemon project
(http://commons.apache.org/daemon/jsvc.html), build it, and then use it
to start and stop tomcat. It runs as ROOT, captures the privileged
ports, and then spawns tomcat to run as an unprivileged user.
--David
Ch Praveena w
1) You already asked this question and Mark Thomas already answered.
Don't repeat your posts.
2) Why can't people ever post their tomcat version, OS, and JVM
version? We aren't psychic or big brother -- we have no idea what you
are working with.
3) Admin webapp is only available for tomcat
Great!!
You are absolutely right!! I could run perfectly on ROOT user!
But how to give the previllages to the USER as similar to ROOT?
Thank you in advance!!
2008/8/12 David Smith <[EMAIL PROTECTED]>
> A complete stack trace would be wonderful as well as your OS and tomcat
> version. On t
A complete stack trace would be wonderful as well as your OS and tomcat
version. On the outset, I would guess this is a unix/linux based system
where ports below 1024 are privileged ports, not accessible except by
the root user. If that's the case, you might want to consider using
jsvc from t
Hi there,
I am currently investigating a problem with our web app (Tomcat 5.5.23, Java
1.5, JSF 1.2) where the servlet cache does not always get updated when a JSF
include is changed. This happend after changing an included JSF. The
JSF-snippet that includes is:
<[EMAIL PROTECTED] file="/pages/i
Hi guys,
I've run into a strange problem with redirecting from a servlet when using a
normal domain name (www.xyz.com) Basically up until now I was just testing
my app using the http://locahost/ URL. The servlet redirect
worked fine with with the page displaying fine. The URL would look somethin
> From: Jeng Yu [mailto:[EMAIL PROTECTED]
> The servlet (in Appserver A) then processes part of
> the
> form input in the doGet method and then needs to send
> the rest of the form to another web server
> (Appserver B) to process and return the results
> (response code or something) to the calling
Hello Good People!
I need your help! I can't find a good answer where
I've
looked. Here's my problem:
I have a web application client that shows a user a
form to fill out and then submits the form input to a
servlet in an application server (Appserver A) running
Tomcat.
The servlet (in Appserv
Hello !
I am developing a web site for a company and I've received the design from
the designer. I am using apache turbine, so I have cut the design into
navigations, screens, and layers. However when I am putting everything together
the images are a little bit larger than in the original d
Hi, Sam
If you installed Tomcat using the .exe installer, the *.bat files
are not included with it. You can download the zip archive to get them.
Eclipse does not need them, because it lauches Tomcat as a java
application, loading its Bootstrap class.
When you create a server launch configuratio
Hello I have a little problem,
I would like to do following in my Tomcat -> I have several versions of one
same servlet ... the path for executing servlet is e.g. /test/application
and I would like to set which branch should be executed when executing this
path. I`ve heard that it is possible to
Hi all,
It would be my great experience if you share your views in making
up the solution :
I am having an application running on my tomcat. And could run it like
http://10.30.330.45:8080/sample
When I am trying to run on the default port its saying "BIND EXCEPTION" and
I am sure I ve
I have a server running apache 2.2, configured to proxy to another
tomcat server, running 6.0.16. This works fine with the stock
server.xml, and the webapps, but when I move my own server.xml into
place, apache reports a 400, and I get no page.
Some background:
* The apache config works in produ
Another After Thought...
If you really have a system where only one client can talk to the dB at one
time
There is no other way go back and redesign it... its wrong ;)
-
To start a new topic, e-mail: users@tomcat.ap
please help
where can i get tomcat admin package.when i use
http://localhost:8080/admin, tomcat reply that tomcat admin package has not
been installed.
Please give me some url to download tomcat admin package.
--
View this message in context:
http://www.nabble.com/tomcat-admin-packag
After Thought...
If you worried about your thread processing crashing and having a dB hald
updated... thats got nothing to do with machine redundancy... thats what dB
transactions are for...
So one tomcat is never going to pick up on anothers processing thread
All that will happen if you
- Original Message -
From: "Ofer Kalisky" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 12, 2008 8:30 AM
Subject: Re: Tomcat failover
Is there a reason why no one is answering this?
- Original Message -
From: Ofer Kalisky
To: Tomcat Users List
Sent:
Ofer Kalisky wrote:
Is there a reason why no one is answering this?
http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2
Mark
- Original Message -
From: Ofer Kalisky
To: Tomcat Users List
Sent: Monday, August 11, 2008 3:26 PM
Subject: Tomcat failover
Hi,
I have a Tomca
tunzaw wrote:
Hi
Where can i get tomcat admin package? I want to use
http://localhost:8080/admin.
When i attempt to use this url ,tomcat say tomcat admin tool do not already
install.Where can i download tomcat admin package?
Have you tried the download pages?
Mark
---
David Rees wrote:
I posted a couple messages to the user/dev lists last week asking the
same question,
There is no need to cross-post.
but still haven't seen any mention of a plan to release
a new 5.5.x or 4.1.x to fix the security issues posted at the
beginning of the month.
Is there a plan
86 matches
Mail list logo