Biernesser, Beth ha scritto:
I'm running tomcat 5.0.25 on RHES 3.0 and when starting tomcat, I get
the following error:
Aug 16, 2006 5:00:52 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15152 ms
StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
Hi David, @list;
first off, both thanks a lot for pointing me the right way, and let me
apologize, as well, as this seems to be a question where RTFM would have
been helpful before bothering the list - however, I wasn't aware that
tomcat would need a special setup in order to run behind a proxy.
Rob Elliott wrote:
> Hello,
>
> I need to deliver a WAR file to a customer. The cutomer will ultimately
> need to change the webapp configuration however they would like to do so
> without having to compile a new WAR file. Is it possible to change
> web.xml config parameters after deployment, idea
if you user tomcat 5.5 and jdk1.5 ,so , the webapp can autoDeploy
yes or no?
On 8/16/06, Rob Elliott <[EMAIL PROTECTED]> wrote:
Hello,
I need to deliver a WAR file to a customer. The cutomer will ultimately
need to change the webapp configuration however they would like to do so
without havin
I'm running tomcat 5.0.25 on RHES 3.0 and when starting tomcat, I get
the following error:
Aug 16, 2006 5:00:52 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15152 ms
StandardServer.await: create[8005]: java.net.BindException: Cannot
assign requested address
java.net.Bind
After 350,000 http requests, tomcat stops responding and got the some
errors in mod_jk.log.
After I set LD_ASSUME_KERNEL=2.4.1, Tomcat has handled 400,000 requests so far.
Could someone confirm that setting LD_ASSUME_KERNEL=2.4.1 is the best
way to solve "Tomcat stops responding" problem?
I am
I thought it was for some reason like that and I guess more environments are
closing that option off.
-Original Message-
From: David Rees [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 6:02 PM
To: Tomcat Users List
Subject: Re: Session hijacking with Tomcat/Myfaces - unable to
On 8/16/06, Propes, Barry L <[EMAIL PROTECTED]> wrote:
From: Maurice Yarrow [mailto:[EMAIL PROTECTED]
Generally, getRemoteHost() and getRemoteAddr() return
the same value, but I had found a situation during testing
where getRemoteAddr() returned an IP address but
getRemoteHost() returned nothing
yeah, I've found that, too, although getRemoteHost theoretically should return
the machine name in many cases, but sometimes it won't.
-Original Message-
From: Maurice Yarrow [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 12, 2006 2:45 AM
To: Tomcat Users List
Subject: Re: Session hijac
there's a Windows2004? Hadn't heard of that. Did you mean 2003? Or something
newer?
-Original Message-
From: Ravindran Rabindran [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 5:29 AM
To: users@tomcat.apache.org
Subject: Running web application on Tomcat on a Windows Server - Lic
You can serialize/deseriaize your object(s) in /from an Ms SQLserver blob
field
I can email you some code off list if this is what you are looking forward
Phil
-Original Message-
From: 0 8 [mailto:[EMAIL PROTECTED]
Sent: 09 August 2006 20:14
To: Tomcat Users List
Subject: Re: Create a
Ouch! I fixed it, after David put me onto typing directly into
the browser (many thanks, David). I had "style.css" in the link reference,
and as soon as I changed that to "/style.css", it found it. And, also, now
there's
no attempt at mapping in the mod_jk log.
But I still have the question as
On Wednesday 16 August 2006 08:16, David Smith wrote:
> aladdin wrote:
>
> >On Wednesday 16 August 2006 07:42, David Smith wrote:
> >
> >
> >>aladdin wrote:
> >>
> >>
> >>
> >>>I have an apache-http tomcat configuration set up that works just
> >>>fine, with static htm's, jsp's, and servlets
I am trying to override the web.xml SecurityConstraints using the
Context addConstraint/removeConstraint methods. The context.xml
contains the following element
WEB-INF/web.xml
I tried the following to override the SecurityConstraints:
// adding the authConstraint
McRaven, Brian wrote:
> I thought it was created in a Servlet and you had to change some
> parameters in one of the .xml files like web.xml in the ROOT directory.
> Is this correct for Apache Tomcat 5.5.17?
Yes. And the index.jsp the OP wants to replace, even contains this
information:
"NOTE: Th
Right. All of the jsps shipped with tomcat are precompiled to classes.
You'll have to remove a servlet mapping in webapps/ROOT/WEB-INF/web.xml
before tomcat will offer up your custom index.jsp.
--David
McRaven, Brian wrote:
I thought it was created in a Servlet and you had to change some
p
Jon Yeargers wrote:
Hi. I have a series of tomcat based apps that all use a single .jar to
do some common admin tasks like sending mail and connecting to a DB.
The .jar file uses the Tomcat/JNDI connection pooling to save overhead
(supposedly).
In the other apps (that use the above .jar) I h
Lambda Probe is a free+easy way to get some
instrumentation
Propes, Barry L wrote:
I'm having some problems this morning with performance. How can I easily
determine if it's servlets, or Tomcat, as opposed to possibly the database
(Oracle) I'm using?
I've not had this problem before.
Barry
I thought it was created in a Servlet and you had to change some
parameters in one of the .xml files like web.xml in the ROOT directory.
Is this correct for Apache Tomcat 5.5.17?
-Original Message-
From: Lou Caudell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 3:12 PM
To: T
Hi,
I installed tomcat5 on a Debian Linux machine to test WebDAV. I can see the
files at http://server:8180/webdav but unfortunately I cannot write to it. I
tried several clients: internet explorer, gnome nautilus, konqueror.
Konqueror gives the following error: "A resource cannot be created at t
McRaven, Brian wrote:
When I start my Tomcat server and link to http://localhost/ I get the
default index.jsp that comes with Apache Tomcat Server. I want to use
my own index.jsp how do I achieve this objective?
Brian
It's under webapps/ROOT. But, rename the original one, as it is useful.
You need to use a custom pattern with the AccessLogValve
pattern='%a %U'
http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
It would be much better to use POST requests when items such as
passwords are in the URL. This way they will also no
Hi. I've noticed that request parameters are being written to the file
catalina.out (using Tomcat 4.1.31). For the most part I don't really
care, but when forms include passwords and those plaintext password gets
written into the file I do. I've never intentionally turned that
capability on.
When I start my Tomcat server and link to http://localhost/ I get the
default index.jsp that comes with Apache Tomcat Server. I want to use
my own index.jsp how do I achieve this objective?
Brian
whats wrong with separating resources for independent applications?
Leon
On 8/16/06, Jon Yeargers <[EMAIL PROTECTED]> wrote:
Hi. I have a series of tomcat based apps that all use a single .jar to
do some common admin tasks like sending mail and connecting to a DB. The
.jar file uses the Tomcat/J
Elias Chavarria wrote:
> -DproxySet=true
> -DproxyPort=80
>
> However, when i start my application, it sends errors. Is there any way to
> verify that this settings are being used?
Drop that as a JSP into some webapp-dir on your tomcat:
-snip-
<%@ page language="java" contentType
Hi. I have a series of tomcat based apps that all use a single .jar to
do some common admin tasks like sending mail and connecting to a DB. The
.jar file uses the Tomcat/JNDI connection pooling to save overhead
(supposedly).
In the other apps (that use the above .jar) I have both servlets and
The connector receiving request from Apache needs at least the first
attribute added to it:
proxyName="domain.name.com": the domain name of the Apache httpd server
acting as a front end to Tomcat
proxyPort="80": the port number of the Apache httpd server
There is a sample of this in the serve
Hi!,
I am using Tomcat 5.0 in Windows XP pro. The application i am using uses Ant in
order to start tomcat with the following env keys:
However, it always opens a new command window showing the info about tomcat
starting up. I am interested in not having this window shown.
I used the Tomcat M
I found this provider to be a good starting point
http://www.bouncycastle.org/latest_releases.html
There are multiple classes available for Message Digest 5
http://www.bouncycastle.org/docs/docs1.5/index.html
one of which is Message Digest 5 with Data Encryption Standard
see
JCEBlockCipher.PBEWit
Hi all;
I do have a web environment running inside my LAN in a tomcat container,
forcing users through HTTP Basic authentication. For now and locally,
this uses to work well - the browser is prompting the user with a HTTP
login window, and everything is fine.
Right now, I need to expose this ser
Nicolas Schwartz wrote:
>
> It occurs on GET requests, maybe on POST ones but we don't know.
> The value of the parameter is not long, neither is the value.
> It appears to occur "randomly"
>
Exact same thing in our case. We have seen it in GET requests, not entirely
sure about POSTs. We use s
Updated the bug.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40257
Please take action as needed.
-Venky
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 4:42 AM
To: Tomcat Users List
Subject: Re: Tomcat upgrade from 5.0.28 to 5.5.17,
Changing to
Controller
/Controller
Will fix the "/ecommerce/ecommerce" problem.
Probably what you are really trying to do is make your webapp the "ROOT"
webapp. For that you need to rename your webapp directory to ROOT and change
your context definition. If you search the post
Martin, thanks for replying.
I agree with what you are saying, but my point is that should work from any subdirectory
/Foo or /Foo/Moo or /Foo/Moo/TooFoo because the isVirtualWebappRelative
parameter is set to true. Which means the "virtual" path should be interpreted
as relative to the context
Hello,
I need to deliver a WAR file to a customer. The cutomer will ultimately
need to change the webapp configuration however they would like to do so
without having to compile a new WAR file. Is it possible to change
web.xml config parameters after deployment, ideally using a GUI?
Thanks,
Rob.
rache wrote:
Parameter values are set in the jsp either as hardcoded
links(http://j.jsp?param=value) or as hidden parameters. When the program
enters the doGet() or doPost() method of a servlet and check for the
parameter, its null.
String pvalue = req.getParameter("param");
This happens interm
Thanks everyone! Its working !
Best Regards,
Atul Govande
818 717 5621
NOTE: Please note that Delta Tau no longer allows the sending or receiving
of attachments with the extension .ZIP or .EXE. Please rename all .ZIP
attachments to .ZZZ. Please zip all .EXE attachments and then rename them to
.ZZZ
Sounds like you set a Context up with the Tomcat directory as the base
appDir, so it's trying to publish the lot.
Check your Server.xml
Pid
Raju Balugu wrote:
Hi all,
I installed the image(my project)with all the class files(work is having
the
class files)by doing the precompilation.After
Rob Elliott wrote:
> The servlet will simply launch a Timer Task that will periodically obtain a
> list of files under /foo/bar, examine their timestamps and delete the file
> if its shelflife has expired. There is no requirement to expose anything...
I don't see a reason why your timer task shoul
Thanks for your response.
The servlet will simply launch a Timer Task that will periodically obtain a
list of files under /foo/bar, examine their timestamps and delete the file if
its shelflife has expired. There is no requirement to expose anything...
Thanks,
Rob.
-Original Message-
F
Hi all,
I installed the image(my project)with all the class files(work is having the
class files)by doing the precompilation.After installation , I tried to
launch webpages ...it's throwing the Filenotfound exception.
So I analyzed the problem and deleted the work directory under tomcat and
stop
Thanks Filip for that link(i hadnt found any material even after doing a lot of
googling). Upgrading to Tomcat-5 seems to be the right thing to do.
Thanks a lot.
regards,
-Jaikiran
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
clustering in 4.x was only experimental, and probably
Rob Elliott wrote:
> Is it possible to obtain access to an arbitrary directory (possibly
> mounted file) which is not below the Tomcat webapps directory from
> within a webapp? GetServletContext.getRealpath("") seems to only access
> directories below the webapp app directory...
What exactly do yo
clustering in 4.x was only experimental, and probably has a load of bugs
http://people.apache.org/~fhanik/index.html.old
Filip
jaikiran pai wrote:
Hi,
Can someone point me to a step by step setup process for Clustering
Tomcat4.x? The Tomcat documentations that i saw, only talk about Tomcat5
Hello,
Is it possible to obtain access to an arbitrary directory (possibly
mounted file) which is not below the Tomcat webapps directory from
within a webapp? GetServletContext.getRealpath("") seems to only access
directories below the webapp app directory...
Thanks in advance...
Rob.
Informat
Before asking about an optimized multithreaded e-mail application on a
mailinglist for a webserver you should make it clear what you are doing. Maybe
the non-optimized singlethreaded e-mail loop is fast enough for you. It wil
save you a lot of time debugging.
How much e-mail are you sending? 1
aladdin wrote:
On Wednesday 16 August 2006 07:42, David Smith wrote:
aladdin wrote:
I have an apache-http tomcat configuration set up that works just
fine, with static htm's, jsp's, and servlets, except for one thing. It
finds all my .htm static content, and, when serving that, uses
aladdin wrote:
> Thanks! I'll check out those logs as soon as I get into work, Meantime,
> what do you mean by "attempt to access them directly"?
Type the url of an css file directly into your browser and see what
the response is. Something like: http://www.apache.org/style/style.css
Mark
On Wednesday 16 August 2006 07:42, David Smith wrote:
> aladdin wrote:
>
> >I have an apache-http tomcat configuration set up that works just
> >fine, with static htm's, jsp's, and servlets, except for one thing. It
> >finds all my .htm static content, and, when serving that, uses the
> >referenc
Hi,
Can someone point me to a step by step setup process for Clustering
Tomcat4.x? The Tomcat documentations that i saw, only talk about Tomcat5.x
clustering configurations
Thank you.
regards,
-Jaikiran
-
Here's a new way t
aladdin wrote:
I have an apache-http tomcat configuration set up that works just
fine, with static htm's, jsp's, and servlets, except for one thing. It
finds all my .htm static content, and, when serving that, uses the
referenced .css style sheets. However, when it goes to tomcat and
serves .j
Venkatesh Jayaraman (jvenky) wrote:
> Let me answer my own posting here.
>
>
>
> Tomcat 5.5.17 changed code with respect to deploy command. But
> documentation did not reflect it.
>
>
>
> Deploy works if the url specified
>
>
>
> a. With jar prefix removed
>
> b. default path added a
There is no way built in to tomcat to obfuscate the password on a JNDI
resource. It's been discussed here on the list and the general
concensus is to secure the server.xml file from prying eyes using file
permissions and general server configuration.
--David
Darren wrote:
I tried adding dig
Straight from TOMCAT doc
a.. Shared - This class loader is the place to put classes and resources that
you wish to share across ALL web applications
Doc available at
http://tomcat.apache.org/tomcat-5.5-doc/printer/class-loader-howto.html
Martin --
*
I tried adding digest="MD5" as you advised, but it's not being used.
If the password is left in cleartext (with digest="MD5") the
connection works fine, but if the MD5 version of the password is used
it fails to connect to the database.
On 16 Aug 2006, at 10:31, Yassine ELassad (YEL) wrote
Good Morning Ross-
If your path does not begin with a slash (/) then it is taken to be *relative
to the current document*
--Include head.html (head.html current
location loads correctly)
--Include in Foo.html (Foo.html loads
current location)
from Foo folder note the absence of "/" in the fi
MMM, I've just probed to access
http://192.168.1.2:8080/ecommerce/ecommerce/Controller and I've accessed to
the servlet. What must I change to access as
http://192.168.1.2/ecommerce/Controller?
jeusdi wrote:
>
> So, the problem surges out form tomcat because I can't access it.
>
> If I try a
So, the problem surges out form tomcat because I can't access it.
If I try access throught 192.168.1.2/ecommerce/Controller the message is the
same, so it comes form Tomcat.
I've seen jk log messages and i works correctly.
So, What's wrong is tomcat?
Yassine ELassad (YEL) wrote:
>
> hi
>
>
hi
try to access the context directly via port 8080, so you know it's a
mod_jk related issue
if you can access
http://yourHostMachine:8080/ecommerce/Controller
so the problem is coming from your JK configuration otherwise it from tomcat
Greeting Yassine
Cologne, Germany
On 8/16/06, jeusdi
Mmm, I've changed httpd.conf file and web.xml file to this -->
In httpd.conf I've added JkMount /ecommerce/Controller treb
and in web.xml file I've changed mapping -->
Controller
/ecommerce/Controller
And the result is The requested resource (/ecommerce/Controller) is not
av
HI Darren,
I guess you need this : digest="MD5" in your realm definition so it
would look like follow:
Greetings, Yassine
Cologne,Germany
On 8/16/06, Darren <[EMAIL PROTECTED]> wrote:
Hi,
I have a JDBC resource configured with tomcat 5.0 (in server.xml) and
it is working fine.
I would
Hi jeusdi,
in your Apache configuration you juts Jkmount JSP files that are
inside your Application as the statement say:
JkMount /ecommerce/*.jsp treb
and you are trying to get this :
/ecommerce/servlets/ControllerServlet
which does not match the directive above either you need to change
th
Hello,
I'm muddling up with Servlets configuration, Context configuration,
VirtualHost configuration, and more...
My problem is that I have 2 domains --> ecommerce.gmsoft.com and
www.gmsoft.com and both are web applications. The first problem is that I
don't know how configure Apache (http.
Hi Richard,
Like to thank for the feedback. Yes, I realized that it's quite challenging.
Hm, ok.. if I may do so... what kind of technology stacks (API) that I need
to ?
Feris
On 8/16/06, Richard Mixon <[EMAIL PROTECTED]> wrote:
If you are wanting to send email, you probably are interested in
Hi,
I have a JDBC resource configured with tomcat 5.0 (in server.xml) and
it is working fine.
type="javax.sql.DataSource" maxActive="10" maxIdle="15"
maxWait="1" removeAbandoned="true" removeAbandonedTimeout="300"
logAbandoned="true" driverClassName="com.mysql.jdbc.Driver"
username=
Hi,
We are facing the same problem.
Sometimes the parameters don't get to tomcat.
We've seen this by monitoring our plateform through a servlet simply returning
the value of a parameter.
We are also using apache+tomcat
apache-2.0.54
jakarta-tomcat-5.5.9
It occurs on GET requests, maybe on POS
(i can't see a previous thread for this, new mail setup, so apologies if
I'm restating.)
Are you using GET or POST?
And how many parameters are you submitting?
And are there any particularly long bits of data in the parameters?
lmelendez wrote:
Hi Rache,
Well, we are seeing the problem. Ou
68 matches
Mail list logo