Yep, that was it exactly... I've been spoiled by frameworks :)
I did some experimentation myself, and dug a little in framework code, and
indeed, this has been taken care for me in the past, and I assumed it's done
by Tomcat (or any servlet container, for that matter), but it isn't.
Thanks,
Naama
Hi all.
Jumping in a bit late, but...
You have 3 options for plugging TC into Apache's URL space:
1. mod_proxy + mod_proxy_http
2. mod_proxy + mod_proxy_ajp
3. mod_jk
Solution 1 is a simple proxy, works like a charm, except for one thing - it
WILL NOT give you the identity of authenticated use
http://www.dpawson.co.uk/tomcat
Any feedback/improvements appreciated. Particularly any errors.
Meant as a simple example of getting a first servlet working, based on
help I received from this list.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
---
Dave,
I would suggest that section headings can be a bit clearer, as in the
following:
Install location. For this I'm going to use /tc since it is short to write.
See for more, I found that quite clear. I installed as root to keep it all
straightforward. As with the Tomcat documentation, I
It looks like I have it set up when I run it with the following script:
export JAVA_HOME=/home/qsys/jdk1.6.0_12
/home/qsys/apache-tomcat-6.0.18/bin/startup.sh
ps
and I get the following
Using CATALINA_BASE: /home/qsys/apache-tomcat-6.018
Using CATALINA_HOME: /home/qsys/apache-tom
Done. Thanks Michel
2009/2/8 michel :
> Dave,
>
> I would suggest that section headings can be a bit clearer, as in the
> following:
...
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-
To unsubscribe, e
Hi,
I can access my tomcat manager with this:
http://localhost/manager/html
now I'd like to have manager enabled too in a virtual host,
sample.dyndns.org, I put a manager.xml under:
/usr/local/apache-tomcat-6.0.16/conf/Catalina/www.sample.dyndns.org
but I can't start it by:
http://sample.dy
Hi angelo.
Maybe this is because your virtual host is named www.sample.dyndns.org and your
dns points to sample.dyndns.org.
Regards,
Stefan
--Originalnachricht--
Von: Angelo Chen
An:users@tomcat.apache.org
Antwort an:Tomcat Users List
Betreff: Problem enabling manager for virtual host
Ges
> From: Angelo Chen [mailto:angelochen...@yahoo.com.hk]
> Subject: Problem enabling manager for virtual host
>
> but I can't start it by:
> http://sample.dyndns.org/manager/
Nor should you be able to; the correct URL would be:
http://sample.dyndns.org/manager/html
There's is no servlet mapping in
Thanks, it works!
Caldarale, Charles R wrote:
>
>> From: Angelo Chen [mailto:angelochen...@yahoo.com.hk]
>> Subject: Problem enabling manager for virtual host
>>
>> but I can't start it by:
>> http://sample.dyndns.org/manager/
>
> Nor should you be able to; the correct URL would be:
> http://s
> From: Dave Pawson [mailto:dave.paw...@gmail.com]
> Subject: Simple Tomcat 6, servlet tutorial. First draft for comment
>
> http://www.dpawson.co.uk/tomcat
Looks pretty good. Some nits to pick:
Under "Compile the restlet example code", you include catalina.jar and
tomcat-juli.jar; neither of t
hi,
I am getting internal server error when trying to access the website. It
is very urgent for me as the migraion is stuck because of that. The
entries in httpd.conf are like:-
-
ServerAdmin rajen...@direct
On Sun, Feb 8, 2009 at 7:18 AM, wrote:
> I am getting internal server error when trying to access the website.
> What could be the reason for this.
1) error in server config
2) error in application code
3) error in external resource (e.g. database)
4) dude, the universe is just messin' with ya
Hi Michel,
1. Can you check catalina.out logs ?
2 .try this commnad
# netstat -vatn | grep 80
and check the output
Regards,
Ovidiu
On Sun, Feb 8, 2009 at 7:20 AM, michel wrote:
> It looks like I have it set up when I run it with the following script:
>
> export JAVA_HOME=/home/qsys/jdk1
Thanks, for your answer. The error_log shows like the following:-
Sun Feb 8 15:53:14 2009] [notice] caught SIGTERM, shutting down
[Sun Feb 8 15:53:22 2009] [notice] Apache/1.3.12 (Unix) mod_jk/1.2.6
mod_ssl/2.6.6 OpenSSL/0.9.5 configured -- resuming normal operations
[Sun Feb 8 15:56:13 2009] [
2009/2/8 Caldarale, Charles R :
> Looks pretty good. Some nits to pick:
np
>
> Under "Compile the restlet example code", you include catalina.jar and
> tomcat-juli.jar; neither of these should be necessary to compile a servlet.
> If they are necessary, there's something wrong with the servlet
Much thanks, and now I learned one place to look for finding errors!
Seems that the default port 8080 is somehow used (Protocol handler start
failed: java.net.BindException: Address already in use:8080), so I
just change it in server.xml (from what I have been reading). But I am
wondering abo
Telnet localhost 8080
Netstat -arn | grep 8080
-Original Message-
From: michel
Date: Sun, 08 Feb 2009 11:27:36
To: Tomcat Users List
Subject: Re: Still trying to get Tomcat 6 to work
Much thanks, and now I learned one place to look for finding errors!
Seems that the default port 8
2009/2/8 michel :
> Much thanks, and now I learned one place to look for finding errors!
>
>
> Seems that the default port 8080 is somehow used (Protocol handler start
> failed: java.net.BindException: Address already in use:8080), so I
> just change it in server.xml (from what I have been reading)
michel wrote:
Much thanks, and now I learned one place to look for finding errors!
Seems that the default port 8080 is somehow used (Protocol handler start
failed: java.net.BindException: Address already in use:8080),
It does not *seem* to be used, it *is* already used.
(well, at least it was
On Sun, Feb 8, 2009 at 8:06 AM, Randhir singh
wrote:
> Thanks, for your answer. The error_log shows like the following:-
Sorry, that doesn't look to me like a error trace, but I haven't used
mod_jk in like forever. Maybe someone else can shed some light.
(Or maybe there are other clues somewhere
Randhir singh schrieb:
> Thanks, for your answer. The error_log shows like the following:-
>
> Sun Feb 8 15:53:14 2009] [notice] caught SIGTERM, shutting down
> [Sun Feb 8 15:53:22 2009] [notice] Apache/1.3.12 (Unix) mod_jk/1.2.6
> mod_ssl/2.6.6 OpenSSL/0.9.5 configured -- resuming normal operat
So, let's say I have a domain www.domain.com with an Tomcat (6.0.18) with an
app. in it.
currently, I'm accessing to an app. with www.domain.com/appName/servletName.
but, I would like to configure it so I access to it with just a
www.domain.com/
how could I do that?
tnx
--
View this message
Mod_jk
--Original Message--
From: bongo_zg
To: users@tomcat.apache.org
ReplyTo: Tomcat Users List
Subject: configure tomcat to hide servlet and app
Sent: Feb 8, 2009 15:42
So, let's say I have a domain www.domain.com with an Tomcat (6.0.18) with an
app. in it.
currently, I'm accessing
Randhir singh wrote:
Thanks, for your answer. The error_log shows like the following:-
Sun Feb 8 15:53:14 2009] [notice] caught SIGTERM, shutting down
[Sun Feb 8 15:53:22 2009] [notice] Apache/1.3.12 (Unix) mod_jk/1.2.6
mod_ssl/2.6.6 OpenSSL/0.9.5 configured -- resuming normal operations
[Sun
Steve,
if you don't know, at least refrain from inducing other people in error.
mod_jk is used when you have an Apache httpd in front of Tomcat, which
the OP never said he had.
bonzo_zg,
your question must have been asked and answered on this list about 100
times in the last 3 months. Search
The application I'm working on has been working on my development
machine and in production for over a year, but all of a sudden, I'm
getting a NullPointerException from the JDBC-ODBC bridge, but only when
I'm running the same code in Tomcat:
java.lang.NullPointerException
at sun.jdbc.odbc.JdbcOd
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: configure tomcat to hide servlet and app
>
> you have to delete the existing ROOT application, name
> yours "ROOT" and put it where the other one was.
That answered the how to hide the app part, but not the servlet. To make any
partic
For whatever reason, I've had to down-grade from jdk1.6.0_06 to
jdk1.5.0_14/jre and it seems to be working
> all of a sudden, I'm getting a NullPointerException from the JDBC-ODBC
bridge, but only when I'm running the same code in Tomcat:
>
> java.lang.NullPointerException
> at sun.jdbc.odbc.Jdb
> From: Nicholas Albion [mailto:nicholas.alb...@vecommerce.com.au]
> Subject: RE: NullPointerException from
> DriverManager.getConnection() -> JdbcOdbcDriver.initialize()
>
> all of a sudden, I'm getting a NullPointerException from
> the JDBC-ODBC bridge
The JDBC-ODBC bridge has never been anywher
(Sorry for the top-post)
Andre, well written reply.
I sometimes wish people would stop replying to questions that provide no
information/details
about the problem and their setup.
Send reply to: Tomcat Users List
Date sent: Sun, 08 Feb 2009 21:43:30 +0100
From:
that message does'nt make sense
%JAVA_HOME%\jre\lib\rt.jar
contains the sun.jdbc.odbc.JdbcOdbcDriver class
please verify rt.jar is on your CLASSPATH and display which version JAVA and TC
you are using..
Martin
__
Disclaimer and confidentiality no
Tomcat: 5.5.25
Java: 1.6.0_02-b06
It works when I run Tomcat on JRE 1.5.
The class is loaded in Java 1.6, but the NPE is thrown within the
JdbcOdbcDriver code:
> java.lang.NullPointerException
> at sun.jdbc.odbc.JdbcOdbcDriver.initialize(Unknown Source) at
> sun.jdbc.odbc.JdbcOdbcDriver.con
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Subject: RE: NullPointerException from
> DriverManager.getConnection() ->JdbcOdbcDriver.initialize()
>
> that message does'nt make sense
Why not? It's a NullPointerException, not a ClassNotFoundException.
> please verify rt.jar is on your CLAS
Hello, Tomcat users!
I'm using Tomcat 6.0.18.
Please, help me if you can.
My first problem is with JavaMail (1.4.1) JNDI.
I can't understand why my JNDI resource named "mail/OneName" in server.xml
is got successfully as "mail/AnotherName" in web.xml when I make this call:
(Session) ctx.lookup("
35 matches
Mail list logo