Re: Invoke methods in EL?

2017-04-10 Thread Tim Watts
Thanks Mark. That does help. On Mon, 2017-04-10 at 23:24 +0100, Mark Thomas wrote: > On 10/04/17 16:35, Tim Watts wrote: > > Environment: Tomcat 7.0.59; JRE 1.8.0_72 > > > > I suspect the answer to my problem is "You can't do that" but here goes: > >

Invoke methods in EL?

2017-04-10 Thread Tim Watts
Environment: Tomcat 7.0.59; JRE 1.8.0_72 I suspect the answer to my problem is "You can't do that" but here goes: A simple JSP that tries to get a Calendar instance and outputs the year: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread Tim Watts
On Fri, 2017-02-24 at 01:08 +0100, André Warnier (tomcat) wrote: > On 24.02.2017 00:57, James H. H. Lampert wrote: > > On 2/23/17, 3:13 PM, André Warnier (tomcat) wrote: > >> It seems to say right up here what the problem is : the customer system > >> cannot establish a HTTPS connection with your

Re: Error 404 - The requested resource is not available

2017-01-11 Thread Tim Watts
On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote: > Hi all! > > First, I need to say that I'm new(ignorant) with Tomcat. One of our > systems is written with tomcat, but today something went wrong and the > following error appears on the webpage: > > --Estado HTTP 404 -

RE: tomcat8 unable to load the Resource/property file from jar

2016-09-14 Thread Tim Watts
On Wed, 2016-09-14 at 11:54 +, Venkata Reddy P wrote: > Thanks Chris for replying. > > I have tried placing all the jars into webapps/auth/web-inf/lib > folder but still getting the null value. > You mean WEB-INF/lib not web-inf/lib, right? Case matters. > Is there any way to confirm the

Re: How to write a correct HTTP request to Tomcat 8.5.4 instance?

2016-09-05 Thread Tim Watts
On Mon, 2016-09-05 at 14:11 +0200, Klemens Muthmann wrote: > Hi, > > I currently need to implement an HTTP data transmission from an Arduino > with WiFi module to a PC running a Tomcat 8.5.4 instance. The Tomcat is > running under Ubuntu 16.04. > > The problem is that, since there are no HTTP

Re: OT if/else or not if/else

2016-04-22 Thread Tim Watts
On Fri, 2016-04-22 at 17:34 +0100, Mark Thomas wrote: > On 22/04/2016 17:24, Leon Rosenberg wrote: > > Lets say I have three possible conditions, A, B and C, which are exclusive. > > My native approach would be: > > if (A){...} > > if (B){...} > > if (C){...} > > > > now some people would

Re: Multiple domian names one web site different content

2016-03-04 Thread Tim Watts
On Fri, 2016-03-04 at 21:46 +0100, Jose María Zaragoza wrote: > Maybe my question does't have to do with current thread ( an probably > doesn't have any sense at all) but : > > would be possible to define "VirtualHost" according the destination port ? > I know that VirtualHost diferent domain

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-16 Thread Tim Watts
On Tue, 2016-02-16 at 14:31 -0500, Christopher Schultz wrote: > On 2/16/16 11:50 AM, Dougherty, Gregory T., M.S. wrote: > > I completely and totally trust my servlet with my data. I do not > > in the least bit trust any other servlet running on that Tomcat > > instance. > > Then those

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread Tim Watts
On Fri, 2016-02-12 at 20:35 +, Dougherty, Gregory T., M.S. wrote: > You are correct, I¹m trying to authorize the web app, not the user. > > Goal: I am trying to come up with a way for a Tomcat app to securely store > and retrieve the password it needs to access a DB. > > My definition of

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-24 Thread Tim Watts
On Wed, 2015-06-24 at 11:55 +0200, André Warnier wrote: Hi. Hi. The recommendation on this forum is to not use top posting, but to keep the flow of conversation natural, and respond below the question to which your question refers. See http://tomcat.apache.org/lists.html, Important,

Re: ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Tim Watts
On Sun, 2015-03-29 at 12:56 -0400, Tim Watts wrote: On Sun, 2015-03-29 at 18:06 +0200, Lmhelp1 wrote: On 3/29/2015 5:36 PM, André Warnier [via Tomcat] wrote: Lmhelp1 wrote: Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below

Re: ClassNotFoundException - Involving a class implementing Filter and two projects depending on another one

2015-03-29 Thread Tim Watts
On Sun, 2015-03-29 at 18:06 +0200, Lmhelp1 wrote: On 3/29/2015 5:36 PM, André Warnier [via Tomcat] wrote: Lmhelp1 wrote: Hello, Thank you for reading my post. I am getting a ClassNotFoundException. Below is the situation. - I'm working with Eclipse (Luna), Tomcat 8 and

Re: File getting created in bin folder instead of project folder

2015-02-08 Thread Tim Watts
On Mon, 2015-02-09 at 09:58 +0530, Hyder Hashmi wrote: Hi All, When I execute the following code in my project folder, it creates the file in my current folder(project folder). import java.io.File; public class CreateFile{ File f = null; try{ f = new

Re: Need Help!

2015-01-28 Thread Tim Watts
On Thu, 2015-01-29 at 00:33 +0530, Hyder Hashmi wrote: Hi, I am working on a small project and need your help in this. I have a java program in which I read and write in a file that is located in the current folder. Now I have written a few servlets and trying to use the previous code

Re: How to access Sessions outside of class

2014-10-29 Thread Tim Watts
On Wed, 2014-10-29 at 08:28 -0400, Jason Ricles wrote: foo is not a webapp, it is a separate program running on the computer as a daemon. It has to do this stuff for it needed to be ran like this. bar is basically the gui to the daemon, providing what is happening on the machine to someone at

Re: How to access Sessions outside of class

2014-10-28 Thread Tim Watts
On Linux/Unix you could use a FIFO (aka named pipe) and have each side connect to it with a stream. But that's non-portable and probably not too elegant/robust. What's the problem with using a socket? Or better yet, a message broker like ActiveMQ like someone else has already suggested? On

Re: How to access Sessions outside of class

2014-10-28 Thread Tim Watts
to if there is no other way. Mostly due to the data coming in and out writing our own socket will be complex but doable. As far as messaging broker, they are not approved for use on our system so thus can not be used. On Tue, Oct 28, 2014 at 10:13 AM, Tim Watts t...@cliftonfarm.org wrote: On Linux/Unix you

Re: can only access tomcat (running on centos) locally not from machine on same subnet

2014-09-14 Thread Tim Watts
On Sun, 2014-09-14 at 08:02 +0100, AndyE wrote: I have an app installed (one that i have installed several times) on centos 6.5 it runs a version of tomcat (7.0.54) that is currently configured on port .. i cannot access this page from any other machine on the same subnet .. the browser

Re: can only access tomcat (running on centos) locally not from machine on same subnet

2014-09-14 Thread Tim Watts
? The list strips attachments. If you would paste it inline maybe we can get a better idea what's happening. cheers. -Original Message- From: Tim Watts Sent: Sunday, September 14, 2014 12:22 PM To: Tomcat Users List Subject: Re: can only access tomcat (running on centos

No activity on tomcat.users since Tues?

2014-05-11 Thread Tim Watts
Markmail seems to confirm this but kind of remarkable, huh? I think the user community should get a promotion in recognition of our quantum leap in tomcat problem-solving skills! (Or perhaps everyone's just busy reading the manual?)

Re: Should validationQuery commit ?

2014-04-18 Thread Tim Watts
On Fri, 2014-04-18 at 11:05 +0200, Franck Routier wrote: property name=validationQuery value=select 1 from rtelre/ Is is possible the select just needs to be terminated with a semi-colon? - To unsubscribe, e-mail:

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Tim Watts
On Tue, 2014-04-15 at 17:12 -0400, Ian Long wrote: Ian Long wrote: I have tomcat configured to log via log4j, and then there is my application log, those are the only two logs, and neither contains anything. They're empty? Are you sure the logs are writable? How much free space is

Re: filter question

2014-03-13 Thread Tim Watts
On Thu, 2014-03-13 at 17:51 -0700, Brendan Miller wrote: I have a filter with doFilter method like this: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException,

RE: filter question

2014-03-13 Thread Tim Watts
On Thu, 2014-03-13 at 21:20 -0400, Martin Gainty wrote: you'll need to pass your modified response to service method of servlet which is *in* the filterChain Utter nonsense. ApplicationFilterChain::internalDoFilter(ServletRequest request, ServletResponse response) throws

Re: filter question

2014-03-13 Thread Tim Watts
On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote: I'm confused by what you mean by that. Are you saying I need to somehow rewrite the class of the FilterChain object passed to my filter? I think you're somewhat new to the list. Mr. Gainty is notorious here and seems to pride himself on

Re: filter question

2014-03-13 Thread Tim Watts
On Thu, 2014-03-13 at 23:16 -0400, Tim Watts wrote: On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote: To be clear, I'm trying to modify the response that comes back from the service. I have a header that I may or may not need to set based on the response code. I believe the service

Re: Http Status 404

2014-02-06 Thread Tim Watts
On Thu, 2014-02-06 at 10:32 -0500, Neven Cvetkovic wrote: On Feb 6, 2014 4:21 PM, Shivam Mishra shmishra...@gmail.com wrote: My tomcat and its example application is running but I got an error with my own application .My port number is 8080 .I compile my servlet programme in jdk 7 .and

Re: Http Status 404

2014-02-06 Thread Tim Watts
] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009] 06-Feb-2014 15:08:09.177 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 1504 ms On Thu, Feb 6, 2014 at 9:12 PM, Tim Watts t...@cliftonfarm.org wrote: On Thu, 2014-02-06 at 10:32

Re: Http Status 404

2014-02-06 Thread Tim Watts
$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) On Thu, Feb 6, 2014 at 11:04 PM, Shivam Mishra shmishra...@gmail.comwrote: My url is http://localhost:8080/name/TestServlet On Thu, Feb 6, 2014 at 10:55 PM, Tim Watts t...@cliftonfarm.org wrote: On Thu, 2014-02

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread Tim Watts
On Mon, 2013-12-09 at 11:00 -0800, James H. H. Lampert wrote: On 12/6/13 6:56 PM, CRPence (on the Midrange Java List) wrote: The T-AF audit entry should log the object to which there was insufficient authority, then the chmod can be requested against that object to grant the necessary

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-13 Thread Tim Watts
On Wed, 2013-11-13 at 14:56 +0100, Leon Rosenberg wrote: I got it too. I think its easier to delete and forget it, as to debate about it. ;-) When an Apache project founder[1] starts spamming the Apache community, there can and ought to be consequences. ___ [1] At least that's his claim in the

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-13 Thread Tim Watts
, 2013 4:24 PM, Tim Watts t...@cliftonfarm.org wrote: On Wed, 2013-11-13 at 14:56 +0100, Leon Rosenberg wrote: I got it too. I think its easier to delete and forget it, as to debate about it. ;-) When an Apache project founder[1] starts spamming the Apache community, there can and ought

Re: Remote jconsole access (again)

2013-07-26 Thread Tim Watts
On Fri, 2013-07-26 at 12:57 -0400, Christopher Schultz wrote: All, I have the JmxRemoteLifecycleListener enabled with the following configuration: System properties (confirmed effective): -Dcom.sun.management.jmxremote.password.file=app/conf/jmxremote.password

Re: JSP in Static Resources

2013-07-14 Thread Tim Watts
On Sun, 2013-07-14 at 23:28 +0200, André Warnier wrote: Alireza Fattahi wrote: Well, If we want to follow up that post , then we should belive that: Tomcat is an inclusive church, and you can believe what you want. Konstantin is one of the Tomcat developers however, so you should

Re: JSP in Static Resources

2013-07-14 Thread Tim Watts
On Sun, 2013-07-14 at 16:27 -0700, Hassan Schroeder wrote: On Sun, Jul 14, 2013 at 3:53 PM, Tim Watts t...@cliftonfarm.org wrote: If you don't take steps to make them cacheable, they'll be fetched every time on every page adding extra load on your server and the network. Which would

Re: [OT] WEB-INF

2013-07-10 Thread Tim Watts
On Wed, 2013-07-10 at 15:08 -0700, Leo Donahue - RDSA IT wrote: When did it start that developers decided to place jsps in the WEB-INF directory? Was that intended from the beginning, or was it stumbled upon? My guess is that it was a side effect of MVC adoption -- making views accessible

Re: Error deploying web application

2013-06-25 Thread Tim Watts
On Tue, 2013-06-25 at 10:01 -0400, Nickalaus A Painter wrote: Jun 25, 2013 9:49:53 AM org.apache.catalina.startup.HostConfig deployDescriptor SEVERE: Error deploying configuration descriptor /usr/local/tomcat/apache-tomcat-7.0.37/conf/Catalina/localhost/MyApp.xml

Re: [tomcat 6.0.35]- propert loadin

2013-02-10 Thread Tim Watts
On Sun, 2013-02-10 at 18:51 +0800, vicky wrote: Hi All, My application need a resource/properties file to exist in the CLASSPATH, for this i placed my resource file in CATALINA_BASE/bin folder it was working fine. But since yesterday my application reporting the error that

Re: unwanted tcp6 protocol in tribes listener socket;

2013-02-03 Thread Tim Watts
On Mon, 2013-02-04 at 14:39 +1300, Vince Stewart wrote: Using Tomcat 7.0.35 embedded in Java standalone application. Java SE 1.7.0. Ubuntu 12.04 Hi All, I have an experimental class below. The aim is just to open a listening port on port 4000 in the localhost address. When this has run,

Re: unwanted tcp6 protocol in tribes listener socket;

2013-02-03 Thread Tim Watts
IPv46 hosts without needing two IP stacks on the IPv6 host. Many thanks for your help. On Mon, Feb 4, 2013 at 4:06 PM, Tim Watts t...@cliftonfarm.org wrote: On Mon, 2013-02-04 at 14:39 +1300, Vince Stewart wrote: Using Tomcat 7.0.35 embedded in Java standalone application. Java SE

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
:\/\/T\/webapp\/jsp\/ http://A/jsp/ It works, but it is horrible and basically leaving a booby trap for the unwary. Many thanks, Tim -- Tim Watts Tel (VOIP): +44 (0)1580 848360 Systems Manager Digital Humanities, King's College London Systems

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Tim Watts Tel (VOIP): +44 (0)1580 848360 Systems Manager Digital Humanities

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
On 18/01/13 11:45, Mark Thomas wrote: On 18/01/2013 11:07, Tim Watts wrote: Anyone? Hi Mark, Tomcat doesn't give two hoots about the origin header. Curious - I wonder how me editing it helped? Unless it caused some knockon somewhere. It does care about the Host header. That would

tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-14 Thread Tim Watts
/ It works, but it is horrible and basically leaving a booby trap for the unwary. Many thanks, Tim -- Tim Watts - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

RE: Tomcat doesn't process error messages

2013-01-03 Thread Tim Watts
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote: Hello, I will try to clarify the process as I see it: Request message sending process from Oracle to Web Service Oracle -- HTTP -- Tomcat -- Input/Output stream -- webapp -- Input/Output stream -- Tomcat -- HTTPS -- Web Service

RE: Tomcat doesn't process error messages

2013-01-03 Thread Tim Watts
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote: Hello, I will try to clarify the process as I see it: Request message sending process from Oracle to Web Service Oracle -- HTTP -- Tomcat -- Input/Output stream -- webapp -- Input/Output stream -- Tomcat -- HTTPS -- Web Service

RE: Tomcat doesn't process error messages

2013-01-03 Thread Tim Watts
On Thu, 2013-01-03 at 12:42 +, Husarik, Branko wrote: Hello, I will try to clarify the process as I see it: Request message sending process from Oracle to Web Service Oracle -- HTTP -- Tomcat -- Input/Output stream -- webapp -- Input/Output stream -- Tomcat -- HTTPS -- Web Service

RE: rotation of catalina.out on restart but no truncation

2012-11-09 Thread Tim Watts
On Fri, 2012-11-09 at 08:11 -0600, Caldarale, Charles R wrote: From: Meik Suchlich [mailto:meik.suchl...@brandad-systems.de] Subject: AW: rotation of catalina.out on restart but no truncation catalina.out is rotated by restart to catalina.-mm-dd.log, but catalina.out itself

Re: Tomcat 6.0.24 SSL Setup issue

2012-10-24 Thread Tim Watts
On Wed, 2012-10-24 at 11:38 +0100, KumareshGopalsamy wrote: Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true clientAuth=false sslProtocol=TLS keystorePass=changeit keystoreFile=

Re: tomcat manager login

2012-09-22 Thread Tim Watts
On Sat, 2012-09-22 at 14:31 +0330, Mohsen Jamali wrote: Hi guys, After searching the web about how to deploy a war file on Tomcat. The simplest way is to just copy the war file to webapps/ under your Tomcat base. By default Tomcat will automatically deploy it from there. i came to the

RE: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-05 Thread Tim Watts
On Wed, 2012-09-05 at 12:16 -0400, PJ Delsh wrote: Shailendra, I'm not an expert, but when we had this same issue, we increased the Initial Memory Pool and Maximum Memory pool (XMS and XMX) in the Tomcat Monitor in Windows 2008.We also had a leak in some of our JSP files that was causing

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Tim Watts
On Tue, 2012-07-31 at 09:20 -0300, Alejandro Mehring wrote: First of all, thank you very much for your quick response! I'm too having a hard time believing that tomcat would do something like that... I even tried on a new web project and it didn't remove the parent directory reference! I'm

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-30 Thread Tim Watts
On Mon, 2012-07-30 at 09:26 -0700, James Lampert wrote: I have just wiped the Tomcat installation on the V5R4 box in question, and done a clean install of 7.0.25. No change in its behavior. I tried a modified version of our standard Tomcat-launch CL program, that adds a CATALINA_OPTS

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-27 Thread Tim Watts
On Thu, 2012-07-26 at 13:34 -0700, James Lampert wrote: Tim Watts wrote: import java.io.File; import java.net.URL; import java.net.URLClassLoader; public class FindClass { public static void main(String[] args) { try

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-26 Thread Tim Watts
On Thu, 2012-07-26 at 08:57 -0700, James Lampert wrote: Tim Watts wrote: http://tomcat.10.n6.nabble.com/Tomcat-7-0-25-on-an-AS-400-V5R4-Another-try-Help-td4984199.html#a4984215 - Add these lines to the end of conf/logging.properties

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-24 Thread Tim Watts
On Tue, 2012-07-24 at 09:17 -0700, James Lampert wrote: To recap, I've got a situation where Tomcat is crashing on takeoff, on a V5R4 AS/400, with what appears to be the same setup that works fine on a V6 box, and showing correct environment variables in the STDOUT spool file, and leaving

Re: Project will not build

2012-07-24 Thread Tim Watts
hint Are you asking here because you got no answers on the NetBeans list? Nor the Ant list? /hint On Tue, 2012-07-24 at 15:11 -0400, Cotton, Joseph B wrote: This question concerns a Project that used to work nicely. Now it will not build. I am using NetBeans IDE 7.1.1 with Apache Tomcat

RE: Project will not build

2012-07-24 Thread Tim Watts
On Tue, 2012-07-24 at 15:46 -0400, Martin Gainty wrote: http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.servlet.jsp.jstl/javax.servlet.jsp.jstl-api/1.2.1 This is what youre looking for ..if the ant guy is looking the other way you can easily integrate this depdency with maven3 and

RE: Project will not build

2012-07-24 Thread Tim Watts
Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Tuesday, July 24, 2012 3:36 PM To: Tomcat Users List Subject: Re: Project will not build hint Are you asking here because you got no answers on the NetBeans list? Nor the Ant list? /hint On Tue, 2012-07-24 at 15:11

Re: problems installing app on tomcat v.7.0.26

2012-07-23 Thread Tim Watts
On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor wrote: Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Tim Watts
On Sun, 2012-07-22 at 08:03 -0700, k9...@operamail.com wrote: Linux svr 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux IPv4 is enabled on the server. The IPv6 stack is also enabled, and

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Tim Watts
On Sun, 2012-07-22 at 10:32 -0700, k9...@operamail.com wrote: Hi, On Sun, Jul 22, 2012, at 01:24 PM, Tim Watts wrote: On Sun, 2012-07-22 at 08:03 -0700, k9...@operamail.com wrote: Linux svr 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078

Re: Tomcat 7.0.27 listens only @IPv6 localhost, ignores 'use IPv4' JAVA_OPTS in tomcat.conf. How to correctly force IPv4?

2012-07-22 Thread Tim Watts
On Sun, 2012-07-22 at 11:21 -0700, k9...@operamail.com wrote: On Sun, Jul 22, 2012, at 02:08 PM, Tim Watts wrote: By default, Tomcat will listen on port 8080 on all available addresses (IPv6 and 4, barring configuration settings at the OS level). The key word in those java.net properties

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-20 Thread Tim Watts
On Thu, 2012-07-19 at 17:25 -0700, James Lampert wrote: Tim: This is normally in TC_HOME/lib/catalina.jar. A. Does it exist there? B. Does the user the process is running as have permission to read that file and directory? C. If yes to A B, is the file corrupt?

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-19 Thread Tim Watts
On Thu, 2012-07-19 at 15:10 -0700, James Lampert wrote: Theoretically, I've ironed out the bugs concerning which JVMs Tomcat will run under, but it still isn't coming up. The STDOUT from attempting to start Tomcat is as follows: /wintouch/tomcat/bin/catalina.sh: 001-0019 Error found

Re: service() failed with http error 413 - error log message from isapi_redirect.log file

2012-07-16 Thread Tim Watts
Hi Ann, On Mon, 2012-07-16 at 19:18 -0700, ann ramos wrote: Hi, We are using HP Service Manager 9.2 system. The web client tier was set up using Windows 2008 R2 64-bit, IIS 7.5, Tomcat 6 and Isapi Redirector 1.2.30. The client is accessing the site by https because we had created a

Re: Logging framework for Tomcat -Exceptions

2012-07-11 Thread Tim Watts
On Thu, 2012-07-12 at 06:35 +0530, Kiran Badi wrote: Hi, I have below code for catching DAO exceptions, No, it's not. It's code that defines an interface and a poorly implemented exception type. There's no catching. Anywhere. but I feel its not correct way to do this,Can some one point

RE: soap location address

2012-07-10 Thread Tim Watts
with one of these: http://axis.apache.org/ http://cxf.apache.org/ Thanks, Charles G. Toman Trend DBA T: +1 (919) 431 1792 · M: +1 (919) 524 8652 Customer Focused, Associate Driven. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, July 09

RE: soap location address

2012-07-09 Thread Tim Watts
On Mon, 2012-07-09 at 10:14 -0400, Toman, Chuck [Stock] wrote: Yes, I believe so Somehow in Apache Tomcat the hostname can be dynamically change for soap location address. Are you asserting this as fact or do you just wish it were so? Tomcat is a web application container. What leads

Re: Error Starting webapp. FAIL - Application at context path /cyclos could not be started.

2012-07-05 Thread Tim Watts
Hi Rick, On Thu, 2012-07-05 at 13:15 -0400, Rick Bragg wrote: Hi, After upgrading one of my web applications (cyclos) I can no longer start up the web application. I get the following error: FAIL - Application at context path /cyclos could not be started. I tried undoing my upgrade,

Re: Tomcat shutdown.sh troubleshooting on AS/400

2012-06-20 Thread Tim Watts
On Wed, 2012-06-20 at 19:19 -0400, David Kerber wrote: On 6/19/2012 8:07 PM, André Warnier wrote: James Lampert wrote: . . . and when I looked back at the box I was testing, Tomcat *had* finally shut down. And when I ran both the start and stop scripts this time, the stop script worked

Re: Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-18 Thread Tim Watts
Hi Kiran, On Tue, 2012-06-19 at 05:40 +0530, Kiran Badi wrote: Hi All, I need your guidance again.I have bunch of JSP's close to 100+ which I need to protect it from direct access. By direct access do you mean that http://host/myapp/sample.jsp is returning the JSP source code rather than

Re: Protect JSP from Direct Access in Tomcat 7.0.xx

2012-06-18 Thread Tim Watts
On Tue, 2012-06-19 at 08:48 +0530, Kiran Badi wrote: No its not returning source code.I have couple of jsps where in I use EL in those to access session objects and directly accessing those jsps is not something I want. Good move. SNIP 2. Is their any extra setting that is required if I

Re: Javamail exception in tomcat 7.0.11

2012-06-18 Thread Tim Watts
On Tue, 2012-06-19 at 10:54 +0530, Kiran Badi wrote: Hi All, I have send mail servlet, which looks something like below, protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String emailRecipient =

Re: Threads in Tomcat

2012-05-18 Thread Tim Watts
On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote: I'm maintaining a Web application for searching multiple wikis, this app runs under Tomcat 6. I need to modify a servlet so it instantiates a 'Thread' subclass to perform a wiki availability check every so often, say every 30 minutes. Given

Re: how

2012-05-09 Thread Tim Watts
On Wed, 2012-05-09 at 20:29 -0500, Reissner Pabón wrote: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g an adobe flex? to make a ria? tnaks Your question is too broad, as is your subject line. Please read this: http://catb.org/~esr/faqs/smart-questions.html Also,

Re: Tomcat advantages

2012-03-14 Thread Tim Watts
I've been trying to get Tomcat to chase my mouse for year with no luck. On Wed, 2012-03-14 at 10:29 -0400, Mark H. Wood wrote: But does it also walk dogs? signature.asc Description: This is a digitally signed message part

Re: Inconsistency in AjpMessage.java

2012-02-28 Thread Tim Watts
On Wed, 2012-02-29 at 00:40 +0800, Ken Cheung wrote: I observed some code clones in Tomcat and found inconsistent code. Could anyone explain why this is not a bug? If you think it's a bug can you explain why you think so? You may get more value out of the homework assignment by pondering

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-11 Thread Tim Watts
On Tue, 2012-01-10 at 22:06 +, ja...@mobilewebexpert.co.uk wrote: Basically, I've created a webapp which runs fine on my development machine, but our actual hosting is shared (and uses a Security Manager) and some new libraries we're using throws up loads of exceptions which we need to

Re: Tomcat 7 SSL activation on AS/400? (Cross-posted to JAVA400)

2012-01-10 Thread Tim Watts
On Tue, 2012-01-10 at 09:35 -0800, James Lampert wrote: Tim Watts wrote: That's a possibility if it's padding the passwords as well. I'm not an AS/400 expert by any means. Is /foo a preallocated file and if so could the problem be with the way it was allocated? The Java-400 list over

Re: Tomcat 7 SSL activation on AS/400?

2012-01-09 Thread Tim Watts
Can you successfully run this command: keytool -list -keystore {path/to/your/keystore/file} -storepass {passwd-in-server.xml} If so, perhaps it's a character encoding issue? Don't remember if AS/400 uses EBCDIC as its default character set. On Mon, 2012-01-09 at 14:42 -0800, James Lampert

Re: Tomcat 7 SSL activation on AS/400? (Cross-posted to JAVA400)

2012-01-09 Thread Tim Watts
On Mon, 2012-01-09 at 15:55 -0800, James Lampert wrote: Tim Watts (from the Tomcat Users List) wrote: Can you successfully run this command: keytool -list -keystore {path/to/your/keystore/file} -storepass {passwd-in-server.xml} It gives the same error message. And yes, EBCDIC

Re: Different session id per page

2011-12-30 Thread Tim Watts
On Sat, 2011-12-31 at 00:33 -0600, Jerry Malcolm wrote: I have a web app that's worked for years. I had to go in and do some renovations on it due to a few new requirements. Now for some reason, I'm getting a new/different session id for each page. It's easy to see that's what happening

Re: Odd NIO connector behavior

2011-12-29 Thread Tim Watts
On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: BIG SNIP How an empty 200 response could be generated without executing the logging statement here is a mystery. Do you still have that MonitoringFilter configured in the web app? Perhaps it is short circuiting the chain. protected

Re: using htop, i see many tomcat processes?

2011-12-23 Thread Tim Watts
You may have the thread view active. Each thread gets its own PID. I don't know about htop, but in top H (i.e. capital H) toggles this. And it's CATALINA_OPTS not CATALINA_OPT. On Fri, 2011-12-23 at 17:23 -0500, S Ahmed wrote: In my catalina.sh and set CATALINA_OPT, and I have Xmx around 2GB

RE: AJP 1.3 Connector

2011-12-19 Thread Tim Watts
On Mon, 2011-12-19 at 13:42 -0500, Troy-McKoy, Vickie wrote: Thanks for your response. When I ping server2, I get valid responses coming back. When I telnet to server2 on port 8009, I am also able to connect. Did you do the telnet test from a shell on the apache host? Did you use the

Re: AJP 1.3 Connector

2011-12-19 Thread Tim Watts
. Apache/2.0.64 (Unix) mod_jk/1.2.32 Server at x Port 80 When I remove the JkMount and JkWorkersFile from httpd.conf, I get the default Apache web server page. -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, December 19

Re: [OT] truststore and keystore SSL

2011-12-19 Thread Tim Watts
On Mon, 2011-12-19 at 18:06 -0500, Christopher Schultz wrote: On 12/17/11 2:34 AM, Lau Eng Huat wrote: The question that I have now is how to get it to work with apache httpclient components. Have you tried the apache-commons mailing list? Actually Http Components has been a top level

Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-17 Thread Tim Watts
On Sun, 2011-12-18 at 01:11 +0530, Anshul Asthana wrote: From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, 17 December 2011 6:03 PM Subject: Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0

[sidebar] Re: Tomcat 6.0 configuration with Adobe LiveCycle DS ES 3.0 Server

2011-12-10 Thread Tim Watts
On Sat, 2011-12-10 at 22:45 +, Pid wrote: Yeah... Please also just reply to the mailing list. Are you referring to this (cough, cough): http://catb.org/~esr/faqs/smart-questions.html#easyreply (your Reply-To points to your email not the list). p

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Tim Watts
On Tue, 2011-11-15 at 11:38 +, Pid wrote: On 15/11/2011 08:01, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is something like that possible, within one Tomcat Service?

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Tim Watts
On Tue, 2011-11-15 at 10:16 -0500, Tim Watts wrote: On Tue, 2011-11-15 at 11:38 +, Pid wrote: On 15/11/2011 08:01, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-14 Thread Tim Watts
On Mon, 2011-11-14 at 09:56 +0400, bas...@obninsk.com wrote: -Исходное сообщение- From: Tim Watts Sent: Monday, November 14, 2011 9:09 AM To: Tomcat Users List Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7 On Mon, 2011-11-14 at 08:17 +0400, bas

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-13 Thread Tim Watts
On Mon, 2011-11-14 at 08:17 +0400, bas...@obninsk.com wrote: Can you paste the application web.xml file (inline) into your reply? ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee;

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Tim Watts
On Thu, 2011-11-10 at 12:02 -0800, celtic man wrote: Thanks a lot for the quick response.. So i have updated the setenv.sh with -Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m and restarted tomcat.. but when i grep for tomcat process i don't see it .. ps -ef | grep tomcat

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Tim Watts
On Fri, 2011-11-11 at 08:40 -0800, celtic man wrote: Is this JAVA setting below OK ? cat /proc/meminfo MemTotal: 4149124 kB MemFree:457884 kB 4Gb total memory on the linux box and have 0.4GB free memory and I think MemFree misleading. Don't quote me but I think you have to

Re: Session expiration - browser -Web application

2011-11-04 Thread Tim Watts
On Fri, 2011-11-04 at 07:16 -0700, Léa Massiot wrote: Hello, Thank you for reading my post. Maybe my question is not purely related to Tomcat but here is my problem: - a user logs into my Webapp; - his session expires; - if he: - presses the F5 key (browser refresh functionality),

Re: Session expiration - browser -Web application

2011-11-04 Thread Tim Watts
On Fri, 2011-11-04 at 13:07 -0400, Christopher Schultz wrote: On 11/4/11 12:04 PM, Léa Massiot wrote: SNIP I would basically echo what Chris said. [Tim wrote:] I'm assuming (perhaps incorrectly) you've already got some declaration in there for form authentication? What are you thinking

Re: Session expiration - browser -Web application

2011-11-04 Thread Tim Watts
Léa, Life needn't be this difficult. :-) You're reinventing wheels here instead of understanding how the wheels you already have work. Again, read the spec. Pretty please. So many questions will be answered. On Fri, 2011-11-04 at 11:55 -0700, Léa Massiot wrote: @Christopher : Thank you

  1   2   >