Re: HTMLArea v. fckeditor

2005-02-17 Thread Mark Benussi
My 2 pence worth is that whilst all these are great, intergating them with existing functionality such as asset manegment (Images, documents etc) is such a pain that it is best to do your own. Original Message Follows From: Oleg [EMAIL PROTECTED] Reply-To: Oleg [EMAIL PROTECTED] To:

Cluster: how to set mcast interface for dual LAN card?

2005-02-17 Thread Joseph Lam
Hi, If I have two LAN cards and I want my Tomcat to mcast through one of them, what parameter should I set? Regards, Joseph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Missing application web.xml, using defaults only

2005-02-17 Thread Abhay
Hi All, I am trying to run tomcat from eclipse, getting something like this . Any suggestions! INFO: Missing application web.xml, using defaults only StandardEngine[a8050]. StandardHost[localhost].StandardContext[/OMS_ebiz] Thanks

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Peter Crowther
From: Abhay [mailto:[EMAIL PROTECTED] INFO: Missing application web.xml, using defaults only StandardEngine[a8050]. StandardHost[localhost].StandardContext[/OMS_ebiz] You probably have a WEB-INF directory in your webapp, but no web.xml file in it. Make one (or move it, or fix the name, or

Re: Missing application web.xml, using defaults only

2005-02-17 Thread Abhay
Here is my directory structure and the web.xml lies here. Got rid of all other web.xml. server.xml is here C:\jakarta-tomcat-5\conf.Still getting same error. Pls help C:\jakarta-tomcat-5\webapps\websites\www.xyz.com\java\srv\WEB-INF On Thu, 17 Feb 2005 14:05:44 -, Peter Crowther [EMAIL

RE: SSL config

2005-02-17 Thread Warron French
I figured it out after all. The documentation was a little misleading that's all. Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Warron French Sent: Wednesday,

security in servlets (need an advice)

2005-02-17 Thread Mark
Hi, I have security roles defined in DB and would like to control servlet access based on userId(user logged in im my application) and allowed actions (stored in DB and can be changed anytime) I was thinking about loading allowed action ( allowed servlet names) in to the session and check in

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Joe Reger, Jr.
Hi, I get the same error as Abhay when deploying a WAR file through the manager application. In my situation I do have the proper /WEB-INF/web.xml structure but I get the Missing application web.xml, using defaults only error. When I manually explode the WAR file the application works fine.

Tomcat control from Ant

2005-02-17 Thread Frank W. Zammetti
Hello all. I have an Ant build script for an application that stops Tomcat if it's running, deletes the work folder for the application (so I can ensure all JSPs get recompiled) and starts Tomcat again. Here's the two relevant tasks: target name=tomcat_cleanup delete

Re: Tomcat control from Ant

2005-02-17 Thread Frank W. Zammetti
I figured it out... kinda of obvious after the fact actually... My catalina_home Ant property was defined as ../../../ You see, all the paths in the build script are defined relative to the build file, which is always in the directory source in the root of the webapp. Everything else works this

configure a jndi resource

2005-02-17 Thread Steven Pannell
Hi, I would like to configure my jms router resource directly in tomcat and perform a jndi lookup to get this resource. But I am not sure how this is working. For example in the code I have this: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,

Re: Missing application web.xml, using defaults only

2005-02-17 Thread Mike Fowler
I also get this error message using Tomcat 5.0.19 using the Ant deploy task. It seems to occur once or twice a day when I'm developing. I have to stop Tomcat, delete the war file (which is correct), delete what has been exploded (usually only one or two files, but no web.xml) and restart

How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Siegfried Heintze
The Java's Developers Guide to Eclipse contains a nice description for how to run the debugger for a servlet running in Tomcat. However, the instructions reference bat files I don't have in my Tomcat 5.5 installation like startup.bat and shutdown.bat. Where are some updated instructions so I can

Re: Setting default tomcat logger 5.0.28

2005-02-17 Thread Ian Wootten
I've managed to make some headway with this problem. I've moved my log4j.properties file over into the axis/web-inf/classes directory, and this catches all axis output, but what I want to know is how to direct all output to log4j. So, that initial startup stdout and stderr output to log4j. Is

RE: Setting default tomcat logger 5.0.28

2005-02-17 Thread Brian McGovern
Im looking to do the exact same thing. I tried adding a file named commons-logging.properties to my classes directory that contains the following line. org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger This doesn't do what I read it would do. I still have output to

Split catalina.out to separate stdout and stderr?

2005-02-17 Thread [EMAIL PROTECTED]
Hi, I'm runnning Tomcat 4.1.30 on Linux/Unix. I'm trying to get our app's debug info from catalina.out split into 2 separate stderr and stdout files. I'm able to do this in Windows via the System.out File and System.err File registry parameters, but I can't find a way to do this in

Re: Split catalina.out to separate stdout and stderr?

2005-02-17 Thread Tim Funk
You'd need to write a listener (or other code) which calls the appropriate System calls to set out and err in the JVM. -Tim [EMAIL PROTECTED] wrote: Hi, I'm runnning Tomcat 4.1.30 on Linux/Unix. I'm trying to get our app's debug info from catalina.out split into 2 separate stderr and stdout

Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Jason Bainbridge
On Thu, 17 Feb 2005 09:36:31 -0700, Siegfried Heintze [EMAIL PROTECTED] wrote: The Java's Developers Guide to Eclipse contains a nice description for how to run the debugger for a servlet running in Tomcat. However, the instructions reference bat files I don't have in my Tomcat 5.5

Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Jens Joachim
I guess this is so, cause the .exe installation makes tomcat available as a service for what you don't need a .bat file. Jens Joachim Syscon Ingenieurbüro für Mess- und Datentechnik GmbH E-Mail: [EMAIL PROTECTED] - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat

RE: log4j best practices

2005-02-17 Thread Brian McGovern
Im not able to get the class name and line number spittin out in the logs for classes where i call the logger. But for jakarta, and struts classes I am. What am i doing wrong. In Class Named DBConnection: --private static final Logger zLogger = Logger.getLogger(DBConnection.class.getName());

Server.xml parameters unavailable after reload

2005-02-17 Thread Tony Tomcat
I am unable to read init parameters in my server.xml file when my webapp is reloaded. This issue was documented in the following bug http://issues.apache.org/bugzilla/show_bug.cgi?id=19852 It said the bug was fixed but I am using Tomcat 5.0.28 and I have this issue. Was this bug re-introduced

Re: Cluster: how to set mcast interface for dual LAN card?

2005-02-17 Thread Rainer Jung
Depends on the OS. Usually the system decides which interface to use depending on the routing table. E.g. on Solaris: netstat -rnv shows: Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd ---

Re: log4j best practices

2005-02-17 Thread David Smith
I believe the classes have to be compiled with debug info included. If using ant, javac would be done with the debug=true attribute. See further info on ant's javac task here: http://ant.apache.org/manual/CoreTasks/javac.html --David Brian McGovern wrote: Im not able to get the class name and

Register Tomcat as a service?

2005-02-17 Thread Hay, Markus
Hello. I have an application that requires Tomcat (4.1.30 or later) and I'd like to know how I can register Tomcat as a service if the user does not do this during the install. In my installer, I can check the registry to see if Tomcat is registered as a service and if it isn't, I'd like to be

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Caldarale, Charles R
From: Mike Fowler [mailto:[EMAIL PROTECTED] Subject: Re: Missing application web.xml, using defaults only I've been experiencing the problem randomly for several months, but I have been unable to pin down the cause or even more information about the error to make a guess as to the cause.

Re: Register Tomcat as a service?

2005-02-17 Thread Jason Bainbridge
On Thu, 17 Feb 2005 14:39:40 -0600, Hay, Markus [EMAIL PROTECTED] wrote: Hello. I have an application that requires Tomcat (4.1.30 or later) and I'd like to know how I can register Tomcat as a service if the user does not do this during the install. In my installer, I can check the registry

Re: Register Tomcat as a service?

2005-02-17 Thread Wolfgang Hackl
Hay, Markus wrote: I have an application that requires Tomcat (4.1.30 or later) and I'd like to know how I can register Tomcat as a service if the user does not do this during the install. In my installer, I can check the registry to Hi Markus, this can be achieved with the file service.bat

RE: Register Tomcat as a service?

2005-02-17 Thread Hay, Markus
Hi, Does service.bat come with 4.1.30? I have the .exe and the .zip version and neither contain this file. Thanks. - Markus -Original Message- From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 3:00 PM To: Tomcat Users List Subject: Re: Register Tomcat

Setting maximum logging on Tomcat 5.5.4

2005-02-17 Thread John Martyniak
Hi everyone, I have recently upgraded all of my apps to run on Tomcat 5.5.4, and Struts 1.2.4. I would like to find out how to set the maximum level of logging. In the the version that I was using before (4.1.27) it automatically created several kinds of log files. The new version only creates

Re: Register Tomcat as a service?

2005-02-17 Thread Jason Bainbridge
On Thu, 17 Feb 2005 15:24:43 -0600, Hay, Markus [EMAIL PROTECTED] wrote: Hi, Does service.bat come with 4.1.30? I have the .exe and the .zip version and neither contain this file. *slaps forehead* Forgot about that... for 4.X I rolled my own batch file, which is attached as a .txt (well

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Joe Reger, Jr.
Do you know if that directory change is part of the manager application's WAR deployment process? -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 3:45 PM To: Tomcat Users List Subject: RE: Missing application web.xml, using

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Caldarale, Charles R
From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED] Subject: RE: Missing application web.xml, using defaults only Do you know if that directory change is part of the manager application's WAR deployment process? Sorry, I have no idea. I do know that there are many calls to chdir() during

Jass Login Module not found

2005-02-17 Thread Sara Blauman
Hi, I am running Tomcat 5.5.4 and am wanting to use Jaas with my own custom login module. My Jaas config file is being found but my login module is not. If I run with one of Sun's login modules everything works fine so I think that my Jass configuration file, JASSRealm specification in my app.xml

The number of tomcat directory for multiple tomcat instances

2005-02-17 Thread Terry Chung
Hi, I'm running APACHE 2.0.48 with Tomcat 4.1.29 on HP box/os. I'm running multiple tomcats that are connected to Apache using round-robin load balancing. All tomcat instances and apache is running on the same HP box. The document I read states that I need a unique CATALINA_HOME for each tomcat

compiling jsvc

2005-02-17 Thread Behrang Saeedzadeh
Hi I've just installed Tomcat 5.5.7 on my Ubuntu Linux system. I wanted to run it as a daemon so I went for compiling jsvc. I've installed gcc and GNU Ansi C compiler on my system. But when I execute the configure script I get the following errors: checking build system type...

Oracle 9i JDBC configuration with Tomcat 5.5.7 - who is right?

2005-02-17 Thread Edmon Begoli
Tomcat authors and users, Need somebody's definitive word on this: I am trying to configure JNDI resource in tomcat 5.5.7 for Oracle 9i (either ojdbc14 or classes12). I have book Professional Tomcat 5 that instructs me to put Resource and ResourceProperties inside the Global context or the

Serving up a Flash file

2005-02-17 Thread Paul Erion
I'm using JBoss/Tomcat and JSP to serve up Flash (swf) files, but I'm running into a little difficulty. The Flash file plays fine when the browser is running on the same machine as the server; but, is a no-show when I access the web page from a different machine -- though the rest of the page

Re: Serving up a Flash file

2005-02-17 Thread Jason Bainbridge
On Thu, 17 Feb 2005 18:37:01 -0800, Paul Erion [EMAIL PROTECTED] wrote: Following is the HTML that gets generated by the JSP (which fills in the name of the Flash file to be displayed): HTML BODY bgcolor=#ff OBJECT width=300 height=200 align=center PARAM

JasperException while running JSP

2005-02-17 Thread U K Laxmi
I have integrated tomcat 5.5 with apache 2 successfully and i could able to run sample JSPs. Now i created a jsp page which will inititate a Java program called TestSQLLoad.java. TestSQLLoad.java talks to Ms Access database and gets me reuired fields from databasae and it will be displayed on

Re: Oracle 9i JDBC configuration with Tomcat 5.5.7 - who is right?

2005-02-17 Thread Parsons Technical Services
Just a user, but from the threads on the list and the docs, what is correct is. Both! The book is in reference to the 5.0.x path and the 5.5.x path is different. So, since you are running 5.5.7 follow the how to on the web for the element configuration. Otherwise the data is the same. Now

OT Re: compiling jsvc

2005-02-17 Thread Parsons Technical Services
Try adding a symbolic link to the gcc compiler in your /usr/bin directory. Doug - Original Message - From: Behrang Saeedzadeh [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, February 17, 2005 6:06 PM Subject: compiling jsvc Hi I've just installed Tomcat 5.5.7 on my

running tomcat using sablevm

2005-02-17 Thread varsha.agrawal
Hello, Has anyone tried running tomcat using sablevm (JVM). I am trying to run tomcat but it fails. It gives ClassDefNot Found error. I don't know how to go about running the tomcat. Any suggestions or any help is appreciated!!! Regards. Confidentiality Notice The information

Re: running tomcat using sablevm

2005-02-17 Thread Parsons Technical Services
Give more details and maybe someone can help. OS Version JVM version Tomcat Version Snip from logs with error Doug - Original Message - From: [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, February 17, 2005 11:24 PM Subject: running tomcat using sablevm Hello, Has

FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged

2005-02-17 Thread Reshma Bhatia
(B (B -Original Message- (BFrom: Reshma Bhatia [mailto:[EMAIL PROTECTED] (BSent: Thursday, February 17, 2005 7:36 PM (BTo: '[EMAIL PROTECTED]' (BSubject:Please help for a query in Tomcat. - Problem : Tomcat gets (Bhanged (B (BHi, (B (BWe have designed an

Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged

2005-02-17 Thread Antony Paul
You can try modifiying the maxProcessors in the connector element in conf/server.xml to a higher value to test whether increasing no of threads solve the problem. Post Tomcat , Java VM and OS versions. rgds Antony Paul On Fri, 18 Feb 2005 10:14:15 +0530, Reshma Bhatia [EMAIL PROTECTED] wrote:

RE: running tomcat using sablevm

2005-02-17 Thread varsha.agrawal
Hello, Well the OS is Redhat linux 7.2 JVM version: sablevm 1.1.9 Tomcat version : 3.3.1a (Might be this is a older version but this is what I need to install) The error I get is as follows: Java.lang.InternalError:java.lang.ClassNotFoundException: org.apache.tomcat.core.ContextManager not

Re: running tomcat using sablevm

2005-02-17 Thread Antony Paul
Were you able to run it in Sun or any other JVM. ? rgds Antony Paul On Fri, 18 Feb 2005 10:36:21 +0530, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Well the OS is Redhat linux 7.2 JVM version: sablevm 1.1.9 Tomcat version : 3.3.1a (Might be this is a older version but this is

RE: running tomcat using sablevm

2005-02-17 Thread varsha.agrawal
Yeah I was able to run the tomcat suing sun JVM, but not with this particular jvm. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:41 AM To: Tomcat Users List Subject: Re: running tomcat using sablevm Were you able to run it in Sun or

Re: running tomcat using sablevm

2005-02-17 Thread Antony Paul
I hadnt tried SableVM. It may be that CLASSPATH settings Tomcat passes to VM is not properly passed to it. There may be difference in passing classpath to VM. Check the docs. rgds Antony Paul On Fri, 18 Feb 2005 10:45:58 +0530, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yeah I was able to

RE: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged

2005-02-17 Thread Reshma Bhatia
Is there a way to kill the Tomcat threads which have gone into infinite loop / hang state. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:26 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: FW: Please help for a query in Tomcat. -

Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged

2005-02-17 Thread Antony Paul
To best of my knowledge you can't. Even if you shutdown Tomcat it will wait till the threads finish their work. rgds Antony Paul On Fri, 18 Feb 2005 11:41:04 +0530, Reshma Bhatia [EMAIL PROTECTED] wrote: Is there a way to kill the Tomcat threads which have gone into infinite loop / hang

Re: Serving up a Flash file

2005-02-17 Thread Paul Erion
Jason Bainbridge [EMAIL PROTECTED] wrote: Okay that scares me, you're developing web applications ... Don't worry. No one's paying me for this -- I'm just fooling around on my own, trying to learn some stuff ... but don't know what the file:/ URI does? Well, I *am* kind of an

Re: Serving up a Flash file

2005-02-17 Thread Shey Rab Pawo
Your conclusion is not correct. What Mr. Bainbridge told you is true, but that does not restrict where you can store the files on the server. So, if I understand you (and remember I'm a bit dense) it's just not possible, via the embed/object tag to specify/access a file that doesn't reside in

Re: The number of tomcat directory for multiple tomcat instances

2005-02-17 Thread Wolfgang Hackl
Terry Chung wrote: I'm running APACHE 2.0.48 with Tomcat 4.1.29 on HP box/os. I'm running multiple tomcats that are connected to Apache using round-robin load balancing. All tomcat instances and apache is running on the same HP box. This configuration seems a bit strange. If you have only one

disable put, delete

2005-02-17 Thread Ben Kim
I'm running 5.0.28 and when I ran nessus scan, it gives me a warning about put and delete methods. I'm not sure how I should take it... It seems it's not applicable but nessus still gives the warning. Could anyone advise whether tomcat configuration needs to be fixed, and then how? (The BID

disable put, delete (fwd)

2005-02-17 Thread Ben Kim
P.S. It's redhat 9 and the warnings come only on 8443 not on 8080. Regards, Ben Kim Database Developer/Systems Administrator 434E Harrington Tower / College of Education Texas AM University -- Forwarded message -- Date: Fri, 18 Feb 2005 01:13:56 -0600 (CST) From: Ben Kim

RE: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged

2005-02-17 Thread Caldarale, Charles R
From: Antony Paul [mailto:[EMAIL PROTECTED] Subject: Re: FW: Please help for a query in Tomcat. - Problem : Tomcat gets hanged To best of my knowledge you can't. Even if you shutdown Tomcat it will wait till the threads finish their work. Not quite true. You can use the kill command on