Virtual Hosts In Tomcat

2005-08-25 Thread Dennis Harris
Hi, I have Tomcat 4.1 running on Server 2003. Now I want to point a new domain to this box using virtual hosts. I have read all the documentation and I'm still unclear where in the server.xml file to place this virtual host. Can someone paste an example of the virtual hosts and where exactly in

Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Hi Guys, I am setting up a Virtual Host in Tomcat, I've added the following entry in my server.xml file. Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true Aliaswww.q5aims.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=virtual_log1. suffix=.log

RE: Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Just trying to access http://q5aims.net/index.html -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:04 PM To: Tomcat Users List Subject: Re: Virtual Host Not Working Correctly Dennis Harris wrote: I am setting up a Virtual

Re: OT: wanted: servlet testing framework

2005-08-09 Thread Dennis
I've seen a combination of httpunit and dbunit used. You could give that a shot and see if it meets your needs. -Dennis Brian Moseley wrote: not specifically tomcat-related, but close enough i hope: i'm looking for an out-of-container servlet testing framework that executes servlet context

DeltaManager for Clustering

2005-07-29 Thread Dennis
in the config or in the code. Thanks Dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DeltaManager for Clustering

2005-07-29 Thread Dennis
Rainer Jung wrote: Hi Dennis, assuming you have a valid cluster config you don't need to start/stop the DeltaManager yourself. Good, that's what I thought. Session attributes are only replicated, if they are serializable and the changes to the attributes are applied via setAttribute

Re: DeltaManager for Clustering

2005-07-29 Thread Dennis
Rainer Jung wrote: No, DeltaManager doesn't use that flag. It would somehow not make sense, because the whole pupose of DeltaManager is to only replicate changed attributes of a session and the flag tries to replicate every session accessed. So if you would impement it with DeltaManager it would

Re: 5.5.10 cluster exception

2005-07-28 Thread Dennis
Well, I'll move this discussion over to the user thread then.. See below. Remy Maucherat wrote: Dennis wrote: I'm working with the cvs tagged 5.5.10 version of tomcat to check out some clustering fixes. When I bring a 2nd server into the pool, I get this exception repeated every time

Re: Clustering and the useDirtyFlag

2005-07-28 Thread Dennis
Dennis wrote: I've been working with a cluster of tomcat servers and wanted to change the useDirtyFlag to false so that the session is replicated after every request whether or not it was changed. Here is my modified server.xml fragment: ---CUT--- Cluster className

Re: 5.5.10 cluster exception

2005-07-28 Thread Dennis
Rainer Jung wrote: Hi Dennis, i tried with 15/conf/server.xml:tcpListenAddress=192.168.0.180 25/conf/server.xml:tcpListenAddress=192.168.0.30 and otherwise the same cluster config which you posted on tomcat-dev. No problem with membership and multicast

Clustering and the useDirtyFlag

2005-07-27 Thread Dennis
in the clustering code, I thought I'd see if anyone has any idea as to whether or not I have the correct expectation of the useDirtyFlag or if there might be some other problem. I'm using Tomcat 5.5.9. Thanks Dennis

unable to install Tomcat on Win2000 using installer (exe)

2005-02-16 Thread Dennis Pierson
The Tomcat 5.0 install exe hangs forever on the 'using jvm' step. The service is set up in the registry, but doesn't work. The menus don't install either. I can install from .zip, but I need the service. This happens with both JSDK 1.4.2 and 1.5.0

Re: Session already invalidated

2005-02-15 Thread Dennis Payne
Please send example of code that is creating or getting the session. Thanks Dennis M. Payne Programmer / Analyst Information Systems Management Training Corp. e-mail: [EMAIL PROTECTED] web: http://www.mtctrains.com work: (801) 693-2635 fax: (801) 693-2900 [EMAIL PROTECTED] 02/15/05 9:59 PM

Re: RE : Security Newbie - Need Help

2005-02-11 Thread Dennis Payne
need to make sure it is setup for your system with the proper names. You may need to play with it a bit. We are running Tomcat 5.0.28 [EMAIL PROTECTED] 02-11-2005 00:18 Hi Dennis; Where is IMS defined? Otherwise I have specified everything as you recommended. Yet I still get this error once I

Re: RE : Security Newbie - Need Help

2005-02-10 Thread Dennis Payne
you will not need a roles table for tomcat... it is only useful to your own applications that will edit the data. The system only utilizes the the user-role table and the user-password table (at least for basic authentication). Each servlet in the system that is secure is setup this way and

Re: Updating running WARs?

2005-02-04 Thread Dennis Payne
Besides 'Hot Patching' (placing an updated class or jsp on the application runtime) I have not found a way to do what you are trying to find. [EMAIL PROTECTED] 02-04-2005 14:15 What's the right way to update a running WAR in Tomcat 5.5? Is there anything resembling the manager's reload

Re: JSP/JDBC question

2005-01-20 Thread Dennis Payne
Looks like you put a statement intended for preparation into a regular statement. [EMAIL PROTECTED] 01-19-2005 18:23 I'm getting the following error when my JSP form POSTs: 17:15:23,500 INFO [STDOUT] -SQLException- 17:15:23,500 INFO [STDOUT] SQLState: 42000 17:15:23,500 INFO

Re: sessions do not work from homedirs and servlets do not work through apache

2005-01-13 Thread Dennis Payne
My implementation is not as complex as yours, so my suggestion may not work for you... We always use the request object to get access to the session both in the servlet and the JSP (We don't use any specialized JSP tags to do this. We always use putAttribute to put a Serializable object on the

RE: sessions do not work from homedirs and servlets do notwork through apache

2005-01-13 Thread Dennis Payne
I do not see how my session id and data is being lost. By the way my project was working perfectly with tomcat 1.3 but when I upgraded to tomcat 5 is when the session problem started. -Original Message- From: Dennis Payne [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:34 PM

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-06 Thread Dennis Lundberg
Mladen Turk wrote: Dennis Lundberg wrote: /www/ /htdocs/ /examples1/ /examples2/index.html /examples3/index.jsp /WEB-INF/web.xml /webapps/ /webapp1/index.jsp /webapp2/index.jsp Now httpd is set up like this: DocumentRoot

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-06 Thread Dennis Lundberg
to solve. I put those in bugzilla as well at http://issues.apache.org/bugzilla/show_bug.cgi?id=32969 -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-05 Thread Dennis Lundberg
-connectors/jk/native/apache-2.0/mod_jk.c?r1=1.77r2=1.78diff_format=h -- Dennis Lundberg, Utvecklingsledare, IT-avdelningen e-post: [EMAIL PROTECTED] http://www.mdh.se/personal/VisaPerson?fornamn=Dennisefternamn=Lundberg tel: +46-(0)21-101516, fax: +46-(0)21-101636 Mälardalens högskola, Box 883, SE-72123

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-05 Thread Dennis Lundberg
) The first three work as can be expected. It's the last one that puzzles me. I would like Tomcat to serve me the file index.jsp there. Is that possible? -- Dennis Lundberg Mladen Turk wrote: Dennis Lundberg wrote: *Problems:* With mod_jk 1.2.4 this works as expected. With versions 1.2.5, 1.2.6

Re: Issues with Tomcat on AIX?

2004-12-29 Thread Dennis Payne
You probably did this alread, but might want to check the access permissions for all directories and files involved. That stuff gets messed up pretty easy. The user that Tomcat runs under should be the same user that the JDK was installed with... Might be a complicating factor?? [EMAIL

Re: Having a problem when accessing servlets.

2004-12-28 Thread Dennis Payne
Possibly related to deployment versioning. If the entire WAR file is deployed at once I have not had problems, it is usually when I try to Hot Fix a single servlet. Tomcat acts like it is keeping track of the 'version' of the servlet and coughs up a hairball sometimes if it is different.

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-28 Thread Dennis Payne
If you are running Linux or Unix check the syntax for the 'nice' command. [EMAIL PROTECTED] 12-27-2004 18:55 Frank W. Zammetti wrote: It's interesting, Craig and I had an exchange about threads in servlet containers last week... I can't find a link to the thread unfortunately. Anyway, the

Re: JK2 Officially Unsupported - Should I Avoid JK2?

2004-12-23 Thread Dennis Payne
It looks like things regarding a connector are still in flux... probably not time to panic yet. JK2 works. mod_jk works. Choose one. [EMAIL PROTECTED] 12-22-2004 17:03 On November 15th, there was an announcement that JK2 is officially unsupported.

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
Use cron in Unix/Linux or task scheduler in Windows. [EMAIL PROTECTED] 12-21-2004 08:44 Hi, I am using Tomcat4.1.30 version. I have to develop a client application which looks in the database every 30 minutes, to retrieve the status of an order and send the status to the remote client. Again

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
External scripts really are the best answer for this. It is not possible to 'PUSH' information like this without a dedicated client! [EMAIL PROTECTED] 12-21-2004 10:14 Hi, I'm having a similar problem in my application. I've got several servlets called by the users. Every requets save some

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
It is possible to create a servlet thread in the init() method. That thread sould stay alive and run something every thirty minutes. The issue of pushing information out to the user remins the same. The servlet and the thread cannot do that. On the other hand, it is possible to setup java

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Dennis Payne
I have not run into that kind of problem before... typically if you hit a JSP without hitting its controller first you will just get nothing (an HTML screen with no data). when it gets routed back to the controller, it will then register a failure due to lack of data. Problem solved. [EMAIL

Re: Application looping

2004-12-14 Thread Dennis Payne
You could also use 'include' instead of 'forward'. [EMAIL PROTECTED] 12-14-2004 12:06 Hi, I solved the problem by dropping back to 4.1.24. I can't imagine what that had to do with it, but now it works. Jim. Shapira, Yoav wrote: Hi, Two ideas: one, always make sure to return (i.e. a

Re: JSP expressions are displayed as string

2004-12-13 Thread Dennis Payne
Might also want to check the response and make sure it is sending the right MIME type. Everything worked fine on I.E. but when running Netscape it needed the setting to display properly. Hope this helps... [EMAIL PROTECTED] 12-11-2004 06:33 A few possible reasons - Use a 2.3 DTD in your

[OT] Re: prevent multiple form posts using only servlets

2004-12-09 Thread Dennis Payne
Use javascript to disable or remove the button. [EMAIL PROTECTED] 12-09-2004 12:12 Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their

Re: [HttpSession creation: When How]

2004-11-29 Thread Dennis Payne
You can use the session.invalidate() if you need to before creating a new session (I did not use this approach). With my system, if the session exists we check for required elements and place them there if they are missing. Every thirty minutes the session automatically invalidates. At that

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Dennis Payne
If you are using a single servlet to determine the course of action and those actions are not mutually exclusive (like using a switch or if...else if structure) then something like this could definitely happen. Check your code... I am sure it is allowing two things to happen at once because it

Yikes! Where did 'webapps' go?! (5.0.28)

2004-11-19 Thread Dennis Payne
(Tomcat installed) that used to be there? How can I avoid this in the future? Please help! I have reverted to a previous server to get by now... -Dennis Payne- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: tomcat problems with SSL / PKCS12

2004-09-21 Thread Dennis Dai
Hi Kallen, I was able to export a p12 cert with complete chain half a year ago, but I couldn't reproduce it now. However, I found this: http://sense.bigbrother.net/archives/0275.html Maybe you can try it out while I continue playing with openssl ... Dennis On 9/21/2004 3:29 PM, [EMAIL

Re: tomcat problems with SSL / PKCS12

2004-09-21 Thread Dennis Dai
and don't leave it empty. Now, use keytool to verify: $ keytool -list -v -storetype pkcs12 -keystore server.p12 Enter the export password for the keystore password. Then you should see a line like this from the output: Certificate chain length: 3 Then you're done! HTH, Dennis On 9/21/2004 4:37

Re: Digested passwords

2004-09-21 Thread Dennis Dai
of FreeBSD's md5crypt(). A java implementation of md5crypt() can be found at: http://tools.arlut.utexas.edu/cvsweb/cvsweb.cgi/ganymede/src/md5/MD5Crypt.java?rev=1.12content-type=text/x-cvsweb-markup -- Dennis Dai [EMAIL PROTECTED

Re: tomcat problems with SSL / PKCS12

2004-09-21 Thread Dennis Dai
On 9/21/2004 6:41 PM, [EMAIL PROTECTED] wrote: On Tue, 21 Sep 2004, Dennis Dai wrote: Ok here's the deal with openssl. I'm using OpenSSL 0.9.7d and J2SE 1.4.2_05. Assuming: * server.key - your certificate's private key * server.crt - your certificate * inter.crt - the intermediate CA that signed

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Dennis Dai
On 9/20/2004 3:00 PM, Chuck Carson wrote: As far as JBoss goes, I heard a nasty rumor that JBoss might not be around much longer. Well, you do know that there're tomcat developers that work for JBoss on this list, right? ;-) -- Dennis Dai [EMAIL PROTECTED

Re: Tomcat vs BEA Weblogic?

2004-09-20 Thread Dennis Dai
. doesn't count As far as JBoss goes, I heard a nasty rumor that JBoss might not be around much longer. -rhugga -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: A little offbeat question

2004-09-16 Thread Dennis Dai
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SSL certs

2004-09-15 Thread Dennis Dai
'keytool -list' command, you're set. HTH, -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: error: duplicate local variable

2004-09-12 Thread Dennis Dai
to have duplicate variables with the enclosing scope. -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: error: duplicate local variable

2004-09-12 Thread Dennis Dai
for reference) 1st edition page 114: A local variable, already declared in an enclosing block and therefore visible in a nested block, cannot be redeclared in the nested block. So, eclipse's behavior is correct. -- Dennis Dai [EMAIL PROTECTED

Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
this list somewhat relevant shall we. Fredrik -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat will not run JSPs

2004-08-26 Thread Dennis Dai
current envirnment settings: L:\echo %java_home% C:\j2sdk1.4.2_05 L:\echo %catalina_home% D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT It STILL doesn't work! //SIGNED// Jerry Nelson -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: Custom authorization

2004-08-24 Thread Dennis Dai
that, IIRC, does what you need. I see it mentioned a lot on the Struts list. -QM -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Where to put Listener Realm instead of server.xml?

2004-08-23 Thread Dennis Dai
it into Context, you can put it into conf/Catalina/localhost/context.xml, thus no need to touch your server.xml ... -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Where to put Listener Realm instead of server.xml?

2004-08-23 Thread Dennis Dai
the document before I did the posting, but I guess I didn't look hard enough. :( Thanks for clearing that up! -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Starting Tomcat 5.0.25.

2004-08-19 Thread Dennis Dai
for a few seconds, then : disappears, i.e., Tomcat doesn't seem to be able to startup. The tomcat fails to start question shows up frequently on the list. 1/ check the logs 2/ change startup.bat to pause at the very end, so you can see what's going on etc. -QM -- Dennis Dai [EMAIL

Re: Starting Tomcat 5.0.25.

2004-08-19 Thread Dennis Dai
- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:41 AM To: Tomcat Users List Subject: Re: Starting Tomcat 5.0.25. On 8/18/2004 11:03 PM, [EMAIL PROTECTED] wrote: Hi, I am trying to start Tomcat 5.0.25 by running startup.bat through the command prompt. It opens for a flash

Re: tomcat deploys context.xml as a directory

2004-08-18 Thread Dennis Dai
). -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat deploys context.xml as a directory

2004-08-18 Thread Dennis Dai
know when this would get included in an official version of Tomcat. The version I am using is Tomcat 5.0.27. Also thanks for updating the subject. JP -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: list admins: unsub user for bounced messages

2004-08-17 Thread Dennis Dai
news -- http://www.RoarNetworX.com -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Server JVM with service startup

2004-08-17 Thread Dennis Dai
\tomcat5w.exe //ES//Tomcat5' and modify the java option there, or modify %JAVA_HOME%\jre\lib\i386\jvm.cfg and move '-server KNOWN' to the top. Note that the latter will apply to any java invocation, which may or may not be desired. -- Dennis Dai [EMAIL PROTECTED

Re: Alternative causes of msg 404 resource not avaialble?

2004-08-17 Thread Dennis Dai
in WEB-INF/classes. and added the corresponding servlet and servlet-mapping tags to web.xml. When I try it out on my desktop server it works fine, but when I redeploy to the department test server I get 404 error. Is there some other configuration/deployment step I am missing? -- Dennis Dai

Re: Wildcard subdomains

2004-08-08 Thread Dennis Dai
of a wildcard. Using Tomcat 5 hooked up to Apache2 using mod-jk2. Any help is appreciated. Thanks. This was discussed a few weeks ago: http://marc.theaimsgroup.com/?t=10899224532r=1w=2 -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe

Re: Letting apache handle 404s

2004-08-08 Thread Dennis Dai
, tomcat - not apache - presents a folder listing. This is an FAQ item: http://jakarta.apache.org/tomcat/faq/misc.html#listing -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Newbie - JDBC problem Name is not bound in this context

2004-08-07 Thread Dennis Dai
: ... Context ic = new InitialContext(); DataSource ds = (DataSource) ic.lookup(java:comp/env/jdbc/jimnew); I'm not a JNDI expert but you can try this: Context ic = new InitialContext(); Context ctx = (Context) ic.lookup(java:comp/env); DataSource ds = (DataSource) ic.lookup(jdbc/jimnew); -- Dennis Dai

Re: Problem with SSL configuration

2004-08-06 Thread Dennis Dai
=org.apache.coyote.tomcat5.CoyoteConnector clientAuth=false sslProtocol=TLS keystorePass = binoy/ ^ ^ Can you get rid of these spaces and try again? /Connector -- Dennis Dai [EMAIL PROTECTED

Re: Realm configuration not working

2004-08-05 Thread Dennis Dai
in the context?! This is on Tomcat 5.0.27 under jdk 1.4.2. Any help would be appreciated!! Make sure resource-ref / in web.xml is pointing to the correct resource (ie., the one in the context). -- Dennis Dai [EMAIL PROTECTED

Re: ajp over ssl

2004-08-04 Thread Dennis Dai
determine that automaticly? You can try out stunnel (http://www.stunnel.org/). It doesn't require an established connection like ssh tunnel does. -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

How to deploy customized realm, authenticator, etc.?

2004-08-02 Thread Dennis Dai
the WAR file into webapps directory. Sure I can put the jar into server/lib, but those really belong to my webapp (ie. not used anywhere else) and I'd really like it to go with my webapp. Any ideas? Thanks. -- Dennis Dai [EMAIL PROTECTED

Re: How to deploy customized realm, authenticator, etc.?

2004-08-02 Thread Dennis Dai
Informatics -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 12:46 PM To: Tomcat Users List Subject: How to deploy customized realm, authenticator, etc.? In my webapp, I have customized realm and authenticator. I was wondering how they can be easily

Re: [tomcat] Re: Understanding tomcat web administration tool.

2004-08-01 Thread Dennis Dai
: java.lang.IllegalStateException: Context path /admin is already in use What do you mean by properly configuring jsp support? My jsp-examples page loads and works fine. Thanks, Samuel. -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe

Re: How do you set cache-control for static (gif, jpg) resources

2004-07-30 Thread Dennis Dai
, but that's mostly for caching dynamically generated pages, which may or may not be of interests to you guys: http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=3 Regards, Dennis On 7/30/2004 8:25 AM, Keith Bottner wrote: It must be something particular about Tomcat, or some other weirdness

Re: Progamatically setting values of FORM elements

2004-07-30 Thread Dennis Dai
that will give that item a value. For my particular need, I want to set a number of checkbox elements on or off. I do have the ability to predict the element names... -- Dennis Dai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: JSPC/Jasper2 with no package name - bug???

2004-07-30 Thread Dennis Dai
with the package name becoming .user, .admin, which is obviously invalid. How do I achieve what I need? Is this a bug? Can anyone point me in the right direction where the package statement is generated when the java files are created? Many thanks, David -- Dennis Dai [EMAIL PROTECTED

Re: How do you set cache-control for static (gif, jpg) resources

2004-07-30 Thread Dennis Dai
the request for those static contents with the default settings which is Automatically. FYI, I'm using IE6 SP1 on Windows 2000 Pro with security patch. Don't know how other versions of IE behave though. Dennis On 7/30/2004 3:08 PM, Keith Bottner wrote: Dennis, May I ask what client specifically

Re: JVM memory size changing dramatically

2004-07-28 Thread Dennis Dai
as follows JAVA_OPTS=-server -Xms256m -Xmx768m -XX:NewSize=64m -XX:MaxNewSize=64m -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=5 -XX:TargetSurvivorRatio=75 -XX:PermSize=32m -XX:MaxPermSize=32m -Xss128k -XX:+DisableExplicitGC -- Dennis Dai [EMAIL PROTECTED

Re: Beyond bassic form authentication?

2004-07-27 Thread Dennis Dai
... No, that won't work. The login page cannot be explicitly referred to. You can only get to the login page when accessing a protected resource ... unless you modify the FormAuthenticator class. -- Dennis Dai [EMAIL PROTECTED

Re: Beyond bassic form authentication?

2004-07-27 Thread Dennis Dai
the login form... Dennis Dai wrote: On 7/27/2004 10:34 AM, Anastasios Angelidis wrote: So if I understand you... On my index page which is not protected put a form with form ... action=j_security_check And somewhere at the top of page have something like if(getUserPrincipal()) redirect I

Re: How to make TC print request info when TC recieves request?

2004-07-11 Thread Dennis Dai
There's a request dumper valve that does exactly this. It is commented out in server.xml by default. On 7/10/2004 11:36 PM, [EMAIL PROTECTED] wrote: Howdy , I am developing webapp using TC4.1.27, when debugging my webapp, I am wondering if TC can print requests to the console or writes request

Re: getting Tomcat 5.0 to serve static content

2004-07-09 Thread Dennis Dai
I'm not familiar with JBoss stuff but I think to make a context work, you'll need the WEB-INF dir and the associated web.xml ... On 7/8/2004 10:23 PM, Matthew Hixson wrote: I'm using Tomcat 5.0.26 with JBoss 3.2.4. I'm attempting to upgrade from Tomcat 4.1.something that was included with

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Dennis Dai
RedHat's defualt firewall rules? On 7/9/2004 5:18 PM, Ivan Jouikov wrote: I am running tomcat 5.0.27 on Linux RH 9.0, and I have a little problem. I am using jsvc to launch Tomcat standalone as Tomcat5 user. Everything seems to work fine, when I connect to localhost or 127.0.0.1 from that

Re: Tomcat works for localhost, but won't work for the local intranet..

2004-07-09 Thread Dennis Dai
? And if it is, how can I make it so that port 80 is available? Just add an ACCEPT line above it: -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT then reload the rule (/etc/init.d/iptables restart). Dennis

Re: Tomcat 4.1.30 + SSL = Problems

2004-07-08 Thread Dennis Dai
On 7/8/2004 3:46 PM, Fredrik Liden wrote: I followed the instructions on the tomcat SSL Config page. I generated the .keystore file using changeit password. When I go to the test page http://localhost:8443/ I see 5 squares up in the left corner and that's it. Anyone encountered this?? I'm not

Re: Tomcat 4.1.30 + SSL = Problems

2004-07-08 Thread Dennis Dai
could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please. Hint: https://www.domain.com:443/; I wonder if it's possible to hack the coyote connector to have the same behavior ... Dennis

Re: Certificates and SSL Authentication

2004-05-26 Thread Dennis Dai
/keytool.html#CertChains Dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: converting a certificate for use on Tomcat

2004-05-25 Thread Dennis Dai
on the chain), you will have to give each cert an alias name when you export it from openssl, otherwise the keytool won't recognize the chain. This really took me a while to figure out ... HTH, Dennis On 5/25/2004 12:30 PM, Chris Purcell wrote: Thanks for the link Jim, I'm just getting around

Re: converting a certificate for use on Tomcat

2004-05-25 Thread Dennis Dai
recognize the chain. This really took me a while to figure out ... HTH, Dennis On 5/25/2004 12:30 PM, Chris Purcell wrote: Thanks for the link Jim, I'm just getting around to this certificate now, I got swamped with some extra work that I had to complete first. I looked at the link you sent

Using jasper with web application in .war file

2004-05-12 Thread Dennis Thrysøe
jasper without unpacking the web application are welcome. TIA, -dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Passing init parameters to event listener

2004-05-11 Thread Dennis Dai
initialized, right? Hmm, actually I think that's pretty good way to get init parameters for other event listener(s) ... Thanks again, Dennis On 5/7/2004 5:55 AM, Shapira, Yoav wrote: Hi, Use ServletContext init parameters (as opposed to attributes). Those are bound for your contextInitialized event

Passing init parameters to event listener

2004-05-07 Thread Dennis Dai
attributes for the context), but that'll be at time when event happens, not listener init time. Any better way? Thanks, Dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is it Tomcat problem or my problem?

2004-04-24 Thread Dennis Dai
Uma, How did you manage the session? Are you using container managed security? From your description, it seems that you manage sessions yourself. If that's the case, make sure you create a new session at login and invalidate session at logout ... Dennis On 4/22/2004 7:16 AM, [EMAIL PROTECTED

Re: Is it Tomcat problem or my problem?

2004-04-24 Thread Dennis Dai
On 4/24/2004 12:02 AM, [EMAIL PROTECTED] wrote: What if the client has disabled cookies? You'll need to use response.encodeURL(someURL) to rewrite the URL, so that JSESSIONID is appended with each link. Dennis - To unsubscribe

JSP Include and URL encoding

2004-04-02 Thread Dennis Thrysøe
and user.language are 'US' and 'en' respectively. Might that be the cause? The problem is on Tomcat 4.1.29 on Linux. By the way: I still haven't figured out whether Tomcat 4.1.30 is supposed to be able to run on JDK 1.3.1. Any help appreciated, -dennis

Re: JSP Include and URL encoding

2004-04-02 Thread Dennis Thrysøe
the HTTP request does not specify the URL encoding, the web server needs to guess. It's somewhat of an ugly problem. For JSP includes this doesn't seem to be the problem. It is because of characters being replaced with '?' when reading the JSP. Thanks anyway, -dennis

Re: JSP Include and URL encoding

2004-04-02 Thread Dennis Thrysøe
Veniamin Fichin wrote: Dennis Thrysøe wrote: Hi, I'm having problems including a JSP page from another JSP page using parameters with special characters. I looked through the archives, but couldn't find anything about this issue. Try this URL: http://issues.apache.org/bugzilla/show_bug.cgi

Re: JSP problems

2004-04-01 Thread Dennis Thrysøe
Dennis Thrysøe wrote: Dennis Thrysøe wrote: Nope. Just plain old JSP's in a webapp. Jasper generates servlets and compiles them just fine. But it cannot load them. I get java.lang.ClassNotFoundException: org.apache.jsp.index_jsp I'm still having the problem. Is there anybody out

JSP problems

2004-03-31 Thread Dennis Thrysøe
in the webapp. But the classes are declared in the package org.apache.jsp. Any ideas, how I can make tomcat (jasper?) load the classes that it just generated and then compiled? Thanks, -dennis - To unsubscribe, e-mail: [EMAIL

Re: JSP problems

2004-03-31 Thread Dennis Thrysøe
) for you. I wish that was the problem :) -dennis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP problems

2004-03-31 Thread Dennis Thrysøe
Dennis Thrysøe wrote: QM wrote: : [snip] the classes are declared in the package org.apache.jsp. : : Any ideas, how I can make tomcat (jasper?) load the classes that it just : generated and then compiled? So then, you're precompiling the JSPs? Nope. Just plain old JSP's in a webapp. Jasper

Upgrading from 4.0.1 to 4.1.30

2004-03-29 Thread Dennis Thrysøe
(HttpServlet.java:853) The class is generated and compiled fine, and placed in the context's work-dir (placed similarly to the JSP file in the webapp). I've run out of things to try. Any ideas? -dennis ?xml version=1.0 encoding=ISO-8859-1? Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat

Re: Vedr.: Upgrading from 4.0.1 to 4.1.30

2004-03-29 Thread Dennis Thrysøe
Thomas Nybro Bolding wrote: Hi Dennis, this is just a wild guess but are your classes placed in packages? As I recall at some point around 4.0x this became a prerequisite. I'm unsure which classes your are speaking of. The generated class in this case is org.apache.jsp.index_jsp

RE: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Dennis McRitchie
This problem also does not occur when you build mod_jk2 from jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz . Dennis -Original Message- From: Stefan Proels [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 8:32 AM To: Tomcat Users List Subject: Re: mod_jk2/tomcat 4.1.29 uri

RE: Virtual Host to Redirect

2003-11-20 Thread Dennis McRitchie
apache 2. This might solve both our problems. Dennis -Original Message- From: Boemio, Neil (GEI, FGI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 12:36 AM To: Tomcat Users List Subject: RE: Virtual Host to Redirect I need for the url address in the client's

  1   2   3   >