thanks for all your suggestions on this. it seems that an exploded
format is what most people deploy with just to make configuration
easier??
anyway, i'll think through some of these ideas.
much appreciated,
patrick
On 8/27/05, QM [EMAIL PROTECTED] wrote:
On Fri, Aug 26, 2005 at 11:47:54PM
Hi Patrick,
On 26 Aug 2005 at 17:24, QM wrote:
On Fri, Aug 26, 2005 at 02:16:26AM +0800, Patrick Lacson wrote:
: I know that's typically where they go, but if the file is inside the
: .war, how is the file going to be configured by the sysadming folks?
Our approach to this problem has been
Patrick,
Sorry for the late response. You have received quite a few ideas, but I
did not see one quite like what we do.
We use the deployer utility to deploy our application and have
customized (just added a task actually) the build.xml file to make
system-specific changes to our war and then
jdbc config options, common file system info, http urls for external
sites, things of that nature. we have a complex multitenant system
that needs to be configured by our sysadmins.
granted this app is hosted and not deployed at customers, but
currently we are hosting it on tomcat and later
On Fri, Aug 26, 2005 at 11:47:54PM -0700, Patrick Lacson wrote:
: jdbc config options, common file system info, http urls for external
: sites, things of that nature. we have a complex multitenant system
: that needs to be configured by our sysadmins.
What about having separate config files that
Patrick Lacson wrote:
hi All,
If I were to deploy my application as a .war file, where do I place
the .properties configuration files? I know there's the option of
auto-expanding the war file at deployment, but is there a way to keep
the war file unexpanded and provide an external .properties
On Fri, Aug 26, 2005 at 02:16:26AM +0800, Patrick Lacson wrote:
: I know that's typically where they go, but if the file is inside the
: .war, how is the file going to be configured by the sysadming folks?
Webapps are meant to be fairly standalone. If you require that one be
configured after it
Your classpath, i.e. WEB-INF, or classes.
-Original Message-
From: Patrick Lacson [mailto:[EMAIL PROTECTED]
Sent: August 25, 2005 11:32 AM
To: Tomcat User-List
Subject: configuration files for war deployments
hi All,
If I were to deploy my application as a .war file, where do I place
I know that's typically where they go, but if the file is inside the
.war, how is the file going to be configured by the sysadming folks?
Surely we can't expect them to run
jar xvf web/WEB-INF/myconfig.properties myapp.war
Is there another location that is external from the .war file itself?
Subject: RE: Re: configuration question : the number of connections could be
supported by a connector in Tomcat 5.0
Bill:
Thanks for your answer. In my case, the client just directly talks to
Tomcat. So, the maxThread means maxConnections.
Is it possible for Tomcat ( any version which supports
PROTECTED] On Behalf Of Bill Barker
Sent: Friday, June 17, 2005 10:47 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: configuration question : the number of connections could be
supported by a connector in Tomcat 5.0
If you are fronting with Apache, then the mapping between connections
If you are fronting with Apache, then the mapping between connections and
threads is more a function of your MPM. As a result, I'm just going to
answer for the stand-alone Connector.
In Tomcat 5.0, there is a one-to-one mapping between socket connections and
threads. Pipelined HTTP/1.1
LeavesTry these instructions - they are specificly for SOAP, but the
instructions apply to just plain ole tomcat SSL.. When you get to Step 3,
ignore the instructions and just go to your server.xml file and uncomment the
connector for port 8443.
From: James T. Studebaker [mailto:[EMAIL PROTECTED]
Subject: Configuration of https in tomcat failure
I have tried over and over again to configure https for
tomcat using the instructions found on the apache tomcat web
site. I am unable to get https to work.
You need to be more specific
, Charles R [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, March 17, 2005 12:00 AM
Subject: RE: Configuration of https in tomcat failure
From: James T. Studebaker [mailto:[EMAIL PROTECTED]
Subject: Configuration of https in tomcat failure
I have tried over
Sanjeev,
How can i set the path for the keystore in server.xml?
--- Sanjeev Srivastava
[EMAIL PROTECTED] wrote:
Hi Dushyanth,
Have you created server.keystore, also are you
specifing the right path in server.xml for the
server.keystore. Check this, your problem will be
solved.
In
Dushyanth!
Have you created server.keystore using
keytool..? In server.xml check the code below and
provide the path to KeystoreFile and put the password.
keystoreFile=/cm/de/cfg/server.keystore
keystorePass=changeit
Make sure the 443 or 8443 should be same in port 80
and port
I have modified the server.xml and removed the
comments for ssl connector on port 8443. I generated a
self signed certificate in the path of java_home. This
is the procedure given in
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html.
After modifying the server.xml for testing I typed
If you followed instruction in the tomcat docs the key will be stored
in the users home directory. In windows it will be in c:\documents and
settings\username\.keystore . By default Tomcat looks at this
location for the key.
Are you getting any error in logs ?.
On Mon, 14 Mar 2005 05:09:27
No I am not getting any errors in logs.
--- Antony Paul [EMAIL PROTECTED] wrote:
If you followed instruction in the tomcat docs the
key will be stored
in the users home directory. In windows it will be
in c:\documents and
settings\username\.keystore . By default Tomcat
looks at this
On Mon, 14 Mar 2005 12:04:55 -0800 (PST), suryadevara dushyanth
[EMAIL PROTECTED] wrote:
No I am not getting any errors in logs.
Where exactly is your .keystore? You are best putting it somewhere
simple and then referencing it with the parameter keystoreFile in the
connector for the SSL.
As a
Hi Dushyanth,
Have you created server.keystore, also are you
specifing the right path in server.xml for the
server.keystore. Check this, your problem will be
solved.
In case of any problem, do let me know...
Cheers!,
Sanjeev
--- suryadevara dushyanth [EMAIL PROTECTED]
wrote:
No I am not
Urm, not really enough info here to help you. Of course I'm assuming that
you've already read
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond
that, you can try setting your logging category (log4j/java.util.logging
config) for 'org.apache.tomcat.net.jsse' to DEBUG to
Hi,
Yeah servlet classes do get put under
yourwebapp/WEB-INF/classes or yourwebapp/WEB-INF/lib
if it has been archived (jar). If you need to
reference jsp hidden under yourwebapp/WEB-INF/ you
need to make references to its path to get to it,
modify your mapping in struts-config.xml.
I always
hi pradeep
For managing 1000 users u can use tomcat cluster concept. it can be useful to
manage 1000 users at a same time
Regards
Deepak
On Fri, 21 Jan 2005 Pradeep Chauhan wrote :
Hi ,
We are using Tomcat 5.0.28 on production.
Bussiness want to make configuration of web server which will
Steven J. Owens wrote:
Peter,
On Tue, Nov 09, 2004 at 08:42:34AM +1100, Peter Johnson wrote:
We run 5 Tomcat servers (still on 4.1.x so not clustered) and use
CVS with two tags: 'stage' and 'prod'.
I'm a little unclear on what this means - do you mean branches?
Or do you mean
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Configuration Management, JSP Recompiles, War Files
On Sat, Nov 06, 2004 at 03:20:46AM -0500, Steven J. Owens wrote:
On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote:
If I understand correctly, WAR file is just a glorified
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
One great way to approach production setups for Tomcat is one
webapp per Tomcat instance.
Restarts are then quick and easy, and no matter what
this one webapp does (OutOfMemoryErrors, malicious code,
etc.) it can't
affect others you have
Hi Steven,
We run 5 Tomcat servers (still on 4.1.x so not clustered) and use CVS
with two tags: 'stage' and 'prod'. When a push script is executed the
server pulls the appropriate version from cvs and then performs an ant
task to deploy the app, compiling any changed classes. We find that this
Peter, Yoav,
Thanks for the advice. Now if I could just ask for a letle
more... :-)
On Mon, Nov 08, 2004 at 01:14:22PM -, Peter Crowther wrote:
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
One great way to approach production setups for Tomcat is one
webapp per Tomcat
Peter,
On Tue, Nov 09, 2004 at 08:42:34AM +1100, Peter Johnson wrote:
We run 5 Tomcat servers (still on 4.1.x so not clustered) and use
CVS with two tags: 'stage' and 'prod'.
I'm a little unclear on what this means - do you mean branches?
Or do you mean that you effectively do
On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote:
If I understand correctly, WAR file is just a glorified JAR file,
which in turn is just a glorified tar file. So unless you're
unjarring it, editing the config file and rejarring it, you can't
really muck with the config
On Sat, Nov 06, 2004 at 03:20:46AM -0500, Steven J. Owens wrote:
On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote:
If I understand correctly, WAR file is just a glorified JAR file,
which in turn is just a glorified tar file. So unless you're
unjarring it, editing the
I try to precompile my jsp's, copy all the precompiled JSP's into a JAR file,
then delete all the JSP's. Less stuff to deploy. No surprises with respect to
caching, or missing compiles, or broken JSP's making it to production.
-Tim
Steven J. Owens wrote:
Hi folks,
I'm interested in hearing
On Sun, Oct 24, 2004 at 11:00:38PM -0400, Steven J. Owens wrote:
: I'm interested in hearing how people are dealing with
: configuration management issues.
:
: We've been running into some problems with JSP recompiles,
: particularly when the changed JSP is an included JSP.
: [snip]
until the new webapp is ready?
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: 25 October 2004 12:18
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Configuration Management, JSP Recompiles, War Files
On Sun, Oct 24, 2004 at 11:00:38PM -0400, Steven J. Owens
On Mon, Oct 25, 2004 at 12:28:27PM +0100, Allistair Crossley wrote:
: your suggestion is precisely what we do here, but it still leads to 5 minutes
: downtime (web server nice maintenance page, removing old war, unpacking new
: war takes time).
I guess my clients have always listed this as a
Hi,
If I understand correctly, WAR file is just a glorified JAR file,
which in turn is just a glorified tar file. So unless you're
unjarring it, editing the config file and rejarring it, you can't
really muck with the config settings inside it. How/where do people
normally keep the
Hi,
Create the folder, populate it according to the App Developer's guide
(see the First Webapp link in the Tomcat docs), and restart the
server.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: chandrashekhar sf cs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27,
From: Shapira, Yoav [EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 6:27 AM
Here's another take that's not seen often, but is intriguing: the
java.util.prefs API. It uses the Registry on Windows, and the
filesystem on unix, by default, but that can be changed. If you're
running on Windows
Quoting Will Hartung [EMAIL PROTECTED]:
From: Shapira, Yoav [EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 6:27 AM
Here's another take that's not seen often, but is intriguing: the
java.util.prefs API. It uses the Registry on Windows, and the
filesystem on unix, by default, but that
To get the server info: ServletContext.getServerInfo()
Personally - I would state my webapp needs a directory[or database] to
write/load its configuration. The directory or datasource would be setup
using JNDI. Then its up to the system admin to use the Container specific
functionality to
Hi,
It's not blasphemy ;) It's a good question. Many people take shortcuts
/ cut corners to get around this ;)
b) Require that a database be present and publish the datasource name
that
the web app is looking for, and assume that the user will configure
their
container properly (and, of
1. Yes of course. 4.1.30 is many release cycles ahead of 5.0.19. But
that's a matter of course with all software.
2. Don't know.
3. I thought 'enterprise' was a marketing word ;)
4. Are you sure you've got apache configured correctly? I don't think
there should be such a noticeable
List
Subject: Re: Configuration and performance questions
1. Yes of course. 4.1.30 is many release cycles ahead of 5.0.19. But
that's a matter of course with all software.
2. Don't know.
3. I thought 'enterprise' was a marketing word ;)
4. Are you sure you've got apache configured
What jdk?
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 19, 2004 5:19 PM
Subject: Configuration Issue? HELP!
Hi All,
At my wits end on this, so thought I'd ask the guru's. 8-)
We are running an Apache HTTP 2.0.49 / mod_JK
Users List
Subject: Re: Configuration Issue? HELP!
What jdk?
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 19, 2004 5:19 PM
Subject: Configuration Issue? HELP!
Hi All,
At my wits end on this, so thought I'd ask
Try googling for LD_ASSUME_KERNEL to see if that helps you.
Jerry Jalenak wrote:
Hi All,
At my wits end on this, so thought I'd ask the guru's. 8-)
We are running an Apache HTTP 2.0.49 / mod_JK 2.2 / Tomcat 5.0.18
environment on a Dell 1750 server (2 - 3.06Ghz CPU's / 4GB memory). We're
Subject: RE: Configuration Issue? HELP!
Java 2 SE 1.4.2_02
Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Parsons Technical Services
[mailto:[EMAIL PROTECTED
I did my tomcat configuration with this tutorial for a developer enviroment.
http://www.coreservlets.com/Apache-Tomcat-Tutorial/
-Original Message-
From: Duncan Krebs [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 4:14 PM
To: Tomcat Users List
Subject: Configuration Tomcat To
PROTECTED]
Sent: Tuesday, March 23, 2004 9:04 AM
To: Tomcat Users List
Subject: Re: Configuration Help
As I understand it, you should not be using the IP address in server.xml
except to limit the connector to a specific IP address if you don't want
Tomcat to answer requests for other IPs.
In production
PROTECTED]
Sent: Wednesday, March 24, 2004 9:33 AM
Subject: RE: Configuration Help
Ok, I've changed the server.xml file so that engine and at least one
host reference localhost. The ultimate goal is to have Tomcat support
multiple individual web applications and not have multiple context
something like this be located?
Thank you ever so much!
-Dave
-Original Message-
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 12:36 PM
To: Tomcat Users List
Subject: Re: Configuration Help
server.xml looks fine as far as I can tell. Here's what
PROTECTED]
Sent: Wednesday, March 24, 2004 1:58 PM
Subject: RE: Configuration Help
Oh My Gosh!
Adrian,
Apparently what was missing was the subfolder named
dev.dynamichostings.com with the blank context. Everything else apparently
was configured correctly. Once I created those items it worked
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 10:15 AM
Subject: RE: Configuration Help
Adrian,
The 400 error is indicating that the page has been moved, server might not
be available... blah, blah
This URL will display the web app I'm working with...
http://66.80.144.156
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 10:15 AM
Subject: RE: Configuration Help
Adrian,
The 400 error is indicating that the page has been moved, server might not
be available... blah, blah
This URL will display the web app I'm working with...
http
[EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Configuration Help
Date: Tue, 23 Mar 2004 08:29:43 -0500
Hi Dave,
Did you ever solve this problem?
Actually, 400 error is malformed syntax. Basically doesn't tell us much
PROTECTED]
Sent: Tuesday, March 23, 2004 9:10 AM
Subject: RE: Configuration Help
Thanks for the links below. I've been looking at anything I can find and as
far as I can tell, I have IIS configured to support Tomcat.
The following link serves the web app I'm trying to configure, but it only
Message-
From: Adrian Lanning [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:43 AM
To: Tomcat Users List
Subject: Re: Configuration Help
Hmm,
Do you have Tomcat set up to listen on port 80? (you shouldn't)
Can you get to your webapp correctly using localhost? Try setting up a test
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 9:42 AM
Subject: RE: Configuration Help
The server.xml file is using the default port settings (8080 and 8009) and
instead of localhost or 127.0.0.1, I'm using the server's ip address.
Even though this is a web server, should I
Hey Dave,
I'm a little fuzzy on my errors. Is 400 from iis or tomcat? Does tomcat
work with the urls in standalone mode?
Adrian
- Original Message -
From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 9:17 AM
Subject:
: 22 March 2004 15:15
To: Tomcat Users List
Subject: Re: Configuration Help
Hey Dave,
I'm a little fuzzy on my errors. Is 400 from iis or tomcat? Does tomcat
work with the urls in standalone mode?
Adrian
- Original Message -
From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED
Lanning [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 9:15 AM
To: Tomcat Users List
Subject: Re: Configuration Help
Hey Dave,
I'm a little fuzzy on my errors. Is 400 from iis or tomcat? Does tomcat
work with the urls in standalone mode?
Adrian
- Original Message -
From: LILES
i think what you mean is run two instances of tomcat. you do this within
the conf/server.xml, and make another copy of the context path file where
docbase is the root directory of your new website, remember to stop and
start tomcat for the changes to take effect.
Context path=/..
On Thu, 5 Feb 2004, Randall Svancara wrote:
I am wondering what the following configuration directive
accomplishes for tomcat 4.1.29 in the server XML file when added
right below the line with Server port=8005 shutdown=SHUTDOWN
debug=0.
Listener
Milt,
Thank you for your assistance.
-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 8:13 AM
To: Tomcat Users List
Subject: Re: Configuration file help
On Thu, 5 Feb 2004, Randall Svancara wrote:
I am wondering what the following
Not true.
-Tim
Hart, Justin wrote:
I heard that it is possible to load Tomcat configurations from a database rather than from server.xml/web.xml files.
Is this true?
Is this difficult to configure?
Are there shortcomings in this configuration?
Justin
Cool, thanks.
Justin
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wed 11/19/2003 11:43 AM
To: Tomcat Users List
Cc:
Subject: Re: Configuration via database, rather than XML
Not true
Does Tomcat destroys threads in the pool, if they are idle for the long time? If
yes, is there way to ensure that Tomcat didn't kill the idle threads, ie., once
created, a thread will never die as long as Tomcat is running?
Usually no, and that renders the second part of your question
Howdy,
Is this behaviour not definite? I mean can I make sure that Tomcat will
*NEVER* destroys the idle threads?
Make minProcessors=maxProcessors.
yes, I'm talking about processing threads.
Is there to way to see how many *processor threads* Tomcat is having at
a
time?
Not built-in to
I'm also working on a problem similar to this... anybody who has already
worked on this ?
I came across this archive which I think is similar to this problem but to
no avail.. i still can't make it work...
-Mensaje original-
De: Roberts, Eric [mailto:[EMAIL PROTECTED]
Enviado el:
Howdy,
How does thread creation/destruction works in Tomcat?
Read the source code.
Is the total no. of threads in thread pool maintained by Tomcat varies as load
varies?
Yes.
Does Tomcat destroys threads in the pool, if they are idle for the long time? If
yes, is there way to ensure that
Pedro, unjar-ed classes go under WEB-INF/classes/{SOME PACKAGENAME},
jar files
go under WEB-INF/lib
Your java beans will never be found if they just reside under WEB-INF .
Pedro Silva wrote:
I am really having a bad time using Apache Tomcat for the first time...
But I won't give up... Just
Subject: Re: Configuration Error?
Pedro, unjar-ed classes go under WEB-INF/classes/{SOME PACKAGENAME},
jar files
go under WEB-INF/lib
Your java beans will never be found if they just reside under WEB-INF .
Pedro Silva wrote:
I am really having a bad time using Apache Tomcat for the first time
]
-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de Agosto de 2003 8:15
To: Tomcat Users List
Subject: Re: Configuration Error?
Pedro, unjar-ed classes go under WEB-INF/classes/{SOME PACKAGENAME},
jar files
go under WEB-INF/lib
Your java beans will never
To: Tomcat Users List
Subject: Re: Configuration Error?
Also did you import your classes in the @page import directive ? I
only see a java.lang, could be the source of the problem.
Sekhmet wrote:
Yes, but they are in WEB-INF/classes/mybeans (MYBEANS is the package
name) and I still get the same
The bean should be in the Tomcat/ROOT/WEB-INF/classes/mybeans directory
not Tomcat/ROOT/WEB-INF/mybeans. Classes underneath web-inf is the
directory for classes. Also, perhaps try removing the contentType
directive at the top of the page as it is unnecessary. Oh and also you
have put
Howdy,
But do I have to import my own classes? If so what is the purpose of
having the Bean code separated from the JSP code?
Yes, you have to import your classes so the JVM knows what classes
you're using.
The point of separation is two-fold (probably more):
- Other components can use the
Since 4.1.12, the invoker servlet has been turned off by default.
Check out the web.xml in the conf directory, you'll see the invoker
commented out.
-Original Message-
From: Free Bud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:00 PM
To: [EMAIL PROTECTED]
Subject:
Tomcat 5 is not ready for production.
Just :dropping a servlet into a directory is bad, because it uses the
Invoker.
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
On Wed, 18 Jun 2003 20:00:11 -0700 (PDT), Free Bud [EMAIL PROTECTED]
wrote:
Hi,
I've been using tomcat in
Howdy,
2 questions:
- I usually copy/paste all the library .jar files into my jdk/lib and
choose not to overwrite (tools.jar). Then I can compile servlets w/o
problem.
This is one of those shortcuts that, while apparently harmless, can
cause nightmarish headaches. For example, if you override
The instructions are essentially the same.
http://tomcatfaq.sourceforge.net/apache.html
http://www.johnturner.com/howto
http://www.galatea.com/flashguides
John
On Mon, 16 Jun 2003 15:33:22 -0400, Ciramella, EJ [EMAIL PROTECTED]
wrote:
Ok, I'm done searching and ready to ask questions
Wow - thanks for the quick turnaround!
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 3:41 PM
To: Tomcat Users List
Subject: Re: Configuration questions.
The instructions are essentially the same.
http://tomcatfaq.sourceforge.net
I do not know exactly what you mean.
Your webapps must be under webapps. Build a new directory called for example. myapp.
tomcat\webapps\myapp, myjsp.
By accessing the server e.g http://localhost:8080/myapp/myjsp it should work.
Hope this helps. Otherwise give me more details.
Gustavo.
On Friday 14 March 2003 01:53 pm, Eamonn Walsh wrote:
Could you please help me with the following problem.
I have installed the JDK and tomcat successfully on my PC. I am now
ready to develop my own web application using JSP. I have admin rights
on the PC.
How do I set the context so that
Title: RE: Configuration Problem with Apache 2.0.44 and Tomcat 4.1.18 on Windows 2000 Server SP3 --- Small Hint
Always use a slash / everywhere (not just Apache) for Windows path separators. The only place you have to use backslashes \ is at the Windows command prompt.
In particular
Add a context for your new app in the host ... tag.
ie..
Context path=/mystuff docBase=d:/myjsps debug=0
reloadable=true
/Context
put your jsp's inside d:\myjsps and then run
http://localhost:8080/mystuff/filename.jsp
Mehdi Nejad
Post your errors, and then we might be able to help you.
Bye
-reynir
-Original Message-
From: Mahbub ul Huq Bin Kabir [mailto:[EMAIL PROTECTED]]
Sent: 10. febrúar 2003 11:08
To: [EMAIL PROTECTED]
Subject: Configuration of Apache with Tomcat
Hello There
I'm Mahbub..From
Hello:
I am also a newbie, but I will give it a shot. Try turning on servlet
reloading which checks the modification date of the class files and reloads
ones that have changed. This degrade performance in deployment, but is very
useful in developement. If you fail to do it on your development
Howdy,
Context parameters are available to anything running within your context
as long as the server is up. You access them from a servlet (any method
in the servlet, not just init(), using
getServletContext().getInitParameter(paramName);
Context parameters are not typically tunable at runtime
Try changing your appBase back to webapps, and your docBase just animo.
Tomcat uses the webapps directory as the root for all it's web
applications. Specifying animo as the docBase implies webapps/animo.
You should not need to specify the full path in either.
Host
As a security precaution, Internet Explorer does not automatically
resubmit your information for you. Sounds like an Internet Explorer
problem!
Try to lower security on IE or test it using Mozilla or Opera.
Else try extending the timeout on the warp connection.
Med venlig hilsen
Kleth
Kent,
Edit /etc/hosts file and put in the following
information:
your_ip_address hostname hostname.domainname
127.0.0.1 localhost localhost.localdomain
You'll also need to edit your /etc/nsswitch.conf to
include the files parameter on the host line.
hosts: files dns
I hope
On Tue, Oct 15, 2002 at 12:04:49PM -0700, Mark Eggers wrote:
Kent,
Edit /etc/hosts file and put in the following
information:
your_ip_address hostname hostname.domainname
127.0.0.1 localhost localhost.localdomain
You'll also need to edit your /etc/nsswitch.conf to
A quick test would be to set server.xml back to localhost, and restart, then
test with Lynx to see if you get the error.
John
-Original Message-
From: Kent Perrier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 3:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Configuration
On Tue, Oct 15, 2002 at 03:48:54PM -0400, Turner, John wrote:
A quick test would be to set server.xml back to localhost, and restart, then
test with Lynx to see if you get the error.
As always, the easy answer evades the one with the bloody forehead. Changing
this back to localhost solves
Subject: Re: Configuration question
On Tue, Oct 15, 2002 at 03:48:54PM -0400, Turner, John wrote:
A quick test would be to set server.xml back to localhost,
and restart, then
test with Lynx to see if you get the error.
As always, the easy answer evades the one with the bloody
Your docBase in the Context ... element only needs a relative location of
Book. Also, your path attribute requires a forward slash prefix. So,
rewrite it like this:
Context path=/Book docBase=Book
Should work now.
You only need to provide a fully qualified path in docBase if your app
tried it but still the same problem.
On Sat, 21 Sep 2002, Jacob Kjome wrote:
Your docBase in the Context ... element only needs a relative location of
Book. Also, your path attribute requires a forward slash prefix. So,
rewrite it like this:
Context path=/Book docBase=Book
Should work
You should probably put CartItem in a package. When you say import
CartItem, the class file generated by the automated JSP compile is going
to look for CartItem.class in the same package as it is in which isn't the
case. The default package won't work unless the class you are using is one
1 - 100 of 180 matches
Mail list logo