El mié, 08-11-2006 a las 10:11 +0100, Josué Alcalde González escribió:
Thanks for your answers.
I will talk about my experiences with the solutions.
I try to define a mime-type in web.xml, but it didn't work.
Studying the source code in Internet Explorer (the file he tries to
download), I
The release number 1.2.19 specifies a full release, not just a set of
patches. So get a copy of mod_jk 1.2.19 (either binary or source and
compile by yourself) and you will end up with a new mod_jk module file,
you can replace in your web server.
Regards,
Rainer
Sharma, Siddharth schrieb:
Hey
Using the BASE tag means that you only need to change that one single value
- all the other URLs in your pages would stay fixed, because they are
relative to the BASE tag.
So, for example, you could have a common tag library that sets the BASE tag
value dynamically for all your pages - IOW, one
hi!
I manually added servlet-api.jar to CLASSPATH at first and Tomcat
started without errors.
You've got something else going on. Tomcat completely ignores any
existing CLASSPATH setting and establishes its own; the system
classloader is used only for bin/bootstrap.jar.
Sorry, forgot to
Hi Chris,
thanks for your suggestion of adding a docBase to context.xml - that
works, and so I can simplify some of our scripts as a result :-).
Just to confirm:
Adding, e.g. docBase=/tmp/ROOT.war to ROOT.xml works for me - the war is
expanded into the webapps directory (nice!).
However,
Hi,
(God was kinda busy right now, so I took the opportunity to answer you).
The only environment variable you need to set up for running tomcat is
the JAVA_HOME, which must point a to a java jsk installation (NOT a
jre!). Then you just go to your tomcat directory, type bin/startup.sh
and you
Just put an index.jsp in webapp/ROOT/ that does a redirect to correct url
Fabian Brauers a écrit :
Hi,
is there an easy way to configure Tomcat (5.0.27) in order to change
the default welcome page (http://localhost:8080)?
I'm using Business Objects with Tomcat and I always have to use a long
Hi,
I have a servlet which needs to load a dll. using Tomcat 5.5., what is the
right way to do that (do I need to set java.library.path? if so - where?
where should my loading classes reside?)?
Thanks,
Zohar.
-
To start a
Hello,
playing with a webapplication that requires awt to do some graphical
operation, i noticed this.
1) Servlet invoked by http-thread 69 request an awt operation
2) AWT initializes and starts it's awt event queue thread.
3) As part of the thread initialisation process, the contextClassLoader
I'm using TC 5.5 Embedded and have been trying to understand if / how it is
possible to deploy a WAR file - by dropping the file in to the container as you
do with standalone, producing the same auto-extract - auto reload behaviour. I
cannot find help in the documentation for this. Using the
Hello,
I'm running tomcat 5.5 on windows xp.
I'm trying to configure tomcat to direct external url connections via
our proxy. When I specify the settings in the JAVA_OPTS environment
variable, and run tomcat from the command line, the connection can be
made properly.
However when I use
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: Change welcome page
Just put an index.jsp in webapp/ROOT/ that does a redirect to
correct url
That's not quite sufficient, since the default ROOT app has a
precompiled index.jsp, and that one along with its servlet mapping must
be
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Preventing memory leaks with awt event thread, is it
possible?
One possibility could be to arrange for awt thread to run in
the context class loader of tomcat server, not the one of a
web application, but then you have to find some
David Delbecq wrote:
Is there a way to avoid this? One possibility could be to arrange for
awt thread to run in the context class loader of tomcat server, not the
one of a web application, but then you have to find some way to force
tomcat into initializing awt (and not the first webapp that
Hi! I have a web-app residing in /, the docBase is relative to appBase. I
have an issue where I want to serve static files located outside the web-app.
For example:
/mydir/index.jsp
comes from the relative docBase as usual.
/images/myimage.gif
comes from /var/static/images/myimage.gif, an
I'm working on 2 different projects and I'm having problems while trying to
switch between 2 projects that are both set up at the ROOT context.
My Environment: Tomcat 5.5, Windows XP
On the development environment there are 2 ROOT.xml context files under:
Caldarale, Charles R a écrit :
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Preventing memory leaks with awt event thread, is it
possible?
One possibility could be to arrange for awt thread to run in
the context class loader of tomcat server, not the one of a
web application,
Mikolaj Rydzewski a écrit :
David Delbecq wrote:
Is there a way to avoid this? One possibility could be to arrange for
awt thread to run in the context class loader of tomcat server, not the
one of a web application, but then you have to find some way to force
tomcat into initializing awt
On 11/9/06, Rashmi Rubdi [EMAIL PROTECTED] wrote:
I'm working on 2 different projects and I'm having problems while trying to
switch between 2 projects that are both set up at the ROOT context.
The first question is why they both have to be the ROOT context;
nevertheless, if there's a valid
I had the same need so I changed the welcome file in ROOT web.xml to a
different page and did the redirect in that. It's just a small internal site
so the quickest, easiest solution was the right one for me.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Hi all,
I am using Tomcat IIS redirector v1.2.19 on a Windows 2000 server.
This server runs IIS 5.0 as a web server and Tomcat 5.5.20 as
application server.
However I am facing a problem with the redirector which seems to cause
high CPU cycle.
When I access my application directly through
http://issues.apache.org/bugzilla/show_bug.cgi?id=40909
Rémy
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi. I've installed tomcat6.0 with comet support. I've tried the
example code found at
http://tomcat.apache.org/tomcat-6.0-doc/aio.html.
when I call the servlet, the browser wait for a response... the
event() methods terminate normally, and run() of MessageSender wait on
messages.
now, I haven't
Hassan,
Thanks for your reply.
In production 2 projects are hosted on 2 different domain names and the host
provider is using Apache Virtual Host I think.
But, my problem only applies to the development envrionment. I tried to set up
the virtual host on the dev machine by following
I am trying to modify the snoop.jsp that comes with Tomcat 5.5.20. I
have the following snippet in my jsp and it compiles fine:
tr
tdPath info/tdtd%
out.print(util.HTMLFilter.filter(request.getPathInfo())); %/td
/tr
If I add the following before the above use of getPathInfo, I get
On 11/9/06, Rashmi Rubdi [EMAIL PROTECTED] wrote:
But, my problem only applies to the development envrionment. I tried to set up
the virtual host on the dev machine by following instructions here:
http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Virtual+Hosts
You
You have changed
% to %=
Thursday, November 9, 2006, 9:24:36 PM, you wrote:
FML I am trying to modify the snoop.jsp that comes with Tomcat 5.5.20. I
FML have the following snippet in my jsp and it compiles fine:
FML tr
FML tdPath info/tdtd%
FML
On 11/9/06, silvanoh722 [EMAIL PROTECTED] wrote:
hi. I've installed tomcat6.0 with comet support. I've tried the
example code found at
http://tomcat.apache.org/tomcat-6.0-doc/aio.html.
when I call the servlet, the browser wait for a response... the
event() methods terminate normally, and run()
Running Tomcat 5.5.17 through Eclipse 3.2.1
Using jdk1.5.0_08
OS = Windows XP
server.xml contains the following within the Server element:
GlobalNamingResources
Resource auth=Container driverClassName=
com.ibm.as400.access.AS400JDBCDriver maxActive=30 maxIdle=2
The driver has to be in tomcat's common/lib so tomcat's internal
classloader can see it. Don't know what the equivalent is in Eclipse.
Additionally, when in common/lib it should be removed from WEB-INF/lib
of your webapp to avoid classloader problems.
--David
David Uctaa wrote:
Running
Worked like a charm David. Thank you so very much!
David
On 11/9/06, David Smith [EMAIL PROTECTED] wrote:
The driver has to be in tomcat's common/lib so tomcat's internal
classloader can see it. Don't know what the equivalent is in Eclipse.
Additionally, when in common/lib it should be
I am still trying to extract certificate information. It was suggested
that I needed the following in my web.xml:
login-config
auth-methodCLIENT_CERT/auth-method
realm-nameMy Test Realm/realm-name
/login-config
This didn't work, so I also added (before the login-config tag):
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chetan,
Chetan Pandey wrote:
When my Session - currently set to 1 minute in web.xml - times-out clicking
on any LINK automatically redirects me to the Login Page.
On re-logging in, through the logs I am observing that it is not going to
the
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
Chris Adams wrote:
Does anybody know how I would report a bug in the mod_jk IIS filter?
I've looked on this page: http://tomcat.apache.org/bugreport.html but
did not see a link for the Tomcat Connectors project.
Report it against whichever Tomcat version you are using.
Mark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mikolaj,
Mikolaj Rydzewski wrote:
Maybe headless=true property (or sth similiar, there is one) would help?
To run Java AWT on a server like this, he'd already have to be doing
this. :(
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5
When I try and access a page that is using client authentication, I get
a http 404 error (not available).
I need to try and access this page (using https) by the following
methods:
* Web Browser
* Another servlet (posting data to it).
The web.xml file for the authentication looks
Andrew Friebel wrote:
login-config
auth-methodCLIENT_CERT/auth-method
realm-nameMy Test Realm/realm-name
/login-config
You want CLIENT-CERT here. Note the hyphen rather than the underscore.
Mark
-
To start a
This is going to seem like a real stupid question, but there seems to be
no obvious way for me to reply to responses on threads. I have tried to
use users-help and users-info email addresses to get this information,
but they keep giving me automatic responses.
How do I reply to a given thread?
Well, I suppose it depends on your email client. But on almost all clients,
open the message (or thread response which you wish to add to) and click the
'Reply' button in your email client. Then write your response to the dialog
occuring, and click send.
Of course you have to be a member of
I finally managed to get the email. I had to request it using
users-get.
Am I supposed to get the mail automatically?
Regards,
Andrew Friebel
Franchise Services
Franchise Product Development Coordinator
Ph: 03 9535 2362
-Original Message-
From: Justin Jaynes [mailto:[EMAIL PROTECTED]
Mark,
Fantastic, thanks for that. I have a new problem now.
Nov 10, 2006 5:56:17 PM org.apache.tomcat.util.net.jsse.JSSE14Support
synchronousHandshake
INFO: SSL Error getting client Certs
javax.net.ssl.SSLHandshakeException: null cert chain
at
Hi,
I have just downloaded the Tomcat 5.5 Windowns Installer on my XP laptop and
completed the installation (seemingly successfully).
I went through the basic configuration and the Tomcat service started
successfully. (It actually wouldn't start
Because my JRE versions is 1.4 - after
From: Ernie Ho [mailto:[EMAIL PROTECTED]
Subject: First-time user of Tomcat 5.5
Now, I would go to Tomcat-Manager or Tomcat-Welcome pages
but these pages showed up error of the following :
There is a problem with the page you are trying to reach and
it cannot be displayed.
1) Look
Hi,
Thanks for the prompt reply.
1) I cannot locate the RUNNINGS.txt indicated below in the home directory.
What I had done is gotten the installer from
http://tomcat.apache.org/download-55.cgi
Please also note that I DID NOT get the DEPLOYER or EMBEDDED zips as I did not
think they are
Hi,
There's a server running Tomcat and Struts applications. Works perfectly
fine ;-) I'd like to deploy now second application, very similiar to the
first one. There's high chance of struts form-beans' names being the
same in both of the apps. Those form-beans are mostly session scope.
46 matches
Mail list logo