Hi,
take a look at the following JSP-page:
<[EMAIL PROTECTED] contentType="text/plain"%>
<%
out.println("this should appear immediatly");
out.flush();
Thread.sleep(3000);
out.println("this should appear after 3 seconds");
%>
If i load the page wi
2006/3/7, Long <[EMAIL PROTECTED]>:
> Buddy wu wrote:
> I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL
> I mean: when I write in browser's 'http://localhost/test.html'
> equals to 'http://localhost/TEST.htm'. Can I do it ? or just in
> WINDOWS can but Linux/unix
amit srivastava wrote:
> can any tell me the easy way to deploy an enterprise application written in
> j2ee technology on tomcat sever.
Ant build can create a .war file (see ant dist) then all you have
to do is drop the war file in the webapps directory and your
app is deployed.
In my case, I won
Buddy wu wrote:
I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL
I mean: when I write in browser's 'http://localhost/test.html'
equals to 'http://localhost/TEST.htm'. Can I do it ? or just in
WINDOWS can but Linux/unix can't?
Right, url is case-insensitive under
can any tell me the easy way to deploy an enterprise application written in
j2ee technology on tomcat sever.
On 3/7/06, Long <[EMAIL PROTECTED]> wrote:
>
> Hi Boris,
>
> I agree the answer is very application specific. In my situation I
> plan to support a struts-based Websphere application with
I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL
I mean: when I write in browser's 'http://localhost/test.html'
equals to 'http://localhost/TEST.htm'. Can I do it ? or just in
WINDOWS can but Linux/unix can't?
thanks
-
Hi Boris,
I agree the answer is very application specific. In my situation I
plan to support a struts-based Websphere application with data store
using an Oracle database.
Ideally the development environment should be as close to production
as possible, but this may not be possible.
My dev. env.
Thanks for replying. I described a little inaccurate. The content is
dynamic, there is a parameter in that could include
different file. However the number of these files are about 50, I want
to know does TOMCAT has the caching mechanism to cache them first.
Thx, Xuekun
-
Greetings,
I'm trying to add a new entry onto the shared.loader property in the
file catalina.properties, one which is based on a java property "e.g.
-Datmos2.home=":
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,${atmos2.home}/devices/*.jar
... with little
Hi. When I compiled some classes using the ant task ReloadTask from the
sample build.xml, it doesn't reload
the new compiled classes in tomcat. The only way that I found it does that
is when I remove and reinstall the app.
Do I have to wait for that behaviour, or am I doing something wrong.
Ken Gibson wrote:
> Thanks for the quick response. Is there a way to configure the
> cgi-servlet that I've missed? The PATH_INFO variable is null in my
> scenario; I've split it out from the other parameters below...
I have just added REQUEST_URI to svn. I have also ported a couple of
patches from
Hello Thomas,
thank you for your informations! I will order ASA developer edition
and learn new database;-) Now, I'm looking for a database which
provides internationalization features; specially ORDER BY [(var)char
| text] column and I have no success:
ASE and localization -- it's a workaround.
P
On 6 Mar 2006 at 21:37, Mark Whitby wrote:
> Dear all,
>
> Apologies if this isn't really relevant but I'm struggling for what to
> do! I have a table in a MySQL database with a DATE column in the
> format -mm-dd (incidentally does anyone know how to change this?)
> and I'm trying to do a dat
We had issues using jconsole remotely a while back (jdk 1.5.0_02) that we
were never able to solve. If memory serves, jconsole opens a connection on
the specified port to that Java instance. An additional port or two (I
can't remember) are then opened and the ports that are used are somewhat
rand
Hello Mikolaj,
I have set up the JMX server of JDK 1.5.0_06/Tomcat 5.5.15. It works
fine locally, I'm testing with "jconsole".
However, if I tunnel the JMX port over SSH, it does not work. I can
connect to the port, but there is no flow of data. "jconsole" is
hanging around for a minute, and
Thanks for the quick response. Is there a way to configure the
cgi-servlet that I've missed? The PATH_INFO variable is null in my
scenario; I've split it out from the other parameters below...
runCGI(envp=[{HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.7.12) Gecko/20050915 F
> -Original Message-
> From: michael thomas [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 06, 2006 4:42 PM
> To: Tomcat Users List
> Subject: TomcatUsers: Re: mod_jk errors - are these normal?
>
> --- Sven K�hler <[EMAIL PROTECTED]> wrote:
>
> > > [Wed Mar 01 20:00:42 2006] [error
--- Sven K�hler <[EMAIL PROTECTED]> wrote:
> > [Wed Mar 01 20:00:42 2006] [error]
> > ajp_connection_tcp_get_message::jk_ajp_common.c
> (961):
> > Can't receive the response message from tomcat,
> > network problems or tomcat is down
> (10.0.0.9:8009),
> > err=-113
> > [Wed Mar 01 20:00:42 20
Dear all,
Apologies if this isn't really relevant but I'm struggling for what to do! I
have a table in a MySQL database with a DATE column in the format -mm-dd
(incidentally does anyone know how to change this?) and I'm trying to do a date
entry and comparison using a Java Servlet. Howeve
Hello,
Long wrote:
Has anyone develop in Tomcat and deploy to Websphere?
No, but similar, we are developing in WSAD and have our production
environment in
a) Apache http -> Tomcat -> WebSphere z/OS
b) Apache http -> Tomcat -> WebSphere AIX
c) Apache http -> WebSphere Solaris
It depends on t
Has anyone develop in Tomcat and deploy to Websphere?
It should be possible but how practical is it?
Are there any available resources I can use as a reference?
Thanks for any info,
Long
-
To unsubscribe, e-mail: [EMAIL PROTEC
I am wanting to be able to remotely start and stop a web app configured on
TomCat 5.5.
The web app is not deployed within the TomCat directory structure. There are
several web apps configured and running but none of them show up in the TomCat
manager interface.
I have read the documentation
B Wu <[EMAIL PROTECTED]> wrote:Hi there,
I installed Tomcat 5.0 with JRE 5.0. When I launch http://localhost:8080, it
is fine. But when I click JSP Examples on that page, it returns HTTP Status
404 error, the request resource is not available. If I create a directory
under webapps
Hi, I'm running Tomcat 5.5 on Fedora Core 4, with JDK 1.5
My problem is this:
I have a web service that depends on some libraries. These libraries are
placed in $CATALINA_HOME/shared/lib since I plan to have other web
services which will also require these libraries.
Now the problem is that one
Ken Gibson wrote:
> However, the environment does not seem to contain the URL of the
> original request (i.e., REQUEST_URI or PATH_INFO), as below:
Looking at the 4.1.31 source, PATH_INFO should be there but
REQUEST_URI is never set.
Mark
Mikolaj,
Thanks a lot for the code. I had to run through the ant code manually
because I downloaded the latest Tomcat 5.5.16, and merged the 1.4.2
compatibility patch. I was unable to get the exe to work, so I wrote a
.bat based on your .sh (which I will soon make more generic). How did
you create
What are the differences between Tomcat Manager and TomcatProbe?
Thanks!
ND
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 06, 2006 7:51 AM
To: users@tomcat.apache.org
Subject: TomcatProbe 1.1 released
Hello guys,
I thought that you might be i
Hi,
I have been trying to test Clustering with Tomcat5 and installed rpms from
jpackage.org and using these rpms:
tomcat5-servlet-2.4-api-5.0.30-11jpp, tomcat5-5.0.30-11jpp,
tomcat5-jasper-5.0.30-11jpp
I have been trying to use an example from OReilly site and I have three VMWARE
(virtual machine
How about packaging the config.xml file within the jar file and import
it to your application via resource stream? See
Class.getResourceAsStream() or ClassLoader.getResourceAsStream() for
more details.
The limitation of this approach is that the configuration parameters
have to be predefined prior
> -Original Message-
> From: Mladen Turk [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 06, 2006 12:33 PM
> To: Tomcat Users List
> Subject: Re: Problem with mod_jk/apache 1.3.34 Windows
>
> Justin Greene wrote:
> > "Do not use cachesize with values higher then 1 on Apache
> 2.x pre
Justin Greene wrote:
Windows 2003 server Sp2 (multiple servers, happens on all of them at
different times)
Java JDK 1.5.0_06
Tomcat 5.5.8
mod_jk 1.2.15
Apache 1.3.34/Mod_SSL
"Do not use cachesize with values higher then 1 on Apache 2.x prefork or
Apache 1.3.x!"
I believe that this only applie
>> Daniel Blumenthal <[EMAIL PROTECTED]> wrote:
>> As a security concern, you might not want to allow full UTF-8 usernames.
>> There are a number of invisible characters (from the soft hyphen to various
>> connector characters) which people can use to spoof other users' names.
On Sun, Mar 05, 20
We have been trying to troubleshoot an issue with our production environment
in which our website become completely unresponsive. First our environment:
Windows 2003 server Sp2 (multiple servers, happens on all of them at
different times)
Java JDK 1.5.0_06
Tomcat 5.5.8
mod_jk 1.2.15
Apache 1.3.34
Hi Nagendra -
This won't work - two hosts means two hosts, so they have to have
different names (this is virtual hosting).
If what you want to do is set up two different Contexts (Context is a
webapp) under the same host, but you don't want to put the two contexts
as subfolders of the same d
Good morning.
I'm working with Tomcat 4.1.31 and am trying to catch 500 errors for
custom error pages. We host around 400 portals in one instance (kudos to
the developers, by the way, it runs great!)
The idea is that the Perl script would create a site on the fly with
little content in the
Hi,
I am busy with installing the manager and admin application on my production
server (thats running fine). The admin and manager applications works but I
cant login. I checked the error logs and i find the error
Mar 6, 2006 5:39:56 PM org.apache.catalina.realm.JAASRealm authenticate
SEVERE: Un
Hi Petr,
Thanks for your feedback. It still does not work for me, no matter where
I put the damn JAR file. So I will use my own pooling class directly in
my webapp based on Apaches DBCP which is part of Jakarta Commons. It is
probably faster then fiddeling with this bloody driver configuaratio
Hi I am using tomcat for running two applications at different locations
First application app1 is under /opt/myweb/www/webapps and second
application is under /opt/nagendra/www/webapps
I am wondering whether the following conf will work ..
I am very new to this so please help me here if some th
If you use <[EMAIL PROTECTED], the included file will be compiled along with
the rest of the JSP code, so it will only be read once rather than
every time the page is accessed.
--
Len
On 3/6/06, Mike Sabroff <[EMAIL PROTECTED]> wrote:
> You should use
> <%@ include file="other.jsp" %> instead of
Don't set it (defaults to 1 for all.) That will treat all workers equally,
regardless of the resources available on each worker's machine.
See http://tomcat.apache.org/connectors-doc/config/workers.html for complete
details.
lbfactor (1)
Integer number used when the worker will be used inside
Hello,
We recently upgraded from tomcat 4.1.24 to tomcat 5.0.28.I am running a
small application on the server and am running a small load test on it.
The application seems to run all right on tomcat 4.1.24 but fails on tomcat
5.0.28.The service breaks after a while when only 3 users are hitting
Hi
I have developed a Java application which offers certain services to
Cisco IP phones. I've written it as a standalone java application to
separate processing logic and presentation. So basically I have a set of
classes, and two jsp frontend files that do very basic things. Since the
application
You should use
<%@ include file="other.jsp" %> instead of
The jsp:include is for dynamic content that changes a lot,
the @ include file is for static content and will get you closer to
where you want to be.
as far as cacheing goes, I am not knowledgeable enough to answer that
question reliably.
sol myr wrote:
I was wondering, is there a nicer way to do it ?
Use Filter to change request's encoding.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
Becomo S.A.
tel. (12) 2927104
smime.p7s
Description: S/MIME Cryptographic Signature
Hi,
I'm using tomcat 5.5.15.
I have a servelt which reads parameters from a < form > , using
HttpServletRequest.getParameter().
The catch is, parameters data (filled in by the user) is in Chinese.
I noticed that even though my page encoding is "unicode", the browser (IE6)
seems to se
Please give us exactly what and how the lbfactor should be set to load
balance between 10 workers "equally".
We are confused with the settings
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello,
The pb of Tomcat "chunk" support is not for the HTTP response: it is for HTTP
request !!!
Do you know if it works too ? Any way to test it ?
Regards.
-Message d'origine-
De : Hadraba Petr [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 3 mars 2006 14:26
À : Tomcat Users List; Co
Alexander E Genaud wrote:
I am running Tomcat 5.0 from a CDROM. In order for this to work on
different platforms I've tweaked the configurations and create a small
(100 KB) temp space on the user's hard drive for logs, work, java.io,
and tomcat-users.xml. I've precompiled the JSPs and configured
Thanks Aliye
I am getting this below information
[EMAIL PROTECTED]/apache_1.3.26/libexec# ldd
/home/qrq/suds_20_dir/apache_1.3.26/libexec/mod_jk.so
warning: ldd: /home/qrq/suds_20_dir/apache_1.3.26/libexec/mod_jk.so:
is not executable
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =
Hello guys,
I thought that you might be interested in this announcement.
TomcatProbe 1.1 new features include log file browser and connector
usage charts.
Log browser is a configuration- and maitenance free feature that enables
monitoring of Tomcat log files. It supports Log4J, Commons, Catalina
Good Morning Dave-
The earlier comment about using DBCS UTF-16 holds true for CJK,
Hebrew,Arabic or any character set using 2 or more bytes to represent a
'character'
I think what daniel is alluding to in this response is the ability for
others to mask certain characters
It sounds as if you m
Read this:
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html
It is a how-to on loading properties from the classpath using classloaders.
Tim
-Original Message-
From: Rahul [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 05, 2006 3:42 PM
To: Tomcat Users List
Subj
Hello,
I am running Tomcat 5.0 from a CDROM. In order for this to work on
different platforms I've tweaked the configurations and create a small
(100 KB) temp space on the user's hard drive for logs, work, java.io,
and tomcat-users.xml. I've precompiled the JSPs and configured Tomcat
to run with a
Good Morning Rahul-
typically the properties file is located on your classpath
Anyone else?
Martin-
- Original Message -
From: "Rahul" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, March 05, 2006 3:42 PM
Subject: RE: JSP on Tomcat: application scope variable
Thanks. I use
Hi,
The mod_jk you are using seems not to function properly. You can see that if
you user the command:
ldd /home/qrq/suds_20_dir/apache/libexec/mod_jk.so (you should get something
like --> not found ...
Recompile it or download a binary version suitable to
your system form
http://apache.speed
Thanks Warren Pace
Its there I will paste u the httpd.conf file but while i restart
[EMAIL PROTECTED]/apache/bin# ./apachectl start
Syntax error on line 206 of /home/qrq/suds_20_dir/apache/conf/httpd.conf:
Cannot load /home/qrq/suds_20_dir/apache/libexec/mod_jk.so into
server: ld.so.1: /home/qrq/
Andreas Schildbach wrote:
I have set up the JMX server of JDK 1.5.0_06/Tomcat 5.5.15. It works
fine locally, I'm testing with "jconsole".
However, if I tunnel the JMX port over SSH, it does not work. I can
connect to the port, but there is no flow of data. "jconsole" is
hanging around for a m
Hi,
Check in server.xml if you have configured a RemoteAddrValve. This is
this valve which could refuse remote connection based on ip.
If there is no such valve configured, then tomcat should respond to your
request, i suggest check firewalling configuration on server os.
If there is such a valve
Hi all users.
I have the next problem. I have installed and configured the Tomcat server, and
have start it, so when I type the direction http://server:8080/ on the
explorer, it shows me the initial page (index.jsp). When I try the same thing,
where server is my IP address, from another station,
To turn it off, set reloadable="false" in the context definition of
your app. I do not know where you have it defined, it might be
tomcat's server.xml or context.xml of your app. I am not sure if it
will work -- I have used applications listeners to stop the threads,
which was very easy.
Artur
--
>
> From: "Kaushal Shriyan" <[EMAIL PROTECTED]>
> Date: 2006/03/06 Mon AM 05:08:31 EST
> To: users@tomcat.apache.org, users@httpd.apache.org
> Subject: mod jk
>
> HI All
>
> I am getting
>
> [EMAIL PROTECTED]/apache/bin# ./apachectl start
> Syntax error on line 212 of /home/qrq/suds_20_dir/ap
Artur Rataj ha scritto:
It might that it unloaded an app. You may turn off app
unloading/reloading in serwer.xml.
How to do this?
Is the server.xml in conf/ ?
How to turn off?
Thank you a lot
-
To unsubscribe, e-mail: [E
HI All
I am getting
[EMAIL PROTECTED]/apache/bin# ./apachectl start
Syntax error on line 212 of /home/qrq/suds_20_dir/apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration
./apachectl start: httpd could not be
It might that it unloaded an app. You may turn off app
unloading/reloading in serwer.xml.
Or start and stop threads using listeners.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Artur Rataj ha scritto:
>One of the reasons might be that you have stray threads that do not
>stop when Tomcat tries to stop.
>
But Tomcat has not to stop.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
One of the reasons might be that you have stray threads that do not
stop when Tomcat tries to stop.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Any idea? :(
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
67 matches
Mail list logo