HTTP Status 501 - Error

2003-04-01 Thread mgp2
Hi all. I have a servlet that to load it I obtain the following error: HTTP Status 501 - The ??M??654??jGET method isn't define in RFC 2068 specification and does not support the API Servlet. Description: The server does not support the functionality needed to fulfill this request. For

AJP,IIS - losing request parameters

2003-04-01 Thread Hans Liebenberg
Hi, I'm experiencing things directly from the twilight zone here! I have a very basic html form. I submit the form to my tomcat application running on port 8080, and I retrieve the parameters just fine as exepected. But, when running the application configured to use ajp13, IIS and the isapi

RE: Casting DBCP Connection to OracleConnection - Solved IT!

2003-04-01 Thread Marco Rossi
Now it's working!! Thanks guys! I'm sorry, but i think to have an old release of commons-dbcp.jar, and i don't' find the getDelegate() method. It's in org.apache.commons.dbcp.PoolableConnection class?? In my tomcat common/lib; apparently it is the debug version of Oracle's jdbc implentation.

RE: Tomcat on Solaris 2.9

2003-04-01 Thread David Godfrey
I use Tomcat 4.1.18 on Solaris 9, running j2sdk1.4.1, with the system fully patched with no problems Rgds D -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: 31 March 2003 23:28 To: Tcat Users Subject: Tomcat on Solaris 2.9 Is anyone out there running tomcat 4.1.24

Byte Ranges

2003-04-01 Thread Donie Kelly
Hi all Can anybody explain how my service can support byte ranges in the GET request. When data is requested from our application it comes from a database and we cannot ask it for a specific range of bytes. My question is, will Tomcat look after this automatically and discard the leading bytes

Taglib on tomcat 4.1.24

2003-04-01 Thread [EMAIL PROTECTED]
Hi everyone, I wrote some taglibs which are running on tomcat 3.3, and use a body content. For example, there is one for formatting buttons position on the page in functions of their type (action on the form or link). The idea of it is to create a dynamic spearation between the two types of

RE: Taglib on tomcat 4.1.24

2003-04-01 Thread Simon MacMullen
perhaps the new tomcat manager keep to much things in cache... Absolutely. Tag instances may be re-used. This means you can only do setup for your tag at the last minute in doStartTag(). See http://www.mail-archive.com/[EMAIL PROTECTED]/msg00846.html for more info, explained more

Re: Not starting with j2ee.jar in /lib direcotry

2003-04-01 Thread Ramsay Domloge
I believe that using j2ee.jar will screw with Tomcat's own codebase. You should use a JavaMail extension instead See http://java.sun.com/products/javamail/ to download just the JavaMail extension. R Alexandre Alvarez Martini Santos wrote: Hello, I put j2ee.jar in /common/lib directory and

RE: Byte Ranges

2003-04-01 Thread Ralph Einfeldt
AFAIK you have to implement it on your own if the datasource is not a file. To see how to implement it you might have a look at the tomcat source:

gzip compression in Coyote on 4.1.24

2003-04-01 Thread Ronald Klop
Hello, Sorry if this is send twice, but I think my previous mail got lost in cyberspace somewhere. (Can't even find it in my Sent-box.) I'm trying to use gzip compression with tomcat 4.1.24. And it doesn't work, because it checks if content-type is 'text/html', but this fails if the

RE: Tomcat on Solaris 2.9

2003-04-01 Thread mech
I used Tomcat 4.1.18 on Solaris 9 (Tomcat Manager app says: Apache Tomcat/4.1.18 1.4.0_00-b05 Sun Microsystems Inc. SunOS 5.9 sparc) Had some problems with Tomcat hanging in connection with https/ssl. Maybe also combined with some logging problem. At least that's what I found out from my log

user principal, realm

2003-04-01 Thread Oliver Wulff
Hi Can I implement a filter which sets the current principal, so that calls to request.getUserPrincipal().getName() succeed? In our company, an apache server in front of tomcat authenticates the client and delegates the user principal as an http header attribute. I want to read this principal

RE: user principal, realm

2003-04-01 Thread Ralph Einfeldt
Although I havn't tried it, I guess yes. I think you have to define your own RequestWrapper that lets you set the principal. -Original Message- From: Oliver Wulff [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: user principal, realm

RE: Taglib on tomcat 4.1.24

2003-04-01 Thread Arnaud HERITIER
doStartTag ??? isn't it doEndTag ?? If you release your properties at the end of the doStartTag, you can't use them in the body. But if I use the doEndTag, Shawn says that doEndTag() is not necessarily called at the end of every invocation (in cases of abnormal termination -- e.g., an exception

Single sign on problem!!

2003-04-01 Thread Madhavi Thottempudi
Bringing the post up!! Any suggestions on this?? Please let me know...Thanks -M At 17:22 28/03/2003 +, you wrote: Hi there! I am trying to use Single sign on feature of tomcat and got stuck. My problem is - even after configuring my webapps (all running under tomcat) for single sign-on, when

RE: Taglib on tomcat 4.1.24

2003-04-01 Thread Simon MacMullen
perhaps the new tomcat manager keep to much things in cache... Absolutely. Tag instances may be re-used. This means you can only do setup for your tag at the last minute in doStartTag(). doStartTag ??? isn't it doEndTag ?? Well, I meant get things ready for your tag, not clean up

Re: Single sign on problem!!

2003-04-01 Thread Gabriel Santonja
On Tue, 01 Apr 2003 13:54:23 +0100 Madhavi Thottempudi [EMAIL PROTECTED] wrote: Bringing the post up!! Any suggestions on this?? Please let me know...Thanks -M Ok, I'm not sure but 1) Is your realm correctly configure?. Are you sure that your realm isn't protect only your context. Try to

which connector to use in order to get client cert

2003-04-01 Thread Mark W. Webb
Is there a way to have a servlet get the client certificate that was used to connect to apache? I have tomcat 4.1.24 running as the backend to apache 2.0.44. Clients set up a mutually authenticated SSL connection to apache, and all servlet requests get forwarded to tomcat. What connector

Re: Single sign on problem!!

2003-04-01 Thread Madhavi Thottempudi
Hi ! Thanks for UR reply. I am doing everything U were suggesting me to (pls see my previous mail). I know that the realm is working well, because it is authenticating the user properly and yes, I did put that under engine level. The problem I am having is that it's asking me to re-authenticate

Tomcat Crush

2003-04-01 Thread Gregory Rouchotas
Hello all, I am running tomcat 4.0.4 on solaris8. I get a very strange problem where with no specific reason tomcat produces the following error In the Catalina_log: 2003-04-01 19:12:54 Ajp13Processor[8009][9] process: invoke java.net.SocketException: Socket closed at

Re: Single sign on problem!!

2003-04-01 Thread Gabriel Santonja
On Tue, 01 Apr 2003 14:29:57 +0100 Madhavi Thottempudi [EMAIL PROTECTED] wrote: Hi ! Thanks for UR reply. I am doing everything U were suggesting me to (pls see my previous mail). I know that the realm is working well, because it is authenticating the user properly and yes, I did put that

RE: Taglib on tomcat 4.1.24

2003-04-01 Thread Arnaud HERITIER
-Message d'origine- De : Simon MacMullen [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 avril 2003 15:05 À : Tomcat Users List Objet : RE: Taglib on tomcat 4.1.24 perhaps the new tomcat manager keep to much things in cache... Absolutely. Tag instances may be re-used. This

Can not shotdown Tomcat server 4.1.24

2003-04-01 Thread Jianqing Cao
To whom it may concern, I have successfully downloaded and installed Tomcat4.1.24 version to my Window 2000 machine.Whenever I start up my machine it will start up automatically. I, however, could not shutdown it by either clicking on the Stop Tomcat manu or typing command shutdown under

Urgent

2003-04-01 Thread sanjay
Hi, I am using Tomcat 4.0..I have set all the paths.When as a test i try to access the url http://localhost:8080/index.html I only get a blank page.No error is displayed. Pla help me out. Thanks Sanjay __ Do you Yahoo!? Yahoo! Tax Center - File

gzip compression in Coyote from 4.1.24

2003-04-01 Thread Ronald Klop
Hello, Can somebody confirm if gzip compression works in Tomcat 4.1.24? I have found that it is not working if the Content-Type contains extra info like ';charset=us-ascii'. The only bug reports I can find about this are: 18073 (made by myself) and 2820 [1]. I am wondering if other people are

Re: Single sign on problem!!

2003-04-01 Thread Madhavi Thottempudi
Hi Gabriel! I really appreciate your help. Thanks. I will try SSO on 4.1.24 and let you know how it goes. btw, my mail id is [EMAIL PROTECTED] regards, M On Tue, 01 Apr 2003 14:29:57 +0100 Hi ! Thanks for UR reply. I am doing everything U were suggesting me to (pls see my previous mail). I

Problem running jsp pages

2003-04-01 Thread Donie Kelly
Hi all I cannot get any jsp pages to run at all. All I get is this StandardContext[]: Servlet threw load() exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871) at

Re: Can not shotdown Tomcat server 4.1.24

2003-04-01 Thread Konrad Rusz
Hello. Your Tomcat is started by Windows service and you cannot stop it using 'shutdown.bat' command. You have to type (in command prompt) net stop apache tomcat 4.1 - if it is, of course, correct name for your Tomcat service. Shutdown.bat command is used only if you started your Tomcat by

Re: Urgent

2003-04-01 Thread Becker
Hi, try the http://193.174.127.135:8080/index.jsp By Schorsch - Original Message - From: sanjay [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 12:38 PM Subject: Urgent Hi, I am using Tomcat 4.0..I have set all the paths.When as a test i try to access the url

classcastexception in bootstrap.jar though the jars are loaded

2003-04-01 Thread David Wahlund
Hi, I'm unable to start Tomcat due to ClassNotFoundException. The classpath to bootstrap.jar and tools.jar is correct and defined. And the home directory too. All the jars are loaded, but still I get a classcastexception. Under what cirumstances could this occur? It there anything[system

Re: DataSource misconfigured?

2003-04-01 Thread Jacob Kjome
Are you using a finally bock to close your connections? You might be reaching the maximum connections allowed in the pool for DBCP. Please provide an example of a query statement where you do try/catch/finally. If you are not checking if your connections are not null and then making a last

RE: Tomcat Crush

2003-04-01 Thread Shapira, Yoav
Howdy, There's always a specific reason ;) It's hardly ever obvious, unfortunately. In this case, could it be because the client closes the browser or goes to another web page while the request to your site is processing? Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Tomcat on Solaris 2.9

2003-04-01 Thread Shapira, Yoav
Howdy, Yes to your first question, no to your second. All is good. Make you're your Solaris servers contains the OS patches required by the JDK. Yoav Shapira Millennium ChemInformatics -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:28 PM

Re: Can Tomcat (Servlet) read the DocumentRoot from an Apache web server?

2003-04-01 Thread Jacob Kjome
Are you running out of the ROOT directory? If so, then that is correct. The real path of / is relative to your context so it would give you the absolute path to the root of your context, whichever context that isthat is if you are running from a directory and not directly from a .war

Applet -Tomcat 4.1.

2003-04-01 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: Applet -Tomcat 4.1.

2003-04-01 Thread Shapira, Yoav
Howdy, Make sure your applet archive/codebase attributes are correct. Make sure all the classes the applet needs are indeed compiled and placed in the location named by the archive/codebase attribute. Make sure the server is up and running properly without errors. Yoav Shapira Millennium

RE: Applet -Tomcat 4.1.

2003-04-01 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

Re: Applet -Tomcat 4.1.

2003-04-01 Thread Jacob Kjome
Just make sure that the library that the applet is pointing to is publicly available. This means that it does *not* go in WEB-INF/lib. Put it where you put your static html, jsp's, images, css, and other public stuff. Jake At 03:39 PM 4/1/2003 +0100, you wrote:

Antwort: RE: user principal, realm

2003-04-01 Thread Oliver Wulff
I took a look to JavaDoc and saw that all methods are deprecated. Is it really the right way? My first thought was that it's very low level. Doesn't there exist an easier solution for my problem? ** Oliver Wulff Zürich

Form Auth

2003-04-01 Thread Michael D. Kirkpatrick
I am not quite sure if this question is suitable for this mailing list. If not, please forgive me. I am using the form authentication for adding security to one of my apps. Since this app will be in use with several web sites, I am forced to pass something like ?site=somesite in my url. The

RE: Applet -Tomcat 4.1.

2003-04-01 Thread Shapira, Yoav
Howdy, No it's not necessary to use a jar file. It's probably a good idea though. Perhaps you will find an applet tutorial useful: http://java.sun.com/docs/books/tutorial/applet/ This list is supposed to be used for tomcat-specific questions, and is a heavily trafficked list as is. Please

RE: book on EJB

2003-04-01 Thread Jeremy Whitlock
Chris, I tried Jonas and JBoss and never got them working correctly with Tomcat. I use OpenEJB as it's easy to get working and is accessible via Tomcat with very minor configuration. If you would like any help setting it up, let me know. Later, Jeremy -Original Message- From:

RE: Tomcat 4 As A Windows Service

2003-04-01 Thread Longley, Andrew
The main issue this does not *seem* to resolve, unless I am missing something, is that there does not seem to be a place here for properly configuring the ports for a second or third tomcat on the same machine. Additional Tomcats need their own ports, correct? One solution to this *may* be to

Re: Form Auth

2003-04-01 Thread Henning Heil
Hi Michael, Michael D. Kirkpatrick wrote on 01.04.2003 17:05 I am not quite sure if this question is suitable for this mailing list. If not, please forgive me. [snip] So here is my question. How can I capture the original query string or make the query string in web.xml dynamic? in

javac: invalid flag: C:\Program

2003-04-01 Thread Roar Skullestad
I moved my webapp to another Tomcat installation, and I now get an exception that indicates that the java file name parameter to javac is truncated (javac: invalid flag: C:\Program). All other webapps works fine. Any ideas? - Roar org.apache.jasper.JasperException: Unable to compile class for

RE: javac: invalid flag: C:\Program

2003-04-01 Thread Shapira, Yoav
Howdy, Spaces in file paths are evil... You need to ensure the full path is quoted (c:\program files...) or use a path without spaces, e.g. by re-installing tomcat in c:\tomcat4.1 or something like that. Yoav Shapira Millennium ChemInformatics -Original Message- From: Roar Skullestad

OT: PreparedStatement with dynamic parameter list

2003-04-01 Thread Chakravarthy, Sundar
Has anyone constructed a PreparedStatement where the number of ?s ( i.e bind variables ) is unknown at compile time ? Is there any support of that in JDBC ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

DriverclassName is required (mysql)

2003-04-01 Thread Mark.Gargan
Hi Folks, I'm trying to install jUDDI in my tomcat installation. The installation is from the java webservices pack from the sun site. I'm trying to setup mysql as the underlying database for the UDDI Registry. I've inserted the following context into the server.xml as instructed in

Re: javac: invalid flag: C:\Program

2003-04-01 Thread Andy Meadows
Or, you could use the short file name. For Program Files, this is typically Progra~1. However, you can find this by running dir /x. This will display your short 8.3 no spaces filename. Andy - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Form Auth

2003-04-01 Thread Michael D. Kirkpatrick
It returns null. I noticed that it places all the POST/GET information into a session to be re-submitted to the actual page after successful login. Know of a way that I can access the session information to extract a specific string in it? Henning Heil wrote: Hi Michael, Michael D.

RE: tomcat 4.1.18 NT service

2003-04-01 Thread Cox, Charlie
I had this same prob on 4.0.x and the bug I had opened was labelled as a 'worksforme' since they could not reproduce it(bug 4524). It happened on a clean install of win2k that only had office 2k I think. I think it was a problem with the JavaService that was used with tomcat since tomcat worked

Multiple coyote jk2 connectors?

2003-04-01 Thread Quinton McCombs
How do you configure two coyote jk2 connectors on the same server? I have tried assigning different ports for each one but they both take the port specified in jk2.properties. Is it possible to define multiple ports in jk2.properties?Is there some setting for the connector to specify the

Re: Form Auth

2003-04-01 Thread Nelson Brito
Hi, I'm very new with tomcat and perhaps this question is a bit too dumb... but i'd like to know if i can still use apache as my web server, and load some sort of a tomcat module to serv my jsp?? like i do with php... i can't find any doc about this on the manual :-( Thank you very much, nb

Re: OT: PreparedStatement with dynamic parameter list

2003-04-01 Thread John Turner
The SQL parameter passed to java.sql.Connection.preparedStatement() is a String. You can write whatever logic you want to build that string, including counting the number of arguments obtained from somewhere else and building the right number of placeholders accordingly. Probably won't be

Re: OT: PreparedStatement with dynamic parameter list

2003-04-01 Thread Larry Meadors
Here are a couple of options for this: The open-source ibatis database framework (www.ibatis.com) lets you do this. Another home-grown solution would be to create a StringBuffer for your SQL, and a map for the parameters. Then you can prepare the statement, and iterate through the map setting

JNDI browser

2003-04-01 Thread Mark.Gargan
Hi there, There's a jndi-browser available for jboss3.x. I was wondering if it was application to tomcat 4.x as well? If not is there a jndi browser available? Thanks, Mark.

RE: Tomcat Crush

2003-04-01 Thread Gregory Rouchotas
I don't think so. I have monitored the Catalina_log while stopping the request of completely closing the window but the exception did not appear. If it is that is there anything I can do to prevent tomcat from crushing? Could it be something else? Thanks Greg -Original Message- From:

Re: Form Auth

2003-04-01 Thread Michael D. Kirkpatrick
Search for mod_jk It is rather easy to setup. You run your apache web server on port 80 (default). You run Tomcat on port 8080 (default). You use mod_jk to define *.do and *.jsp to be served with Tomcat. Note: Tomcat's home directory is different then Apache's. You will have to play with some

RE: Tomcat Crush

2003-04-01 Thread Shapira, Yoav
Howdy, As you can see from the stack trace, the exception is from the AJP connector, not from tomcat internally. I also wouldn't qualify this as a tomcat crash (and certainly not as a crush ;)) because the JVM doesn't stop and the server responds to further requests. Until you can reliably

thank you

2003-04-01 Thread Nelson Brito
Thank you very much! nelson On Tue, 1 Apr 2003, Michael D. Kirkpatrick wrote: Search for mod_jk Nelson de Brito Dept. de Quimica | Fac. de Ciencias do Porto | tel. +351226082841 R. do Campo Alegre| fax. +351226082959 4169-007 Porto|

Re: Single sign on problem!!

2003-04-01 Thread Madhavi Thottempudi
Hi Gabriel! But : I'm using the 4.1.24 (because of some bug in realm authentication) and i use realm with the sso and 2 servlets and it work. SSO still doesn't work for me, even on Tomcat 4.1.24 Obviously I am doing something wrong either in my configuration file or in the way I access them. If

RE: Tomcat Crush

2003-04-01 Thread Gregory Rouchotas
I agree with all this but the end result is that for some reason the Tomcat process dies after a certain amount of time that these exceptions happen. Give that as you say it looks like the connector is causing this what can I do to stop it from happening? Could it be the version of the connector?

RE: Tomcat Crush

2003-04-01 Thread Shapira, Yoav
Howdy, Perhaps it is worth your time to try a different connector. But I think it's more worth your time to be able to reproduce this consistently. Have you searched Bugzilla for related bugs? Yoav Shapira Millennium ChemInformatics -Original Message- From: Gregory Rouchotas

Deployment trouble: Directory Listing For /

2003-04-01 Thread Philip S. Wachtel
Hi there, I just joined the list, so if this question has been asked recently, please forgive me. I'm using Tomcat 4.1 on Redhat 7.3. I know that the server is working as the admin application seems to work, although it mangles the server.xml file pretty good. The trouble I'm having is that

RE: Deployment trouble: Directory Listing For /

2003-04-01 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

tomcat IIS configuration please help

2003-04-01 Thread Warren Sweetman
can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not

JSP pages will not work for me. Please help

2003-04-01 Thread Donie Kelly
Hi all, I posted this earlier and no response and I've been looking at it ever since to no avail. I have two machines behind a load balancer ant he jsp pages work on one and not the other. Both machine use the same release of software for both jdk and tomcat and our application is identical on

RE: tomcat IIS configuration please help

2003-04-01 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: Deployment trouble: Directory Listing For /

2003-04-01 Thread Shapira, Yoav
Howdy, Is the web.xml you quoted in the ROOT context or in your own context? The url-pattern in web.xml is relative to the context root. Yoav Shapira Millennium ChemInformatics -Original Message- From: Philip S. Wachtel [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:29 AM

Re: Form Auth

2003-04-01 Thread Jeff Tulley
I just found out that this is a known problem with the Coyote connectors, both the HTTP connector and the JkHandler connector. There is some code not implemented or something, and there is already a bug report in bugzilla. To verify if we are talking about the same thing, go back to using an old

RE: DataSource misconfigured?

2003-04-01 Thread Steve Gums
Thanks Jacob! My problem was an unsuccessful close on one of my major servlets. Just a lame oversight on my part that caused a large headache. So for everyone else...REMEMBER to close your connections! Steve -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]

RE: tomcat IIS configuration please help

2003-04-01 Thread Warren Sweetman
Yes I have spent a few hrs checking up that I had done what I was supposed to do. I have followed the small bits of instruction that I could find but no joy. que chingadera. I have connected apache to tomcat on a number of occassions without problem. Its just when I get to IIS that the

Seperate tomcats - one apache

2003-04-01 Thread Steve Harris
Hi all, I'm having some fun with some applications supplied to us that may be casuing a problem wiht each other, i.e. one application may be causing the whole tocat environment to fail - thus affecting the others. I'm toying with the idea of trying to run a signle apache but with multiple

Re: Deployment trouble: Directory Listing For /

2003-04-01 Thread Philip S. Wachtel
Hi there, Thanks for your help. In the main server.xml file, I have only: Context path= docBase=ROOT debug=0/ as a context. I have a directory: /var/tomcat4/webapps that contains news.xml This file contains: __ Context path=/news docBase=../server/webapps/news

Re: Seperate tomcats - one apache

2003-04-01 Thread John Turner
I've been trying to do it for over a day, with mod_jk, with no luck. I think at this point I will have to use 2 complete installs of Tomcat...up 'til now I have trying to use one install of Tomcat but two instances via CATALINA_BASE. John On Tue, 01 Apr 2003 08:46:11 -0800 (PST), Steve Harris

Re: Form Auth

2003-04-01 Thread Michael D. Kirkpatrick
Ok. For configuration and some implementation, I am still a newbie here. How do you change the connector to a non-Coyote one? Which one would you recomend? Where can I find it? Jeff Tulley wrote: I just found out that this is a known problem with the Coyote connectors, both the HTTP

How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris

2003-04-01 Thread Carlos Alberto Peláez Ayala
Hello Friends, Iam a beggining in the use of javabeans and jsp pages. I try to run this example: The file login7.jsp: jsp:useBean id=FormBean class=userinfo.FormBean/ jsp:setProperty name=FormBean property=*/ HTML HEAD TITLEForm Example/TITLE /HEAD BODY BGCOLOR=#cc % if

Antwort: RE: tomcat 4.1.18 NT service

2003-04-01 Thread Oliver Wulff
I had also a problem with tomcat running as a W2K service. In some cases, tomcat just hangs. It uses almost 100% of CPU resources. I used the tomcat.exe to do it which doesn't work. It works fine, if I execute startup.bat. It does work now with JavaService.exe from

RE: How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris

2003-04-01 Thread graghupathy
remove the constructor and initialize the variable to null and try ... should be package userinfo; import java.io.*; public class FormBean implements Serializable private String name = null; private String email = null; public void setName(String name) this.name = name; }

RE: Deployment trouble: Directory Listing For /

2003-04-01 Thread Shapira, Yoav
Howdy, Yes, that answers my question very well. Given your configuration, the URL for your servlet is http://yourserver/news/news as the /news url-pattern is relative to the /news docBase of your webapp. BTW, I doubt you really mean the privileged=true in news.xml. It's more likely a leftover

Using JMX with Tomcat - registering my MBean

2003-04-01 Thread Michael Mattox
I've looked at the same code included in the O'Reilly JMX book but it's not a big help because it doesn't give any examples in a servlet container. I've also looked at the SUN RI but it's the same problem. I have a plain old java object that is in my service layer. My Actions call it and it

Re: Form Auth

2003-04-01 Thread Jeff Tulley
It is done through server.xml. I don't know what web server connector you were using, but if it was Apache and mod_jk, you can still use it. On Tomcat's side, comment out the Coyote connector, which looks like: Connector className=org.apache.coyote.tomcat4.CoyoteConnector

RE: Using JMX with Tomcat - registering my MBean

2003-04-01 Thread Shapira, Yoav
Howdy, This will give you a start: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto. html Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Mattox [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 12:04 PM To: Tomcat Users List

Reasons for integrating Tomcat with Apache

2003-04-01 Thread Sreedhar, Dantam
Hi, Could any one point me some document which explains, why Tomcat should be integrated with Apache? I am running Tomcat on Solaris 2.8. Thanks, Sreedhar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Deployment trouble: Directory Listing For /

2003-04-01 Thread Philip S. Wachtel
Oh, man -- that was it! Bless you. Philip - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 12:02 PM Subject: RE: Deployment trouble: Directory Listing For / Howdy, Yes, that answers my question very well.

RE: Reasons for integrating Tomcat with Apache

2003-04-01 Thread Shapira, Yoav
Howdy, STFA ;) Start here: http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 Yoav Shapira Millennium ChemInformatics -Original Message- From: Sreedhar, Dantam [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 12:14 PM To: [EMAIL PROTECTED] Subject: Reasons for integrating Tomcat

RE: Tomcat 4 As A Windows Service

2003-04-01 Thread Jacob Kjome
I haven't tried this, but you could pass along a -Dcatalina.base=%CATALINA_BASE% When running the batch files to start Tomcat, the environment variable CATALINA_BASE, if specified, declares where your custom instance of Tomcat is with its own conf/server.xml (along with the other config

Re: Reasons for integrating Tomcat with Apache

2003-04-01 Thread John Turner
http://tomcatfaq.sourceforge.net http://tomcatfaq.sourceforge.net/apache.html and, of course, the mailing list archives. John On Tue, 1 Apr 2003 22:44:12 +0530, Sreedhar, Dantam Dantam- [EMAIL PROTECTED] wrote: Hi, Could any one point me some document which explains, why Tomcat should be

RE: DriverclassName is required (mysql)

2003-04-01 Thread Mark.Gargan
Hi Folks, I was using the Tomcat within the Java WebServices Development Pack from Sun. I promptly got rid of it cos I like my dos output. Now instead of getting the error that the driverClassName is required, now Tomcat says that it cannot load JDBC class null. This would be fair enough

Re: Form Auth

2003-04-01 Thread Michael D. Kirkpatrick
Same thing... Jeff Tulley wrote: It is done through server.xml. I don't know what web server connector you were using, but if it was Apache and mod_jk, you can still use it. On Tomcat's side, comment out the Coyote connector, which looks like: Connector

the latest stable release?

2003-04-01 Thread Xu, William [CC]
http://jakarta.apache.org/tomcat/index.html This page (paragraph 2 in section Tomcat 4.x) still shows the latest stable release is 4.1.18 as opposed to 4.1.24. Is there any specific reason for that or just that page has not been updated? Thanks in advance. Regards, William Xu

Slightly OT: SocketException with MySQL

2003-04-01 Thread Geoff Peters
I am using Tomcat 4.1.18, MySQL 3.23, newest driver, running on Linux 7.3. Problem is similar to others who have posted on this subject, just want some advice (can't seem to get a definite answer). I'm not using connection pooling. If I walk away and leave the server running for several

RE: Seperate tomcats - one apache

2003-04-01 Thread George Sexton
I routinely run via the CATALINA_BASE method for multiple instances and have no problems. Using mod_jk, all you have to do is define the connectors to be on different ports, and then configure each servlet engine to run mod_jk on a different port. -Original Message- From: Steve Harris

sample openLdap ldif file wont work

2003-04-01 Thread Karamat Adil IHMD
Hi all, Can any one tell me why I cant run the sample file that is on the Tomncat website for adding entries in the OpenLdap directory tree ? The file is as follows -- # Define a user named 'tomcat' dn: cn=tomcat,dc=xxx,dc=com cn: tomcat userPassword: tomcat sn:

RE: inconsistencies in Tomcat handling servlet filters...

2003-04-01 Thread Jacob Kjome
Many thanks to Jonathan Leech for pointing out how to fix my problem (below). See the original thread here: http://marc.theaimsgroup.com/?l=tomcat-userm=104759543729238w=2 and then the code I forgot to attach to the original message here:

Re: Seperate tomcats - one apache

2003-04-01 Thread John Turner
It doesn't work at all. Believe me, I've now spent 14 hours trying to make it work. I posted yesterday exactly what I have done so far (Help with one Apache, mod_jk, two Tomcats, no load balancing). http://host1.com:8080 - Tomcat 1 works great http://host2.com:8081 - Tomcat 2 works great

Suggestions needed - customizing authorization

2003-04-01 Thread Barley
Before I dive into hacking a bunch of Tomcat source code, I would very much like to solicit the opinions of some more experienced users. I need a form-login authorization scenario that integrates with some of my other webapps. Specifically, I need to know the username, real name and group info of

RE: Seperate tomcats - one apache

2003-04-01 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
if you remove the vhost for host1 completely from apache to which tomcat do you get mapped? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:10 AM To: Tomcat Users List Subject: Re: Seperate tomcats - one apache It doesn't work at all.

Re: shared resources - a final answer?

2003-04-01 Thread Pat McGroin
Can anyone tell me which is right? Do shared resources across applications go in $CATALINA_HOME/common or $CATALINA_HOME/shared? The HOWTO doc. says the shared dir. is the place to put these resources. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html However, Paul tells

Using Ant for tomcat configuration

2003-04-01 Thread srinath narasimhan
Hi Can Ant be used to configure ( manipulate ) the server.xml in tomcat to create a host ? Thanks. Srinath. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >