:
was Johannes Fiala/Johannes Fiala
received
will not create a new session if there isn't already one. it will
simply return null in this case.
I hope this helps,
Johannes
Pinguti Sridevi [EMAIL PROTECTED]
22.01.2004 11:38
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
anand [EMAIL PROTECTED], javagroup [EMAIL PROTECTED],
parvez
files within the WAR file). I wrote a small Singleton to
support turning logging ON/OFF during runtime.
I'd appreciate if anybody else can share his thoughts on this topic. Maybe
Log4J/the JDK Logging API provides options that I don't know of yet.
thx
Johannes
(like the App Dev. Guide of Craig)? or is there already
something at the log4j site you know of?
thx alot
Johannes
hi there,
I saw TC5.0.18 is marked stable on the Tomcat-Website (production
quality). Is anybody using TC 5.0.x in production already ? Did any
remarkable issues arise?
thx
Johannes
/classes/org/apache/catalina/core/StandardContext.class
Johannes
--
the secret to success is knowing who to blame for your failures
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Reinhard,
Using TC 4.1.24+ you can use ant to first run JspC and deploy the
resulting WAR using the manager app.
You can find more info here:
http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html
Johannes
Reinhard Nägele [EMAIL PROTECTED]
10.07.2003 15:38
Please respond
to 14KB using the
compressionFilters)
(works only for browser that accept zip/gzip encoding, but most already
do)
*) You can find more info on using JSPC with Ant as I recently posted:
http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html
Johannes
Mark F [EMAIL PROTECTED]
08.07.2003
sessionid with other
contexts).
Johannes
Tim Funk [EMAIL PROTECTED]
08.07.2003 13:21
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
Re: cookie based session sharing among web apps
No - it breaks the servlet spec. Sessions
.
However, I used the Context to store the shared session data which should
be ok for smaller traffic, but might cause troubles if lot's of data have
to be pumped into shared sessions. Then I'd encourage you to use a
database or other persistence mechanisms :)
johannes
Johannes Fiala [EMAIL
sessionid with other
contexts).
Johannes
Tim Funk [EMAIL PROTECTED]
08.07.2003 13:21
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
Re: cookie based session sharing among web apps
No - it breaks the servlet spec. Sessions
.
However, I used the Context to store the shared session data which should
be ok for smaller traffic, but might cause troubles if lot's of data have
to be pumped into shared sessions. Then I'd encourage you to use a
database or other persistence mechanisms :)
johannes
Johannes Fiala [EMAIL
Hi Arnaud,
You might be interested in this.
http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html
(look at the build.xml which is available as a link inside the html file,
you find the merge-descriptors task there).
Johannes
Elisabeth Rotbach [EMAIL PROTECTED]
03.07.2003 19:10
tutorials or workflow descriptions for this?
Thanks,
Johannes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, both autoDeploy and unpackWARs are true.
- Johannes
On Dienstag, Juni 24, 2003, at 04:45 Uhr, John Turner wrote:
Do you have autoDeploy set to true in server.xml?
John
On Tue, 24 Jun 2003 16:40:31 +0200, Johannes Lietz
[EMAIL PROTECTED] wrote:
I've got a question regarding
,
Johannes
for JDBC databases. If anybody wants to share his code
or has different ideas: welcome!
Suggestions are welcome as well,
Johannes
this properly?
Thanks,
Johannes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for the root app to
/usr/local/bin/tomcat/webapps/ROOT.
- Johannes
On Mittwoch, Mai 28, 2003, at 07:20 Uhr, John Turner wrote:
You're saying that if you make your DocumentRoot webapps/ROOT that
Apache doesn't serve content in that directory? What error message
does Apache display?
The ROOT
mapped to the versioned context.
thx alot
Johannes
Shapira, Yoav [EMAIL PROTECTED]
31.03.2003 16:51
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
RE: Switching between releases during runtime
Howdy,
Several other approaches
occurs especially often on our production machine, which is
running AIX 4.3.
thx alot
Johannes
with an 404 error.
== What could I do to have 100% availability of my webapp during the
undeployed-state?
thx alot
Johannes
complex
*) if I need the reference J2EE engine - take Tomcat
advantage: easier to use, less overhead with EJB
What do you think?
cheers,
Johannes
johannes
Nikolaos Giannopoulos [EMAIL PROTECTED]
05.04.2003 00:09
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED]
cc
Subject
RE: Tomcat 4.1.18-4.1.24 causes standard tag to fail
-Original Message-
From: Jim Henderson
Hi
I cannot leave your claim unanswered here, even it is way off topic - I
don't see any info on JBoss at my homepage, so I cannot see any sentence
which is not true.
I hope your next post will be more helpful to the community here, instead
of blaming others.
cheers
Johannes
exceptions if anything goes wrong.
Thx alot
Johannes
Joe Sam Shirah [EMAIL PROTECTED]
05.04.2003 19:41
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
Re: Tomcat vs. JBoss
Hi Johannes,
There is no Tomcat versus JBoss issue
=.
===
I hope this helps,
Johannes
manchi prathima [EMAIL PROTECTED]
05.04.2003 12:34
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
regarding the installation of tomcat
Is it necessary to set the tomcat environmental variable TOMCAT_HOME
recently at this forum, simply search for:
SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties +
workers2.properties
I hope this helps,
Johannes
Rick Baker [EMAIL PROTECTED]
04.04.2003 21:31
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
ISAPI
your
thoughts.
I reserve the right to learn something new, you probably don't have to
anymore...
I hope you'll receive a better treatment when learning something new than
you do to others.
Johannes
Hi Peter,
You could also use the Commons FileUpload package of the Jakarta project:
http://jakarta.apache.org/commons/fileupload/index.html
I personally have used the cos.jar package of Jason Hunter as well and it
has served its purpose fine so far.
Johannes
joe [EMAIL PROTECTED
anybody know an easy tool to generate certificates and package them
into PKCS #12 files (PFX-files, password-protected).
Thanks alot
Johannes
certificates, sign them and revoke them.
keeps a log of all the actions done using openssl, so they can easily be
entered in openssl commandline modus later.
very good for learning how openssl works (since the docs of openssl are a
bit lousy).
cheers
Johannes
Mark W. Webb [EMAIL PROTECTED
to hope for in Tomcat 5?
Does any J2EE container successfully solve this problem?
thx alot
Johannes
).
So I think there should be an incremental update possibility for WAR
files, maybe someone will pick this up some day :)
thx alot
Johannes
Shapira, Yoav [EMAIL PROTECTED]
03.04.2003 15:55
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
with the JSPC, it doesn't allow for JSPs
with the same name - I already posted here twice but haven't got any
response yet. Maybe you have an idea for this as well?
thx alot
Johannes
Shapira, Yoav [EMAIL PROTECTED]
03.04.2003 15:55
Please respond to
Tomcat Users List [EMAIL PROTECTED
peaks to at least know what the current
maximum of concurrent connections is.
I wonder why this is not part of the dbcp.commons package. Shouldn't
connection tracking become a part of it?
thx alot
Johannes
to run at quite undetermined
intervals, because after ten requests in a row the free memory goes up
again. Does anybody know how to configure the garbage collector for
Tomcat?
Cheers,
Johannes
Shapira, Yoav [EMAIL PROTECTED]
03.04.2003 21:39
Please respond to
Tomcat Users List [EMAIL
rethink my approach, but I think images and static stuff should
be addable during runtime.
This stuff isn't included in EXE files anyway, it is usually stored
outside the basic application. I think WAR files should have the same
approache.
thx so far
Johannes
Hi Mike
It seems poolman is currently considerably exceeding the functionality of
dbcp.
Can you post a link where I can find it?
Is it in general preferable to use poolman instead of dbcp as dbcp
provides only a small set of functionality for production sites?
thx alot
Johannes
mike
powerful enough to get used in a memory tracker for tomcat (I
haven't used it yet)?
Wouldn't it make sense to have a monitoring app for memory and database
connections for Tomcat (i.e. dbcp/poolman functionality + jvmpi in one
admin app)?
thx
Johannes
, but haven't found a
fix there.
Does anybody know how to fix this JSP naming problem??
Thx alot
Johannes
install url=${url} username=${username} password=${password}
path=${path} war=file://${build}/
/target
thx alot
Johannes
Jacob Kjome [EMAIL PROTECTED]
29.03.2003 20:16
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
-INF/context.xml
war=file:///${build.home}/
/target
== So I have the same context.xml for development (ant install) and for
production (ant deploy)
thx alot for your great input!!!
Johannes
-stylesheet type=text/xsl href=tomcat-docs.xsl?
== voila! you can preview the complete XML rendered as HTML in MS IE 6.0!
cheers,
johannes
, but the compiler complains about having two
jsps with the same name!!!
If I put the JSPs into the static web directory:
/web/firstpart/form.jsp
/web/secondpart/form.jsp
== then everything runs smoothly.
How can I get rid of this strange effect??
thx alot
Johannes
to the JSP compilation
during runtime?
thx alot
Johannes
lib.xml for each of my webapps?
thx alot
Johannes
the jasper2 task where to find the WEB-INF
directory??
At first glance it seems there is no option for this available:
jasper2
validateXml=false
uriroot=${basedir}/jsp
webXmlFragment=${basedir}/webinc.xml
outputDir=${basedir}/src /
thx alot
Johannes
a tag from an external file) could
be required more often, so I think it would make sense to extend the
FileSet datatype.
Has anybody a good idea where to start?
(probably at the ant mailinglist :)?
thx,
Johannes
jerome moliere [EMAIL PROTECTED]
30.03.2003 14:26
Please respond to
Tomcat
project [
!ENTITY lib-project1 SYSTEM file:./lib1.xml
!ENTITY lib-project2 SYSTEM file:./lib2.xml
]
project name=MyProject default=compile basedir=.
...
...
...
target name=copyjars
lib-project1;
lib-project2;
/target
...
...
...
/project
Jake
Johannes
Phil Steitz [EMAIL
Hi Phil,
Thx for your input, I already posted to the Ant forum - if they don't
jump on this topic I'll try to use the links you sent and keep you posted
on the results
thx alot
Johannes
Phil Steitz [EMAIL PROTECTED]
30.03.2003 18:30
Please respond to
Tomcat Users List [EMAIL PROTECTED
alot
Johannes
Dov Rosenberg [EMAIL PROTECTED]
30.03.2003 17:17
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
Re: JSP Taglib resolution trouble
Make sure you add the TagLib definition in the web.xml.
Dov Rosenberg
On Sunday
preferable to use
=
Class myclass = this;
FileInputStream fin =
(FileInputStream)myclass.getResourceAsStream(WEB-INF/myconfig.txt);
= ?
pls give me a hint which type of access is more portable?
Do you also know a howto how to create portable web-applications?
thx a lot
Johannes
and are not inited correctly.
Thus it seems that ant deploy will correctly initialize the Context, but
ant install fails to do so.
Working this way, ant install seems to be quite useless to me, or does
it have another sense to use it?
thx alot
Johannes
Jacob Kjome [EMAIL PROTECTED]
28.03.2003 20:27
Hi Jeff,
no, using the ant deploy task it worked smoothly.
I was just wondering what the install task is all about (if it's not
working)
thx
Johannes
Jeff Jensen [EMAIL PROTECTED]
29.03.2003 15:02
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
'Tomcat Users List' [EMAIL
HI there,
In my app I need to store files after a transaction is complete.
I want to keep my application portable, so where should I store such files
to??
Should I use a /output/.. directory in the root area or where else could
be a smart location?
Any ideas on this topic??
thx alot
Johannes
this issue to have 100% uptime of an
application?
thx alot
Johannes
Jeff Jensen [EMAIL PROTECTED]
29.03.2003 15:34
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
'Tomcat Users List' [EMAIL PROTECTED]
cc
Subject
RE: Trouble with ant install command and ResourceLink
Yes, me too
and web_remote directory and make a
simple ant copy task to distinguish production/development?
Or is there a more elegant approach to this?
thx alot
Johannes
Kaarle Kaila [EMAIL PROTECTED]
29.03.2003 15:41
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL
and scripts available (e.g. I'm recently migrated from apache soap
to axis with multiple releases).
I'd like to contribute my current configuration experiences and update the
docs for the other users - how can I do this?
thx
Johannes
).
What do you think about this approach?
Johannes
configuration info?
I tried:
/build/context.xml
and
ant install, but it didn't work.
Any suggestions??
thx
Johannes
.
*) wouldn't it make sense to read the context.xml for ant install out of
the same directory as ant deploy?
(e.g. /build/META-INF/context.xml)
thx
Johannes
renaming of old versions of
server.xml off?
Every time I redeploy, an additional file shows up:
/conf/server.xml.2003-03-28.19-41-35
thx
Johannes
Hi there,
Is it somehow possible to look up all JNDI configuration values available
in a servlet/context?
This would be quite fine for debugging purposes, and it seems there is no
function available for this, only for looking up a specific value.
thx
Johannes
renders it as ISO-8859-1
(which would be ok).
So it seems there is some character encoding conversion taking place using
ant jspc.
==
*) why is this happening?
*) how can I get rid of this?
thx alot
Johannes
rather than having
to redeploy for each release switch.
What do you think about this idea?
thx
Johannes
think a
configuration listing would be quite handy for debugging and info
purposes.
What do you mean?
Johannes
jerome moliere [EMAIL PROTECTED]
29.03.2003 18:36
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
Re: Listing all JNDI
to access them in Java!
thx alot
Johannes
info in web.xml??
Thx alot
Johannes
think it would be cool to have such one.
p.s. Does anybody know how to access e.g. java:comp/env/ to read all
environment entries available? Maybe even a code sample to share??
thx alot
Johannes
with?
I think this topic is going to be important for every production quality
tomcat server out there, which has to run frequent updates of
functionality (webapps).
thx
Johannes
Andoni [EMAIL PROTECTED]
28.03.2003 13:36
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
Tomcat Users List
Hi Phil,
if you make changes to web.xml env-entries and stop/start the application
using the manager app, do your changes show up? My changes didn't show up,
only after a complete restart of the Tomcat Container.
thx
Johannes
Rhodes, Phil [EMAIL PROTECTED]
28.03.2003 15:26
Please respond
in web.xml show up without restarting tomcat as a whole (what I
wanted to avoid to allow high availability).
thx.
Johannes
task together with JNDI resourcelinks
successfully?
thx
Johannes
for a
context dbadmin with docbase dbadmin.
Would renaming the docbase to
F:\tomcat-4.1.18\work\Standalone\localhost\manager\dbadmin.war resolve
the problem of not having any context?
What else could be done to get a context for the webapplication dbadmin?
thx
Johannes
additionaly, an application deployed using the manager app currently
returns null if you use servletcontext.getRealPath();
so it's context seems to be quite obfuscated...
Does anybody else have the same phenomenon?
thx
Johannes
- Forwarded by Johannes Fiala/Johannes Fiala on 28.03.2003 19
.
Is there any way to reload the InitParameters of a context after deploying
a new webapp?
thx
Johannes
context-specific files?
Wouldn't it make sense to include re-reading the context-specific part of
the server.xml file for each context which gets reloaded???
Thx alot
Johannes
scenario.
ant compile
ant install
is all you have to do at the commandline.
johannes
!--
General purpose build script for web applications and web services,
including enhanced support for deploying directly to a Tomcat 4
based server.
This build script assumes that the source
=${basedir}/jsp
webXmlFragment=${basedir}/webinc.xml
outputDir=${basedir}/src /
/target
thx alot
johannes
/forms/build.xml:296: org.apache.jasper.JasperException:
This ab
solute uri (http://java.sun.com/jstl/core) cannot be resolved in either
web.xml
or the jar files deployed with this application
- Forwarded by Johannes Fiala/Johannes Fiala on 23.03.2003 18:11 -
Johannes Fiala/Johannes Fiala
above makes sense?
I think this would reduce the scattered library version troubles and it
would even be possible to search all the contexts to find out which
versions are used.
Thx for your feedback
Johannes
Jeff Jensen [EMAIL PROTECTED]
22.03.2003 16:44
Please respond to
Tomcat Users List
) explicitly,
so clients could take the link with myapp-1.0 to do so.
*) decide to test a higher level beta release (e.g. 1.2beta)
However, the main entry focuses on the current release. Hotfixes could
be dealt with that system as well.
What do you think ?
Johannes
/target
target name=all depends=jspc,compile
/target
/project
Can anybody shed any light onto this issue?
thx alot
Johannes
the generated_web.xml into the web.xml that already
exists
*) deploy the webapp to the container (not only install, I mean deploy)
Has anybody done this so far?
thx
Johannes
!-- ==
jspc task definition
== --
target name=jspc
taskdef classname
.
However, if it doesn't get reloaded after an update of /shared/lib, I have
no means to perform a hot redeploy if only the JAR files change.
thx alot
Johannes
:
was Johannes Fiala/Johannes Fiala
received
. myapp2)
2.) using a redirect to redirect from myapp - myapp2 (without the user
noticing it)
this would also make it easy to step back if troubles occur.
any thoughts on this matter?
Johannes
,
HttpFilterProc forwarding original URI
[%s]\n,uri);
I also don't see any log messages for init_jk() - does anybody know how to
turn this on?
thx
Johannes
Rick Bullotta [EMAIL PROTECTED]
10.03.2003 21:53
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
'Tomcat
- not working
JK 2.0.2 - not working
I don't know what I can do now, do you have any additional ideas what
could be wrong?
thx alot
Johannes
of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
=
I hope this helps everybody else
Johannes
trying to get this work, but troubleshooting this
IIS connector is much harder than programming Java :)
thx a lot for your input!
johannes
Rick Bullotta [EMAIL PROTECTED]
09.03.2003 15:34
Please respond to
[EMAIL PROTECTED]
To
Tomcat Users List [EMAIL PROTECTED]
cc
Subject
RE: Tomcat 4.1.18
how I can track down this error:
Screenshot of my registry entries:
Luckily, with my version 1.0 of JK POST
method is also working, so I currently have no urgent troubles with JK
1.0.
thx
johannes-
To unsubscribe, e-mail
:localhost:8009
[uri:/wartung/*]
worker=ajp13:localhost:8009
[uri:/SignonClient/*]
worker=ajp13:localhost:8009
thx
Johannes
this message
means?
Here is a screenshot of my registry:
I think it is really hard to debug the
behaviour of the JK-Connector.
Maybe a more detailed logging would
help installing users a lot?
thx
Johannes
Christopher Watson
[EMAIL PROTECTED]
28.02.2003 10:50
Please respond to
Tomcat
these files change for 2.0?
Can you send me
*) the working registry entries and
*) uriworkermap.properties
*) workers.properties
*) the isapi_redirector2.dll you are using?
I'd like to see 2.0 up and running as well!
thx alot
Johannes
Schleimer, Ben [EMAIL PROTECTED]
27.02.2003 15:09
Please
work.
Does anybody know why jk 2.0.2 doesn't work? Or is the old version of jk
used with the 4.0.1 docs (
http://www.vacodi.com/howto/tomcat/iisnt/index.html) just fine?
thx alot
Johannes Fiala
Konrad Rusz [EMAIL PROTECTED]
26.02.2003 11:19
Please respond to
Tomcat Users List [EMAIL
isapi_redirect.dll correctly.
However, after I stop and start IIS 5.0 the ISAPI Filter shows the red
arrow down.
The log file I specified in the registry entry log_file is simplest, but
there is no log file showing up (c:\isapi.log).
Any ideas on where I have to look at for errors?
thx alot
Johannes Fiala
into the jsessionid.
Can anybody tell me how the jvm_route is encoded into the sessionid, and
secondly when is it encoded: 1) when the sessionid is the first time
created
or 2) when I use the function encodeURL() ?
thanks in advance and
best regards,
Johannes Grumböck
--
To unsubscribe, e-mail
as in Apache 1.3 and
it works fine!
I will also send my binary mod_jk.so to John in order to get the collection
more complete :)
Perhaps I'll manage to build mod_jk2 und mod_webapp also.
Have a nice day/night
Johannes
-Daniel Rinehart [EMAIL PROTECTED] schrieb: -
An: Tomcat Users List [EMAIL
1 - 100 of 109 matches
Mail list logo