Re: war deployment and jsp pre-compilation

2003-07-10 Thread Johannes Fiala
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

Re: performance

2003-07-08 Thread Johannes Fiala
Hi Mark, *) One BIG performance improvement is to use a Filter to ZIP your HttpServletResponses. You can find a good example with TC 4.1.24 in the examples (compressionFilters). You can save lot's of network bandwidth and increase the server throughput (e.g. 200KB page size gets compressed to

Re: cookie based session sharing among web apps

2003-07-08 Thread Johannes Fiala
Yes, details: http://www.fwd.at/tomcat/sharing-session-data-howto.html (of course it's a workaround, but it works great with some restrictions regarding session serialization and clustering as I use a Context to store the shared session data; using a global cookie at root you can share one

Re: cookie based session sharing among web apps

2003-07-08 Thread Johannes Fiala
. 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

Re: cookie based session sharing among web apps

2003-07-08 Thread Johannes Fiala
Yes, details: http://www.fwd.at/tomcat/sharing-session-data-howto.html (of course it's a workaround, but it works great with some restrictions regarding session serialization and clustering as I use a Context to store the shared session data; using a global cookie at root you can share one

Re: cookie based session sharing among web apps

2003-07-08 Thread Johannes Fiala
. 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

Re: jspc ant task and merge web.xml

2003-07-07 Thread Johannes Fiala
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

Some thoughts on memory consumption and gc

2003-06-02 Thread Johannes Fiala
Hi there, I've made some tests with the gc and the -Xms and -Xmx settings. Suppose I have a list generated from a database with a size of 10.000 records with an average of 200 bytes each. This gives 2 MB data volume. *) If you have 128 MB heap and 64 MB stack memory assigned, against which

Sharing Session data between Contexts - HOWTO

2003-06-01 Thread Johannes Fiala
Hi there, I've just set up a HOWTO describing how to share session data (=session-based Java objects) between Contexts http://www.fwd.at/tomcat/sharing-session-data-howto.html I described how to share the Sessionid between two different Contexts and how to store and retrieve the shared

RE: Switching between releases during runtime

2003-04-05 Thread johannes . fiala
Hi Yoav, Thanks for your ideas, but how do they work out in the ant deploy scenario, where the application actually resides in /usr/local/tomcat/ work/Standalone/localhost/manager/forms.war ? *) Is it an option to create a symlink forms in the /webapps directory to point to

Weird problem using ant undeploy/deploy: InitParameters not inited

2003-04-05 Thread johannes . fiala
Hi there, I'm facing a strange problem sometimes when I'm doing an ant undeploy/deploy: Sometimes, the Context InitParameters don't get initialized, they simply resume to null. Does anybody have any idea what might cause this? It is reproducible but happens at different times. The problem

High availability Tomcat webapps using ant undeploy/deploy??

2003-04-05 Thread johannes . fiala
Hi there! My primary focus is high availability of the Tomcat applications running in production. Currently it takes approximately 10 seconds to redeploy an application using ant undeploy/deploy in production. This means taking the whole application down for 10 seconds leaving users with an

Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
Hi there, At my company some are discussing to replace our Tomcat installation with JBoss application server. What are the main arguments pro/contra using Tomcat/JBoss? Is anybody able to share some production experiences? To my mind it seems *) if I need EJB - take JBoss disadvantage: more

RE: Tomcat 4.1.18-4.1.24 causes standard tag to fail

2003-04-05 Thread johannes . fiala
hi jim, I had the same trouble when running jspc using ant. Simply replacing the absolute URI (which BTW points nowhere at the sun website) with a relative URI: %@ taglib prefix=c uri = /WEB-INF/c.tld % and supplying the c.tld file (below) solved the whole issue easily. It has the additional

[OFF-TOPIC] Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
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

Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
Hi Joe Sam, Thanks for your detailed reply. Do you know any real-life scenarios where you can't do it with Tomcat but need EJB seriously? So far I've done any backend-access using Apache Axis (Soap) and haven't yet had a great desire to use RMI/EJB remote access with pages of nested

Re: regarding the installation of tomcat

2003-04-05 Thread johannes . fiala
Hi manchi, As of Tomcat 4.x the variable is called CATALINA_HOME. If you don't set it, the startup script (startup.bat on Windows systems) will try to guess it: === rem Guess CATALINA_HOME if not defined if not %CATALINA_HOME% == goto gotHome set CATALINA_HOME=.

Re: ISAPI redirector

2003-04-05 Thread johannes . fiala
Hi Rick, First, make sure you set the log modus to DEBUG (Isapi 2.0.x: logLevel: DEBUG, Isapi 1.x: log_level: debug). Take a look into the Event Viewer of W2K and inspect the Application Log. You should see error messages there indicating what doesn't work. I posted my configuration info

[OFF-TOPIC] Re: Tomcat vs. JBoss

2003-04-05 Thread johannes . fiala
hi [EMAIL PROTECTED] + Michael Maier [EMAIL PROTECTED] alias blib (nickname of your previous posts), thx for your reply, I've corrected J2EE to Servlets/JSPs to increase the focus. I didn't take care of the EJB part of J2EE so far, but certainly will in the future. My clients, however, didn't

Re: upload and renameto apache-tomcat problem

2003-04-05 Thread johannes . fiala
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]

Issuing self-signed certificates to users for SSLv3

2003-04-04 Thread johannes . fiala
Hi there, I know it's not absolutely tomcat-specific, but maybe another Tomcat-user has come across this issue. We want to set up a Certificate Authority and issue self-signed certificates to users which then will use SSLv3 client certificate authentication to authenticate with Tomcat. Does

SOLVED: Re: Issuing self-signed certificates to users for SSLv3

2003-04-04 Thread johannes . fiala
Hi there, Mark: thx for the hint, unfortunately I'm not using tomcat connector right now. I'll come back to you if I'm using one later. Ramsay: thx for the useful link! just in case anybody else needs to issue certificates using openssl: Commandline OpenSSL for

partially updating a WAR file using manager app??

2003-04-03 Thread johannes . fiala
hi there, I'm using a bunch of JSPs for each form and view inside a web application. Currently I compile them using ANT and JSPC and then package them into a WAR file. This WAR-file gets deployed using ANT at the tomcat server. However, if I only change one JSP, it would be desirable to update

RE: partially updating a WAR file using manager app??

2003-04-03 Thread johannes . fiala
Hi Yoav, I understand this definition, but am not a 100% satisfied with it. Hmm. Maybe here the J2EE specification of Sun is not sufficient. Shouldn't there be some way to add templates or graphics or JSPs on the fly (which are more layout information = view part of the MVC model)? I'm a bit

RE: partially updating a WAR file using manager app??

2003-04-03 Thread johannes . fiala
Hi Yoav, BTW - Let's say portability here is not my primary goal here. What about extending the manager task so that if there are differences in the /web/ folder (i.e. static web content) to allow to access the /work/ directory directly and put the JSP or graphic or whatever directly there.

JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread johannes . fiala
HI there, I'd like to know what professional developers do when the maximum number of connection in a connection pool has been reached. What should be done with requests that don't get a connection? Should the max connection set to a very high number hoping that the number of requests served

RE: monitoring web apps

2003-04-03 Thread johannes . fiala
Hi there, I usually track the memory consumption of each request using a debug info which prints the free memory available. Runtime r = Runtime.getRuntime(); long freeMem = r.freeMemory(); System.out.println(free memory: + freeMem); I think packaging this into a memory tracking module for all

RE: partially updating a WAR file using manager app??

2003-04-03 Thread johannes . fiala
Hi Yoav/Craig, I'll take a look at the entry points you gave me - maybe I'll find my way through them. Of course I'll keep you posted if I get useful results... However, I still think it's a fundamental lack of the WAR approach not being able to incrementally add functionality. I originally

RE: JNDI connection pooling maximum connections exceeded - Tracking?

2003-04-03 Thread johannes . fiala
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

RE: monitoring web apps

2003-04-03 Thread johannes . fiala
Hi Yoav, oops. I didn't line out that this kind of memory tracking is for testing locally with my dev environment to see how tomcat does when handling 100.000 records of a ResultSet or so... and when memory does show up again. Thanks for the link, I'll investigate it later... Is the JVMPI

JSPC Precompile using Ant - unique jsp name problem

2003-03-31 Thread johannes . fiala
hi there, I've searched the whole forum but haven't found any definitive answer on this issue; since I'll try to repost with different language: If somebody runs JSPC using ANT to precompile all the JSPs, the precompile fails if any of the JSPs in different directories has the same name.

RE: Trouble with ant install command and ResourceLink

2003-03-30 Thread johannes . fiala
hi jacob, thx for the input, now it works smoothly. However, it would be great if the config-parameter gets mentioned in the manager app howto http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html target name=install description=Install web application depends=compile

SOLVED RE: Trouble with ant install command and ResourceLink

2003-03-30 Thread johannes . fiala
Hi Jacob, My solution for the problem: target name=install description=Install application to servlet container install url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path}

SOLVED: Preview Tomcat XML documentation locally with IE 6.0

2003-03-30 Thread johannes . fiala
Hi there, Has anybody yet tried to preview a xml file from the tomcat docs locally with MS IE? I think this makes sense if you add some sentences and want to see the results without ant rebuild. There are only two minor things MS IE 6.0 complains: *) the src and *) the alt variables are

Strange naming effect when trying to compile JSP using JSPC

2003-03-30 Thread johannes . fiala
hi there, Imagine the following file structure for the ant build process: /jsp/firstpart/form.jsp /jsp/secondpart/form.jsp if I try to compile these jsps using jspc, they get generated as expected to /jsp-src/firstpart/form_jsp.java /jsp-src/secondpart/form_jsp.java == Then I try ant compile,

JSP Taglib resolution trouble

2003-03-30 Thread johannes . fiala
Hi there, If I try to compile a JSP with an absolute URI to a taglib like %@ taglib prefix=c uri = http://java.sun.com/jstl/core; % then the compiler complains: jspc: 2003-03-30 12:30:05 - ERROR-the file '\views\mylist\list.jsp' ge nerated the following general exception:

Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
Hi there, I know this is more a question about ant, but maybe a tomcat user here has faced the same issue as I do when using a central lib directory for all of the JAR files in the various webapps: In the prepare task I copy the JAR files I need for my webapp into the WEB-INF/lib folder in

Jasper2 (JSPC) compiler option for WEB-INF directory?

2003-03-30 Thread johannes . fiala
Hi there, I have the following file structure: /jsp/myfile.jsp /web/WEB-INF/web.xml /web/WEB-INF/c.tld When I run ant jspc, it looks for the web.xml file in the /jsp/WEB-INF/web.xml directory. So I always have to copy the /web/WEB-INF folder to the jsp directory. Is there a way to tell the

Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
Hi Jerome, Yes, certainly that's what I thought at the first glance as well. But wouldn't it make more sense to make the fileset importable from another file (i.e. extend the FileSet datatype to allow imports from another file)? e.g. build.xml: copy todir=${build.home}/WEB-INF/lib

SOLVED: Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
hi phil, the issue has already been solved on the ant mailinglist. if any tomcat-user is interested, I post the answer of Jake here: If various lib.xml files contain contents similar to your copy task below, the build.xml file might look like ?xml version=1.0 encoding=UTF-8? !DOCTYPE

Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
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

Re: JSP Taglib resolution trouble

2003-03-30 Thread johannes . fiala
Hi Dov, Do you know how to describe a taglib with an absolute uri (e.g. http://java.sun.com/jstl/core) in web.xml? Can you post a sample here? I haven't had to describe my taglib in web.xml yet, because I used the /WEB-INF/xxx.tld syntax in my JSPs, thus they always have worked so far! thx

Re: Living without a Context - deploying an application using manager app

2003-03-29 Thread johannes . fiala
Hi Jacob, 1.) 1.000 thanks - this was the answer I needed. Do you know where this is to be found in the docs??? I spent quite some time with searching this forum and the internet, but didn't find any recommendation like that you just gave me. 2.) I see

Re: Living without a Context - deploying an application using manager app

2003-03-29 Thread johannes . fiala
p.s. I also have found that ant deploy will give me the context as desired (if stored in META-INF/context.xml as recommended by you) however, ant install does not create the same result. There the context.getInitParameter() and JNDI-configuration (ResourceLinks) both return null and are not

RE: Trouble with ant install command and ResourceLink

2003-03-29 Thread johannes . fiala
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

Where to store files in a portable app?

2003-03-29 Thread johannes . fiala
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

RE: Trouble with ant install command and ResourceLink

2003-03-29 Thread johannes . fiala
hi jeff, ok. so I will stay with deploy as well. Currently I do the following to redeploy: ant remove ant deploy However, there is a small time where users will still get a 404 error (the small delay where the PUT command is issued by the deploy task). Do you know a way how to get around this

Re: Where to store files in a portable app?

2003-03-29 Thread johannes . fiala
Hi Kaarle, Thx for the input. Unfortunately the development system is Windows and production system is Unix, so absolute paths will never be the same. Do you have any idea for how to manage properties files which will be different for windows than unix? Should I create a separate web_local and

SOLVED: Re: Living without a Context - deploying an application using manager app

2003-03-29 Thread johannes . fiala
Hi Jacob, Thank you for your detailed description. I'm now using the ant deploy/ant undeploy task successfully and it works as expected. I replaced all file-system access with .getClass().getResourceAsStream() and it works smoothly now. Also, the ant install command works correctly with the

Re: Where to store files in a portable app?

2003-03-29 Thread johannes . fiala
Hi Jacob, I think the decision about where the locally stored data should go should be done at build time. I'd suggest to use two directories within the ant tree structure: /web/// stores the static data independent of location /web-production/ // stores the config data

RE: Trouble with ant install command and ResourceLink

2003-03-29 Thread johannes . fiala
Hi Jacob, It seems as if I was wrong with ant install test. I now undeployed and installed, but the Context information got lost. Where do I have to put the context.xml in the /build/ directory? Would /build/myapp.xml ok? Would the install task accept any *.xml in /build/ as context

RE: Trouble with ant install command and ResourceLink

2003-03-29 Thread johannes . fiala
p.s. if I do ant undeploy ant install - context info gets lost ant remove ant deploy - context info is here again! == so with deploy the context is ok, with install not. *) I put /build/context.xml and /build/myapp.xml into the build-directory, but it still doesn't get the context inited. *)

ant deploy - server.xml changes

2003-03-29 Thread johannes . fiala
Hi there, 1.) My server.xml looks a bit unstructured after doing an ant deploy with the manager app. == Is it possible to tell the ant deploy task not to change server.xml itself, but only the /webapps/myapp.xml file belonging to the context (myapp)? 2.) Is it possible to turn the automatic

Listing all JNDI resources available

2003-03-29 Thread johannes . fiala
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

Different behaviour of JSPC using ant/using tomcat itself

2003-03-29 Thread johannes . fiala
hi there, I noticed an interesting difference between using ant jspc and having the jsp-file compiled by jasper during runtime. *) during runtime the file is processed ok *) using jspc it is encoded in UTF-8, which means that the german umlaute (ä,ö,ü) are displayed wrong, because the browser

Switching between releases during runtime

2003-03-29 Thread johannes . fiala
hi there, Is it possible to have a virtual context, which just points to another context? e.g. myapp = current version, should point to myapp-1.0 myapp-1.0 myapp-1.1 Is it possible to change the context myapp is pointing to during runtime? This would make switching between releases much easier

Re: Listing all JNDI resources available

2003-03-29 Thread johannes . fiala
Hi Jerome, I thought about the jdbc and env-entity entries in server.xml and web.xml. I think it could be quite handy to have a servlet which lists all resources available (without having to know the name of each JNDI resource). Of course digging in LDAP directories would make no sense, but I

Possible values in web.xml - Reference??

2003-03-28 Thread johannes . fiala
Hi there, Is there any reference available with samples what can be stored in web.xml and how to access the property? In the examples context I found the following entries in web.xml: env-entry env-entry-namename3/env-entry-name env-entry-value1/env-entry-value

Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi there, Since I got no replies to any of my inquiries regarding the use of context-specific information in server.xml, it seems as if nobody else uses this configuration property? What is the recommended place to put context-specific parameters into? e.g. Context crossContext=true debug=0

Re: Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi there, Here's what I found so far: 1.) I found that the more modern way of accessing scalar environment attributes seems to be JNDI. 2.) JNDI environment entries can be stored in web.xml 3.) web.xml file: env-entry env-entry-nametestvaluewebxml/env-entry-name

Re: Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi Andoni, I've got to manage tomcat in production with 99% availabilty, so I cannot afford a stop/start of Tomcat just to perform a minor update or bugfix. I want Tomcat in general run continuously. So I have to avoid server.xml and its neighbourhood (/webapps/*.xml) where possible to

RE: Possible values in web.xml - Reference??

2003-03-28 Thread johannes . fiala
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

Re-reading of web.xml during a reload with manager app

2003-03-28 Thread johannes . fiala
hi there, in the Manager App howto, paragraph on Reload an existing Application the following is quoted: NOTE: The /WEB-INF/web.xml web application configuration file is not reread on a reload. If you have made changes to your web.xml file you must stop then start the web application.

Trouble with ant install command and ResourceLink

2003-03-28 Thread johannes . fiala
hi there, In my /webapps/myapp.xml I'm using a ResourceLink: ResourceLink name=jdbc/mydb global=MyDatabase/ I'm using the manager app via ant to test my application. After calling ant remove ant install it tells me the context has been installed OK. However, it seems as if the

Living without a Context - deploying an application using manager app

2003-03-28 Thread johannes . fiala
hi there, here are my findings after some experimentation with the ant deploy task of the manager app. *) a complete application can be easily built into a WAR file using ant *) this WAR file can be easily deployed using ant deploy task *) once deployed onto the server, the application is

Fw: Living without a Context - deploying an application using manager app

2003-03-28 Thread johannes . fiala
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

Reloading context-specific InitParameter

2003-03-26 Thread johannes . fiala
hi there, is it possible to reload context-specific Initialization parameters stored in server.xml on the fly? if I deploy a new webapp to Tomcat, I always have the problem, that the Context InitParameters are not available - only after a restart of Tomcat, the application runs as expected.

Reloading server.xml with manager app

2003-03-25 Thread johannes . fiala
Hi there, I've split the server.xml file as follows: /conf/server.xml = contains the primary configuration /webapps/contextname.xml = contains the context specific configuration However, when I try to reload an app with the manager app it seems as if the information

SOLVED: Re: Jasper Compilation - Vol. 2 (continued from WebappPrecompilation using Ant and Jasper howto)

2003-03-24 Thread johannes . fiala
hi all, I've now found the solutions using some threads in this forum, but want to share the complete solution here: *) jspc-task: all *.jsp files in /jsp will be compiled into the /src directory *) merge-descriptors-task: /jsp/web-template.xml will be used for merging the temporary webinc.xml

Jasper Compilation with Ant including custom taglibs

2003-03-24 Thread johannes . fiala
hi there, I've used a taglib from the jstl/core-package and would like to compile it. If I try so using ant and a jspc-task, I get the following error: 2003-03-23 05:54:11 - ERROR-the file '\nodigsig.jsp' generated the following gen eral exception: org.apache.jasper.JasperException: This

Fw: Jasper Compilation with Ant including custom taglibs

2003-03-24 Thread johannes . fiala
/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

RE: Reloading shared/lib JAR files?

2003-03-23 Thread Johannes Fiala
on a webapp reload and there is no way to reload them(except a stop/start of tomcat). But jars/classes in WEB-INF/ can be reloaded. If you have jars in shared/lib that need reloaded when an webapp is reloaded - you might need to rethink the design of those shared libs. -Tim Johannes Fiala

Handling release management with Tomcat

2003-03-23 Thread Johannes Fiala
Hi there, We have a multiple server and multiple release system using Tomcat 4.1.18. Given the issues we have to address we want to ease updating from version to the other without facing big risks or interoperability issues. Servers acting as clients calling soap requests etc. should be able to

Webapp Precompilation using Ant and Jasper howto

2003-03-23 Thread Johannes Fiala
Hi there, I read the Jasper howto (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html), but I didn't get the build.xml file to work. here's the commandline I typed in: F:\srcant -Dtomcat.home=f:/tomcat-4.1.18 -Dwebapp.path=f:/tomcat-4.1.18/webapps/myapp I get the following

Jasper Compilation - Vol. 2 (continued from Webapp Precompilation using Antand Jasper howto)

2003-03-23 Thread Johannes Fiala
Hi there, I've just built an ant task to allow for compilation of Jsps (jspc) *) the compiled jsps are put into /web/WEB-INF/src/*.java *) a generated WEB-INF directory is created at /web/WEB-INF/generated_web.xml However, I'd like to accomplish the following: *) automatically merge the

Reloading shared/lib JAR files?

2003-03-22 Thread Johannes Fiala
Hi there, I know it is possible to reload a web-application using the manager app (especially the JAR-files in WEB-INF/lib). Is it possible to also include the shared/lib directory? We have some helper JARs, which are used by four web contexts, so I'd prefer to put them into /shared/lib.

Ant redeploy, Apache (mod_webapp) Tomcat 4.1

2003-03-21 Thread Johannes Fiala
: was Johannes Fiala/Johannes Fiala received

HOT redeploy of webapps using Tomcat 4.1.18?

2003-03-21 Thread Johannes Fiala
Hi there, Has anybody done a hot redeploy of a web application context using Tomcat? What I've got to work so far: *) simply overwrite JARs in the /webapps/myapp/WEB-INF/lib directory and reloading the application context runs ok *) however, if you really want to completeley redeploy a web

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-12 Thread Johannes Fiala
is not set up to be listening on port 80... Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:24 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: Tomcat 4.1.18

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-12 Thread Johannes Fiala
Hi Rick, My last email contained a wrong diagnosis of the problem. redirection to lb:lb is fine, because it is defined as a load balancer in my workers2.properties. However, after entering http://localhost/examples I simply get a Server not found exception using MS IE 6 (indicating there was

SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-12 Thread Johannes Fiala
Hi to all! I finally have found the solution: 2.0.1 and 2.0.2 is now working - it seems my try to use a different name for the redirector dll other than isapi_redirector2.dll has caused the trouble. I thought I could use isapi_redirector2_201.dll and enter it in the extensionUri and use it as

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-10 Thread Johannes Fiala
Hi Rick, I tried both fixes, but they failed. I also tried different releases (2.0.1, 2.0.2), but none worked. It also doesn't log properly, just fails when I look into the event viewer Event Type: Error Event Source: W3SVC Event Category: None Event ID: 115 Date:

RE: Tomcat 4.1.18 - IIS 5.0 plugin

2003-03-09 Thread Johannes Fiala
Hi all, Thx Mark + Rick for your support. I tried to use your recommended settings and succeeded so far, as the green arrow is now showing after I restart IIS. However, I could not completely decipher the following settings (in Mark's jk2.properties):

RE: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-09 Thread Johannes Fiala
hi there, here are the properties files I currently use (a merge of Mark's + Rick's configuration files): = jk2.properties = ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE

RE: Tomcat 4.1.18 - IIS 5.0 plugin

2003-03-03 Thread Johannes Fiala
it to work, having puzzled over 2.0.2 for a long time. My 2p (UK c version of 2 cents) Christopehr -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 08:08 To: Tomcat Users List Subject: Re: Tomcat 4.1.18 - IIS 5.0 plugin Dear Ben

Re: Tomcat 4.1.18 - IIS 5.0 plugin

2003-02-28 Thread Johannes Fiala
. 4.1.18 is compiled to use jk2, not jk. Good luck, Ben --- Johannes Fiala [EMAIL PROTECTED] wrote: hi there, I just tried to get the IIS JK2 running using Tomcat 4.1.18 with JK isapi 2.0.2 and IIS 5.0 (Win 2000 Professional) I added the registry entries correctly (no error in event

Re: Tomcat 4.1.18 - IIS 5.0 plugin

2003-02-26 Thread Johannes Fiala
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

Tomcat 4.1.18 - IIS 5.0 plugin

2003-02-25 Thread Johannes Fiala
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