Re: Restarting tomcat from web page

2003-12-08 Thread Altug B. Altintas
hi, could u please give an example ? - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 05, 2003 4:09 PM Subject: RE: Restarting tomcat from web page Howdy, It does matter from a practicality perspective: tomcat

Mod_jk2 and load balancing

2003-12-08 Thread Schläppy Jean-Daniel
Hi all, I try to find information about load balancing (and fail over) using the mod jk2. I cannot find an example with the files workers2.properties and jk2.properties. My configuration is: Tomcat 4.1.24 JDK 1.4.2 IIS 6 Windows 2003 Thanks for any help, even if it is to tell me that mod_jk is

[OT] Some questions on Java,Servlet, JSP and Tomcat.

2003-12-08 Thread Antony Paul
Hi all , I have some questions for which I was unable to find answers by Googling. So I am asking it here. It is quite long. 1, Is there any security threat for Tomcat 4.1 series. I am using Tomcat 4.1.27 for development. What is the history of Tomcat in this regard. Is Tomcat vulnerable to

Connection Refused

2003-12-08 Thread Mike Nguyen
When I tried to shutdown tomcat, I got the following message. Please help. Thank you. Mike [EMAIL PROTECTED] bin] % ./shutdown.sh Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.16Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.16Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.16/tempUsing

Re: newbie help please, localhost not found

2003-12-08 Thread D. Gilbert
Tomcat is now working for me. Thanks to everyone for the suggestions. It turned out to be the firewall as Doug suggested. When I turned off Norton Firewall it worked straight away. I don't understand why a firewall would affect it though, when its not trying to access the internet, but perhaps

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Zsolt Koppany
Hi David, the process itself is alive, because there are some log messages, the server just cannot be connected neither by a browser nor by telnet. Zsolt -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 8:23 PM To: Tomcat Users List

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
Hi, Probably has to do with NPTL in RedHat 9. Try setting the following environment variable: LD_ASSUME_KERNEL=2.4.1 That should stop the hanging. Search the list for further details. Ryan -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 07 December 2003 17:30

Re: 2 instances of Tomcat

2003-12-08 Thread Iain Downie
Thanks for the tips, I'll be trying this all out next week. Iain - Original Message - From: Dan Johnsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:46 PM Subject: Re: 2 instances of Tomcat what about having two JDK? Iain As you

Tomcat-4.1.27 is WebDAV application stable?

2003-12-08 Thread Pranas
Hello, I got error during access to the Tomcat WebDAV via Windows Active Directory. Do I need to install some binaries on Windows to use WebDAV demo application on Tomcat? Thanks for ideas, Pranas Error log: 12/08/2003 10:56:34 HTTP 404 /_vti_bin/shtml.exe/_vti_rpc htmlheadtitleApache

AW: newbie help please, localhost not found

2003-12-08 Thread Jan Behrens
Hi Dave, your firewall should normally try to restrict ALL connections to and from your maschine. That even applies to connections that originate on your maschine, to the system those are handled basicaly on the same basis that an external request would be handled. I would suggest to tell your

Re: Tomcat5 close to production?

2003-12-08 Thread Nikola Milutinovic
Philip Busby wrote: Is there any word, or any place where I could check the status of Tomcat5 to move to production? My host would rather not go through with a Tomcat5 install until it comes out of beta, but I like all of the new things in JSP2. Will Tomcat5 be going production within a month or

Re: Antwort: Re: JAASRealm Tomcat 5.x - Tomcat 4.1.x

2003-12-08 Thread Adam Hardy
Ah OK. I am using JAASRealm too but I wrote my own implementation of LoginModule. I think JAASMemoryLoginModule.java is merely a demo class to show how it is done in the simplest way. Adam On 12/05/2003 04:24 PM Oliver Wulff wrote: I saw the following note in JAASMemoryLoginModule.java: //

RE : Tomcat-4.1.24 Hangs

2003-12-08 Thread ABED RABBO Tareq
Do you have something like: waiting for xx instances to be deallocated in the log file ? Tareq ABED RABBO DSI/IS Transverse Orascom Telecom Tunisie (Tunisiana) Tel. +216 22 12 18 46 Fax. +216 71 806 909 Email : [EMAIL PROTECTED] -Message d'origine- De : Ryan Lissack [mailto:[EMAIL

Installing Manager tool

2003-12-08 Thread mendez
Hi, I installed Tomcat 4.1 to test the Manager interface. I followed the manual step (add a user in the tomcat-users.xml file, add context ...). I use the default port and when I enter http://localhost:8080/manager, I get a 404 error (reported by tomcat). I saw in the list archive the same

RE: Installing Manager tool

2003-12-08 Thread George Sexton
Did you set the privileged=true attribute in the context definition? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:44 AM To: [EMAIL PROTECTED] Subject: Installing Manager tool Hi, I installed Tomcat 4.1 to test the Manager

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Zsolt Koppany
Hi Ryan, thank you. What is NPTL? Zsolt -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 9:59 AM To: 'Tomcat Users List' Subject: RE: Tomcat-4.1.24 Hangs Hi, Probably has to do with NPTL in RedHat 9. Try setting the

RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
Hi Zsolt, It stands for Native POSIX Threading Library, it is a new form of threading introduced in RedHat with version 9.0 There is a complete description with links to other information in a previous thread. If I remember correctly the subject was Tomcat jitters then hangs, search the list

Problem in rtexprvalue-attributes with taglibs in Tomcat 5.0.16

2003-12-08 Thread Yrjö Hirvonen
String typed rtexprvalue-taglib-attributes worked well with tomcat 4.1xx. Running same taglibs with tomcat 5.0.16 gives an error like org.apache.jasper.JasperException: /ksite/index.jsp(91,4) Unknown attribute type (String) for attribute lan. Is there any workaround to this Thanks in

Cookies.

2003-12-08 Thread Abdul Wahab
Hi All, Im working with Tomcat5.0. I have problem in working with cookies. My requirement is to save the user login info in browser cookie so that for next time login will make easier for user to avoid entering again, like usual login in other system. So, I have added the cookies value in

Tomcat command line console

2003-12-08 Thread Artur Karazniewicz
Hello, We have used few tomcat instances in our production environment. Since number of our Tomcats grew, we are looking for better approach to manage it. Especially we are looking for something like - lets say - command line tomcat console - something simillar to manager webapp, but as a regular

Re: Tomcat5 close to production?

2003-12-08 Thread Tim Funk
I highly recommend everyone to subscribe to the announcement list. [EMAIL PROTECTED] -Tim Philip Busby wrote: Is there any word, or any place where I could check the status of Tomcat5 to move to production? My host would rather not go through with a Tomcat5 install until it comes out of beta,

Re: Enforce no cache

2003-12-08 Thread Tim Funk
Write a filter that adds all the no-cacheing headers. (Google) (Or to be lazy, use ssl - since I think cacheing is not allowed in ssl) -Tim Jerald Powel wrote: Hello, How do I enforce no caching for a particular context under TC? Sites/doco welcome G.

Re: [OT] Some questions on Java,Servlet, JSP and Tomcat.

2003-12-08 Thread Tim Funk
[inline] Antony Paul wrote: 1, Is there any security threat for Tomcat 4.1 series. I am using Tomcat 4.1.27 for development. What is the history of Tomcat in this regard. Is Tomcat vulnerable to any remote exploitation issues provided that the application is well written. I want to collect some

RE: Database pool problem

2003-12-08 Thread Edson Alves Pereira
Of course he has a choice, download MySQL in development machine and he will make his tests. This i´d choose. -- De: Dan Johnsson[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 5 de dezembro de 2003 20:46 Para: Tomcat Users List

RE: Database pool problem

2003-12-08 Thread George Sexton
Why not go the extra mile and get a database that supports cutting edge features like views? PostgreSQL -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 6:06 AM To: 'Tomcat Users List' Subject: RE: Database pool problem Of

connection refused, localhost not found

2003-12-08 Thread Adam Hardy
Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP

RE: connection refused, localhost not found

2003-12-08 Thread Patrick Ale
Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are

RE: connection refused, localhost not found

2003-12-08 Thread Patrick Ale
what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem

Re: connection refused, localhost not found

2003-12-08 Thread Graham Reeds
Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). My instant

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
On 12/08/2003 02:41 PM Graham Reeds wrote: Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. I had this when I was developing. I closed tomcat but because I had Lynx open I assumed that the dos window was the

[OT] Quality of open source code - not a survey.

2003-12-08 Thread Antony Paul
Hi, I am not questioning quality of opens source projects. My intention is to learn from looking at the source code of open source projects. I want to know whether it is good to learn from looking at the source code of this kind of projects. I want to develop best coding practices and know how

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
Oops, sorry being a plonker. Had the ports in my config for the sslext (ssl redirect) module set up for the production box to 80 443 instead of 8080 8443 for development. Sorry for the waste of time bandwidth! On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now

RE: connection refused, localhost not found

2003-12-08 Thread Patrick Ale
It's my boss' bandwith, who's carring? :P And atleast noone has to worry about our friend localhost.net.au anymore when it appears ;-) Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk

RE: [OT] Quality of open source code - not a survey.

2003-12-08 Thread Hart, Justin
I don't think that looking at code will help you to develop a sense of best practices. There are books written on the subject that will help much more than attempting to glean such information from code. Especially since code is the end-product of the practices, not the other way around.

Re: [OT] Quality of open source code - not a survey.

2003-12-08 Thread Tim Funk
From a style point of view - tomcat is not very strict on style. Thats not saying that the style is bad, but we concentrate on code quality, not programming style. But if a patch has bad programming style, hindering the code readability and intent, then someone will complain. So in a nutshell,

updated Tomcat ISAPI filter available

2003-12-08 Thread David Boyer
This is the isapi_redirector2.dll built from the latest source snapshot as of Dec 8, 2003. As usual, I have no environment in which to test this, so I can not vouch for the functionality or stability, or verify the effectiveness of any bug fixes in the latest source.

RE: [OT] Quality of open source code - not a survey.

2003-12-08 Thread Shapira, Yoav
Howdy, I would caution you to look at the code of small, focused projects first. It's easier to keep to best practices and consistent style in smaller projects. Tomcat does a whole lot, has many features, lots of pluggable entities, so the design would appear overly complex to anyone not aware

RE: [OT] Writing methods in servlets

2003-12-08 Thread Shapira, Yoav
Howdy, There's nothing wrong with methods in servlets per se. A servlet is just another class in Java. Yoav Shapira Millennium ChemInformatics -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:13 AM To: Tomcat Users List Subject: [OT]

RE: Tomcat command line console

2003-12-08 Thread Shapira, Yoav
Howdy, You can use the ant tasks that connect to the manager webapp in conjunction with a filter/valve to deny non-localhost requests to the manager webapp. What did you find insecure about the manager webapp? Yoav Shapira Millennium ChemInformatics -Original Message- From: Artur

Re: Cookies.

2003-12-08 Thread Christopher Schultz
Abdul, So, I have added the cookies value in servlet, and I can get the cookie value in jsp. When I work with the same browser fine working. But when close and open the new browser window I cant get the cookie values. Setting cookie, res.addCookie(new Cookie(entID,eID));

RE: Lock on database file not being released...

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I did as you said and adjusted those values for the odbc. Same result. The database file is still showing as locked. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] -Original Message- From: George Sexton [mailto:[EMAIL

More sophisticated JDBCRealm Security

2003-12-08 Thread Frank Febbraro
In looking through the docs I am surpised that I dont see a way to do some more sophisticated JDBCRealm security. I may just be looking in the wrong place or misreading something so please let me know if I am. My DB tables are arranged as follows create table user ( id BIGINT NOT NULL

RE: More sophisticated JDBCRealm Security

2003-12-08 Thread Shapira, Yoav
Howdy, The typical solution in many cases involving JDBCRealm is (if you don't want to customize the realm by coding) to create a view for use by the JDBC realm. In your case, you'd create a view on the user table where only active users are shown, and configure the JDBC realm to query this view

Re: Cookies.

2003-12-08 Thread Graham Reeds
I checked the javadoc documentation for the Cookie class, and it doesn't seem to mention the default life of a Cookie object once sent to the browser. I'm inclined to think that the default is that it will live as long as the browser session does (especially because of your evidence). It is.

[OT] Rad Game Tools

2003-12-08 Thread Graham Reeds
Does anyone else get a message from [EMAIL PROTECTED] asking them to update their email address? Everytime I email this list I get one back. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

directive.include problem

2003-12-08 Thread Atreya Basu
Hello, I'm getting a weird error when using jsp:directive.include file=.. /. I get an jsp.error.badaction error. I don't know maybe I'm using the the directive incorrectly. What I am trying to do is make my JSPs cleaner by moving some of the header and footer code onto a different file.

Re: More sophisticated JDBCRealm Security

2003-12-08 Thread Frank Febbraro
What about the fact that the groupId column in User is called id in the Groups table, would it be a case of making another view to accomplish that translation too? Besides craeting views, which is easy, what are the other options here? - Original Message - From: Shapira, Yoav [EMAIL

[OT}RE: directive.include problem

2003-12-08 Thread Michele Emmi
Try: %@ include file=... % Michele From: Atreya Basu [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: directive.include problem Date: Mon, 08 Dec 2003 12:24:06 -0400 Hello, I'm getting a weird error when using

SSL problem with TC 5.0.16

2003-12-08 Thread Baer Peter Christoph Alexander
Hi, before you start throwing eggs and tomatoes at me: I *have* searched the mailing list archive before posting this message... ;-) I just installed Tomcat 5.0.16. Now we want to migrate an application from TC 4.0.6 to it. For this we need to run TC with SSL. However, there's apparently a

RE: More sophisticated JDBCRealm Security

2003-12-08 Thread Shapira, Yoav
Howdy, Your other option is to extend JDBCRealm into your own custom realm implementation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Frank Febbraro [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 11:41 AM To: Tomcat Users List Subject: Re: More

RE: SSL problem with TC 5.0.16

2003-12-08 Thread Luc Foisy
Did you set keystorePass? -Original Message- From: Baer Peter Christoph Alexander [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 11:49 AM To: '[EMAIL PROTECTED]' Subject: SSL problem with TC 5.0.16 Hi, before you start throwing eggs and tomatoes at me: I *have* searched the

Re: [OT}RE: directive.include problem

2003-12-08 Thread Atreya Basu
The only problem with the include directive is that it actually outputs the result of a jsp rather than just the text. What I want to do is have some content in a another file, have the two file put together then compiled. Is there a way to do that I wonder? Michele Emmi wrote: Try: %@

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
I took out the welcome-file config in web.xml and now I just get a plain status 404. But the tomcat manager shows the context is started and has a session after I try to access it. On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now managed to get tomcat to generate a

RE: Differences between jServ and Tomcat

2003-12-08 Thread Ralph Einfeldt
jServ is just a servlet engine (JSDK 2.0). Tomcat is a servlet engine (JSDK 2.2/2.3/2.4), a jsp engine and a webserver and contains much more additional functionality (DB Connection Pool, Realms, Manager, ) -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent:

Urgent: referencing external jar files from a jar in WEB-INF/lib

2003-12-08 Thread Krause Karin
Hello, I just posted a very similar question some time ago, but got no answer until now. see http://marc.theaimsgroup.com/?l=tomcat-userm=106337028016813w=2 I use Tomcat 4.1.27. My question was, if Tomcat ClassLoaders can evaluate the CLASS-PATH attribute set in the manifest of a jar file, to

Re: [OT}RE: directive.include problem

2003-12-08 Thread Jon Wingfield
erm. shouldn't it be: jsp:include page=.../ as per section JSP.4.4 of the JSP 1.2 specification. HTH, Jon Atreya Basu wrote: The only problem with the include directive is that it actually outputs the result of a jsp rather than just the text. What I want to do is have some content in a

Re: More sophisticated JDBCRealm Security

2003-12-08 Thread Frank Febbraro
Well crap! Turns out we are using MySQL 4.0.x which does not have support for views. Can anyone point me in a direction that would help me in implementing my own Realm (either brand new or by extending another) Thank you very much, Frank - Original Message - From: Shapira, Yoav [EMAIL

RE: SSL problem with TC 5.0.16

2003-12-08 Thread Baer Peter Christoph Alexander
Yes, we set keystorePass to what we entered when creating the keystore. Below are the Connectors from our server.xml. Do you see anything wrong, here? Something, that was ok with TC 4.0.6, but is no longer valid for TC 5.0.16? Thanks in advance! Alex snip Connector

Re: More sophisticated JDBCRealm Security

2003-12-08 Thread Tim Funk
Since your making a view to only be used by tomcat, there is no problem. You can change column names when creating a view. Additionally, if you want more security, make your group and user views locked to a tomcat id (sql login that is). Then tomcat itself is locked out of other changes or

Re: [OT}RE: directive.include problem

2003-12-08 Thread Jon Wingfield
Oops. Note to self: must read JSP2.0 spec ;) (specifically JSP.6.2.4) Jon Wingfield wrote: erm. shouldn't it be: jsp:include page=.../ as per section JSP.4.4 of the JSP 1.2 specification. HTH, Jon Atreya Basu wrote: The only problem with the include directive is that it actually outputs the

Re: More sophisticated JDBCRealm Security

2003-12-08 Thread Tim Funk
Easiest alternative: Cron and a sql script. lock user and group table truncate user and group table insert into user and group tables with query unlock -Tim Frank Febbraro wrote: Well crap! Turns out we are using MySQL 4.0.x which does not have support for views. Can anyone point me in a

Re: Urgent! Tomcat4 closed giving Out of Memory Error

2003-12-08 Thread Jeff Tulley
Look at the open files - it is 9182. That IS already pretty high, but you may be hitting that limit since in Unix, everything is a file. Sockets, etc. On Linux, is there a way in the JVM to tell the difference between memory given to the new generation, old generation, and permanent generation

Re: [OT}RE: directive.include problem

2003-12-08 Thread David Evans
On Mon, 2003-12-08 at 11:53, Atreya Basu wrote: The only problem with the include directive is that it actually outputs the result of a jsp rather than just the text. What I want to do is have some content in a another file, have the two file put together then compiled. I don't think this

Tomcat5.0.16 not reading request attributes from mod_jk

2003-12-08 Thread Martin Kuba
Hi, I have a problem getting request attributes (like SSL information and additional CGI variables) in Tomcat5.0.16 connected to Apache using mod_jk/1.2.5 It seems to be some problem with the new Coyote/JK2 AJP 1.3 connector, because it works in Tomcat4.1.29. Please help. Here are the details: I

Re: [OT}RE: directive.include problem

2003-12-08 Thread Atreya Basu
That's right. The XML equivalent for %@ include is directive.include page= /. That's what I am having difficulty with. Anyone with experience using the above directive? Atreya David Evans wrote: The %@ include directive includes the contents of the file before compilation.

Re: Tomcat5.0.16 not reading request attributes from mod_jk

2003-12-08 Thread Remy Maucherat
Martin Kuba wrote: Hi, I have a problem getting request attributes (like SSL information and additional CGI variables) in Tomcat5.0.16 connected to Apache using mod_jk/1.2.5 It seems to be some problem with the new Coyote/JK2 AJP 1.3 connector, because it works in Tomcat4.1.29. Please help. I

login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I have a problem where the login page is not showing any images and not having the css applied to it. Here is my web.xml: --- web-app servlet servlet-nameController/servlet-name

Hot deploy?

2003-12-08 Thread Chris
Hi all, I'm very much looking forward to Tomcat 5.x! Reading the docs, I can't tell if Tomcat 5.0 offers JBoss-style hot-deployment of WARs or not. By JBoss-style, I mean all I have to do is drop a new WAR into a deployment directory, and it will get picked up and redeployed. Section 4 of the

java.net.SocketException: Broken pipe

2003-12-08 Thread Altankov Peter
Im running tomcat 4.1.29 with mod_jk2 under apache and getting constant stack traces in catalina.out like this one: Dec 8, 2003 8:04:49 PM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at

Re: login page css not applied

2003-12-08 Thread Rod Giffin
US SSA said: Hi, I have a problem where the login page is not showing any images and not having the css applied to it. But after the user has authenticated, it works right? I'm not 100% sure about the setup of your webapp and I've been spending so much time with other products I've forgotten

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Yes, you are right. However, when I changed the pattern to /*.jsp, the login page was skipped and the browser went straight to the protected page without any authentication. I am not sure what's going on. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax)

RE: login page css not applied

2003-12-08 Thread Marc Dugger
I just did this same thing yesterday. Your CSS and images are being protected by the web resource containing url-pattern/*/url-pattern. Until a user has logged in, they won't be able to receive images, css, etc. Be more specific in your URL pattern so you don't include those common resources.

RE: login page css not applied

2003-12-08 Thread Rod Giffin
Ok, I've seen that before. Probably your protected page has the same name as one of the welcome-file page matches in web.xml, or they're both present. If index.html is your welcome page, use that in the welcome-file setting and not an existing .jsp file. I think that's the way it works. Rod.

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Rod, I am sorry, but I am not 100% following you... Yes, you are right. I have the following situation: I am trying url: localhost/xxxWEB/ This gets forwared by the welcome-page to welcome.jsp, which I want to be protected. welcome.jsp page is in xxxWEB/ directory. Could you explain what you

AW: Database pool problem

2003-12-08 Thread SH Solutions
Seams a bit off-topic, but proposing databases, have a look at firebirdsql.org. Firebird ist very good, stable, wide-spread (in flavor of interbase), even used in tanks. Firebird has all features of a good database, including triggers, views, stored procedures, referential integrity, and a lot

Unable to compile class for JSP

2003-12-08 Thread Marc Dugger
I've recently upgraded from 4.1.29 to 5.0.16 and Jasper appears to be (inconsistently) unable to rename temporary class files. One moment, a JSP will compile cleanly and, after a very simple page modification, the same JSP will cause this exception: 2003-12-08 12:29:30,527 [http8080-Processor25]

RE: Enforce no cache

2003-12-08 Thread Ralph Einfeldt
If it really is not allowed, then the handling of several proxies and/or browsers is severly broken. We had several problems with caching until we forced the reload by appending a unique query parameter in each link. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent:

REPOST: Can't find child 2386 in scoreboard

2003-12-08 Thread Sachin Dole
This is a repost. Please help. Hi I have checked the archives and google to solve the problem but to no avail. Please help. The error I get in my apache error_log when navigating to http://localhost/examples is: [Sat Dec 06 00:11:21 2003] [info] Server: Apache/2.0.46, Interface:

RE: login page css not applied

2003-12-08 Thread Rod Giffin
US SSA said: Rod, I am sorry, but I am not 100% following you... Yes, you are right. I have the following situation: I am trying url: localhost/xxxWEB/ I think it would work if you set the welcome-file element to send the user by default to localhost/xxxWEB/login.html (or index.html or

RE: Hot deploy?

2003-12-08 Thread Shapira, Yoav
Howdy, Hot deployment as you describe exists and is enabled by default, i.e. you don't have to do anything but drop the WAR into the webapps directory. This is true for tomcat 4 as well as tomcat 5, for which you can stop waiting as it's available already. Yoav Shapira Millennium

RE: More sophisticated JDBCRealm Security

2003-12-08 Thread Shapira, Yoav
Howdy, You can search the archives of this list for many examples. Yoav Shapira Millennium ChemInformatics -Original Message- From: Frank Febbraro [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 12:10 PM To: Tomcat Users List Subject: Re: More sophisticated JDBCRealm Security

Ant install tasks

2003-12-08 Thread Rich Garabedian
I've used the custom ant tasks to build and install web apps a zillion times. However, I'm setting up a new build/test environment on a fresh machine and I'm having a problem getting the install task to work. I can do all the normal all/compile/dist tasks. plus I can do the LIST task. I can also

Custom Realm deployment, was More sophisticated JDBCRealm Security

2003-12-08 Thread Frank Febbraro
Thanks Yoav, One more question to you or the group, When deploying a custom Realm implementation, I am defining the Realm inside the Context for my specific application. But on startup I get: java.lang.ClassNotFoundException: .util.CustomJDBCRealm Can I have the Realm class in my WAR file

RE: Custom Realm deployment, was More sophisticated JDBCRealm Security

2003-12-08 Thread Hart, Justin
It must be in Tomcat's classpath, not in your WAR file. -Original Message- From: Frank Febbraro [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 3:10 PM To: Tomcat Users List Subject: Custom Realm deployment, was More sophisticated JDBCRealm Security Thanks Yoav, One more

Re: Custom Realm deployment, was More sophisticated JDBCRealm Security

2003-12-08 Thread Tim Funk
To be more sepcific - it needs to be in the server classpath. You may also need to do some MBean registration work too. (editing/creating an mbeans.xml file) -Tim Hart, Justin wrote: It must be in Tomcat's classpath, not in your WAR file. -Original Message- From: Frank Febbraro

RE: Custom Realm deployment, was More sophisticated JDBCRealm Security

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Basically, jar your package that you are using for your JDBCRealm and put the .jar file into common/lib directory. That will make your package visible to both your webapps and Tomcat server. Well, in your case, you only care about the server seeing this package. HTH. Yaakov Chaikin Software

Tomcat 5.0.16 fails to compile JSP page where 4.1.18 would...

2003-12-08 Thread Lon Palmer
Hello Group! I'm trying to upgrade to tomcat 5.0.16 but I'm having some trouble with just one JSP page. The pagew will not compile and the error points to this line in the JSP: jsp:useBean id = LOG_KEEPER class=com.k4sv.web.LogKeeper scope = application / A pretty straight forward JSP line to

Re: Ant install tasks

2003-12-08 Thread Remy Maucherat
Rich Garabedian wrote: I've used the custom ant tasks to build and install web apps a zillion times. However, I'm setting up a new build/test environment on a fresh machine and I'm having a problem getting the install task to work. I can do all the normal all/compile/dist tasks. plus I can do the

AW: Ant install tasks

2003-12-08 Thread SH Solutions
Hi First, I don't know anything about ant... BUILD FAILED file:C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/bu ild.xml:368: java.net.UnknownHostException: C I'm nearly 100% the host is correct - it's simply localhost. But it seams to read your c:/... as (host):, so it

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Rod, Actually, I am pretty sure that the welcome-file has nothing to do with it. All that does is tell the server which URL to try to serve up if you were to leave off the file name from the url you are typing in. So, in my case typing localhost/xxxWEB/ is equivalent to

Re: Tomcat 5.0.16 fails to compile JSP page where 4.1.18 would...

2003-12-08 Thread Remy Maucherat
Lon Palmer wrote: Hello Group! I'm trying to upgrade to tomcat 5.0.16 but I'm having some trouble with just one JSP page. The pagew will not compile and the error points to this line in the JSP: jsp:useBean id = LOG_KEEPER class=com.k4sv.web.LogKeeper scope = application / A pretty straight

RE: Ant install tasks

2003-12-08 Thread Kumar, Sumit
Hello, Is it possible to put an object in session of another webapp, like I am in context of webapp1 and I want to put an UserInfo object in session of webapp2. Can I even access session of webapp2 from webapp1. Both are deployed under Tomcat4.1. Thanks -sumit

Giving access to an html file in tomcat

2003-12-08 Thread Bender, Christopher
Hey, I have added the following to my web.xml of one of my web apps: error-page error-code403/error-code location/error/error.htm/location /error-page When I try and test this (go to a page I do not have access to that will throw a 403 error),

session sharing across webapps

2003-12-08 Thread Kumar, Sumit
Sorry, I posted the message earlier with a wrong subject. Is it possible to put an object in session of another webapp, like I am in context of webapp1 and I want to put an UserInfo object in session of webapp2. Can I even access session of webapp2 from webapp1. Both are deployed under Tomcat4.1.

RE: session sharing across webapps

2003-12-08 Thread Shapira, Yoav
Howdy, The short answer is you can't access another webapp's sessions, period. But you can have a singleton you write live in shared/lib and both webapps will see the same instance of the singleton. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kumar, Sumit

RE: Tomcat 5.0.16 fails to compile JSP page where 4.1.18 would...

2003-12-08 Thread Lon Palmer
Thanks Remmy, That was it. Lon -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 3:38 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.16 fails to compile JSP page where 4.1.18 would... Lon Palmer wrote: Hello Group! I'm trying to

RE: Giving access to an html file in tomcat

2003-12-08 Thread Bender, Christopher
if i go to http://localhost/dmt/error/error.htm or http://localhost:8080/dmt/error/error.htm the page comes up. If i trigger the error code 403, i get it thrown back to me as an IE error, and I do not see my page./ -Original Message- From: Bender, Christopher Sent: Monday, December

RE: Giving access to an html file in tomcat

2003-12-08 Thread Shapira, Yoav
Howdy, Turn off the Display Friendly Error Pages option in the IE preferences section. Yoav Shapira Millennium ChemInformatics -Original Message- From: Bender, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 4:02 PM To: Tomcat Users List Subject: RE: Giving access

  1   2   >