Re: trouble with Font objects in Tomcat

2005-05-09 Thread Daniel Watrous
want to check and see if you have > graphics support on your server (on unix/linux run something like xcalc > on the server). > Based on your information, it is your class that has problem and has > nothing to do with graphics. > > > Daniel Watrous wrote: > > >Is there a

Re: dynamic reference to files on server

2005-05-09 Thread Daniel Watrous
I'm sending my solution to my original post: // Here I get the ClassLoader specific to this web application java.lang.ClassLoader loader = com.words2walls.customquote.QuoteFontType.class.getClassLoader(); // This is the package specific reference to the font (or resource) String pathToFontFile = "

Re: trouble with Font objects in Tomcat

2005-05-07 Thread Daniel Watrous
Is there at least someone that could tell me where to find more information about the option "JAVA_OPTS=-Djava.awt.headless=true"? What exactly is its purpose? Thanks in advance. Daniel On 5/6/05, Daniel Watrous <[EMAIL PROTECTED]> wrote: > Hello, > > I have a

dynamic reference to files on server

2005-05-06 Thread Daniel Watrous
Hello, I am writing an application which needs to load font files. The font files are deployed with other classes on the server (i.e. under the WEB-INF/classes directory). Currently I have the reference built in like this //private static final String pathToWebapp = "/var/tomcat/jakarta-to

trouble with Font objects in Tomcat

2005-05-06 Thread Daniel Watrous
com.words2walls.customquote.exceptions.FontNotFoundException; /** * Type safe enumeration of available fonts * * @author Daniel Watrous */ public class QuoteFontType { private static final String pathToWebapp = "C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0\\webapps\\words2

Re: context path question

2005-04-25 Thread Daniel Watrous
Thanks. That did the trick! DW On 4/25/05, Tim Funk <[EMAIL PROTECTED]> wrote: > Use HttpServeletRequest.getContextPath() to get the context path. > > -Tim > > Daniel Watrous wrote: > > > Hello, > > > > I am have written some filters for a shopca

context path question

2005-04-25 Thread Daniel Watrous
Hello, I am have written some filters for a shopcart application. I intend for parts of this applicaiton to be reused in other web applications by including it as a JAR file. For authentication I have the file AdministratorAuthFilter, which checks for a session value indicating that the user has

xml file correspondence

2005-01-10 Thread Daniel Watrous
Hello All, As I am getting familiar with Tomcat it helps to find a correspondence between tomcat and something that I am already familiar with. It would appear that the "server.xml" in tomcat file corresponds to the "httpd.conf" in apache. Can someone verify this? Thanks in advance! Daniel

Re: [OT]web development fee

2005-01-05 Thread Daniel Watrous
tell me what is the going rate for a contract job like this? $50/hr, $100/hr, or more? I don't have any idea at all. Thank you very much for your help and all the other posters' help! - Original Message - From: "Daniel Watrous" <[EMAIL PROTECTED]> To: "Tomcat

Re: [OT]web development fee

2005-01-05 Thread Daniel Watrous
Epyonne, First off, I don't think that you hijacked anyone's thread, but this list seems to be very sensitive to that (and perhaps more affected by it than other lists I have seen). From my experience there are a couple of options you can pursue: 1) You could build the application from the groun

Re: Want to know better way of deploying

2004-12-22 Thread Daniel Watrous
Manisha, I have also had this occur when using Tomcat on Windows, but never with Tomcat running on Linux. Maybe this is a bug related to Tomcat on Windows... Are you using Windows? Daniel - Original Message - From: "Manisha Sathe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedn

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

2004-12-21 Thread Daniel Watrous
Wow! After reading all of that long thread I got the SDN Editorial Team newsletter in my inbox. It talks about "REVISITING TIMERS WITH ENTERPRISE BEANS". The link they give is https://bpcatalog.dev.java.net/nonav/enterprise/timerservice/. This should at least give some idea of how to do it

Re: Admin for TC 5.5.4 on Linux SUSE 9

2004-12-18 Thread Daniel Watrous
Use firefox and open the Java Console. This should list out any errors. Daniel - Original Message - From: "Lars Ohlén" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 18, 2004 11:44 AM Subject: Admin for TC 5.5.4 on Linux SUSE 9 Hi, The Admin application behavious st

Re: Virtual Hosts and SSL

2004-12-17 Thread Daniel Watrous
I know that in apache, and I suspect that it is a general rule, an SSL (HTTPS) connection requires a unique IP address. In other words, virtual hosts do not work with SSL. Daniel - Original Message - From: "Mike Kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Decembe

Re: Commercial Tomcat Support?

2004-12-17 Thread Daniel Watrous
I have never used commercial support (yet), but I think that is what JBoss does. They also seem to be quite dedicated to Tomcat development in general. Daniel - Original Message - From: "Steven J. Owens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 16, 2004 3:21

Re: Strange memory behavior in tomcat-5.0.27

2004-12-15 Thread Daniel Watrous
I have used Apache Jmeter (http://jakarta.apache.org/jmeter/). This is a great tool, but sometimes a bit slow at sending the concurrent requests. I think they have a networking option to send many concurrent requests from different hosts. Hope this helps... Daniel - Original Message

WAR files and Eclipse

2004-12-13 Thread Daniel Watrous
Hello All, I am new to WAR files and eclipse. Many searches on google bring me to the sysdeo tomcat plugin, which I have installed. I want to know if there is some standard way to generate a WAR file for deployment. I have found that I can export a JAR file and change its name, but in the pr