Because the VM is being started from C:\WINDOWS\System32 since it is
running as a service. If it were started from catalina.bat, then the VM
would have been started from CATALINA_HOME/bin, so it would have looked
there for the config directory. Why it doesn't look from in the location
of CATA
Hi Bill,
One quick follow-up to add to my previous comments...
When I used to use the old JavaService tomcat.exe (in Tomcat-4.x.xx), each
time I started Tomcat, the stdout.log would be wiped clean upon
startup. With procrun, stdout never gets cleaned up. I would actually
prefer this behavior
Hi Bill,
Couple suggestions and a question...
First, the service.bat script should really be setting -Djava.io.tmpdir,
just as the catalina.bat script does. Additionally, unless you provide
%JAVA_HOME%\lib\tools.jar to the --ImagePath, JSP compilation will fail,
although you might be fooled i
Put log4j-1.2.8.jar in common/lib and put log4j.properties or log4j.xml in
common/classes. Works fine for me and I still use Log4j in my webapps, each
with their own logging that doesn't interfere with anything else. This is
achieve be either adding log4j.jar to WEB-INF/lib of each webapp and
First, this would be non-standard behavior if Tomcat supported it. Counting on
it means being married to Tomcat. Besides that, even if Tomcat did this, it
wouldn't help. The libraries in Tomcat's global lib directories are loaded
upon server startup. Any new library wouldn't be noticed until
The only place you can count on existing for writing is the tempdir defined
by the servlet container.
File temp = (File)context.getAttribute("javax.servlet.context.tempdir");
Otherwise, you can set up a deployment parameter for your deployer to
configure that specifies a directory for writing.
Do this.
Forget the installer. I never use it anyway. Just grab the zipped or
gzipped archive, extract it to a directory of your choice (I suggest using
a path without spaces to be safe), set JAVA_HOME to the directory where you
have the JDK installed (not the JRE, the full JDK).
Now, you sh
At 11:28 PM 12/27/2003 +0100, you wrote:
Philipp Taprogge wrote:
Hi!
[EMAIL PROTECTED] wrote:
Question:
What do I have to change in order to enable admintool to save changes to
server.xml?
I am not entirely sure here, but from what I have read so far I recon
that the admin webapp is for making ch
You should report this as a bug and attach the patch you provided here to
the bug, otherwise it may get lost in the shuffle.
http://issues.apache.org/bugzilla/
Jake
At 11:33 PM 12/27/2003 +0100, you wrote:
In data Sat, 27 Dec 2003 19:24:33 +0100
Gianluca Toso scrisse:
> Problem build tomcat 5.0
I'm also seeing the behavior or no stdout or stderr output under Win2k,
although it seems to work fine on my XP box. Weird. Anyway, I'd recommend
uninstalling Tomcat5 and getting the .zip distribution. Just unzip it to a
directory, set CATALINA_HOME as appropriate and run this script
again.
Thanks for the script, Bill. I've been looking for something that actually
works and this finally doesalmost
The script is missing one important thing. It doesn't include
%JAVA_HOME%\lib\tools.jar in the --ImagePath which causes JSP compilation
to fail. Attached is a modified script
At 02:22 PM 12/12/2003 +0100, you wrote:
Hi!
Jacob Kjome wrote:
You can also use a repository selector. BTW, do you have log4j.jar *and*
commons-logging.jar (not commons-logging-api.jar) in WEB-INF/lib?
Yes, I do, but I have tried several scenarios with and without either of
them in my WEB-INF
You can also use a repository selector. BTW, do you have log4j.jar *and*
commons-logging.jar (not commons-logging-api.jar) in WEB-INF/lib? If not,
put them there and try this scenario again. A repository selector should
not be necessary in this situation. However, I always use one as it
gua
I'm wondering if anyone has configured a javax.jdo.PersistenceManagerFactory
binding to JNDI in Tomcat? Is it possible? Eg. Something like this...
factory
kodo.jdbc.runtime.JDBCPersistenceManagerFactory
...
...
...
request.getRemoteUser();
Jake
Quoting William R Briggs <[EMAIL PROTECTED]>:
> Hi all,
>
> A somewhat random question that I have been unable to find the answer to -
> I have a setup using Tomcat 5.0.16 w/ Apache 1.3.28. I am using a custom
> Apache module that is internal to my company in ord
Tomcat hasn't used the classpath upon startup since before the 4.0.xx
builds of Tomcat. *Nothing* on your classpath will be seen by your
apps. If you want to put your driver in the server classpath, you can
modify the startup script or, better yet, add it to
CATALNIA_HOME/common/lib. Additio
I assume you used the "install" task to deploy the webapp right? Don't mix
install/remove with deploy/undeploy. You will get unpredictable results.
Also, Tomcat5's deploy/undeploy is *much* improved. I suggest an upgrade
to 5.0.16, the latest stable release. Oh, and install/remove are
depre
At 01:54 AM 12/9/2003 -0500, you wrote:
> Put the file in something like WEB-INF/jsp/login.jsp. Then either
> configure form-based authentication for the path to that JSP
I tried doing that, but when I specified /WEB-INF/jsp/login.html in
FORM
/WEB-INF/jsp
/login.
Put the file in something like WEB-INF/jsp/login.jsp. Then either
configure form-based authentication for the path to that JSP or have your
MVC framework serve up that JSP page upon access to a protected
resource. The "back" button will never know the exact location of the page.
Jake
At 05:5
Well, sure, on Jakarta's web site. Did you read that before posting here?
http://jakarta.apache.org/site/news.html#20031203.1
Jake
At 10:14 PM 12/7/2003 -0500, you wrote:
Is there any word, or any place where I could check the status of Tomcat5 to
move to production?
My host would rather not go t
There was a recent message on the list about this. See...
http://www.javaroom.de/index.html
Jake
At 11:56 AM 12/7/2003 +0700, you wrote:
Hi,
Refer to Tomcat documentation.
If you wish to use Jikes to compile JSP pages:
- Download and install jikes. jikes must support the -encoding option.
Exec
At 12:02 AM 12/3/2003 +0100, you wrote:
Jacob Kjome wrote:
When deploying war files in Tomcat-5.0.16, I noticed something a little
odd.
After using the ant manager deploy task and then doing an undeploy,
manually dropping the war file into CATALINA_HOME/webapps trigger
auto-deployment.
For
ere it doesn't
currently.
Jake
Quoting Jacob Kjome <[EMAIL PROTECTED]>:
> When deploying war files in Tomcat-5.0.16, I noticed something a little odd.
> After using the ant manager deploy task and then doing an undeploy, manually
> dropping the war file into CATALINA_HOME/weba
When deploying war files in Tomcat-5.0.16, I noticed something a little odd.
After using the ant manager deploy task and then doing an undeploy, manually
dropping the war file into CATALINA_HOME/webapps trigger auto-deployment.
For example, say I have "myapp.war". I just drop this into Tomcat5
At 11:29 PM 12/1/2003 +0100, you wrote:
Sorry Jake, I do not understand your suggestion.
In my manager/html there is no "tag" field in the deployment form.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Deploy%20A%20New%20Application%20Remotely
"tag: Specifying a tag name, this
The manager app in Tomcat5 now allows for a "tag" to be associated with the
war you deploy. You can use this from the ant manager tasks as well. You
can deploy an app and deploy the same app (different version) again with a
different tag. The old one will be undeployed and the new one will go
2003 -0800, you wrote:
Thanks!
I was reading the Wrox's "Professional Tomcat" book and it states that
Tomcat's web servers does not support Virtual Hosts. Does it now support
Virtual Hosts?
Jacob Kjome <[EMAIL PROTECTED]> wrote:
The Coyote connector supports this a
The Coyote connector supports this already. No need to write a servlet
filter. Look in server.xml or the tomcat docs for details.
Jake
At 03:16 PM 11/30/2003 +0100, you wrote:
Ron Andersen wrote:
Is GZIP-encoding/mod_gzip avaliable in Tomcats web server?
Hello,
You can write a ServletFilter
This will almost certainly get lost in the shuffle unless you post the bug
to Apache's Bugzilla. Better get it in soon before they make the next
release...
http://issues.apache.org/bugzilla/
Jake
At 01:40 AM 11/29/2003 +0100, you wrote:
Hello,
I think I've stumbled into a bug in the webapp cl
Make sure all the objects in your session are serializable. If not, you
will get null values (or possibly other errors) after deserialization.
Jake
At 04:34 PM 11/28/2003 -0800, you wrote:
Folks,
Here is the scenario
1) User logs in and begins a session along with loading some session
is not persistent across Tomcat restarts, which actually makes it
nice for development. It is deprecated for Tomcat-5.0, though. You'll
have to ask the developers why, but I think they just wanted to stick with
a single deployment task rather than getting questions about "which one
should I
At 07:32 PM 11/9/2003 -0700, you wrote:
I hate bugzilla. No, this appears to be a new item. Unsurprising really,
considering that it only fails in a root context.
Then I assume you reported the bug? A link to the bug report would be helpful.
Jake
-Original Message-
From: Jacob Kjome
You should check bugzilla to see if there are already any reports like this
for Tomcat-5. If not, report it. It might get lost if you just report it
here.
http://issues.apache.org/bugzilla/
Jake
At 03:55 PM 11/9/2003 -0700, you wrote:
I have a servlet that does a pretty simple include:
Requ
I'm pretty sure war="file://${build.home}" doesn't pont to a .war
file. You need to create a .war file using the or task before
the deploy and point to that file in the "war" attribute of the task.
Jake
At 05:15 PM 11/8/2003 -0700, you wrote:
Hello,
I am reading the documentation for
At 02:58 PM 11/7/2003 -0500, you wrote:
> What version of Tomcat are you using?
4.1.27
Mine behaved as you described UNTIL I explicitly referenced the .war file
in the docbase attribute.
Do a little test. Try doing context.getRealPath("/") and tell me if that
returns null or not. If it doesn't
Put a singleton helper class in a parent classloader such as in shared or
common Tomcat classloaders and manipulate collections there. They will
exist as long as the JVM (and Tomcat) is running.
Otherwise, you should also be able to use stuff like System.setProperty().
Jake
At 01:51 PM 11/7/2
You've just described, perfectly, the behavior of Tomcat-4.1.xx. If you
want different behavior, use Tomcat-5.x.xx. The only difference being that
you wouldn't put the context configuration file in the webapps directory,
you put it in conf/Catalina/[...host...] and refer to SHAREDSETUP.war
in
At 07:22 AM 11/7/2003 +0100, you wrote:
Christopher Schultz wrote:
Jacob,
Tomcat5 no longer provides a separate "LE" version. You can take that
as a hint not to use the "LE" version in Tomcat4.1.x. It causes nothing
but confusion.
I disagree. The 'LE' version actually has less confusion becaus
I you define a context yourself, at least in Tomcat-4.x.x, you will have to
"explode" the .war file yourself before the server starts if you want to
point to the "tao" directory. In Tomcat5, you can point to "tao.war" and
it will explode it anyway and run out of the directory, which is exactly
At 11:09 AM 11/6/2003 -0500, you wrote:
Jacob,
ps. I also noticed that the 'LE' version does not come with commons-dbcp
and commons-pool libraries. I thought the 'LE' version was only
trimmed-down for JDK 1.4 users because it did not include an XML parser
-- which is included with the JDK, now.
At 10:46 AM 11/6/2003 -0500, you wrote:
ps. I also noticed that the 'LE' version does not come with commons-dbcp
and commons-pool libraries. I thought the 'LE' version was only
trimmed-down for JDK 1.4 users because it did not include an XML parser --
which is included with the JDK, now. What gi
simply replace new File("temp.txt") with...
new File(context.getRealPath("temp.txt"))
However, note that this may return null in the case that the webapp is
being served directly from a .war file and not from a directory. A better
strategy is loading the resource as an InputStream...
context.
You need to read the docs a bit closer and remember that Java is case
sensitive...
http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html#options
try using...
java -Xms128m or java -Xmx256m
Jake
At 10:02 AM 10/27/2003 +0530, you wrote:
Dear Sir/Madam,
Please tell me how can I in
At 02:52 PM 10/24/2003 -0800, you wrote:
nopes.. I have been careful to not use the Category class.
also, I do have the jar file in the classpath.
moreover, this is not a consistently reproducible error.. some users get
it, while others dont!
-Rishi
Looks like an exception happening in the containe
At 12:09 PM 10/14/2003 +0800, you wrote:
Hi John,
You may want to correct the URL -- it says "localhost" in your email. :)
Regards,
pascal chong
Should be:
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
Jake
John Turner wrote:
Apache 2 HTTP + Tomcat + JK.
Updated with the m
Are you using mod_jk and Apache to front server requests?
If so, Apache has the getRemoteUser information and you need to configure
Tomcat to tell it where to pull this from. If you are using a recent
version of Tomcat, put the following jk2.properties
request.tomcatAuthentication=false
J
Not sure of the exact problem or why 5.0.9 works but 5.0.12
doesn't. However, I would recommend that you not install Tomcat to a path
containing spaces. You are just asking for trouble. Also, why are
resources in the classpath being modified? If you want to modify
resources, you should have
You might want to look into Tomcat-specific Valve's. Valve's are
essentially filters, but act at the level of Tomcat instead of at the level
of each webapp and can be more powerful than filters. The Tomcat docs
describe existing valves. I'd just take a look at one of those valves to
get an i
1.2.2 since I tried doing some
J2ME development stuff last year.
Jake
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 01, 2003 3:07 PM
>To: Tomcat Users List
>Subject: RE: New Tomcat user
At 02:56 PM 10/1/2003 -0400, you wrote:
Howdy,
Was endorsed added in JDK 1.2 or 1.3? (I'm too lazy to search right
now). Try using a 1.3 (or later) JDK and see if the error goes away.
No on all counts. The endorsed standards override mechanism was added in
j2sdk1.4..
http://java.sun.com/j2se/1
At 11:33 AM 9/12/2003 -0400, you wrote:
Howdy,
You want to put all your jars in WEB-INF/lib. What are the errors
you're getting?
hmm Xalan is an endorsed library. It needs to be in
CATALINA_HOME/common/endorsed or JAVA_HOME/jre/lib/endorsed, otherwise the
old buggy version of Xalan that co
First, install your JDK to the root of the C: drive, not under Program
Files. Spaces in the path mess things up usually. Second, it is
JAVA_HOME, not Java_Home. And do you have %JAVA_HOME%\bin in your system
"Path" variable?
Jake
At 08:38 AM 9/12/2003 -0500, you wrote:
I downloaded Tomcat 5
I think that is what the "crossContext" attribute of the tag is
for (in server.xml or a context configuration file). I've never bothered
using it so don't just take my word for it. Go ahead and read Tomcat's
docs on the subject.
Jake
At 09:50 AM 9/5/2003 +0530, you wrote:
Is it possible to
The servlets-examples explicitly use servlet-mappings for /servlet/*. The
invoker servlet is disabled by default (since 4.1.12). Uncomment the
for the invoker servlet in CATALINA_HOME/conf/web.xml or
add this mapping to your own web.xml.or explicitly create your own
servlet mappings for
At 08:28 PM 9/1/2003 -0500, you wrote:
Hi all,
I'm seeing behavior that seems contrary to the TC Documentation (seems to
happen a lot).
I'm running TC 5.0.9 on Win 2k, J2SDK 1.4.2_01.
I have some JAR files (for JavaMail) in the $CATALINA_HOME/shared/lib
directory. I expect my web app will be abl
Don't ever put endorsed libraries in WEB-INF/lib, even under
JDk1.3.1. Just take the one from CATALINA_HOME/common/endorsed. It is
usually the most up-to-date anyway and you can always put your own version
there. Putting the xml parser in WEB-INF/lib will only cause you problems.
Jake
At 12
At 11:47 AM 8/24/2003 -0500, you wrote:
I am able to put classes in the \shared\classes and have
all of my hosts access a common class. Is there a way to set a user
directory as a shared webapp like that?
Not unless you modify the startup scripts. I'd avoid this since that will
be one more thing
At 01:21 PM 8/24/2003 -0700, you wrote:
How would you register a webapp's servlet and that servlet's url-mapping
when the invoker servlet mapping is disabled...??? I hope that sounds
right. I just uncommented the invoker mapping in conf/web.xml but if this
is a security risk I would like to kno
You really need to read the release notes. The invoker servlet is disabled
by default in all Tomcat releases. This started quite a while ago now. To
re-enable, uncomment the servlet-mapping for the invoker servlet in the
conf/web.xml.
Jake
At 08:50 AM 8/24/2003 -0700, you wrote:
please help
think of as the interface and the as the
implementation. Does it make more sense now? Your application get
information through the interface. This interface is the same on all J2EE
compliant containers. Each container provides its own implementation
backing this, though.
In Tomcat's case
You can always specify it in a separate context configuration file. Keep
the server.xml generic and put application specifics in context
configuration files.
Jake
At 08:47 AM 8/18/2003 -0500, you wrote:
Hi All,
We are currently developing an application and using CVS to manage our
source code
which classloader.
Not sure. Hopefully someone else will have more info about this.
Jake
Jacob
Kjome
<[EMAIL PROTECTED]> An: "Tomcat Users
List" <[EMAIL PROTECTED]>
the task is what you want if the Ant build is not on the same
machine as Tomcat. It does an HTTP PUT to a remote server. Just change
the manager url to deploy to different hosts.
Jake
At 09:46 PM 8/11/2003 -0700, you wrote:
Jake - thanks for your persistance here...
While your feedback is c
Add the following to jk2.properties
request.tomcatAuthentication=false
That tells Tomcat to take its authentication information from the jk or jk2
connector which gets it from Apache.
Jake
At 03:22 PM 8/12/2003 +0100, you wrote:
I'm having some difficulty making the getRemoteUser() method
At 06:52 AM 8/12/2003 +0200, you wrote:
It did run well with Tomcat 3.3.1
I found out that the included xerces version of this third party software
uses xerces 1.4.x. So, I removed the xerces jars in common/endorsed and put
the version 1.4.4 in there. Then, my application works again.
Is that t
Check your logs and and double check that no other ports are common between
the two server.xml files because the symptoms pont to this as the
cause. Can't help much beyond that. Good luck!
Jake
At 11:14 AM 8/13/2003 +0100, you wrote:
hi
i've now two instances of tomcat running - seperate di
You answer is in the release notes. The invoker servlet has been disabled
by default for quite a few versions of Tomcat now because it is a security
risk. You can turn it on by uncommenting the appropriate servlet mapping
in conf/web.xml
Jake
At 10:59 PM 8/10/2003 -0700, you wrote:
Hello,
I
Did you make sure the other ports such as the shutdown port that each
Tomcat instance is listening to are different? You can't just change the
main port that listens for requests and expect things to work properly.
Jake
At 04:04 PM 8/12/2003 +0100, you wrote:
hi
i have two instances of tomcat
Oh, ok, you are just looking for the basics. The Catalina Ant Manager
tasks will allow you to install, stop, start, reload, and remove. Changing
hosts is as easy as installing using the URL for a particular host. You
can install from a directory outside Tomcat's normal webapps directory or
d
I guess I thought you were using separate CATALINA_BASE's. CATALINA_HOME
will be common between these, but you will specify separate CATALINA_BASE
values for each Tomcat instance. They will have separate server.xml's,
separate shared/lib directories, and yes, separate temp directories. The
w
It doesn't matter what the actual port numbers are, just make sure that
nothing else is listening to the ports your specify in each case. So, if
one Tomat is using port 8005, make the next one use port 8006, and so on.
Jake
At 04:24 PM 8/12/2003 +0100, you wrote:
no.
do i have to change the p
It will be relative to the directory you see in your browser. For
instance, if you have this...
http://localhost:8080/mycontext/mypage.jsp
The .jsp file below would be loaded from the root of /mycontext just like
mypage.jsp is. The URL to it would be...
http://localhost:8080/mycontext/filena
I'm not sure if this will solve your problems, but take a look at the
changes made to Tomcat 5's manager application. It allows for
versioning. I haven't read about this much so I can't tell you the
details. I just thought I'd alert you to it. Grab the latest 5.0.7
version. Seems to be pre
Quoting Lukas Bradley <[EMAIL PROTECTED]>:
> > Does Tomcat 4.1.24 initialize a Log4J instance? It seems as if something
> is
> > stepping on my Log4J properties, and I don't know where it is. The first
> > thing my application does is start the plugin, but here is my log:
>
> It's actually Comm
s where
the WEB-INF/lib idea will be far simpler to deal with.
Jake
> -----Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: 16. juli 2003 17:57
> To: Tomcat Users List
> Subject: RE: Tomcat with log4j output
>
>
> Never put Log4j in jdk/jre/ext. Yo
Never put Log4j in jdk/jre/ext. You can put it in common/lib, but then also
put it in the WEB-INF/lib of your webapp unless you are using a custom
repository selector. Otherwise, Log4j uses a single logger repository (the
default one) and every app that performs configuration will override the
ear to me.
Jake
Thanks for any insight.
Reinhard
Jacob Kjome wrote:
At 11:05 AM 7/11/2003 +0200, you wrote:
Thanks, but that's not the problem. I know how to use Ant and jspc. The
question is whether/how I can tell Tomcat to load pre-compiled JSPs from
my war file which is not unpacked as I de
At 07:18 AM 7/11/2003 -0400, you wrote:
But my whole point can probably be ignored if you give rid of the leading
"/" for your getResourceAsStream() call. (I don't use
getResourceAsStream(), so I sometimes forget the little, yet important,
details.)
bad: getResourceAsStream("/more/cowbell.proper
At 11:05 AM 7/11/2003 +0200, you wrote:
Thanks, but that's not the problem. I know how to use Ant and jspc. The
question is whether/how I can tell Tomcat to load pre-compiled JSPs from
my war file which is not unpacked as I deploy with unpackWars set to false.
The work directory is Tomcat's temp
At 09:20 AM 7/11/2003 +0200, you wrote:
Jacob Kjome wrote:
Put any specific stuff in a context configuration file. See
admin.xml and manager.xml in webapps for an example. You must be using
the manager app to upload a .war file since the server.xml is getting
reloaded. So, name your context
I assume you are using Basic AUTH here, right? Then send the
username/password combo like this..
http://myusername:[EMAIL PROTECTED]/
Obviously, this kind of puts the username/password combo out there is clear
text for all to see. However, that happens even with normal Basic
AUTH. Base64 en
How about creating it if it doesn't exist?
Jake
At 05:22 PM 7/10/2003 -0700, you wrote:
HAH, we just had that problem and fixed it about 5 minutes ago. Maybe
Tomcat should check for it's temp directory upon startup and error out in
a more informative way if it doesn't exist.
Jamey
James Co
corrupt jakarta-oro.jar perhaps?
Jake
At 01:01 PM 7/10/2003 -0700, you wrote:
I am attempting to move my application over to tomcat 4.1.24 from tomcat
4.0.4 and I get the following error message:
lost of log messages
.
2003-07-10 12:40:58 WebappLoader[/Main]: Deploy JAR
/WEB-INF/lib/jakarta-o
a try myself, but it's lunchtime! ;)
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 11:16 AM
> To: Tomcat Users List
> Subject: Re: JDBCRealm - Session not timing out
>
>
> At 12:09 PM 7/10/2003 -0400, you w
At 12:09 PM 7/10/2003 -0400, you wrote:
Should my JDBCRealm login reset when the session times out?
I have tried it in both Basic AUTH and Form AUTH.
My session never times out.
I'm not entirely sure about Form AUTH, but Basic AUTH doesn't use
sessions. The browser caches the login information p
At 08:22 AM 7/10/2003 +0200, you wrote:
Hi,
i use a tomcat 4.1.18 on a Linux RedHat 7.3
All my directories "images" are a linux link in my webapp, so i have put
this on my server xml betwen the two tag "context"
so it's work, but when i use the webapp admin in order to change some
other param
You need a in your for each webapp that you
want to make the resource available to.
Jake
At 08:08 PM 6/12/2003 +0300, you wrote:
Hi,
I'm trying to setup a JDBC DataSource on Tomcat 4.1.24.
I performed the steps in the documentation:
1- Added this part to the GlobalNamingResources section of
How about this:
http://free.tagish.net/jaas/
or
http://www.simind.com/
or
http://www.cafesoft.com/
And, of course, Tomcat's documentation...
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Single%20Sign%20On%20Valve
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#
Being able to access your session in non-ssl after coming out of an ssl
environment is a security issue. Tomcat4.x.x allows sessions to move from
http ---> https, but not vice-versa. You may disagree with this
behavior. In that case, you'll have to search the archives for the
relevant conver
First, I think you mean super.init(config) and second, there is no need for
that if you call the "init()" method rather than init(ServletConfig
config). See the javadoc...
public void init()
throws ServletException
A convenience method which can be overridden so that there's no need
I don't know why this would be any slower than tomcat itself? Tomcat
serves images by loading them as a stream from the default servlet and
returns them to the browser. It all depends on how you implement this. It
very well could be faster than Tomcat itself since a servlet dedicated to
serv
take a look at the CATALINA_HOME/webapps directory and look at manager.xml
and admin.xml Those are context configuration files. When deploying a
.war file (via the catalina ant manager "deploy" task), the context
configuration file needs to be named "context.xml" and added to the
"META-INF" d
I haven't figured out how to reproduce that
becuause now my behavior is totally back to normal. So, I grant you that
there are some weird things going on, but I've never, ever, seen the .war
file added to webapps or unpacked to webapps.
Jake
-Original Message-
From: Jacob K
esn't
happen, it just means I haven't reproduced the behavior. You might want to
search Bugzilla for entries like this. If one doesn't exist, post a new
bug and describe how to reproduce it.
http://nagoya.apache.org/bugzilla/
Jake
At 09:31 AM 6/6/2003 -0500, you wrote:
Jacob Kjome wr
This could be caused by using the deprecated HTTP1.1 connector rather than
the new Coyote Connector in server.xml.
Jake
At 10:06 AM 6/6/2003 +0200, you wrote:
Hi.
I'm currently working in a complex web application. In a stage of
development, we wanted to control access to files from the users,
One clarification and a solution...
At 12:48 PM 6/5/2003 -0400, you wrote:
I finally had my Catalina-Ant undeploy task working after I included
context.xml into my war's META-INF directory. What this deployment doing is
- war is uploaded to $CATALINA/work/Standalone/my.host/manager;
- war is unpac
You are using commons-logging and not log4j directly. Please don't state
that log4j isn't working when you aren't using it directly. I don't have
the slightest clue of how to get your commons-logging config working, but
one fix is to dump commons-logging and use log4j directly. You will have
You are in luck. Check this out...
http://www.fwd.at/tomcat/sharing-session-data-howto.html
I haven't tried it, but it is supposed to be container agnostic.
Jake
At 10:43 AM 6/6/2003 +0530, you wrote:
Hi All,
I have around 10 applications deployed. My requirement is to have
a same sess
loy" because mixing them will very likely give you
unpredictable behavior.
Jake
-Original Message-
From: Paul Christmann [mailto:[EMAIL PROTECTED]
Sent: June 5, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat Manager deploy and undeploy
> Phillip Qin wrote:
>> - war
I have noticed this behavior sporadically. Did you do a "remove" or an
"undeploy". The latter is the correct one if you used "deploy". "install"
and "remove" work together and "deploy" and "undeploy" work together. Make
sure not to mix them up. You may get unpredictable behavior. This real
201 - 300 of 995 matches
Mail list logo