RE: How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
> Put the file in something like WEB-INF/jsp/login.jsp. Then either > configure form-based authentication for the path to that JSP I tried doing that, but when I specified /WEB-INF/jsp/login.html in FORM /WEB-INF/jsp /login.html /WEB-INF/jsp /lo

Tomcat 4.1 WindowsXP Service not working

2003-12-08 Thread Derek Hohls
I need help getting Tomcat 4.1 (or 5.0) working... I had version 4.0.4 working just fine (under WindowsXP, JDK1.3) but had to upgrade Tomcat because some newer servlets were not working on this older version. I downloaded and ran the Windows .exe version; remembering to check the 'install as ser

Re: tomcat-5.0.16 with jsvc exists with error

2003-12-08 Thread Bill Barker
"Marten Lehmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm using tomcat-5.0.16 with jsvc to bind tomcat to port 80, but running > it with a different user than root. Startup and running is fine. > Shutdown (in general) also. But when tomcat (or jsvc?) exits, the

Testing servlet for thread safety.

2003-12-08 Thread Antony Paul
Hi, I asked this question as part of another mail but Mr. Tim Funk left it unanswered. How to test a servlet for thread safety. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Copying files from Tomcat 4.1.x to Tomcat 5.x

2003-12-08 Thread Antony Paul
Hi all, Is there any compatibility issues in putting the jsp/servlet files developed in Tomcat 4.1.x series to Tomcat 5.x. Application uses only Servlets 2.3 and JSP 1.2. rgds Antony Paul. - To unsubscribe, e-mail: [EMAIL PRO

Re: maxActiveSessions

2003-12-08 Thread Bill Barker
This is somewhat TC 3.3 specific, but something like: HttpSession session = request.getSession(true); if(session == null) { returnBusyPage(request, response); return; } TC 3.3 will return null for the session if it is unable to create one (e.g. because maxActiveSessions is exc

context

2003-12-08 Thread Jerald Powel
Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: where it resides: c:/…/tomcat/webapps/myapp/….etc Appreciated

context

2003-12-08 Thread Jerald Powel
Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: where it resides: c:/…/tomcat/webapps/myapp/….etc Appreciated

Re: How to prevent direct access to login.jsp

2003-12-08 Thread Jacob Kjome
Put the file in something like WEB-INF/jsp/login.jsp. Then either configure form-based authentication for the path to that JSP or have your MVC framework serve up that JSP page upon access to a protected resource. The "back" button will never know the exact location of the page. Jake At 05:5

Placement of JSP/HTML Files

2003-12-08 Thread Asad Habib
Hello. Does anyone know if there is a way to place your JSP/HTML files in a subfolder of the root level directory instead of in the root level directory. For example, if I have a web app named Test, I would like to place my files in /Test/jsp instead of in /Test. Your help would be greatly apprecia

Re: Ant install tasks

2003-12-08 Thread Mike
Correct me if I'm wrong, but shouldn't the host be: file:///C:/Documents%20and%20Settings/rich/My%20Documents/workbench/java/build.xml the difference being the three slashes between "file:" and "C"? - Mike - Original Message - From: "Rich Garabedian" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: ssl vs. servlets

2003-12-08 Thread Ed Robbins
SSL has nothing to do with user authentication. SSL simply implies a secure connection between the two end points of the transaction. As far as user auth is concerned you would still have to authenticate the user when using an SSL connection. Ed zvi gutterman wrote: Hello, 1. Can someone p

Re: SSL problem with TC 5.0.16

2003-12-08 Thread Ankur Shah
Are you able to query your keystore ("D:\ourwebapp\certificate\keystore") using the specified password from the command-line? For instance, what happens when you do this?: c:\>%JAVA_HOME%/bin/keytool -list -keystore "D:\ourwebapp\certificate\keystore" -storepass yeahsure I just downloaded TC 5.0

Re: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Oscar Carrillo
http://www.servepath.com On Mon, 8 Dec 2003, Pitre, Russell wrote: > Hello All- > > > > Sorry to bother you with another one of my questions.. > > > > Can anyone suggest a good and inexpensive web hosting service that > provides tomcat and mySQL support?? > > > > > > Russ > >

JVMLK002 Current thread not owner

2003-12-08 Thread Daniel Gibby
Has anyone had this error recently? JVMLK002 Current thread not owner It is accompanied with an IllegalMonitorStateException, the problem is that looking at my stack trace, this error is not from my application code, but from the IBM JDK 1.4.1 implementation of StringBuffer or string! This see

How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the server? Thanks. Yaakov Chaikin Software Engineer

ssl vs. servlets

2003-12-08 Thread zvi gutterman
Hello, 1. Can someone point out some benchmark comparing Apache (and other webservers) performance while using SSL vs. Servlet. Number of connections, CPU load, etc? 2. Besides encrypting important data (such as credit cards), which I want to make sure no one is reading along the way to the

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

2003-12-08 Thread George Sexton
At this point, I would have to say the answer is to get a real database. FWIW, I use access in our application and except for the ImplicitUserSync and UserCommitSync issue have never really had any problems. Of course you could be running into problems specific to your version of Java, or Jet. ---

Re: Ant install tasks

2003-12-08 Thread Remy Maucherat
Robert D. Abernethy IV wrote: I was getting this same error and it took me some time to get around it. First, I decided to use a WAR file to deploy, rather than an unpacked directory. Second, I had to comment out the jasper2 task in the compile target because it was messing up my web.xml file in u

tomcat-5.0.16 with jsvc exists with error

2003-12-08 Thread Marten Lehmann
Hello, I'm using tomcat-5.0.16 with jsvc to bind tomcat to port 80, but running it with a different user than root. Startup and running is fine. Shutdown (in general) also. But when tomcat (or jsvc?) exits, the following entry always appears in catalina.out: jsvc.exec error: Service exit with

RE: Ant install tasks

2003-12-08 Thread Robert D. Abernethy IV
I was getting this same error and it took me some time to get around it. First, I decided to use a WAR file to deploy, rather than an unpacked directory. Second, I had to comment out the jasper2 task in the compile target because it was messing up my web.xml file in unimaginable ways. I would swit

Re: Placement of Tag Library Descriptor

2003-12-08 Thread Asad Habib
Hello. I figured out the problem. Thanks for your help. - Asad --- Ben Souther <[EMAIL PROTECTED]> wrote: > What are you using for a URL to access the tld? > > > On Monday 08 December 2003 04:29 pm, Asad Habib > wrote: > > Hello. I am using Tomcat 4.1.24 on Mac OS 10.3 and > > when I place the

maxActiveSessions

2003-12-08 Thread Maria Vetzabet Dzul Gutierrez
I´m working with tomcat-3.3. I configured the server.xml I allowed 25 sessions. . When the 26 session acces the jsp I want to show the page that said . “Sorry the Server is busy”. How I can do it. Thank ‘s Vetza - To unsubsc

RE: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Prabhat Kumar (IT)
http://www.webappcabaret.com/index.html -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 4:24 PM To: Tomcat Users List Subject: [OFF-TOPIC] Tomcat web hosting Hello All- Sorry to bother you with another one of my questions.. Ca

Compression 5.0.16 - web.xml or server.xml

2003-12-08 Thread Ron Andersen
After reviewing the Tomcat 5. doco for the Coyotte connector (port 808), it stated that the compresssion attribute is part of the connector tag?? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/coyote.html However, after downloading the Tomcat 5.0.16 and reviewing the connector tag w

RE: Giving access to an html file in tomcat

2003-12-08 Thread Steph Richardson
IE uses some voodoo logic to decide when to show it's own error page or not. Anytime it get's something other than a HTTP 200 or 302, it looks at the HTML returned with it, and if it "seems" to be a well-formed html doc, and/or exceeds a certain length, then it will show that HTML, else it decide

Re: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Ben Souther
http://www.assortedinternet.com On Monday 08 December 2003 04:32 pm, Schalk wrote: > Have a look at sevenc.co.za > > Kind Regards > Schalk Neethling > Web Developer.Designer.Programmer.CEO > Volume4.Development.Multimedia.Branding > emotionalize.conceptualize.visualize.realize > Tel: +27125468436

RE: [OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Schalk
Have a look at sevenc.co.za Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com This message contains information

Re: Placement of Tag Library Descriptor

2003-12-08 Thread Ben Souther
What are you using for a URL to access the tld? On Monday 08 December 2003 04:29 pm, Asad Habib wrote: > Hello. I am using Tomcat 4.1.24 on Mac OS 10.3 and > when I place the tld file used by my web application > in /Test/tlds(where Test is the name of the > application), I get a 404 Error. When

Placement of Tag Library Descriptor

2003-12-08 Thread Asad Habib
Hello. I am using Tomcat 4.1.24 on Mac OS 10.3 and when I place the tld file used by my web application in /Test/tlds(where Test is the name of the application), I get a 404 Error. When I place the same tld file in /Test, everything works fine. Does anyone know why this is happening? Apparently, th

[OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Pitre, Russell
Hello All- Sorry to bother you with another one of my questions.. Can anyone suggest a good and inexpensive web hosting service that provides tomcat and mySQL support?? Russ

RE: connection refused, localhost not found

2003-12-08 Thread Luc Foisy
Does the manager report that the context is loaded? -Original Message- From: Damien Pacaud [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:46 AM To: Tomcat Users List Subject: Re: connection refused, localhost not found i disagree with you, since the root context works fine..

RE: Re: Database pool problem

2003-12-08 Thread Hart, Justin
I agree, sometimes clients ask for illogical things. Hell, sometimes developers ask for illogical things. If the choice is not yours to make, then you're stuck. I will caveat this with "Point out if it is actually impossible." -Original Message- From: Doug Parsons [mailto:[EMAIL PROTE

AW: Giving access to an html file in tomcat

2003-12-08 Thread SH Solutions
AFAIK the page needs to be > 1024 byte. If they are smaller, IE replaces them. cu Steffen -- SH Solutions, Steffen Heil Web: http://www.sh-solutions.de eMail: [EMAIL PROTECTED] MSNMS: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Bender, Christopher [mailto:[EMAIL PROTECTED] Gese

Re: Giving access to an html file in tomcat

2003-12-08 Thread Cees van de Griend
On Monday 08 December 2003 21:40, Bender, Christopher wrote: > Hey, > > I have added the following to my web.xml of one of my web apps: > > > 403 > /error/error.htm > > > > When I try and test this (go to a page I do not have access to that will > throw a 4

OT: Re: Database pool problem

2003-12-08 Thread Doug Parsons
Everyone has reasons. And some may question our choice. But the goal here is to help each other. Had he ask which database to use, then I would have nothing to say. But each of us have conditions which we must work with that are not under our control. The question of changing databases had already

Re: connection refused, localhost not found

2003-12-08 Thread Doug Parsons
If I read correctly, he said root context still worked. This means the server is running. What is lost is the ability to move to another context. Since the standard context are working, it sounds like a typo in the setup. Learning the details myself, so maybe someone else can narrow the area to sea

tomcat configuration problem

2003-12-08 Thread peter minev
Hi, my name is Peter Minev. I have the following problem configuring my web applicaton. When i build the application with the ant, i deploy it to the %catalina_home%/webapp directory. but when i restart the tomcat and write down http://localhost:8080/myappname/myjsp.jsp, the following http status

Re: connection refused, localhost not found

2003-12-08 Thread Damien Pacaud
one idea that jumps in my head after re-reading your original post is : did you configure well the entry for your app in the web.xml file? just an idea (as you said you were looking for wild guesses ;) ) - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Tomcat Users List"

Re: connection refused, localhost not found

2003-12-08 Thread Damien Pacaud
i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue what is wrongDoes your app handle some ne

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

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: 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: 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 [mailto:

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.

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: 403 /error/error.htm When I try and test this (go to a page I do not have access to that will throw a 403 error), i get the Internet Explorer error page that says "You might

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 ---

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: A pretty straight forward JSP line to be sure. Here is the error message: type Exception report mess

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 localhost/xxxWEB/welcome.js

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: 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 L

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: A pretty straight forward JSP line to be sure. Here is the error message: type Exception report message description

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 Engi

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 [mailto

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 que

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 inside the for my specific application. But on startup I get: java.lang.ClassNotFoundException: .util.CustomJDBCRealm Can I have the Realm class in my WAR file or do I have

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 us

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 Secu

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 ChemInformatics

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

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: mod_ssl/2.0.46,

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

"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]

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 mor

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 to welcome.jsp, which I want to be protected. welcome.jsp page is in xxxWEB/ directory. Could you explain what you are suggestin

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. U

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 /*. 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. > -Original Message--

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) [EMAIL

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 forgot

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 java.net.SocketOutputStream.socketWr

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

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: --- Controller corej2ee.web.Controller corej2ee.web.naviga

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 do

Re: [OT}RE: directive.include problem

2003-12-08 Thread Atreya Basu
That's right. The XML equivalent for <%@ include> is . 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. http://java.sun.com/products/jsp/tags/s

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:

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 th

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: 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 direct

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: 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

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 lo

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 >

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" <[EMA

Re: [OT}RE: directive.include problem

2003-12-08 Thread Jon Wingfield
erm. shouldn't it be: 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 another file, have the two

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-user&m=106337028016813&w=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 r

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: Sa

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 s

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: <%@ incl

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 m

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 soph

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 mista

[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 . I get

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 P

directive.include problem

2003-12-08 Thread Atreya Basu
Hello, I'm getting a weird error when using . 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. Since I use the same header and fo

[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: [EMAIL

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

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

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 AUTO_I

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 PROTE

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)); res.addC

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 Kar

  1   2   >