tc 7.0.47 manager-gui role works on 32 but not 64 Ubuntu 12.04 (401)

2013-12-20 Thread David Brown
Howdy, Extensive Googling for manager-gui role not working for the same environment finds no solutions. Is this a known issue? out-of-the box install of TC 7.047 on 64 bit 12.04 Ubuntu returns a 401. The same version installed on 32 bit Ubuntu 12.04 manage-gui role brings up the manager

tc 7 out-of-box won't run localhost issue on 8005 a vulnerability?

2011-07-12 Thread David Brown
Hello, I have found a situation that kills tc on startup within about 3 seconds on a 64-bit cloud running Ubuntu server. localhost resolves correctly via dig but if we ping localhost it resolves to localhost.com. this in my estimation is causing tc to bail. the tc 7 installed is 64 with a

Re: tc 7 out-of-box won't run localhost issue on 8005 a vulnerability?

2011-07-12 Thread David Brown
OK, here is the hogwash. I have already been round-and-round with the cloud admin guys with all of their requests for: netstat, lsof, ifconfig on-and-on. Anyway you slice it some random network config whether correct or not should not be shutting down a server upon boot. Especially, where there is

Re: tc 7 out-of-box won't run localhost issue on 8005 a vulnerability?

2011-07-12 Thread David Brown
, David Brown wrote: david@dobbeltganger:~$ ping -c 3 localhost PING localhost.com (64.99.64.32) 56(84) bytes of data. 64 bytes from 64.99.64.32: icmp_seq=1 ttl=246 time=16.9 ms 64 bytes from 64.99.64.32: icmp_seq=2 ttl=246 time=17.0 ms 64 bytes from 64.99.64.32: icmp_seq=3 ttl=246 time

New TC 7 tomcat-users.xml can't login (401)

2011-07-12 Thread David Brown
Hi, I have a new TC 7 running. I have RTFM on the new changes for the User realm using the new roles: manager-gui and admin-gui but all I get is 401. server.xml seems to default to usage of the tomcat-users.xml. Any ideas of how to diagnose are welcomed.

Re: JK connector and extra characters showing up

2010-07-01 Thread David Brown
On Thu, Jul 1, 2010 at 4:59 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered

JK connector and extra characters showing up

2010-06-30 Thread David Brown
Problem: Extra characters showing up in some content delivered from tomcat. I believe they are from the JK connector when it breaks up the content into 8k packets. Setup: Tomcat 5.5 - JK 1.2.30 - SunOne 6.1sp11 I tested using Apache2 and the problem does not show up there. Using apache is

Problem with JK connector on OpenSolaris and SunOne webserver 7

2010-02-04 Thread David Brown
I'm trying to build and get working the tomcat-connector on OpenSolaris using SunOne webserver 7. I've built it with GCC and/or CC but when I try to start and instance of the web server I get the line [Thu Feb 04 21:05:05.989 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c (301): jk_init, a

Are there issues with running multiple instances of tomcat?

2008-04-18 Thread David Brown
We are currently running two instances of tomcat on our systems. One is for a vendor specific application and the other is for in-house written applications. We are careful to make sure the ports do not conflict and there are plenty of resources to support both; memory and CPU. Recently the

Re: Tomcat Cisco Loadbalancers

2008-02-26 Thread David Brown
Hello Steve, this does not mean there is anything inherent in the use of the loadbalancer that is causing the problem. IMHO you need to establish a baseline metric with a real JVM testing tool (like JMeter). You need to create a model of the real production environment and network topology

Re: Tomcat Cisco Loadbalancers

2008-02-26 Thread David Brown
of the abox as it said it would after I configured my $PATH variable to point to the correct jdk.. So Now I need to create a simple test...currently looking over some tutorials on how to do it... Be in touch soon --Steve On 26/02/2008, David Brown [EMAIL PROTECTED] wrote: Hello Steve

Re: Tomcat Cisco Loadbalancers

2008-02-26 Thread David Brown
and hey presto it works out of the abox as it said it would after I configured my $PATH variable to point to the correct jdk.. So Now I need to create a simple test...currently looking over some tutorials on how to do it... Be in touch soon --Steve On 26/02/2008, David Brown

Re: Fwd: jsp:useBean is giving error

2008-02-24 Thread David Brown
Hello Sneha, you can put files directly into Tomcat deployment but it needs to comform to the .war (web archive) file structure. How are you building your application? I suggest strongly that you use Ant and build.xml to output a proper .war representation of you app. Since you are using JSP I

Re: Tomcat6, Apache, and mod_jk configuration

2008-02-19 Thread David Brown
Yep, something is not right with the Apache config. You need to monitor some logs somewhere. Turn on more logging level before you start i.e. level=Debug or some such value. HTH. Da Rock wrote .. I'm trying to get all of the above working together peacefully with no success whatsoever. I've

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
Once the .war is expanded why would you want to map to JSPs outside of the file system package? emerson cargnin wrote .. Hi there We use resin here in my work. Resin allows in its web.xml an element like: path-mapping url-pattern/jsp/*/url-pattern

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-18 Thread David Brown
won't be able to change. So I need a way to point the following URL's to another place in the file system. http://server/[context]/jsp/* http://server/[context]/css/* http://server/[context]/html/* http://server/[context]/images/* Thanks emerson On 18/02/2008, David Brown [EMAIL PROTECTED

Re: Tomcat Cluster

2008-02-13 Thread David Brown
Maybe Dave means to just run one Tomcat instance. There is in the TC doco info about the minimalist TC if memory serves. Since you are attempting a type of load-balancing it would serve you well to reply with a lot more info about your overall architecture: OS: vendor, build version, updates

Re: Tomcat Cluster

2008-02-12 Thread David Brown
Dumb question: is everything supposed to be defined on the same IP (loopback?) and port? Andrew Hole wrote .. Hello guys! I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work.

Re: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat

2008-02-09 Thread David Brown
Hello, do you have the servlet-api-2.x.jar (or similar) loaded using the Eclipse Project Properties? What is in the Eclipse Libraries tab? Run jarscan to see where your (assuming .war) is picking up the the package and class. Are you exporting a .war from Eclipse? What is your Eclipse

Re: QUESTION: How to use *only* cookies for session tracking?

2008-02-09 Thread David Brown
Hello, you might want to take a look at: http://www.coreservlets.com/ The marquee author hosting the above named site wrote a book with the same title: * According to the author (Marty Hall) the only downside(s) to cookies are privacy issues. * The client browser has to have cookies turned on

Re: Fwd: can't get servlets to run

2008-02-08 Thread David Brown
Hello ilene, in fear of retribution I must give you the standard: http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html Moreover, you might want to learn and understand the web application deployment file system hierarchy as it exists under the Tomcat installation. The TC file

Re: Putting java packages as web applications on tomcat

2008-02-07 Thread David Brown
Tomcat only deploys (dot).war files. Or if you want to manually deploy you can create the application directory yourself under the Tomcat webapps directory and upzip the (dot).war or populate the directory structure with the right classes, jars, html and jsp yourself:

RE: Putting java packages as web applications on tomcat

2008-02-07 Thread David Brown
Yes, but I did not want to say that... Caldarale, Charles R wrote .. From: David Brown [mailto:[EMAIL PROTECTED] Subject: Re: Putting java packages as web applications on tomcat There's more: you need to take a look at the tomcat.jarakta.apache.org doco. Should also look

Re: how to auto redirect to https from http

2008-02-07 Thread David Brown
Hello Dave, this is not exactly the answer you are looking for but I have been concerned with public web security for a long time and I have finally resigned myself to the fact that if you are using login pages that process user ids and passwords and other confidential info that

RE: Tomcat and Apache mod_jk For Failover

2008-02-06 Thread David Brown
Hello, webmin has the HA monitor module that helps with setup and config on Linux boxes. James Ellis wrote .. Rainer, Thanks for your feedback: Also: if you do clustering, you might be concerned about availability. The load balancer itself is a single point of failure, unless you

Re: JasperException: PermGen space

2008-02-02 Thread David Brown
Hello, also try to upgrade to 4.2.1 or 4.2.2 if not higher. HTH Mariano López wrote .. Try adding more -XX:MaxPermSize when Jboss starts up. Best regards, Mariano Dave escribió: Hi, I am using JBoss 4.0.5GA on Federa Core 6 Linux for JSF application. After running for two days, got

Re: TomCat+Console

2008-02-01 Thread David Brown
localhost.log or however your logging is defined. Unless you define separate logging files. The Tomcat doco has full discussion of logging. See: http://tomcat.apache.org/tomcat-5.5-doc/logging.html If you are debugging or running diagnostics then you want to log what your application is doing:

Re: How to use https together with http

2008-02-01 Thread David Brown
Hello Dave, in the future reply with more info and you will get better help. I will put an example at the bottom. I'm an old-school JSP guy and not a JSF guy but I understand that JSF files still end in (dot).jsp? If I'm right then the rules should apply where a security constraint is defined.

Re: How to use https together with http

2008-02-01 Thread David Brown
Yep, Konstantin is right. This is what I do with all of my public pages that I want secured. This means I https ALL pages without exception if I want it to be secure. The net is nasty. You may have performance issues but once your public server is breached you will have more issues. As I said

Re: Tomcat manager

2008-02-01 Thread David Brown
An undeploy removes the (dot).war. The dot war is all that defines a well-behaved J2EE application on Tomcat. The only residue is what was the app doing in terms of further network connections: databases? JDBC, file uploads, web services, etc. HTH. Scott McClanahan wrote .. Is there any

Re: Tomcat Performance

2008-01-31 Thread David Brown
, ramp up time and a mix of requests. the key to tuning the system correctly is understanding exactly what kind of traffic you expect. of course that isn't always possible, so you might have to take a guess. peter On 1/30/08, David Brown [EMAIL PROTECTED] wrote: Hello Andrew, reading

Re: TomCat Learning

2008-01-31 Thread David Brown
Your are in basically the right spot. I have used TC for years and I am not sure if there are any books that can help. My experience with any type of Java/J2EE and related books are most books are outdated by the time you read them. The only exception is: I wished Peter Lin would get his book

Re: Tomcat Performance

2008-01-30 Thread David Brown
Hello Andrew, reading your email, Alan's email and the Mladen email piqued my interest because I am currently working on a gig to improve the performance and monitoring of two Tomcat instances supporting 3 web applications and one web service. I am inclined to agree with Alan. And, did you read

Re: Tomcat Performance Question

2008-01-26 Thread David Brown
Hello Ali, please find included below a link URL that addresses the JSF performance issue. A much more rigorous test would be to use the JMeter distributed testing using the JMeter server. HTH, David. Ali Ok wrote .. Hi, We are building a web application with JSF. Last day I tested it with

Re: Tomcat Performance Question

2008-01-26 Thread David Brown
couldnt find an example server.xml file used in production or real test results. So I cant understand if 3 requests in 10 seconds is normal or not. 2008/1/26, David Brown [EMAIL PROTECTED]: Hello Ali, please find included below a link URL that addresses the JSF performance issue

Re: Tomcat installation/deployment question

2008-01-24 Thread David Brown
Hello Sushil, IMHO: ANT 1.7 has much improved deployment features in the area of remote distributed deployments. Sureka, Sushil wrote .. Hi, We are intending to deploy our application on individual laptops (to be used by field personnel who does not have internet

Re: how to install tomcat on iseries AS400

2008-01-23 Thread David Brown
Hello Vida, back in 1998 I had to install Java classes on an AS400. The IBM boxes do not have hierarchical file systems such as: UNIX/Linux/Windows.IBM uses some type of formatted file system using HEADS, CYLINDERS and TRACKS. In '98 IBM provided something called the Q shell and a green screen

Re: [!! SPAM] Re: how to communicate between different tomcat servers

2008-01-22 Thread David Brown
Hello, are talking about between TC instances or one or more applications (dot).war deployed under one or more TC instances? Christopher Schultz wrote .. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, frank wrote: | I try to arrange all the services on one webserver, anyway if it

Re: Tomcat 5.5 won't start up anymore after adding/removing webapps

2008-01-22 Thread David Brown
Usually in the past web based deployment/undeployment has been through the manager app and not the admin app. The work directory is only for the compilation of the JSP. Can you deploy using ANT? Please reply with more info and maybe you will get a better response: OS: type/version JDK: version

Redeploy a war file

2008-01-22 Thread David Brown
Try to export your Eclipse project as an ANT build.xml. Edit the build.xml to perform ANT deployment upon successful command-line build of your project. Chris Riekenberg wrote .. Hello, I would like to redeploy my web application as war file, but if I export my project from Eclipse he

Re: help with tomcat thread pool

2008-01-21 Thread David Brown
Try jakarta.apache/jmeter Robson Hermes wrote .. Hi I'm using Tomcat 5.5.17 with jdk 1.5.0_14, and i want to know what is the best way to check if the tomcat thread pool is working all right. I think I have the same problem as reported here:

Re: Tomcat benchmark

2008-01-21 Thread David Brown
Hello Andrew, if you are looking for comprehensive HW review for particular hardware good luck. The following will get you started and a PDF by Peter Lin using JMeter is the closest I have seen. HTH, David http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring Andrew Hole wrote .. Hi!

Tomcat 4.x, 5.x Client mode vs Server mode and JAVA_OPTS, how-to-know which is running?

2008-01-20 Thread David Brown
Hello TC committers, contributors and users. I am a long time TC user and it is the reason I have my current gig. In spite of the length of time using Tomcat I was not aware of the Client vs Server mode using the JAVA_OPTS variable in catalina or the startup script. Currently, I am using JMeter

Re: file not found

2007-04-22 Thread David Brown
Do you have an |IndexIgnore *.html directive in your apache conf ?| Richard Dunne wrote: I am having a problem with an html file. In my project folder I have html, javascript and php files. When I go to http://localhost/ProjectFolder/ All the files are listed except for 1 html file. stopping

Re: 404 and originally requested URL

2007-04-18 Thread David Brown
What does the referrer request header give you ? Propes, Barry L wrote: did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:00 AM To: users@tomcat.apache.org Subject: 404 and

Vista client problem

2007-04-17 Thread David Brown
I've been having the most peculiar issue on a website, (Ubuntu server, running apache 2.2 / libapache2-mod-jk / tomcat 5.5). I initially thought the issue was to do with my servlet not sending proper response headers but it turns out its specific to Mod-JK, the problem only occurs on a Vista

Re: Vista client problem

2007-04-17 Thread David Brown
actually happening behind the scenes it appears, is that there is an initial transfer of about 5 or 6k, then another of about 70 bytes, then 69 bytes, then 68 bytes and so on until it stops(but doesnt end). Dave Mladen Turk wrote: David Brown wrote: I've been having the most peculiar issue

Re: AW: Vista client problem

2007-04-17 Thread David Brown
. HTH Cheers, Konstantin -Ursprüngliche Nachricht- Von: David Brown [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 17. April 2007 18:47 An: Tomcat Users List Betreff: Re: Vista client problem Binary content / All other parts of the site work fine. This jsp contains nothing but garbled

Re: Vista client problem

2007-04-17 Thread David Brown
Can Mod-JK interfere with the headers ? If it was a header issue, I think the problem would be there constantly, not just when the request has to go through mod-jk. I'll have a look though, might give me a pointer Gregor Schneider wrote: Try FirwFox LiveHTTPHeaders-Extension and see what