Re: Service Temporarily Unavailable

2004-05-03 Thread Robert Hall
Ken, Lacking your config files, no one can say for sure (at least I can't). My guess is that you don't have jsp-examples mapped so that Apache2 knows to use jk2/Tomcat5 to service that URL. Robert Ken Ramirez wrote: I thought I'd try this request one more time since I didn't get any responses

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-14 Thread Robert Hall
We use apache to serve up static content by including the following in httpd.conf via an Include directive: IfModule mod_alias.c # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So /icons isn't aliased in this #

Re: help needed - keytool import of CA certs

2004-04-13 Thread Robert Hall
Thanks, Bill. I need to get better at digging through the archives ;-) Robert Bill Barker wrote: 3. What else is needed in addition to an existing server cert file if you don't have to go through the CSR process? If you used keytool to generate the original CSR, then you have to

help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
I've been floundering for too many hours/days having ventured into the java/keytool/keystore/CAcert realm for the first time to produce a CA signed certificate for JBoss/Tomcat. We have a Verisign/RSA cert, hostname.crt that produces the following when imported using 'keytool': $ keytool -import

Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
for the '-trustcacerts' This is a good site that may help as well: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html -Original Message- From: Robert Hall [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 6:56 PM To: Tomcat Users List Subject: help needed - keytool import of CA

Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
Thanks, Robert D'Alessandro, Arthur wrote: I'm not too familiar with Jboss, is it within tomcat? If so, what does your server.xml connector snippplet look like? -Original Message- From: Robert Hall [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 8:06 PM To: Tomcat Users List

Re: help needed - keytool import of CA certs

2004-04-12 Thread Robert Hall
-Original Message- From: Robert Hall [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 8:32 PM To: Tomcat Users List Subject: Re: help needed - keytool import of CA certs JBoss has Tomcat embedded and it uses jboss-service.xml instead of Tomcat's server.xml. The Connector element: Connector

Re: [OT] getBlob() error in Tomcat

2004-04-06 Thread Robert Hall
Hi, You can determine the actual Class of 'result' by doing: String className = result.getClass().getName(); HTH, Robert Kumar Abhay-CAK203C wrote: Still not working I am using myBlob = ((OracleResultSet)result).getBLOB(1); It is giving Class Cast Exception Best Regards Abhay Kumar

Re: Server.xml - Connector configuration problem

2004-03-24 Thread Robert Hall
Hello, Shapira, Yoav wrote: (in part) Also please try to be accurate when you specify these numbers: you have 512MB, not 512K of RAM available. You're using -Xms256m and -Xmx512m as java vm options. Note that the latter is someone misleading: you're telling the JVM it can use 512MB of RAM for

Re: where is setUserPrincipal() ?

2004-03-22 Thread Robert Hall
In case you haven't already gotten to the bottom of this, here's a perspective; afaik, HttpRequest.setUserPrincipal() is implemented by the container (ie - Tomcat). From the docs: public void *setUserPrincipal*(java.security.Principal principal) Set the Principal who has been

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Robert Hall
Joseph, We're using Apache 1.3.27 on solaris with mod_jk2 to connect to two JBoss/Tomcat instances listening on separate ports. I experienced the same thing you described, all requests going to one of the jk2 ports. However, if I shutdown the JBoss/Tomcat instance that was getting all of

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Robert Hall
Shraibman wrote: Robert Hall wrote: Joseph, We're using Apache 1.3.27 on solaris with mod_jk2 to connect to two JBoss/Tomcat instances listening on separate ports. I experienced the same thing you described, all requests going to one of the jk2 ports. However, if I shutdown the JBoss/Tomcat

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Robert Hall
/app1/* and /app2/* ? Robert Joseph Shraibman wrote: Robert Hall wrote: Hi, Actually, I'm leaning towards a bug in mod_jk2 since a change in workers2.properties resulted in everything (so far) working. The only extra detail I had to add was explicit reference to index.jsp for both app's

Re: mod_jk2 problems

2004-03-10 Thread Robert Hall
Apache Portable Runtime (apr) Vi wrote: Yes, probably some lib(s), which were not linked corectly with mod_jk2 while compiling it? What's apr? Yiannis Mavroukakis wrote: If memory serves me right, the apache httpd sources and the apr sources. -Original Message- From: Vi

Re: Off-topic - Java and X11 Window Server

2004-01-07 Thread Robert Hall
Yes. Try running Tomcat headless: /usr/java/bin/java -Djava.awt.headless=true Robert Jose Euclides da Silva Junior - DATAPREVRJ wrote: Hi guys, Have anybody ever seen this error before? The X11 seems to be alive at my environment -- Conectiva Linux. The target Java app,GraficoBig,

Re: jvm.cfg, mem heap size

2004-01-06 Thread Robert Hall
And for tuning gc in the 1.4 JVM: http://java.sun.com/docs/hotspot/gc1.4.2/ Robert Shapira, Yoav wrote: Howdy, You probably want to read and bookmark this page and the performance docs pages linked from it: http://java.sun.com/docs/hotspot/VMOptions.html. (This issue has also been raised and

Re:syntax error when Apache is started

2004-01-05 Thread Robert Hall
Gil, I was wondering who annimandary is since the email I received from him uses the same domain name as my own, uclink.berkeley.edu, and he is not in our Directory. Pretty slippery, getting ezmlm to dynamically spoof email addresses. Robert Gil Hauer wrote: Annimadary, Please stop using the

Re: [Off Topic] Java printing to network printer

2004-01-02 Thread Robert Hall
Merrill, Your question is off-topic, I'm sure someone will suggest the proper forum. I haven't made use of PrintService yet, but it looks like you should be able to select the desired network printer using PrintServiceLookup.lookupPrintServices() In case you don't have it already:

Re: javax.mail.SendFailedException: Sending failed

2003-12-12 Thread Robert Hall
Ashwin, Bravo! I missed the resolution details. What was the solution? Robert Ashwin Kutty wrote: This was NOT a sendmail issue if you followed the positive discussions I had with some other members on this list. If it were I would have taken it to the sendmail list/forum. I thank the

Re: [offtopic] Architecture Question

2003-12-04 Thread Robert Hall
Hi Yoav, We are considering setting up a similar service here. Would it be possible to get some architectural details info for your Authentication Web Service? Is it home grown? Regards, Robert Shapira, Yoav wrote: Howdy, In a similar situation we use a web service running on another (3rd)

Re: Tomcat on Sun's Java Desktop System

2003-12-04 Thread Robert Hall
No testing experience with Suns's JDS. We're running JBoss 3.2.1 w/embedded Tomcat 4.1.24 on SuSE 8.1and SuSE 8.2, Java 1.4.1_02-b06, J2EE 1.3 w/o problems in development. Production system is on Solaris 8. Robert Jim Urban wrote: Has anyone been involved with testing Sun's Java Desktop

Re: application security gone mad

2003-11-14 Thread Robert Hall
Gary, WOW, how could one possibly justify/rationalize the complicated approach you described in your original post? The architecture as described makes no real use of CMS. Sounds like a combination of not invented here and I don't understand it so I'm not gonna use it. You're on the right

Re: application security gone mad

2003-11-14 Thread Robert Hall
about. CMS is fine just the way it is. And, a pooled DAL that uses a single, configurable uid p/w per application seems pretty standard I'd say. gary... From: Robert Hall [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Fri, 14 Nov 2003 10:17:04 -0800 To: Tomcat Users List

Re: question on mapping urls to tomcat using mod_jk2

2003-11-03 Thread Robert Hall
Donald, I may have missed the reply to this, but just in case I didn't - you can use VirtualHost to http to https redirect with 1.3.27 VirtualHost hostname # redirect non-slash terminated URL RedirectMatch /example$ https://hostname/example/index.jsp Redirect

Re: Application-level security

2003-10-27 Thread Robert Hall
Chris, The August 2003 Java Developer's Journal (vol 8 issue 8) has an article you might want to take a look at: ActiveAuthentication - Extending J2EE form-based authentication by Thomas Beck; http://www.sys-con.com/java/article.cfm?id=2160. Yes, logout is implemented by invalidating the

Re: web.xml editor

2003-10-23 Thread Robert Hall
Luiz, You should try oXygen XML editor from http://www.oxygenxml.com. It can run stand-alone or as an Eclipse plug-in. (Eclipse is an IDE that IBM open sourced; also worth a look).There is a 30 day trial version of oXygen and if you decide to purchase it's reasonable (~ $45 US). -Robert

Re: [OT] RE: web.xml editor

2003-10-23 Thread Robert Hall
/ (It's only for Windows though) -Original Message- From: Robert Hall [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 10:44 AM To: Tomcat Users List Subject: Re: web.xml editor Luiz, You should try oXygen XML editor from http://www.oxygenxml.com. It can run stand-alone

mod_jk (Apache-Tomcat) problem

2003-10-21 Thread Robert Hall
Hi, I'm new to this list and hoping someone can help with the following problem. We have a JBoss (3.2.1) install w/embedded Tomcat (4.1.24) fronted by Apache 1.3.27 running on Solaris. The problem: mod_jk is setting the Content-Length header value to 0 for Content-Type of text/html when an HTML