From: Jon Camilleri [mailto:[EMAIL PROTECTED]
Hence, is it feasible to have:
- Server 1 installed with Tomcat instance #1 and
Tomcat instance #2 over JVM #1
- Server 2 installed with Tomcat instance #1 and
Tomcat instance #2 over JVM #2
If by JVM you mean the files installed to support
Mathias P.W Nilsson wrote:
Can this be hacked? like http://localhost/files/../../somefile
No. There have been some recent vulnerabilities with particular
configurations in this area but these are fixed in the latest 5.5.x and
6.0.x releases.
Mark
Hello,
I have a WS deployed on Tomcat and querying a DB. The JDBC and JNDI
configurations should be fine but I still have some problems.
When loading the WS (actually starting Tomcat) I got the following
exception. It doesn't recognise the user and password I set in the
context.xml.
I searched
You have an error in your Resource definition. The attribute for
username is 'username', not 'user'. The corrected version is below:
Resource name=jdbc/cellmlrep
type=javax.sql.DataSource
auth=Container
username=me password=me
Check to see if your webapps directory contains the /manager and
/tomcat-docs folders. Also make sure your server.xml file is pointing
to the /webapps directory as its starting place.
[EMAIL PROTECTED] wrote:
See Thread at: http://www.techienuggets.com/Detail?tx=6039 Posted on behalf of
a
yes ..
specifically
Host name=localhost appBase=webapps
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED]
Subject: Re: The requested resource (/manager/) is not available.
Check to see if your webapps directory contains the /manager and
/tomcat-docs folders. Also make sure your server.xml file is pointing
to the /webapps directory as its
The error clearly indicates that servlet-api.jar is missing from the
classpath. It should be located under CATALINA_HOME\lib in case of TC 6.
You would think so but it's not the case.
NoClassDefFoundErrors are seldom so clear. They do a nice job of hiding
the root cause. In this case it was
Hi,
I am using Tomcat v 5.5.23 and want to run the server as a Windows service
(tomcat5.exe) on a port other than the default port of 8080. Is it possible
to install Tomcat as a service and configure it so that it runs on a
different port?
While we can configure Tomcat and run it on a different
From: Kamal Sheikh [mailto:[EMAIL PROTECTED]
Subject: Running Tomcat as a Service on Non-default port
Is it possible to install Tomcat as a service and
configure it so that it runs on a different port?
Ports are configured in the Connector element(s) in conf/server.xml; a
restart of Tomcat
Kamal Sheikh wrote:
Hi,
I am using Tomcat v 5.5.23 and want to run the server as a Windows service
(tomcat5.exe) on a port other than the default port of 8080. Is it possible
to install Tomcat as a service and configure it so that it runs on a
different port?
While we can configure Tomcat and
Thank you Martin for your reply.
I installed the log4j and it is logging information when I shutdown
tomcat, but no other time. I have also tried messing with the
java.util.logging but an getting nowhere with that.
I am using the default log4j.properties as mentioned on the tomcat web
pages. I
Hi all,
We've got an Httpd 2.0 server sitting in front of a Tomcat 5.5 with mod_jk.
Tomcat has several error-page set up, amongst which HTTP 404, and so has
Httpd.
When the user tries retrieve an inexistent page, he or she receives the
page from Tomcat, with a 404 error-code. Can anyone explain
Hi all,
Just soliciting some feedback on how to effectively, thwart data mining on
our server.
We have a reactive solution when it comes to screen scraping and data mining
on Tomcat 5.5.
We simply find the offending IP's and add them to the deny rules using the
Valve -
- Original Message -
From: Pierre Goupil [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, September 09, 2008 4:54 PM
Subject: Apache Httpd Tomcat error pages
Hi all,
We've got an Httpd 2.0 server sitting in front of a Tomcat 5.5 with
mod_jk.
Tomcat
hi,
is it possible to undo the undeploying of applications in Tomcat? I mean, is
the application still stored somewhere in the server after undeploying it?
thanks.
Exactly ! I've checked it out and it does work like you said.
Cheers Johnny !
Pierre
On Tue, Sep 9, 2008 at 5:45 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
- Original Message - From: Pierre Goupil [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday,
Darryl,
One thing I might suggest is instead of rolling your own http
client; is to use the http client from apache http://hc.apache.org. I
use it myself for various projects including binary data transfer. It
will let you focus on your protocol instead of having to implement
http.
Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE
instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have JAVA_HOME
pointing at JRE 1.6.0_07. However, when I go to start tomcat, it tells me
that the JAVA_HOME variable needs to point at a JDK, not a JRE.
Am I missing
Edward Song wrote:
Hi all,
Just soliciting some feedback on how to effectively, thwart data mining on
our server.
We have a reactive solution when it comes to screen scraping and data mining
on Tomcat 5.5.
We simply find the offending IP's and add them to the deny rules
From: Cristina Manzano García-Muñoz [mailto:[EMAIL PROTECTED]
Subject: undo undeploying in Tomcat?
is the application still stored somewhere in the server after
undeploying it?
Depends on how the webapp was deployed. If it was placed under the Host
appBase directory, it will be deleted
On 9 Sep 2008 at 12:41, Bai Shen wrote:
Looking at the tomcat site, it says that I can run Tomcat 6 with a
JRE
instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have
JAVA_HOME
pointing at JRE 1.6.0_07. However, when I go to start tomcat, it
tells me
that the JAVA_HOME variable
Bai, to run using the JRE you need to set JRE_HOME not JAVA_HOME. Note:
in our startup file we also set JAVA_HOME to null incase it was set
elsewhere. I.e:
set JAVA_HOME=
set JRE_HOME=%VARIABLE%\java
Regards
-Original Message-
From: Bai Shen [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hi BaishenBR
BR
the container needs a jasper compiler to compile the jspsBR
would'nt it be great if ALL webapps had precompiled jsps???BR
BR
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the
- Original Message -
From: Bai Shen [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, September 09, 2008 6:41 PM
Subject: Running Tomcat with JRE?
Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE
instead of a full JDK. So I
Hi Raymond,
Thanks for that suggestion - I'll definitely look into it. In the meantime what
we've done is to solve our problem in the hardware, by using 2 network cards
(i.e. 2 IP addresses) in situations where dual port 443 usage is required. This
keeps the code a helluva lot cleaner, and
On Tue, Sep 9, 2008 at 1:10 PM, Darryl Pentz [EMAIL PROTECTED] wrote:
Thanks for that suggestion - I'll definitely look into it. In the meantime
what we've done is to solve our problem in the hardware, by using 2 network
cards (i.e. 2 IP addresses)
Uh, you don't need multiple NICs to
Hi Shawn,
My apologies, but I didn't see this message until just now.
Alan did put out a pretty simple instance of OpenBD on Jetty that makes
it pretty dang simple to use Jetty with OpenBD and VirtualHosts.
However, I realize this is not what the majority of the community was
wanting, so I've
Hi Hassan, pardon my stupidity, but how exactly do you do what you're
suggesting?
- DP
- Original Message
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org; Darryl Pentz [EMAIL
PROTECTED]
Sent: Tuesday, September 9, 2008 9:25:07 PM
Subject: Re:
Hello,
For various and sundry reasons, I need to wrap the original
HttpServletRequest with a facade of my own. I know that the
HttpServletRequest exposed by Catalina is a RequestFacade object. I simply
wrap my facade around this puppy.
And... when my jsp attempts to render... boom:
HI agn, to change the privilegies try doing this,
in vista: go to control panel administrative tools Services , then look for
Apache tomcat service , then go to properties (right click on the service)
Log on (tab) this account. and you the spaces in with a super user name and
pass. then
Different OS's can do this in different ways. Just Google it.
For Linux, here's a quick How-To:
http://www.oclc.org/us/en/support/documentation/ezproxy/technote/2l.htm
HTH
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe
All,
Can someone point me to where I can read how to prevent/redirect
access to a particular file in the Tomcat/webapp context.
Specifically, all of my directories have the OS X DS_Store file. I
would like to redirect users to an error page when this file is
directly accessed.
Thank
I'm trying to set up a init-param in Tomcat's main web.xml file (the
one in $CATALINA_HOME/conf/web.xml) that looks similar to the following:
servlet
servlet-namemyServlet/servlet-name
servlet-classpath.to.my.Servlet/servlet-class
init-param
Your facade has to extend (Http)ServletRequestWrapper from the standard
servlet-api. According to the spec, that is the only valid way to wrap a
request. As you've seen, Tomcat enforces this restriction :).
George Baxter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
For
Jordan Michaels [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm trying to set up a init-param in Tomcat's main web.xml file (the
one in $CATALINA_HOME/conf/web.xml) that looks similar to the following:
servlet
servlet-namemyServlet/servlet-name
Stacey Jones [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi, I am a new member on tomcat mailing list.
For tomcat 5.5 - Is there a recommended value for connectionTimeout
attribute? How to decide this value?
The documentation says : The number of milliseconds this Connector
Hmm... I tried this, and it looks as though Tomcat still pre-pends the
/home/myuser/public_html/ to my XML file. My servlet throws the error:
java.io.FileNotFoundException:
/home/myuser/public_html/path/to/tomcat/conf/myservlet/myxmlfile.xml
and my file is really located at:
Hello -
I am trying to restrict the heap available to Tomcat 6. It is running on Fedora
8. I have tried to set -Xmx every way that I can think of and yet Tomcat grows
to 3 times the heap allotted. While I understand that -Xmx != total memory
commitment, 3X makes me think that I'm not getting
Thanks a lot Popo..It worked :-)
Mr Popo Sama wrote:
HI agn, to change the privilegies try doing this,
in vista: go to control panel administrative tools Services , then
look for Apache tomcat service , then go to properties (right click on the
service) Log on (tab) this account.
40 matches
Mail list logo