Re: Win2K, Apache 2.0.43 and Tomcat 4.1.18

2003-01-12 Thread jmong
you might consider checking your httpd.conf (it wasn't included), there should be something like the following: on a typical solaris install using mod_jk. I haven't worked with mod_jk2 before (so there might be some differences .. but the idea should be the same) # LoadModule libexec/mod_jk (b

Win2K, Apache 2.0.43 and Tomcat 4.1.18

2003-01-12 Thread Tom Holmes Jr.
I have spent the last three days looking at all the JK2 docs, and all the sites, and even checked the archives of this list. I believe I have done my due diligence on doing research before posting this message, believe me it was a last resort. 1) Apache 2.0.43 was installed and works great on port

Re: ldap library for tomcat

2003-01-12 Thread Peng Tuck Kwok
Martin Smith wrote: I don't think he needs an LDAP library: I think he needs to use JNDIRealm authentication . Haven't checked lately, but I have the impression that's in the standard Tomcat distribution now. Yes it is in the standard Tomcat distribution now. I think it has been included since

mod_webapp causes 2 instances of the one webapp

2003-01-12 Thread Etienne Deleflie
Hello, I am using mod_webapp to connect Apache 2.0.43 to Tomcat 4.0.1 Problem is that both Tomcat AND Apache each cause an instance of the same webapp. So the one webapp is instantiated twice (this breaks all sorts of socket stuff we have in our webapp) there is a reference to this problem (in

Q: Dynamic database connection pooling?

2003-01-12 Thread David Boyer
Instead of predefining connections in either server.xml or another file (such as using DBCP or DBPool), is it possible to have connection pools created on-the-fly? For example in IIS 5.0 under Windows 2000, database connections are automatically pooled. When an ASP requests a database connection,

Re: ldap library for tomcat

2003-01-12 Thread Martin Smith
I don't think he needs an LDAP library: I think he needs to use JNDIRealm authentication . Haven't checked lately, but I have the impression that's in the standard Tomcat distribution now. martin Eriam Schaffter wrote: Or maybe a free one .. have a look at com.novell.ldap on http://www.openl

Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
I discovered that the URL I was using to access the pages was wrong. Never mind. It's working fine. :) > That's not it. I get the following error from 'apachectl configtest' : > Context should start with / > >> Use: >> JkMount *.jsp ajp13 >> JkMount /examples/* ajp13 -- Randall Perry sysTam

Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
That's not it. I get the following error from 'apachectl configtest' : Context should start with / > Use: > JkMount *.jsp ajp13 > JkMount /examples/* ajp13 -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/

Re: session across different domains ?

2003-01-12 Thread Tim Funk
Add something to your webapp which logs when it is loaded. If you see 2 log messages - then it is being loaded twice. One for each virtual host. -Tim Albrecht Berger wrote: I am at a loss. My last guesses: - Its a programming issue - Your tomcat has virtual hosting set up that tomcat treats loc

How do I catch JSP compiler errrors in rd.include()?

2003-01-12 Thread Jason Novotny
Hi, I'm doing the following in a Java class: RequestDispatcher rd = context.getRequestDispatcher("/some.jsp", req, res); and I want to display any compile-time or run-time excpetions. Is there some kind of JspException object in the request containing this information? Thanks, Jas

Re: session across different domains ?

2003-01-12 Thread Albrecht Berger
> I am at a loss. My last guesses: > - Its a programming issue > - Your tomcat has virtual hosting set up that tomcat treats > localhost/webapp and 192.x.x.x/webapp as different webapps thanks, I forgot this point. I have defined a virtual host for localhost to directly map the webapp, but no on

4.1.18 installation problems

2003-01-12 Thread Nathan McMinn
Hi all, After installing tomcat 4.1.18 on windows 2000, I get the following exception trying to access my web application. This app worked fine with 4.0.6. I have also included my web.xml file for this application. Thanks in advance. org.apache.jasper.JasperException: org/apache/xerces/framewo

Re: Can't find JAVA_HOME

2003-01-12 Thread jmong
I concur with Paul's observation below... please check to see if the tomcat is running as a different user and if so either adjust the user's login shell (.profile (bourne) or .cshrc (c-shell)) and add the appropriate java binary also do the following when tomcat attempts to run /bin/ps -ef |

RE: [ OT ] what source code control system?

2003-01-12 Thread Noel J. Bergman
> If it is this simple, you gotta wonder...why no "cvs rename" command... Because, as Jeff Schnitzer points out, it doesn't work. But some people use CVS more as a backup utility for emergency restoration of old versions than as a revision control system. However, others do consider that at any

Re: Basic questions

2003-01-12 Thread jmong
Hi there, Paul's suggestion in #1 is probably the best way to go.. Here's a quick way to do it on solaris. # add the user to the OS useradd myuser # switch to C-shell /bin/csh # run the following script #!/bin/sh JAVA_HOME=/usr/java TOMCAT_HOME=/usr/local/tomcat su - myuser -c "${TOMCAT_HOM

Re: help - tomcat/dbcp deployment

2003-01-12 Thread Rasputin
* Paul Yunusov <[EMAIL PROTECTED]> [0127 19:27]: > On Sunday 12 January 2003 02:50 pm, David Durst wrote: > > > Well, to get DBCP working was not difficult at all. I just followed > > > Tomcat how-to docs. And, as I learned from other people, it's being used > > > on a production level. > > > I ha

Re: JDBCRealm

2003-01-12 Thread Rasputin
* Rob Abernethy IV <[EMAIL PROTECTED]> [0130 19:30]: > Alright, I finally have my answer. Postgres prepends the username to the > password before creating the digest. For example, if I wish to create a > postgres account with the username 'tomcat' and password 'tomcat', postgres > will prepend

Class clash error with log4j?

2003-01-12 Thread Holger Wiechert
I've got a problem with log4j on Linux and maybe the reason is Tomcat-related. I post it to this list too since it's hard to tell, what causes this error. The errors are: log4j:WARN Failed to set property [maxFileSize] to value "200KB". java.lang.IllegalArgumentException: object is not an instance

help - Tomcat/Linux deployment

2003-01-12 Thread Igor I. Tovstopyat-Nelip
I was doing a development of the servlet/JSP web app on Windows and now I'm deploying it on Linux RedHat7.2 for production. The software used is Tomcat - MySQL - DBCP connection pool. On Windows my app is running fine but I have the following problem on Linux. The app runs stable all day long but

Re: JDBCRealm

2003-01-12 Thread Rob Abernethy IV
Alright, I finally have my answer. Postgres prepends the username to the password before creating the digest. For example, if I wish to create a postgres account with the username 'tomcat' and password 'tomcat', postgres will prepend 'tomcat' to 'tomcat' to create 'tomcattomcat' and then make

Re: help - tomcat/dbcp deployment

2003-01-12 Thread Paul Yunusov
On Sunday 12 January 2003 02:50 pm, David Durst wrote: > > Well, to get DBCP working was not difficult at all. I just followed > > Tomcat how-to docs. And, as I learned from other people, it's being used > > on a production level. > > > > My Tomcat's version is 4.1.12. > > > > Thank you. > > Igor T

Re: help - tomcat/dbcp deployment

2003-01-12 Thread David Durst
> Well, to get DBCP working was not difficult at all. I just followed > Tomcat how-to docs. And, as I learned from other people, it's being used > on a production level. > > My Tomcat's version is 4.1.12. > > Thank you. > Igor TN I have been trying to get this damn thing working w/ postgres for ab

RE: Debian packages

2003-01-12 Thread Reynir Hübner
Ok...Thanx for your comment... -reynir > -Original Message- > From: Charles Baker [mailto:[EMAIL PROTECTED]] > Sent: 12. janúar 2003 15:05 > To: Tomcat Users List > Subject: Re: Debian packages > > > > --- Reynir_Hübner <[EMAIL PROTECTED]> wrote: > > Has anyone created debian package

RE: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread mech
Use: JkMount *.jsp ajp13 JkMount /examples/* ajp13 > -Original Message- > From: Randall Perry [mailto:[EMAIL PROTECTED]] > Sent: Sonntag, 12. Januar 2003 19:52 > To: [EMAIL PROTECTED] > Subject: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18 > > > Successfully installed tomcat 4.1.

Re: help - tomcat/dbcp deployment

2003-01-12 Thread Igor I. Tovstopyat-Nelip
Well, to get DBCP working was not difficult at all. I just followed Tomcat how-to docs. And, as I learned from other people, it's being used on a production level. My Tomcat's version is 4.1.12. Thank you. Igor TN > Hi, > > I developed a web-app consisting mostly of servlets and JSP, almost no

Re: Changes in jsps do not appear

2003-01-12 Thread Michael Muratet
On Sun, 12 Jan 2003 10:35:50 -0500 Paul Yunusov <[EMAIL PROTECTED]> wrote: > On Saturday 11 January 2003 11:15 pm, Michael Muratet wrote: > > Greetings > > > > I am using Tomcat 4.1.10 in its standalone mode. My understanding of > > the documentation is that every time a jsp is requested, the sour

mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
Successfully installed tomcat 4.1.18 and can access it on port 8080. Jsp & servlets run ok. Installed mod_jk.so v1.2.2, configured apache and get no errors on startup. But, though I can access the directory pointed to by JKMount, and can load static .html, no .jsp or servlet examples will run. M

Re: http://localhost and DNS

2003-01-12 Thread Nick Sophinos
>Very often I am experiencing problem to browse http://localhost even I use dot >notation http://127.0.0.1 it seems to me there is some problem with my access >to ISP's DNS server. The point of the localhost or 127.0.0.1 (loopback) interface is that you do not need a network connection to test n

Re: JNDI Problem under 4.1

2003-01-12 Thread Jacob Kjome
Actually, you can define your JNDI Datasource in and then define a inside your context although I would have thought that would have worked as well? Jake At 10:25 PM 1/12/2003 +1300, you wrote: On Sun, 12 Jan 2003 21:32, Jacob Kjome wrote: > change "user" to "username" and "driverName" to "

Re: http://localhost and DNS

2003-01-12 Thread Paul Yunusov
On Sunday 12 January 2003 02:23 pm, Tomislav Miladinovic wrote: > Hi All, > > Very often I am experiencing problem to browse http://localhost even I use > dot notation http://127.0.0.1 it seems to me there is some problem with my > access to ISP's DNS server. I would like to ask any one from Canada

http://localhost and DNS

2003-01-12 Thread Tomislav Miladinovic
Hi All, Very often I am experiencing problem to browse http://localhost even I use dot notation http://127.0.0.1 it seems to me there is some problem with my access to ISP's DNS server. I would like to ask any one from Canada using Rogers' ISP about their experience, let me know please have you

Re: Can't find JAVA_HOME

2003-01-12 Thread Paul Yunusov
On Sunday 12 January 2003 03:34 am, David Durst wrote: > I just dumped the tomcat 4.1.18 from RPM onto a system. > It can't seem to find JAVA_HOME. > > I echo $JAVA_HOME > and it comes back perfect, any clues Specific error messages and echo output, please? Also, you could be running Tomcat a

Re: Changes in jsps do not appear

2003-01-12 Thread Paul Yunusov
On Saturday 11 January 2003 11:15 pm, Michael Muratet wrote: > Greetings > > I am using Tomcat 4.1.10 in its standalone mode. My understanding of the > documentation is that every time a jsp is requested, the source is > checked and reparsed if it is more recent than the object in memory. > (Where

Re: Debian packages

2003-01-12 Thread Charles Baker
--- Reynir_Hübner <[EMAIL PROTECTED]> wrote: > Has anyone created debian packages of tomcat 4.1.x ? > Please inform me of where to find these if there are > any available (I've only found some unstable > packages). > > Thanx > [EMAIL PROTECTED] That is one of the reasons I upgraded my machine t

Re: ldap library for tomcat

2003-01-12 Thread Rob Augustinus
now I'm getting confused :-) but still it's good to see some alternatives.. I need to implement ldap for authorisation in a couple of months.. so I'll need to check this out as well.. Rob On Sun, Jan 12, 2003 at 12:33:24PM +0530, Kaustuv Sharma wrote: > I too am using the Netscape Directory SDK

Re: Can't find JAVA_HOME

2003-01-12 Thread Rasputin
* David Durst <[EMAIL PROTECTED]> [0102 08:02]: > I just dumped the tomcat 4.1.18 from RPM onto a system. > It can't seem to find JAVA_HOME. > > I echo $JAVA_HOME > and it comes back perfect, any clues what does ls $JAVA_HOME return? If your java binary is in /opt/bin/java, it should be

Re: HTTP Status 404 with Tomcat 4.1.18

2003-01-12 Thread Nihita Goel
Thanks It is working this way. Nihita Paul Yunusov wrote: > On Saturday 11 January 2003 10:03 am, Paul Yunusov wrote: > > You don't need to add a context for your webapp to server.xml. Add this to > > your webapp's web.xml: > > > > > > AnyNameWorks > >TestServlet > > > > > > > > AnyNa

Re: JNDI Problem under 4.1

2003-01-12 Thread peterha
On Sun, 12 Jan 2003 21:32, Jacob Kjome wrote: > change "user" to "username" and "driverName" to "url" Did this - but still had the same problem. A little reading put me right however, as I have now found that the reason was that I was attempting to define the context in the . This appears to wo

Re: trouble w/ jk2 vs. Apache2 on OSX 10.2.3: "Segmentation fault $HTTPD -k $ARGV"

2003-01-12 Thread Anthony Marlowe
Hi Richard, Which package did you use to create the mod_jk2.so and jkjni.so? I build everything from the: jakarta-tomcat-connectors-jk2-2.0.2-src source and every things works correctly. Included is a copy of my jk2.properties and workers2.properties. The [vm:] is at present, because I working

Re: JNDI Problem under 4.1

2003-01-12 Thread Jacob Kjome
change "user" to "username" and "driverName" to "url" Jake At 09:23 PM 1/12/2003 +1300, you wrote: I have just installed Tomcat 4.1 - to date I have been using Tomcat 4.0. In 4.0 I have the following resource in the DefaultContext. I have copied this context from the sever.xml of 4.0 to the ser

Re: Various bugs with mod_jk and mod_jk2? And doesApache2.0.43+mod_jk2=inevitable hanging?

2003-01-12 Thread Raiden
In the tomcat-dev group there were a few discussions/code patches to support a ForwardDirectories JkOption in mod_jk (which didn't work for me when I tried, BTW) which would send a request to Tomcat for each file listed in the DirectoryIndex (if it matched the correct URI mappings). I was hoping t

JNDI Problem under 4.1

2003-01-12 Thread peterha
I have just installed Tomcat 4.1 - to date I have been using Tomcat 4.0. In 4.0 I have the following resource in the DefaultContext. I have copied this context from the sever.xml of 4.0 to the server.xml of the 4.1 version. Otherwise the war I am deploying on both is identical. userjoe pass

Re: Webapp specific endorsed dir?

2003-01-12 Thread Jacob Kjome
It violates the Sun classloading spec to load endorsed classes from WEB-INF/lib or WEB-INF/classes. There are a number of bugs that have been filed on this and the conclusion of all of them is that Tomcat simply won't support any sort of overriding of XML or DOM libraries from the webapp clas

Can't find JAVA_HOME

2003-01-12 Thread David Durst
I just dumped the tomcat 4.1.18 from RPM onto a system. It can't seem to find JAVA_HOME. I echo $JAVA_HOME and it comes back perfect, any clues -- To unsubscribe, e-mail: For additional commands, e-mail: