Strange behaviour by Tomcat

2006-01-28 Thread Prabhu
Hi all, In my Tomcat's server.xml, i have used swallowOutput, like mentioned below. DefaultContext reloadable=true allowLinking=true swallowOutput=true / So, all my code's System.out would go to a different file and not catalina.out. But, if I start a new thread and give System.out, in that

Re: Problem with using tomcat Datasource inside a servlet.

2006-01-28 Thread Peter Rossbach
Wrong lookup name: Use: java:comp/jdbc/be_Publisher Peer Am 28.01.2006 um 11:03 schrieb Legolas Woodland: java:comp/env/jdbc/be_Publisher); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

ANSWER: mod_jk configuration directives in VirtualHost sections

2006-01-28 Thread Jonathan Woods
I've sorted my problem out. It appears that at least for Apache 1.3.x, you cannot have the JkWorkersFile directive in a VirtualHost section; it has to be in the main server section. If it isn't, then mod_jk doesn't seem to be able to find the worker in the workers map. Other directives - e.g.

Re: Problem with using tomcat Datasource inside a servlet.

2006-01-28 Thread Legolas Woodland
Peter Rossbach wrote: Wrong lookup name: Use: java:comp/jdbc/be_Publisher Peer Am 28.01.2006 um 11:03 schrieb Legolas Woodland: java:comp/env/jdbc/be_Publisher); I change it according to your advice but it still return the same error. some more description : when i deploy the

ftp access for jakarta Binaries

2006-01-28 Thread Martin Gainty
Good Morning Everyone I am attempting to locate ftp access for jakarta binaries Any help you can provide would be appreciated Thanks! Martin Gainty Etats Unis

Re: ftp access for jakarta Binaries

2006-01-28 Thread Markus Schönhaber
Martin Gainty wrote: I am attempting to locate ftp access for jakarta binaries Any help you can provide would be appreciated Go to http://tomcat.apache.org/download-55.cgi and under Mirrors select a mirror that can be accessed via ftp. For example:

Re: ftp access for jakarta Binaries

2006-01-28 Thread Martin Gainty
Guten Tag Any idea where I can acquire J2SDK142 by FTP? Vielen Danke, Martin- - Original Message - From: Markus Schönhaber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, January 28, 2006 9:25 AM Subject: Re: ftp access for jakarta Binaries Martin

Please Help Setting Up Site

2006-01-28 Thread Scott Purcell
Hello, I have been screwing around with a few Tomcat 5.5 problems for some time, and cannot seem to resolve them, and could use some help. First off. 1) I have a real web site that needs to be shown to the world. I have purchased a DNS entry and created the site. I am running on port 80.

RE: Please Help Setting Up Site

2006-01-28 Thread Caldarale, Charles R
From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: Please Help Setting Up Site Now if someone types in the proper http://www.mysite.com all is good. PROBLEM: when friends and family type in http://mysite.com (forgetting) the www, they get to my site, but get the message that

Re: Please Help Setting Up Site

2006-01-28 Thread Rhino
Excuse me for top-posting but Outlook Express is not letting me intersperse my reply in your original note correctly The answer to your problem *may* be at http://ZoneEdit.com. ZoneEdit is very useful service that lets you manage DNS issues more easily; it is free if you have only a small

Multiple Tomcat-Instances problem

2006-01-28 Thread Tino Schöllhorn
Hi, I am using tomcat 5.5.12 on linux. We have installed 2 tomcat-instances - which I thought worked. But now I noticed that those 2 instances are using the same classes and the same classpath, which they should'nt. Here is the configuration: /our-apps/apache-tomcat-5.5.12 for Tomcat 1

RE: Multiple Tomcat-Instances problem

2006-01-28 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tino Schöllhorn Subject: Multiple Tomcat-Instances problem But now I noticed that those 2 instances are using the same classes and the same classpath, which they should'nt. A couple of questions: 1) What do you mean by classpath? An

Re: ftp access for jakarta Binaries

2006-01-28 Thread Markus Schönhaber
Martin Gainty wrote: Guten Tag Good evening ;-) Any idea where I can acquire J2SDK142 by FTP? No. And I doubt there is a legal ftp-source for the JDK. Before you can download it from Sun's website, you're forced to accept the License Agreement. If there was a legal ftp-source, you could

logfile weirdness

2006-01-28 Thread David Thielen
I am having a problem where requested pages are not being listed in my IIS log - and I need those entries for my web tracking. My environment is as follows. The site is IIS 6.0 with Tomcat 5.5. All requests to port 80 go to IIS and it then talks to Tomcat using Tomcat's ISAPI filter. The pages

RE: Multiple Tomcat-Instances problem

2006-01-28 Thread Jonathan Woods
Tino - I'm sorry to answer your question with a different suggestion, but... I have a set-up in which I'm using the same physical copy of a 5.5.15 Tomcat distribution, but I run two instances simultaneously by using command lines with two different settings of CATALINA_BASE. In each case

Re: ftp access for jakarta Binaries

2006-01-28 Thread Martin Gainty
Vielen Danke, Martin- - Original Message - From: Markus Schönhaber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, January 28, 2006 1:30 PM Subject: Re: ftp access for jakarta Binaries Martin Gainty wrote: Guten Tag Good evening ;-) Any idea

Re: Multiple Tomcat-Instances problem

2006-01-28 Thread Leon Rosenberg
CATALINA_HOME=/our-apps/apache-tomcat-5.5.12 export CATALINA_HOME is surely wrong in the config file of /our-apps/tomcat-production The best you can do, just don't touch the config files at all. Simply extract two instances from a tgz and setup ports. This should work. regards Leon On 1/28/06,

RE: Multiple Tomcat-Instances problem

2006-01-28 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Tomcat-Instances problem CATALINA_HOME=/our-apps/apache-tomcat-5.5.12 export CATALINA_HOME is surely wrong in the config file of /our-apps/tomcat-production Not at all. Look at the section entitled Advanced

Re: Multiple Tomcat-Instances problem

2006-01-28 Thread Leon Rosenberg
On 1/28/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Tomcat-Instances problem CATALINA_HOME=/our-apps/apache-tomcat-5.5.12 export CATALINA_HOME is surely wrong in the config file of /our-apps/tomcat-production

Best way to implement own Sign On functionality?

2006-01-28 Thread Nicholas Irving
Hi All I am trying to implement my own Single Sign On Solution (why you may ask when there a number of solutions out there?, because I would like to learn myself and I feel that there are some flaws) For example I am have a simple Perl proxy that I have written that does simple load balancing

RE: Multiple Tomcat-Instances problem

2006-01-28 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Tomcat-Instances problem Yes, but since CATALINA_HOME is used to define the classpath, both instances would use same libs (bootstrap, logkit, etc). I think the original poster wanted the apps to avoid using same libs.

Re: Multiple Tomcat-Instances problem

2006-01-28 Thread Leon Rosenberg
On 1/28/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Tomcat-Instances problem Yes, but since CATALINA_HOME is used to define the classpath, both instances would use same libs (bootstrap, logkit, etc). I think the

RE: Multiple Tomcat-Instances problem

2006-01-28 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Tomcat-Instances problem tomcat is just a java program, therefore it runs in a VM. Each running VM has a classpath, Actually, each VM has at least three classpaths, not counting any separate ones implemented in the Java

404 resource not found

2006-01-28 Thread Mark Space
Hi all, I'm quite new to Tomcat but I'm trying to make some headway with basics. I just tried to get a simple servlet working--no luck. I get a 404 not found from the server when the servlet is invoked. Most likely it's just pilot error, but I can see there's a lot of strings and directory

Re: 404 resource not found

2006-01-28 Thread Mark Space
Mark Space wrote: I've already tried increasing the logging to debug, but I see nothing untoward in the logs, just a lot of [info]. I've tried eyeballing the web.xml file and the directory paths several times and I can see my typo. I That's should have been can't see my typo...

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-28 Thread Tony LaPaso
Michael, I've read a few comparisons between .NET and J2EE. In the one you're referring to I think Microsoft had the advantage because they used stored procedures and the J2EE version did not...or maybe the J2EE version had auto-commit turned on which decreased it's performance, I don't

RE: 404 resource not found

2006-01-28 Thread Caldarale, Charles R
From: Mark Space [mailto:[EMAIL PROTECTED] Subject: 404 resource not found 2. The app is installed in (Tomcat_home)/webapps/ROOT/Beer-v1 That's at least one problem - your app should be under webapps, not webapps/ROOT. Your app was never deployed. Follow the examples. - Chuck THIS

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-28 Thread Tony LaPaso
I also must comment on your comment about the Microsoft documentation. One of the things I've hated about using Tomcat is the horrible documentation. IMHO bad documentation is very typical of open source projects and if you think about the open source mantra, it makes sense, doesn't it?

Re: Features comparisons for Tomcat (was Re: From Java to C#, ASP.NET [Off Topic])

2006-01-28 Thread Tony LaPaso
If you can make Tomcat better that would be great. But I would recommend you not be too dismissive about the improvements Microsoft has made to web development. You should really take a look at ASP.NET and the development tools Microsoft offers before you dismiss them as Creature Comforts. As

RE: 404 resource not found

2006-01-28 Thread Caldarale, Charles R
From: Mark Space [mailto:[EMAIL PROTECTED] Subject: Re: 404 resource not found So, is ROOT the default app? This said to use ROOT: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ I'd suggest using the real Tomcat and Servlet documentation first, and then referring to 3rd party doc

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-28 Thread David Smith
All I can say is individual mileage may vary. Good luck with the Microsoft projects. -- David Tony LaPaso wrote: I also must comment on your comment about the Microsoft documentation. One of the things I've hated about using Tomcat is the horrible documentation. IMHO bad documentation is

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-28 Thread David Thielen
I've done bith and if you are looking to have common source between the two - take a look at www.gotjsharp.com for some suggestions. My conclusion between the two (now that .NET 2.0 has shipped) is: Portable - java Otherwise - .NET. A lot of the .NET advantage comes from the fact that the entire