Re: Apache Tomcat mod_jk 1.2.5 WSC configuration for Tomcat 5

2003-10-13 Thread Thorsten Westmeier
At 23:04 12.10.2003 -0700, you wrote: Which changes has to be made in the Tomcat 5 server.xml to use the new Connector-Version 1.2.5? By default, Tomcat 5 is configured for JK2, or not? No changes are required in server.xml for any Tomcat versions 3.3.x-5.0.x. Just like with Tomcat 4.1.x, the

RE: Hosting

2003-10-13 Thread Schalk
Another great hosting provider you may want to have a look at is SevenC Computing (www.sevenc.co.za). Linux boxes, with Tomcat, Apache. The staff are all Linux and Java experts and offer 24/7 support. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO

Re: tomcat and mac os 10.2.8 update

2003-10-13 Thread Martin Jacobson
Giuliano Gavazzi wrote: was /usr/local a symbilic link? If so the installation might have replaced it with a directory. so you should copy the new content to the target and reinstate the symbilic link. BTW Using JAVA_HOME: /usr sounds wrong to me. No, that's right for Mac OS X Martin

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Adam Hardy
On 10/13/2003 07:56 AM Bill Barker wrote: Caroline Jen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tim: Before I posted my questions regarding the problem that I encountered, I have gone through

Re: Hosting

2003-10-13 Thread Adam Hardy
:: Hi, :: :: I know this could be a little off topic, but I would like some suggestions about with :: alternatives to host my website (I need a :: mysql DB and J2EE support) :: :: Thanks in advance, http://jakarta.apache.org/struts/resources/hosts.html -- struts 1.1 + tomcat 5.0.12 + java

Unable to locate JSP page from Servlet.

2003-10-13 Thread anunay ashish
Hi, I am calling a JSP page from a servlet as follows: try { //set the attribute and forward to pageFormat.jsp request.setAttribute(servletName, addDataServlet); getServletConfig().getServletContext().getRequestDispatcher(/Tracking_syste m/pageFormat.jsp).forward(request, response); }

Re: Unable to locate JSP page from Servlet.

2003-10-13 Thread Twan Munster
Hello, You've correctly configured your sitemap? En maybe you have to restart tomcat, or reload the servlet in the tomcat manager. good luck Twan - Original Message - From: anunay ashish [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:32 AM

Re: [OT] Hosting

2003-10-13 Thread Adam Hardy
On 10/13/2003 08:21 AM Schalk wrote: Another great hosting provider you may want to have a look at is SevenC Computing (www.sevenc.co.za). Linux boxes, with Tomcat, Apache. The staff are all Linux and Java experts and offer 24/7 support. Kind Regards Schalk Neethling Hi Schalk, I don't know why

Re: Unable to locate JSP page from Servlet.

2003-10-13 Thread anunay ashish
How do we reload servlet in Tomcat manager? - Original Message - From: Twan Munster [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 13, 2003 2:06 PM Subject: Re: Unable to locate JSP page from Servlet. Hello, You've correctly configured your sitemap? En

Re: Unable to locate JSP page from Servlet.

2003-10-13 Thread Twan Munster
go to http:\\localhost:8080 -- manager en klik on the folder where servlet is and click reload - Original Message - From: anunay ashish [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Twan Munster [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:43 AM Subject: Re: Unable

how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Richard Drent \(Drent IT BV\)
Can anyone tell me what this meens, and how to solve. This error accurse when I try to connect to a firebird db, using firebirdsql-full.jar Root cause: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120)

mod_jk

2003-10-13 Thread Stuart Stephen
Hi, I'm running mod_jk and in the mod_jk logs i'm seeing quite a lot of this. If the server is quite busy the occurance of this increases. [Mon Oct 13 08:50:47 2003] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed Should I be worried? Thanks

RE: how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Swapan Mazumdar
Hi Richard, Your problem might be related to the driver class not available in your classpath. You can find the exact cause by looking at the _0002fconnect_00033_0002ejspconnect3_jsp_20.java:82) at line no. 82. Look at tomcat_home/work/../localhost/yourwebapp/jsp/_0002fconnect_00033_0002ejspcon

RE: how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Richard Drent \(Drent IT BV\)
Ok On line 82 is this //Load driver Class.forName(org.firebirdsql.jdbc.FBDriver); And the firebird Jar files are placed in /virtual site/WEB-INF/lib -rwxrwxrwx1 adminsite1 115509 Oct 9 09:04 firebirdjmx.jar -rwxrwxrwx1 adminsite1 336637 Oct 9

RE: how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Swapan Mazumdar
On line 82 is this //Load driver Class.forName(org.firebirdsql.jdbc.FBDriver); I cant tell you if you are using the correct package name for FBDriver.class. Well it would be wise enough if you could look into these jars below by exploding/opening it. Package declration and Driver

RE: [OT] Hosting

2003-10-13 Thread Schalk
Adam Well, there is definitely a slight lag time when connecting to US and European sites. But not to much though. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax:

Re: org.apache.jasper.JasperException: Unable to compile class for JSP

2003-10-13 Thread Ilja
anyone? On Sun, 12 Oct 2003 15:35:25 +0200, Ilja [EMAIL PROTECTED] said: In tried installing opencms (www.opencms.org), but got the following error when running on Tomcat 5.0.7: I think this is a Tomcat 5.0.x related problem, since according to the developers it runs fine on a Tomcat 4.2.x

Re: mod_jk

2003-10-13 Thread Bill Barker
Stuart Stephen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm running mod_jk and in the mod_jk logs i'm seeing quite a lot of this. If the server is quite busy the occurance of this increases. [Mon Oct 13 08:50:47 2003] [jk_ajp13_worker.c (381)]: Error

Http and https

2003-10-13 Thread Damnish
Hello I am using Tomcat 4.1.24 with Apache 2. I want to run two context on the server so that one can be accessed by http or by https. And one should get accessed only by HTTPS. Can some one tell me where should i configure this. Thanks in Advance Damnish

Page context.

2003-10-13 Thread anunay ashish
Hi, What is meant by page context in JSP pages? Thanks in advance. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work I still can connect to http://localhost/secure/ Twan - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 11, 2003 6:38 AM Subject: Re: redirect port 8080 to 443 It's in the FAQ:

Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work I still can connect to http://localhost:8080/secure/ Twan - Original Message - From: Steph Richardson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 12, 2003 5:17 PM Subject: RE: redirect port 8080 to 443 You can

Fwd: Validating with an XML Schema in a JSP

2003-10-13 Thread Babos Andras
Hi Everyone! First of all I'd like to apologize to everyone who receives this mail twice, as I've already posted this question to [EMAIL PROTECTED] The reason for the cross-posting is that I haven't received any replies on the above mentioned list in the last two days, and the problem is getting

Tomcat and JBoss

2003-10-13 Thread Jerald Powel
Hello, Can I install and have running Tomcat and JBoss on the same box? Tomcat on J2SE and JBoss on J2EE. This will logically mean that I have 2 JREs running on one box? Unless Tomcat can be installed on J2EE? Thanks and regards J. - Want to chat

Re: Http and https

2003-10-13 Thread achana
Hi. Assuming you have one fix IP address, you can use name based virtual hosts in httpd.conf. The first vhost is the HTTPS. The second vhost is the HTTP. Hope that helps. Damnish wrote: Hello I am using Tomcat 4.1.24 with Apache 2. I want to run two context on the server so that one can be

hebrew in a request parameter

2003-10-13 Thread Yair Ben-meir
hey i call a link like tmp.jsp?yair= (yairs value is an hebrew letter). in tmp.jsp, i use request.getParameter(yair) and get a string - ? (i looked at the bytes and confirm that it is not a miss in the encoding, but a real ?). how do i tell the tomcat how to deal with the encoding of the

Re: getting Tomcat's server status

2003-10-13 Thread Tim Funk
To remove authorization from the manager app - edit web.xml with respect to your constraints. web.xml follows all the rules of waht a servlet 2.3 webapp is. In tomcat5 - there is a JMXProxy servlet (as part of the manager app) which is a lightweight bridge to perform JMX queries and see the

Problem accessing tomcat with apache

2003-10-13 Thread Lutz Maibach
Hi, I've installed Apache 2.0.40 (comes with RedHat 9.0), Tomcat 4.1.27 and mod_jk1.2.4. After setting up everything using some FAQs mod_jk is working when using localhost but not when using the IP-Address of the server. I suppose it's a well known newbie-fault I'm making so I hope someone can

RE: Tomcat and JBoss

2003-10-13 Thread Aleksandr Shneyderman
Check out JBoss site. They have JBoss version that has Tomcat built into it, saves a lot communication overhead between the two VMs. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 5:27 AM To: [EMAIL PROTECTED] Subject: Tomcat and JBoss

Download jk2 for apache2 and linux

2003-10-13 Thread Anthony Gray
Hi, I am trying to download the Apache-Tomcat connector for Apache2, however I can't find the linux version. I've tried the following links, but have had no luck (even jk): http://apache.ausgamers.com/jakarta/tomcat-connectors/jk2/binaries/

Exception creating bean of class cz.master.dbTest.CreatePersonAction: java.lang.ClassCastException

2003-10-13 Thread Honza Spurný
Hi all, I have page with form, that is mapped on the ACtionClass named CreatePersonAction. Does anyone have any idea what this error can be caused by? Thanks. Sporak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat and multiple processors

2003-10-13 Thread sun zheng
afaik, one java + tomcat instance consumes a lot of memory. i.e. i set it to max 512MB and startup 256MB.. as previous people of the thread said, you always install many tomcat so that one instance for one java application, because it only uses much disk ?? I thought it costs too much memory

Tomcat 5 failing on my Solaris 9 box, help!!!

2003-10-13 Thread JStanczak
I'm having a strange problem. I'm running Tomcat 5 on my Solaris 9. It ran ok for about a day and now it's acting up. I have images in file form that now show up on the page as broken, but the images are there. It's like Tomcat just won't send them. I have a servlet that sends images and it

manager.xml: cannot configure SSL for form-based authentication

2003-10-13 Thread Adam Hardy
Sorry if this comes through twice. I think it got eaten by my email software the first time. I have tried putting the following in $CATALINA_HOME/server/webapps/manager/WEB-INF/web.xml but the SSL config is ignored: security-constraint web-resource-collection web-resource-nameSSL 4

Re: Why should i use Tomcat vs .NET?

2003-10-13 Thread epyonne
Simple decision. If your company is a pure Microsoft shop, i.e. you use Windows desktops, Windows servers, and SQL Server databases, then it is a no-brainer, go with .NET. On the other hand, if your company has a mixed environment like ours, i.e. Windows and Linux OSs, UNIX Servers, Windows

RE: Hosting

2003-10-13 Thread Micael
I have found http://www.lunarpages.com unbeatable. At 08:04 PM 10/12/2003 -0700, Richard Mixon (qwest) wrote: We are extremely happy with the support, capabilities and overall value offered by http://www.mmaweb.net . If your site is commercial or is critical that it be available, I would check

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-13 Thread Filip Hanik
mcastAddr=228.1.2.3 used for membership, tcpListenAddress and tcpListenPort indicate TCP for transporting the actual session. What is in place for security? Ideally you would only replicate data behind your own firewall, if you replicate data in a public zone, you are on your own. So the answer

servlet mappings and security constraints with j_security_check

2003-10-13 Thread Adam Hardy
I am getting the familiar status 400 - invalid direct reference, and yet I am absolutely not surfing to the login page myself. This is the page I am on: https://localhost:8443/mywebapp/registerdone.do and this is the link I am using: https://localhost:8443/mywebapp/private/editprofile.do

Determining remote user and inrole for unprotected pages

2003-10-13 Thread Jim Kennedy
I have recently noticed that when you have a site with both protected and unprotected pages that getRemoteUser returns null on the unprotected pages eventhough I have authenticated against a protected page. isUserInRole also does not work. Is there a way I can determine who is logged in when I

Re: servlet mappings and security constraints with j_security_check

2003-10-13 Thread Matthew Do
How do I delete my name from Tomcat use list? Because I am trying use TOMCAT but it does not work well for me at this time. Have a good day. Matthew Do Seattle City Light [EMAIL PROTECTED] (206) 733 - 9022 [EMAIL PROTECTED] 10/13/03 09:26AM I am getting the familiar status 400 - invalid

Re: servlet mappings and security constraints withj_security_check

2003-10-13 Thread Matthew Do
How do I delete my name from Tomcat use list? Because I am trying use TOMCAT but it does not work well for me at this time. Have a good day. Matthew Do Seattle City Light [EMAIL PROTECTED] (206) 733 - 9022 [EMAIL PROTECTED] 10/13/03 09:29AM How do I delete my name from Tomcat use list?

Re: Determining remote user and inrole for unprotected pages

2003-10-13 Thread Tim Funk
I think this is an open question to the dev list right now as it was recently discussed. The quick summary (IIRC) is if you are logged in and request a page which is not defined in web.xml as protected, the spec doesn't require that the RemoteUser be set. (Which really sucks.) -Tim Jim

Re: Determining remote user and inrole for unprotected pages

2003-10-13 Thread Jacob Kjome
Are you using mod_jk and Apache to front server requests? If so, Apache has the getRemoteUser information and you need to configure Tomcat to tell it where to pull this from. If you are using a recent version of Tomcat, put the following jk2.properties request.tomcatAuthentication=false

RE: Hosting

2003-10-13 Thread Eric MacAdie
I have also had good experience with mmaweb.net. I think their prices are reasonable, even though my site is not commercial. Not too expensive, but not too cheap either. Somebody recommended lunarpages.com, but their prices are so low I'd be a bit leery of using them. EKMacAdie --- Richard

Remove from user group

2003-10-13 Thread Matthew Do
Any body know how to remove one's name for TOMCAT USER GROUP. I got too many e-mails Please HELP Have a good day. Matthew Do Seattle City Light [EMAIL PROTECTED] (206) 733 - 9022 - To unsubscribe, e-mail: [EMAIL

RE: HttpsURLConnection, Tomcat 4.1.27, and jsse.jar

2003-10-13 Thread Nathan Christiansen
I assume that you are trying from within your JSP page to connect to another host using HTTPS (i.e. programmatic https client connections). I have had similar problems. How I solved my problems was to use the Jakarta Commons HttpClient. It will handle the programmatic https client connection

RE: Why should i use Tomcat vs .NET?

2003-10-13 Thread Eduardo Vazquez
Up front I do need to say that the support of this user group has been more than outstanding. I was a sole person looking for help and I received more than I could have expected, and for that thanks to all. Eventually I have lost the war; my CTO has decided on a new technology on his

Jav Options

2003-10-13 Thread Ron Andersen
I stalled Tomcat 5.0 on Win2K adv server.. When I try to start it, it loggs the following in the log file: Unrecognized option: -Xrs The Java optionsettings are: -Dcatalina.home=F:\Program Files\Apache Software Foundation\Tomcat 5.0 -Djava.endorsed.dirs=F:\Program Files\Apache Software

RE: Jav Options

2003-10-13 Thread Larry Isaacs
I believe you will need JDK 1.3.1, or later, to get the -Xrs option. It was added to fix the logout problem JDK 1.3. Cheers, Larry -Original Message- From: Ron Andersen [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: Jav Options

Re: Why should i use Tomcat vs .NET?

2003-10-13 Thread epyonne
That's typical. Almost 10 out of 10 times when an executive who champions a humongous project, it is solely for his/her own resume or agenda. Very seldom it is for the good of the company as a whole. - Original Message - From: Eduardo Vazquez [EMAIL PROTECTED] To: 'Tomcat Users List'

Re: Why should i use Tomcat vs .NET?

2003-10-13 Thread BAO RuiXian
Hmm, you can still forward all the feedbacks to your CTO:) Best Bao Eduardo Vazquez wrote: Up front I do need to say that the support of this user group has been more than outstanding. I was a sole person looking for help and I received more than I could have expected, and for that

RE: Jav Options

2003-10-13 Thread Ron Andersen
Did I missed this from the setup doco, or is this(JDK1.4) missing :) ? Larry Isaacs [EMAIL PROTECTED] wrote:I believe you will need JDK 1.3.1, or later, to get the -Xrs option. It was added to fix the logout problem JDK 1.3. Cheers, Larry -Original Message- From: Ron Andersen

Re: Performance problem?

2003-10-13 Thread Oreste Luci
Neil Aggarwal wrote: Hello: We have noticed that in our app, on occasion, a request takes an inordinately long time to execute even though it is performing a simple task. I added some tracing to the org.apache.jasper.servlet.JspServletWrapper class and get this output immediately before calling

RE: Performance problem?

2003-10-13 Thread Neil Aggarwal
Oreste: I have been profiling the garbase collector in our app and it does not seem to be taking a long time to run. Do you think that could still be the problem? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your

Re: Tomcat 4 Replication problems

2003-10-13 Thread Filip Hanik
OK, I just want to clarify then, both TC 4 and 5 suffer from the issue This problem has been solved in T4, I yet have to implement it in T5, latest version can be found at http://cvs.apache.org/~fhanik/ Filip - Original Message - From: David Rees [EMAIL PROTECTED] To: Filip Hanik

Re: Performance problem?

2003-10-13 Thread Oreste Luci
Neil Aggarwal wrote: Oreste: I have been profiling the garbase collector in our app and it does not seem to be taking a long time to run. Do you think that could still be the problem? Thanks, Neil I think you should try changing the GC and give it a try, may be it will solve your problem.

RE: Jav Options

2003-10-13 Thread Larry Isaacs
You probably didn't miss anything in the documentation. It makes the most sense to include -Xrs, even though JDK 1.3 doesn't support it. If you can't upgrade to JDK 1.3.1 or better, remove the -Xrs. You just have to be aware that if you run Tomcat as a service, logging out will terminate the

RE: Why should I use Tomcat vs .NET?

2003-10-13 Thread Goehring, Chuck Mr., RCI - San Diego
Eduardo, A couple interesting points involves myself and my coworker. He has about ten years of VB programming experience. None of his code can be migrated to vb.net without major rewriting because there is no semblance of backward compatibility. It wouldn't be practical for the customer to

RE: Download jk2 for apache2 and linux

2003-10-13 Thread Mario Juric
Hi Chap, Do not know where the binaries went, but the source code is here: http://mirrors.ccs.neu.edu/Apache/dist/jakarta/tomcat-4/source/ Equivalent binaries should otherwise be here: http://mirrors.ccs.neu.edu/Apache/dist/jakarta/tomcat-4/binaries/ ...but the connectors are absent. I had a

Disabling all session persistence?

2003-10-13 Thread Jeff Tulley
We are trying to track down some weird intermittent behavior that might be related to the persistence of sessions by the default StandardManager in Tomcat. (We are not using PersistentManager). Our application is not completely serializable, and we would like to turn off persistence completely

RE: tomcat jitters, then hangs - please help

2003-10-13 Thread Joe Zendle
We had the same problem w/ TC 4.1.27, sun jvm 1.4.2 and redhat 9. The thing wouldn't work for more than about 12 hours. IMHO, there are some fundamental problems with tomcat as of late. Hate to say it but we solved the problem by throwing away tomcat and using jetty! We are very pleased so far.

Error ?

2003-10-13 Thread Mufaddal Khumri
Hi, I have noticed that when my jsp pages get compiled the first time i get the following error msgs: ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [document] ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope URI is absolute:

Re: Disabling all session persistence?

2003-10-13 Thread Filip Hanik
well, the easiest way is to define a context element, in the context define the StandardManager, and do a pathname=some invalid path this will make the load() and unload() fail, but the server will work like before Filip - Original Message - From: Jeff Tulley [EMAIL PROTECTED] To:

Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi, I wrote a web application with filters. When Tomcat starts it works fine. When I try to reload it using manager I get exceptions in log files. This is a part of my web.xml file concerning filters: filter filter-namefiles/filter-name

RE: redirect port 8080 to 443

2003-10-13 Thread Steph Richardson
Can't think why this is still a problem ( it definitely works for me ) , other than a simple one of URL patterns. Does the URI /secure match the pattern /secure/*, is there a default document there which would cause a redirect that is affecting this. What happens when you try going to

Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Justin Ruthenbeck
What version of Tomcat are you using? At 01:51 PM 10/13/2003, you wrote: Hi, I wrote a web application with filters. When Tomcat starts it works fine. When I try to reload it using manager I get exceptions in log files. This is a part of my web.xml file concerning filters: filter

Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi, What version of Tomcat are you using? Apache Tomcat/4.1.27 Best regards Marcin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Justin Ruthenbeck
Most likely... There's a Bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 Fixed with a hotfix you'll need to download: http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip Hope that works for ya... justin At 02:04 PM 10/13/2003, you wrote: Hi, What version of

Object not found

2003-10-13 Thread Christian Fredrickson
All, I have installed Apache with mod_jk module. I have Tomcat running on port 8011 as there are other instances of Tomcat running on the server. I have configured all my properties files to run a webapp that is running on one of our other instances of Tomcat on the same server. The problem is

4.1.27 Full RPMs

2003-10-13 Thread Randy Watler
Our Tomcat production upgrade process has been constructed around the usage of the full RPMs that were formerly generated by Henri Gomez. Unfortunately, the binary distribution for 4.1.27 no longer seems to include the RPMs that were part of 4.1.24. Of course, www.jpackage.org does have a

Can I read file resources from a .WAR file at runtime ?

2003-10-13 Thread Steph Richardson
I have a web-app that uses several xml, xsd, and other configuration files at runtime ( including during the Application Init event ). We keep these files under various directories under WEB-INF so that we can get their paths at runtime relative to ServletContext.getRealPath( WEB-INF ). When I

Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi, There's a Bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096 Fixed with a hotfix you'll need to download: http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip Hope that works for ya... Jep, thanks for help. Best regards Marcin

Multiple AuthN configs with jk2.properties

2003-10-13 Thread Ian Boston
Hi, I have a number of apps sitting behind apache+mod_jk. Some want apache+mod_jk to manage authN and so require request.tomcatAuthentication=false in jk2.properties and others what to manage authentication themselves with request.tomcatAuthentication=true. Unfortunately the behaviour appears

RE: Why should I use Tomcat vs .NET?

2003-10-13 Thread Richard Norman
What portions of FPSE (FrontPage Server Extensions) requires registration? I have not run into that before. So far my experience has been the oppsite. My job gets the MSDN Universal Subscription so VS is free along with all the platforms. In terms of going from ASP to ASP.NET, you have to

Re: Can I read file resources from a .WAR file at runtime ?

2003-10-13 Thread Justin Ruthenbeck
Instead of referencing the files through classes in the the java.io packages, read the files as resources through the Classloader. This is a *much* preferable way to do what you asking about -- one very good reason for doing it through the Classloader is the dilema you're facing now. So to

Re: Error ?

2003-10-13 Thread Mufaddal Khumri
Hi, Why would I get an error on this ? -No base URI; hope URI is absolute: http://java.sun.com/dtd/web-app_2_3.dtd ? On Monday, October 13, 2003, at 01:27 PM, Mufaddal Khumri wrote: Hi, I have noticed that when my jsp pages get compiled the first time i get the following error msgs:

Declaring resources - web.xml vs. server.xml

2003-10-13 Thread Sasha Borodin
I've Googled and read the documentation without producing a definitive answer to this question: exactly what IS the purpose of declaring resources in web.xml? OK, I've got a GlobalNamingResource set up: Resource auth=Container name=jdbc/DataTrac scope=Shareable

RE: Declaring resources - web.xml vs. server.xml

2003-10-13 Thread Aleksandr Shneyderman
ResourceLink is the Tomcat's way of doing JNDI, so if you port your app on some other server, the deployer will not even know what is wrong if you do not have that entry in your web.xml, because this is the only thing that gets to be moved around (server.xml is not) Looks a bit redundant but it

Custom realm jar file location

2003-10-13 Thread Sasha Borodin
I've written a custom Realm implementation, JAR'ed it up, and have been trying to understand it's proper habitat: 1. If I put it $CATALINA_HOME/server/lib - everything works 2. If I put it $CATALINA_HOME/common/lib - I get an exception: java.lang.NoClassDefFoundError:

RE: Custom realm jar file location

2003-10-13 Thread Aleksandr Shneyderman
according to this diagram Bootstrap | System | Common / \ Catalina Shared / \ Webapp1 Webapp2 ... classes sitting in Catalina can see classes in Common but classes in Common can not see classes in Catalina Your

Log4j debugging of Coyote HTTP/1.1 connector

2003-10-13 Thread Mike Dillon
Hello- I am trying to debug an OutOfMemoryError that I think is occuring inside of the Coyote connector. I have tried a couple of approaches to try to get logging, but I can't get a stack trace for these errors. 1. I stuck a log4j.properties file in common/classes/ setting the level

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Caroline Jen
I am lost. Right now, I have Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.mysql.jdbc.Driver connectionURL=jdbc:mysql://localhost:3306/artimus? user=javauseramp;password=javadude userTable=members userNameCol=user_name userCredCol=user_password

Re: Why should I use Tomcat vs .NET?

2003-10-13 Thread Dov Rosenberg
Contrary to what you think, a MSDN subscription doesn't mean that everything is free for the company. MSDN is licensed on a per developer basis. To be in compliance with the MSDN subscription, each developer that will be using is supposed to be licensed. All of the servers included in MSDN are

Re: Custom realm jar file location

2003-10-13 Thread Tim Funk
You need to put your custom realm in server/lib. That is because the common classloader cannot see the server classloader and your Realm extends a class in the server classloader. -Tim Sasha Borodin wrote: I've written a custom Realm implementation, JAR'ed it up, and have been trying to

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Tim Funk
At any given level (Engine, Host, Context) there is only one Realm which can be used. But each Realm can be overridden in a nested element. So you may do the following: Engine ... Realm class=.../Realm Host ... !-- Using the Engine's Realm -- Context ... Realm ... !-- This

Problem Using Tomcat as a JSP Engine

2003-10-13 Thread Rhugga
I am running Apache 2.0.47 and Tomcat 4.1.27 on Solaris 9 using j2sdk1.4.2_01. I only want to use tomcat for JSP and servlets using a local unix socket for communication. This much is working as far as I can tell. I am using the jk2 connector. Apache: /usr/local/apache2 Tomcat:

Anyway to disable timstamping log files???

2003-10-13 Thread Rhugga
Here is my logs/ directory: catalina2003-10-13.log localhost2003-10-13.log localhost_access2003-10-13.log localhost_admin_log.2003-10-13.txt se_access.2003-10-13.log I do not want the timestamp, I want the logs to keep getting appended to. I manage the log rotation outside of tomcat using

Re: Declaring resources - web.xml vs. server.xml

2003-10-13 Thread Sasha Borodin
Thanks for your quick feedback. So, according to the Servlet spec, I need to declare my resource needs in web.xml; then it's up to the container to provide those resources, and the spec says that is configured via ResourceParams/ in the server's configuration? Or is that bit Tomcat specific as

Re: RH9's Apache 2 and Tomcat 4

2003-10-13 Thread John Turner
My reasons: - source has the fixes first...critical on production servers, especially for security fixes. With source, you don't wait for Red Hat to release something. A lag of several days can mean the difference between weathering a storm and spending the weekend scrolling through logs

[ANN] Updated Apache + Tomcat RH HOWTO

2003-10-13 Thread John Turner
Apache 2 HTTP + Tomcat + JK. Updated with the most recent JK source version, 1.2.5. http://localhost/johnturner/howto/apache2-tomcat4127-jk-rh9-howto.html Virtual hosting HOWTO coming soon. Comments and suggestions welcome. John

Question

2003-10-13 Thread [EMAIL PROTECTED]
Hi, I´m Tomcat User, I have a question: is there any way that I can save a log or a file where I can Know the visit that my users have done, I mean like this: USER LOGIN-TIME LOGOUT-TIMEPAGE-VISITED mrueda 14:00 15:001,2,3,4,20 Thanks for your

Re: Apache Tomcat mod_jk 1.2.5 WSC configuration for Tomcat 5

2003-10-13 Thread Thorsten Westmeier
At 18:34 12.10.2003 +0200, you wrote: Which changes has to be made in the Tomcat 5 server.xml to use the new Connector-Version 1.2.5? By default, Tomcat 5 is configured for JK2, or not? [...] In Tomcat 5 server.xml it's only the following JK Connector: !-- Define a Coyote/JK2 AJP 1.3

service unavailable

2003-10-13 Thread Niklas Saers Mailinglistaccount
Hi, lately my servlets have started generating 503 ERRORS with the following in my logs. Can anyone explain to me what this is so I can hunt down the problem? Right now, I have to restart the webserver, which solves it for a while, and then it comes back again. Cheers Nik 2003-10-13 14:36:02

cannot configure SSL for form-based authentication

2003-10-13 Thread Adam Hardy
I have tried putting the following in $CATALINA_HOME/server/webapps/manager/WEB-INF/web.xml but the SSL config is ignored: security-constraint web-resource-collection web-resource-nameSSL 4 Login/web-resource-name url-pattern/ssllogin.html/url-pattern

tomcat_restart.pl for sausolito = tomcat 4.1.x / jdk 1.4.x for raq 550

2003-10-13 Thread Richard Drent
Thus anyone have edited tomcat_restart.pl files to let the gui work with tomcat 4.1.x / jdk 1.4.x. Thnx Richard Drent Drent IT BV Laarwoud 11 6718 HZ Ede (Gld) (0318) 64 79 15 t (0318) 64 79 45 f (0651) 33 07 90 m -

Configure with tomcat user id

2003-10-13 Thread JDangerous
To support I am attempting to configure tomcat 4.1.27 using default uid/pwd tomcat/tomcat which returns message 'invalid user id' . Please help Regards Jeanne Dangerous 610-834-4544

JSP import command

2003-10-13 Thread Jock Fung
Hi, When I use the following in the JSP using Tomcat 4.1.27, it doesn't work, %@ page import=com.bcit.beans.* % jsp:useBean id=user class=UserData scope=session/ but I need to specify in the class comand the actual path, then it can find UserData in the path. I can remove the page tag and it

Constant strukle with connecting to firebird/interbase

2003-10-13 Thread Richard Drent
Guyzzz Im trying to connect my tomcat to a firebird database server. The first time after a restart of the httpd/tomcat he gifs as an error start Root cause: java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied

Re: [ANN] Updated Apache + Tomcat RH HOWTO

2003-10-13 Thread Chong Yu Meng
Hi John, You may want to correct the URL -- it says localhost in your email. :) Regards, pascal chong John Turner wrote: Apache 2 HTTP + Tomcat + JK. Updated with the most recent JK source version, 1.2.5. http://localhost/johnturner/howto/apache2-tomcat4127-jk-rh9-howto.html Virtual

Re: Configure with tomcat user id

2003-10-13 Thread kgsat
Jeanne if u are using memory authentication feature of tomcat,ensure that the userid and password are available in the /conf/tomcat-users.xml file with the role specified. hope this will help. regards sat - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

  1   2   >