Re: tomcat and firefox ssl problem - no common encryption algorithms

2005-09-22 Thread David Wall
As I said, I have done this successfully before and I am baffled that it is not working fo me now. Perhaps you need send your server.xml along so others can see what you've done. It definitely works with Firefox and IE on 5.5.9 David

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread David Wall
Mark wrote: I want to create a webapp that will contain both servlets and JSP. I will be using a login page to authenticate users. I will probably use one of the Tomcat supported authentication modules. I am wondering if it is possible for tomcat to properly manage session information when

Re: AJP connector maxthreads problem

2005-09-10 Thread David Wall
1) We have only a moderately busy site with about 500 new visitors entering from outside every day, so it would have thought it would be fairly difficult for them to use up all the 75 connections at the same time, but I do have some programmes that create their own threads, though in a

Re: TC 5.5.9 TLD exception thrown

2005-08-09 Thread David Wall
I discovered the problem was that the TLD XML has also changed, so by getting rid of the DOCTYPE declaration and using the new taglib start, all was okay (it would have been nice to have a better error message to clue me in). taglib xmlns=http://java.sun.com/xml/ns/j2ee;

TC 5.5.9 TLD exception thrown

2005-08-08 Thread David Wall
I am receiving the following TLD processing exception in Tomcat 5.5.9 under JDK 1.5 (this application has worked well under TC 4). I am using a security manager (via catalina.policy). The TLD file parses just fine in Eclipse 3.1 and using XMLSpy, so I'm not sure why there's a problem. Is

mod_rewrite for Tomcat 5.5

2005-07-28 Thread David Wall
Can anybody recommend anything like mod_rewrite for Tomcat 5.5? I know the FAQ says something about why reinvent the wheel, but in this case, it's because we want to get rid of Apache just because we need one small feature. I've got an application that now only needs Apache httpd for some

Out of memory

2005-06-16 Thread David Wall
This is no doubt a java-related question, but it seems that with virtual memory, my JVM should never run out of memory (aside from a nasty bug and lack of swap disk space). Is there a way to allow my web application to have as much memory as the OS will give it, yet not have the JVM attempt

JSP-specific newsgroups/mailing list

2005-06-04 Thread David Wall
Can anybody recommend a good JSP/servlet newsgroups or mailing lists for questions. Obviously, this list is directed towards Tomcat in particular, but while I'm using Tomcat, I'm trying to get an answer regarding some a way in JSP to allow a page developer to create his own bean that can be

JSP too big to compile?

2005-06-03 Thread David Wall
We have a web page that contains many business documents laid out one after the other so a user can just click print and have all of them print together (with a stylesheet that starts each contract on its own printed page). But we seem to be having an error that the generated servlet code is

Re: JSP too big to compile?

2005-06-03 Thread David Wall
a global java limitation. You'are limited to around 10 000 lines of code in a try catch block. Try to use dynamic includes instead of static includes. Pascal Gehl -Original Message- From: David Wall [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 16:31 To: tomcat-user

Re: 404 redirection question

2005-05-18 Thread David Wall
Fritz Schneider wrote: If you have hyperlinks to images, as opposed to HTML pages with images embedded, How would you embed images inside the HTML rather than using hyperlinks to the image? David - To unsubscribe, e-mail: [EMAIL

Re: 404 redirection question

2005-05-18 Thread David Wall
Fritz, Well, that's a hyperlink to the image, not embedded. In the case below, the image is not embedded in the HTML but is simply a link to the image that requires an HTTP(S) GET to retrieve. With a relative URL like you used, it just constructs the complete URL by appending the current

Re: SSL on multiple IP addreses?

2005-05-12 Thread David Wall
How will you configure multiple IP addresses on a single NIC? Normally, you have one NIC per IP address. You will need to use two keystores for each system, and configure the keystores as you normally would under the SSL connector. I'm not sure how to configure the CoyoteConnector so that

Re: SSL on multiple IP addreses?

2005-05-12 Thread David Wall
That's very cool. Didn't even know it was possible. I hope the original question has been answered in terms of creating multiple SSL connectors and having each point to a different keystore, since each keystore will hold the cert for each domain name. Trung Nguyen wrote: You can configure

Re: Compressing file uploads with TC 4.1

2005-04-04 Thread David Wall
- Original Message - From: David Wall [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, March 29, 2005 4:29 PM Subject: Compressing file uploads with TC 4.1 As I undertand it, some browsers (which ones?) support GZIP compression. I'm not sure if the HTTP response needs to include

Compressing file uploads with TC 4.1

2005-03-29 Thread David Wall
As I undertand it, some browsers (which ones?) support GZIP compression. I'm not sure if the HTTP response needs to include anything to tell the browser that the server supports it or not. Does anybody know if Tomcat will provide the right headers for that? I read in the Coyote HTTP connector

Tomcat 4.1 and auto-redirect/URL rewrite

2005-03-07 Thread David Wall
I have a page in a tomcat 4.1 webapp that has a rather lengthy path name, but I'd like to be able to email a much shorter link to avoid long links being broken across lines by some older email clients. With Apache HTTPD's rewrite module, this could be accomplished. Is there something similar

Re: HTMLArea and SpellCheck plugin

2005-02-11 Thread David Wall
Anybody successfully implemented a tomcat webapp that uses the HTMLArea editor and the SpellChecker plugin (both free from Interactive Tools and Dynarch) ? What do people think about HTMLArea? It seems one of the only free HTML textarea type widgets out there. I think the latest has greater

Re: HTMLArea v. fckeditor

2005-02-11 Thread David Wall
See http://www.fckeditor.net/ Aside from the odd name (we do have to give credit after all!), that does look like a nice one. Has anybody used it enough to know how stable it is? I noted that it's on 2.0, which is good, but it's not considered final. I like that it appears to be a bit

Re: CSR in Tomcat 5.0

2004-12-17 Thread David Wall
It's not anything with Tomcat, but with JDK. First ensure you've created the keys: keytool -genkey -keyalg RSA -alias tomcat -keystore yourkeystorefilename (You typically need to answer the questions, start with the web server name, like www.host.com, and fully spell out the city, state, etc..

OFF TOPIC: Merging data into a PDF form

2004-11-23 Thread David Wall
I have an existing PDF form (actually lots of them) and my webapp is querying a user for the missing data on the HTML form. I'd like to merge the POST data into the PDF document and end up with a new filled out PDF document. Has anybody done this or can point to tools that will help? Thanks,

Re: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread David Wall
Have you tried using links like the following: http://yourhost.com/webappcontext/download.jsp/Germany.pdf The idea is that tomcat will find the JSP download.jsp and execute it, and since the link ends with the file name, some browsers will better detect the pdf reader launch. If you need some

Content-disposition for file downlaod with Mozilla/Firefox

2004-11-15 Thread David Wall
The following are headers we send out for a given file that is being downloaded: Content-Length: 28160 content-disposition: attachment;filename=Some Agreement 2004-11-15.doc Content-Type: application/octet-stream I believe this used to work fine with Mozilla in an earlier version. I'm running

Re: Content-disposition for file downlaod with Mozilla/Firefox

2004-11-15 Thread David Wall
: Content-disposition for file downlaod with Mozilla/Firefox Its not a bug. https://bugzilla.mozilla.org/show_bug.cgi?id=221028 -Tim David Wall wrote: The following are headers we send out for a given file that is being downloaded: Content-Length: 28160 Content-Disposition

Re: Response and file downloads

2004-11-01 Thread David Wall
I know there is only a single response, thats why I want to create a new one :) Then you need to have the client create another request. How do other sites generate files on the fly (take it out of a database, or a report just run), on form submit, and send them down the line and not run into

Re: Response and file downloads

2004-11-01 Thread David Wall
You should be aware that IFrames are an IE-only thing. Won't work on any other browser AFAIK. Is that true? My impression is that iframes work on Mozilla, too. Anyway, I think you can accomplish the same thing as an IFRAME using an OBJECT tag, so that may be another way to return a page that

Re: session tracking enforcement

2004-10-19 Thread David Wall
Is there any way to enforce a session cookie (JSESSIONID)to be send to the client (browser) from servlet. No, because the Servlet Spec says Servlet Container must work even on clients that don't support cookies (or have cookies turned off, which is becoming a more and more common use-case).

Re: session tracking enforcement

2004-10-19 Thread David Wall
But that's details, the main point I made still holds, and that's that the Servlet Spec mandates Tomcat's behavior in this area. Absolutely, Yoav! I certainly didn't mean to imply anything negative about your response, only that the original inquiry could be handled/checked by his application

Re: session tracking enforcement

2004-10-19 Thread David Wall
In my case it looks like I do have encode all URLs: firewall problem with stripping out sessionId left me with no choice ;) Is it right way of doing it? ACK! There's a firewall that's stripping out session ids from URLs but will let cookies through? There's a security no-brainer in charge...

Re: How to redirect http to https automatically?

2004-10-15 Thread David Wall
once they enter secure mode since securing the communications may have overhead, but it adds privacy. David - Original Message - From: Antony Paul [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; David Wall [EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:42 PM Subject: Re

Fw: Internet Explorer Bug under SSL Connection

2004-10-15 Thread David Wall
Our web site is entirely SSL. Most users have IE. Our application is used to securely transfer and digitally sign attached files that must be downloaded. Yet, we've never seen this problem. Who is putting in the Pragma header in the response in the first place that you have to change it this

Re: How to redirect http to https automatically?

2004-10-14 Thread David Wall
This is part of the servlet specs. In your WEB-INF/web.xml file, you need a security constraint that says the site should be secure, something like: security-constraint web-resource-collection web-resource-nameEntire site/web-resource-name url-pattern/*/url-pattern

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread David Wall
Is it possible that your session has ended (too long between requests)? Check how long you have configured sessions to be active (in web.xml). Is it possible you are losing the encoded session ids (if cookies are not being used)? It's easy to miss an encoded URL on a page for get/post and thus

Re: StringBuffer memory optimization

2004-10-08 Thread David Wall
Hello folks, i have a problem with StringBuffer, profiling my web-application i noticed, StringBuffer due to its creation and use consumes too much memory. Does onyone here know a good way to solve that problem? Not much to go on there, but a key factor to using StringBuffer well is if you

Capturing HTML using Tomcat 4

2004-10-06 Thread David Wall
I've been looking through archives and such for examples of how to capture the HTML output from a given JSP programmatically so I can archive or do other things with that HTML. For example, we might do this to record the text of an agreement that was displayed to a user, in which a JSP generated

Re: Capturing HTML using Tomcat 4

2004-10-06 Thread David Wall
. Of course, if this works well, it would only work on JSPs in which the tag could be placed. David - Original Message - From: Robert Harper [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'David Wall' [EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 3:20 PM Subject: RE

Re: How to use ONLY cookie for session management?

2004-09-09 Thread David Wall
The Servlet Container must obey the Servlet Specification as far as session tracking mechanisms are concerned. So you can't turn this off. You can build a custom version of Tomcat that doesn't do URL rewriting if you'd like. But I'm guessing you're not going to like this option ;) Doesn't

Re: Repost: java.security.AccessControlException

2004-09-07 Thread David Wall
The syntax is: permission java.security.AllPermission; Of course, why use a security manager at all if the default is no security at all? David - Original Message - From: Andre Legendre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 8:34 AM

StandardClassLoader: Security Violation, attempt to use Restricted Class: org.apache.tomcat.util.net.SSLSupport$CipherData

2004-09-06 Thread David Wall
What do I have misconfigured to cause this security violation? I am using -security to start a security manager and the page is https secure. Using TC 5.0.27 on Redhat Linux, I received the following error in catalina.out: StandardClassLoader: Security Violation, attempt to use Restricted

Re: SOLVED: How to get the context path for a web application?

2004-08-13 Thread David Wall
contextPath = path.substring(0, path.lastIndexOf(/)); contextPath = contextPath.substring(contextPath.lastIndexOf(/) + 1); This looks like a reasonable hack, but isn't it true that the filesystem path and the context path don't have to match? For example, I can map to

Re: SOLVED: How to get the context path for a web application?

2004-08-11 Thread David Wall
The cause for some of these specs is the fact servlet containers aren't required to run on file systems. For example, they may run entirely inside a DBMS (and Oracle had such a container for a while), in which case you must deploy in a packed WAR and the subset under a server's URL name space is

Re: How to get the context path for a web application?

2004-08-10 Thread David Wall
request.getContextPath(); Is there a way to do it when not serving a web page? Like in a startup servlet that has a ServletConfig/Context, but doesn't have a request? This way, the context could be retrieved once and cached and used in situations unrelated to processing a specific HTTP

Re: How to get the context path for a web application?

2004-08-10 Thread David Wall
A ServletConfig reference is passed in the call to the init() method of your servlet. From this you may use the getServletContext() method to get the context. One thing to remember is that this does not get called until the servlet is initialized and would be invalidated when it is destroyed.

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread David Wall
Someone on the list suggested Request.getContextPath() and it works like a charm. Thanks to all. Agreed, but my follow-up question was if there was such a call to be done using a ServletContext/ServletConfig object so that you can get the context path in initialization servlets, etc., before a

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread David Wall
No, and an archive search would reveal past discussions around this issue (though none recently). Webapps are supposed to be independent of their server configuration including with regards to context path, and so the Servlet Spec actively discourages you from doing webapp initialization or

SunONE versus Tomcat performance

2004-07-30 Thread David Wall
Sun's update on the WSDP 1.4 (http://java.sun.com/developer/technicalArticles/WebServices/JWSDP_1.4/) includes this note about web containers: It is worth noting that Sun Java Web Server has better performance than Apache Tomcat; you can learn more about this from Sun Java Web Server vs.

Re: TC 5 production use -- iptables to make it work without root

2004-02-09 Thread David Wall
Only for port redirection you don't need to buy any hardware. If you are running tomcat inside a linux box, you can configure iptables to do the port redirection. Everything via software, no hardware. Vitor You are absolutely correct. In fact, I've abandoned JSVC precisely because I can do

Re: TC 5 production use -- iptables to make it work without root

2004-02-09 Thread David Wall
I'm curious, why don't you use Apache and JK connector? Evgeny Gesin We currently do, but we're creating a new simpler version for smaller offices and corporate departmental computing. The fewer running parts the better, and the fewer things that need to be patched going forward, the easier

Startup exception using security manager on TC 5.0.18

2004-02-08 Thread David Wall
When I startup Tomcat 5.0.18 with a security manager, I get the following exception. It talks about persisted sessions, something I didn't even realize existed. No doubt there's a permissions problem if it cannot read where the sessions are stored. Is there a way to make sure sessions are not

Re: TC 5 production use

2004-02-07 Thread David Wall
We run Tomcat on 8080 using Cisco Routers for port redirection. Nobody has to type in a port number. Well, I agree that would work for everyone who just buys some hardware to give the illusion of using port 80. Of course, running tomcat on port 80 itself would be nice if anybody knows

Re: Excel Mime problem - IE 6 changed behavior on file uploads for us

2004-02-06 Thread David Wall
It may not be related, but we've noted that IE 6 on XP (oddly enough) seems to send the wrong content-type when .doc and .xls files are uploaded. We used to get the correct mime types, but now we get application/octet-stream. We noted that our Mozilla 1.6 does the same, but Opera 7.11 gives the

JSP reloading on Tomcat 5.0.18 question

2004-02-06 Thread David Wall
Often when I upload a new JSP, tomcat 5.0.18 under RH Linux 9 with JDK1.4.2 doesn't seem to always see it. This is particularly true when doing repeated uploads in short order (hack test!). I've configured tomcat's conf/web.xml with the following: servlet

Re: TC 5 production use

2004-02-06 Thread David Wall
I'm using it in production, no issues. But then again I steer clear of the practices that tend to cause issues frequently: I don't redeploy my apps in production (when I ship a new version I do so during our maintenance window and restart the server), I profile and test carefully for memory

Re: TC 5 production use

2004-02-06 Thread David Wall
I don't, as we don't use port 80 for any of our apps. Yoav Shapira I see. Do you have a large internal user base then? It doesn't sound like a classic production use server if you're not even using the standard ports. David

Re: TC 5 production use

2004-02-06 Thread David Wall
You can have any port be the default http port. It doesn't have to be 80. If you change /etc/services and just tell tomcat or apache to listen on something else, it still works fine, and people don't have to remember the port. Right? Daniel All true since no port number has to mean

JSVC and -server -security options

2004-02-04 Thread David Wall
In the JSVC (tomcat 5.0) docs, there's no mention of being able to use the -server option to the JVM to get the server VM. Also, when using the startup.sh script, I can add the -security option to cause tomcat to run with a security manager. But with JSVC, I cannot add the

Re: Apache/Tomcat/SSL vs. Tomcat/SSL

2004-02-04 Thread David Wall
My thought is that since Apache is written in C it may be more efficient = to have Apache handle the SSL. However, I am not sure if the overhead = of the connector would negate any performance benefits gained from = having Apache handle the SSL rather than Tomcat. If performance is the =

Re: jsvc and -config? What about other JVM options?

2004-02-03 Thread David Wall
How about passing the -server option to the JVM so that it uses the server versus client VM? How do you pass in security manager params like: -Djava.security.manager -Djava.security.policy==$CATALINA_HOME/conf/catalina .policy The -server option is unknown. The two -D options above are

OFF TOPIC: email postage should be of interest to those who use OSS newslists

2004-02-02 Thread David Wall
, but paying twice for no added service is bad all around. Sincerely, David Wall + Some quotes from the NYT story, since I realize I cannot post the entire story here for copyright reasons: Ten days ago, Bill Gates, Microsoft's chairman, told the World Economic Forum in Davos, Switzerland

Re: setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-17 Thread David Wall
Yoav is correct that Tomcat (and probably most servlet containers) simply consider meta tags as just some text to push to the browser. The problem is that (assuming the browser can read the tag at all), Tomcat is sending in iso-latin-1, not what is in your meta tag. But is that really the

Re: Javamail not working with non-Outlook Express users.

2004-01-14 Thread David Wall
You need to check what you are doing. It makes no sense that a text email gets an HTTP error. What the heck is it doing coming back to your Tomcat anyway? Email is sent via SMTP. I don't know what you are trying to do with the following code fragment: Properties props = new Properties();

Re: Javamail not working with non-Outlook Express users.

2004-01-14 Thread David Wall
Can you be more specific about the transfer failure? A quick check seems to indicate smtp.covad.net is a true SMTP server (at least I could do a basic check over port 25), so the setup should be correct. What is the host computer name you refer to? Does your own system have an SMTP server

Webapp names and paths within JSPs for images

2004-01-08 Thread David Wall
In theory I should be able to take my webapp (starting with the base directory that contains the WEB-INF subdirectory) and deploy it using any name I'd like, so I could easily deploy the same webapp with URLs like http://mydomain.com/ (using the root context) or http://mydomain.com/app1/ or even

Re: Webapp names and paths within JSPs for images

2004-01-08 Thread David Wall
that convert to quot; and the like. It just seems like there's a lot more marketing to JSPs right now than is delivered considering how mature Java/JSPs are already. David - Original Message - From: Green, Jeffrey [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'David Wall

Re: Differences Between Apache and Tomcat

2004-01-06 Thread David Wall
As always, I would say start with tomcat by itself. It's the simplest setup -- don't add Apache until you're sure you need it. Tomcat will serve your static HTML pages just fine and fast. It's important to realize that Apache is basically C code rather than Java code, so it tends to run

Re: Threaded servlets okay in a compliant container?

2004-01-05 Thread David Wall
The use of a cron job that does a WGET on a URL that triggers the background processing sounds nice, but what's the process that triggers that on a Windows box that doesn't have cron? A huge power of our application is that it's written in Java and we can run it easily on Windows or Linux or

Threaded servlets okay in a compliant container?

2003-12-30 Thread David Wall
I recall reading that conformant servlets and such (EJBs?) do not create their own threads, something about being a container issue. Does anybody know the primary objection to launching threads that take on a life of their own? The container doesn't really need to manage it, per se. I suppose a

Re: Loading properties file for an external class

2002-11-20 Thread David Wall
Where do I need to drop it? webapps/yourappname/WEB-INF/classes if it's a standalone file -- remember that's the base, so if the properties file is considered to be in a package, it has to be a subdirectory of this base location. webapps/yourappname/WEB-INF/lib/yourjar.jar -- if you've put it

Tomcat List Duplicates?

2002-11-20 Thread David Wall
Is anybody else getting duplicate emails from the Tomcat list? I not only seem to get duplicates, but I even get messages that I'm sure I saw yesterday arrive again today (such as my own postings). David -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Loading properties file for an external class

2002-11-19 Thread David Wall
Where do I need to drop it? webapps/yourappname/WEB-INF/classes if it's a standalone file -- remember that's the base, so if the properties file is considered to be in a package, it has to be a subdirectory of this base location. webapps/yourappname/WEB-INF/lib/yourjar.jar -- if you've put it

Re: Loading properties file for an external class

2002-11-19 Thread David Wall
JSP page: %@ page import=my.pkg.Class % Class source: try { InputStream is = this.getClass().getResourceAsStream(File.separatorChar + Prop.properties); this.props.load(is); } catch( Throwable t ) { } Not sure about this method since we

Re: Processing form uploaded files

2002-11-18 Thread David Wall
I never saw anyone mentioning jakarta's upload servlet... what's wrong with it? Good question. When I took a look, it appeared to not really be at production 1.0 yet. I'd hope that the authors also looked over the many nits discovered in the Jason Hunter version to ensure all of the bugs

Re: Granting security permissions not working

2002-11-18 Thread David Wall
running a single instance of TC, though, then this should not be an issue. Hope something here helps... David Wall www.yozons.com Electronic signatures with secure document delivery -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Class loading issue with JavaMail 1.3 and Tomcat 4.1?

2002-11-14 Thread David Wall
I know that JavaMail 1.2 is bundled with Tomcat and that seems to be the conflict. I've checked the classloader howto and I think that the web-inf/lib/mail.jar classes should be loaded for my webapp before the common/lib/mail.jar. I've also checked bugzilla and have seen similar sounding

Re: Apache Index page jsp and sessionid with JKMount *.jsp

2002-11-14 Thread David Wall
I have DirectoryIndex set to index.jsp. My Apache has mod_dir. Calling a directory mapped to Tomcat (such as /myApp) with http://localhost/myApp doesn't return anything, definitely not index.jsp. This is on 4.0.4 and 4.1.12. One problem is that for this to work is that Apache has to see an

Re: Apache Index page jsp and sessionid with JKMount *.jsp

2002-11-14 Thread David Wall
I don't think that's the issue. My httpd.conf has the following, inside a VirtualHost tag, for the url http://virtualhost/myApp: Directory /usr/local/jakarta-tomcat-4.1.12/webapps/myApp Options Indexes FollowSymLinks DirectoryIndex index.jsp index.html index.htm /Directory

ParameterMap not found exception

2002-11-13 Thread David Wall
I'm upgrading from Tomcat 3.2.4 to 4.1.12 and I have one webapp running okay under a special CATALINA_BASE, but another webapp running under a different CATALINA_BASE is throwing an exception when I first try to access it. I do have a startup servlet in my web.xml and it's starting and I see my

Re: ParameterMap not found exception

2002-11-13 Thread David Wall
That's a know bug with Tomcat 4.1.12 + Security Manager (you did not mention it, but I assume you are running under it) Thanks for the update. Yes, I am running with a security manager. All of the permissions you showed were already there except for the two defineClassInPackage entries. I

Re: Sorry, I don't speak via HTTP GET error message

2002-02-27 Thread David Wall
SOAP requires you do a POST. However, the GET error shows you likely have things installed correctly. You need to create a SOAP client and begin testing. David E-Signatures Today by Yozons -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: BLOB FROM JSP PAGE

2002-01-24 Thread David Wall
Is there a way to display images from database blob fields within only jsp, i know that it is impossible because of you can not handle an another outputstream within jsp. Your JSP needs to output an IMG tag with a 'src' that points back to your application as another GET that will then

Re: Can you view SSL without the https prefix?

2001-12-20 Thread David Wall
I can change any references internal to my system (index.html, etc) to use https, but some clients have bookmarked the servlet page, rather than the access page. Is there a way to redirect http://xx.xx.xx.xx:8080/index.html; to *actually* call up the page

Re: Can you view SSL without the https prefix?

2001-12-20 Thread David Wall
If I type in https://xx.xx.xx.xx/;, who knows that that should go to port 443? Is it whatever server is listening to port 80 (i.e. I then must turn on redirection in Apache), or is this a net standard? That's just the standard port assigned to HTTPS, just as 80 is for HTTP, 25 is for SMTP,

Re: Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-20 Thread David Wall
: David Wall [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Monday, November 19, 2001 10:59 PM To: Tomcat Users List Subject: Tomcat 3.2.3 and Linux JDK 1.3.1 Have people found any problems running Tomcat 3.2.3 on JDK 1.3.1? We found that Tomcat seemed to get locked up under JDK

Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-19 Thread David Wall
Have people found any problems running Tomcat 3.2.3 on JDK 1.3.1? We found that Tomcat seemed to get locked up under JDK 1.3.1 on Linux, but when reverting back to 1.3.0, the problem does not appear. Does anybody have any experience or know what's happening? It sure would be a pain to discover

Re: Byte Serving PDF's

2001-11-14 Thread David Wall
Is this even possible? From my understanding of the PDF format, it is inherently random-access and relies on the entire file being available before it can be displayed. I don't know how it does it, but I've downloaded PDFs that seem to work page-by-page because when I click down, I can see

Re: cryptography - slow starting????

2001-11-13 Thread David Wall
It's the SecureRandom initialization. You could just force such an initialization at startup so that startup has a bit of a slowdown, but then it runs fast the rest of the time. David - Original Message - From: Gerry Duhig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

URL with servlet path and .jsp bug for jasper or per spec?

2001-10-22 Thread David Wall
I've got a problem with a URL that includes both the /servlet/ path AND ends with .jsp, though the .jsp file in this case is not a java serverpages file. I'm running Tomcat 3.2.3 using Apache with mod_jk. The mod_jk mount configuration for Apache is: JkMount /ssd/servlet/* ajp13

URL bug for jasper or per spec?

2001-10-05 Thread David Wall
I'm running Tomcat 3.2.3 using Apache with mod_jk. The mod_jk mount configuration for Apache is: JkMount /ssd/servlet/* ajp13 JkMount /ssd/*.jsp ajp13 I have an URL that is designed such that it's supposed to run my servlet, but still contain a file name since it's for a file download

Re: Forward to different website.

2001-10-04 Thread David Wall
You can't forward across contexts, I don't think. You can response.sendRedirect() to any URL if that's all you need. David - Original Message - From: Bob Byron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 04, 2001 4:11 PM Subject: Forward to different website. I

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
Hey David, Don't know if you remember me from GTE NMO or not... Hope all's well with you and BEST. Apache supports HTTP 1.1 whereas the last I heard, Tomcat was only HTTP 1.0, so each request comes over it's own connection rather than sharing as with Apache. This means that Apache is still a

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
* If you have Apache already installed, and don't want users to use a non-port-80 URL for JSP/servlet based applications. Very true, otherwise you need to run Tomcat as root. Also, Apache itself has some nice features, like mod_rewrite that can be helpful to handles changes in structure and

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David Wall
* If you have lots of static content that can be served from a directory other than the webapp's context path (right now, current Tomcat versions serve static content within the webapp directory faster stand-alone than they do behind Apache). Craig, what happens if the images are IN

Re: [ANNOUNCEMENT] Apache Tomcat 4.0 Final Release

2001-09-18 Thread David Wall
What are people using the 3.2 branch doing to upgrade? Are most going to wait and see for a 4.1, or do most people think 4.0 is going to be as stable (or more) than the 3.2 code? David

Re: error 404 with a GET request

2001-09-13 Thread David Wall
GET http://localhost/index.vxml HTTP/1.0 Accept: */* User-Agent: myClientHttp Connection: close The tomcat web server answers : error 404 The GET should not include the HTTP URL part. You should connect to port 80 (the http:// part) of 'localhost''s IP address and do a get on just

Debugging Linux TC from Win98 VisualCafe 4.1

2001-09-07 Thread David Wall
Has anybody successfully configured their systems to allow for distributed debugging using VisualCafe 4.1? I'm running VC4.1 on Win98, with Tomcat 3.2 (JDk1.3) running on Linux (RH6.2). I don't seem to get it to work, though I thought this was possible these days. println debugging is a pain,

Re: Re[2]: Reverse DNS lookup

2001-07-06 Thread David Wall
RL The InetAddress...getHostName() call will use the DNS databases. RL For most computers, however, this won't return anything useful. That is not true. Most of US IPs have PTR records. That includes your own IP, that you had when sending your msg. By far, most servers have rDNS,

Re: Re[4]: Reverse DNS lookup

2001-07-06 Thread David Wall
Thanks for all the help. It wasn't my code or my ISP, but a security manager problem... Turns out the problem was a security permission I needed to define: permission java.net.SocketPermission *, resolve; What's unusual is that no exception was thrown to make that clear. It just failed

Remove DNS lookup

2001-07-05 Thread David Wall
Is there a class that can do a reverse DNS lookup, giving me the hostname that matches a given IP address? I'm able to retrieve the IP address of an HTTP request just fine using request.getRemoteAddr() (and getRemoteHost() returns the same IP address dotted numbers), but the java.net package

Re: Reverse DNS lookup

2001-07-05 Thread David Wall
InetAddress.getByName(ip address).getHostName() will do what you want, if the info is available. Where would the info have to be available? Is there anything comparable to a dig -x command under Unix? For most IP addresses, there will not be anything configured on my computer, but I know

Re: Does Apache worth it? Security issues make it worth it

2001-07-02 Thread David Wall
One thing architecturally and security-wise about having Apache front Tomcat should also be mentioned. Apache provides native code for serving up HTTP 1.1 (is Tomcat at 1.1 yet, or still 1.0?) which means images and such are transferred much more efficiently. This is also particularly true for

  1   2   >