Re: Use of return statement in servlet.

2003-10-31 Thread Antony Paul
Thanks for the reply I want the browser to point to the query page if user did not provide enough data or an error happens like database connection is not available. I want user to re enter data or wait for some time . So I dont want to use requestDispatcher.forward() method or redirect to an

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
-Message d'origine- De : Robert Charbonneau [mailto:[EMAIL PROTECTED] Envoyé : vendredi 31 octobre 2003 06:17 À : Tomcat Users Mailing List Objet : Opinions Does anyone have an opinion of Tomcat running in a very high traffic environment, let's say, 100K - 500K unique

RE: ERROR using the tomcat db connection pool against one SQL SERVER 200 database. Please help me

2003-10-31 Thread Francois JEANMOUGIN
org.apache.commons.dbcp.DbcpException : java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unable to connect. Invalid URL The URL is invalid. valuejdbc:microsoft:sqlserver://192.168.0.12:1433/Northwind/value Here is the URL On my servers, my devs are using:

Re: Opinions

2003-10-31 Thread Vincent Aumont
François, Oh, and last but not least, I didn't find a privilege separation method in tomcat (like in apache or ssh or postfix, or...). Perhaps am I wrong, but, if you want tomcat to run in unpriviledge environment, you have to make it bind to a public port (say 8080). I use iptables to redirect

Re: Opinions

2003-10-31 Thread Bill Barker
Vincent Aumont [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] François, Oh, and last but not least, I didn't find a privilege separation method in tomcat (like in apache or ssh or postfix, or...). Perhaps am I wrong, but, if you want tomcat to run in unpriviledge environment, you

Problem with JNDI Datasource HOW-TO MySQL Example

2003-10-31 Thread David De Graff
I'm new to Java but have installed Tomcat a couple of times, and am now trying to configure a JNDI datasource (to use with the OpenReports database reporting package - see http://sourceforge.net/projects/oreports for info on that). Before configuring a datasource for db reporting, I'm trying to

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
No, you're right. You can make Apache listen on port 80 while running as root because it'll change the process' ownership when it opens a new connection. There is no portable way of doing this in Java; therefore, Hey! And they call it an advanced language? you have to run Tomcat as root

Re: Problem with JNDI Datasource HOW-TO MySQL Example

2003-10-31 Thread David De Graff
By the way, the Java source code I'm trying to deploy is formatted and indented just as it is on the HOW-TO page. It lost formatting in being posted to the list. Dave - Original Message - From: David De Graff [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 31, 2003 12:25 AM

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
Right and wrong ;-). Tomcat 5 ships with the (source for) commons- daemon, which gives Tomcat this same capability on *nix boxes. Of course, commons-daemon works with Tomcat 4.1 and Tomcat 3.3 as well (as well as any other Java programs that need this feature). Oh. Could you please

RE: Intermittent Performance Problems

2003-10-31 Thread Peter Guyatt
Hi There, Change to either the 1.4.2 or 1.3.1 branch of Java. Pete -Original Message- From: icewind [mailto:[EMAIL PROTECTED] Sent: 30 October 2003 20:42 To: [EMAIL PROTECTED] Subject: Intermittent Performance Problems Hello, I'm having performance issues that are hard to pin

Re: Problem with JNDI Datasource HOW-TO MySQL Example

2003-10-31 Thread Antony Paul
simple suggestion. put the class file in webapps/DBTest/WEB-INF/classes/foo. Antony. Original Message - From: David De Graff [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 31, 2003 1:55 PM Subject: Problem with JNDI Datasource HOW-TO MySQL Example I'm new to Java but

Re: Opinions

2003-10-31 Thread Bill Barker
It's a little thin, but what there is is at http://jakarta.apache.org/commons/daemon/ Francois JEANMOUGIN [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Right and wrong ;-). Tomcat 5 ships with the (source for) commons- daemon, which gives Tomcat this same capability on *nix

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
It's a little thin, but what there is is at http://jakarta.apache.org/commons/daemon/ Hu! It's in early developments or is it suitable for production ? And, in a sysadmin point of view, what does that means: There two ways to use jsvc: via a Class that implements the Daemon interface or via

Re: Problem with JNDI Datasource HOW-TO MySQL Example

2003-10-31 Thread David De Graff
Excellent! That worked on the first try, and it turns out that the test JNDI datasource also works. It's strange that the need to put class files in a directory of their package name isn't mentioned in the O'Reilly Tomcat book (diagram on p. 71 shows class file in the WEB-INF/classes directory).

Re: xhtml and Internet Explorer

2003-10-31 Thread Rodrigo Ruiz
Marius, I think such a feature request should not be addressed to Tomcat, but to the JSP specification itself. Remember that Tomcat is being used as the reference implementation of servlet/JSP technologies, and so it should stick to the specification. Basically, as I see it, your request means

Re: Use of return statement in servlet.

2003-10-31 Thread Rodrigo Ruiz
Anthony, putting a return in a servlet code will not create any state problem for the servlet itself. You could have problems if you have opened resources that need finalization or closing before returning, for example DB connections, or opened streams others than the servlet input and ouput

Re: Opinions

2003-10-31 Thread Pike
Hi It's a little thin, but what there is is at http://jakarta.apache.org/commons/daemon/ You can do Apache administration without knowing C or PHP or perl. But you can't do tomcat administration without knowing java. I feel it a week point of Jakarta (perhaps am I wrong, it's just a feeling).

Re: Opinions

2003-10-31 Thread Rodrigo Ruiz
Also, depending on the amout of static content in your webapps, having an Apache as the front-end can perform better than a standalone tomcat. But this depends on numbers you have to get by yourself. Experimenting uses to be the best way ;-) Rodrigo Vincent Aumont wrote: François, Oh, and

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
yes, you lack quite some features if you stick to those. but just imagine the features you lack by not knowing java. I don't think anyone will dare to rewrite the C code of apache to change its behaviour. I feel it's a week point of apache :-) Well, I think I'm a shameless troller. Anyway,

Re: Use of return statement in servlet.

2003-10-31 Thread Antony Paul
Thaks for the extra information. I am using response.sendRedirect(). That is why I want to get out of the servlet and go to the target page. Antony - Original Message - From: Rodrigo Ruiz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:51 PM

Tomcat 4.0.6 stall on manager - reload application

2003-10-31 Thread Silviu Marcu
I use Tomcat 4.0.6 installed on Redhat 8.0 (psyche) , I have an application that it seems that has some problems when I try to reload it from manager app - the application STALLS, but the rest of tomcat applications are running well. As a notice, I dont use any persistence for the sessions. Does

Re: Problem with JNDI Datasource HOW-TO MySQL Example

2003-10-31 Thread Antony Paul
Every java class file must be put in their respective directories as declared in the package declaration. One more thing never put class files in web-inf\classes outside package. Tomcat cannot import such files. Antony - Original Message - From: David De Graff [EMAIL PROTECTED] To: Tomcat

Re: jk or jk2

2003-10-31 Thread Florian Ebeling
Dean- thanks for sharing your material on your tested setup here. I wonder if you've got a distinct idea of how the syntax workers2.properties works. This is actually my single most pressing problem. There is this section like thing: [foo:bar] What does it mean? Is it a [type:instance] -

Basci Authentication... Please help me...

2003-10-31 Thread [EMAIL PROTECTED]
Dear friends, I have a problem that I can't solve. I'm trying to use BASIC authentication in TOMCAT 4.0.5 for a web application and its web.xml file is: ?xml version=1.0 encoding=ISO-8859-1?

RE: ssl problem with Tomcat 4.1.27

2003-10-31 Thread Agarwal, Naresh
Hi I'm using the following connector definition in 4.1.27. Same works well in 4.1.24. Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="100" debug="0" scheme="https" secure="true"

RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-31 Thread Subir Sengupta
Apache 2.0.47 will work with either mod_jk or mod_jk2. Subir -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 8:04 AM To: Tomcat Users List Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6 Yes, that's what I have read in the

RE: Java/JSP/Servlet Programmer

2003-10-31 Thread Thierry Thelliez
I personally do not care much if the person I interview knows about such or such latest api. Rejecting a person because he/she gets stuck on a technical question is no relevant. You have to look at learning, abstraction, adaptation, communication abilities. You have probably already rejected great

where should i store a attribute

2003-10-31 Thread Edson Alves Pereira
Hello folks, i´m trying to store a database connection in a session attribute or request attribute, but i must choose a name that just one thread per time would knowns. Any idea? Regards, Edson

Re: where should i store a attribute

2003-10-31 Thread Denny Löfgren
Hi, I´m not sure if I understand your question, but hey, I´ll give it a shot: To get a unique name: String uniqueName = String.valueOf(System.currentTimeMillis()); This will give you unique name. Check out the jdk-javadoc for an explanation of this method. BR, Denny Edson Alves Pereira

Which version of xerces, Tomcat 4.1.24 is using?

2003-10-31 Thread Naresh Agarwal
Hi Which version of xerces Tomcat 4.1.24 is using? I could not find out information in the manifest files of xerces jars, used by Tomcat 4.1.27. thanks, Naresh - Do you Yahoo!? Exclusive Video Premiere - Britney Spears

Debug Help with Apache Tomcat, on WinXP

2003-10-31 Thread mtorgler
Hey All I have both Apache 2.047 and Tomcat 4.1.27 configured on my XP machine as a localhost service using jk2 configs. I followed the directions on the following page: http://www.greenfieldresearch.ca/technical/jk2_config.html The two services work individually, all configs are done, but

Re: where should i store a attribute

2003-10-31 Thread Rodrigo Ruiz
Edson Alves Pereira wrote: Hello folks, i´m trying to store a database connection in a session attribute or request attribute, but i must choose a name that just one thread per time would knowns. Any idea? If you put the attribute in your request, the name does not matter: only forwarded or

Re: custom web app classloader

2003-10-31 Thread Glenn Nielsen
Jwahar Bammi wrote: Thanks for your quick reply glenn, I was thinking the same way. Please could you confirm the mechanics of hooking the classloader into Tomcat - once I write the class, I tell tomcat to use it by specifying it in the Loader tag of a Context in server.xml Yes. The next releases

Re: where should i store a attribute

2003-10-31 Thread Christopher Schultz
Denny, Hello folks, i´m trying to store a database connection in a session attribute or request attribute, but i must choose a name that just one thread per time would knowns. Any idea? I´m not sure if I understand your question, but hey, I´ll give it a shot: To get a unique name: String

Re: where should i store a attribute

2003-10-31 Thread Tim Funk
The HttpServletRequest's life is only valid for the life of the request each request runs in its own thread. -Tim Edson Alves Pereira wrote: Hello folks, i´m trying to store a database connection in a session attribute or request attribute, but i must choose a name that just one thread

repost: question on updates to cert store

2003-10-31 Thread Bill Harrelson
I apologize for the repost, but I need to solve this problem pretty quickly, and I worry that with the volume on this list, anything unanswered for two days is lost. This is a question that I can't find the answer to anywhere: If I add a certifcate to my keystore, will Tomcat see it immediately

RE: custom web app classloader

2003-10-31 Thread Shapira, Yoav
Howdy, I want to write my own custom web application class loader, for Tomcat 4.1* Out of curiosity, why? - the class I write should implement org.apache.catalina.Loader interface. - once I write the class, I tell tomcat to use it by specifying it in the Loader tag of a Context in server.xml

RE: Opinions

2003-10-31 Thread Shapira, Yoav
Howdy, Hu! It's in early developments or is it suitable for production ? It's ready for production. People are already using it in production with tomcat 5. Of course, I'm biased ;) And, in a sysadmin point of view, what does that means: There two ways to use jsvc: via a Class that

RE: Opinions

2003-10-31 Thread Shapira, Yoav
Howdy, Does anyone have an opinion of Tomcat running in a very high traffic environment, let's say, 100K - 500K unique visits/day? We've been doing it for a long time, since tomcat 4.0.1. The other thing you lose is performance. You rarely want Tomcat to serve your static content. All it

RE: Who is knocking on what door?

2003-10-31 Thread Shapira, Yoav
Howdy, I'm glad you found it useful -- have a good weekend ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:33 PM To: Tomcat Users List Subject: RE: Who is knocking on what door? I was looking at

RE: Sometimes HTTP ERROR: 500 General error, Why?

2003-10-31 Thread Shapira, Yoav
Howdy, Not enough information for us to help ;) What errors are in your logs? If the HTTP error page you get from tomcat or IIS? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:25 PM To:

Learning...

2003-10-31 Thread Chris Milner
Hi Can you guys recommend a course (in the UK, London Area) where I can learn about the management of Tomcat as I am considering it for our upgrade of our web servers. Thanks - Chris Milner E: [EMAIL PROTECTED] - NOTE:

RE: Which version of xerces, Tomcat 4.1.24 is using?

2003-10-31 Thread Shapira, Yoav
Howdy, Which version of xerces Tomcat 4.1.24 is using? I could not find out information in the manifest files of xerces jars, used by Tomcat 4.1.27. So do you want 4.1.24 or 4.1.27? For tomcat 4.1.27, it's Xerces 2.4.0. How were you looking?? The manifest of xercesImpl.jar in

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
Hu! It's in early developments or is it suitable for production ? It's ready for production. People are already using it in production with tomcat 5. Of course, I'm biased ;) Well, there is that beta flag in front of tomcat5 that tell me that your opinion is more than biased :). Of

Error Page

2003-10-31 Thread Duncan
Is there any way to know which JSP page called an error page? I have one error page, and the errorPage tag is added automatically to each JSP in a template, so I can't pass it as a parameter. I need to know which page gererated the error so that it can be logged (and hopefully fixed) Any Ideas?

Re: Error Page

2003-10-31 Thread Tim Funk
Servlet spec ... SRV.9.9.1 Request Attributes Look for attribute javax.servlet.error.request_uri in the ServletRequest. -Tim Duncan wrote: Is there any way to know which JSP page called an error page? I have one error page, and the errorPage tag is added automatically to each JSP in a template,

RE: Opinions

2003-10-31 Thread Shapira, Yoav
Howdy, Hu! It's in early developments or is it suitable for production ? It's ready for production. People are already using it in production with tomcat 5. Of course, I'm biased ;) Well, there is that beta flag in front of tomcat5 that tell me that your opinion is more than biased :). Of

instanceof drives me nuts!

2003-10-31 Thread Thomas . Gaudin
Hi folks, It may be an off topic question but such weird things occurs in my tomcat project that posting here is my last chance... I took over a project for global authentication in my company extending standard tomcat authentication mecanism (extending AuthenticatorBase). As I didn't build

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
Your question, and my answer regarding ready for production, was for commons-daemon itself. I also happen to believe* tomcat5 is fine: the only reason it's beta and not stable is the specs aren't out. * = I voted for beta, not stable, for this reason. OK. Sorry I couldn't help you

RE: instanceof drives me nuts!

2003-10-31 Thread Shapira, Yoav
Howdy, As I didn't build the project, I am not so familiar with it and I couldn't avoid to put some of the classes in several places (server, common, shared, WEB-INF of my apps). Don't do this, as it can lead to unpredictable classloading errors. Keep everything you can in WEB-INF/lib, the

Tomcat Threads

2003-10-31 Thread Prince
hi, how the threads can be activated on tomcat? regards Prince - Original Message - From: Lukas Bradley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 3:05 AM Subject: Re: HttpsURLConnection, Tomcat 4.1.27, and jsse.jar A good guess, and only if the JSSE

Probably OT: keytool: IOException: X509.ObjectIdentifier

2003-10-31 Thread Fernando Schapachnik
This is probably off-topic, but I've seen it asked in more appropiate fora with no reply, so I'll try here: Trying to import my ceritifcate I get: # $JAVA_HOME/bin/keytool -import -alias tomcat -trustcacerts -file /tmp/X-cert.pem Enter keystore password: keytool error:

RE: Opinions

2003-10-31 Thread Shapira, Yoav
Howdy, Well, I'd LOVE to try to use jsvc and make the appropriate documentation for it, I just CAN'T see where I should declare them, use them, and so on. I suppose it replaces Coyote Connectors, and I should try to define the jsvc classes there (in server.xml), but, it is really to thin for me

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
I assume you've read the JSVC page at http://jakarta.apache.org/commons/daemon/jsvc.html. Yes. I also assume you've downloaded, installed tomcat5 (5.0.14 preferably), so you can see how jsvc is used there. No, I hope to find it the doc before. I'll try. What, beyond the above

Re: instanceof drives me nuts!

2003-10-31 Thread Christopher Schultz
Thomas, As I didn't build the project, I am not so familiar with it and I couldn't avoid to put some of the classes in several places (server, common, shared, WEB-INF of my apps). Don't do this, as it can lead to unpredictable classloading errors. Keep everything you can in WEB-INF/lib, the

RE: Opinions

2003-10-31 Thread Shapira, Yoav
Howdy, No, I hope to find it the doc before. I'll try. Not so much doc as example. What, beyond the above information, would you find most useful in understanding jsvc? Time :). OK. If you find that a specific document would be helpful, we can work on it together and I'll get into the

Re: instanceof drives me nuts!

2003-10-31 Thread Erik Wright
This is definitely due to the class being loaded twice in two different classloaders. An object's type is in fact not only its class name, but a combination of its class name and the class loader from which the class was loaded. Note that class loaders can be heirarchical, but if classloader A

what's need to move an app from 4.1.2x to 5?

2003-10-31 Thread Nathan Pitts
I was wondering if someone knows of some documentation on what is needed to move an application from version 4.x to 5? I would like to be able to do jsp debugging in development, but still need to deploy on 4.x.I have an app that I have tried to install on 5 using the same

Re: Opinions

2003-10-31 Thread Erik Wright
Francois, can you tell me more about this: Tomcat 4.1.27 bug when running at the MaxConnector limit I am certainly experiencing this problem and really banging my head against it. Is there documentation about this bug? What is your workaround? I was planning to make the MaxConnector limit

RE: Opinions

2003-10-31 Thread Tim Craycroft
Weather.com uses Tomcat to handle a very healthy pile of traffic: http://www.pcmag.com/print_article/0,3048,a=38494,00.asp. The article says that 70% of the content is dynamic. It sounds like they use a separate Apache web tier. - Tim Craycroft www.842technology.com

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-10-31 Thread Vic Cekvenich
I speak for many: THANK YOU Remy Maucherat wrote: The Tomcat Team announces the immediate availability of Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta. Please refer to the changelog for the list of changes. Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi

RE: Opinions

2003-10-31 Thread Francois JEANMOUGIN
Francois, can you tell me more about this: Tomcat 4.1.27 bug when running at the MaxConnector limit http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21763 I have to check the changelog but it should be closed in (freshly released) 4.1.29. François. (Where the hell did 4.1.28 gone

Virtual Files

2003-10-31 Thread Duncan
Don't know if this is possible with tomcat but; I need people to be able to request virtual files in a directory of a web application. As in: A user would request a file (which doesn't exist). This would call a jsp page which would return output based on the name of the file requested, but the

RE: Virtual Files

2003-10-31 Thread Silviu Marcu
In my opinion you have several choiches: - map a filter / servlet ON the url that cover the folder containing the files Or - map a struts action on that url In the filter / action you can process the request as you want. -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent:

RE: jk or jk2

2003-10-31 Thread Dean Searle
Florian, From my latest experience with my reconfiguration of Tomcat, Apache2 and mod_jk2 I have somewhat figured things out. I think the bracketed items are a type:attribute sort of like tags in XLM or HTML. They are necessary to identify the individual pieces within the properties file. They

Re: Virtual Files

2003-10-31 Thread Rodrigo Ruiz
Try to create a servlet-mapping in your web.xml that directs all requests in a directory to your servlet / JSP. For example, if you put: servlet-mapping servlet-nameVirtualFileServlet/servlet-name url-pattern/vfiles/*/url-pattern /servlet-mapping All URLs beginning with [context]/vfiles will

RE: Virtual Files

2003-10-31 Thread jakarta
You can set up mappings to jsp pages servlet servlet-nameorg.apache.jps.MyPage_jsp/servlet-name servlet-classorg.apache.jps.MyPage_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jps.MyPage_jsp/servlet-name

Re: Loading a class from a zip file , present outside Tomcat directories

2003-10-31 Thread Mohammed Javed P
Hi geeks, Problem :- I have a zip file which contains a .class file . I need to create an instance of this class during runtime. Below is the snippet from the actual code which does the same. I was able to successfully load the classes when running test routine using the same code through

Re: Virtual Files

2003-10-31 Thread Rodrigo Ruiz
Well, if you don't precompile JSPs,there is another way to map a JSP: servlet servlet-nameMyServlet/servlet-name jsp-file/MyPage.jsp/jsp-file /servlet jakarta wrote: You can set up mappings to jsp pages servlet servlet-nameorg.apache.jps.MyPage_jsp/servlet-name

Re: custom web app classloader (KMM78682673V18722L0KM)

2003-10-31 Thread eBay.de Team
Hallo, vielen Dank fuer Ihre E-Mail. Unter Ihrer E-Mail-Absenderadresse [EMAIL PROTECTED] liegt uns leider keine Anmeldung vor. Wenn Sie sich mit einer anderen E-Mail-Adresse angemeldet haben, senden Sie uns Ihre Anfrage bitte von dort, damit wir Ihnen weiterhelfen koennen. Vielen Dank! Mit

Session size

2003-10-31 Thread Tom Kerigan
Is session size an issue Tomcat? If there is some sort of size limitation, is it on the magnitude of 10K? 100K? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

generate images on the fly

2003-10-31 Thread Thorsten Möller
Hi, slightly off topic but does anybody know an Java open source framework or class library which makes it possible to generate images (gif, jpg, png) on the fly on server side and send them to the client (or store them on the web app context)? Thanks, Thorsten

RE: Which version of xerces, Tomcat 4.1.24 is using?

2003-10-31 Thread Agarwal, Naresh
I'm sorry it was a typo. I want xerces version used by Tomcat 4.1.24 manifest file of xercesImpl.jar in $CATALINA_HOME/common/endorsed contains only following text --- Manifest-Version: 1.0 Created-By: Apache Ant 1.5 --- thanks, Naresh -Original Message- From: Shapira, Yoav

RE: Session size

2003-10-31 Thread Shapira, Yoav
Howdy, Tomcat doesn't impose a size limit on sessions. The more stuff you put in the session, the more memory required. Session serialization and deserialization time will be affected as well. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tom Kerigan [mailto:[EMAIL

RE: generate images on the fly

2003-10-31 Thread Shapira, Yoav
Howdy, You mean something like GifEncoder? http://www.acme.com/java/software/Acme.JPM.Encoders.ImageEncoder.html Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 8:33 AM To: Tomcat Users List

RE: generate images on the fly

2003-10-31 Thread Bodycombe, Andrew
You could try the JAI (Java Advanced Imaging) API. http://java.sun.com/products/java-media/jai/ You can generate jpegs and pngs but not gifs because the gif image format is commercial. I think you must have a license to create gif images. -Original Message- From: Thorsten Möller

RE: generate images on the fly

2003-10-31 Thread Mike Curwen
And if you specifically are interested in graphs, then there's two packages that work together. http://www.jfree.org/jfreechart/index.html which does the server-side graph generation http://cewolf.sourceforge.net/ Taglib that wraps Jfreechart quite nicely. On the bottom of the first page I

Tomcat won't start

2003-10-31 Thread Nathan Mcminn
One of our servers running Tomcat as started experiencing an odd problem. Tomcat will not start, it is complaining about not being able to find some classes. The problem started shortly after applying some updates using YAST. The exception it throws is shown below. We are running Tomcat 4.1.24

OT: GIF

2003-10-31 Thread Pike
Hi You can generate jpegs and pngs but not gifs because the gif image format is commercial. I think you must have a license to create gif images. rumour is the GIF license is free again. Compuserve gave it up. Free software will (in time) be able to support it again ... if they wish... I can't

RE: GIF

2003-10-31 Thread Nathan Mcminn
They didn't exactly give it up, the patent expired. Nathan McMinn Application Developer NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com -Original Message- From: Pike [mailto:[EMAIL PROTECTED]

Re: generate images on the fly

2003-10-31 Thread Erik Wright
Of course, there is always java.awt. In order to write the images out, you need to use javax.imageio, which is included in recent JDKs and can write to a variety of formats. I use this combination to accept image uploads, determine their size, store them in a database, and then serve them back

RE: generate images on the fly

2003-10-31 Thread Ralph Einfeldt
What do you mean by generating ? There are several solutions - some where you can draw images - some where you can create images from data - some where you can process images Drawing solutions: http://www.eteks.com/pja/en/ AWT (Link not at hand) Charting solutions:

Re: Virtual Files

2003-10-31 Thread Christopher Schultz
jakarta, servlet servlet-nameorg.apache.jps.MyPage_jsp/servlet-name servlet-classorg.apache.jps.MyPage_jsp/servlet-class /servlet Unfortunately, this is pretty container and version-specific. -chris - To

Re: Which version of xerces, Tomcat 4.1.24 is using?

2003-10-31 Thread Christopher Schultz
Naresh, I'm sorry it was a typo. I want xerces version used by Tomcat 4.1.24 If you really have to know, try this:do this: [step 1] (or zero if you like ;) $ md5sum /path/to/xerces.jar prints the target md5 signature [step 2] $ $ wget [URL for Xerces-suspected-version.tar.gz] $ tar xvzf

[OT] How do you do a release with known bugs?

2003-10-31 Thread Yansheng Lin
Do I want to tell the clients or just let them to figure it out themselves? My clients aren't really computer-oriented. So not sure if they will understand the bugs without any detailed explaination. Thanks! - To

Re: OT: GIF

2003-10-31 Thread Christopher Schultz
Pike, rumour is the GIF license is free again. Compuserve gave it up. Free software will (in time) be able to support it again ... if they wish... I didn't know that. That's great, if it's true. Another thing to consider: one of the important benefits of the GIF file format (transparency) is

Re: Which version of xerces, Tomcat 4.1.24 is using?

2003-10-31 Thread Jon Wingfield
What does the invocation of this static java method return? org.apache.xerces.impl.Version.getVersion(); http://xml.apache.org/xerces2-j/javadocs/xerces2/index.html HTH, Jon Agarwal, Naresh wrote: I'm sorry it was a typo. I want xerces version used by Tomcat 4.1.24 manifest file of

RE: GIF

2003-10-31 Thread mike jackson
It's Unisys' patent on LZW that was the problem, or at least that was my understanding. --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: Pike [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 9:09 AM To: Tomcat Users List Subject: OT: GIF Hi

Re: GIF

2003-10-31 Thread Jon Wingfield
http://www.unisys.com/about__unisys/lzw mike jackson wrote: It's Unisys' patent on LZW that was the problem, or at least that was my understanding. --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: Pike [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003

Redirecting request.

2003-10-31 Thread IvanLatysh
Hello, All! How I can redirect incoming request from one virtual host to another. For example I have : host.dm, www.host.dm, www1.host.dm I need to redirect all incoming requests to host.dm Alias doesn't work for me, because we have SSL certificate only for host.dm Is there are any default way

Greetings

2003-10-31 Thread John Greco
Greetings all I am new to the list. I just had a quick question as to getting Tomcat to process some Perl/CGI stuff. It runs great for my JSP stuff. I renamed the two files and edited the web.xml But it's a no go. Any help/ideas? Thanks John John Greco I.T. Department RAB Electric

Redirecting request.

2003-10-31 Thread IvanLatysh
Hello, All! How I can redirect incoming request from one virtual host to another. For example I have : host.dm, www.host.dm, www1.host.dm I need to redirect all incoming requests to host.dm Alias doesn't work for me, because we have SSL sertificat only for host.dm Is there are any default way

RE: Greetings

2003-10-31 Thread Lee, Paul NYC
Did you get any errors? -Original Message- From: John Greco [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:23 PM To: '[EMAIL PROTECTED]' Subject: Greetings Greetings all I am new to the list. I just had a quick question as to getting Tomcat to process some Perl/CGI

RE: Greetings

2003-10-31 Thread John Greco
All I get is The Page Could Not Be Displayed. John Greco I.T. Department RAB Electric Manufacturing, Inc. 170 Ludlow Avenue Northvale, NJ 07647 Tel: 888 RAB-1000 Fax: 888 RAB-1232 Web: www.rabweb.com Email: [EMAIL PROTECTED] -Original Message- From: Lee, Paul NYC [mailto:[EMAIL

how to disable info and warning messages at tomcat startup?

2003-10-31 Thread Rick Sansburn
I have searched through the mailing list archive and the FAQ and I can't seem to fins a way to disable the INFO and WARNING messages that tomcat outputs at startup. Here are some of the messages Oct 31, 2003 1:43:53 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry

RE: Greetings

2003-10-31 Thread Lee, Paul NYC
Can you also post the relevant part of web.xml? -Original Message- From: John Greco [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:35 PM To: 'Tomcat Users List' Subject: RE: Greetings All I get is The Page Could Not Be Displayed. John Greco I.T. Department RAB Electric

RE: how to disable info and warning messages at tomcat startup?

2003-10-31 Thread Mike Curwen
This might work... http://marc.theaimsgroup.com/?l=tomcat-userm=106623436423859w=2 You can either replace the package names in the file, with org.apache.commons.modeler Or, just use the root category and set it to 'warn' -Original Message- From: Rick Sansburn [mailto:[EMAIL

RE: Greetings

2003-10-31 Thread John Greco
?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app /web-app servlet servlet-namecgi /servlet-name servlet-class org.apache.catalina.

Realms JSPs

2003-10-31 Thread Hart, Justin
Hi, I'm kind of new to JSP programming. I was wondering, is there a way to extract the username used to log in(I am using JNDIRealm for authentication), and use that data within the web application from the perspective of the JSP? Any help would be great! Thanks. Justin

Re: Realms JSPs

2003-10-31 Thread Tim Funk
request.getRemoteUser() -Tim Hart, Justin wrote: Hi, I'm kind of new to JSP programming. I was wondering, is there a way to extract the username used to log in(I am using JNDIRealm for authentication), and use that data within the web application from the perspective of the JSP? Any help would

  1   2   >