And as we recently mentioned the incompleteness of the current HTTP
specification - at least in matters charsets - it may be worth
remembering that it was 20 years ago, in March 1989, that a then
little-known computer guy at CERN named Tim Berners-Lee wrote the paper
Information Management: A
David Smith wrote:
Try java:/comp instead. If that doesn't help, then we'll need more info:
- OS:
- where you got tomcat from (tomcat.apache.org or third party repackage)
- Details of your setup like what's in tomcat's common/lib folder?
- Config (relevant parts of server.xml, the webapp's
Hi,
I've an applet, that should run out of an apache-tomcat-6.0.18 and that
should be seen with Internet Explorer 7.0 and with FireFox 3.
The applet does work in a plain HTML-Page with IE and with FF.
HTML
HEAD
TITLEApplet Test/TITLE
/HEAD
BODY
applet code=Applet.class
Hi
Declared in webapps/ PERL_TOOLS_SITE / WEB-INF/web.xml
for CGI Perl execution as given below,
servlet
servlet-namecgi/servlet-name
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
Hi,
servlet
servlet-namecgi/servlet-name (3-)
servlet-classorg.apache.catalina.servlets.CGIServlet/servlet-class
(4-)
/servlet
servlet-mapping
servlet-namecgi/servlet-name(2-)
url-pattern/cgi-bin/*/url-pattern (1-)
/servlet-mapping
The
Thanks
Rajat
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message.
This is not a Tomcat-related question but a question relating to
Servlets in general.
http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017571
Rgds
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key
André,
On Wed, Mar 18, 2009 at 7:37 PM, André Warnier a...@ice-sa.com wrote:
Nope, just that after people keep throwing mysterious acronyms at me, and
several of them start to use the same ones, I get curious.
Since I believe one of those people was me, I hope throwing stuff at
you didn't
Hi,
We are experiencing issues with AJP-communication between the httpd
and Tomcat 6. This is communication between httpd and tomcat on
localhost.
Most of the requests work great in our performance tests but quite
randomly we see this error in httpd error.log:
...
[Wed Mar 18 21:47:09 2009]
You may also want to try asking on the Tiles User list:
us...@tiles.apache.org
On Mar 19, 2009, at 7:54 AM, Gregor Schneider wrote:
This is not a Tomcat-related question but a question relating to
Servlets in general.
http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017571
Rgds
Hi all,
I m creating the connector object using certain port and SSL cert, But i had
a problem relating connector to particular alias in the keystore.
As i checked in the tomcat 6.0 APIs there is no setKeyAlias() or setAlias()
method.
Please suggest if any body has any idea?
thank you,
Bhuvan P
I'm having difficulty with failover testing. When a tomcat server goes
away due to networking issues, the site become effectively unusable.
Here's the architecture:
= apache1tomcat1
LB FW
= apache2tomcat2
If I stop the tomcat server tomcat2, there's no problem.
(I've searched through the archive back to November 2008 but it seems
like this question hasn't been asked, so I take the risk to ask it :) )
My short question is: How to make Tomcat serve HTTP to one more port
(in Windows Server 2003)?
Tomcat listens to 8080 (or 80) for HTTP.
From: Je suis la poubelle [mailto:laps...@gmail.com]
Subject: How to make Tomcat serve/listen to one more port?
Is it possible o make it listen to one more port,
eg 12345, to serve HTTP?
Just configure another connector for whatever ports you want.
it's suppose to serve a totally
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: JNDI: Name java:comp is not bound in this Context
So I rather think, that Tomcat fills JNDI information
after webapp deployment.
Not really after, just during. I'm still looking through the code, but the
logger for the webapp is
Hi,
I want to make a alias of my domain in tomact through the Apache, can
any guys provide the process to make alias in Apache
Thanx
--
View this message in context:
http://www.nabble.com/How-I-can-make-a-setup-for-Apache-Tomcat-communication-tp22600376p22600376.html
Sent from the
Caldarale, Charles R wrote:
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: JNDI: Name java:comp is not bound in this Context
So I rather think, that Tomcat fills JNDI information
after webapp deployment.
Not really after, just during. I'm still looking through the code,
singh.rakesh47 wrote:
Hi,
I want to make a alias of my domain in tomact through the Apache, can
any guys provide the process to make alias in Apache
Sit down, have a beer (or a coffee), rephrase your question in terms
such that every one can understand what you want;
You may want to
Hi,
I changed tomcat web.xml and copied the proxy.cgi python script from the OL
example directory to the /webapps//cgi-bin/ directory (I'm using Vista,
Tomcat5.5 and Geoserver). When I type the url
http://localhost:8080/cgi-bin/proxy.cgi in IE it lists openlayers proxy
instead of openlayers
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Subject: Re: JNDI: Name java:comp is not bound in this Context
If I'm not wrong, log4j initialization should take place during
initialization of static 'log' field.
That may be true, but there's no guarantee that your classes will be loaded in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dinesh,
On 3/19/2009 12:20 AM, Dinesh Gupta wrote:
In my application, using tiles
at the run time from the database we pick the the jsp file.
But some times exception occurred.So that if any include page got exception I
want to go to the error
Caldarale, Charles R wrote:
That may be true, but there's no guarantee that your classes will be loaded in
any specific order, nor that resources will be registered prior to
classloading; the spec only indicates the resources will be available prior to
any calls to the initialization methods
Hi,
I have a URI that points to a relative location: URI myUri = new
URI(resources/myFile.xml);
When I deply my application to Tomcat the location is relative to
tomcat/bin. so it would be tomcat/bin/resource/myFile.xml.
I was hoping for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
As Chuck points out, I really meant to encode using UTF-8. The result is
always an US-ASCII string, as per the java.net.URLEncode documentation
(really the URL Spec).
On 3/18/2009 6:51 PM, André Warnier wrote:
If the string contained any
From: Agent96 [mailto:matt.nel...@metadatatechnology.com]
Subject: URI resolving to tomcat/bin
[TOMCAT_HOME]/Webapps/myWebApp/classes/resources/myFile.xml
Classes are normally stored in myWebApp/WEB-INF/classes, but the above is
acceptable, just unusual (assuming you fix the spelling of
To all,
I am writing a webapp which runs under tomcat 6.0.18 and I am new to
java. My webapp is configured to load on startup and in the init
method/function I want to get the list of IP addresses and ports that
can be used to connect to my web-app. I cannot use the
HttpServletRequest or
Leonard Smith wrote:
Is there a way from my web-app, to get a list of IP addresses and
ports that tomcat is listening on? Other java programmers I know
mentioned using JMX, etc but that assumes I know the JMX port, which
could change.
You will use JMX beans in the same JVM, so you do not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mikolaj,
On 3/19/2009 11:04 AM, Mikolaj Rydzewski wrote:
Caldarale, Charles R wrote:
That may be true, but there's no guarantee that your classes will be
loaded in any specific order, nor that resources will be registered
prior to classloading;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Herbert,
On 3/19/2009 5:22 AM, herbert wrote:
I've an applet, that should run out of an apache-tomcat-6.0.18 and that
should be seen with Internet Explorer 7.0 and with FireFox 3.
The applet does work in a plain HTML-Page with IE and with FF.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Agent96,
On 3/19/2009 11:17 AM, Caldarale, Charles R wrote:
ServletContext.getResourceAsStream(/classes/resources/myFile.xml);
I think Chuck meant:
ServletContext.getResourceAsStream(/WEB-INF/classes/resources/myFile.xml);
- -chris
-BEGIN PGP
Caldarale, Charles R wrote:
From: Carol Cheung [mailto:cache...@consumercontact.com]
Subject: tomcat database connection pool
In tomcat 5.5, the database connection pool associated with
my application does not seem to shutdown when I undeploy
the application.
You don't say if the
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: URI resolving to tomcat/bin
ServletContext.getResourceAsStream(/classes/resources/myFile.xml);
I think Chuck meant:
ServletContext.getResourceAsStream(/WEB-INF/classes/resources
/myFile.xml);
No, Chuck
From: herbert [mailto:i...@gmx.de]
Subject: Applets with IE - difference between Tomcat and plain HTML?
If I open the page http://localhost:8080/ with my
IE-7-Browser, the applet won't be rendered.
IE8 was officially released about 20 minutes ago; you might want try the test
with that.
Thanks...I just came to the same conclusion too.
URI uri = MyClass.class.getResource(/resources/xsd/Message.xsd).toURI()
which resolves to myWebApp/WEB-INF/classes/resources/xsd/Message.xsd
Matt
Caldarale, Charles R wrote:
From: Agent96 [mailto:matt.nel...@metadatatechnology.com]
Leonard Smith wrote:
To all,
I am writing a webapp which runs under tomcat 6.0.18 and I am new to
java. My webapp is configured to load on startup and in the init
method/function I want to get the list of IP addresses and ports that
can be used to connect to my web-app. I cannot use the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/19/2009 12:15 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: URI resolving to tomcat/bin
ServletContext.getResourceAsStream(/classes/resources/myFile.xml);
I think Chuck
Hi,
I am using tomcat5 on gentoo OS and Sun JDK 1.5.0.12, i dont see any request
coming to access log.
Host name=testa.example.comappBase=webapps/foldera
unpackWARs=true autoDeploy=true
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com]
Host name=testa.example.com
[...]
Host name=testb.example.com
[...]
So are you testing these by browsing to http://testa.example.com, and have you
mapped that in your DNS or hosts file to be your Tomcat server? If not, these
won't
Thanks for your reply.
I'm still struggling to understand the syntax of configuring another
connector. wondering if copy-n-paste the connector section in server.xml
and change the port value is enough too much things to read need
some filter to filter out unnecessary thing
From: Je suis la poubelle [mailto:laps...@gmail.com]
Subject: Re: How to make Tomcat serve/listen to one more port?
wondering if copy-n-paste the connector section
in server.xml and change the port value is enough
That's usually all that's needed for the Connector portion.
Did you
On Thu, Mar 19, 2009 at 10:32 PM, Peter Crowther
peter.crowt...@melandra.com wrote:
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com]
Host name=testa.example.com
[...]
Host name=testb.example.com
[...]
So are you testing these by browsing to http://testa.example.com, and have
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Subject: RE: How to make Tomcat serve/listen to one more port?
Correct; the Host element is equivalent to a web site, the
Connectors just feed the Hosts, based on the name and Alias.
Note that you don't really need multiple
On Thu, Mar 19, 2009 at 10:53 PM, Kaushal Shriyan
kaushalshri...@gmail.comwrote:
On Thu, Mar 19, 2009 at 10:32 PM, Peter Crowther
peter.crowt...@melandra.com wrote:
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com]
Host name=testa.example.com
[...]
Host name=testb.example.com
In my conf/server.xml, I have an executor and two connectors set up something
like this:
Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=200
minSpareThreads=50/
Connector port=8686 protocol=HTTP/1.1 connectionTimeout=2
maxThreads=250 executor=tomcatThreadPool
Hello All
I am having trouble with my Tomcat cluster that I hope you can help with.
First my setup:
Apache Load Balancer: Windows Server 2003 - Apache 2.2.11 - 192.168.1.100
Tomcat Server 1: Windows Server 2003 - Tomcat 6.0.18 - 192.168.1.110
Tomcat Server 2: Windows Server 2003
On 19.03.2009 14:02, Jeff Fulmer wrote:
I'm having difficulty with failover testing. When a tomcat server goes
away due to networking issues, the site become effectively unusable.
Here's the architecture:
= apache1tomcat1
LB FW
= apache2tomcat2
If I stop
From: Matt Brown [mailto:matt.br...@citrixonline.com]
Subject: Question on Executor and maxThreads reported by Manager
When I check the server info in Tomcat Manager, the max
thread count for each connector is reported as 250 (the value
of maxThreads in each Connector element, which I
Christopher Schultz wrote:
Since you have written your own appender, maybe you could change it to
fail gracefully (say, log messages to the console) when the JNDI
DataSource is not available, retain a copy of a certain number of log
messages (say, 100), and then write them all to the DataSource
Thanks Charles.
I was using the Manager to confirm if my settings for the thread pool
(particularily minSpareThreads) were working right - I'll have to confirm with
jconsole.
We have a monitoring app that pings /manager/status?XML=true to get mem usage,
thread activity/count/stats, etc., so
From: meamit221 [mailto:amit.n...@aceicon.com]
Subject: RE: Load server.xml without restarting Tomcat 5.5.26 Server
However, can you assist me with some hints that can help me
to do so (with Tomcat APIs)?
Since you're running 5.5, you can use the admin webapp to dynamically add
Host
From: Matt Brown [mailto:matt.br...@citrixonline.com]
Subject: RE: Question on Executor and maxThreads reported by Manager
We have a monitoring app that pings /manager/status?XML=true
to get mem usage, thread activity/count/stats, etc., so it
sounds like our stats for max threads might
Are you maintaining session stickyness?
Did you configure Tomcat to replicate the sessions?
-Original Message-
From: Alston, Brian (US SSA) [mailto:brian.als...@baesystems.com]
Sent: Thursday, March 19, 2009 1:40 PM
To: users@tomcat.apache.org
Subject: Need Help With Clustered Tomcat
Yes I am.
The frustrating thing is I have 2 Tomcat servers and 2 Apache load
balancers. One load balancer is Linux and one load balancer is Windows Server
2003 (I never have them both on at the same time). I can turn off my Windows
load balancer, turn on my Linux load balancer, and
On 19.03.2009 14:02, Jeff Fulmer wrote:
If I stop the tomcat server tomcat2, there's no problem. It properly
closes the sockets and mod_jk/apache/linux knows the server went away.
But if I shutdown the network on tomcat2 (or yank the cable), mod_jk
continues to send packets to it. My socket
Dear all,
I installed Tomcat 6.0.16, service is running but the catalina log shows:
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
From: Tuan Quan [mailto:tuan_q...@yahoo.com]
Subject: APR based Tomcat Native library
C:\Program Files (x86)\Dell\SysMgt\oma\bin
Looks like you're running on a 64-bit version of Windows; are you using a
64-bit JVM? The .dll mode must match that of the JVM you're using. You can
find the
Hi all
I'm new in Tomcat and java, I installed already Tomcat 6.0 for windows 2000,
I have to mysql server and the connector/j for work together mysql and
Tomcat.
I declare a variable for connector mysql/j in panel
control/system/advance(enviroment variable) , this variable have the mysql
Maybe I'm missing something but from the little knowledge I have, I'd
think an HTML form is posted encoded in the form enclosing HTML
document charset specified in the sent Server headers. So that you
settle a page encoded in iso-8859-2, you wouldn't expect a form
present in that page to post
http://lmgtfy.com/?q=tomcat+mysql+tutorial
E.g.,
http://www.roseindia.net/mysql/mysqldatabase.shtml
Tomas Rodriguez wrote:
Hi all
I'm new in Tomcat and java, I installed already Tomcat 6.0 for windows
2000, I have to mysql server and the connector/j for work together mysql
and Tomcat.
I
Hi,
I'm trying to implement a session listener so that I can check the
status of a session. Essentially, I need to maintain a Map of all the
sessions. I would add sessions to this map based on business logic.
The problem I have is that the behavior of the listeners is different
when clustering
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joseph,
On 3/19/2009 7:49 PM, Joseph Millet wrote:
Maybe I'm missing something but from the little knowledge I have, I'd
think an HTML form is posted encoded in the form enclosing HTML
document charset specified in the sent Server headers.
It
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
On 3/19/2009 1:37 PM, Matt Brown wrote:
compression=on compressableMimeType=...,
image/png,image/jpeg,image/gif
Are you sure you want to waste your CPU time compressing files that are
already compressed?
- -chris
-BEGIN PGP
Hey all,
I'm searching for a way to make a proxy server to:
- receive a request from a web-browser.
- allows me to grab the URL and build a web page.
- then forward the request to the destination.
- and then allows me to store and access the response when the
destination
63 matches
Mail list logo