Caldarale, Charles R a écrit :
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
How do you manage the problem, if you need to define a Host element
whith many Alias ?
Hosts are a completely different problem, since
Hi
2) User places our clean database file in the recommended
location on the server machine. i.e c\databse\ourfile.gdb
A off-topic side note on this:
The c and the backslashes suggest you are using windows.
The gdb extension suggest you are using firebird or interbase.
My recommendation:
several of the same apps
with diffrent db's on our servers for demo purposes.
Mike
- Original Message
From: Steffen Heil [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, October 19, 2006 5:45:37 AM
Subject: RE: placing context.xml in META-INF works?
Hi
From: Jason Novotny [mailto:[EMAIL PROTECTED]
Subject: placing context.xml in META-INF works?
I have a context.xml file that looks basically like this:
Context path=/portal debug=0 reloadable=false
crossContext=true/
Take out the path attribute - it's not allowed unless the Context
this context file to be copied
to the $CATALINA_HOME/conf/Catalina/localhost/ directory when my webapp is
deployed.
Mike
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 1:28 PM
To: Tomcat Users List
Subject: RE: placing context.xml
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: placing context.xml in META-INF works?
I want this context file to be copied to the
$CATALINA_HOME/conf/Catalina/localhost/ directory do that
the users can use the default JNDI and env values I enter.
Why does the location
. It would connect.
Mike
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 2:44 PM
To: Tomcat Users List
Subject: RE: placing context.xml in META-INF works?
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: placing context.xml
and it
should work out of the gate.
Mike
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 2:44 PM
To: Tomcat Users List
Subject: RE: placing context.xml in META-INF works?
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: placing context.xml in META-INF works?
Also my target users are not tomcat savvy. So the less they
need to do, the better. Having a pre-configured context
file get deployed the first time, makes it easy. They just
drop our war
Take out the path attribute - it's not allowed unless the Context
element is in server.xml, which is strongly discouraged.
why ?
Mic
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Michael,
I want to pre-setup the configuration. I enter all the parameters,
for the JDNCI info, and then the user only needs to install the
webapp and if they use the default database location setting, it
would work.
Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x
expert,
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
Take out the path attribute - it's not allowed unless the Context
element is in server.xml, which is strongly discouraged.
why ?
Because you have to restart Tomcat if you make any
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x
expert, but that's what I'd do way back here in Tomcat 4.1.
Things have changed. Global resources should be defined
Chuck,
Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x
expert, but that's what I'd do way back here in Tomcat 4.1.
Things have changed. Global resources should be defined in server.xml,
but app-specific ones belong in the Context element for that app.
Specifying them
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
I get that, but it sounds like that's exactly what this guy wants:
configuration that is available to all of his webapps, and never
changes. If it smells like a global resource...?
I
it to work.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 5:49 PM
To: Tomcat Users List
Subject: RE: placing context.xml in META-INF works?
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml
Because you have to restart Tomcat if you make any changes to server.xml
- it's only read during initialization. Consequently, updating the app
on the fly when its Context tag is in server.xml is not possible. To
quote from the doc:
ok
Actually I'm not pretty sure to be ok.
How do
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: placing context.xml in META-INF works?
My ideal sequence of events is this.
1) User installs tomcat
2) User places our clean database file in the recommended
location on the server machine. i.e c\databse\ourfile.gdb
3) User
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
How do you manage the problem, if you need to define a Host element
whith many Alias ?
Hosts are a completely different problem, since they are not subordinate
to an app.
Can you put
19 matches
Mail list logo