10.0
So, pretty close :-)
I need to check if this particular version of tomcat (jvm) when set up for
ssl
response with strange bits when telneting to the ssl port.
... and same as before, only a blank line response/close connection.
FWIW!
--
Hassan Schroeder
mething* loggedl :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
y qualified) name.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
enter something after the "Escape character is '^]'." line the
result is a blank line and connection closed.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users
in my configuration
The Connector on the test system above is configured with
sslProtocol="TLS"
so you might consider Chuck's suggestion for starters...
--
Hassan Schroeder [EMAIL PROTECTED]
---
uck on Windows, in
something like c:\WINDOWS\system32\drrivers\etc\hosts).
An easy and convenient way to separate projects that each need
(or expect) their own ROOT context.
FWIW,
--
Hassan Schroeder [EMAIL PRO
ething like (.bashrc example)
export JAVA_HOME=/usr/local/jdk1.5.0_06
export JRE_HOME=$JAVA_HOME/jre
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin: ... all your other path entries ...
HTH,
--
Hassan Schroeder [EMAI
does that
mean? Are you using something other than a Web browser? If it's a
404 problem, what do your access logs show?
A little more info would help... :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
lushpackets" parameter to the ProxyPass
directive <http://httpd.apache.org/docs/2.2/mod/mod_proxy.html> :-)
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: user
On 12/7/06, dfelicia <[EMAIL PROTECTED]> wrote:
mod_proxy is ... It also doesn't offer
load-balancing,
Not true; see <http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html>
I've used this recently (with mod_proxy_ajp) and it worked fine. :-)
FWI
ween
apache (mod_jk) and tomcat, but which parameter could affect this ?
Interesting, but I haven't used mod_jk since last century :-)
As another data point, though, you might try it with mod_proxy_ajp to
isolate the AJP Connector.
HTH!
--
Hassan Schroeder
t in the middle)
Perhaps a browser problem? What happens if you use wget or similar
to fetch the image?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsu
ml#access>
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote:
>path is derived from the name of the WAR file.
If it is ignored, how can it be specified when uploading a war file via
the manager?
As originally stated -- it's the name of the WAR file.
--
Ha
- it's irrelevant and ignored, since the
path is derived from the name of the WAR file.
HTH!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-m
On 11/15/06, Ernie Ho <[EMAIL PROTECTED]> wrote:
my tomcat server is behind a proxy; how would you specify the proxy
setting? Is there some config file to edit?
The *client* that's trying to *connect to* Tomcat needs to be
configured to know about the proxy.
--
Hassa
/divide/whatever. :-)
On- or off-list is fine, as you prefer.
Thanks!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
bute in a
context.xml file under META-INF, and is that *really* what you want
the path to be?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-m
but that Context path is wrong -- should be ""
(null path) for the default Context. (Just guessing that it might cause
a mismatched path in the session cookie.) So fix that first. :-)
--
Hassan Schroeder ---
t, not in your path.
What happens with
/usr/java/jdk1.5.0_04/bin/java -version
I've used .rpm distrib from sun web cite and alien tool to convert
it to .deb.
Personally I'd uninstall /whatever/ that thing is, and install directly from
the Sun .bin version. :-)
--
Hassan Schroeder --
et science, and having multiple aliased hosts
on your desktop can simplify a developer's life immensely. :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
there's a valid reason --
Create separate virtual hosts with unique AppBases and run each
project as ROOT in its own vhost. End of problem.
HTH!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To star
On 11/3/06, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Does anyone else suspect that Martin is actually an expert system
designed to read and respond to mailing list posts, but is totally
failing the Turing test?
Yeah, I've been thinking exactly that for a while now. :-)
in your web.xml?
java.security.cert.CertificateExpiredException
/WEB-INF/errors/expired.jsp
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAI
you to recognize that and deal with it.
And yes, I for one use filters for this kind of thing all the time...
HTH!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.
se) so that we can access the tomcat status pages to
determine the memory usage and thread information.
You can restrict access to the manager by IP -- see:
<http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html>
HTH,
--
Hassan Schroeder [EMA
oReconnectForPools" -- any experience with that?
It's best in a design pattern to implement a connection pool,,,
Of course.
As far as the OP's problem is concerned, some additional information
like relevant log and code excerpts would be most helpful.
Uh, did you look at t
occurs
and retry connecting to see if it's a simple timeout/transient failure or
something more persistent.
HTH!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomc
On 9/25/06, Roger Mori-Tuesta <[EMAIL PROTECTED]> wrote:
I'd like to change the default index.jsp/index.html page with
my /tomcat-5-15-home/webapps/obc/myindex.jsp.
See the Servlet spec for
HTH,
--
Hassan Schroeder [EMAI
er, I could probably whip up a sanitized sample
config -- let me know.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PRO
ay be some areas (e.g. your JavaScript example)
that need unique tweaking depending on the individual webapp.
FWIW!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomc
still
appears as www.abcdomain.com with no /abc identifier after it. (Does this
make sense?
No. Why don't you just have virtual hosts in Tomcat? That would seem
the obvious way to handle this, whether you "need" Apache in front of
it (for some other unrelated reason) or
quot;; I see the defaultHost
(host1). My Question is: how can I test my other hosts (host2 and host3)
Add them to your hosts file -- on Windows it's something similar to
C: \WINNT\System32\drivers\etc\hosts
HTH,
--
Hassan Schroeder
On 9/14/06, Kristian Rink <[EMAIL PROTECTED]> wrote:
... Could this be due to a web-browser related timeout?
You would certainly get more reproducible test results using, say,
`curl` to do test uploads.
--
Hassan Schroeder [EMAIL PRO
way, does that address your use case?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
d port e.g. 8080...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sername" != "USERNAME", etc. :-)
CREATE TABLE "HR"."USERS"
("NAME" VARCHAR2(32 CHAR),
"USER_ID" NUMBER,
"LASTNAME" VARCHAR2(32 CHAR),
"USERNAME" VARCHAR2(32 CHAR), ...
And have you looked at your logs?
On 8/25/06, Paul Singleton <[EMAIL PROTECTED]> wrote:
In 5.5.9 you can put all your certificates in one
keystore ...
I suggest you don't proliferate keystores unless you
really have to...
Why? It seems far more manageable to me having them separate...
--
Hassa
ed keystore per IP (or IP/port) that you want to secure.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
On 8/22/06, Kallin Nagelberg <[EMAIL PROTECTED]> wrote:
What is the best way to setup multiple paths all pointing to the same
docbase?
Have only one Context and use a Filter to forward from the fake "paths"? :-)
--
Hassan Schroeder
ne component for
processing incoming requests.
Hence you could easily configure two Services, each with a connector
for one of your target ports.
Alternatively, you could use Filters to prevent each app running on an
"unauthorized" port.
FWIW!
--
Hassan Schroeder ---
;s timing belt do assume a
certainly familiarity with hand tools and internal combustion engines...
FWIW!
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubs
it, eh?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ly set somewhere to an integer value...)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
On 8/6/06, Li <[EMAIL PROTECTED]> wrote:
The JDBCRealm I defined for deployed one is in server.xml, any idea?
Yes -- read the Fine Manual:
<http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html>
:: which directly addresses your issue :-)
--
Hass
On 8/6/06, Julien vander Straeten <[EMAIL PROTECTED]> wrote:
Could someone tell me what command I have to type to make this thing
work?
<http://catb.org/~esr/faqs/smart-questions.html> :-)
--
Hassan Schroeder [EMA
be needing mod_jk right? How do I point each IP to my
application?
Do you need Apache httpd for some reason? Supporting PHP or
some other non-Java app? If not, forget it and mod_jk.
Each individual app (Context) is contained within the appropriate Host
element. That
o elements, each having its own ROOT
context.
So simple, no mod_rewrite nonsense required...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscr
On 8/1/06, Robinson, Eric <[EMAIL PROTECTED]> wrote:
I deleted the first one. It was a legacy of when the application used to
be in that path. Same result.
And restarted Tomcat?
What is your instance of Tomcat's relevant appBase pointing to?
--
Hassa
of the file are as follows:
And you could certainly specify an absolute path for your docBase,
if you're in a hurry :-)
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topi
r each application, so I can deploy new applications that access
these resources without having to modify my server configuration.
So don't put your Context elements in server.xml -- put them in your
new webapp's META-INF/context.xml, where they should be anyway :-)
--
<http://tomcat.apache.org/tomcat-5.5-doc/config/host.html>
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
an arbitrary number of webapps.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is called a "virtual host"; it requires DNS entries to point that URL
to your server, that's all.
Setting up virtual hosting in Tomcat is documented. :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
On 7/26/06, Ian Caswell <[EMAIL PROTECTED]> wrote:
, but i don't know how to
verify it's loaded. Is there a way for apache
to show loaded modules?
$APACHE_HOME/bin/apachectl -M
--
Hassan Schroeder
at you running?
that quick test was on 5.5.17 standalone just to confirm the correct
http header was being sent.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.
pected status 503 header.
So there wouldn't seem to be a problem, eh?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PRO
of your
mod_jk stuff, and go on from there.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote:
Thanks for the pointer, but the problem that I see is that Apache is
returning the status code 200 to the browser.
If Apache is generating an "internal server error" as you indicated, it
should be returning a 5xx status, I
On 7/24/06, Ronald Klop <[EMAIL PROTECTED]> wrote:
...port/package stilll has the dependency for xorg-client-libs.
See /usr/ports/www/tomcat55.
So are you saying this "port/package" thing introduces a dependency
not found in a normal install?
--
On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote:
Is there any way I can customize that error page to say/show something
different?
See the Apache doc for "ErrorDocument"
--
Hassan Schroeder
ind`, perhaps.
And I heartily second rthe recommendation to uninstall all this stuff
and install the JDK and Tomcat from tar files...
Good luck,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-ma
where is my JDK, I installed it.
So you need to locate it and set that environment variable.
This is the reason people who use "installers" need to become very
proficient with the "find" command :-)
--
Hassan Schroeder ---
On 7/24/06, Richard Ehrlich <[EMAIL PROTECTED]> wrote:
Will Tomcat 5.5/freeBSD 6.1 work well with X11/Xorg?
It would take less time to try it than to ask :-)
And I can't imagine what fonts have to do with server software...
--
Hassan Schroeder [EMAI
On 7/24/06, Richard Ehrlich <[EMAIL PROTECTED]> wrote:
I want to install tomcat 5.5. I see references in the requirements to
XF86 and its fonts.
?? where?
--
Hassan Schroeder [EMAIL PROTECTED]
--
ose numbers for, well,
ever :-)
A little experimentation shows that Tomcat with only the manager app
will run with ` -Xms4m -Xmx4m` (at 2m it immediately exits OOM).
Guess I should revisit some of my webapps' memory usage :-)
--
Hassan Schroeder
ault catalina.sh script -- starts with:
Free memory: 1.40 MB Total memory: 4.93 MB Max memory: 63.56 MB
I doubt anyone will get much of an application to run in that available free
space. Hence my suggestion that the 64Mb default is pretty useless :-)
YMMV,
--
Hassan Schroeder ---
ave 2MB available
after starting the server and not even running my application.
Sure you can. :-) The default JVM size of 64Mb is ridiculously small.
Bump it up to ~256Mb at least...
--
Hassan Schroeder [EMAIL PROTECTED]
- and make sure that
there aren't other errors keeping your context from starting.
Then add back your servlet's url-mapping and watch your logs :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To
DK/JRE you installed!
Because that looks like you're using (expletives deleted) GNU "java"
and I would expect problems with that...
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To star
simple. Reading the Fine Manual will help
a lot, too, if that's not sufficiently clear...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-m
looks like 'http://localhost:8080/abc/abc'
to your control servlet, which probably isn't what you want... :-)
Or there's something else broken in your Context, and that should be
indicated in your logs at startup.
FWIW,
tion or can i
achieve this using tomcat itself ? If so what should I do to achieve this ?
You certainly don't need apache, but you do need to read the servlet
spec about welcome files and forwarding. :-)
Also, if the originating URL is the root of your site, where is the value
"username
t means that if you drop a changed JSP on the server, it's in the
future for 15 minutes, eh? At least as far as that server's concerned :-)
Set up NTPD on that server today...
--
Hassan Schroeder ---
ut the original and "fixed" URLs in a HashMap and save
the string processing. TMTOWTDI. :-)
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.or
ve all *.css files with a servlet that "fixes" the paths or
2) rewrite the css file paths with a Filter
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.o
What path do your logs show as being requested?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e
? Either of those would do it :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
the comments in server.xml
are all you really need...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
s fine on a test
page I just did that mirrors your described files. So *exactly* how is
this not working for you?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
T
ime
in a few minutes, no problems encountered.
or any other documentation/info for clustering 2 tomcat servers? What I want
is 2 servers with tomcat installed to be clustered for failover and
loadbalancing.
So have you tried following the directions? If so, what didn't work?
--
s painful:-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
en
serving CSS files.
So what's the problem? You map your servlet to *.jsp, and everything
else goes to the DefaultServlet. Right?
How is this not working?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To s
ried and exactly how it "didn't work"...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and what should i have in this
{context}.xml files and what should i have in server.xml :-( a
nd where should i put this {context}.xml file?
Where are you defining your contexts now??
--
Hassan Schroeder [EMAIL PROTECTED]
--
ion with about 50% of the requests.
You're sending Flash files to Windows Media Player?? I can imagine
that resulting in a closed connection :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start
part of your server.xml and
{context}.xml files
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
hen you try to access
your example cgi? Exactly what kind of file is your example?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-m
same string. But
we see 2 characters. Obviously it's interpreted as ISO8859-1
<http://tomcat.apache.org/tomcat-5.5-doc/config/http.html>
URIEncoding
This specifies the character encoding used to decode the URI bytes,
after %xx decoding the URL. If not specified, ISO
d then reinstalled it"?
Wouldn't that wipe out your configuration changes?
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [
On 6/28/06, Erik Matthew Brakke <[EMAIL PROTECTED]> wrote:
keystoreFile="C:\Documents and Settings\Administrator\.keystore"
It's highly advisable to avoid paths with spaces in them for anything
related to Tomcat, Java, etc.
FWIW!
--
Hassan Schroeder
t-5.5-doc/config/context.html>
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote:
I'm trying to make a Servlet act as a Index page
Suggestion: *read* the 2.4 Servlet Spec :-)
If you're not running a 2.4 webapp, forward from the welcome-file
of your choice...
HTH,
--
Hassan Schroeder ---
)(nor does it match any examples in JSP.7.3)...
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
o your operating environment. IMHO :-)
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
in quite a while :-)
The PHP4 servlet worked, but wasn't all that stable, in my limited
experience. And when it crashed it took the whole JVM with it, so
I didn't think it suitable for production. YMMV.
HTH!
--
Hassan Schroeder ---
and I'll try it on an existing
working install.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 5/26/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I thought the welcome page had to be a .jsp or .html according to the
servlet spec?
? Where do you see that in the spec?
--
Hassan Schroeder [EMAIL PRO
ect to that instead of just forwarding, but
have you tried `response.sendRedirect("/welcome.jsf");` ?
For that matter, why not just add 'welcome.jsf' to your welcome
file list? :-) Anyway --
Is it the first line in your page? No white space being sent first?
--
Hassan Schr
in your log when you start up
Tomcat now? There should be some reference to why /smsinfo
isn't found, or isn't starting.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a new topic, e-mail: us
801 - 900 of 983 matches
Mail list logo