Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-08 Thread teknokrat
you need to set -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false check the last two as I can't remember the precise syntax. if youwant password authentication read the doc andy go

Re: [Q] when to share jars

2005-06-15 Thread teknokrat
delbd wrote: Then put those libs in WEB-INF/lib too Le Mardi 14 Juin 2005 14:31, teknokrat a écrit : Charl Gerber wrote: When do you share jars (struts, log4j, jstl, etc) for webapps in the common/lib directory and when does each app need its own "copy" of the jars? Log4j we&#

Re: [Q] when to share jars

2005-06-14 Thread teknokrat
Charl Gerber wrote: When do you share jars (struts, log4j, jstl, etc) for webapps in the common/lib directory and when does each app need its own "copy" of the jars? Log4j we've found by trail and error is better to have a jar per webapp, as the loggers seems to overwrite each other, but which c

Re: can anyone make sense of this

2005-06-14 Thread teknokrat
Brereton, Stephen wrote: how exactly does the servlet get called? Are you using the web server? -Original Message- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: 13 June 2005 18:44 To: tomcat-user@jakarta.apache.org Subject: Re: can anyone make sense of this Brereton, Stephen wrote

Re: can anyone make sense of this

2005-06-13 Thread teknokrat
Brereton, Stephen wrote: That's just your Tomcat service running. It does take a few moments to get started - that's just Java getting going. If your task manager isn't running to show 'all users', you might well not see the service running -Original Message

can anyone make sense of this

2005-06-13 Thread teknokrat
I have the latest tomcat 5.0 installed on windows server 2003 with java 5. I run startup.bat and call a servlet that hits a jboss instance remotely. Looking through the connection events with TDIMon ( from www.sysinternals.com ) I notice that a process tomcat5.exe sends a UDP datagram on port 1

Re: where do i place log4j

2005-06-13 Thread teknokrat
Marius Scurtescu wrote: teknokrat wrote: Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each

Using jconsole with tomcat running as service

2005-06-10 Thread teknokrat
I start tomcat 5.5.9 as a service providing the option -Dcom.sun.management.jmxremote in the configuration panel. When I run jconsole, there are no java processes available to connect to. jps also displays nothing. Is this possible? thanks

where do i place log4j

2005-06-10 Thread teknokrat
Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each WEB-INF/lib too? Where do i place the log4j

how to unify multiple contexts

2005-06-06 Thread teknokrat
We have multiple servlets that i wish to unify under a single context. That is, I want to get rid of the legacy servlets and introduce a dispatcher servlet to handle all the different functions under a single context. The problem is that this will break legacy apps that expect the old contexts.

Re: tomcat 5.5.9 does not read context.xml

2005-06-03 Thread teknokrat
Steve Kirk wrote: yes context.xml is fine in META-INF. in fact it is preferred over having it in server.xml. your alternative is to put it in conf/enginename/hostname/yourwebappname.xml (which is in fact what TC will do for you when it unpacks the war). I don't know that you can have the conte

Re: tomcat 5.5.9 does not read context.xml

2005-06-02 Thread teknokrat
al Message ----- From: "teknokrat" <[EMAIL PROTECTED]> To: Sent: Thursday, June 02, 2005 6:45 AM Subject: tomcat 5.5.9 does not read context.xml What is the story with context descriptors in 5.5.9. Nothing seems to work right. I have placed the the following context.xml file

tomcat 5.5.9 does not read context.xml

2005-06-02 Thread teknokrat
What is the story with context descriptors in 5.5.9. Nothing seems to work right. I have placed the the following context.xml file in the META-INF directory inside my war When my war is expanded the context does not use the name in the path as specified by context.xml but the name of the war

Re: AW: strange autodeploy behaviour on 5.5.9

2005-05-13 Thread teknokrat
news [mailto:[EMAIL PROTECTED] Auftrag von teknokrat Gesendet: Freitag, 13. Mai 2005 11:56 An: tomcat-user@jakarta.apache.org Betreff: strange autodeploy behaviour on 5.5.9 I have set up a new installation of tomcat 5.5.9 running on java 5(Windows XP). It starts up Ok and my webapp loads. I hav

strange autodeploy behaviour on 5.5.9

2005-05-13 Thread teknokrat
I have set up a new installation of tomcat 5.5.9 running on java 5(Windows XP). It starts up Ok and my webapp loads. I have the following context xml The problem occurs when I copy over another version of my MyApp.war to the webapps directory. Tomcat only unpacks some of the files! There is a

Re: why is my security not working?

2005-04-22 Thread teknokrat
I should mention I am on tomcat 5.0.28 teknokrat wrote: I have placed the following context file cachingAllowed="false" cacheTTL="0" cacheMaxSize="0" swallowOutput="false" > and i have added to web.xml

why is my security not working?

2005-04-22 Thread teknokrat
I have placed the following context file and i have added to web.xml Admin /myAdmin/* me BASIC Admin

Re: why is my security not working?

2005-04-22 Thread teknokrat
Mark teknokrat wrote: I have placed the following context file cachingAllowed="false" cacheTTL="0" cacheMaxSize="0" swallowOutput="false" > and i have added to web.xml Admin

Re: annoying popup in manager app

2005-04-01 Thread teknokrat
Lionel Farbos wrote: On Fri, 01 Apr 2005 06:47:15 -0500 Tim Funk <[EMAIL PROTECTED]> wrote: sorry if I find this funny, but I just saw a bugzilla complaint requesting another confirmation screen. As to your question, i don't know. -Tim teknokrat wrote: Whenever i need to reload a we

annoying popup in manager app

2005-04-01 Thread teknokrat
Whenever i need to reload a webapp in the manager in tomcat 5.5.7 I get an annoying popup asking me if i am sure Is there any way to turn off this annoying thing. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

tomcat 5 not deploying my war

2005-04-01 Thread teknokrat
I place my war in the webapps directory. tomcat 5.5.7 creates the directory and maybe a few others but it does not complete the job. Reloading etc does not fix this. there are no error messages given. Anyone have a clue what could be going on here? thanks ---

Re: possibly stupid question

2005-03-30 Thread teknokrat
cheers, that clears that up David Causse wrote: teknokrat wrote: No, I am running it using startup.bat though I have tries catalina.bat start too. I am not seeing any log file output for anything that writes to stdout. Hi Teknokrat, it's normal, the stdout is on the win32 console, you ha

Re: possibly stupid question

2005-03-30 Thread teknokrat
- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 10:54 To: tomcat-user@jakarta.apache.org Subject: possibly stupid question I am running tomcat 5.5 on windows XP. There is no catalina.out file being produced. Is this usual? How do i get a file of of everything going to stdout

possibly stupid question

2005-03-30 Thread teknokrat
I am running tomcat 5.5 on windows XP. There is no catalina.out file being produced. Is this usual? How do i get a file of of everything going to stdout? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

tomcat 5 deploy task giving ZipFileException

2004-09-22 Thread teknokrat
I am trying to install mny webapp into tomcat using the ant deploy task I do not want to make a war but deploy it as a directory I have also created a context.xml file in my META-INF directory with docBase="/usr/local/eclipse/workspace/LinkBuilder/web" path="/links" workDir="work/Catalina/loca

Re: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread teknokrat
Nandish Rudra wrote: Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance of the objects

getting regular ThreadDeath on reload in tomcat 5

2003-10-17 Thread teknokrat
I am using tomcat 5.0.12 and I regularly reload my context using the ReloadTask Ant task provided by catalina-ant.jar I have been getting the following exception regularly on a reload java.lang.ThreadDeath at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1252)

cannot compile jsps with tomcat 5

2003-09-25 Thread teknokrat
I just tried running my webapp with the latest release of tomcat 5 (5.0.12). Added my context to bin/catalina/localhost and changed CATALINA_HOME. The app loads fine but it refuses to compile any of the jsps. This could be a struts/tiles issue. The sample jsp/servlet examples work fine. here i

Using message beans in tomcat

2003-06-25 Thread teknokrat
Anyone know of a beginners guide to using JMX in tomcat? Ideally some code examples of building a small app with message beans thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE