Re: Multiple Tomcat-Instances problem

2006-01-29 Thread Tino Schöllhorn
Hi, thanks for the discussion. So far I think I should just use 2 copies of the tomcat distribution. But honestly I'd prefer the other way. 1.) By classpath I mean the classpath of a web-application. 2.) Evidence is: I have two web-applications kos, which are the same but should use

Re: Problem with using tomcat Datasource inside a servlet.

2006-01-29 Thread Peter Rossbach
Sorry, I think you define your DataSource inside the GlobalNamingResources section, but your first jndi parameter are correct (java:comp/env/ jdbc/be_Publisher). You need a ResourceLink inside you app context. Define a file META-INF/context.xml Context ResourceLink

Re: logfile weirdness

2006-01-29 Thread Mark Thomas
David Thielen wrote: 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. Download a copy of ieHTTPHeaders and look at what the browser is sending/receiving during this process. Mark

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

2006-01-29 Thread ZedroS Schwart
Hi Tony It's funny about your put words in our mouths... Is there written somewhere in this thread that Bill Gates is Satan or something like that ? What was said, and I think it's true, is that Microsoft (or Sun or IBM, if that matters) is a company trying to make money, whereas open source

Re: Asynchronous messaging in tomcat

2006-01-29 Thread Leon Rosenberg
On 1/27/06, Duan, Nick [EMAIL PROTECTED] wrote: Spawning your own threads in a web app is usually not recommended. Why? regards Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Multiple Tomcat-Instances problem

2006-01-29 Thread Leon Rosenberg
By configuration files, do you mean .properties files? Are you loading them with URL urlToConfigFile = ClassLoader.getResource(fileName); ? Are you sure, that you have the right ClassLoader? regards Leon On 1/29/06, Tino Schöllhorn [EMAIL PROTECTED] wrote: Hi, thanks for the discussion. So

Re: Asynchronous messaging in tomcat *

2006-01-29 Thread Nikola Milutinovic
Leon Rosenberg wrote: On 1/27/06, Duan, Nick [EMAIL PROTECTED] wrote: Spawning your own threads in a web app is usually not recommended. Why? Well, you have to take care of them manually or some code has to do it. If forgotten, those threads can stop TC from shutting down

Tomcat webapp directory on virtual host

2006-01-29 Thread Chad Russell
I have tried to search for this for a while, and to no avail I decided to post the question here. I have Tomcat 5.5 setup with several virtual hosts. I want to deploy a struts .war file to one of the virtual hosts, but Tomcat wont recognize it. In my server.xml under the hosts section I

Re: Tomcat webapp directory on virtual host

2006-01-29 Thread N Tapas Kumar Choudhury
hi. i m new for using tomcat.i had instaled tomcat in my computer.but i dont how to set classpath...plz any of one know how to set class path for tomcat then plz reply me.. waiting 4 ur response.. thanks and regards

Re: Tomcat webapp directory on virtual host

2006-01-29 Thread Mark Thomas
N Tapas Kumar Choudhury wrote: hi. i m new for using tomcat.i had instaled tomcat in my computer.but i dont how to set classpath...plz any of one know how to set class path for tomcat then plz reply me.. waiting 4 ur response.. thanks and

Work directory

2006-01-29 Thread Chad Russell
Hi, When tomcat tries to compile something and it tries to create the directories in the work directory, it seems to fail when trying to add org/apache to the path. I can go in by hand and create these two directories in the path, and then it works correctly. Is there any way to correct

Re: Work directory

2006-01-29 Thread Wendy Smoak
On 1/29/06, Chad Russell [EMAIL PROTECTED] wrote: When tomcat tries to compile something and it tries to create the directories in the work directory, it seems to fail when trying to add org/apache to the path. I can go in by hand and create these two directories in the path, and then it

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

2006-01-29 Thread Martin Gainty
Not Satan.. but a very good businessman That said we just inherited some vb code that accomplishes a cryptography algorithm just to get this to run under windoze took me 4 hours..the lack of VB doc was the blocking factor or maybe its probably because Im not a VB guy and never will be btw that

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

2006-01-29 Thread David Tonhofer, m-plify S.A.
David Thielen [EMAIL PROTECTED] wrote 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 stack is from Microsoft so it all just works and is easy to use. Thanks - dave S'probably

RE: Tomcat webapp directory on virtual host

2006-01-29 Thread Caldarale, Charles R
From: Chad Russell [mailto:[EMAIL PROTECTED] Subject: Tomcat webapp directory on virtual host I want to deploy a struts .war file to one of the virtual hosts, but Tomcat wont recognize it. In my server.xml under the hosts section I have both the appBase and the docBase pointing to the

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

2006-01-29 Thread Leon Rosenberg
On 1/29/06, David Tonhofer, m-plify S.A. [EMAIL PROTECTED] wrote: Another 2c: When doing Java, you may want to stay clear of J2EE. I have heard it's the Wooly Mammoth framework and I have so far worked happily without it. I recommend a look at Bruce Tate's pamphlet here:

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

2006-01-29 Thread Frank W. Zammetti
Martin Gainty wrote: we just inherited some vb code that accomplishes a cryptography algorithm just to get this to run under windoze took me 4 hours..the lack of VB doc was the blocking factor or maybe its probably because Im not a VB guy and never will be btw that same functionality can be

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

2006-01-29 Thread Wade Chandler
--- David Tonhofer, m-plify S.A. [EMAIL PROTECTED] wrote: Another 2c: When doing Java, you may want to stay clear of J2EE. I have heard it's the Wooly Mammoth framework and I have so far worked happily without it. I recommend a look at Bruce Tate's pamphlet here:

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

2006-01-29 Thread Martin Gainty
yes the same holds true for someone coming from Java or C++ to VB I dont know how many times I asked what var means or how to add components to a build file such as adding a target to ant task or how do I get a ptr to an object in VB? Thanks to gert driesen for his nant project which answers

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

2006-01-29 Thread Frank W. Zammetti
Martin Gainty wrote: On the subject of doc ..I find any specifics about VB quite difficult to locate and blogs are not nearly as numerous as java Interesting. Although I don't consider blogs a source of worthwild information on anything (and yes, that includes my own!), I've always found a

regarding HttpSession

2006-01-29 Thread Edoardo Panfili
Sorry if my question is not clear. I can't find an explanation by myself (and internet pages). I have an HttpSessionListener that register the session in a Vector in sessionCreated() and removes the sessions in sessionDestroyed(). Another jsp page display this Vector. After some navigation

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

2006-01-29 Thread Martin Gainty
Interesting. Although I don't consider blogs a source of worthwild information on anything (and yes, that includes my own!), I've always found a wealth of VB knowledge on the web. Probably not quite as much as Java, but still. I would strongly encourage every academic institution to

RE: logfile weirdness

2006-01-29 Thread David Thielen
-Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Sunday, January 29, 2006 2:59 AM To: Tomcat Users List Subject: Re: logfile weirdness David Thielen wrote: I am having a problem where requested pages are not being listed in my IIS log - and I need those entries for

Re: Work directory

2006-01-29 Thread Chad Russell
Wendy Smoak wrote: On 1/29/06, Chad Russell [EMAIL PROTECTED] wrote: When tomcat tries to compile something and it tries to create the directories in the work directory, it seems to fail when trying to add org/apache to the path. I can go in by hand and create these two directories in

Re: Tomcat webapp directory on virtual host

2006-01-29 Thread Chad Russell
Caldarale, Charles R wrote: From: Chad Russell [mailto:[EMAIL PROTECTED] Subject: Tomcat webapp directory on virtual host I want to deploy a struts .war file to one of the virtual hosts, but Tomcat wont recognize it. In my server.xml under the hosts section I have both the appBase and the

Re: logfile weirdness

2006-01-29 Thread Mark Thomas
David Thielen wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Download a copy of ieHTTPHeaders and look at what the browser is sending/receiving during this process. Mark - First off - this is a really useful tool

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

2006-01-29 Thread Wade Chandler
For a little bit of who really cares and what's it really matter anyways: http://weblogs.java.net/blog/haroldcarr/archive/2006/01/introducing_jav.html ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

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

2006-01-29 Thread Tony LaPaso
- Original Message - From: David Tonhofer, m-plify S.A. [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, January 29, 2006 10:11 AM Subject: RE: From Java to C#, ASP.NET [Off Topic] David Thielen [EMAIL PROTECTED] wrote My conclusion between the two

RE: Tomcat webapp directory on virtual host

2006-01-29 Thread George Sexton
It would be really nice if the next verion of Tomcat could dispense with putting hosts in the server.xml file as well. They already have a directory structure in place... Right now, for my high-volume hosting I have a startup script that generates a server.xml on the fly. The reason I have to do

RE: Work directory

2006-01-29 Thread George Sexton
Most likely, you ran it as root, and it created a directory structure. Now you're trying to run as an unprivileged user. My advice is to stop tomcat, wipe all files in the temp and work directories and then start tomcat. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438

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

2006-01-29 Thread Martin Gainty
A ms product conforming to JSR261??? nice to see some folks who can see interoperability is the name of the game Thanks for the great link! M- - Original Message - From: Wade Chandler [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED]

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

2006-01-29 Thread Tim Lucia
All available class libraries were bolted on after the core language was established. You could say anything not in java.lang.* was bolted on. The beauty of all those bolt ons is that you have so much stuff already there, you can concentrate on your business logic. Even early in the C++ world,

Re: Work directory

2006-01-29 Thread Chad Russell
All the files are owned by the user that tomcat runs as. And it does create some directories in there, however it fails on the org/apache directories. If I create those, and changed the owner to the same user as tomcat, then it happily creates the directories underneath it on the fly with no

RE: Work directory

2006-01-29 Thread George Sexton
Are the temp and work directories owned by the tomcat user, and are their permissions rwx? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Chad Russell [mailto:[EMAIL PROTECTED] Sent: Sunday, January 29, 2006 6:00 PM To:

Re: Work directory

2006-01-29 Thread Chad Russell
Yes. George Sexton wrote: Are the temp and work directories owned by the tomcat user, and are their permissions rwx? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Chad Russell [mailto:[EMAIL PROTECTED] Sent: Sunday,

RE: logfile weirdness

2006-01-29 Thread David Thielen
If the person who knows the isapi filter is on this list and is willing to look at this - I'm willing to give them a copy of the code. It's a very simple servlet and it's just 2 clicks to make this problem occur. Thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original

RE: Tomcat webapp directory on virtual host

2006-01-29 Thread Caldarale, Charles R
From: Chad Russell [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat webapp directory on virtual host Context path= reloadable=true docBase=/home/domaindir/public_html debug=1/ The docBase should specify the actual .war file, not just the directory it's in. Since you're using the appBase

Is mod_jk buffering its log ? Is this a problem ?

2006-01-29 Thread Fred K
Hello: I am using mod_jk between my Apache 1.3.x and Tomcat 5.5.12 on Solaris 8 and Linux (RHEL2 and RHEL3) The one issue which bothers *support* is that if you have an error reported by mod_jk you do not see the error messages in the logfile until you shutdown the server or reach some size

Why does mod_jk write a file ./conf/ajp13.id

2006-01-29 Thread Fred K
Hi: I am using mod_jk.so v1.2.15 (and tomcat 5.5.12) Why does mod_jk need to create and write the file ajp13.id in the configuration directory? ./conf/ajp13.id #Automatically generated, don't edit #Thu Jan 26 16:24:17 GMT 2006 secret=secretword port=8009 I like (feel more secure) to have all

Configuring and using jkstatus for only one Tomcat instance

2006-01-29 Thread Fred K
Hi: Re: mod_jk.so v1.2.15 (and tomcat 5.5.12) I followed the instructions on the web site to enable jkstatus a: http://tomcat.apache.org/connectors-doc/howto/workers.html = Status Worker properties After being puzzled for some time reading the same line over and over on that page, I eventually

Broken Architecture documentation pdf on tomcat.apache.org

2006-01-29 Thread Fred K
Hi: When I look at the Architecture documentation pdf, I see only blank pages in the pdf files linked under Tomcat Architecture. These pdfs, are broken on tomcat.apache.org and when I build Tomcat 5.5.12from source (Linux/Solaris). Bugzilla says it is fixed in September,

Re: how to use j_username j_password in j_security_cheched

2006-01-29 Thread Amila Suriarachchi
see the admin application (server/webapps/admin) see the web.xml to check how to add security constrainsts and use FORM based authentication. see login.jsp to check how to use j_security_checked to authenticate users. amila On 1/27/06, Prashant Saraf [EMAIL PROTECTED] wrote: hello can any on

RE: Configuring and using jkstatus for only one Tomcat instance

2006-01-29 Thread Carpentier Luc (Uniway)
Hello Fred, I defined a load balancer for a single tomcat instance as well, and it doesn't seem slow at all. I think it is more scalable. On our production server, we switched to 2 tomcat instances very easily. If it takes more memory, then it won't be much. Greetings, Luc -Original