AW: JAAS and Tomcat 4.1

2003-03-14 Thread Marcus Lippert
Thx for your attention, I managed to fix the problem myself. The problem was that the principal class did some lookups in the system properties. That caused a call to AccessController.checkPermission() which in turn querried the principal, and so on. That caused a recursion that ended in a

Re: Problem with default servlet

2003-03-14 Thread Bill Barker
rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I am using a caching Filter that *conditionally* uses the default servlet (through RequestDispatcher) to serve a page, or generate it again. In the case when the default servlet is used to serve the page, this servlet seems

Re: custom .properties file

2003-03-14 Thread Bill Barker
If $CATALINA_HOME/common/classes doesn't work, then you'll probably have to take it up with the vendor of you driver. If the driver wants to load it from the System classpath, then you will probably have to edit catalina.(sh/bat) to include it in the System classpath. Alessandro Scaramuzza

RE: custom .properties file

2003-03-14 Thread Scaramuzza Alessandro
Ok, I'll try ! thank you -Original Message- From: Bill Barker To: [EMAIL PROTECTED] Sent: /03/aa 9.32 Subject: Re: custom .properties file If $CATALINA_HOME/common/classes doesn't work, then you'll probably have to take it up with the vendor of you driver. If the driver wants to load

Tomcat page redirect

2003-03-14 Thread Colin Browell
Is there a simple way of causing a page redirect in Tomcat? In Apache a simple change to the httpd.conf would suffice, but in Tomcat the learning curve seems to be much steeper! Basically, I have been told to modify our Aepona/Tomcat installation so that when a user types

Re: javabean help

2003-03-14 Thread Henry Tang
import the package import package.name -henry SEE MY ONLINE STORE! http://www.yucreation.com/home/istore/ - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Problem with default servlet

2003-03-14 Thread rf
--- Bill Barker [EMAIL PROTECTED] wrote: rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I am using a caching Filter that *conditionally* uses the default servlet (through RequestDispatcher) to serve a page, or generate it again. In the case when the default

Loading dll for servlets

2003-03-14 Thread Bjoern Abt
Hello List, Background: I am extending an existing application to the web. The existing application is written in cobol and compiled to a *.dll on a Windows2000-System. I can load the dll and go the specific entrypoints, so the existing logic doesn't have to be rewritten. My Question: Is it

Authentication in apache-tomcat

2003-03-14 Thread Marc Nothum
Hello, I'm using tomcat as an in-process servlet-engine in an apache server. Everything works fine execpt the authentication. I've configured the authentication to do Access-control based on the system-users and passwords. This works fine for static pages, served by appache, but the access

Re: Loading dll for servlets

2003-03-14 Thread Tomcat-RND
hi, Can you eloborate to load the dll in tomcat server?What is the functionality required ? Can detail us about overhead of loading and unloading dll in servlets? Pls ignore i was wrong .. Regards, Pratt. - Original Message - From: Bjoern Abt [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Loading dll for servlets

2003-03-14 Thread Bjoern Abt
Hi Can you eloborate to load the dll in tomcat server?What is the functionality required ? I need to access the dll's entrypoints from a few servlets. And I don't want to Load the dll to RAM and unload it in every servlet. Can detail us about overhead of loading and unloading dll in

Running Tomcat on Win XP

2003-03-14 Thread Chris Dodunski
Hi all, I was successful in installing and running Tomcat on our Linux web server. Today I downloaded the Windows version of Tomcat for my PC. Having installed j2sdk1.4.1_02 and j3sdkee1.3.1, set environment variables JAVA_HOME and J2EE_HOME, I then installed Tomcat 4.1.18. However, upon

Servlet not available

2003-03-14 Thread Peng Annie
Hi there, I am using Apache2, TC4, on W2k. tomcat works fine with jsps, but I got this error when trying to login. type Status report message /myapp/servlet/UserLogin description The requested resource (/myapp/servlet/UserLogin) is not available. I know it must not be a big problem just should

Re: Servlet not available

2003-03-14 Thread Kwok Peng Tuck
The default servlet invoker is off. Either turn it back on or define a servlet mapping for your servlet. It should work. Peng Annie wrote: Hi there, I am using Apache2, TC4, on W2k. tomcat works fine with jsps, but I got this error when trying to login. type Status report message

Re: configuring j_security_check in Tomcat

2003-03-14 Thread Lanto Randriamiharisoa
Thanks for your response. It works better now (after resolving another problem due to this modification : Invalid direct reference to form login page) -- Lanto Read the realm Howto of tomcat to use it. I try to resume : You protect your servlet by defining a realm with connection on ldap,

RE: Servlet not available

2003-03-14 Thread Peng Annie
Hi, I think it is on here. In $TOMCAT_HOME/conf/web.xml I have the following lines: !-- The mapping for the default servlet -- servlet-mapping servlet-namedefault/servlet-name url-pattern//url-pattern /servlet-mapping !-- The mapping for the invoker servlet --

First simple questions

2003-03-14 Thread LAGALISSE Eric
Hi, We try to configure load balancing using JK2 and our first question is about the syntax used. Should we use lb_factor OR lbfactor? Second question: what is the range of this factor? from 1 to??? Thanks for your help. Eric LAGALISSE Coordinateur de production CASDEN -

ClassNotFoundException... ? serializable objects? help!!

2003-03-14 Thread Jamesey
I am using struts and tomcat... i am swiching from non ssl to ssl.. I have got the RSA certificates stuff ok.. and switching back and forth to sll seems to be fine.. My problem is I have a serializable object[] in the session. When i switch to SSL the object appears in the

Re: Doubt regarding FormAuthenticator

2003-03-14 Thread shanmugampl
In that case, how will the server know that the control should be directed to my Valve during FormAuthentication and not to the FormAuthenticator. Bill Barker wrote: You can add a custom Authenticator (Form or otherwise) by adding under the Context ... Valve

Re: Servlet not available

2003-03-14 Thread Kwok Peng Tuck
Annie, map the invoker servlet in your web.xml of your webapp as well if you want to. So there is an entry like this : servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping Alternatively you could just do this : My servlet definition

FreeBSD 4.7 mod_jk2 apache 2

2003-03-14 Thread James Hoffa
I could not find much documentation on getting mod_jk2 to compile, configure/install on freebsd4.7 with apache2, so I put together this page. I hope it can save you some time. If you see a problem or a better way to get it done, please post here! http://www.thinlizard.com/lizard/modjk2.html

Application restart causes IOException when accessing properties

2003-03-14 Thread Jochen Wiedmann
Hi, while developing an application I frequently copy files into the webapps directory including some jar files in WEB-INF/lib, causing a restart of the application. However, after a restart, I frequently observe IOExceptions when accessing a property file, which is located in one of the Jar

Configuration of tomcat

2003-03-14 Thread Eamonn Walsh
Could you please help me with the following problem. I have installed the JDK and tomcat successfully on my PC. I am now ready to develop my own web application using JSP. I have admin rights on the PC. How do I set the context so that when I sdave my JSP files on my hard dsik, tomcat will know

Re: Running Tomcat on Win XP

2003-03-14 Thread Chris Dodunski
An observation that may be of relevance here is that the example Servlets are working fine. Problem only apparent when attempting to view a JSP - like the default Tomcat page. Any clues anyone? Thanks, Chris. - Original Message - From: Chris Dodunski [EMAIL PROTECTED] To: [EMAIL

Model View Controller with JSP

2003-03-14 Thread Jan Behrens
hi list, i am trying to figure out a way to use the model-view-controller paradigm to dynamicaly reload a jsp page when the underlying object has been changed by another user. i would like to achive this without having to use a separate servlet however... any ideas, tips or links would be very

Re: Do you run Tomcat with SSL?

2003-03-14 Thread Gabriel Santonja
On Thu, 13 Mar 2003 19:51:57 -0800 (PST) Mark Liu [EMAIL PROTECTED] wrote: I know you guys have your great strategies in balancing Apache and Tomcat. But, my project isn't really so picky about efficiency, so I simply run Tomcat with SSL all the time. It simplifies my project a little

Re: Do you run Tomcat with SSL?

2003-03-14 Thread Josef Templ
I can confirm that it works. I am using tomcat 4.1.12. The only point I have not solved so far is how to get access to the client certificate in my servlet or JSP. I would like to do programmatic security, i.e. store users in a database and verify the authenticated user in a JSP or servlet.

RE: Configuration of tomcat

2003-03-14 Thread Gustavo Cebrian
I do not know exactly what you mean. Your webapps must be under webapps. Build a new directory called for example. myapp. tomcat\webapps\myapp, myjsp. By accessing the server e.g http://localhost:8080/myapp/myjsp it should work. Hope this helps. Otherwise give me more details. Gustavo.

Re: Loading dll for servlets

2003-03-14 Thread Tomcat-RND
Hi, If you want to hold the loaded dll permanently then you can load in a static class keep it in context and use the same for all the users. If they need only for the User Session, then better to load in login and unload on session out. Hope it may be one useful thought.. Regards, Pratt.

Re: Running Tomcat on Win XP

2003-03-14 Thread Jon Wingfield
This is a wild stab in the dark but here goes. How much RAM have you got in your XP box? Is the compilation of the jsp/jsps by ant running out of memory? (I think the compilation is out-of-process, but i may be wrong.) If you think you have enough memory then play around with the -Xms and -Xmx

RE: Do you run Tomcat with SSL?

2003-03-14 Thread Bodycombe, Andrew
You can write a class that implements the X509TrustManager interface. Then initialize your SSLContext with this TrustManager. Get a SocketFactory for your SSLContext. Finally, set this as the default SocketFactory for all HttpsUrlConnections. The code in your checkClientTrusted method will

Apache won't start

2003-03-14 Thread Gregory Vandenbroucke
Hi all, I'm stuck with the following problem: I'm trying to connect Apache to tomcat using mod_jk, but everytime I try to start apache after having launched tomcat it gives me a the requested operation failed. I followed the instructions given on

RE: Apache won't start

2003-03-14 Thread graghupathy
did you do the AddModule -Original Message- From: Gregory Vandenbroucke [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 11:32 To: '[EMAIL PROTECTED]' Subject: Apache won't start Hi all, I'm stuck with the following problem: I'm trying to connect Apache to tomcat using mod_jk, but

Re: Running Tomcat on Win XP

2003-03-14 Thread Chris Dodunski
Thank you Jon for being THE one to reply. Actually, my problem was due to a silly mistake on my part. Instead of defining JAVA_HOME=C:\j2sdk1.4.1_02, I set JAVA_HOME=C:\j2sdk1.4.1_02\bin. Resetting it correctly, even followed by a PC reboot, didn't correct the situation. I had to uninstall and

RE: Can Tomcat 4 be configured to listen on two ports simultaneously

2003-03-14 Thread Marina McGale
Thanks for the reply. I checked port 80 and it was bound by some other process so it was not allowing the connection from the Tomcat Connector. So I decided to re-start Apache and forward the calls to port 80 (for a particular app context) on to Tomcat listening on port 8080 and it works fine.

Apache - Tomcat connectors

2003-03-14 Thread Chris Dodunski
I'm honestly astounded at the number of people struggling with successfully installing and configuring Apache - Tomcat connectors. An extensive search of apache.org (and other sites) reveals why. Documentation is vague, fragmented, and quite frankly confusing. It's frustrating and it's time

Re: Tomcat not sending session cookies to IE

2003-03-14 Thread Tim Funk
Could it be this? http://marc.theaimsgroup.com/?l=tomcat-devm=104247780113629w= -Tim Ian Bruseker wrote: Greetings, list. I'm having IE issues. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Loading dll for servlets

2003-03-14 Thread Bjoern Abt
Hi Pratt, Hi, If you want to hold the loaded dll permanently then you can load in a static class keep it in context and use the same for all the users. If they need only for the User Session, then better to load in login and unload on session out. That seems to be exactly what I wanted!

RE: Apache - Tomcat connectors

2003-03-14 Thread Donie Kelly
Hi Why do so many other sites need to do this. Should the definitive source not be the Tomcat site? If people have time they should submit a working example. It would be nice if there was an official source for this type of information. It sure is a waste of time roaming the web for basic

Re: Do you run Tomcat with SSL?

2003-03-14 Thread Josef Templ
Hmm, I actually don't want to check the trust chain myself. There is no need to do anything special. All I want is to access the content of the client certificate, which should be checkd as usual. Isn't this a very common situation for a web application, which uses certificates as a straight

RE: Apache - Tomcat connectors

2003-03-14 Thread Bodycombe, Andrew
I'm sure the tomcat developers would be delighted if you provided this documentation... -Original Message- From: Chris Dodunski [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 12:07 To: Tomcat Users List Subject: Apache - Tomcat connectors I'm honestly astounded at the number of people

Re: broken links

2003-03-14 Thread Mark Pease
If you are running on Linux, I believe the paths are case-sensistive... Are you typing it EXACTLY the same? Mark - Original Message - From: Bharadwaj [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:00 PM Subject: broken links sir, good day. we have

JMX doco??

2003-03-14 Thread Hakan Soderstrom
Are the JMX capabilities of Tomcat documented anywhere? Sorry if I'm missing the obvious. What I need is really some sound advice on how to introduce Tomcat in a shop where it becomes just another blip on the screen (i.e. the management console). Hakan

Re: Model View Controller with JSP

2003-03-14 Thread Mark Pease
Hi Jan, I think you are out of luck with a straight JSP unless you incorporate Applets to stream the data to. When you request a JSP page, it is dynamically generated from the server, but it still follows the HTTP method of a simple request, which returns the page and the 'connection' is

Tomcat/Apache 2-way SSL authentication

2003-03-14 Thread Ramsay Domloge
Hey All, I am currently building a PKI bolt-on for an exisiting insecure web application and have run into trouble at the last hurdle. I have written a CA using BouncyCastle's library with JCE which will be used to create certificates to gain entry to certain restricted areas. I am using

RE: javax.servlet.ServletException: ClassNotFoundException: org.postgresql.Driver

2003-03-14 Thread Roberts, Eric
The key word is link - place the file physically in the common/lib directory. HTH -Original Message- From: Jason S. Friedman [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 06:17 To: [EMAIL PROTECTED] Subject: javax.servlet.ServletException: ClassNotFoundException: org.postgresql.Driver

RE: First simple questions

2003-03-14 Thread apachep2
If you build jk2, you will find a workers2.properties in jk/build dir/sub-dir. I remember it does the load balancing using lb. -Original Message- From: LAGALISSE Eric [mailto:[EMAIL PROTECTED] Sent: March 14, 2003 5:18 AM To: [EMAIL PROTECTED] Subject: First simple questions Hi,

RE : First simple questions

2003-03-14 Thread LAGALISSE Eric
Thanks I found it, and i saw that we should use lb_factor Now i need to find what value should be used to load balance. For now we only noticed that the first declared worker is always the most used except if requests fail it start to ask to the second worker -Message d'origine- DeĀ :

RE: Apache won't start

2003-03-14 Thread Gregory Vandenbroucke
Hi, That doesn't work either... everything seems to be working. There's one thing though that looks a little bit strange. If I launch Tomcat (alone) and try to connect to http://localhost:8009 a Java exception is raised and caught. GRAVE: Caught exception executing [EMAIL PROTECTED], terminating

Re: Do you run Tomcat with SSL?

2003-03-14 Thread Josef Templ
With Tomcat 4.1.18 there is an (undocumented??) attribute in the request, which holds the certificate trust chain as an X509Certificate[]. request.getAttribute(javax.servlet.request.X509Certificate) I have seen exceptions under Tomcat 4.1.12 (some SSL HANDSHAKE problem) in the log, which explain

RE: First simple questions

2003-03-14 Thread Shapira, Yoav
Howdy, RTFM / STFW / STFA (A being archives). This has been asked and discussed several times, with completely examples available online and in the archives. John Turner's has a good how-to on this topic. Yoav Shapira Millennium ChemInformatics -Original Message- From: LAGALISSE

RE: Increase heap for a specific webapplication

2003-03-14 Thread Shapira, Yoav
Howdy, If the problem is not with the heap, why the subject of this thread? ;) It sounds like something specific to your web application. I would suggest creating load tests that simulate real load, carrying them out on a dev server that's as close as configuration in possible to the production

J-T-C 4.1.18 ThreadPoolRunnable compilation error

2003-03-14 Thread Selvaraj N
Hi, I downloaded jakarta-tomcat-connectors-4.1.18-src.tar.gz and uncompressed the same in to /mod_jk2 directory. When I tried to run ant from the j-t-c directory, I got the following error. build-main: [echo] - Java-utils - [echo] -- puretls.present = ${puretls.present}

RE: KEEP-ALIVE

2003-03-14 Thread Roberts, Eric
Er.. Why is this attribute nowhere in the TC docs?? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 07:51 To: [EMAIL PROTECTED] Subject: Re: KEEP-ALIVE If you are using the CoyoteConnector (the default for 4.1.x), then set the maxKeepAliveRequests=1

Re: Apache - Tomcat connectors

2003-03-14 Thread Chong Yu Meng
I submitted my write-up to the Linux StepxStep (http://www.linux-sxs.org) , and it can be found under Internet - Serving Apache Tomcat Java Server. This may sound really egotistical or something, but I would be very happy to include any articles or write-ups here (under your own name, of

unable to start admin app...Can someone please respond

2003-03-14 Thread krip pane
All, Can someone please help with running the admin application (running on solaris 2.8, tomcat4.1.18). I keep getting the following errors (truncated): 2003-03-13 09:17:18 WebappLoader[/admin]: Deploying class repositories to work directory

RE: Browser showing the directory structure

2003-03-14 Thread Cox, Charlie
in conf/web.xml set listings to false Charlie -Original Message- From: Sudhir Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:27 PM To: 'Tomcat Users List' Subject: Browser showing the directory structure Hello, When i open my jsp

Re: Tomcat hosting provider needed

2003-03-14 Thread Susan Hoddinott
Hello, Yes I have recently gone through the same exercise. There is a list at www.adrenaline.com. There appears to be a hugh variation in both prices and level of technical expertese. I emailed my requirements to a few and many were clearly just marketing oriented and tried to get me to change

Re: inconsistencies in Tomcat handling servlet filters...

2003-03-14 Thread Jacob Kjome
No one has any opinions or comments on this? I can't believe no one else has run into this problem. Jake At 04:46 PM 3/13/2003 -0600, you wrote: I've mentioned this issue before regarding a GZIPFilter that wasn't working under Tomcat except for static file content (not working for JSP's

Re: inconsistencies in Tomcat handling servlet filters...

2003-03-14 Thread Kris Schneider
Have you tried comparing the behavior of your filter to the one provided with TC? $CATALINA_HOME/webapps/examples/WEB-INF/classes/compressionFilters Quoting Jacob Kjome [EMAIL PROTECTED]: No one has any opinions or comments on this? I can't believe no one else has run into this problem.

RE: Apache - Tomcat connectors

2003-03-14 Thread Victor Gonzalez
Hi Chris, I had the same problems, but I received to help from here, and now I can help you, the best page for it was www.johnturner.com/howto/winxp-howto.html It is excellent! Regards, Victor Gonzalez -Original Message- From: Chris Dodunski [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: Configuration of tomcat

2003-03-14 Thread Paul Yunusov
On Friday 14 March 2003 01:53 pm, Eamonn Walsh wrote: Could you please help me with the following problem. I have installed the JDK and tomcat successfully on my PC. I am now ready to develop my own web application using JSP. I have admin rights on the PC. How do I set the context so that

RE: inconsistencies in Tomcat handling servlet filters...

2003-03-14 Thread Shapira, Yoav
Howdy, I saw the original message but never got around to commenting on it, as: - I wrote a compression filter from scratch just to try it out, right when servler 2.3 came out, and tomcat 4.0.4 had no problems with that filter, all worked fine. I tried this with JSPs, servlets, and static

[4.1.18] Startup Servlets Load Twice???

2003-03-14 Thread Gavin, Rick
Hi All, Can anyone tell me what would cause my servlets that i have set to load a startup would be executing twice. If i have a simple servlet that spits out a line of text ot the log, when i start tomcat (4.1.18) i see the text gets written out twice. This same servlet did not do it in

RE: Cannot create resource instance

2003-03-14 Thread Appel, Jeremy D
Yes, I am doing the lookup exactly the same way. I should not have to modify the catalina.policy file for security, correct? -Original Message- From: Ferrer, J.C. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 7:18 PM To: 'Tomcat Users List' Subject: RE: Cannot create resource

Re: unable to start admin app...Can someone please respond

2003-03-14 Thread Paul Yunusov
On Friday 14 March 2003 09:16 am, krip pane wrote: All, Can someone please help with running the admin application (running on solaris 2.8, tomcat4.1.18). I keep getting the following errors (truncated): 2003-03-13 09:17:18 WebappLoader[/admin]: Deploying class repositories to work

RE: Cannot create resource instance

2003-03-14 Thread p niemandt
No need to change the policy file. Make sure the oracle drivers are in the correct directory ... $TOMCAT_HOME/common/lib and that the classes.zip file has been renamed to classes.jar Also, maybe mail a sniplet of the code you use to do your lookup: Maybe we can see something funny. hth. Paul

RE: Cannot create resource instance

2003-03-14 Thread Appel, Jeremy D
Yes the classes.jar file is in %CATALINA_HOME/common/lib Here is snippet of code, disregard the list bindings call (debug statement which prints out the binding) Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); NamingEnumeration enum =

user auth not working

2003-03-14 Thread Christian Dechery
I just downloaded and installed Tomcat 4.1.8 in WinXP. At a certain point in the install process, it asked me for an admin password, I chose my most basic pwd... then after the install was over, I tried to go to the admin page... that window with username and pass showed up, I entered both

RE: user auth not working

2003-03-14 Thread graghupathy
can you send us the xml file please ??? -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 15:27 To: Tomcat Users List Subject: user auth not working I just downloaded and installed Tomcat 4.1.8 in WinXP. At a certain point in the install process,

RE: Cannot create resource instance

2003-03-14 Thread p niemandt
OK: This is basically what I do, and it has never given me any problems. Maybe try that? *** server.xml *** Define a resource ... Resource name=jdbc/chfs auth=Container type=javax.sql.DataSource/ *** where you need the connection *** { String DatasourceName = java:comp/env/jdbc/chfs; Connection

Re: Tomcat not sending session cookies to IE

2003-03-14 Thread Ian Bruseker
On Thursday 13 March 2003 11:40 pm, Bill Barker wrote: I've never had problems myself with TC 3.3.x-5.0.x (I stopped using 3.2.x long ago :). IE 6.x has a cookie-lockout feature that may be causing the problem. With the factory settings, Tomcat should be fine. Go to Tools-Internet

Re: Tomcat not sending session cookies to IE

2003-03-14 Thread Ian Bruseker
On Friday 14 March 2003 5:11 am, Tim Funk wrote: Could it be this? http://marc.theaimsgroup.com/?l=tomcat-devm=104247780113629w= -Tim It looks close, but I don't think that's it. For that issue to be true here, the browser would have had to have received a cookie in the first place. But

RE: Tomcat not sending session cookies to IE

2003-03-14 Thread Scott, Sean
If the domain and path of the cookie do not map correctly to your web application, the browser will not send it. I like to use Mozilla when troubleshooting cookie problems because it allows you to look at the cookies and make sure they are as you expected. -sean -Original Message- From:

RE: Cannot create resource instance

2003-03-14 Thread Appel, Jeremy D
That still did not work. Given the fact that I can list the binding, I have to think that the DBCP related class files are not getting loaded to handle the request. Is there anyway to check this? -Original Message- From: p niemandt [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003

Re: Tomcat not sending session cookies to IE

2003-03-14 Thread Ian Bruseker
On Friday 14 March 2003 8:58 am, Scott, Sean wrote: If the domain and path of the cookie do not map correctly to your web application, the browser will not send it. I like to use Mozilla when troubleshooting cookie problems because it allows you to look at the cookies and make sure they are as

RE: Tomcat not sending session cookies to IE

2003-03-14 Thread Dennis Cartier
Ian, If you are stumped, you could try running a sniffer to see just what is included in the response. Set-Cookie header or not. Tcpdump on any Unix box or Ethereal comes in handy for this. Dennis -Original Message- From: Ian Bruseker [mailto:[EMAIL PROTECTED] Sent: Friday, March 14,

Re: user auth not working

2003-03-14 Thread Christian Dechery
sure... here it is... .:| Christian Dechery.:| Web/Java Developer.:| Gaita-L Owner.:| [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 14, 2003 12:30 PM Subject: RE: user auth not working can you send

RE: Cannot create resource instance

2003-03-14 Thread Calvin Rapier
Jeremy, I noticed in looking back at your server.xml excerpt it looks like the factory class name is misspelled. It should be org.apache.commons.dbcp.BasicDataSourceFactory ^ -Calvin At 08:00 AM 3/14/2003, you wrote: That still did not work. Given the fact that I can list the binding, I

RE: Cannot create resource instance

2003-03-14 Thread p niemandt
Aah: On the other hand, and I should have caught this earlier, but anyways: I assume you copied your server.xml exactly in the post? In that case a definite problem is ... valueora.apache.commons.dbcp.BasicDataSourceFactory/value Getting confused with Oracle? This should surely be

RE: [4.1.18] Startup Servlets Load Twice???

2003-03-14 Thread Shapira, Yoav
Howdy, Some things that could do it: - One load-on-startup servlet tag with two (or more) servlet-mapping elements in web.xml. - One load-on-startup servlet tag for the same servlet defined in multiple contexts. Yoav Shapira Millennium ChemInformatics -Original Message- From: Gavin,

RE: Apache - Tomcat connectors

2003-03-14 Thread Dennis Cartier
I agree. I struggled with JK2 for awhile but finally gave up and went back to JK. The docs were very confusing and contradictory. I suppose I could have appealed for help, but I got the impression that JK2 was still under constant change and without being able to be self sufficient, I felt the

RE: Cannot create resource instance

2003-03-14 Thread Appel, Jeremy D
Thanks for the help. Don't I feel like the idiot!! -Original Message- From: p niemandt [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:29 AM To: 'Tomcat Users List' Subject: RE: Cannot create resource instance Aah: On the other hand, and I should have caught this earlier, but

RE: Forced to use isapi_redirector.dll and now have problems

2003-03-14 Thread Januski, Ken
Ian, I have it set up pretty much the same as you: a virtual IIS directory points to a location in Tomcat/conf. I just changed the location, reconnected the virtual directory and tried again but I still get the same 404 error: requested resource /jakarta/isapi_redirector.dll is not available.

Re: Loading dll for servlets

2003-03-14 Thread jbisotti
I'm currently working on an app that requires access to some system DLLs. Not having done anyting like this before, I'm looking form some advice. Do I keep the DLL in with my webapp, or does it have to go somewhere in Tomcat's directory structure? Any help would be greatly appreciated. Thanks,

RE: Apache - Tomcat connectors

2003-03-14 Thread apachep2
Disagree. I think the simplicity of jk2 configuration (not building of jk2) confuses people. Because, we as developer, get used to think complicated. I did feel frustrated building jk2. Once I built it, I was surprised that the configuration is so simple. -Original Message- From: Dennis

RE: Loading dll for servlets

2003-03-14 Thread Scott, Sean
In my experience, I have needed to load the class that loads the shared library into the bootstrap classloader. This was with jdk1.3.1. I seem to recall that the shared library can be loaded only 1 time by the JVM, if the class that loads the shared library exists in a webapp it will try to load

New user

2003-03-14 Thread Amir . Shidfar
Hello All, I am a new user. we are developing some new Web application. We want to use TomCat/Apache as our server. I need to get some feed back regarding TomCat/Apache stability and support. I know this is a free software but I am reluctance to go into production without support. Any feed

Re: Do you run Tomcat with SSL?

2003-03-14 Thread Mufaddal Khumri
Is your certificate format generated by your little java program exactly like the keytool generated certificate ? Have you tested your certificates with other applications to see if you are producing them correctly ? thanks. On Friday, March 14, 2003, at 09:21 AM, Mark Liu wrote: I know you

RE: New user

2003-03-14 Thread Shapira, Yoav
Howdy, If it's support (paid) for tomcat you want, just do a google search for consulting for tomcat and you'll find many people who can help you. Personally, I don't think anything they provide is better than what you can get on this list, if: - You observe basic netiquette recommendations -

RE: New user

2003-03-14 Thread Amir . Shidfar
Thanks. Also another question. When I deploy may Java codes I do the following. I copy my file.war to tomcat/webapps directory and start the tomcat and that is all I have to do. Tomcat will unwar the file and will take care of the rest. If I am in production and have another file2.war for

RE: New user

2003-03-14 Thread Shapira, Yoav
Howdy, I'm not sure what you mean by for relapse. If file2.war is supposed to replace file.war, it should have the same name. See the Manager app documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html for ways to re-deploy an application without restarting the

RE : Apache - Tomcat connectors

2003-03-14 Thread LAGALISSE Eric
I'm not sure that configuring jk2 will be easier if we build it because someone can easily build something without knowing how to configure it. But i'm ready to believe you so provide us YOUR method to build this module and i'll write back onto this forum my point of view. I'm sure a lot of

CPU load doubles when migrating from Tomcat 3.3.1 to Tomcat 4.1.18

2003-03-14 Thread Chris Agmen-Smith
Has anyone else had CPU load increase dramatically when upgrading from Tomcat 3 to Tomcat 4? We are trying to update our server farm to Tomcat 4.1.18. When we swap a single prototype server running 4.1.18 into the server pool, it performs badly. Specifically, in a 10-minute period at

RE: New user

2003-03-14 Thread Amir . Shidfar
No file2.war is a brand new Web application. When you start the tomcat it will create file2 and all the proper directory under file2. I don't want to affect user which are using the Web application under file by stopping the Tomcat and restarting Tomcat. Basically I want to deploy file2.war which

RE: New user

2003-03-14 Thread Shapira, Yoav
Howdy, Apparently you didn't bother to read the manager webapp documentation I posted in the previous reply ;( In that URL it tells you how to deploy a new webapp or redeploy an existing one without restarting the server. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: RE : Apache - Tomcat connectors

2003-03-14 Thread apachep2
Build: Search archive you will find a link to a site that teaches you step by step how to build mod_jk2. Since it's Friday, why don't I just give you the link http://www.pubbitch.org/jboss/mod_jk2.html. Configure: Follow tomcat-connector's document. -Original Message- From:

Still trying to just get going

2003-03-14 Thread Hunter, Sandra
Well... I think I have my path correct but: HTTP Status 500 - No Context configured to process this request Help? Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Still trying to just get going

2003-03-14 Thread Jan Behrens
Well... I think I have my path correct but: HTTP Status 500 - No Context configured to process this request hi sandra, it would be helpfull if you would post just a little bit more information on what you are trying to do and what exactly the problem is :-) regards jan

RE: Forced to use isapi_redirector.dll and now have problems

2003-03-14 Thread Januski, Ken
Investigating this a little further I see that the redirect log has this: ajp_unmarshal_response: status = 404. So once again it looks like the ajp connector is working in that it's forwarding request to Tomcat. But then it can't find what it's looking for. Does anyone have any clues as to where

  1   2   >