AutoLogin With Realms

2006-03-27 Thread Neal
It seems to me that Tomcat security realms may be a bit inflexible. It seems easy to set it up to require login for protected resources, but it seems difficult to programmatically integrate and affect login state otherwise. I would like to accomplish a couple of very common authentication scen

Re: First time with Tomcat

2006-03-27 Thread Franck Borel
Hi Jean-Francois, in fact that is the most stable version. > Thanks Konstantin, 1) is now fixed. Is the 5.15 the most stable 5.x version? > > And my 2) Could a config issue prevent another PC from connecting or I > should look for a "firewall and the like" issue ? As I understand you use Apach

Re: First time with Tomcat

2006-03-27 Thread Jean-François Lebeau
Thanks Konstantin, 1) is now fixed. Is the 5.15 the most stable 5.x version? And my 2) Could a config issue prevent another PC from connecting or I should look for a "firewall and the like" issue ? Thanks for help. Jean-François Lebeau From: Konstantin L Kouptsov <[EMAIL PROTECTED]> Reply

Re: First time with Tomcat

2006-03-27 Thread Konstantin L Kouptsov
Jean-François Lebeau wrote: Hi, I need to create a simple webapp for a course project, I tried to install and configure Tomcat but I got some problems. I hope someone can help me a bit. 1) After the installation (on Windows XP), I start Tomcat and go to the default page (on http://ipadre

First time with Tomcat

2006-03-27 Thread Jean-François Lebeau
Hi, I need to create a simple webapp for a course project, I tried to install and configure Tomcat but I got some problems. I hope someone can help me a bit. 1) After the installation (on Windows XP), I start Tomcat and go to the default page (on http://ipadress:8080) but I can't use the Jsp

First time with Tomcat

2006-03-27 Thread Jean-François Lebeau
Hi, I need to create a simple webapp for a course project, I tried to install and configure Tomcat but I got some problems. I hope someone can help me a bit. 1) After the installation (on Windows XP), I start Tomcat and go to the default page (on http://ipadress:8080) but I can't use the Jsp

Re: Java Server Pages in user's home directories under Linux

2006-03-27 Thread Steve Ochani
On 27 Mar 2006 at 23:22, Molot wrote: > I've tried to search the docs, faq and archives, unsuccesfully. If you > know direct links to material I should read, please send them to me. > If I've missed something obvious, I'm really sorry. > > On server I work on, each user has public_html, seen both

RE: InputBuffer and Posting Data

2006-03-27 Thread Vikram Goyal
Sorry, once again, I am not sure why this is a Java question. Apologies for not posting this correctly, but the same code works fine in Resin. As I said, after a bit of debugging, I am able to find out that the InputBuffer has a default of 8K, and I was wondering how that can be bypassed. Vikram

RE: InputBuffer and Posting Data

2006-03-27 Thread Vikram Goyal
Apologies. Those methods are being set. I don't understand why this is a Java question though. The InputBuffer is a Tomcat class and the default of 8K is being set in that, which is restricting the transfer of my data. Vikram -Original Message- From: Mike Sabroff [mailto:[EMAIL PROTECTED

mod_jk 1.2.15 - is this a solution for High Availability Clustering?

2006-03-27 Thread Vidya TR
For several days now I have been trying various options in mod_jk including the following. But I am unable to get apache mod_jk to detect a hung a node due to a thread deadlock and failover to nodeB. # below are in seconds worker.nodeA.cache_timeout=60 worker.nodeA.socket_timeout=30 worker.nodeA

RE: WTP installation question

2006-03-27 Thread Richard Mixon
Dola, I have not had a problem just renaming the current c:\eclipse directory to c:\eclipse_old and then installing (unzipping) the WTP all-in-one bundle - as follows. The only thing different I do is that I have all of my plugins in a separate directory. I do this by creating a directory c:\ecli

Re: SSL Using APR Connectors under Linux not working

2006-03-27 Thread Markus Schönhaber
Armand Rock wrote: [...] > Libraries have been installed in: >/usr/local/apr/lib > > I then copied the .so library file from /usr/local/apr/lib/libtcnative-1.so > to /tomcat/bin/libtcnative-1.so > I restarted TomcatI'm still getting a page cannot be displayed error. By default, if Tomcat d

Java Server Pages in user's home directories under Linux

2006-03-27 Thread Molot
I've tried to search the docs, faq and archives, unsuccesfully. If you know direct links to material I should read, please send them to me. If I've missed something obvious, I'm really sorry. On server I work on, each user has public_html, seen both under http//user.server.net and http://server.ne

how to install Tomcat 5.5.15 or 16 in Windows 2003?

2006-03-27 Thread Cesar Ribera
Hi All. I'm just begining to use Tomcat, installed in WinXP before, with no problems, I tried to install it in Windows Server 2003 and I had a popup GPF Window (see attached image) about "Memory 'read' " and I couldn't finish the installation.     The Windows Server 2003 has IIS 6 already insta

RE: Context starts twice

2006-03-27 Thread Dola Woolfe
It's Tomcat 5.5.15 Yes init runs twice. I deploy in a non-professional way: 1. compile .java with ant, jar my classes and put the jar under WEB-INF/lib, and compile jsp's into WEB-INF/classes/org/... So I don't think I have a .war anywhere. The one change is that I just created a Tomcat Project

RE: Context starts twice

2006-03-27 Thread Asensio, Rodrigo
Dola, this a production enviroment ? Or a IDE enviroment ? Why you said that is running twice ? Its calling twice to the init ??? regards -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 3:42 PM To: Tom Cat Subject: Context starts twice Hi,

Re: Context starts twice

2006-03-27 Thread Jean-Philippe Boily
Hi, What version of Tomcat are you using ? Maybe your war is under your appbaseif it so, it may starts your context once with the context.xml file and once with the WAR Good luck ! Jean-Philippe Boily On 3/27/06, Dola Woolfe <[EMAIL PROTECTED]> wrote: > Hi, > > I don't know what I di

Context starts twice

2006-03-27 Thread Dola Woolfe
Hi, I don't know what I did wrong, but my StartUp servlet now runs twice in a row when I start Tomcat. The web.xml entry is StartUp servlets.StartUp 1 I don't even know where to begin looking for the error. Do you have any suggestions? Many thanks in advance! Dola ___

Re: Cluster member discovery

2006-03-27 Thread Filip Hanik - Dev Lists
glad you worked it out! Parham, Clinton wrote: Hi Filip, I have figured out (for the most part) what is happening: Using Ethereal, I determined that even though I was setting the mcast bind address to the private adapter, traffic was still being broadcasted on my public adapter. After some inv

RE: WTP installation question

2006-03-27 Thread Asensio, Rodrigo
Hello, Your Eclipse settings (projects, fonts, runtimes) are stored into c:/documents and settings/%you%/workspace by default If you replace your c:/eclipse by a brand new installation, all your plugins will be deleted (as sysdeo) but not your workspace. It is the same concept tha IBM Visual Age s

Re: Cluster member discovery

2006-03-27 Thread Peter Rossbach
Thanks, I have correct the wrong name at server.xml comment. The current cluster Howto describe the corrent mcastBindAddress parameter name. Sorry! Peter Am 27.03.2006 um 19:30 schrieb Parham, Clinton: Hi Filip, I have figured out (for the most part) what is happening: Using Ethereal, I

RE: SEVERE: End event threw exception

2006-03-27 Thread Marisol Opreni
Thanx! That was it!! -Mensaje original- De: Farrow, Marc [mailto:[EMAIL PROTECTED] Enviado el: 27 Maret 2006 15:38 Para: Tomcat Users List Asunto: RE: SEVERE: End event threw exception >From this: SEVERE: Error deploying configuration descriptor est.xml java.io.IOException: java.lang.I

RE: SEVERE: End event threw exception

2006-03-27 Thread Farrow, Marc
>From this: SEVERE: Error deploying configuration descriptor est.xml java.io.IOException: java.lang.IllegalStateException: Context path is already in use I gather that you already have an application deployed at that specific context. Maybe you are trying to manually deploy and app that Tomcat h

SEVERE: End event threw exception

2006-03-27 Thread Marisol Opreni
Hi! When I startup Tomcat it says the following log lines and doesn't deploy the war file: INFO: Processing Context configuration file URL file:C:\tomcat5\conf\Catalina\localhost\est.xml Mar 27, 2006 3:18:16 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception

Tomcat5_APR Problems!

2006-03-27 Thread hung ngole
Hi, I'm using APR with Tomcat 5. Now I just use the "tcnative-1.lib" included APR & OpenSSL. Today, I have a assigment to customize OpenSSL algorithms, then I must reconfigure Tomcat 5 to use APR, Openssl separately. I don't know how to do it, the Tomcat documents don't mention anything about

Tomcat5_APR Problems!

2006-03-27 Thread ngolehung84
Hi, I'm using APR with Tomcat 5. Now I just use the "tcnative-1.lib" included APR & OpenSSL. Today, I have a assigment to customize OpenSSL algorithms, then I must reconfigure Tomcat 5 to use APR, Openssl separately. I don't know how to do it, the Tomcat documents don't mention anything about th

RE: WTP installation question

2006-03-27 Thread Farrow, Marc
This is actually an Eclipse question. Here is a link to update and get the WEBTOOLS package from Eclipse using the update manager. http://download.eclipse.org/webtools/updates/ -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 1:15 PM To: Tom C

keeping same session via apache2 mod_jk2 and tomcat5

2006-03-27 Thread Vahid Hedayati
Hiya all tried to answer back to my last post but it kept timing out maybe it was too long - anyways I just wondered if there was anything else i can try :( If port 8180 keeps the sessions but port 80 keeps recycling sessions surely it must be an issue with mod_jk I have also tried mod_jk2 and

WTP installation question

2006-03-27 Thread Dola Woolfe
Hi, If I have eclipse (and sysdeo) up and running already, what do I need to download to install WTP. I downloaded the all-in-one package, but that seems to have everything, including Eclipse! I'm afraid that if I were to use that it'll overwrite my current settings and other plugins in the Eclips

Best session storage/management for heavy load in Tomcat

2006-03-27 Thread VEUVE, Paul Emile \(ext.\)
Hi, I work with Tomcat 4.1 on Solaris. We except a huge increase of our clients on our site (about 200,000 user in 2 hours every day) in a few weeks, each with a session if possible. I wonder which kind of session must be used in order not to overload the memory of tomcat, and to

RE: Missing web.xml

2006-03-27 Thread Farrow, Marc
Can you post the error message verbatim from the log? Maybe the whole log file or at least a few lines before and a few lines after the error message. Just be sure not to break any confidentiality rules within your company. -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED]

Re: help please?

2006-03-27 Thread Asegid Debebe
Thanks Mark, On 3/27/06, Mark Eggers <[EMAIL PROTECTED]> wrote: > > > http://www.wickedlysmart.com/HeadFirst/HeadFirstDesignPatterns/HeadFirstPatternsIndex.html > > Grab the examples. I think the last ones have a full > blown MVC example. One uses Spring and one is coded > plain. > > Of course,

Missing web.xml

2006-03-27 Thread Marisol Opreni
Hi! When I startup Tomcat it says: INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/adss.licen sing.core] My web.xml is in WEB-INF folder. What am I doing wrong?? Tanx! Marisol. -Mensaje original- De: [EMAIL PROTECT

Re: WebDAV problem with CoyoteConnector? and javax.servlet.HttpServlet

2006-03-27 Thread Mark Thomas
Samuli Elomaa wrote: > What do you mean by right signature? you mean the > java.security.Signature? or just the code syntax? Method signature (which looks fine) > super.doOptions(req, response); You can delete this line. Try your options request with the standard WEBDav servlet. It seem

Re: help please?

2006-03-27 Thread Steve Ochani
On 27 Mar 2006 at 23:31, Asegid Debebe wrote: > Thanks David, I am currently in a class on e-Apps development using > J2EE and tomcat server. MVC is designed to make complex applications > design simpler by breaking down the applicatioin in to three separate > and virtually-independent components,

Re: help please?

2006-03-27 Thread David Kerber
So it's just another variation on the old 3-layer application architecture... Asegid Debebe wrote: Thanks David, I am currently in a class on e-Apps development using J2EE and tomcat server. MVC is designed to make complex applications design simpler by breaking down the applicatioin in to th

Re: help please?

2006-03-27 Thread Asegid Debebe
Thanks David, I am currently in a class on e-Apps development using J2EE and tomcat server. MVC is designed to make complex applications design simpler by breaking down the applicatioin in to three separate and virtually-independent components, the Model (the application Data), the View (the way th

RE: Cluster member discovery

2006-03-27 Thread Parham, Clinton
Hi Filip, I have figured out (for the most part) what is happening: Using Ethereal, I determined that even though I was setting the mcast bind address to the private adapter, traffic was still being broadcasted on my public adapter. After some investigation into the Tomcat source code, I determin

Re: Here is site, not getting spidered.

2006-03-27 Thread Len Popp
Actually, it appears that Google is at least trying to crawl your site. In the access log you posted, a couple of pages are requested by 66.249.65.180 which is an address registered under googlebot.com. (I did a reverse DNS lookup.) However, when I try to access these pages myself (e.g. http://www

Re: help please?

2006-03-27 Thread Mark Eggers
http://www.wickedlysmart.com/HeadFirst/HeadFirstDesignPatterns/HeadFirstPatternsIndex.html Grab the examples. I think the last ones have a full blown MVC example. One uses Spring and one is coded plain. Of course, any prof worth his or her salt is going to both read this mailing list and know t

Re: help please?

2006-03-27 Thread David Kerber
No, I don't know anything about MVC as such. I know MVC stands for "Model View Controller", but have no idea how it applies to writing a real application. I'm purely a self-taught programmer and database designer/administrator. I've been programming since 8th grade in the mid-70's (on an HP-

Re: Distinguish between users and robots in access log?

2006-03-27 Thread Len Popp
What I do is look at the IP addresses that access robots.txt and consider any similar IP address to be a robot. "Similar" means the same first 3 bytes - often the requests for pages come from a different machine than the one that checked robots.txt. It's not perfect but it works pretty well. You s

Re: help please?

2006-03-27 Thread Asegid Debebe
Do you have any suggestion, David? Thanks, On 3/27/06, David Kerber <[EMAIL PROTECTED]> wrote: > > Waited a bit too long to start your homework, did you? ;-) > > Asegid Debebe wrote: > > >Dear all, I really need to complete a very "simple" web application > which > >demonstrate the MVC archite

SSL Using APR Connectors under Linux not working

2006-03-27 Thread Armand Rock
Hello, I succesfully got SSL to work in a windows xp environment by copying the "tcnative-1.dll" file to the /tomcat/bin directory and restarting. The following is the APR port 443 settings within server.xml. These settings work succesfully within a windows environment: I tried installing unde

Re: help please?

2006-03-27 Thread Asegid Debebe
Yes, I took too much time with other stuff and realized that it is due tomorrow . . . I don't think I will ever sleep today . . . AD On 3/27/06, David Kerber <[EMAIL PROTECTED]> wrote: > > Waited a bit too long to start your homework, did you? ;-) > > Asegid Debebe wrote: > > >Dear all, I real

Re: help please?

2006-03-27 Thread David Kerber
Waited a bit too long to start your homework, did you? ;-) Asegid Debebe wrote: Dear all, I really need to complete a very "simple" web application which demonstrate the MVC architecture fully. I would love to do it myself from scratch but given the time I have, I can't!. I really appreciate

AW: Here is site, not getting spidered.

2006-03-27 Thread Bernhard Slominski
Hi Scott, generally I would suggest that you get some books or even an external company/consultant about search engine optimization. As the other posts pointed out there are really a lot of things that you can do (wrong). And it's not an easy subject. For a B2C Shop it is really essential that yo

Re: help please?

2006-03-27 Thread Asegid Debebe
Thanks Michael, I am checkig it. Thanks!! AD On 3/27/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/27/06, Asegid Debebe <[EMAIL PROTECTED]> wrote: > > Dear all, I really need to complete a very "simple" web application > which > > demonstrate the MVC architecture fully. I would lov

Re: help please?

2006-03-27 Thread Michael Jouravlev
On 3/27/06, Asegid Debebe <[EMAIL PROTECTED]> wrote: > Dear all, I really need to complete a very "simple" web application which > demonstrate the MVC architecture fully. I would love to do it myself from > scratch but given the time I have, I can't!. I really appreciate if someone > can point me

Re: Here is site, not getting spidered.

2006-03-27 Thread Mark Lowe
The points about javasrcipt links and parameters are valid, but this thing that causes hassle even for bots that deal with parameters are jsessionids Have a look at http://tuckey.org/urlrewrite/ you'll be able to remove session ids for bots and deal with the request parameters too.. Hth Mark On

Re: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-27 Thread Cody Caughlan
I originally did not have such a verbose classpath (usually I dont have one set at all). But in a feverish attempt to have the system find the JAR, I constructed the crazy classpath. Trimming it down to CATALINA_HOME/bin (which is where bootstrap.jar resides), catalina.out generates this error inst

help please?

2006-03-27 Thread Asegid Debebe
Dear all, I really need to complete a very "simple" web application which demonstrate the MVC architecture fully. I would love to do it myself from scratch but given the time I have, I can't!. I really appreciate if someone can point me where I can find a very simple implementation of MVC using Se

Re: Tomcat 5.5.16 Virtual Hosting Bug ?

2006-03-27 Thread Vamsidhar
I tried your suggestion but the problem still remains. I also tried moving the context definition into server.xml file (old tomcat style). This did not work either. I have been using this configuration successfully on Tomcat 4.x. thanks, Vamsi. On 3/24/06, Parsons Technical Services <[EMAIL PRO

Re: Does tomcat badly handles error in included jsp?

2006-03-27 Thread Len Popp
There are a couple of things you can do. I haven't tried this, but I think you can prevent the IllegalStateException by putting "<%@ page buffer='128kb' %>" in the JSPs. Use a big enough buffer, and it won't start writing the response before it tries to redirect to the error page. Also, you could

Re: Here is site, not getting spidered.

2006-03-27 Thread Tim Funk
It looks like the major issues as seen here: http://marc.theaimsgroup.com/?l=tomcat-user&m=113962621607862&w=2 have been fixed. Since it has been less than 1 month since those issue have been fixed - it may be a waiting game. Google has additional crawling algorthm which detects how often a si

RE: Here is site, not getting spidered.

2006-03-27 Thread Allistair Crossley
Hi, 1. The problem with your products not being spidered is because you use javascript to open them. Your links need to be within tags within the page, not JavaScript. 2. You might want to look into Apache URL rewriting for your product browsing. Currently only the Query String differentiates yo

Re: IIS Isapi Redirector Not Working - 404 Error

2006-03-27 Thread Eric Estes
Hello, I set IIS to 5.0 compliance mode and here's what I see in the isapi redirector log: - [Mon Mar 27 08:56:31 2006] [jk_isapi_plugin.c (977)]: Using registry. [Mon Mar 27 08:56:31 2006] [jk_isapi_plugin.c (979)]: Using log file C: \Program Files\Apache Software Foundation

Re: Tomcat Valve, how to Create Pattern

2006-03-27 Thread Jon Wingfield
I may be wrong but I think there are only two predefined names: "common" and "combined". For all others you set the pattern attribute to the required number and ordering of pattern elements as defined in the docs. From the docs: The shorthand pattern name common (which is also the default) corr

Re: Here is site, not getting spidered.

2006-03-27 Thread Francis Galiegue
2006/3/27, Scott Purcell <[EMAIL PROTECTED]>: > Here is the site: > > http://www.theuniquepear.com > I'm not very fluent with HTML, but why are there two DOCTYPE declarations in the generated code? -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue d

RE: Here is site, not getting spidered.

2006-03-27 Thread Scott Purcell
Site has been up over 6 months. Pretty much never down. Thanks, -Original Message- From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 10:11 AM To: 'Tomcat Users List' Subject: RE: Here is site, not getting spidered. One interesting thing is that the line: htt

RE: Here is site, not getting spidered.

2006-03-27 Thread Daniel Blumenthal
One interesting thing is that the line: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> is repeated inside the block. Probably not a big deal. How long has the site been up? > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, March 27, 2006

Re: Cluster member discovery

2006-03-27 Thread Filip Hanik - Dev Lists
please attach both your server.xml files, I'll take a look at them. Filip Parham, Clinton wrote: Martin, The install on nodeB is operation. I am able to open the default Tomcat page, "If you're seeing this page via a web browser, it means you've setup Tomcat successfully." Netstat lists the ht

Here is site, not getting spidered.

2006-03-27 Thread Scott Purcell
Here is the site: http://www.theuniquepear.com Thanks, I apologize. I would really like this to work, and will do whatever it takes. Sincerely -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 9:51 AM To: Tomcat Users List Subject: RE: Site

Re: Tomcat 5.5.16 - Confirmation of " Extra bytes at the end of class file listeners/ContextListener" error

2006-03-27 Thread PocJoc
I've changed some class files and after the substitution, it works fine. The files has been reemplaced with the 'zip' distribution and copied directly to the 'exe' installation. There are: \webapps\jsp-examples\plugin\applet\Clock2.class \webapps\jsp-examples\WEB-INF\classes\servletToJsp.class \w

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Peter Crowther
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Actually Peter, > > I have no javascript links on my page. The site is a struts site, and > all links are regular links with no odd, or peculiar issues. OK. I'd be able to make better guesses if I could see the site - apologies if I've missed a

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Scott Purcell
Actually Peter, I have no javascript links on my page. The site is a struts site, and all links are regular links with no odd, or peculiar issues. -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 9:41 AM To: Tomcat Users List Subject: RE:

RE: Web Application doesn't recognize domains using tomcat

2006-03-27 Thread Benitez Badillo, Leticia
Hi, What I need is that users have access to a web application under 5 domains, all of them on the same home page. When I use IP address the page work without problem. But if I try to use any of the domains the page doesn't work. The domains are on the DNS server. It' seems that inside t

RE: Site Not Getting Spidered or Indexed

2006-03-27 Thread Peter Crowther
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > When I submitted the site to google, this is the page I submitted. Why > wouldn't my site get spidered? - Google can't read the links because they're embedded in a nice pretty dynamic Javascript-y menu system; - You're returning an odd encoding a

no listener method called when session restored from serialization

2006-03-27 Thread Derrick Koes
The method below is from org.apache.catalina.session.StandardSession tomcat 5.0.28 source. Since the setId call is commented and the id is simply set to the data member directly, no session listeners are notified (notified from setId method via tellNew method). How can I get access to the session

Tomcat Valve, how to Create Pattern

2006-03-27 Thread Scott Purcell
Tomcat 5.5 OS=Win2000 I would like to change the pattern for a valve in my server.xml. The API shows when you have the element

Re: InputBuffer and Posting Data

2006-03-27 Thread Mike Sabroff
This IS a java question. If post.Conn is a URLConnection you opened from the applet (looks that way) then you need to call setDoInput() and setDoOutput() methods (basically read/write) to make it a post. There is also a setUseCaches() (true or false) to control caching, default is true (relo

Re: Dynamic roles web.xml

2006-03-27 Thread Alessandro Colantoni
Hi Mark Just to tell that I finished my job and all work well. Thanks a lot to guide me Now I have a taglib that does for example if the user in session is related with at least one role that is related with at least one of the permissions in list the job is done. On 3/17/06, Alessandro Colant

RE: Adding user-agent and possibly refer to log4j Tomcat 5.5

2006-03-27 Thread Scott Purcell
Yes Jon the unique.log is where all my logging is occurring. I will follow your link, and try and figure this out. Thanks, Scott -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 8:59 AM To: Tomcat Users List Subject: Re: Adding user-agent an

Re: Adding user-agent and possibly refer to log4j Tomcat 5.5

2006-03-27 Thread Jon Wingfield
Is the unique.log where your site hits are being logged? I'm running tc5.0.x. For that version you would change the pattern attribute for the Valve doing the logging in server.xml (or context.xml depending on config). Just looked. It's the same in 5.5 http://tomcat.apache.org/tomcat-5.5-doc/c

mod_jk disabled directive - how to change at runtime?

2006-03-27 Thread Vidya TR
Definition of disabled directive in http://tomcat.apache.org/connectors-doc/config/workers.html disabled - If set to True or 1 the worker will be disabled if member of load balancer. This flag can be changed at runtime using status worker. Can I change the disabled property at runtime and will

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-27 Thread Vidya TR
Hi, Even after changing my settings to a hung node A still does not failover to node B. The whole server is hung. worker.loadbalancer.lock=P # P[essimistic] Any more recommendations? Thank you, Vidya -- View this message in context: http://www.nabble.com/question%3A-mod_jk-failo

Adding user-agent and possibly refer to log4j Tomcat 5.5

2006-03-27 Thread Scott Purcell
Thanks Jon, After reviewing your response ... I believe this fix is for a Apache server? I am running Standalone Tomcat. It appears I need to somehow log the user-agent and possibly referrer to my default access log. Is this correct? If this is the case, does anyone know how to do this with Tomc

Re: Distinguish between users and robots in access log?

2006-03-27 Thread Hadraba Petr
Hi Scott, look at awstats ( http://awstats.sourceforge.net ). This projects parses Apache httpd's logs and can determine who's bot and who's not. Maybe you find there some insteresting informations. PETR On 3/27/06, Jon Wingfield <[EMAIL PROTECTED]> wrote: > Looks like you are running the defau

Re: Distinguish between users and robots in access log?

2006-03-27 Thread Markus Schönhaber
Markus Schönhaber wrote: > Then you might want to take a look at this link > http://www.robotstxt.org/wc/active.html Better start here: http://www.robotstxt.org/wc/robots.html This is what Tim really posted. Regards mks - To u

Re: Distinguish between users and robots in access log?

2006-03-27 Thread Markus Schönhaber
Scott Purcell wrote: > I really would like to find out how my (and if my site) is being > indexed. I am using Tomcat 5.5 and I am running a ecommerce site. I have > had nothing but trouble getting seen in search engines, so I would like > to be able to somehow trace what pages robots are indexing.

Re: Distinguish between users and robots in access log?

2006-03-27 Thread Jon Wingfield
Looks like you are running the default access log settings. For logging of user-agent and referer (when given) try: CustomLog logs/access_log combined http://httpd.apache.org/docs/1.3/logs.html#accesslog HTH, Jon Scott Purcell wrote: I really would like to find out how my (and if my site) is

RE: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-27 Thread Caldarale, Charles R
> From: Cody Caughlan [mailto:[EMAIL PROTECTED] > Subject: NoClassDefFoundError in SystemLogHandler during > Bootstrap in binary version > > Classpath: /usr/local/apache-tomcat-5.5.16/bin: > /usr/local/apache-tomcat-5.5.16/server/lib: > /usr/local/apache-tomcat-5.5.16/common/lib: > /usr/local/jd

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-27 Thread Paul Hamer
Hi Allistair, The JAR looks fine to me. It was created using ant. I've tried using an exploded version, so with separate .class files, but that still doesn't work. The testcase I posted in ASF bugzilla works for other people, so something must be wrong on my side. I'm going to try to test this co

RE: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-27 Thread Serkan Durusoy [DNA - encoding the future]
Dear All, Thank you very much for all the information you provided me with. I guess APR might become a hassle in the long run, so we will go with standalone Tomcat. Regarding the 18,000hits/hour peaktime, obviously we cannot justify the clause: "18,000hits/hour / (60*60) = 5hits/s" Therefore we

Re: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-27 Thread Leon Rosenberg
Thanx Markus, Chuck, for the enlightenment :-) leon On 3/27/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > > Subject: Re: Performance Tuning on Tomcat 5.5.16 for site > > with 150,000 daily hits > > > > APR support in tomcat is in > > mod

RE: Performance Tuning on Tomcat 5.5.16 for site with 150,000 daily hits

2006-03-27 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: Performance Tuning on Tomcat 5.5.16 for site > with 150,000 daily hits > > APR support in tomcat is in > mod_jk v2 and mod_webapp (part of Tomcat) When installed, APR is also used for the standard HTTP and HTTPS connectors, not jus

RE: using crossContext

2006-03-27 Thread Farrow, Marc
You need to user the getRequestDispatcher("/theothercontext") method. This will give you a reference to a RequestDispatcher class of the context defined in the instance of Tomcat called "theothercontext". HTH -Original Message- From: Zohar [mailto:[EMAIL PROTECTED] Sent: Monday, March 27

RE: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-27 Thread Farrow, Marc
You need to place the Jar file that contains the org/apache/tomcat/util.log/SystemLoghandler class in your %tomcat_home%/common/lib folder. I am not going to research and find that jar file you. I will let that be an assignment for you. -Original Message- From: Cody Caughlan [mailto:[EMA

Re: Get JDBCRealm's current user

2006-03-27 Thread Martin Gainty
Rapthor- take a look at http://developer.mimer.com/howto/howto_29.htm JDBCRealm is a technique for storing user information in a database. Where JDBCRealm info is accessed via your connection handle (and hopefully acquired from connection pool ) defined within server.xml as in this example

RE: InputBuffer and Posting Data

2006-03-27 Thread Farrow, Marc
This would seem like a Java question and not a Tomcat question. -Original Message- From: Vikram Goyal [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 12:47 AM To: users@tomcat.apache.org Subject: InputBuffer and Posting Data Hi all, I am trying to post some data via an applet to

Re: PHP Servlet Fails in Tomcat 5.5.15

2006-03-27 Thread Gregg Leichtman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A review of the servlet.c send method shows the following code: /* * Parse the file */ SETSTRING( SG(request_info).path_translated, pathTranslated ); #ifdef VIRTUAL_DIR

File upload giving error: Stream ended unexpectedly

2006-03-27 Thread Manish Agrawal
Hi, I have a web applications using sturts framework. The application allow users to upload data files on server. The application is running on Apache Tomcat 5.0 server. I am using Commons File Upload 1.0 for uploading files. The application is running fine but sometime it fails to upload files

Re: PHP Servlet Fails in Tomcat 5.5.15

2006-03-27 Thread Gregg Leichtman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the direction. This is pretty much what I thought. I'll try moving back to a previous version of PHP and see how it goes. -=> Gregg <=- Nikola Milutinovic wrote: >> *exception* >> >> java.io.IOException: null net.ph

Re: Tomcat runs slow on linux

2006-03-27 Thread Bruno Georges
Alex Are you sure the performance problems comes from Tomcat itself? What is exactly slow? Is this a test you run from your XP client, or from the server? I would start by collecting metrics network/cpu/ram and narrow it down to the bottleneck. Do you have similar settings in both environment? D

Re: Get JDBCRealm's current user

2006-03-27 Thread Rapthor
I didn't find the ConnectionHandle ... it's an interface but where is my instance of "ConnectionHandle"? Do I get it by using one of the Servlet's request, response or session objects? -- View this message in context: http://www.nabble.com/Get-JDBCRealm%27s-current-user-t1341315.html#a3607425 Sen

RE: Disabling put and delete http methods

2006-03-27 Thread Allistair Crossley
try changing * To ? -Original Message- From: Stephen More [mailto:[EMAIL PROTECTED] Sent: 25 March 2006 18:25 To: users@tomcat.apache.org Subject: Disabling put and delete http methods I am having problems trying to disable put and delete. I have searched the Internet and they

RE: sysdeo: whoa, wait a minute

2006-03-27 Thread Serlet Jean-Claude
Hello You are right : no help about JSP with the plugin SYSDEO You may use an other one :Lomboz http://lomboz.objectweb.org/overview.html Jean-Claude -Message d'origine- De : Dola Woolfe [mailto:[EMAIL PROTECTED] Envoyé : lundi 27 mars 2006 08:53 À : Tom Cat Objet : sysdeo: whoa, wait a

Tomcat runs slow on linux

2006-03-27 Thread Alex Jalali
Hi, I upgraded tomcat to 5.5 and also jdk to 1.5 and after making changes to my app everything was great (on my local machine) which is a windows XP. But after setup on the server it runs sooo slow. I still have the older tomcat running another application and that one is fine. Both of these tomc

RE: configuring the default servlet

2006-03-27 Thread Allistair Crossley
I've not really any idea other than to suggest what happens with commenting out the web.xml default in the conf version and having your web app's have their own version (since web apps don't know of each other) -Original Message- From: Rachel McConnell [mailto:[EMAIL PROTECTED] Sent: 25 M

RE: Error 500

2006-03-27 Thread Allistair Crossley
Hi, I suspect there are JNDI resources involved here (such as for databases) that need to be configured per each container's own methods. Whilst in general WARs can be deployed across containers, the same cannot be said for configuration dependencies. I'm afraid you will need to understand what t

  1   2   >