John Laughton wrote:
Hi, I hope this is the right mailing list for this question
I am using tomcat 5.0.28
I have a simple web app and want to serve up some images in the jsp
pages, but the images are outside the context
The HTTP statement looks like
trtd
img alt=thumb image src=/data
-Original Message-
From: Darryl L. Miles [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 09:59
To: Tomcat Users List
Subject: Re: serving content from outside the context
John Laughton wrote:
Hi, I hope this is the right mailing list for this question
I am using tomcat 5.0.28
I have a simple
Thanks for the suggestions
I didn't really want to run Apache, especially as I have tomcat (which is
suppose to be a web server - I thought ?)
For now I have added a file to
.../tomcat/conf/Catalina/localhost/myData.xml
This xml file contains
?xml version='1.0' encoding='utf-8'?
Context path
/bugzilla/show_bug.cgi?id=35230
One can get the correct errorPage by using a Context relative path.
%@ page language=java
session=true
errorPage=/popdrv/PopError.jsp
%
We have attached 6 files, PathServ.java, pathRelative.jsp,
ContextServ.java
We are having the similar problem,
but if we place context in server.xml, ( I also have a META-INF/context.xml
) and as we are using dbcp connection pool, and it seems that tomcat
initializes those pool twice
On 10/7/05, gianni dalmasso [EMAIL PROTECTED] wrote:
hi list, i have a problem. i
From: sudip shrestha [mailto:[EMAIL PROTECTED]
Subject: Re: apache virtual hosting + server.xml + context
We are having the similar problem,
but if we place context in server.xml, ( I also have a
META-INF/context.xml
) and as we are using dbcp connection pool, and it seems that tomcat
Hi all,
For a while my web app was connecting manually to the db but obviously
that's a bit rubbish so I looked at some examples and moved the db stuff
into the context file for my app. I have never written a context file and
I think I may have missed something.
Now when I use ant to install my
Hello,
i'm using jmx to access the tomcat 5.5 server. I succeeded in retrieving a
list of context mbeans. My problem is that the context-mbean doesn't contain
any information about the availability of a context, the context description
and number of sessions. I tried to get the original context
From: David Farrell [mailto:[EMAIL PROTECTED]
Subject: After adding a context xml file, web-app doesn't always start
I think I may have missed something.
Such as telling us which version of Tomcat you're using.
tomcat throw an exeption that my app conspiracy
cannot be found under
Hi, I hope this is the right mailing list for this question
I am using tomcat 5.0.28
I have a simple web app and want to serve up some images in the jsp pages,
but the images are outside the context
The HTTP statement looks like
trtd
img alt=thumb image src=/data/webData/family/DSC01183.JPG
i configured several html virtual hosts sites with jsps ; (apache 2.0 +
mod_jk.+ tomcat 5.5.)
- virtual hosting managed by apache (name based virtual host)
- connector ajp13 for all jsps
- if a i create in server.xml : an host www.aaa.com + context infos --
everythink works but it's no longer
hi list, i have a problem. i have apache 2.0 + tomcat 5.5.
i have N name based virtual hosts on the same machine managed by apache; some
of them need to use tomcat (have jsp pages and servlets...)
if i set a server.xml of tomcat with several hosts, and every host has ist
context -- it's ok
[EMAIL PROTECTED]
Received: 10/7/2005 10:51 AM
To: tomcat-user@jakarta.apache.org
Subject: apache virtual hosting + server.xml + context
hi list, i have a problem. i have apache 2.0 + tomcat 5.5.
i have N name based virtual hosts on the same machine managed by apache; some
of them need to use
I did a bunch of googling before posting my question, but never came
across that post; thanks for listing it; it appears to be exactly what I
need.
Dave
Caldarale, Charles R wrote:
From: David Kerber [EMAIL PROTECTED]
Subject: Re: Context path changes in context.xml not working
Nobody
is to have a line like:
[uri:/tomcat/*]
debug=0
and that that all the URI in /tomcat/foo be converted in /foo for the
tomcat server.
For that to work it should be a parameter to give to the tomcat server,
but I did not find the right one. Context seems to be the right one,
but when I add
Context
Running Tomcat 5.5.9 on Windows 2000 server.
I am trying to change the context path of an application, and it works
fine when I put this into my server.xml:
Context path=/wradev/pelican
docBase=e:\TomcatClients\Pelican\webapps\SiteData debug=0
reloadable=true autoDeploy=true
As mentioned several times on the mailing list, path
is no longer read from webapp/META-INF/context.xml.
Try placing the context information in:
engine-name\hostname\appname.xml
under %CATALINA_HOME%\conf or %CATALINA_BASE%\conf if
you're using multiple Tomcats served from one binary
Intended behavior. path attributes are ignored in context xml files.
If you'd like to change the name of the webapp, I'd suggest changing the
name of the .war file to change it's name. If you aren't working with
.war files, change the name of the webapp folder and then the name of
it's context
I guess I missed that part about paths - thanks for pointing that out.
How do I rename things to get the 2-level context path? This is an app
I'm migrating from SilverStream to Tomcat, and I don't want to change
the url my users use to connect to it.
David Smith wrote:
Intended behavior
Nobody has any suggestions about setting up a 2-level context path
*without* putting it in the server.xml (it works fine in there)?
Dave
David Kerber wrote:
I guess I missed that part about paths - thanks for pointing that out.
How do I rename things to get the 2-level context path
Did you try it in:
$CATALINA_HOME/conf/engine-name/hostname/appname.xml?
/mde/
--- David Kerber [EMAIL PROTECTED] wrote:
Nobody has any suggestions about setting up a
2-level context path
*without* putting it in the server.xml (it works
fine in there)?
Dave
From: David Kerber [EMAIL PROTECTED]
Subject: Re: Context path changes in context.xml not working
Nobody has any suggestions about setting up a 2-level context path
*without* putting it in the server.xml (it works fine in there)?
I thought I remembered something about this, and went
hello
i would like to know how to set the context path in
tomcat5.5.9 hi
I also read something and a build.properties file
and i dont know how to do this too.
please i need help on this cause i cant see my
application file when i give in the uri
http://localhost:8080/myApp
To add the context path, you need to edit the $TOMCAT_HOME/conf/server.xml file
and these lines:
Host name=www.yourdomainname.com debug=0 unpackWARs=true
Context path=/myApp docBase=/where/you/store/your/apps debug=0
reloadable=true crossContext=true /
/Host
Hope this help...
---Trung
From: Trung Nguyen [mailto:[EMAIL PROTECTED]
Subject: RE: setting the context path in tomcat5.5.9?
To add the context path, you need to edit the
$TOMCAT_HOME/conf/server.xml file and these lines:
This completely ignores the admonition in the Tomcat doc:
Please note that for tomcat 5
In an issue related to this and the documentation cited below, my attempts
to create a Context in the
META-INF/context.xml were not successful, that is, I could create the
context.xml file but the attributes did not seem to take affect. I could set
them in the $CATALINA_HOME/conf/[enginename
From: Stephen Faustino [mailto:[EMAIL PROTECTED]
Subject: RE: setting the context path in tomcat5.5.9?
my attempts to create a Context in the META-INF/context.xml
were not successful, that is, I could create the context.xml
file but the attributes did not seem to take affect. I could
set
Does anyone have a sample initial context setup that works with jboss
external? Do I need to create a resource for the context that will be
performing the JNDI lookup in the conf/server.xml file? I have read
all
the docs and scoured the net but cannot find a solution.
*Disclaimer
ignore any messages that hijack another thread.
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Mark
tomcat-user-owner
Mbah Tenjoh-Okwen wrote:
hello
i would like to know how to set the context path in
tomcat5.5.9 hi
I also read
SiteData.war, so when I
deploy it to tomcat, it shows up at context path /SiteData. I would
love it if Tomcat could present the same stuff at the /level1/level2
path. If I have to deploy it as individual files instead of in a .war
file, that's ok to, as would be other mods to path names, etc
David,
You can do this by modify the server.xml file from $TOMAT_HOME/conf/ directory:
Host name=www.myserver.com debug=0 unpackWARs=true
Context path=/level1/level2 docBase=/usr/var/apps/SiteData
debug=0 reloadable=true crossContext=true /
/Host
Where docBase is where you store your
Awesome!!! Worked first time. I had tried messing with context
paths in an application .xml, but never thought to try the server.xml.
One question: what does the crossContext flag do? Or is that what
lets it look to a different path for the context path? The help files I
looked
() always return null.
Hope this help.
---Trung
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 2:47 PM
To: Tomcat Users List
Subject: Re: Multi-level context paths possible in TC 5.5.9?
Awesome!!! Worked first time. I had tried
(the default) in security
conscious environments, to make getContext() always return null.
Hope this help.
---Trung
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 2:47 PM
To: Tomcat Users List
Subject: Re: Multi-level context paths
--- Michael Sullivan [EMAIL PROTECTED] wrote:
[ lots of stuff snipped ]
OK, I finally got around to putting this together on
my Limux (Fedora Core 4) box.
My environment:
2.6.12-1.1456_FC4 running on a Dell 8200 with 768 MB
java 1.5.0_04-b05
apache 2.0.54
mod_jk 1.2.14.1
tomcat 5.5.9
My
Anyone knows how mangae more than one context in META-INF/context.xml?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
I'd like to set more than one context in META-INF/context.xml
Any idea?
Is it usefulle creating another context.xml in METa-INF and how to configure
it??
please help
Regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED
--- Michael Sullivan [EMAIL PROTECTED] wrote:
Right now I use symlinks
to my individual
users' website directories, but now that I've
discovered Alias I'll
probably switch completely to using Aliases.
Good.
I
created a test Alias
point to the ~/webspace/webapps directory in my
On Sun, 2005-09-25 at 23:21 -0700, Mark Eggers wrote:
--- Michael Sullivan [EMAIL PROTECTED] wrote:
Right now I use symlinks
to my individual
users' website directories, but now that I've
discovered Alias I'll
probably switch completely to using Aliases.
Good.
I
created a
directory
would
be /home/michael/webspace/webapps . Just for the
sake of arguments I
created a directory called user under
/home/michael/webspace/webapps and
moved my jsp files into it.
My /opt/tomcat5/conf/Catalina/localhost/user.xml
file looks like this
now:
Context
docBase
On 9/22/05, Mark [EMAIL PROTECTED] wrote:
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
Technically speaking each JSP is actually a servlet... more or less.
Everything that works in the server works in the jsp
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when going between
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
On 9/21/05, David Wall [EMAIL PROTECTED] wrote:
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to
I have a context which includes a mail session. However, when I startup
Tomcat (version 5.0.28 on Windows XP) and it loads the context, I get an
error message saying:
11:09:53,556 ERROR ContextLoader:177 - Context initialization failed
org.springframework.beans.factory.BeanCreationException
Hi,
I need to get hold of and process an http-encoded URL (effectively an
operational servlet) within a different context on the same machine and
read back the response it provides.
e.g.
from the root Context within a doPost, I need to execute
/abc/api/action.do?param1=123param2=abc
/localhost. I made home.xml by copying
admin.xml and altering it. Here are the contents of home.xml:
Context path=/user appBase=/home docBase=michael/webspace/webapps
debug=0 privileged=true
/Context
If I understand this correctly, when I ask for
www.espersunited.com/user/index.jsp
Here are the contents of
home.xml:
Context path=/user appBase=/home
docBase=michael/webspace/webapps
debug=0 privileged=true
/Context
From the documentation for Tomcat 5.5.9 at
http://localhost:8080/tomcat-docs/config/context.html:
The Document Base (also known as the Context
Michael Sullivan wrote:
what I found. Anyway, I created a file called home.xml
in /opt/tomcat5/conf/Catalina/localhost. I made home.xml by copying
admin.xml and altering it. Here are the contents of home.xml:
Context path=/user appBase=/home docBase=michael/webspace/webapps
debug=0
From the documentation for Tomcat 5.5.9 at
http://localhost:8080/tomcat-docs/config/context.html:
The Document Base (also known as the Context Root)
directory for this web application, or the pathname
to the web application archive file (if this web
application is being executed directly
for the
sake of arguments I
created a directory called user under
/home/michael/webspace/webapps and
moved my jsp files into it.
My /opt/tomcat5/conf/Catalina/localhost/user.xml
file looks like this
now:
Context
docBase=/home/michael/webspace/webapps/user
debug=0 privileged=true
Is there a way to use the Tomcat 5.5.9 manager to deploy a WAR file as
the root context? If not, how to I munge the deployed web application to
make it the root context?
Bernie
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Alain,
First of all the session is ALWAYS on application scope, this is not an
Tomcat specific behaviour but a requirement of the Specification:
SRV.7.3 Session Scope
HttpSession objects must be scoped at the application (or servlet context)
level.
The underlying mechanism, such as the cookie
Alain Gaeremynck wrote:
I have 2 webapps living on the same server and they are linked to the
same user experiance.. Now both apps require login but i don't want
my users to have to login on both apps. Also while they are browsing
in one context i don't want the session to expire
, java 1.4, postgres database7.4 with jdbc
connectivity, the OS is linux 2.6.8, debian sarge) with CodeCharge Studio
(yessoftware.com) which create a connection pool of, say 10 connections. when
i upload a new version of an application to the server tomcat reloads the
context correctly
I have 2 webapps living on the same server and they are linked to the
same user experiance.. Now both apps require login but i don't want my
users to have to login on both apps. Also while they are browsing in
one context i don't want the session to expire for the other context.
so
i've got a webapp deployed in tomcat 5.5.9 that provides three separate
interfaces to my business logic:
1) web ui
2) webdav
3) rest
i want session management via cookies and url-rewriting for the web ui
but not for the other interfaces. is there a clean way to achieve that
portably with the
servletContext.getRealPath() is real path to the context path + the argument
...
So if you say servletContext.getRealPath(hithere) .. It will return
C:\path\to\tomcat\webapps\tool\hithere
Regards
Guru
-Original Message-
From: Franz-Josef Herpers [mailto:[EMAIL PROTECTED]
Sent: 05
Franz-Josef Herpers wrote:
Hi,
I've a problem when using ServletContext#getRealPath() with Tomcat 5.5.9.
My web application resides under the name tool in the webapps
directory. When I call
servletContext.getRealPath(request.getContextPath() I get the real
path but always with the context
Hi,
Edmund Urbani wrote:
the getRealPath method simply returns a path inside the webapp's
directory. eg. you can do getRealPath(images/someimg.jpg) and get the
actual filesystem path for that file, so you can access it using
java.io.File and do something with it. getRealPath(/) should give
Hi,
I've a problem when using ServletContext#getRealPath() with Tomcat 5.5.9.
My web application resides under the name tool in the webapps
directory. When I call
servletContext.getRealPath(request.getContextPath() I get the real path
but always with the context path added at the end
hi-
resending a mail i inadvertently sent to commons-user..
i'm trying to execute jsp in an osgi context with no luck as of today.
i've embedded jetty as an osgi bundle and registered a BundleListener
which registers installed bundles as webapp if they contain a web
descriptor file. so far
Andy wrote:
When I request a reload like this -
http://testxtb.example.com/manager/reload?xtb
I get this response-
FAIL - Invalid context path null was specified
However according to this page -
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
This is a valid syntax
You
Hi All,
I'm trying to configure the manager application with virtual
hosts.
When I request a reload like this -
http://testxtb.example.com/manager/reload?xtb
I get this response-
FAIL - Invalid context path null was specified
However according to this page -
http://jakarta.apache.org
Hi tomcat fellas!
http://venus:8080 gives me the index.html in the folder /home/trond/GTG/inside,
but only when I use the server.xml below.
When I take the Context. / and put it in a separate file,
${CATALINA_HOME}/conf/Catalina/venus/test.xml it doesnt work anymore.
Does anybody know why
The context name and the file name have to match exactly.
Also, root contexts need to have a path of .
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Trond Hersløv [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005
One other thing, for a ROOT context, the file should be named ROOT.xml
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Trond Hersløv [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 4:50 AM
To: Tomcat Users List
'
Subject: RE: Context in separate file doesn't work
One other thing, for a ROOT context, the file should be named ROOT.xml
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Trond Hersløv [mailto:[EMAIL PROTECTED]
Sent: Friday, September
, 2005 12:02 PM
To: Tomcat Users List
Subject: RE: Context in separate file doesn't work
Hi George,
Thank you very much, you made my day!!
I thought I could name the .xml files whatever I like to, but
that was a huge mistake that costed me 2 days.
Naming the file ROOT.xml solved the problem
webapps/hst/htdocs/WEB-INF/web.xml.
my server.xml has context which has docbase=hst/htdocs. When i try to run my
application on tomcat i get the following error. Context path is set to /hst
and not /hst/htdocs as in server.xml. Please help
---log
Software
Tomcat 5.5.2
JDK 1.5
I have created a webapplication named b
It works perfectly fine including the realm declared
inside the context.xml file in META-INF folder
THen I created war by using
C:\webapps\bjar cvf c.war *.*
Later I copied c.war in the webapps folder and started
=org.apache.catalina.logger.FileLogger
prefix=host timestamp=false /
/Host
3. In conf/Catalina/host/app.xml
?xml version='1.0' encoding='utf-8'?
Context debug=9 docBase=wars/host/app.war path=/app
reloadable=true workDir=work/Catalina/host/app
ResourceLink global=jdbc/appDs name=jdbc/appDs
=99 name=host unpackWARs=false
deployXML=false
Logger className=org.apache.catalina.logger.FileLogger
prefix=host timestamp=false /
/Host
3. In conf/Catalina/host/app.xml
?xml version='1.0' encoding='utf-8'?
Context debug=9 docBase=wars/host/app.war path=/app
reloadable=true
=false
deployXML=false
Logger className=org.apache.catalina.logger.FileLogger
prefix=host timestamp=false /
/Host
3. In conf/Catalina/host/app.xml
?xml version='1.0' encoding='utf-8'?
Context debug=9 docBase=wars/host/app.war path=/app
reloadable=true workDir=work
/
/Host
- conf/Catalina/host/app.xml
?xml version='1.0' encoding='utf-8'?
Context debug=9 docBase=app-web.war path=/app
reloadable=true
ResourceLink global=jdbc/appDs name=jdbc/appDs
type=javax.sql.DataSource
/
/Context
Now the final question is how can I set the path
Paul Austin wrote:
Now the final question is how can I set the path to be a sub directory?
So /subdir/app. This worked on my Tomcat 5 installation on Linux but
doesn't work here. It seems to just ignore the path.
No idea, never had a reason to try such a configuration -- sorry!
--
Hassan
When I copy an updated copy of a war file that was deployed with a
context.xml file in the META-INF directory and also I have a copy of the
context.xml in the conf/Catalina/host directory the deployer just
deletes the context altogether and doesn't reploy the application.
How is this supposed
So Paul Austin says: Doctor,
When I copy an updated copy of a war file that was deployed with a
context.xml file in the META-INF directory and also I have a copy of the
context.xml in the conf/Catalina/host directory the deployer just
deletes the context altogether and doesn't reploy
, Hassan Schroeder wrote:
So Paul Austin says: Doctor,
When I copy an updated copy of a war file that was deployed with a
context.xml file in the META-INF directory and also I have a copy of the
context.xml in the conf/Catalina/host directory the deployer just
deletes the context altogether
Paul Austin wrote:
Right but where should it go so that tomcat doesn't delete it?
I've tried setting the deployXML=false on the host and having it just
in the conf/Catalina/host directory (which is my preferred location),
just in the war file and all various combinations.
I've used both
but there is a snag: the web service uses JNI. So,
whenever a new context is deployed, I have to restart the Tomcat
container to avoid classloader problems -- it tries to load the JNI
wrapper class twice, which causes it to just stop working.
Unfortunatly, the JNI is non-negotiable so I can't just
in
plaintext (in the open). Like many people, we are using JNDI
datasources in our web application. The datasource connection
information (including the database username/password) is stored in
the Tomcat Context Descriptor under
TOMCATDIR/conf/Catalina/localhost/myApp.xml.
Does Tomcat
A couple of observations:
- If someone can read the context descriptor they pretty much own
Tomcat and probably the server as well. If this person is unauthorised,
you have big problems regardless of whether or not they have read-only
access to the database.
- If the password is encrypted
Litty Preeth iamlitty at yahoo.com writes:
Or u can use a comma separated list of strings and
parse them using StringTokenizer.
That sounds better. It's surely more user friendly. But the chance of an error
during entering coma-separated values is bigger. It's easy to forget about coma
or
the hell did I changed to break this?!
In my configuration file:
server.xml:
I have a global resource, I have these resources in the context, I have
another resource in the context (not a reference), I can't call none of
them.
If I do:
Context ctx = new InitialContext();
log (Name in manespace
of the file. Just have context listener read this
file at startup and place the array in the context.
Hope this helps - Richard
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: Friday, August 19, 2005 12:29 AM
To: tomcat-user@jakarta.apache.org
Subject
the database
username/password) is stored in the Tomcat Context Descriptor under
TOMCATDIR/conf/Catalina/localhost/myApp.xml.
Does Tomcat provide a more secure way of storing the connection information
stored in these context deployment descriptors? Has anyone else run into
the same problem and been
I would like to pass an array to my application using Environment inside
Context. Manual says that only primitive types are available. But... I need
an
array.
How would you handle this problem? My only, little dummy idea is to do
something
like:
Environment name=xxx/1 ...
Environment name
Hi,
Or u can use a comma separated list of strings and
parse them using StringTokenizer.
With Regards,
Litty Preeth
--- Konrad Billewicz [EMAIL PROTECTED]
wrote:
I would like to pass an array to my application
using Environment inside
Context. Manual says that only primitive types
I've got some 3rd-party dependencies that rely on System.Properties for
part of their configuration. I'd like to use these same dependencies in
multiple Contexts in a single Tomcat deployment. However, I'll want each
Context to have different values for those System.Properties. Is there
any way
dependencies in
multiple Contexts in a single Tomcat deployment. However, I'll want each
Context to have different values for those System.Properties. Is there
any way to pull this off?
Thanks
-Lorrin
-
To unsubscribe
://mycomputer:8080/activation/obligatorios.jsp;)
response.sendRedirect(/obligatorios.jsp)
response.sendRedirect(activation/obligatorios.jsp)
I think that could be some context problems because, for make the webapp
structure, i
copied one example webapp that comes with the tomcat, then i deleted
And what is the error you are getting? 404? 500? Exception? What?
Allistair.
-Original Message-
From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 08:54
To: Tomcat Users List
Subject: Problems with context
Hi. I just has beginning to use the Tomcat
12, 2005 10:22 AM
To: Tomcat Users List
Subject: RE: Problems with context
And what is the error you are getting? 404? 500? Exception? What?
Allistair.
-Original Message-
From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 08:54
To: Tomcat Users List
Subject
List
Objet : RE: Problems with context
And what is the error you are getting? 404? 500? Exception? What?
Allistair.
-Original Message-
From: Fermin Jimenez Najar [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 08:54
To: Tomcat Users List
Subject: Problems with context
Hi. I just
Has any of you tried defining a realm inside the context.xml taken form
META-INF file from inside the war file?
I have the following context definition:
context path=/test1 override=true docBase=webapps/test1
realm
className=org.apache.catalina.realm.MemoryRealm
debug=
From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
Subject: realm in context in war file
I have the following context definition:
context path=/test1 override=true docBase=webapps/test1
realm
className=org.apache.catalina.realm.MemoryRealm
debug=
pathname=webapps
I've sorted it out: the problem was in the syntax! I was using context
instead of Context, and tomcat (5.0.28) simply ignored it without
writing any error message.
But thanks for the tip for 5.5 - I'm going to migrate soon, so it will
be useful.
Michal.
-Original Message-
From
I'm having a problem reloading / redeploying one of my web applications using
the ant tasks.
The target I am trying to run is this and it fails on when stopping the
application.
target name=redeploy description=Reinstall the existing web application
stop url=${url}
Hi All,
I am having a problem with Tomcat. I have a website application that I use
over 2 aplications. 1 context I use for testing and the other is meant for
vistors (live version). This means that the same application is running
over 2 contexts . When I update a servlet in the test context
1 - 100 of 2744 matches
Mail list logo