Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
This works for me ... web.xml : resource-ref description Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. /description

Re: problems with web.xml and security

2003-06-17 Thread Jon Eaves
Rosaria Silipo wrote: Thanks Carl, Yes, I tried to see /secure as first thing and I can see it without authentication. I tried to close browser and restart it and I still could see it. Maybe the problem is on the web.xml of /secure. Is it possible? -- Rosaria If I'm reading your sentence

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Unbelieveable to say. It works! Do you have an explanation for this? Thanks -- Rosaria -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 1:25 PM To: Tomcat Users List Subject: Re: problems with web.xml and security What happens when you take

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not giving me the not found in Context message, but it's now trying to pass me a null connection. I think the problem is that it doesn't know where to get the connection from. With the ResourceLink in the server.xml Context, one specifies the name one wants to use

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Sorry, my mistake! It worked because in the meantime I removed /secure. If I rebuild /secure, I can still access it without being authenticated. Summary: I have web.xml for / and web.xml for /secure. Without web.xml in /secure/web/WEB-INF I can not build /secure in the web application. How do

Webapps different machine

2003-06-17 Thread Jose Santiago Oyervides Gonzalez
Hi, I have a W2k-IIS5.0 server with multiple sites, and all my web-sites have their home directories in a different machine, I am trying to configure TomCat to serve JSP's who also are in the different machine, so with the isapi_redirect, I will keep working both my IIS and Tomcat. Is it

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
http://localhost:8080 -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:15 PM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Sorry, you lost me. I think Craig's response at the link I provided should be enough to go on,

Re: problems with web.xml and security

2003-06-17 Thread Jon Eaves
You need 2 web.xml files. In / (or ROOT) for the context that maps to http://my.domain.com/ and in the web application defined by the context /secure which may be in the subdirectory webapps/secure, or it may be webapps/secure.war, or it may be webapps/somethingelse and have Context element in

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
The Resource is specified, in the server.xml, with a name. This is the JNDI name and is used to refer to the resource from wherever you like. The setup of the resource is done by the ResourceParams (I hope you didn't copy my example verbatim ;-) The web.xml is just abstracting that reference

Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-17 Thread Paul Hepworth
Hello, Recently I setup mod_jk to try to get Tomcat to play with Apache. I created a new Host with my domain name. When I point my browser to http://mydomain.com it redirects to the default Tomcat page that normally runs on http://localhost:8080; right after installation only all of the

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I do not necessarely want the context /secure, but I want that all files in the directory webapp/secure are protected. Do I still need two web.xml files? I do I include webapp/secure into the root context? Thanks -- Rosaria -Original Message- From: Jon Eaves [mailto:[EMAIL PROTECTED]

newbie - program structure

2003-06-17 Thread madhombre
ok, I am used to Java and PHP and had a question about where to put jsp/servlet code. what is the best thing to do? I am used to just putting it anywhere I want as long as I sperate it how I would like BUt with jsp it seems you need to tell it the actual folders the jsp is in. what I was looking

Re: newbie - program structure

2003-06-17 Thread madhombre
I guess I am confused. I set up my workers2.properties to link to /exmaples/jsp/* then when I type in the ip/port of myu web server (NOT tomcat) /examples/jsp/dates/dates.jsp for example it comes up. SO I thought hey, you don't I copy an example into my main www dir and see if that works. for

Re: newbie - program structure

2003-06-17 Thread Yoav Shapira
Howdy, If you're just starting out with servlets/JSPs/webapps, follow the app developer's guide instead of forming bad habits ;) It's here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Don't worry about Apache front-end and JK or other connectors for now. Just develop,

Re: newbie - program structure

2003-06-17 Thread madhombre
never mind, there are two sets of examples! doh! sorry. --- [EMAIL PROTECTED] wrote: I guess I am confused. I set up my workers2.properties to link to /exmaples/jsp/* then when I type in the ip/port of myu web server (NOT tomcat) /examples/jsp/dates/dates.jsp for example it comes up.

Re: newbie - program structure

2003-06-17 Thread madhombre
I see, thanks, very enlightning. ok, so I want to create my own directory for my applications as a root and then have my apps under here. I set this up in my server.xml file first correct? then I can reference this in the workers2.properties. I notice that the workers2.properties can be changed

Re: problems with web.xml and security

2003-06-17 Thread Bill Barker
If you check your log files, you should see that it doesn't like your web.xml file because session-config comes after servlet-mapping and before mime-mapping (which both come before security-constraint). Tomcat 4.x is picky about enforcing the order of elements in your web.xml file (TC 3.3 is as

Re: possibly off topic: workers2.properties question

2003-06-17 Thread Bill Barker
If your version of Jk2 is recent enough, and was compiled with the Apache regex library, then you should be able to do: [uri:!/app/*.gif] (of course you can always get more clever with regexps ;-). I haven't actually tried it myself, but I'm told that it does work. Mark Eggers [EMAIL PROTECTED]

Re: sessions across browser insances (store cookie file on user machine?)

2003-06-17 Thread Bill Barker
You can modify your copy of the Tomcat code, or write your own Manager. Bill Ataras [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there any way to make your HttpSession live across a user's browser instances? Thanks

Re: Security question

2003-06-17 Thread Bill Barker
It can't be done (at least without hacking :). The servlet-spec only tells how to secure a page. There is no concept of un-securing a page. If you are using iPlanet+Tomcat, and the un-secure areas are all static content, then you can configure iPlanet to serve the un-secure areas (bypassing

Query string / InputStream

2003-06-17 Thread christian . schuster
Hi list, I have a question to servlets with TC. I set up a easy web site with a form and request method POST. The action is then a call to a servlet. In this servlet I implemented doPost and doGet while doPost just calls doGet. Now when the servlet gets called the query string is null. This I

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I am a bit confused. I do not have any servlet-mapping or mime-mapping (do I need them?) and I followed the order as it is in the tutorial. Even removing session-config, /secure/* is not authenticated and /* is. -- Rosaria -Original Message- From: news [mailto:[EMAIL PROTECTED] On

unable to start tomcat4.1.24

2003-06-17 Thread Paridhi Bansal
hi all! i was earlier using tomcat4.0.6...because of better performance and stability in 4.1.24, i am planning to upgrade to tomcat4.1.24...but on installing that from *.zip file , when i try to run startup.sh, it give me the error The JAVA_HOME environment variable is not defined correctly

Re: unable to start tomcat4.1.24

2003-06-17 Thread Antonio Fiol Bonnín
Paridhi Bansal wrote: hi all! i was earlier using tomcat4.0.6...because of better performance and stability in 4.1.24, i am planning to upgrade to tomcat4.1.24...but on installing that from *.zip file , when i try to run startup.sh, it give me the error The JAVA_HOME environment variable is

heap size config

2003-06-17 Thread Billy Ng
Hi folks, We config the java -Xms and -Xmx with the 512MB. In Unix, java will make 512MB swap every time we make a System Runtime call. Therefore, we need to lower the -Xms to 64MB and -Xmx remains 512MB so that it will not run out of swap space if too many threads making the System Runtime

RE: Apache issue

2003-06-17 Thread Thomas, Kevin
Hi, I'm fairly new to this, but I discovered (through talking to guys here and just tinkering) that the file actually appears in a directory called auto under conf (so... conf/auto). The file is also called mod_jk.conf. I actually had to create the /auto directory myself as there wasn't one

Tomcat and javascript files

2003-06-17 Thread MARTIN Franck
Hi all, I am using Tomcat 3.2.1 and i have created a sub-directory in the webapps directory. It is named Hestia. In this sub-directory i placed my home page with the following source code. html head titleALTA - Page d'Accueil/title /head body bgcolor=blue SCRIPT language=JavaScript

Re: Tomcat and javascript files

2003-06-17 Thread Kwok Peng Tuck
If you tried src=/$WEB-APP/Hestia/coolmenus.js does it work ? MARTIN Franck wrote: Hi all, I am using Tomcat 3.2.1 and i have created a sub-directory in the webapps directory. It is named Hestia. In this sub-directory i placed my home page with the following source code. html head titleALTA -

CVS snapchot compile problems

2003-06-17 Thread Antonio Fiol Bonnín
Hello, I have just followed the instructions on http://jakarta.apache.org/tomcat/building.html and I get the following: [... (successful) beginning of build and some blank lines removed ...] build-servletapi: [echo] == Building: ./binaries/servlet-api-2.4/lib/servlet-api.jar

Re: unable to start tomcat4.1.24

2003-06-17 Thread Paridhi Bansal
Thanx it worked..i installed j2sdk. and gave tyhat as JAVA_HOME and it worked..but i wanted to know why this version of tomcat requires jsdk and not j2re while earlier tomcat was working fine with j2re only.. Paridhi - Original Message - From: Antonio_Fiol_Bonnín [EMAIL PROTECTED]

Telegraph Crossword (Saturday 14th)

2003-06-17 Thread Varley, Roger
Anyone finished this weeks? Oook Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

java processes created by tomcat

2003-06-17 Thread siddharth
hello, I am running following servers on my linux machine 1. tomcat4 using many JSPs and Servlets 2. apache 3. qmail 4. postgresql etc. Tomcat is the only process which is usijg java. when i do 'top' and 'sort by memory usage' i get following output.

RE: Telegraph Crossword (Saturday 14th)

2003-06-17 Thread Varley, Roger
Anyone finished this weeks? Oook Roger Sorry - wrong group. Regards Roger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ClassNotFoundException

2003-06-17 Thread Guus Holshuijsen
Hi! I am stuck with the following challenge. After some initial problems with my web application with regard to ClassNotFoundExceptions when trying to read blobs from a MySQL database which was caused by my lack of knowledge regarding the Tomcat class loading filosophy (which is explained

Re: JSP Compiler output?

2003-06-17 Thread Tim Funk
Starting with a clean install looks like the way to go. Then add one jsp which contains a compile error and you'll see where the error messages go. From there - continue to add your components (piecewise if possible) and find the breaking point. -Tim Noel Rappin wrote: The log4j thing isn't

Re: CVS snapchot compile problems

2003-06-17 Thread Antonio Fiol Bonnín
Sorry I am replying tomy own post. Problem solved: - I was using not JDK 1.4, but an older version. - I had set the base.home property to a relative path, where it should be an absolute one, or at least, not as relative as mine... Sorry again. Antonio Fiol Antonio Fiol Bonnín wrote: Hello,

RE: Tomcat and IIS 6.0??

2003-06-17 Thread connil
Thanks, many members? Have you tried the IIS 5 Isolation Mode? I had no luck :( /cn -- Original Message -- Welcome to the club I had the same problem, but no response up til now Hope you will be more lucky Vince -Message d'origine- I've been trying this, with out luck. The

Re: java processes created by tomcat

2003-06-17 Thread Yoav Shapira
Howdy, How I wish people would search the archives ;( This is a consequence of linux's reporting of java threads as processes: all of these processes are one, sharing the same amount of memory. Yoav Shapira --- siddharth [EMAIL PROTECTED] wrote: hello, I am running following servers on my

Re: CVS snapchot compile problems

2003-06-17 Thread Yoav Shapira
Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira --- Antonio_Fiol_Bonnín [EMAIL PROTECTED] wrote: Hello, I have just followed the instructions on http://jakarta.apache.org/tomcat/building.html and I get the following:

Re: heap size config

2003-06-17 Thread Yoav Shapira
Howdy, In Unix, java will make 512MB swap every time we make a System Runtime call. I don't think so: can you prove the above? Will this hurt the Tomcat preformnace? Lowering -Xms will only slightly degrade performance during the allocation phase. The effects are negligible during that

Re: Apache issue

2003-06-17 Thread John Turner
http://tomcatfaq.sourceforge.net/apache.html Step by Step RH HOWTO: http://www.johnturner.com/howto John On Mon, 16 Jun 2003 17:51:14 -0700 (PDT), [EMAIL PROTECTED] wrote: forgive me if I have missed it but I have been right through here and can't find that! I went right through it, does

Re: Apache issue

2003-06-17 Thread John Turner
The auto directory gets created, provided server.xml is configured. I've never had to create the auto directory. John On Tue, 17 Jun 2003 00:56:04 -0700, Thomas, Kevin [EMAIL PROTECTED] wrote: Hi, I'm fairly new to this, but I discovered (through talking to guys here and just tinkering)

Re: win2000 issue with tomcat4.1.24

2003-06-17 Thread John Turner
Wow, cool error. Never saw that before. It seems Craig McClanahan has, though: http://www.mail-archive.com/struts- [EMAIL PROTECTED]/msg03255.html If that doesn't help, my suggestion is to reinstall and start over. John On Mon, 16 Jun 2003 22:38:20 -0400, Srini Gandu [EMAIL PROTECTED]

RE: Screen refresh

2003-06-17 Thread Shapira, Yoav
Howdy, Other people have suggested some solutions, e.g. http meta-refresh. I'm curious to know how you reached your conclusion. The default tomcat session timeout is 30 minutes, not 20. HTTP connections rarely last that long without special processing at either end point. Yoav Shapira

RE: unable to start tomcat4.1.24

2003-06-17 Thread Shapira, Yoav
Howdy, All tomcat 4.x versions require the JDK officially. Yoav Shapira Millennium ChemInformatics -Original Message- From: Paridhi Bansal [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:19 AM To: Tomcat Users List Subject: Re: unable to start tomcat4.1.24 Thanx it worked..i

RE: unable to start tomcat4.1.24

2003-06-17 Thread Shapira, Yoav
Howdy, All tomcat 4.x versions require the JDK officially. That's strictly true, because of the officially word in there. Is this strictly true? Is it true, for example, if I don't have any JSPs in my application? There have been many discussions about this: search the archives. You can run

Tomcat Class Loader (parent/child tree)

2003-06-17 Thread julien-martin
Hello, According to the tomcat documentation: Normally, when a class loader is asked to load a particular class or resource, it delegates the request to a parent class loader first, and then looks in its own repositories only if the parent class loader(s) cannot find the requested class or

RE: Tomcat Class Loader (parent/child tree)

2003-06-17 Thread Shapira, Yoav
Howdy, It's only contradictory in appearance when you don't quote (or read) the whole page ;) Hello, According to the tomcat documentation: Normally, when a class loader is asked to load a particular class or resource, it delegates the request to a parent class loader first, and then looks in

costumize manager

2003-06-17 Thread Maxime Colas des Francs
Hello I use tomcat with multiple virtual host. I want to open access to Tomcat Manager for all virtual host independently only for list/start/stop their web applications from an html page. My first idea was to extends the org.apache.catalina.servlets.ManagerServlet and insert it in manager

Filters and 4.1.24

2003-06-17 Thread Mike Curwen
I've tried searching nagoya and the tomcat-user archive, though I'm notoriously bad at choosing keywords. So I apologize if this has come up hundreds of times before. I was working through an example of Filtering from WROX's Professional JSP 2nd Edition. Chapter 15 shows us how to create a

Re: Tomcat Class Loader (parent/child tree)

2003-06-17 Thread Guus Holshuijsen
Julien, The tomcat documentation also mentions: As mentioned above, the web application class loader diverges from the default Java 2 delegation model (in accordance with the recommendations in the Servlet Specification, version 2.3, section 9.6). When a request to load a class from the web

possibly off topic: workers2.properties question

2003-06-17 Thread Steven Garrett
Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined an application [uri:/app/*] worker=ajp13:localhost:8009 but we have other things in that directory such as .html, .jpeg. .gif that we don't want to have passed to tomcat and other

Apache 2.0.46 , mod_jk2-2.0.43.so tomcat 4.1.24 problem

2003-06-17 Thread Anup Reddy Challa
Hi, I configured apache 2.0.24 , mod_jk2-2.0.43 and tomcat4.1.24 on Solaris 9 , i compiled installed Apache,downloded binary versions of mod_jk2 tomcat4.1.24 and installed,every thing is working fine , but in apache error log i'm geting following error, [Tue Jun 17 07:10:09 2003][notice]

setting of session ID

2003-06-17 Thread Mark W. Webb
I know that the setting of a session ID was taken out in servlet API 2.1, but is there a way to still set the session ID in tomcat 4.1.24? Is there some type of session manager that I can 'plug in' to tomcat ? ...thank you. -

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Hi - You don't exclude, you include. Change /app/* to /app/*.jsp and /app/servlet/* or whatever. John On Tue, 17 Jun 2003 10:51:41 -0400, Steven Garrett [EMAIL PROTECTED] wrote: Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined an

Re: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-17 Thread Timothy Stone
This issue is archived at: http://marc.theaimsgroup.com/?l=tomcat-userm=105578975520239w=2 Timothy Stone wrote: I have to say, the behavior seems almost identical to the described behavior of RequestDispatcher#include since control is given back to the forwarding servlet. The subtle differences

Apache 2.0.46,mod_jk2-2.0.43.so tomcat 4.1.24 problem

2003-06-17 Thread Anup Reddy Challa
Hi, I configured apache 2.0.24 , mod_jk2-2.0.43 and tomcat4.1.24 on Solaris 9 , i compiled installed Apache,downloded binary versions of mod_jk2 tomcat4.1.24 and installed,every thing is working fine , but in apache error log i'm geting following error, [Tue Jun 17 07:10:09 2003][notice]

Re: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13:localhost:8009 [uri:/app/servlet/*] worker=ajp13:localhost:8009 would send all files ending in .jsp and all files underneath the /app/servlet uri

RE: setting of session ID

2003-06-17 Thread Shapira, Yoav
Howdy, And why oh why would you want to override the server's session ID mechanism (thereby breaking the server's HTTP protocol compliance, any clustering / failover mechanisms, etc.)? Tomcat being open source, you can of course modify / extend / wrap its session manager implementation. See

RE: RequestDispatcher anomolies (Tomcat v4.1.24)

2003-06-17 Thread Shapira, Yoav
Howdy, One: as noted, return explicitly from the executing method OR I like this one, as it's clear and simple. If you forward somewhere you shouldn't be doing anything in the method afterwards. Two: explictly use out.close() in the called resource. (not useful when the called resource is

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
This is something that's on the horizon for me, and I know what I'll end up doing is using that automated method of configuring mod_jk. Tomcat will start and create a file that contains a uri:webappname/servletname mapping for each servlet mapped in web.xml for all webapps. Then in apache, you

Re: AW: Classloader question

2003-06-17 Thread Julie H. Zhu
I ran into a strange problem that may have some thing to do with the Classloader in Tomcat. I have a servlet application which is running fine by itself under Tomcat. However, if there is another application running at the same time, it throws NoClassDef exception, especially when it needs to

RE: AW: Classloader question

2003-06-17 Thread Shapira, Yoav
Howdy, Search the archives of this list on NoClassDefError (it not an exception, and it's certainly not the same as a ClassNotFoundException). You'll find many XML-apis-related answers, and some more general answers. Yoav Shapira Millennium ChemInformatics -Original Message- From:

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Sure, that could be done, but I honestly don't see the value. The only way this is better or easier is if you have your servlets spread out all over the place. Otherwise, you can handle everything you need with two mappings: /app/*.jsp /app/some-string-here/* Since Tomcat doesn't do anything

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Maybe I'm missing something, but I'm not using Tomcat's servlet invoker. So I don't have a single 'some-string-here' (ie /servlet) that I can use. Or do I? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:00 AM To: Tomcat Users List

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
You don't have to use the Invoker...my point was that typically (at least from what I have seen) people put their publicly accessible servlets in one place. If they're all in one place, and typically there aren't any other types of files sitting in the servlets directory other than servlets,

LDAP and Jakarta-Tomcat-3.2.4

2003-06-17 Thread Tien-Lung . Liu
Hi, Could anyone please give me some pointers on the problem below? I'm running Jakarta-tomcat-3.2.4 on the server (Windows 2000) and also have installed the Tomcat service usingjk_nt_service.exe. I'm using Jakarta-tomcat-3.2.4 to run a Java web service that authenticates the user against

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Except you don't 'serve' them from that directory, you invoke them, right? From your document here: http://www.johnturner.com/howto/mod_jk_conf.html snip JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/SendMailServlet

JSPs not compiling

2003-06-17 Thread Thomas, Kevin
Sorry guys, me again. I've done the searching on google and the Tomcat archives but nothing... I've got Tomcat quite happily serving up me servlets but when I try to run .jsp's I'm getting the following: org.apache.jasper.JasperException: Unable to compile class for JSP at

Re: heap size config

2003-06-17 Thread Billy Ng
If you run top, and make a servlet to call a System Runtime. Then, use Jmeter to hammer it. You will see the swap disk is create the same size as the -Xms for each thread. I have done the test with different sizes of heap. It is solid true. Billy Ng - Original Message - From: Yoav

[Slightly OT] java error size

2003-06-17 Thread Eric J. Pinnell
This might be more of a java question, but how in tomcat do you set it so that when java throws an error you can get a 100 or 200 line traceback and it won't cut it off? -e - To unsubscribe, e-mail: [EMAIL PROTECTED] For

How to generate the mod_jk.conf with Tomcat 4.1.24 or 4.0.6

2003-06-17 Thread Omar Vera
Hi to everbody, I am trying to have generated the mod_jk.conf with Tomcat 4.1.24 or 4.0.6 in solaris 8, but they are not generated when I start the Tomcat. Do you know how to do it? John Turner suggest to use Tomcat 4.1.12 because it auto generate the mod_jk.conf, but this build is not available

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
One of the ways you could accomplish the /app/servlet/* mapping is to map each of your servlets in the app's web.xml file with a: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/servlet/MyServlet/url-pattern /servlet-mapping for each servlet in your app.

ssl keystore

2003-06-17 Thread Marc Dugger
I am attempting to change the certificate against which a webapp authenticates itself. I've gone as far as deleting the old key/cert from the keystore and imported a new one. However, the webapp continues to use the old cert. I've verified that the 'keystorefile' param on the SSL factory is

sessions across browser insances (store cookie file on user machine?)

2003-06-17 Thread Bill Ataras
Is there any way to make your HttpSession live across a user's browser instances? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSPs not compiling

2003-06-17 Thread Dominic Parry
Hi Kevin Did you by any chance add the Tomcat Jars to the %JAVA_HOME%\jre\lib\ext folder? If you did, you should remove them, and add the ones you need to your CLASSHPATH. Java puts some security restrictions on jars in the ext folder, for good reason. Cheers Dom - Original Message -

Re: How to generate the mod_jk.conf with Tomcat 4.1.24 or 4.0.6

2003-06-17 Thread John Turner
Actually, I suggest using the latest version of Tomcat, 4.1.24. My Solaris HOWTO uses 4.1.12 because that was what was current when I wrote the HOWTO, and access to a non-production Solaris box at this time would require lots of work, and I am lazy. To generate mod_jk.conf, you need Listener

problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Hi, I am trying to set up Tomcat as a secure web engine. From the tutorial I understood that you should insert the following lines in web.xml and the password protection should work. This works perfectly for files in the root directory (/*), it does not work for files in subdirectories, like

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Or do like struts and stick an extension on there. Struts uses *.do. Here are the JkMounts for an app running on 4.1.12 on Solaris, using struts: JkMount /myApp/*.do ajp13 JkMount /myApp/*.jsp ajp13 At that point, AFAIK, Tomcat will use the URL mapping in web.xml to determine which

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
The invoker servlet allows you to skip explicitly mapping your servlet in web.xml. The invoker is bad. Explicit mapping is good. The /examples webapp uses the Invoker servlet. Its an example. You don't enable the /examples webapp in production, and with the JSP source disclosure

Re: ssl keystore

2003-06-17 Thread John Turner
I don't use SSL, but when you stop and start the server, do you clean out the work directory? John On Tue, 17 Jun 2003 11:55:06 -0500, Marc Dugger [EMAIL PROTECTED] wrote: I am attempting to change the certificate against which a webapp authenticates itself. I've gone as far as deleting the

problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
I am not sure this email reached this mailing list. I am re-posting it just in case. My apologies if you receive it twice. -- Rosaria * Hi, I am trying to set up Tomcat as a secure web engine. From the tutorial I understood that you should

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Thanks for that John, I was getting this confused: do I send this to Tomcat != which servlet is mapped to this URL (I thought it was ==) I did reply a while back, to earlier emails, with the lightbulb went off, but that email seems to have lost its way. Perhaps this one will work. Thanks

RE: ssl keystore

2003-06-17 Thread Phillip Qin
Check you ssl.conf. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: June 17, 2003 3:07 PM To: Tomcat Users List Subject: Re: ssl keystore I don't use SSL, but when you stop and start the server, do you clean out the work directory? John On Tue, 17 Jun 2003

Re: problems with web.xml and security

2003-06-17 Thread Carl Walker
In which way doesn't it work? Are you prohibited from viewing the files after logging in or can you see the files even if you haven't authenticated? -Carl Rosaria Silipo wrote: Hi, I am trying to set up Tomcat as a secure web engine. From the tutorial I understood that you should insert

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
No problem, the list can be a little glitchy sometimes. John On Tue, 17 Jun 2003 14:16:46 -0500, Mike Curwen [EMAIL PROTECTED] wrote: Thanks for that John, I was getting this confused: do I send this to Tomcat != which servlet is mapped to this URL (I thought it was ==) I did reply a while

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
The second. I can see the files even without having authenticated. The funny part is that it works correctly for /* and for sub-directories that I have not yet created. -- Rosaria -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:37 AM To:

RE: heap size config

2003-06-17 Thread Shapira, Yoav
Howdy, Please post the simplest unit test I can use to reproduce this, including the JMeter script that tracks swap space. I'll be glad to see this one happen... What do you mean by call a System Runtime ? Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng

Re: JSP Compiler output?

2003-06-17 Thread Noel Rappin
Okay. I did a clean install of tomcat. I placed a compilation error in one of the example JSPs. I am now seeing this in the logs: * catalina.out: start/stop messages * localhost_examples: a stack trace saying that there was a JasperException: unable to compile class for JSP * localhost_log:

RE: heap size config

2003-06-17 Thread Eric J. Pinnell
Forgive me for jumping in on this thread mid-way... Keep in mind that 'top' is not the most accurate tool in the world. As well as the way some unixs handle swap space. Solaris, for example, handles swap space like airlines sell tickets on planes. They overbook it. So it might allocate the

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Ah, I think the lightbulb just went off. I think I can do this? servlet-mapping servlet-nameEditObjectServlet/servlet-name url-pattern/foo/editobject/*/url-pattern /servlet-mapping servlet-mapping servlet-nameReportServlet/servlet-name url-pattern/foo/reports/*/url-pattern

Re: problems with web.xml and security

2003-06-17 Thread Carl Walker
I just tested this and wasn't able to see /secadmin without logging-on. Are you closing the browser (possible including mail clients) between trials? If you go from hitting '/' with a successful logon to hitting '/secure', you won't get a second challange. -Carl web-resource-collection

Security question

2003-06-17 Thread Bob Damato
Security for the site I'm working with was originally done via IPlanet's internal security. I'd like to move to using the webapp security in Tomcat. Under iPlanet, the security was set up with the entire site - /* - being secured, then specific uri's were explicitly declared un-secured. So,

RE: problems with web.xml and security

2003-06-17 Thread Rosaria Silipo
Thanks Carl, Yes, I tried to see /secure as first thing and I can see it without authentication. I tried to close browser and restart it and I still could see it. Maybe the problem is on the web.xml of /secure. Is it possible? -- Rosaria -Original Message- From: Carl Walker

Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I have defined a GlobalNamingResource for a database connection and that works great if I put a ResourceEnvRef in the Context in the server.xml. However, I have a problem. If I deploy my app using ant and it's deply task, it removes the ResourceEnvRef portion of my Context. I see two possible

Re: CVS snapchot compile problems

2003-06-17 Thread Antonio Fiol Bonnín
Yoav Shapira wrote: Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira I went the build.properties way, for the record... - To unsubscribe, e-mail: [EMAIL

Re: costumize manager

2003-06-17 Thread Jens Skripczynski
Hi, If you subclass a tomcat class and use a functionality, that is not directly described in the specs for jsp containers. , you might run into problems (afaik), when you are upgrading your tomcat server, since those classes might change and might have to make a redisign... Maxime Colas des

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
Where do you want to delete all the .class files??, I don't have any application to run right now.. I have a fresh installation of tomcat4.1.24 Srini. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:43 AM To: Tomcat Users List Subject: Re:

RE: Tomcat/Ant/JNDI question

2003-06-17 Thread Shapira, Yoav
Howdy, - put the equivalent of ResourceEnvRef into the web.xml inside the web app See the env-entry element in the Servlet Specification, v2.3, SRC.13.1. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is

Re: win2000 issue with tomcat4.1.24

2003-06-17 Thread John Turner
Sorry, you lost me. I think Craig's response at the link I provided should be enough to go on, basically he is saying to recompile all of your classes. That would have nothing to do with Tomcat. While I have never personally seen this error message, I have no problems spending time trying a

  1   2   >