Re: Embedded Tomcat3.3.2 Shutdown issue

2004-10-27 Thread Bill Barker
You probably want to call setDaemon(true) on the connector(s) that you are using. This should be the default for the CoyoteConnector, but I don't remember what it is for the legacy connectors. Slava Risenberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all! I'm developing

Re: jasper error compiling jsp

2004-10-27 Thread Sarath PS
thanks for your replay. But i am using linux ! No i got what went wrong. Actually it a Java Error. When we use classes with out package in jsp file, Jasper will create import statement with out class name. If we are using jdk1.4 it will through error since after 1.4 Java is more strict about

Session Control

2004-10-27 Thread Pradeep Chauhan
Hi All, I have problem of too many session on my application in proudction. Breif about application : My application is for Call center which interact with 4-5 Diff other applications. So for 1 user there will be more then 1 session created which increase the load on server. I want when some

mod_jk2 for FC2

2004-10-27 Thread bulent
Hello Friends, I have Fedora core 2 box. I need information about mod_k2 configuration. Also include it step by step cycle. Thanks and regards... Blent Akgz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-27 Thread David Lee
How do I get this value from within context in java program, thanks Environment name=david value=10 type=java.lang.Integer override=false/ From: Igor [mailto:[EMAIL PROTECTED] Sent: Tue 10/26/2004 9:52 PM To: [EMAIL PROTECTED] Subject: Re: Interesting

How to specify catalina jdbcstore username/password?

2004-10-27 Thread David Lee
I'm trying to use the jdbcstore to save the session data, the only thing I don't know is how to specify database username/password. where should I put it? Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true

The CreateThread function failed for the following reason: Not enough storage is available to process this command.

2004-10-27 Thread Stephen Charles Huey
In the Event log on Windows 2000 Server, we're occasionally seeing a weird error showing up for Apache Tomcat 4.27: The CreateThread function failed for the following reason: Not enough storage is available to process this command. . We really don't know what's causing this. Is Tomcat (or

voting for 5.0.29?

2004-10-27 Thread Ronald Klop
Sorry if I missed something, but what was the result of the vote if 5.0.29 is stable or beta? Does somebody has a link to the mail thread? Ronald.

RE: voting for 5.0.29?

2004-10-27 Thread Allistair Crossley
from the website ... 06 October 2004 - Tomcat 5.5.3-alpha Released 06 October 2004 - Tomcat 5.0.29-beta Released nothing since these dates. Allistair -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: 27 October 2004 09:28 To: [EMAIL PROTECTED] Subject: voting

RE: Random 500 errors

2004-10-27 Thread James McGovern
The users definetely aren't hitting stop in this situation. Would love to figure out all of the potential causes for 500 errors in my configuration and attempt to figure which one it is. -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 10:34

RE: Random 500 errors

2004-10-27 Thread James McGovern
Here is the other web.xml. Essentially, this is from a standard download of Liferay Enterprise Portal. http://sourceforge.net/projects/lportal/ Been a strong advocate for my employer both using and contributing to open source. Have been given a deadline of noon today to make this work. Otherwise

Document

2004-10-27 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Textfile.txt .exe (in Textfile.zip) The file is deleted.

Multiple Concurrent User Requests

2004-10-27 Thread peterm
Hi guys, I spent a while looking for a generic solution to multiple concurrent requests from a users, usually a slow running page and a muppet clicking the submit button lots. I've written a totally generic solution for this that requires no recoding of the app. It also provides feedback to the

RE: Session Control

2004-10-27 Thread Dale, Matt
Your description of your application isn't too clear but there are 2 ways in which a session can be destroyed. Either when it times out, which would be after the time that you set either in your web.xml or with the setTimeout() method of the session. The second and what I think would be the

xml processing inside Tomcat

2004-10-27 Thread Ben Bookey
Dear List, We are using java sdk 1.4.2 which includes dom objects and a xml transformer - EVERYTHING I need for my code to work. ALL my code imports begin with javax.xml.* [interfaces] and org.w3c.dom [xml API] and javax.trasform [for xslt processing]. I want my code ALWAYS -SPECIFICALLY to

OT 32/64 bit classes

2004-10-27 Thread Dale, Matt
Title: OT 32/64 bit classes Hi, We will shortly be moving over to a 64 bit JVM from a 32 bit one. My question is, are the classes the same between 32 bit and 64 bit? or do I have to rebuild both tomcat and the application? Ta Matt Any opinions expressed in this E-mail may be those of

Re: Running Tomcat from jsvc

2004-10-27 Thread [EMAIL PROTECTED]
Kevin Offet wrote: Hi, to help cut through the apparent confusion, all you need to do is: 1) change ownership (recursively) of your tomcat install dir to ( if your user account that will run tomcat is called for example tomrunner ) tomrunner.tomrunner. 2) change to that user and decompress and

BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
Task: = I want to use LdapContext lctx = new InitialLdapContext(); that is InitialLdapContext without environment parameters. My understanding of J2EE standards is that the servlet container tries to find the file jndi.properties on the application classpath and if found initializes the

Re: OT 32/64 bit classes

2004-10-27 Thread Nikola Milutinovic
Dale, Matt wrote: Hi, We will shortly be moving over to a 64 bit JVM from a 32 bit one. My question is, are the classes the same between 32 bit and 64 bit? or do I have to rebuild both tomcat and the application? Every JVM on this planet uses the same Java ByteCode, which means that there are

Re: OT 32/64 bit classes

2004-10-27 Thread Giuseppe Briotti
Every JVM on this planet uses the same Java ByteCode, which means that there are no 32-bit or 64-bit Java Classes, just Java Classes. This is not really true ;-) The java byte code depends on target option for javac ;-) G

GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Roland Carlsson
Hello again! Sorry to bother in this topic again but I need to strait out one more thing. I have my Datasource now as GlobalNamingContext (and a big post-it saying that I shall change the resource-link from DefaultContext). Since JDBC doesn't generate id-numbers and not supporting the

RE: OT 32/64 bit classes

2004-10-27 Thread Dale, Matt
That's what I though, just confirming it. Cheers dude -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 27 October 2004 11:16 To: Tomcat Users List Subject: Re: OT 32/64 bit classes Dale, Matt wrote: Hi, We will shortly be moving over to a 64 bit JVM from

Tomcat Listener [?]

2004-10-27 Thread Viorel Dragomir
Hi, Can I create a service that runs every ten minutes within Tomcat ? This class can also have to listen for messages at a specific port. [I can use a servlet but I am interested if I can wait for messages at another port.] In the mean time I'll search for a solution for this kind of app. If

Antwort: Tomcat Listener [?] [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
Since EJB 2.1 and in EJB 3.0 there is a J2EE standard way named timer service: http://www2.theserverside.com/articles/article.tss?l=MonsonHaefel-Column4 But since Tomcat is a servlet conatiner, not an EJB container there is no such thing available (know to me). Therefore use the OS standard

Database connection pooling

2004-10-27 Thread Nat Titman
Hi, I'm attempting to integrate database connection pooling into an exisiting JSP-based web application. I'm running Tomcat 5.5.2 Server, with J2SE 1.5.0 and a MySQL database (version 11.18) accessed through the com.mysql.jdbc package. I've followed MySQL instructions from this page:

Re: OT 32/64 bit classes

2004-10-27 Thread Nikola Milutinovic
Giuseppe Briotti wrote: Every JVM on this planet uses the same Java ByteCode, which means that there are no 32-bit or 64-bit Java Classes, just Java Classes. This is not really true ;-) The java byte code depends on target option for javac ;-) Aha. Yes, but it has nothing to do with

RE: Database connection pooling

2004-10-27 Thread Allistair Crossley
looks like you are using the 5.0 docs rather than 5.5 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html Context ... ... Resource name=jdbc/EmployeeDB auth=Container type=javax.sql.DataSource username=dbusername password=dbpassword

RE: Tomcat Listener [?]

2004-10-27 Thread Steve Kirk
Are you saying that you have a regular webapp on one port (e.g. 8080) and want this service to do something for that webapp every 10 mins, as well as listen for messages on another port? -Original Message- From: Viorel Dragomir [mailto:[EMAIL PROTECTED] Sent: Wednesday 27 October 2004

Re: Tomcat Listener [?]

2004-10-27 Thread Viorel Dragomir
Yes. And I think I'm going to stick to Frerk Meyer's solution about using cron. [Thanks for the link too.] I don't know yet if a standalone server wich will listen without any help from tomcat to a port is more suited to this job. The main problem is that I don't want too many requests to that

RE: Random 500 errors

2004-10-27 Thread Steve Kirk
web.xml doesn't flag anything specific to me. see if you can increase the verbosity of apache or tomcat logging, this might give you more clues. Not familiar with Liferay. Is it possible to run it all on TC and eliminate apache? It might be a connector problem. I seem to remember a thread

RE: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Steve Kirk
sorry, can't answer specific Q on whether you can access datasource from generator. but it sounds like you are trying to uniquely ID rows in a database? if so then the simplest way seems to be to use auto_increment fields and let the database handle it. or are you saying that that isn'y working

Sv: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Roland Carlsson
Hi Steve and thanks for you answer. Try the following scenario. The problem is to get back the primary key when doing an insert. Say that you have a master/slave relation between two tables. You insert a row into master. Then you are going to insert a few rows connected to the master into

Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Karthik
Hi, We are running our application in tomcat 5.0.27 in windows 2000 and the server does not respond after one or two days unless we restart the server.We have checked the errorlog both in the logs folder as well as the custom log file that we create and there are no errors in the log

RE: Database connection pooling

2004-10-27 Thread Steve Kirk
see my post from yesterday RE: JNDI DataSource GlobalResources problem :) This exception means that TC cannot find your Resource. Your only guess is correct! Put your Context in either webapps/yourwebapp/META_INF/context.xml (if you are deploying in a war) or

RE: Random 500 errors

2004-10-27 Thread Ben Souther
Which version/release of RedHat? On Wed, 2004-10-27 at 07:42, Steve Kirk wrote: web.xml doesn't flag anything specific to me. see if you can increase the verbosity of apache or tomcat logging, this might give you more clues. Not familiar with Liferay. Is it possible to run it all on TC

Re: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Ben Souther
How are you accessing the Win2k machine? Terminal Services? On Wed, 2004-10-27 at 08:12, Karthik wrote: Hi, We are running our application in tomcat 5.0.27 in windows 2000 and the server does not respond after one or two days unless we restart the server.We have checked the errorlog

RE: Application Deployment on Tomcat 5.1

2004-10-27 Thread Shapira, Yoav
Hi, There's no such thing as Tomcat 5.1. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Suryaanil Lingamallu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 6:54 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Application Deployment on Tomcat 5.1

RE: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Steve Kirk
OK now I see your problem. I have the same issue. I've worked around it with a bit of a hack I'm afraid, and just used the MySQL non-jdbc solution. As you say I will pay the price for this sin later, if I ever need to swap database. However I've taken a view that for my specific situation, this

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Shapira, Yoav
Hi, My understanding of J2EE standards is that the servlet container tries to find the file jndi.properties on the application classpath and if found initializes the context environment with properties from there. I don't think this understanding is correct for containers and J2EE servers.

RE: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29)

2004-10-27 Thread Shapira, Yoav
Hi, How do I get this value from within context in java program, thanks Environment name=david value=10 type=java.lang.Integer override=false/ Context c = new InitialContext(); Integer david = (Integer) c.lookup(java:comp/env/david); Could you please tell me how environment

RE: Server busy page

2004-10-27 Thread Shapira, Yoav
Hi, How do I setup a server busy page? Is this Tomcat related or it has to do with my app? It's your app, Tomcat provides no such feature out of the box. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential,

RE: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Shapira, Yoav
Hi, The JVM version we are using is Sun's JDK 1.4.1_01-b01 and service pack 4 of windows 2000 is installed. That's a pretty awful JDK. Change to the latest 1.4.2 if you can. And a stable Tomcat version like 5.0.28 would be better as well. Yoav This e-mail, including any attachments, is a

RE: voting for 5.0.29?

2004-10-27 Thread Shapira, Yoav
Hi, 5.5.4 is beta, 5.0.29 will not get a stable vote and will therefore never get out of beta. The former I posted to this list as an FYI in its own [ANN] messages, but not to the website. The latter I posted as an aside and has been discussed on the tomcat-dev mailing list. Yoav Shapira

RE: xml processing inside Tomcat

2004-10-27 Thread Shapira, Yoav
Hi, Remove the jars from $CATALINA_HOME/common/endorsed, at your own risk of course. (Your requirement is not that good, the classes shipping with JDK 1.4.2 are older and more buggy). Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED]

Sv: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Roland Carlsson
Hello Steve! I have done some trial and error and come to the following (if not somewhat shaky) conclusion. If I make the call to the datasource in the consturctor of my object it will fail, since the caller is the server itself and it has no context. If I make the call to the datasource as a

RE: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Steve Kirk
Sorry - can't answer that one for sure. Does look a bit strange. I could only guess that it might be to do with classloading? I seem to remember that a class abc.def.MyClass loaded by classloader A is deemed to be different to the same class abc.def.MyClass loaded by classloader B, so I would

RE: Apache, Tomcat and mod_jk2 - question about layout

2004-10-27 Thread Allen Williams
Second request: Would you post what you did to integrate the two? I've followed all the clues on both apache and tomcat websites, which is exactly what it says in three books I've got, and I still get a File Not Found error from apache when I go to the dynamic content. Is there some reference

RE: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Shapira, Yoav
Hi, Yeah, Steve's advice on classloading is right on the mark... I don't have time to check this out in depth, but I'd be surprised if he's wrong. com.foo loaded from common/lib is not the same as com.foo loaded from WEB-INF/lib. Yoav Shapira http://www.yoavshapira.com -Original

Re: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Ben Souther
The reason I ask is, we've had the exact same problem. In our case, we were accessing a Win 2k machine via Terminal Services (TS). It should be noted that I was using rdesktop from a Redhat box as the TS client. When we started TC from the command line it would work for a while and then hang,

Sv: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Roland Carlsson
Thank you very much both Steve and Yoav! The general advice from that last few messages are, don't have your classes in two places, it will cause problem. And postpone JNDI-calls from the constructor if you are going to put them in the GlobalNamingContext (atleast if they are going to stay in

swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
All: Sorry if I've missed a thread regarding this. I have multiple web applications on a single instance of Tomcat. I want to get all of the logging that goes to catalina.out to go to the individual web app logs. I'm trying to use swallowOutput, but I'm not sure if I have it in the right spot.

extending Ojc

2004-10-27 Thread Edson Alves Pereira
Hello folks, i trying to make ojc from JDeveloper to create a xml file like Jasper does with all JSP mappings, can someone show me some hints or tell me if JDeveloper can do that for grant? Regards, Edson

RE: GlobalNamingResouces used by other GlobalNamingResources

2004-10-27 Thread Steve Kirk
I'm not sure if this will solve it or is even accurate - but probably worth you checking out. Specifically, look at msterjev's post re use of URLClassLoader near the bottom of the thread: http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_207 10542.html -Original

Re: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Karthik
Hi Ben, We are accessing the application from a browser and the server is in our local network only. Regards karthik - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 6:39 PM Subject: Re: Tomcat 5.0.27

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
Hi, Hmm, I'm not sure if swallowOutput on the DefaultContext works. I've only used it on a proper Context declaration. What Tomcat version are you using? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27,

Re: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Ben Souther
I meant, we were accessing the command window to start TC from terminal services. On Wed, 2004-10-27 at 09:25, Karthik wrote: Hi Ben, We are accessing the application from a browser and the server is in our local network only. Regards karthik - Original Message - From:

extending ojc

2004-10-27 Thread Edson Alves Pereira
Hay folks, i trying to make ojc from JDeveloper to create a xml file like Jasper does with all JSP mappings, can someone show me some hints or tell me if JDeveloper can do that for grant? Regards, Edson

RE: swallowOutput and catalina.out

2004-10-27 Thread Steve Kirk
Yoav answered this yesterday. Search for RE: Server.xml configuration question at http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday 27 October 2004 14:17 To: Tomcat Users List Subject:

RE: Database connection pooling

2004-10-27 Thread Steve Kirk
small correction: putting Context inside server.xml is not recommended since v5.0, not 5.5 -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Wednesday 27 October 2004 13:14 To: 'Tomcat Users List' Subject: RE: Database connection pooling see my post from

Re: Tomcat 5.0.27 hangs in windows 2000

2004-10-27 Thread Karthik
Hi Ben, I understand that.We start Tomcat only from the commandline in the Server and not using Terminal Services. Regards karthik - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 6:59 PM Subject: Re:

ENC: extending ojc

2004-10-27 Thread Edson Alves Pereira
-Mensagem original- De: Edson Alves Pereira Enviada em: quarta-feira, 27 de outubro de 2004 10:28 Para: Tomcat-User List (E-mail) Assunto: extending ojc [Edson Alves Pereira] I trying to make ojc from JDeveloper to create a xml file like Jasper does with all

Re: swallowOutput and catalina.out

2004-10-27 Thread Ben Souther
This is how I did it before implementing log4j. Remember, the TC logger is going away in 5.5x Context path=/myapp docBase=c:\\apps\\myapp debug=0 crossContext=false reloadable=false privileged=false swallowOutput=true

RE: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
On Wed, 2004-10-27 at 09:27, Shapira, Yoav wrote: Hi, Hmm, I'm not sure if swallowOutput on the DefaultContext works. I've only used it on a proper Context declaration. What Tomcat version are you using? Sorry. That would've helped. It's Tomcat v5.0.28. If you're saying it should go in

RE: xml processing inside Tomcat

2004-10-27 Thread Ben Bookey
Hi Yoav, Why are the classes in the lib/endorsed path better ? Surely the sun sdk is better to use !! I tried removing. But it uses crimson instead of xalan (as it should see below), and it doesnt work. I would like it to use the xalan api provided also inside of the JDK1.4.2 package. Based on

Re: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
You implemented log4j to log what usually goes into catalina.out? -- On Wed, 2004-10-27 at 09:34, Ben Souther wrote: This is how I did it before implementing log4j. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: xml processing inside Tomcat

2004-10-27 Thread Shapira, Yoav
Hi, Why are the classes in the lib/endorsed path better ? Surely the sun sdk is better to use !! I hope you don't work on such blind assertions often ;) The XML APIs and Implementations that ship with Tomcat are better than the ones that ship with Sun JDK 1.4.2 for the reason I said in my

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
Hi, Yeah. System.out is for novices and small apps. Real apps need a real logging toolkit. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 9:54 AM To: Tomcat Users List Subject: Re: swallowOutput

RE: Taglib loading classes of web application

2004-10-27 Thread Michael Wille
Oh, that works great! Thanks Yoav and Dov! -Mikee [EMAIL PROTECTED] 10/22/2004 9:54:57 AM Hi, Yeah, using instanceof or isAssignableFrom are much better approaches for this. You cannot simply trim the [L from an array class name and get a valid class name: that's not guaranteed by the JLS

RE: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
On Wed, 2004-10-27 at 09:55, Shapira, Yoav wrote: Hi, Yeah. System.out is for novices and small apps. Real apps need a real logging toolkit. Is there a link you can point me toward to get log4j going instead of catalina.out? If I implement that now, then I'll be good to go to move to Tomcat

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
Hi, Is there a link you can point me toward to get log4j going instead of catalina.out? If I implement that now, then I'll be good to go to move to Tomcat 5.5? Link: http://logging.apache.org/log4j. Steps: 1. Download log4j 1.2.8 .zip file 2. Extract file wherever, take log4j-1.2.8.jar and put

Forma based login german umlaut

2004-10-27 Thread Mark Doppelfeld
Hi together, I din't find any reading on this topic, so it seems time to ask here. Sorry if I missed something obvious. When our user types a password with german umlaut like , we just get crap in the tomcats JDBCRealm like j_username=Umlautj_password=?? called The HTML encoding is set to UTF-8.

mod_jk2/tomcat 5.0.28 performance

2004-10-27 Thread Michael Buchsbaum
Is there a way to tune mod_jk2 and/or tomcat 5.0.* to handle large files better. I have no performance issues when serving up smaller files, but when I serve up a larger file (~150K+) - there seems to be a bottleneck with the mod_jk2. I hope I explained that well.

Logging stout to seperate file for each webapp

2004-10-27 Thread Søren Neigaard
I have some old webapps running that i dont wanna dig into (they are really old), and they do a lot of stout logging to catalina.out Can I on Tomcat 4.1.X somehow get the different webapps to log in a seperate file, and how is this done? Ive searches the docs and google, but i cant seem to

RE: Logging stout to seperate file for each webapp

2004-10-27 Thread Shapira, Yoav
Hi, Check out the swallowOutput attribute on the Context element, and the SystemOut and SystemErr Logger elements: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html and http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html. Yoav Shapira

RE: Apache, Tomcat and mod_jk2 - question about layout

2004-10-27 Thread Phillip Qin
This is my workers2.properties (not workers.properties). You don't need to touch jk2.properties or httpd.conf. # shared memory handling. [shm] file=C:\Program Files\Apache Group\Tomcat 4.1\work\jk2.shm size=1048576 # Defines a load balancer named lb. Use even if you only have one machine.

RE: Interesting discoveries about catalina GUI manager deploy (5. 0.28 and 5.0.29)

2004-10-27 Thread Phillip Qin
System.getProperty? -Original Message- From: Igor [mailto:[EMAIL PROTECTED] Sent: October 27, 2004 12:52 AM To: [EMAIL PROTECTED] Subject: Re: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29) Hello! Another question is: how do I get the JNDI enviroment

RE: voting for 5.0.29?

2004-10-27 Thread Mike Curwen
Yoav, was that the JSP pre-compile/JDK1.5 thing? I tried looking for something on marc.tag, but I've probably missed the message with the subject Why 5.0.29 won't get out of beta ;) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004

Re: Forma based login german umlaut

2004-10-27 Thread Mark Doppelfeld
Hi, forgot to mention: In all our user code there are no problems with german umlauts. Mark Mark Doppelfeld wrote: Hi together, I din't find any reading on this topic, so it seems time to ask here. Sorry if I missed something obvious. When our user types a password with german umlaut like , we

RE: voting for 5.0.29?

2004-10-27 Thread Shapira, Yoav
Hi, was that the JSP pre-compile/JDK1.5 thing? I tried looking for something on marc.tag, but I've probably missed the message with the subject Why 5.0.29 won't get out of beta ;) Yeah, that's the issue. As I said, I didn't send out a separate message for 5.0.29, I just said it anecdotally:

Tomcat 4.1.30 not shutting down correctly

2004-10-27 Thread Simon Kelly
Hi All, I'm looking into an issue we have where Tomcat fails to complete the shutdown procedure gracefully. I've had a good look through the documentation and been on the web all day, but any resolutions I have found for the error didn't seem to work when i tried to implement them. ( They

RE: Tomcat 4.1.30 not shutting down correctly

2004-10-27 Thread Shapira, Yoav
Hi, First question: does shutdown work on Tomcat standalone? The message seems to indicate 8080 goes down fine, but 8009 doesn't. Second question: do you webapps (or libraries used by them) spawn non-daemon threads that they don't interrupt/shutdown on webapp shutdown? Yoav Shapira

RE: Tomcat 4.1.30 not shutting down correctly

2004-10-27 Thread Simon Kelly
Hi Yoav, It's standalone that I am seeing the problem. I don't use tomcat anything but. Good question. There are multiple threads in operation in the webapp, but I don't get this problem with tc 1.3. Cheers Slim -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent:

Re: Forma based login german umlaut

2004-10-27 Thread Robert Humble
Hi, I would like to be able to limit the access in Tomcat manager. I would like to be able to setup a user account that is able to start, stop and remove the examples application, but only the example application. The problem is that when I give a user the role manager they have access to shutdown

RE: Tomcat 4.1.30 not shutting down correctly

2004-10-27 Thread Shapira, Yoav
Hi, It's standalone that I am seeing the problem. I don't use tomcat anything but. OK, then disable (comment out) the connector on port 8009 and retry. Make sure to kill the JVM process between retries so that each test is accurate. Good question. There are multiple threads in operation in

RE: Forma based login german umlaut

2004-10-27 Thread Shapira, Yoav
Hi, Don't hijack threads. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Robert Humble [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 10:55 AM To: Tomcat Users List Subject: Re: Forma based login german umlaut Hi, I would like to be able to limit the

Re: Form based login german umlaut

2004-10-27 Thread Mark Doppelfeld
Hi, Robert I'm not sure if this thread is the place where to put your question. I've got a problem with my web apps form based / JDBCRelam authentication. It' nothing related to the manager app of tomcat. Regards Mark Robert Humble wrote: Hi, I would like to be able to limit the access in Tomcat

Tomcat Manager roles

2004-10-27 Thread Robert Humble
Hi, I would like to be able to limit the access in Tomcat manager. I would like to be able to setup a user account that is able to start, stop and remove the examples application, but only the example application. The problem is that when I give a user the role manager they have access to shutdown

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
Dear Yoav, My understanding of J2EE standards is that the servlet container tries to find the file jndi.properties on the application classpath and if found initializes the context environment with properties from there. I don't think this understanding is correct for containers and J2EE

Re: Form based login german umlaut

2004-10-27 Thread Robert Humble
I am sorry I hit reply and pressed the send button before I changed the subject. You know it is like when you let the car door go just as you realize that you have left the keys in the car. Sorry Robert On Wed, 2004-10-27 at 11:06, Mark Doppelfeld wrote: Hi, Robert I'm not sure

Re: Forma based login german umlaut

2004-10-27 Thread Mark Doppelfeld
Hi Yoav, it seems you know a lot of tomcat and the authentication stuff... :-) No ideas Mark Shapira, Yoav wrote: Hi, Don't hijack threads. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Robert Humble [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004

Problem with logging in Eclipse

2004-10-27 Thread Glenn Barnard
Hi, I'm new to this list so if my question has been answered previously, please give me a URL to look at---I have tried one without a hit. I am trying to use Tomcat 5.5 in my Eclipse 3.0 development environment. I have a Tomcat plugin which starts Tomcat from a simple icon. In following the

RE: BUG? TC 5.0.xx: WEB-INF/classes/jndi.properties found but INITIAL_CONTEXT_FACTORY property gets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Shapira, Yoav
Hi, OK. Feel free to file a Bugzilla issue if you'd like. If you have a .diff patch you'd like to send along, that'd be great, and it will also improve the chances of someone looking at this. Yoav Shapira http://www.yoavshapira.com -Original Message- From: [EMAIL PROTECTED]

[OT] Re: Form based login german umlaut

2004-10-27 Thread Matt Bathje
Replying to an unrelated message, even with a different subject, may not be the best idea either. People using a threaded mail reader will most likely see your message threaded under the topic you replied to instead of as a new thread. If somebody is ignoring the thread you replied to, this

RE: voting for 5.0.29? [Auf Viren geprüft]

2004-10-27 Thread Frerk . Meyer
5.0.29 beta never going stable? This is very disappointing news to me. 5.0.29beta was the *first* Tomcat release, that did JAAS right. I lost weeks in searching the bug in my JAAS code. 5.0.29beta does return my own Principal implemention class - declared in the JAASRealm - with

RE: Tomcat Manager roles

2004-10-27 Thread Shapira, Yoav
Hi, Hi, I would like to be able to limit the access in Tomcat manager. I would like to be able to setup a user account that is able to start, stop and remove the examples application, but only the example application. The problem is that when I give a user the role manager they have access to

RE: Random 500 errors

2004-10-27 Thread Cott Lang
Is the 500 generated by Apache or Tomcat? Have you cranked your logs all the way up on both? (LogLevel debug in httpd.conf). On Wed, 2004-10-27 at 01:54, James McGovern wrote: Here is the other web.xml. Essentially, this is from a standard download of Liferay Enterprise Portal.

RE: voting for 5.0.29? [Auf Viren geprüft]

2004-10-27 Thread Shapira, Yoav
Hi, 5.0.29 beta never going stable? This is very disappointing news to me. Sorry to disappoint you ;) However, 5.0.30 is not far down the pipe, and hopefully it will be declared as stable. 5.0.29beta was the *first* Tomcat release, that did JAAS right. Thanks for the vote of confidence ;)

RE: Tomcat 4.1.30 not shutting down correctly

2004-10-27 Thread Simon Kelly
Hi Yoav, I have tried disabling the connector, which has stopped the error showing up. However the Tomcat window is staying up after shutdown has finished. tc 1.3 was ment to read tomcat 3.3.2. The problem of the screen not diapearing still persists. i am about to test it with Tomcat 5.0.28

Re: BUG? TC 5.0.xx: WEB-INF/classes/jndi.p roperties found but INITIAL_CONTEXT_FACTORY property g ets overwritten by TC [Auf Viren geprüft]

2004-10-27 Thread Remy Maucherat
On Wed, 27 Oct 2004 11:14:27 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, OK. Feel free to file a Bugzilla issue if you'd like. If you have a .diff patch you'd like to send along, that'd be great, and it will also improve the chances of someone looking at this. Please don't file

Re: Manager App and .war META-INF context.xml problem

2004-10-27 Thread Mark Doppelfeld
Hi together, at least I found my problem... Cocoon was configured to log into WEB-INF directory and held a lock on this log files. So the undeploy command couldn't remove the WEB-INF directory and the manager app got screwed up... Probably the code base shouldn't check for the existance of this

  1   2   >