Yes,
I'd like to set up the following set up the following URLs:
http://www.domain1.com/
http://www.domain2.com/
https://sthg.domain1.com/
but this http://www.domain1.com/ must redirects to a tomcat instance and I
would like to implement load balancing on this one (so using mod_jk).
How should I
Hi!
I am asking myself if it is possible to run both servers twice a time?!
The goal is that different Webapplications with different engines (php,
JSP) should run on the server.
For any comment,
Thank you
Tamer
-
To
CHESS-CODE:s04hchmi42m2t3k3s41ktl27o8s9c9pa8b9c0c8cpt8dge8v2voo0
- Original Message -
From: Tony Tomcat [EMAIL PROTECTED]
To: Peter Lin [EMAIL PROTECTED]
Cc: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, April 05, 2005 8:48 PM
Subject: Re: Performance monitoring
yeah.
On Apr 5, 2005 11:23 PM, david joffrin [EMAIL PROTECTED] wrote:
Yes,
I'd like to set up the following set up the following URLs:
http://www.domain1.com/
http://www.domain2.com/
https://sthg.domain1.com/
but this http://www.domain1.com/ must redirects to a tomcat instance and I
would like
Hi,
not sure I understand your question (twice a time?). If you are
wondering if you can have them both running at the same time the answer
is yes. To have Tomcat and Apache work together you need mod_jk or
mod_proxy.
mod_jk can be found here:
http://jakarta.apache.org/tomcat/connectors-doc/
I'm using response.setHeader(cache-control,no-cache);
and tomcat is correctly telling me that the page has expired
when I use the browser back button.
I can't find out what error (if any) this is, to trap it
using the error-page element.
Is it possible to trap this error please?
Regards
Now, my web.xml looks like
- C:\Tomcat 4.1\webapps\webdav\WEB-INF\web.xml --
!-- The mapping for the webdav servlet --
servlet-mapping
servlet-namewebdav/servlet-name
url-pattern/*/url-pattern
/servlet-mapping
- C:\Tomcat 4.1\webapps\webdav\WEB-INF\web.xml
Hi,
I'm looking for some help, again Thanx in advance.
Last test : When I'm installing on another server : Windows Server 200
SP4, it works fine !!
So what ?? 4 days for nothing ??? Does Tomcat 5.0.x works on Windows 2003
? Could windows 2003 works with Tomcat 5.0.x ?
Could you help
I replyed to you yesterday.
you are missing configuration for a coyote JK or AJP connector on port
8009 in server.xml
bye
-reynir
[EMAIL PROTECTED] wrote:
Hi,
I'm looking for some help, again Thanx in advance.
Last test : When I'm installing on another server : Windows Server 200
SP4,
Anyone knowing of a BBS (Bulletin Board System) based on tomcat?
I'm planning to do something like that but want to be sure
that tomcat doesn't carry any inherent security risks making it
only suitable for so called benign environments like intranets
with trusted users rather than exposing it to
On Apr 6, 2005 1:46 PM, Pawson, David [EMAIL PROTECTED] wrote:
I'm using response.setHeader(cache-control,no-cache);
and tomcat is correctly telling me that the page has expired
when I use the browser back button.
I can't find out what error (if any) this is, to trap it
using the
Sounds like the message IE gives when you hit back to a page served in
response to a POST request.
http://theserverside.com/news/thread.tss?thread_id=28366
http://theserverside.com/news/thread.tss?thread_id=29758
Anto Paul wrote:
On Apr 6, 2005 1:46 PM, Pawson, David [EMAIL PROTECTED] wrote:
I'm
-Original Message-
From: Anto Paul
I'm using response.setHeader(cache-control,no-cache);
and tomcat is correctly telling me that the page has
expired when I
use the browser back button.
What is the exact message you get when clicking
-Original Message-
From: Jon Wingfield
Sounds like the message IE gives when you hit back to a
page served in response to a POST request.
http://theserverside.com/news/thread.tss?thread_id=28366
http://theserverside.com/news/thread.tss?thread_id=29758
Bit of clarification.
A = initial page
B = target of link
both pages have cachecontrol set to no-cache.
Follow link from A
Hit back button
then the message shows.
The only time I get *any* of my error pages to show
is when I do a refresh on A, after getting there by a back button.
Then it goes
Consider the following Apache modules:
mod_headers
mod_expire
mod_deflate
I've never seen a web application that wouldn't benefit from one or all
of these modules. And the performance improvements would likely more
than outweigh any overhead.
If Tomcat provides any of the functionality
Hi,
Could any one guide me to connect apache to tomcat through mod_jk.
I tried some documents but each differ from one another. I have to connect
apache2, with tomcat 5.0.19 using modjk2.so.
Thanks in advance,
---
Hi,
I have a null exception in CoyoteRequestFacade with Tomcat 5.0.28 and 4.1.27
== org.apache.coyote.tomcat5.CoyoteRequestFacade
java.lang.NullPointerException
at
org.apache.coyote.tomcat5.CoyoteRequestFacade.isSecure(CoyoteRequestFacade.java:379)
at
never mind doug,
in fact it seams that your asking questions reflects
nothing but professionalism and perfection. that's
the way to do it.
by the way the relation to databases is one to one
with web apps. one web app is going to refer to only
one database.
so that is the way it is going to be.
On Apr 6, 2005 3:39 PM, Pawson, David [EMAIL PROTECTED] wrote:
Bit of clarification.
A = initial page
B = target of link
both pages have cachecontrol set to no-cache.
Follow link from A
Hit back button
then the message shows.
The only time I get *any* of my error pages to show
is
Hello, I want to install Apache+Tomcat to run a java application that is
a servlet. How I can install?
I download Tomcat ande install, but when I try to test tomcat using
http://localhost:8080 the navigator say cann´t find web.
Thanks
--
After you install you must run [execute] the Tomcat using startup.(sh|bat) from
bin directory.
I guess for windows there is an application to install/run the service.
Viorel Dragomir
.
..
---
- Original Message -
Does Tomcat 4.1 provide a way to schedule tasks?
Something similar to java.util.Timer?
BEA WebLogic eg offers a
weblogic.management.timer.Timer which has the same
affect, but is controlled by the application server.
I've been using a java.util.Timer up to now in Tomcat
4.1. I initialize it in
Sorry this may be a little off-topic but is there a way to get the mapping
for a filter. I'd like to determine what mapping set off the filter to use
it to rewrite a URL. I know I can get the same information from the servlet
request but then I'd have to parse it and that complicates things.
Here's a good article:
http://raibledesigns.com/tomcat/
-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 6:07 AM
To: tomcat-user@jakarta.apache.org
Subject: mod_jk2 connection
Hi,
Could any one guide me to connect apache to tomcat through
I had this (in windows) and I can see the icon in green that means that
tomcat are running?
Can any give me which is the problem?
Viorel Dragomir wrote:
After you install you must run [execute] the Tomcat using startup.(sh|bat) from
bin directory.
I guess for windows there is an application to
No problem.
With a one to one, set up the dataresource in the context element of the
app.
Place this after your context element. You will need to either declare one
in the server.xml, in your app war file or create a file yourapp.xml and
place it in the Tomcat dir:
It´s very interesting, but do you Know any good and simple manual for
windows?
David Owens wrote:
Here's a good article:
http://raibledesigns.com/tomcat/
-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 6:07 AM
To:
This is a fairly simple example. (Basically as simple as it can be due to all
the configuration that needs to happen.) To make it work for windows just get
the .zip instead of the .tar.gz and you should be fine. Don't use the
self-installing tomcat because you can't have 2 on the same
Does Tomcat 4.1 provide a way to schedule tasks?
Something similar to java.util.Timer?
AFAIK not in Tomcat, but Quartz might be of interest to you:
http://www.opensymphony.com/quartz/
HTH
Harry Mantheakis
London, UK
-
To
I have a web-app (J2EE 1.3, Servlet 2.3, JSP 1.2) that builds and deploys
successfully on Tomcat (5.0.28). However, when pre-compiling all JSPs,
countless Exceptions are thrown, all of which are of the flavor cannot be
applied to. I realize this must be a classpath problem when compiling,
however,
That was exactly it! Thank you. I had changed the configs, but had not
commented in that section. All is well now. Thank you very much!
|)ave
-Original Message-
From: David Rees [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 6:51 PM
To: Tomcat Users List
Subject: Re:
I raised this on the struts mailing list and had no joy there, but
since then I've found out that it appears to be a tomcat specific
problem.
The struts 1.1. application I am working on has some frameset stuff
(which I personally hate, but some things you are forced to live
with), occasionally
Hi all,
I am having problem compiling jsp pages with nested struts
tags.
Is this a known error ? It says
Unable to compile class for JSP
Generated servlet error:
%CATALINA_HOME%\work\Catalina\localhost\test\org\apache\jsp\ui\Showjsp.j
ava:124:
On Apr 6, 2005 5:01 AM, Pawson, David [EMAIL PROTECTED] wrote:
Hence I'm looking for a means of trapping that error for either
a re-direct, or to an error page. HTTP 1.1 seems not to class
that as an error, hence I'm looking for another way to access that
'bad' state.
I don't think you can
Using tomcat 4.3.1 I have included the following in server.xml
GlobalNamingResources
Environment name=config_file type=java.lang.String value=test/
/GlobalNamingResources
In a servlet loaded on startup I try to read in the property
InitialContext ic = new InitialContext();
Context ctx =
Is there a configuration setting to force Tomcat to expire the old
session and put the user in a new one when they log in using any of
the Realm's? For example, this is a problem:
- User tries to access a restricted page - no session set up
- Tomcat redirects to the login page, appends
When a JSP calls 'gzip -d /opt/tomcat5/3.05.tar.gz'
Like this:
Runtime.getRuntime().exec(gzip -d /opt/tomcat5/3.05.tar.gz');
I get:
ERROR java.io.IOException: java.io.IOException: Cannot allocate memory
I don't believe it's a memory issue at all. Maybe this is just something
you can't do from a
Hi,
We have all our pages UTF-8-encoded so I think what I am talking about:
At least in Tomcat you must UTF-8-decode the request parameters obtained from
method getParameter() of interface ServletRequest yourself. Our web-apps runs
also at some customer sites with other app servers like JRun or
It is a lack of agreed standard problem. You can force Tomcat to use
UTF-8 encoding by setting the URIEncoding parameter on the connector.
There are some other parameters that you can set as well. See
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
Mark
Steve Bosman wrote:
I
We are using tomcat 5.0.28 and our servlet needs to load jndi.properties
from a jndi.properties file in our WEB-INF/classes directory but it seems to
be getting it from elsewhere and so our servlet, which needs to call a bean
on a separate application server instance (in this case jboss) fails
JExamples.com is a new, free website that helps Java developers find
high quality example code for virtually any Java API. JExamples uses
sophisticated source analysis and a powerful search engine to find
examples in well known Java open source products (e.g. Ant, Tomcat).
The search results
You need to include a ResourceLink element in your context.
Mark
Andrew Watters wrote:
Using tomcat 4.3.1 I have included the following in server.xml
GlobalNamingResources
Environment name=config_file type=java.lang.String value=test/
/GlobalNamingResources
In a servlet loaded on startup I try
Indeed, I had the same problem on 5.0.25 once, use this filter in your web.xml
to have UTF-8 encoding for all requests.
filter
filter-nameencodingFilter/filter-name
filter-classfilters.SetCharacterEncodingFilter/filter-class
init-param
I have Tomcat installed on W2K and it says it is installed correctly. When I
try the examples it tells me that I must be on line. If I am using
localhost:8080 why does it need to be on line?
:)
Well to test to examples, it connects to internet ( may be)
Best way is to write a small servet displaying Hello
Try using velocity and servlet ( mvc )
Once, u make one class, u will make many :)
Vaneet
-Original Message-
From: Walter Lee [mailto:[EMAIL PROTECTED]
Sent:
It is an IE setting - I forget which one as I don't use IE any more.
Mark
Walter Lee wrote:
I have Tomcat installed on W2K and it says it is installed correctly. When I try the examples it tells me that I must be on line. If I am using localhost:8080 why does it need to be on line?
Assuming you are running this under IE:
Tools
Internet Options
Connections (Tab)
Change the setting to the second box.
My guess is that you use a dialup connection. It wants to connect to lookup
the DNS.
Set it to the second one so it only dials when there is no network
connection or the
Hello,
I would like to use TOMCAT as HTTPS server on linux machine, with a USB
token that stores key for SSL criptography.
I know that I 'll not have good performances, but I don't care.
what I did:
I have installed correctly PKCS#11 support library of my usb token on Linux
machine.
I have
Try using the 'full' path - add the http:// before localhost:8080. IE
automatically adds it if the port is 80 or unspecified, otherwise it
gets confused.
Walter Lee wrote:
I have Tomcat installed on W2K and it says it is installed correctly. When I try the examples it tells me that I must be
Hi all:
Could you help me to found a connector and the instructions to make iis and
tomcat work together?, i'm looking into the jakarta web and only found this
page:
http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto.html
i don't know if there is a more recent document about
Thank you, I appreciate your reply. I didn't have a context entry so I
added a minimal one (copied from the /examples one) before proceeding
further as shown below.
Context path=/xxx docBase=xxx debug=0 reloadable=true
crossContext=true /
Unfortunately tomcat doesn't start now. I get a
U need to read this page
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/deployment.html
Have fun reading
Vaneet
-Original Message-
From: Andrew Watters [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 6:14 PM
To: Tomcat Users List
Subject: Re: How to read JNDI
On Wed, 2005-04-06 at 07:18, Pete Stevens wrote:
Consider the following Apache modules:
mod_headers
mod_expire
mod_deflate
I've never seen a web application that wouldn't benefit from one or all
of these modules. And the performance improvements would likely more
than outweigh any
Hi ,
Thanks Owens. That was a nice article.
Howewer I encountered a problem while starting my apache server.
The error message was,
Syntax error on line 270 of /apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server
You are correct. I use Tomcat on XP via localhost:8080 all the time and it
works fine. I am using a DSL connection that is on all the time so I suppose
it is possible that Tomcat is using that somehow but I'd be surprised
Perhaps you should post the exact error message you are getting and
David Owens wrote:
Here's a good article:
http://raibledesigns.com/tomcat/
Actually it has one error:
# list the workers by name
worker.list=tomcat1, tomcat2, loadbalancer
It should be:
worker.list=loadbalancer
See the:
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
Hi,
we have a tomcat webapp that needs to be down if we are doing a maintenance to
the database. The manager seems to be the perfect solution to make the
application unavailable but we found out that the 404 error-page cannot be
customized.
Even if we modified the default web.xml (in conf/)
You should have something like this:
JkWorkersFile conf/workers.properties
Now, let me clarify that I am using mod_jk, not mod_jk2 (which is no
longer supported by the way).
-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 10:47 AM
To: Tomcat
It is more than likely you browser needs to be told localhost is local.
Go to a command line and ping localhost and see if it works
- Original Message -
From: Rhino [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, April 06, 2005 6:42 PM
Subject: Re:
If the browser is set to always dial a connection, it doesn't matter what
the address is. Even if it is a local file. About the only way it doesn't
prompt is if you open a html file directly. And sometimes even then it will,
especially if the sync files setting is turned up. Every time IE opens
Hello,
Many thanks for your reply ... I have set the Global database
JNDI, No problem about this.
The way we deploy the code is just drop the .war files in the
webapps directory. ( The administrator does not allow us to change the
server.xml file )
So what I
On Apr 6, 2005 11:20 AM, Mike Millson [EMAIL PROTECTED] wrote:
Every web application can benefit from compressing and caching static
resources. It decreases the number of connections your server must
handle. To not have caching, I think, is to ignore a best practice. Or
at the very least
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path system property. However, this
does not seem to work.
I got to the point where even brute force did not work...
On Apr 6, 2005 3:33 PM, Durfee, Bernard [EMAIL PROTECTED] wrote:
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path system property. However, this
does not seem to
I apologize if this is addressed elsewhere, I have been unable to find
any answers, though. Hopefully, I am just investigating the wrong
question.
We are currently running some applications that hit a web application
being served by Tomcat and under heavy load we are receiving a
Premature EOF in
No dice. It just seems that a call to System.loadLibrary() is not using
the 'java.library.path', otherwise how could it possibly not see the
DLL?
Bernard Durfee
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 4:43 PM
To: Tomcat Users
On Apr 6, 2005 3:53 PM, Durfee, Bernard [EMAIL PROTECTED] wrote:
No dice. It just seems that a call to System.loadLibrary() is not using
the 'java.library.path', otherwise how could it possibly not see the
DLL?
Bernard Durfee
Next try adding the Domino's executable directory to the system
I'm transitioning a web site from 4.x over to 5.5.7. Everything is
going well *except* for logging (a sore subject for me.)
I've created a small log4j.properties file and placed it in
${catalina.home}/common/classes. The file contains:
#log4j.properties
log4j.rootLogger=DEBUG, R
Have you tried putting it into your system path via the PATH environment
variable? (If you're running Tomcat as a service, you'll need to reboot to have
it take effect I think.)
If it's there, what happens if you run rundll32 nlsxbe SomeDummyEntryPoint?
it should find the DLL, but complain
Perhaps this was missed the first time. I think the answer should be fairly
simple. How do I get my servlet to pull in my jndi.properties file, which
right now is in the WEB-INF/classes directory, instead of whatever one it
seems to be pulling in that is directing it to tomcat?
Regards
Eric
While debugging a log4j problem this afternoon... I happened to attempt
to rearrange the contents of my CLASSPATH on my Fedora Core 2 machine in
order to insure a correct log4j.properties file is being loaded by TC.
To insure the proper file is loaded, I placed
Yes, I started by making sure that the DLL was in the Windows system
path. I also tried running the DLL as you suggested and it did indeed
find the DLL and complain about the bad entry point. I believe that
Tomcat supplies a special class loader to each web application. I also
believe that the
Having just done something similar with a different app's DLL and seen the same
error, all I had to do was make sure the DLL was in my system PATH (and reboot
as I had Tomcat running as a service). Sorry I don't have another idea.
Jay
Vertical Technology Group
http://www.vtgroup.com/
The DLL was found when I put it in the C:\JavaTools\JRE1.5.0\bin which
is in the sun.boot.library.path. Looking through the code in
ClassLoader.java, it should search the paths in java.library.path
after it searches sun.boot.library.path. ClassLoader parses
java.library.path once at the first call
Problem solved, I restarted Eclipse, waved my hands a couple times and
presto, the DLL is found no problem. The wonders of Java on Windows.
Although it would be great if someone could explain how with a DLL in a
path in the java.library.path could not be found.
Bernard Durfee
-Original
Hello.
I would like to achieve the following using Tomcat 4.1:
1. use a JDBCRealm to access a mysql database containing users, passwords,
and roles
2. grant WebDAV access to authenticated users, allowing them to access and
upload files to personal home directories
3. personal directories
I made a brief how-to on SUBJECT.
hope somebody finds use of it
regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Torsdag den 7. april 2005 01:36 skrev jesper:
I made a brief how-to on SUBJECT.
I guess an url would be usefull to
http://zvf.dk/how-to/index.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Was wondering if anyone has successfully loaded JPetStore Demo into
JBuilder 2005. After trying and compiling not all the classes were
compiled
Struts
JBuilder
JDK 1.5
Tomcat 5
iBatis DAO
iBatis SQLMapper
-
To unsubscribe,
I hope I did not miss any relevant communication regarding this thead. I
was wondering though if your code could be used for Tomcat 4.1.30 (I am
not quite ready to move my stuff to 5.x).
Thanks,
Ed
On Tue, 2005-02-22 at 00:59 -0800, Rob Block wrote:
Tomcat users,
I have created a plugin for
Hi,
We are planning to deploy an application (JSP/Tomcat/Oracle) for 300-400
concurrent users. The hardware is HP/True UNIX platform and it is very
powerful. Unfortunately we can not deploy the application in a phased
wise manner.
Can somebody help us to understand :
1. How scalable Tomcat
Vaneet Sharma wrote:
:)
Well to test to examples, it connects to internet ( may be)
The problem is in IE. If you're offline, it is also offline. And IE
cannot connect to a server (any server) if it is offline. Just go to
file menu and place it online, no need to connect. Or use Mozilla (I
Thanks for responding. I always use the complete path, I just forgot to put it
in my posting.
Wally
- Original Message -
From: Robert r. Sandersmailto:[EMAIL PROTECTED]
To: Tomcat Users Listmailto:tomcat-user@jakarta.apache.org
Sent: Wednesday, April 06, 2005 12:04 PM
Thanks for responding. I tried the ping test and it works when I am off line. I
will keep searching.
Wally
- Original Message -
From: Hein Behrensmailto:[EMAIL PROTECTED]
To: Tomcat Users Listmailto:tomcat-user@jakarta.apache.org
Sent: Wednesday, April 06, 2005 1:28 PM
85 matches
Mail list logo