I´ll check the configuration.Thanks
Do you know how to configure the tomcat manager page the one at
/opt/jakarta/tomcat/webapps/ROOT so nobody from the internet can access
it but I could get to it, to upload servlets but only locally. I know that
I can change the port but that´s not what I´m
Once you get the connector working you could disable tomcat on 8080 so it is
only accessible through apache.
I think you can also you use filters to filter which ip addresses are allowed
to connect but you'll need to read up the docs on that.
-Original Message-
From: Allen Beacon
If get the connector working, would I be able to access /webapps/ROOT via
web? and in case this happens, could I create a virual server (for local
host) pointing to webapps/ROOT so it will only be accessed locally?
thank you very much!
Once you get the connector working you could disable tomcat
It's up to you whether it is accessible from the web or not. You map each
application individually in the connector configuration. All you need to do it
just not map the ROOT context and then it's not available from the web.
-Original Message-
From: Allen Beacon [mailto:[EMAIL
Ok I got the connector working but I´m afraid that if disable 8080 on
tomcat, I won´t be able to access the ROOT context not even locally.
It's up to you whether it is accessible from the web or not. You map each
application individually in the connector configuration. All you need to
do it
Ah yes, you'd be right in thinking that. You should read up on filters then and
you should be able to put a restriction on it.
Ta
Matt
-Original Message-
From: Allen Beacon [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 09:56
To: [EMAIL PROTECTED]
Subject: RE: Tomcat
Ok I got the
What if I disable 8080 on tomcat and put it in the connector of apache and
create a virtual server (with a local ip) for it.
thanks!
Ah yes, you'd be right in thinking that. You should read up on filters
then and you should be able to put a restriction on it.
Ta
Matt
-Original
yeah, you could do it that way too. There are probably loads of ways but that's
as good as any.
Good luck
Ta
Matt
-Original Message-
From: Allen Beacon [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 10:15
To: [EMAIL PROTECTED]
Subject: RE: Tomcat
What if I disable 8080 on tomcat
Hi,
After reading this mail last night I found a shop in Dublin which had the
book in stock. I raced into town after work to get there before the shop
closed and got there 5 minutes before closing.
I was so relieved and when I saw the book on the shelf I was well pleased.
Only when I opened it
lol, thanks for that, i'll be waiting for january too in that case!
Allistair.
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 10:30
To: Tomcat Users List
Subject: Re: [OT] SCWCD Exam 1.4
Hi,
After reading this mail last night I found a shop
Hi,
I am quite new at tomcat so I am asking for your help.
I am trying to make tomcat deal with connection to my oracle database
Here is what I do:
1. I added the classes12.jar in the CATALINA_HOME\common\lib
2. in the server.xml, I added the following code
Context path=/BaseDeDonnees
Hi!
Can u check ur web-inf\classes folder
Under this folder org\apache related .jsr files should be there for
Connection related process.
Regards
Vink
- Original Message -
From: lydie soler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 26, 2004 4:32 PM
Subject: help
check for commons-collections.jar in your webapp's WEB-INF/lib folder. if you
don't have it download from jakarta.
-Original Message-
From: lydie soler [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 11:02
To: [EMAIL PROTECTED]
Subject: help on JDNI , DBCP with oracle
Hi,
I
HI!
Sorry, Some spell miss
Not .jsr it should be .jar
Under this folder org\apache related .jar files should be there for
- Original Message -
From: Vinayagam [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 26, 2004 4:44 PM
Subject: Re: help on
erm, no, there should *not* be a folder in WEB-INF/classes called org/apache.
You should obtain the commons-collections.jar and place it in WEB-INF/lib
-Original Message-
From: Vinayagam [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 11:23
To: Tomcat Users List
Subject: Re: help
Thanks to all of you for your support! one last and stupid question. To
disable the 8080 on tomcat, do I have to edit server.xml look for 8080 and
comment or delete this line?
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080
--
Connector
Ya!
It should be in web-inf\lib.
- Original Message -
From: Allistair Crossley [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 26, 2004 5:01 PM
Subject: RE: help on JDNI , DBCP with oracle
erm, no, there should *not* be a folder in WEB-INF/classes called
i think you can comment it out if you don't need it. jk will connect to the ajp
connector instead on port 8009 by default.
-Original Message-
From: Allen Beacon [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 11:28
To: [EMAIL PROTECTED]
Subject: RE: Tomcat
Thanks to all of you
Yup, that's right, once this connector is removed, the only way to connect is
through apache.
-Original Message-
From: Allen Beacon [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 11:28
To: [EMAIL PROTECTED]
Subject: RE: Tomcat
Thanks to all of you for your support! one last and
Hello,
Can anybody give me the address for the 2.4 Servlet and 2.0 JSP specifications?
Thanks,
Andoni.
jeez, ever heard of google?
http://www.jcp.org/aboutJava/communityprocess/final/jsr154/
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 12:07
To: Tomcat Users List
Subject: Where is the 2.4 spec.?
Hello,
Can anybody give me the address for
Hi,
We have tomcat 5.0.19 on our box but it has been installed without tomcat
manager and administration. There is no ../server/webapps/ directory.
How can I manually add these without having to reinstall tomcat.
Thanks,
Ciaran
well I have this .jar in the CATALINA_HOME\common\lib.
You mean that I need to copy it into the folder my app\web-inf \lib?
Lydie
Original Message Follows
From: Vinayagam [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re:
On Friday 26 November 2004 14:33, Ciaran Hanley wrote:
Hi,
Hi,
We have tomcat 5.0.19 on our box but it has been installed without tomcat
manager and administration. There is no ../server/webapps/ directory.
Ooops. :p
How can I manually add these without having to reinstall tomcat.
Just
Is it just a matter of copying the same tomcat version /server/webapps/
directory over? Does anything else need to be configured?
Thanks
-Original Message-
From: Quinton Delpeche [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 12:40
To: [EMAIL PROTECTED]
Subject: Re: Tomcat manager +
well I copied it and no change...
I have forgotten to tell you that I am currently trying to run it from my
Eclipse developpement tool. It may be important...
Lydie
Original Message Follows
From: Vinayagam [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users
please don'search anymore I think I have found my error.
I had an application that uses classes12.jar but not from Tomcat from this
app directory. So it seems that Tomcat was messed up! I removed the option
forcing Tomcat to use the .jar from the app directory and now it seems to
work.
Thanks
Thanks for that. Let me pass this page on which I intend to bookmark:
http://www.jcp.org/en/jsr/all
It lists all the JCP Specifications.
Andoni.
- Original Message -
From: Allistair Crossley [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 26, 2004
On Thu, 25 Nov 2004 06:21:52 -0800 (PST), Chirag [EMAIL PROTECTED] wrote:
Software Installed
--
jakarta-tomcat-5.5.2
JDK 1.5
IE 6.0SP1
Requirement
The PC has Internet Connection. and we start the
Tomcat Server.
After that we try to see
So it looks more like Dummies for GMAT? I once saw a guy read that Dummies
book before he took the GMAT.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: November 26, 2004 5:31 AM
To: Tomcat Users List
Subject: RE: [OT] SCWCD Exam 1.4
lol, thanks for that,
Wrong suggestion. It will cause NoClassDefFoundException since Tomcat has it
in common/lib.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: November 26, 2004 6:21 AM
To: Tomcat Users List
Subject: RE: help on JDNI , DBCP with oracle
check for
not in Tomcat 5.5.4 it isn't. i have commons-collections in our web-inf/lib,
and we use jndi datasources without problem.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 15:05
To: 'Tomcat Users List'
Subject: RE: help on JDNI , DBCP with oracle
Ha! Well I know this type of book has to come as a shock, especially as a
book for certification. As I said earlier I gave up on the Head First Java
book because it was just too childlike. But this one has surprised me.
Maybe that's because I went through both the Manning and Wrox books to get
my
Tomcat 5.0.28, Windows XP
System global environment variables set:
JAVA_HOME = c:/j2sdk1.4.2_04
CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0
Installed using jakarta-tomcat-5.0.28.exe default install options
(Installs to program files)
it's not possible to start from
Allen Beacon wrote:
Do you know how to configure the tomcat manager page the one at
/opt/jakarta/tomcat/webapps/ROOT so nobody from the internet can access
it but I could get to it, to upload servlets but only locally. I know that
I can change the port but that´s not what I´m looking for.
On the
On Friday 26 November 2004 17:17, Roman D wrote:
Tomcat 5.0.28, Windows XP
System global environment variables set:
JAVA_HOME = c:/j2sdk1.4.2_04
CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0
Installed using jakarta-tomcat-5.0.28.exe default install options
(Installs
For tomcat 5, you should try startup-using-launcher.bat
-Original Message-
From: Quinton Delpeche [mailto:[EMAIL PROTECTED]
Sent: November 26, 2004 10:29 AM
To: Tomcat Users List
Subject: Re: Tomcat not starting using startup.bat
On Friday 26 November 2004 17:17, Roman D wrote:
Do you mean commons-collection is no longer in 5.5.4 common/lib?
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: November 26, 2004 10:14 AM
To: Tomcat Users List
Subject: RE: help on JDNI , DBCP with oracle
not in Tomcat 5.5.4 it isn't. i have
the only commons packages I can see by name are
commons-modeler.jar
commons-el.jar
in server/lib and common/lib respectively, so apparently not.
cheers.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 15:40
To: 'Tomcat Users List'
Subject:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Roman D
Subject: Tomcat not starting using startup.bat
Tomcat 5.0.28, Windows XP
System global environment variables set:
JAVA_HOME = c:/j2sdk1.4.2_04
CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0
You can try
That´s just what I was looking for, thanks. You are right, I when I
configured the tomcat-users.xml I read the document so fast that I didn´t
even noticed this:
In addition to the password restrictions the manager web application could
be restricted by the remote IP address or host by adding a
Allen Beacon wrote:
Context path=/manager debug=0 privileged=true
docBase=/usr/local/kinetic/tomcat4/server/webapps/manager
Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
/Context
I´m guessing that I should use that inside the
Helloo
For specification of jsp and servlet u can use resources of
java.sun.com
This is best source available on net
Regards
Deepak
its best
On Fri, 26 Nov 2004 Andoni wrote :
Thanks for that. Let me pass this page on which I intend to bookmark:
http://www.jcp.org/en/jsr/all
It lists
Helloo for that
u can specify context path in server.xml
and as well as u can specify the name of jsp into web.xml
if required
Deepak
On Fri, 26 Nov 2004 [EMAIL PROTECTED] wrote :
Hi there,
I would like to access my pages created with applets in Tomcat by typing
the host in the URL and
Hi,
i'm creating a filter which needs to know if the request is an instance of
org.apache.catalina.connector.RequestFacade.
When executing the 'if (request instanceof RequestFacade)' the program gives
an error for that line:
java.lang.NoClassDefFoundError:
The question relates to my home study of the Tomcat Server via the book
referenced below.
Added Context via Tomcat Administration page.
Added Resource, ResourceParams, and parameter tags by hand-editing
the server.xml file, and re-starting.
Reference: Ian McFarland, Peter Harrison, Mastering
Hi,
It´s possible use FORM authentication and CLIENT-CERT in the same
application. How can I do this ?
Thanks,
Raphael Gallo
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
I apologize for the length of this note but I have attempted to shorten
it as much as possible without removing possible useful information.
I am trying to deploy an app on TC 5.0.28 running on a Linux box at my
ISP. This app deploys and runs without error on TC 5.0.25 on Windows
I've been digging around on the tomcat web pages, and it appears that
the version 4 docs are still in use under version 5 tomcat. I'm new to
tomcat 5 and have only used tomcat 4 to a small extent, never had to
administrate it before. I'm trying to make sense of the subdirectories
shared and
D. Stimits wrote:
I've been digging around on the tomcat web pages, and it appears that
the version 4 docs are still in use under version 5 tomcat. I'm new to
tomcat 5 and have only used tomcat 4 to a small extent, never had to
administrate it before. I'm trying to make sense of the
TC4.1 and TC5.0 have almost the same directory structure, except in TC5.0,
${your.app}.xml is under ${catalina_home}/conf/${engine}/${host}. Oin order
to deploy your web app, put your war or expanded war into
${catalina_home}/webapps/${host}. If you use struts, drop off struts.jar to
WEB-INF/lib.
Dear Folks,
I have a test request filter on TC5.0.29. It is defined in server.xml as
follows and it works:
conf\server.xml:
Context path= docBase=ROOT debug=0
Valve className=com.oreilly.tomcat.valves.BadInputFilterValve
deny=\x00,\x04,\x08,\x0a,\x0d/
/Context
How do I move this
Since your context is called '/servlet', the correct URL is
http://www.example.com/servlet/servlet/HelloServlet (without a
servlet-mapping) or http://www.example.com/servlet/servlet/helloservlet
(with a servlet-mapping). You probably want to change your servlet-mapping
to have:
Hello,
On Thu, 25 Nov 2004 09:19:15 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
to me it sounds like you are compiling your jsps without a reloadable
context. have you set reloadable=true on your Context .. element?
nope, doesn't work. AFAIK, that's only for servlets. Right?
Regards,
Valves (and other custom components, like Realms) written for TC 5.0.x will
at the very least have to be re-compiled to work for TC 5.5.x. More likely,
there will have to be code changes to make them work. That's just the price
you pay for relying on TC internals ;-).
David Lee [EMAIL
On Fri, 26 Nov 2004 15:14:27 -0800, David Lee [EMAIL PROTECTED] wrote:
Dear Folks,
I have a test request filter on TC5.0.29. It is defined in server.xml as
follows and it works:
conf\server.xml:
Context path= docBase=ROOT debug=0
Valve
Yes, It has been rewritten and recompiled, the last thing is How do I
specify the context,
I mean move the context to TC5.5.3.
Thanks
David
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Friday, November 26, 2004 3:25 PM
To: [EMAIL PROTECTED]
Hi! Remy,
For TC5.5.3
I put the context in conf\context.xml as follows
!-- The contents of this file will be loaded for each web application --
Context path= docBase=ROOT debug=0
!-- Default set of monitored resources --
WatchedResourceWEB-INF/web.xml/WatchedResource
You'd have to let your web app also be able to use the server classloader.
You can do this by setting server=true in the Context declaration.
That being said - whatever your trying to do is probably a very bad idea.
-Tim
Brij Naald wrote:
Hi,
i'm creating a filter which needs to know if the
Ant is trying to create some temporary files to compile the JSP. Ant cannot
write the temp file. Somewhere in the archives or in bugzilla there was a
discussion about this.
-Tim
M.Hockings wrote:
Hello,
I apologize for the length of this note but I have attempted to shorten
it as much as
-- Virus Warning Message (on uusnwa0n)
Found virus WORM_NETSKY.Z in file Notice.txt
.exe (in Notice.zip)
The file is deleted.
I missed the following important information that was in the Tomcat
documentation, that wasn't in the book I was reading. I am currently
getting the following exception in my log file when executing a servlet
that obtains a DataSource using the JNDI InitialContext. I previously
thought it might be
hi all...
i m getting these enteries in my error_log file
after every five mins or so...
[Sat Nov 27 08:26:12 2004] [error] Error ajp_process_callback - write failed
[Sat Nov 27 08:26:12 2004] [error] ajp13.service() ajpGetReply unrecoverable
error 3
[Sat Nov 27 08:26:12 2004] [error]
Hi
I know this is a basic question. I am passing the request and response object
to another thread from the doGet() and after that the Get method returns. So
that the processing is done in the thread and response to client will be
flushed later. But by that time the servlet method would
Hai all,
+--Root
+--Web-Inf
+--Classes
--HelloWorld.class
+--servlet
+--myservlet
--Myservlet.class
I am using the following servlet mapping in my webApplication
Deployment Descriptor
I created a custom resource factory for Tomcat which works great in
5.0.xx. However, I'm having an issue with the new configuration 5.5.x
where all config is done via attributes rather than as nested parameter
elements. Basically, I've got a parameter of which the value needs to
include
Couple of things...
No, I don't believe you can do anything with request/response after you
exit doGet(). Well, let me amend that... you MIGHT be able to get away
with it, but I wouldn't expect it to work all the time. What I mean is,
once your servlet is done it's work, the container takes
hi all
i m getting these enteries in my tomcat log file
very frequently
INFO: server has been restarted or reset this connection
Nov 27, 2004 7:39:10 AM org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
Nov 27, 2004 7:39:41 AM
Or, are you trying to run some long-running process and think it would
be better off as it's own thread? If that's the case, you probably want
to look into some sort of queueing mechanism with either status polling
or some sort of callback when the task is complete. Again, more details
would
69 matches
Mail list logo