i am not on windows, but the connector address=0.0.0.0 works thanks
- Original Message -
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, November 07, 2006 7:45 AM
Subject: Re: apache and native library ?
mast wrote:
in fact there is a
Alternatively, you can set a BASE reference within the HEAD element of each
page, and then use relative-paths in all your URLs:
head
...
base href=http://www.webadorable.com/your-app-context-name-here//
...
/head
...
img src=relpath/to/image.jpg/
The BASE value can (should!) be
mast wrote:
i am not on windows,
LOL. When you said Hi i have install the native library ...
I presume you are on windoze.
but the connector address=0.0.0.0 works thanks
Right, your kernel probably supports IPV6, and in that
case (APR caused) the null address is the same
as address=::
Hi Nathan,
I thought there must be other users out there experiencing the same
problem!No - I haven't been able to resolve my problem (ROOT.war
doesn't unpack when ROOT.xml is in conf/Catalina/localhost), and have to
work around it instead.
What are you passing for ${path}, I have been
Hi,
I'm developing a Web application and I'm having problems to deploy it in a
Tomcat server.
To develop, I use NetBeans 5.0 (jdk 1.5) and I debug with Tomcat 5.5.9 that
NetBeans has inside.
In the development environment all works fine, but when I try to deploy it
(the application) in a
We have a crash at tomcat 4.
The thing I don't understand is the fact that
the class causing this error has no default constructor and
does not implement serializable.
So why can this error occur?
THANKS A LOT
2006-11-07 11:25:49 StandardManager[/pss] IOException while loading persi=
sted
Hi,
maybe the problem is that tomcat is trying to do anything with the
session and it is trying to write you object for sesion persistence...
2006/11/7, starki78 [EMAIL PROTECTED]:
We have a crash at tomcat 4.
The thing I don't understand is the fact that
the class causing this error has
Hi,
Can you try the follow:
%@ include file=*/header.jsp* %
I think that this will work fine.
2006/11/7, Justin Jaynes [EMAIL PROTECTED]:
Hello,
I am trying to eliminate unnecessary duplication of code by using include
directives. Currently my directory structure is like this:
[main
Hello
working with Tomcat i am unable to get the replication to preform
smoothly , when i start an authentication session (login) i see my
application finishing the login procedure correctly but the replication
is throwing this exception and the application and tomcat freeze.
Any one ever
hi guys,
thanks for the hint.
i was actually missing the point to look into the PolicyFiles-doc, I
just looked into the wrong files.
thanks again
greg
--
what's puzzlin' you, is the nature of my game
-
To start a new topic,
I installed JProbe Free Edition,
Iam able to start Tomcat through JProbe. But with this when i clicked on
Start collecting data in Jprobe memory usage is going very high and
resulting Mem our of Error.
Is there any posiblity to start the Tomcat individually and attaching JProbe
profiler to
The place to look is: http://tomcat.apache.org/tomcat-6.0-doc/aio.html
I have added a bigger warning that these features require the APR or
NIO HTTP connector.
Rémy
-
To start a new topic, e-mail: users@tomcat.apache.org
To
As suggested, I tried ipconfig /all, but my IP shows up the same remotely
as does locally. I have tried different browsers, such as Firefox and did
not have the problem, but I'm not sure what in IE could be making this
happen. I'll try getting the ieHttpHeaders and/or Live HTTP Headers. I
Zachary Wiener wrote:
As suggested, I tried ipconfig /all, but my IP shows up the same remotely
as does locally. I have tried different browsers, such as Firefox and did
not have the problem, but I'm not sure what in IE could be making this
happen. I'll try getting the ieHttpHeaders
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zachary,
I have tried different browsers, such as Firefox and did not have the
problem, but I'm not sure what in IE could be making this happen.
Well, there's your problem: MSIE ignores MIME type headers in favor of
detecting the MIME type itself.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Justin,
The index.jsp file in the main directory contains the code %@
include file=header.jsp % and it works great.
In the admin directory the index.jsp file contains this code %@
include file=../header.jsp % obviously referencing to the parent
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Juanjo,
In the development environment all works fine, but when I try to deploy it
(the application) in a
pre-production environment(with Tomcat 5.0.27 and jdk 1.5), Tomcat give me
the follow error:
java.lang.NoSuchMethodError:
Thanks for the link. I'll have to read it and see if it addresses why
things work when the request is to localhost, as opposed to machine name.
Christopher Schultz [EMAIL PROTECTED]
11/07/2006 08:07 AM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List
Hello Chris, Justin,
The index.jsp file in the main directory contains the code %@
include file=header.jsp % and it works great.
In the admin directory the index.jsp file contains this code %@
include file=../header.jsp % obviously referencing to the parent
directory, where the header.jsp file
Hi Dan,
if mod_jk doesn't detect the error status of the tomcat instance,
because tomcat still sends valid http requests, you can set the worker
to disabled (no new sessions) or even stopped (no more requests).
By the way: I'm in Munich (W-JAX conference).
Regards,
Rainer
Dan Ackerson
Hi!
I don't know if this is a bug or if it's a known issue.
This is an extract from our uriworkermap.properties file:
...
/ExtranetLogin*=ajp13w
/images*=ajp13w
/ExtranetLogin*=ajp14w
..
It seems like the two ExtranetLogin pointing to two different hosts was
confused in some way and didn't
Good question (we need to add the distinction lb/usual worker) to the
docs page for the advanced worker parameters.
The answer is: Number 2.
Regards,
Rainer
Dan Carwin schrieb:
Is reply_timeout designed to be set...
1. only for the loadbalancing worker.
2. for every worker except the
I'm not sure, what kind of problem you have. Putting two identical
patterns for different workers into uriworkermap.properties will not
result in a well understood (or documented) behaviour.
Nevertheless
http://issues.apache.org/bugzilla/show_bug.cgi?id=40855
might be interesting to read.
Thanks four your quick response.
I think, after reading the bugzilla, the problem is:
The keys on the left side are used in a case insensitive way as a key
in
a hash table. If there are multiple same keys, the first key wins and
the value is set to the last one.
It would explain our problem.
You will also need to specify Content-disposition after setting Content-type as
setting these attributes for your response
response.setContentType(video/x-ms-wmv)
response.setHeader(Content-disposition,attachment; filename=file.wmv);
Take a look at
Hi,
I'm using Tomcat for mutual authitication. after the brower and server
finish the certificate exchange and verification (which is already
done). I want to get the client certificate and compare it with what's
been stored in the LDAP.
I'm new with linux. how can i get the client
Sorry if I wasn't clear - I wanted to know if their was a way I could
programmatically alert mod_jk from Tomcat that this worker should be
disabled. This way, the worker could automatically signal to mod_jk that it
was lamed and I wouldn't have to run over to the jk-status page to
manually
Hi,
I used to get version information very easily from mod_jk.so in
Solaris system by typing strings /usr/local/apache2/modules/mod_jk.so |
egrep mod_jk/ when I compiled jk module with Apache 2.0, after I
switched to Apache2.2 and the mod_jk.so build base on Apache2.2 doesn't
return
Fan, Tony wrote:
I am using jk version 1.2.15. Is
there a way to get version information just from mod_jk.so?
Set
JkLogLevel debug
... and you will have the line in the modjk.log
after starting httpd in the form:
[debug] mod_jk.c (2410): Initialized mod_jk/1.2.20-dev
Regards,
Mladen.
Thanks for all your information.
I was thinking of a application configuration solution so that I don't need
to alter the code between development and deployment. I have several
applications in various development phases in my box. I try to figure to
handle them together.
Vernon
Hi
We have a cluster of Linux (RedHat) machines each housing an apache, 4
tomcat instances and 4 other jvms that run our custom servers.
Each tomcat has a corresponding custom server that it delegates requests to.
In other words, there is one to one correspondence between a tomcat instance
and a
Hello all.
I have installed Tomcat 5.5.17 on our developers Windows XP SP2
workstations. While running as an administrator, there are no problems
when logging in. However, when logging in as a standard user, we
receive the error box titled Application System Error with
text Access is
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 URL
like 'http://localhost:8080/businessobjects/enterprise115/desktoplaunch'
to see the
On Nov 7, 2006, at 2:27 PM, Fabian Brauers wrote:
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 URL like
Hi,
and then? What do I have to change in order to see the BusinessObjects
application when I use http://localhost:8080 ?
I guess I have to put another line in the ROOT/WEB-INF/web.xml
right?
Fabian
On Tue, 07 Nov 2006 20:30:17 +0100, Timothy Collett [EMAIL PROTECTED]
wrote:
Dan-
the only way I could see accomplishing this task to programmatically support
socket_keepalive on the connection and use default config of quiesce connection
when not use ...as in this parameter which requests mod_jk to close connections
immediately after use as in this option
JkOptions
From: Fabian Brauers [mailto:[EMAIL PROTECTED]
Subject: Re: Change welcome page
What do I have to change in order to see the
BusinessObjects application when I use http://localhost:8080 ?
You have to replace the existing ROOT app with your own. Delete the
existing webapps/ROOT
... and also:
strings ./native/apache-2.0/mod_jk.so|grep mod_jk/
mod_jk/1.2.19
mod_jk/1.2.19
I didn't check with 1.2.15, but at least for 1.2.19 this is a solaris
build for Apache 2.2 and your method works. Maybe your file is corrupt?
Regards,
Rainer
Mladen Turk schrieb:
Fan, Tony wrote:
I
Hi,
Sharma, Siddharth schrieb:
Hi
We have a cluster of Linux (RedHat) machines each housing an apache, 4
tomcat instances and 4 other jvms that run our custom servers.
Each tomcat has a corresponding custom server that it delegates requests to.
In other words, there is one to one
Hi,
I have this server with Apache and Tomcat installed.
I have a Tomcat aplication running, so the URL contains the :8080 port
part.
like http://zbr:8080/contineo
I want to remove the :8080 part of the URL.
I (think) know that a way is configuring reverse proxying in Apache.
I do this in a
It is better to add index.jsp that would redirect to business objects.
You would not have to move business objects.
index.jsp
%
response.sendRedirect(http://localhost:8080/businessobjects/enterprise115/desktoplaunch;);
%
Tuesday, November 7, 2006, 10:40:49 PM, you wrote:
From: Fabian
Hi Mário
I (think) know that a way is configuring reverse proxying in Apache.
What about using mod_jk ?
Kind regards,
William
--
William http://www.wbonnet.net
http://www.sunwizard.net Le site français des amateurs de stations Unix
http://www.blastwave.org An OpenSolaris
Hello all.
I have been trying to find a simple way to bundle our webapp into a self
contained demo. Perhaps with a version of TC and JAVA in stalled that I know
will work. I have seen some applications doing similar things. i.e.
(Openreports)
What I would like bets is to have a single
Hi Rainer
Thx for the response.
What does missing answers mean?
If there is no http body, will it be marked down?
Yea, I figured that status is probably the best way to do it.
I already have status configured and I figured out the request parameters.
Only complication is the id parameter.
Even
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Most of our interested parties are not initially an IT type. So having a
simple installer that would install TC with our webapp on a single pc would
be great.
It might be overkill, but now that VMWare Player is free, you could
create a
My requirement: I would like to include a round robin logic between 2
urls ( ie, routing between 2 urls in a round robin fashion).
The website states:
The balancer distribution contains a number of useful rules. The
framework is also designed for easy extensibility so that you can write
Hi William,
I'm a completely Tomcat ignorant :(
I just installed it to deploy an application i was asked for.
Best Regards,
Mário Gamito
William Bonnet wrote:
Hi Mário
I (think) know that a way is configuring reverse proxying in Apache.
What about using mod_jk ?
Kind regards,
William
Hi,
I'd like some help in figuring out if Tomcat is right for me. I currently have
PWS running in '98se with ASP pages. I have very little traffic. I'd like to
use the same web pages I currently have.
I'd like to move towards XP Pro.
My first question is should I use Tomcat to replace
If your content is static pages, the Apache might be a better option. If you
are using Java Servlets for dynamic content, then Tomcat would work fine.
You may have to adjust some of your code to match changes in the runtimes.
If you are using ASP, I don't think Tomcat is for you.
You should be
On Nov 7, 2006, at 4:47 PM, Gary Kuznitz wrote:
Any and all suggestions are welcome. If I haven't given enough
information to
advise me please let me know.
I'm not quite sure if I understand you correctly...but Tomcat cannot
serve ASPs. It serves JSPs and servlets.
If I've
From the docs about DisableReuse: Using this option will have a strong
performance penalty for Apache and Tomcat. Use this only as a last
resort in case of unfixable network problems..
Concerning the original queation: I don't see any clean and direct way
of doing that.
What's possible though is
Chris
Thanks, but that does sound like overkill. I was looking more for a way to
bundle my webapp with TC, and then just install that. With some
preconfigured items; namely my database, my webapp in place and ready to
run. Even if I had a requirement for the java to be installed, I think that
With mod_jk you get that for free (and a lot more), but you have to
learn a bit about its configuration etc.
If you want to stick to mod_proxy, you need to investigate the
attributes proxyName, proxyPort and scheme in the docs for the
connectors and then set them inside server.xml.
Howdy all,
I'm struggling through setting up Tomcat with SSL on a Windows 2003
server, and even when I get the server running, with no errors in the
logs when restarting the tomcat service, all I get is a Page Not Found
error when I point to the ssl port on the server. Pointing to the
default
To enable/disable via the status worker:
Start
/status_worker_uri?cmd=updatew=workerNameid=workerPosIndexlb=0wf=1
wr=wc=
Stop
/status_worker_uri?cmd=updatew=workerNameid=workerPosIndexlb=0wf=1
wr=wc=ws=on
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Good point concerning the id. I'm already thinking about a couple of
changes to the status worker, especially the URLs it uses and the
missing parameter validation. So it's not totally unlikely, that we will
have a 1.2.20 release this year inclusing better support for automating
status worker
Hi
I currently have PWS running in '98se with ASP pages.
I don't expect to expand the web pages.
These two sentences make me think the following:
PWS is basically nothing different than IIS, but compiled for Windows 98.
As Windows XP comes with IIS this is propably the best chiose for you.
What's possible though is making an http request to the status worker to
disable or stop a worker. Unfortunately this change is not persistant
concerning apache restarts.
This is an excellent solution - especially as the application servers are
restarted more often than Apache! :)
Thanks
Exactly. Strange one.
Is there anything about an install of JRE or Tomcat that is inherently
Region based?
eg, Do I need to reinstall Tomcat or JRE when my region is US? It was AU
when installed. In other words, was the Region change totally effective when
these apps were initially installed
Hi
I am trying to setup Tomcat with Apache web-server. I know this is a
common problem, but I've searched the mailing lists database and have
not found a solution to my problem. I have a feeling this is a simple
problem and not opening a vital port.
I'm running Apache2 (v2.0.59) with Tomcat
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: advice on creating a self contained demo
I was looking more for a way to bundle my webapp with TC,
and then just install that.
Look at the embedded capability of Tomcat. You can have a small Java
driver program that launches
From: Patrick Fong [mailto:[EMAIL PROTECTED]
Subject: Need setting up Tomcat with Apache web-server
Any ideas?
Just one, but you may not like it: simplify your life by getting rid of
httpd, unless you have a dire need for it. Configure Tomcat to use
ports 80 and 443 and let it serve your
From: Michael Casale [mailto:[EMAIL PROTECTED]
Subject: SSL not working on Tomcat
I'm struggling through setting up Tomcat with SSL on a Windows 2003
server, and even when I get the server running, with no errors in the
logs when restarting the tomcat service, all I get is a Page
Not
Yeah - I can't. Apache is currently used in the production server. Resin
is the current Servlet Engine. An open source alternative is best.
Caldarale, Charles R wrote:
From: Patrick Fong [mailto:[EMAIL PROTECTED]
Subject: Need setting up Tomcat with Apache web-server
Any ideas?
Just
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Max,
maxt wrote:
Is there anything about an install of JRE or Tomcat that is inherently
Region based?
I don't believe so. Your JRE will have a default locale that it picks
based upon some voodoo with your operating system, etc. For instance,
I'm
Did you try this with Firefox? IE has some problems
with no-cache in the header or as a pragma. Later
versions of Tomcat 5.5 set this.
There is a mailing list thread concerning this:
http://marc.theaimsgroup.com/?t=11180675668r=1w=2
along with some solutions.
Hope this helps.
/mde/
just
Tomcat does not seem to want to create a mod_jk.conf-auto file for me to
use with Apache. I've following the documentation to startup tomcat
using 'bin/startup.bat -jkconf ' .No file gets created and tomcat
just starts up normally (docs say it should create the mod_jk.conf-auto
file then
Hi,
According to you, one of the steps that you did was ,
I downloaded their root cert, imported it, converted their cert to
DER
format (on a separate Linux box), and imported it into the keystore.
You seem to be running your application on a windows box.
Can that be the reason why your
I've installed Firefox 2.0 and I get the error:
Firefox can't connect securely to upm.knoa.com because the site uses a
security protocol which isn't enabled
So... I changed sslProtocol=TLS to sslProtocol=SSL and restarted the
service. I get the same error.
Meanwhile, with Internet Explorer, I
I also tried building the keystore in PKCS12 format - importing both the
root cert and normal cert into the keystore.
I'm getting the same error.
Michael Casale
Systems Administrator / IT Manager
Knoa Software
[EMAIL PROTECTED]
Ph. (212) 807-9608 ext. 6000
Fax (212) 675-6121
Michael comments prefixed with Re
Howdy all,
I'm struggling through setting up Tomcat with SSL on a Windows 2003
server, and even when I get the server running, with no errors in the
logs when restarting the tomcat service, all I get is a Page Not Found
error when I point to the ssl port on
Thanks for your response. The tomcat keystore is located in c:\files. The
version of Java is 1.5.0_06
Thanks!
Mike
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 9:08 PM
To: Tomcat Users List
Subject: Re: SSL not working on Tomcat
You can use a filter:
/*
* Copyright (C) 2005 Tim Lucia.
*
* This software is distributed under the GNU General Public License (GPL).
*/
package tim.lucia;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import
Chris,
Using /header.jsp which is of course an absolute path, I get virtually the
same error. Only /../header.jsp changes to /header.jsp Still doesn't work.
You also suggested this: %@ include file=%= request.getContextPath()
%/header.jsp %
I tried it but the code inside the quotes does not
To further complicate this problem, I have tried more experimenting and am
becoming more frustrated.
The original situation remains below.
Now if I add a sub-directory to the admin subdirectoy, the directory structure
looks like this:
[main host directory (/host)]
index.jsp
header.jsp (ROOT
Justin Jaynes wrote:
To further complicate this problem, I have tried more experimenting and am
becoming more frustrated.
I have just tested all combinations of files and included files for
three levels of directories and everything is working as it should.
Just a guess but...
Is it possible
Oh snap! That's exactly what's happening. Can you point me to a good document
that expalins how to set up contexts? I've got everything set up exactly as
you described.
Any good reading for a comprehensive (or even rudimetry) understanding would be
greatly appreciated.
If you can explain
Using Tomcat 5.5.20, I'm having no trouble with relative paths such as:
%@ include file=../filename.inc %
... and we have several of them. So your original usage looks correct.
I would say to be sure you didn't put the wrong index.jsp file in the
main app directory.
We do not use a
Justin Jaynes wrote:
Oh snap! That's exactly what's happening. Can you point me to a good
document that expalins how to set up contexts? I've got everything set up
exactly as you described.
Any good reading for a comprehensive (or even rudimetry) understanding would
be greatly
THank you, I don't know
I just can say that this error occured the first time:
Has someone seen it before?
Nice greetings Starki
2006-11-07 11:25:49 StandardManager[/pss] IOException while loading persisted
sessions: java.io.WriteAbortedException: writing aborted;
80 matches
Mail list logo