Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

2011-08-30 Thread Glen Mazza
Hi, I'm using Tomcat 7.0.14 on Ubuntu Linux and wanted to make the logging in the logs/catalina.out file more detailed than INFO. So I adjusted the $CATALINA_HOME/conf/logging.properties file[1], adding this entry near the top: .level = FINE and, sure enough, when I restarted Tomcat got all

Using java.security.Principal with web service calls on Tomcat

2008-12-26 Thread Glen Mazza
Hello, Kumar Jayanti of Sun Microsystems had written a blog entry[1] showing how on GlassFish, for web service calls, how roles can be dynamically assigned to the SOAP client (here, based on the validation of a SAML assertion). I was wondering if I could do the same for Tomcat. Basically, his we

Re: Webapps that run on 5.0.28 but not 5.5.x?

2006-11-01 Thread Glen Mazza
code changes. An upgrade to Java 5 should be tried only after you get the webapp to run under TC 5.5 with Java 1.4. Regards, Rainer Glen Mazza schrieb: Hello, Question: How common is it for a webapp to be able to run on Tomcat 5.0.28 but *not* 5.5.20? For the installation of a commer

Webapps that run on 5.0.28 but not 5.5.x?

2006-11-01 Thread Glen Mazza
Hello, Question: How common is it for a webapp to be able to run on Tomcat 5.0.28 but *not* 5.5.20? For the installation of a commerical web application that calls for installation of Tomcat 5.0.28, I'm inclined to just go ahead and use the 5.5 series of servlet containers. Customer suppor

Re: Problem moving from HTTP to HTTPS

2006-09-02 Thread Glen Mazza
[EMAIL PROTECTED] * the "*" means all the roles that you have defined in web.xml, since you haven't defined any roles in web.xml, there is nothing to authenticate, hence its gonna deny the request Filip Glen Mazza wrote: Hello, I have developed a simple web application run

Problem moving from HTTP to HTTPS

2006-08-31 Thread Glen Mazza
Hello, I have developed a simple web application running on Tomcat that asks for a database username and password and then returns a report in PDF. I'm *not* using any of Tomcat's security features for this--no roles for example. In testing it has been running fine on HTTP, but I would like

Re: javaservice.exe

2006-03-01 Thread Glen Mazza
I'm not sure how JavaService works, but perhaps best to shut down any services from the Control Panel that JavaService is running first? Glen Andrew English wrote: Is there anyway to force close the javaservice.exe on windows? When I tried to do it under Taskmanager (as Administrator) it tells

Re: [HELP] Forcing Context Reload (watched resource) via Java Code

2006-02-26 Thread Glen Mazza
Martin Gainty wrote: Good Morning Rob- Message Beans, Session Beans and Business Entity Beans need a J2EE container take a look at Oracle App Server .. a good headsup is available at http://www.oracle.com/oramag/oracle/02-jan/o12industry.html I think the "MBeans"[1] refer to "Managed Beans

Re: [HELP] Forcing Context Reload (watched resource) via Java Code

2006-02-25 Thread Glen Mazza
Rob Gregory wrote: Thanks Glen for the suggestion. I was hoping for a more integrated approach without the need for additional jars or external commands. Could I not just deploy may webapp with manager privileges and call the reload internally? Would this be feasibly? I think JMX / MBeans

Re: error-page for nonexistent context

2006-02-24 Thread Glen Mazza
Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml 404 /anon_error.jsp *and* put an anon_error.jsp in every web app, then I can replace the built-in error page. But where will Tomcat look

Re: [HELP] Forcing Context Reload (watched resource) via Java Code

2006-02-24 Thread Glen Mazza
Rob Gregory escribió: Hi All I'm using Tomcat 5.5.9 on Java 1.5.under mixed OS's. The question is one of forcing a context/webapp reload via java code - is this possible? I know adding a watched resource or adding a new lib triggers a reload (so hopefully to trigger this via code is

Re: first jdbc tomcat application

2006-02-24 Thread Glen Mazza
David McMinn escribió: Unfortunately the logs don't say anything - I just get a page not found. If I take that out (and all subsequent jsp) it works fine. So right up to that point the jsp page renders fine - When I include that one more line, it blows up. I'm still looking but if someone kn

Re: tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-24 Thread Glen Mazza
Brad O'Hearne wrote: This is a real incredible nuisance. It appears that Tomcat is using java.util.logging, so I altered all the log levels in conf/logging.properties to WARNING, and I'm still getting DEBUG messages Since you're using java.util.logging, have you tried the logging.properties

Re: first jdbc tomcat application

2006-02-24 Thread Glen Mazza
David McMinn wrote: > When I try to go to http://localhost:8070/jsp-examples/wroxjdbc/JDBCTest.jsp I get a standard The page cannot be displayed page. Port wrong? It is 8080 by default. Glen - To unsubscribe, e-mail:

Re: Reading Data Form MS -execel 2003- in java

2006-02-24 Thread Glen Mazza
Really? I'm seeing SVN commits on its source code still: http://marc.theaimsgroup.com/?l=poi-dev&r=1&w=2 Glen David Thielen wrote: One note on POI. It is a good product and works but it is also abandon-ware - there has been no new development on it for years. Thanks - dave David Thielen

Re: init.d Tomcat5 file modifications

2006-02-21 Thread Glen Mazza
[EMAIL PROTECTED] wrote: My problem is to make it function under /etc/init.d so it will start automagically whenever the machine reboots [should be rare, of course!]. I have compiled jsvc and copied the Tomcat5.sh file into /etc/init.d. My problem is with the editing of this file. Possibly

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Glen Mazza
Thibaut Nicolas wrote: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /jsp/Test.jsp Generated servlet error: The method add(String) is undefined for the type Vector An error occurred at line: 4 in the jsp file: /jsp/Test.jsp G

Re: Any free online books for tomcat?

2006-02-20 Thread Glen Mazza
PKarthick wrote: Hi all, I would like to know whether any online books are there for tomat? or any documentation in PDF(downloadable).. if so pzl send me the link. Review the online docs to get a better idea of the scope of Tomcat (http://tomcat.apache.org/tomcat-5.5-doc/index.html), they'

Re: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Glen Mazza
Pulkit Singhal wrote: I would say Eclipse web edition...but you have to figure out how to integrate it with tomcat...shld be able to find a tutorial on that out there somewhere. I use Eclipse WTP but don't bother integrating it with Tomcat--I use the manager Ant tasks[1] for autodeploying WAR

Re: starting with JNDI

2006-02-09 Thread Glen Mazza
Perhaps best to give the version of Tomcat you're using. Glen Marcelo Fukushima wrote: Hello guys... its gonna sound really stupid, but i cant seen to configure JNDI to work (either global and context bound)... im getting this exception, wich sugested that something was wrong, maybe in the ser

Re: anyway to disable undeploy link in manager app?

2006-02-07 Thread Glen Mazza
Gary wrote: Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. You know that you can limit the users who are authorized to access the

Re: wrapping manager "undeploy" Ant task

2006-02-07 Thread Glen Mazza
Tim Lucia wrote: Add: failOnError="false" Works great--thanks. This is already in the documentation[1], but I missed it. Glen [1] http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant Hello, I'm using the manager tasks for Ant to un

wrapping manager "undeploy" Ant task

2006-02-06 Thread Glen Mazza
Hello, I'm using the manager tasks for Ant to undeploy and deploy my WAR file in Tomcat, as shown below. Sometimes, due to a previous processing error, there is nothing to "undeploy" (i.e., no webapp there) but the "deploy" task is still relevant and should still occur. However, in these ca

Re: Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-05 Thread Glen Mazza
Robert Rivoir wrote: I just installed Tomcat 5.5 on WinXP with the windows installer. The setup docs indicate that it gets installed as a service, but also suggests there should be scripts (I assume .bat files) created in the bin directory for starting, stopping and configuring tomcat. But my

Re: Valadation of Tomcat config files

2006-02-03 Thread Glen Mazza
[EMAIL PROTECTED] wrote: I need and want to edit these files manually since I can't use GUI tools nor can I connect to a management URI by a rendering browser. The best I could use was a bare ascii user agent such as e.g. lynx. The issues this could arise are the aforementioned typos. So I need

Re: Best practice for Capturing JSP Errors

2006-02-02 Thread Glen Mazza
Mott Leroy wrote: I am on Tomcat 5.0.x I am familiar with a couple ways to capture errors that occur on the JSP side. One way is to use the error page tag: <%@ page errorPage="MyErrorPage.jsp" %> Chapter 10 on exception handling, Beginning JavaServer Pages (Wrox Books, 2005), I think wou

Re: BUG in Tomcat 4.3.31 with Oracle 9?

2006-02-01 Thread Glen Mazza
[EMAIL PROTECTED] wrote: Hi! I tried the following code from a jsp-page one time on a tomcat 4.1.30 and one time on a tomcat 4.1.31. String up = "update test_double set test_value = '26.5' where oid = '1'"; Statement st = dbConn.createStatement(); st.executeUpdate(up); Interestingly this code

Re: "Jasper 2 JSP Engine How To" ant script - ServletException not found

2006-02-01 Thread Glen Mazza
Olinga K. Abbott wrote: Glen, thanks for responding. I placed both the property and path element references to servlet-api at the beginning of their respective sections, and defined jdk.javac.path. I still get the same error. Any ideas on why build.xml provided by the Tomcat website doesn't w

Re: "Jasper 2 JSP Engine How To" ant script - ServletException not found

2006-01-31 Thread Glen Mazza
Olinga K. Abbott wrote: BUILD FAILED E:\workspace\progsoftware\trunk\source\jasper\build.xml:5: taskdef A class needed by class org.apache.jasper.JspC cannot be found: javax/servlet/ServletException Of course, it looks like it can't find javax.servlet.ServletException while building. This

Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-31 Thread Glen Mazza
d 5.0. Maybe ... - Monica -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 10:47 AM To: Tomcat Users List Subject: Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days Monica Wu wrote: First of all, upgraded to the versi

Re: Download file Problem - 404 error

2006-01-31 Thread Glen Mazza
DEEPA M N wrote: Hi, wen i checked the log file, i think the error might be in the line of the code. root = propFile.getProperty("app.directory"); This code should be able to download the files from the server. so i m using application.properties where app.directory="D:\\temp\\file

Re: was 404 - now 500

2006-01-31 Thread Glen Mazza
DEEPA M N wrote: Hi, I jus tried this. I created another folder under webapps and the tree structure is as below. Download1-- --WEB-INF/web.xml --WEB-INF/classes/com/deepa/servlet/DownloadFiles.class --WEB-INF/lib Download1 is under webapps folder. But after trying this too i

Re: How do I stop tomcat when the port is in use

2006-01-26 Thread Glen Mazza
Koneru, Narendra wrote: Hi, When the port that I specify to start tomcat is in use, then I want tomcat to go down after printing a message. What I observed is that tomcat prints the message on the screen that there is a bind exception but tomcat server does not go down. How do make sure that to

Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza
Monica Wu wrote: First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been running well on my another production server about one year. At that installation time, Tomcat 5.0 was the latest. Moreover, having all productions share the same Java + tomcat versions is one of m

Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza
Monica Wu wrote: About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 5.5 hangups were reported as well, I don't think simply upgrading to 5.5 would fix my problem. Perhaps not. But you *might* get more responses and additional concern from the users and develope

Re: Connection Pool Woes

2006-01-23 Thread Glen Mazza
Alex Turner wrote: Somehow I doubt the JSTL authors were so short sighted as not to release database connections properly. I'm sure they had production usage in mind when it was written, I'm just wondering how. Actually, they seemed to mostly have rapid prototyping in mind with the JSTL SQ

Re: blank admin

2006-01-23 Thread Glen Mazza
kalin mintchev wrote: tomcat-users.xml: this is probably normal but i would like to mention that even if i change the order if the elements in the tomcat-users and put admin first after restarting the server they get switched back in this order... I sense tomcat-users.xml may not b

Re: Serving up a non-JSP file

2006-01-23 Thread Glen Mazza
Bill Barker wrote: The APR connector is still a bit buggy in 5.5.12. I suggest either upgrading to 5.5.15, or disabling the APR connector. I don't know the TC source, but the stacktrace appears to show that the bug is within the Catalina code--this has happened to someone else[1] with a J

Re: blank admin

2006-01-23 Thread Glen Mazza
kalin mintchev escribió: hi all... i realize this is probably a retarded question but it is a retarded problem too... new installation of tomcat 5.0.30 with jdk 1.4.2. when i go to http://myserver:8080 and login as manager - no problems there. But doesn't http://myserver:8080 just take

Re: Manually setting up Tomcat5.0 as service on Windows server 2003 : some questions

2006-01-23 Thread Glen Mazza
ZedroS Schwart wrote: Hi I'm trying to manually setting up Tomcat5.0 as a service on a Windows Server 2003. May I ask why you need to "manually" set it up? You can download the "Windows Executable" version of TC[1] and choose "install as a service" when prompted. Glen [1] http://tomcat

Re: How to capture printf() stdout to stdout_nnn.log?

2006-01-23 Thread Glen Mazza
Le Jeudi 19 Janvier 2006 18:25, Joe Siebenmann a écrit : Hi All, My System.out.println() gets logged to Tomcat's log file fine. I want to be able to capture the printf()s in the DLL of my JNI to the same, or another, log file. printf() means you want to capture the stdout, because that's w

Re: writing files with a web application

2006-01-23 Thread Glen Mazza
Peter Crowther wrote: From: SOA Work [mailto:[EMAIL PROTECTED] Check the Servlet Spec (version 2.4 is at http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) for questions of this kind. From memory in both cases (so treat with caution): 1.) am I allowed to call main methods or p

Re: WAR Deployment via Manager and Ant Tasks during Development

2006-01-21 Thread Glen Mazza
Gregg D Bolinger wrote: I am using Tomcat 5.5.12 but this has been an issue since the first 5.5.xrelease. During development I've been trying to use both Tomcat's ant tasks as well as the browser interface to the Manager to deploy, start, stop, undeploy my webapp. I start Tomcat, and I deploy u

Re: Sending a lot of info the a jsp page

2006-01-20 Thread Glen Mazza
Dola Woolfe wrote: Hi, This question will reveal how little I know about networking or http or something else. Basically I wrote an applet that sends data to a servlet. I do it by forming a url with a query string (GET). But this doesn't work when there's too much data. What are my options? I

Re: web hosting software

2006-01-20 Thread Glen Mazza
I don't know the answer to your question, but out of curiosity, what additional services beyond a servlet container (Tomcat) or application server (JBoss, etc.) are you looking for? I would guess, to run a java web hosting service, you're going to need to be pretty Tomcat- or JBoss-knowledgabl

Re: Oracle 8i JDBC Driver for jdk1.5?

2006-01-20 Thread Glen Mazza
gupta vidhi wrote: hello, i got the following info. from oracle.com : - Setting Up Your Environment --- On Windows platforms: - Add [ORACLE_HOME]\jdbc\lib\classes12.jar to your CLASSPATH if you use JDK 1.2 or 1.3. - Add [ORACLE_HOME]\jdbc\lib\ojdbc14.jar to

Re: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Glen Mazza
Monica Wu wrote: Production tomcat server was upgraded from 3.3.1 to 5.0.28 about 3 weeks ago. It hang up every 1 or 2 days during weekdays, depending on web server traffic. Unfortunately, I don't know enough to be able to help you here, but since 5.0.28 isn't working anyway, have you consid

Re: creating html files within an web application? write access?

2006-01-19 Thread Glen Mazza
SOA Work wrote: Hi there, I'm a developer new to web programming. I'm using tomcat 5.x to deploy my applications. Now I have an web application using an other application to generate some html files and necessary folders. I would like to use my web application to automatically create the fil

Re: I can't install TomCat in my computer

2006-01-17 Thread Glen Mazza
Patricio wrote: In logs folder of Tomcat 5.5 I have this messages: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. It appears you're no

Re: My first Aproach

2005-10-16 Thread Glen Mazza
Claudio Veas wrote: > Hello my name is Claudio Veas Im from Argentina and I have successfully installed Tomcat 5.0.28 if Im not mistaken. This is the first time with Tomcat so I wanted to ask you people which should be my first step into the world of web applications you know ( JSP, EJB) but ima