Re: JSVC, Redhat 8, and TomCat 5.0.xx startup

2004-06-28 Thread QM
is called by root. 2/ Root runs jsvc, which calls the port (or whatever) with root privs. 3/ Root then calls setuid() et al under the covers to switch IDs to the Tomcat user. 4/ Tomcat (or whatever daemon) is run as the specified user. -QM -- software -- http://www.brandxdev.net tech news

Re: 2 realms

2004-06-28 Thread QM
helpful posts on writing a custom realm. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSVC, Redhat 8, and TomCat 5.0.xx startup

2004-06-28 Thread QM
environment. e.g. look for environment variables that are set by root's .profile and such, because that file isn't sourced in for init scripts at boot time. If you're still stuck, post the script and I'll take a look at it. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: web.xml pointing to other xml files?

2004-06-28 Thread QM
-mapping servlet servlet-mapping -but don't quote me on that, as I don't have the spec in front of me right now. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: web.xml pointing to other xml files?

2004-06-28 Thread QM
can show me how you're doing it that : would be great, thanks! Appended below. Perl's TMTOWTDI motto reigns here, because I'm certain there are other (and gmore elegant) ways to do this... -QM ... from build.xml ... !-- make the contents of the precompiled JSP mappings

Re: JSVC, Redhat 8, and TomCat 5.0.xx startup

2004-06-27 Thread QM
since jsvc expects root privs, calls to setuid() and setgid() fail when it is run as a nonroot user (in your case, tomcat) even though said user is the intended daemon user. Long story short: sounds like expected behavior to me. ;) -QM -- software -- http://www.brandxdev.net tech news -- http

Re: jsvc and the -server option

2004-06-25 Thread QM
I'm the only one having this problem. Is every other :jsvc user out there just running the default client vm? Perhaps. I recall, some people encountered stability problems with the server VM... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Defining data sources in context only

2004-06-23 Thread QM
into context.xml? See the Tomcat docs for details -- this may be what you're after. The context.xml file contains a context's (webapp's) Context element from server.xml, but it stays with the webapp. iow, no more need to disturb the global server.xml for deployments. -QM -- software -- http

Re: ROOT/index.jsp

2004-06-22 Thread QM
(say, JSPs) second. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: %= application.getServerInfo() % on default tomcat page

2004-06-22 Thread QM
request. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ServletException

2004-06-22 Thread QM
: net.jini.jeri.tcp.TcpServerEndpoint.checkConstraints(TcpServerEndpoint.java:345) Did you recompile your app against the new Tomcat JARs and (more relevant to this issue) the new JINI JARs? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: ROOT/index.jsp

2004-06-22 Thread QM
for a JSP being updated. The latter is for production deployments, in which case the JSPs should not change throughout the release lifetime. The root context may be under /work/_ in TC5, but don't quote me on that. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Significant Deployment Issue - Unsolvable?

2004-06-22 Thread QM
groups of 50? That would help whittle down whether there's a problem in a specific webapp that's bringing down the whole lot of them. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: three problems

2004-06-18 Thread QM
. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat and jdk1.3 or jdk1.4

2004-06-18 Thread QM
? I'm not sure what this means. Please explain. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: three problems

2004-06-18 Thread QM
On Fri, Jun 18, 2004 at 12:30:26PM -0600, Casas, Claudia wrote: : Thanks QM! This works now! :) yuppiii! Excellent -- and thank you for posting what you did. That'll help someone else in the archives. : But I would like to be able to access this file with no 8080 port at : all, like this: http

Re: Reading the servlet input stream twice

2004-06-18 Thread QM
request content without : cleaning out the input stream and stuffing up the suceeding logic? Servlet Filter, maybe? Aren't both POST and GET params available via request.getParameter() or am I not correct? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: basic authentication or not?

2004-06-17 Thread QM
this authentication database outside of our main database? One reason is load: separate auth traffic from app traffic. This also lets you share that single auth DB among several apps, and each app can have its own database for its data. -QM -- software -- http://www.brandxdev.net tech news

Re: Tomcat 4.1 stops responding on RH9

2004-06-17 Thread QM
? Differences in RAM or JVM heap settings can cause different GC behavior between the two. Furthermore, what sort of load-testing was done on the app before it went live? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: three problems

2004-06-17 Thread QM
know it off the top of my head, but a search on the Tomcat site should find it. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: three problems

2004-06-17 Thread QM
? For example, what's the output of iptables --list -n -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: three problems

2004-06-17 Thread QM
--state NEW -j ACCEPT Be sure to test that out and, if it doesn't break anything else, save your changes: service iptables save -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Too many open files on Solaris

2004-06-16 Thread QM
your sysadmin, I've done all I can do. Your turn. How much memory does the container use during peak periods? You could setup a second Tomcat instance (either on the current host, or a different host) and have Apache/mod_jk load-balance between the two. -QM -- software -- http

Re: Order of WebApp Loading

2004-06-16 Thread QM
container and make sure that starts first (i.e. in your init scripts). What's the rationale behind App #1 starting first? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Too many open files on Solaris

2004-06-16 Thread QM
. It was beautiful. Good luck. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat 4.1.x and RHEL3.0 problem

2004-06-16 Thread QM
On Wed, Jun 16, 2004 at 04:43:18PM +0300, Eyup TEKIN wrote: : is there any bug solution with tomcat 4.1.x and rhel3.0 : it gives jdk error Maybe. Share the error, and someone may share a more thorough answer. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread QM
(such as a logger). I'd certainly call those local objects useful. =) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: question

2004-06-16 Thread QM
an explicit import instruction? yes, unless your servlet is in the same package as the class (though it's considered good form -- and forward-thinking -- to explicitly import, even from the same package) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Can server.xml be reloaded without restart?

2004-06-16 Thread QM
is undisturbed. Icing on the cake: app-specific settings stay with the app, making it more portable within your infrastructure. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e

Re: Can server.xml be reloaded without restart?

2004-06-16 Thread QM
, for Tomcat5 use of context.xml is encouraged. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple requests sharing the same Servlet instance

2004-06-14 Thread QM
On Mon, Jun 14, 2004 at 10:55:44AM -0400, Tim Funk wrote: : One way to get around this is by making your serlvet implement : SingleThreadModel. (ick!) Not if the OP is using Tomcat5, or any other servlet spec 2.4 container. ;) SingleThreadModel has (thankfully) been banished. -QM

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
the servlet. Use that to locate your images and other static content. If you're willing to convert the display logic to a JSP, there's a JSTL tag that'll do that, too. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: How do I run servlets on the root directory of localhost?

2004-06-12 Thread QM
servlet mapping to a different path should get your app up and running right now. ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Tomcat Default page

2004-06-11 Thread QM
. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP : Jakarta versus Jrun MacroMedia

2004-06-10 Thread QM
performance specs, then drop that same webapp into JRun and test again. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: JSP : Jakarta versus Jrun MacroMedia

2004-06-10 Thread QM
ps - please create new messages when writing the group. Simply replying to an older/unrelated message causes hell with thread-aware mailers. Thanks. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: UserTransaction class not found in TC 5.0.25

2004-06-10 Thread QM
of the NoClassDefFound error is that the classloader found the class, but it's the wrong version. You should also rebuild your app against Tomcat's jars instead of that j2ee.jar, just to be certain. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Issue with one level for url and images loading

2004-06-08 Thread QM
and images. You could check that out. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: use of $CATALINA_HOME inside webapp

2004-06-07 Thread QM
. Properties are expanded within the JVM (loosely speaking), environment variables are expanded within the shell. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail

Re: [OT] JSP/Servlet Hosting

2004-06-07 Thread QM
/ lack of competition, due to #1, #2, and #3 When you think about it, those are pretty much the same reasons why you don't see a lot of .NET hosting, or why hosts that offer mod_perl charge a premium for that service. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: JSP, Servlet, and Java Classes location in Tomcat

2004-06-05 Thread QM
will never be called. If you want to use the invoker, map it to a deeper URI, such as /something/* Also, I feel a certain obligation to warn you against using the invoker, but that's your choice. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: non-servlet helper class to use the tomcat connection pool

2004-06-05 Thread QM
yet, your general persistence logic -- into a separate helper class. That would make your code more flexible in the long run. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe

Re: new context with port mapping doesn't work

2004-06-03 Thread QM
/ explain what you've tried 2/ show what error(s) you received 3/ post your server.xml there's not a lot anyone can do... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail

Re: Problem with request parameters getting mixed with requests from minutes before

2004-06-03 Thread QM
minutes before. : : Has anyone come across this before or know why it might be happening? How : we might avoid it? duplicate info for different people usually means instance variable where there should be a method-local variable How are these request params being set? -QM -- software

Re: Tomcat 5.0.24 can't see third party packages?!

2004-06-03 Thread QM
are the same between the two machines, what happens if you: 1/ rearrange or split the import list? 2/ remove the offending line? (i.e. are there classes in the occa.report package, or does it just have other subpackages?) -QM -- software -- http://www.brandxdev.net tech news

Re: httpd.conf ---- what is this?

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 03:53:49PM +0200, Kommuru, Bhaskar wrote: : httpd.conf from apache: What is the difference between these two modules : (prefork.c and worker.c) below.. : [snip] This is a question for an Apache forum. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: Archives

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 10:04:35AM -0400, stella luna wrote: : is there a way to search archives from this malling list? Yes -- there's a link on the Tomcat website. Check the mailing lists link in the menu side-bar. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
is not serving up the contents in staticserve, : tomcat is : : I think I am just missing something small, any ideas? Yes -- the JKMount /* ajp13 directive will pass everything to the JK handler. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: java.lang.OutOfMemoryError

2004-06-03 Thread QM
: memory size just like Java does? Yes -- search the archives for the $JAVA_OPTS env var and set it to your preffered -Xmx -Xms values. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
a handful of JkMount directives, one for each Tomcat-served URI or file extension: JkMount /*.jsp JkMount /*.do JkMount /special/* JkMount /j_security_check -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: JSVC problems with Tomcat 5.0.19 Linux

2004-06-02 Thread QM
be universal; but I don't know whether setruid() is supported under Tru64. There are plenty of examples out there, including one in Advanced Programming in the Unix Environment (Steven). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: 2 War files for one Application

2004-06-02 Thread QM
to the right locations. btw, please create a new message when mailing the list with a new topic. Responding to an old message plays hell with thread-aware mailers, which rely on the In-Reply-To header. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Creating Valve

2004-06-02 Thread QM
: org.apache.catalina.valves.ValveBase, I get the error cannot resolve : symbol . Sounds like the proper JAR file (or a class on which ValveBase depends) is still not in the classpath. Are you sure that's the right catalina.jar you're using? Doesn't NetBeans come with an older install of Tomcat...? -QM -- software

Re: Two hosts setup, jsp won't work!

2004-06-01 Thread QM
problem, but you probably don't want root running the Tomcat process. Once you've solved your immediate JSP problem, you may want to look into commons-daemon/jsvc. (This was discussed recently on the list; see the archives for details.) -QM -- software -- http://www.brandxdev.net tech news

[ANN] new ListenExec alpha (Tomcat reboot runtime)

2004-06-01 Thread QM
servlet, so you'd do yourself a favor to test it in an isolated container. - the JSPs in the demo app are not precomiled; please access them directly before attempting to use the the restart feature via the webapp. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread QM
. 1 is my experience; 2 is completely hypothetical. =) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Remote Start / Stop of tomcat

2004-05-31 Thread QM
download it from: http://downloads.brandxdev.net/tomcat-479785/ Note that this version is still pretty rough; I will soon have time to clean it up. The basic functionality is there, though. Run it with commons-daemon. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: ROOT problems

2004-05-31 Thread QM
it doesn't seem to locate this file. Where is the webapps dir in relation to $CATALINA_BASE or $CATALINA_HOME? -or do you specify /usr/tdk-2.2 as the appBase attr in your server.xml's Host element? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: File writing using servlet

2004-05-31 Thread QM
/ other? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Managing Session Objects - Preventing a Degredation in Performance

2004-05-29 Thread QM
change the subject. Thank you. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: creating web applications

2004-05-29 Thread QM
-mapping You're missing something, aka the servlet tag. Without that, servlet-mapping tags aren't so useful. ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail

Re: XP tomcat service account access rights

2004-05-29 Thread QM
and some knowledge of what the app/user must do at a given time. If NT/XP has decent trace tools (Solaris truss, Linux strace, etc), you can see what files the app tries to open and base your decisions on that. That's helped me a *lot*. Good luck! -QM -- software -- http://www.brandxdev.net tech

Re: Managing Session Objects - Preventing a Degredation in Performance

2004-05-29 Thread QM
of every error page and end of process page. That's effectively your finally clause right there. YMMV, but if you use Struts declarative exception handling (i.e. you have just a handful of error pages) then this wouldn't be a lot of work to implement, nor to maintain. -QM -- software

Re: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread QM
) separate. This lets them vary independently. - app arch: Stick closely with the servlet spec and other Java/web standards. This is all pretty general advice, but then again, the deep decisions are pretty app-specific. =) -QM -- software -- http://www.brandxdev.net tech news -- http

Re: [tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread QM
, such as ZoneAlarm or BlackIce? - If you stop Tomcat, does the problem go away? Tomcat simply binds to a port when it starts; it doesn't intercept outbound web requests. -QM ps - please create new messages when mailing the list; responding to old messages plays hell with thread-aware mailers

Re: mod_jk.so

2004-05-28 Thread QM
directive, but you must specify *two* lines to load a module in Apache 1.x; just LoadModule isn't enough. Check other modules loaded in httpd.conf as a reference. You'll have a block of LoadModule and then another block of That Other Directive I Can't Remember. -QM -- software -- http

Re: How does Tomcat manage sesssions ?

2004-05-26 Thread QM
on your setup). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTTP Servlet - How to use the same connection for GET URL?

2004-05-26 Thread QM
by the same people, it's a little rude to maintain a 24/7 socket to someone else's machine for a stateless protocol... And so on, and so forth... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: How can I Know the servlet root directory for documents and modify it?

2004-05-26 Thread QM
for my : application and how can I modify it? I don't think I understand -- are you trying to find the current directory of the webapp, and/or trying to read files from the filesystem? What's your end-goal here? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Tomcat as 'root' insecure? (again)

2004-05-26 Thread QM
already mentioned that Apache (or something else) may still be running on that port. As root, you can check that with lsof -i :80 -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Tomcat virtualhost bug?

2004-05-25 Thread QM
a server.xml problem. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTTP Servlet - How to use the same connection for GET URL?

2004-05-25 Thread QM
this information, say, from a database? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PrintWriter performance

2004-05-25 Thread QM
compilers /may/ see a repeat string concat (+ op) and replace w/ StringBuffer under the covers... 5/ what happens when you load-test the two variations? But, as always, see #1 for the end-all, be-all answer. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: PrintWriter performance

2004-05-25 Thread QM
that String concatenation (+ operator) is done behind-the-scenes w/ a StringBuffer. At first I thought that was a compiler optimization, but I've checked, it's the default (at least in 1.4). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread QM
you hand-type it? That's probably the source of the problem, if the class files are correctly named/packaged and available to Tomcat. Please post the entire file. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: SV: Tomcat virtualhost bug?

2004-05-25 Thread QM
the first time. : Anyway - my server.xml: : Have no idea what those listeners and Global naming resourses are doing, but : I'll deal with it later ( I hope) All of that is described in the Tomcat docs. Please review those. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: SV: SV: Tomcat virtualhost bug?

2004-05-25 Thread QM
Host:webapps, Context:docBase and Context:path : when all three virtualHost : always take every application it finds under webapps? See above ref to deployOnStartup. =) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread QM
because you have so many JSPs. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

re: SV: Tomcat virtualhost bug?

2004-05-25 Thread QM
appBase for each webapp. That, or run separate Tomcat instances for each webapp. (look for CATALINA_BASE in the docs.) -but clearly, that's a story for another day... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Default persistence/serialization?

2004-05-23 Thread QM
be serializable: sec 7.7.2 for 2.3 and 2.4 requires it for distributed/clustered containers (and leaves the handling of non-clustered configuration to container implementors). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Another source for MD5 encryption

2004-05-22 Thread QM
so I don't need catalina.jar in : WEB-INF/lib. I'd doubt Tomcat has cornered the market on MD5-hashing strings in Java. =) What's a Google search tell you? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Creating a bean for the session on login

2004-05-22 Thread QM
that in the session. The user's login name is available in the request object. Map the user's login name to the firstname:lastname pair in a db table or view, and you're done. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Question?

2004-05-22 Thread QM
On Sat, May 22, 2004 at 12:36:59PM +0100, mpforste wrote: : : I want to use Tomcat as a major part of the server, can you set Tomcat to : also serve php so removing the need for apache? There's docs for this in the Wiki. -QM -- software -- http://www.brandxdev.net tech news -- http

Re: Production configuration

2004-05-20 Thread QM
You don't need this if you precompile. : and JVM parameters: : -Xincgc -Xmx256m -server Similar questions get asked twice a week, especially the JVM parameters one. Please search the archives. Yesterday there was a message explaining exactly why no one can help you with the JVM params. -QM

Re: session data in Tomcat 5

2004-05-20 Thread QM
have caught the deprecation warning. I've included that, and other tips, in my (brief) 4.x - 5.x upgrade guide: http://www.brandxdev.net/misc/tomcat_upgrade.site Ben: thanks for the putValue/getValue info, I'll include that as well. (It never bit me, because I never used them... ;) -QM

Re: tag library compile - semi-resolution

2004-05-20 Thread QM
from certain directories are automagically included for you. Imagine the container, on startup, scans for WEB-INF/lib/*.jar and puts those in its search path. That's not a Tomcat thing; that's the servlet spec. -or did I miss your question entirely? -QM -- software -- http

Re: Is there any way to check # of Records in RecordSet

2004-05-20 Thread QM
records per page. Slight risk of a race condition if the data's volatile, but... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Database backups initiated from Tomcat

2004-05-19 Thread QM
(). If the container has been allocated a lot of memory, well... : 2) give me any clues/details on the best way to do this? If this *must* be done within a servlet, I don't see many options other than Runtime.exec()... -QM ps- please create a new message when posting to the list. Replying

Re: RequestDispatcher resource not available

2004-05-19 Thread QM
, your options are few. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RequestDispatcher resource not available

2004-05-19 Thread QM
/ Weblogic a couple of years ago, also in a 24x7 shop. Being able to take down one member of the cluster in midday was quite a treat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: tomcat 5.X mem/system tunning for lunix

2004-05-19 Thread QM
and #2 -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread QM
or Tomcat 5. I believe JK2 requires Apache2 but I may be wrong on that, so don't quote me. Search the Apache site for details. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe

Re: QM--Re: tomcat 5.X mem/system tunning for lunix

2004-05-19 Thread QM
. Sun has docs to show you how. : Is there any particular things I should look for? At this point, I'd head down the load test / profiler route. If you're having trouble with an app freezing, this will get to the heart of the matter quickly. -QM -- software -- http://www.brandxdev.net tech news

Re: Recommend Heap Mem size for Tomcat

2004-05-19 Thread QM
On Wed, May 19, 2004 at 04:31:56PM -0400, Tom Miller wrote: : What is the recommended or best to define the following : parameter for tomcat under Linux? I see so many other mem : posting out there, what is the best/right way to go about : this? There's no recommended value... not even a

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread QM
their browser starts moving around when they didn't explicitly ask. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: taglib - O'Reilly tutorial problem

2004-05-18 Thread QM
and make note of it. Follow tomcat-user and other J2EE-related mailing lists to see what others are running into. Know the spec inside-out, or at least have a copy handy. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Persistent workspace

2004-05-18 Thread QM
that uses a memory-based fs for /tmp). -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to detect tomcat down

2004-05-18 Thread QM
process isn't running. I recall iPlanet 4 did something similar. As for free + out-of-the-box solutions, I haven't seen any... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe

Re: tag library compile

2004-05-18 Thread QM
javax.servlet.jsp.JspException; : import javax.servlet.jsp.JspTagException; : import javax.servlet.jsp.tagext.TagSupport; Also: jsp-api.jar, from the same dir. =) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

[ANN] new ListenExec alpha (Tomcat reboot runtime)

2004-05-18 Thread QM
yourself a favor to test it in an isolated container. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

<    2   3   4   5   6   7   8   9   >