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: 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

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: 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: 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: 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: 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: 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

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: 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

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: 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: 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

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

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

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,

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

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: 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

Re: Two requests when sending rtf files

2001-03-26 Thread David Wall
Did the suggestion to implement getLastModified() not work? David

Re: Enhydra: Enhydra Enterprise Beta 1 Milestone]

2001-03-30 Thread David Wall
FYI, Enhydra Enterprise embeds Tomcat 3.2.1 as it's Servlet and JSP engine. Tomcat is the "best of breed" open source servlet engine with some great developers working on it. Shawn Enhydra needs to update their web site, then, since it talks about 3.1 only (as of yesterday, anyway). David

taglib dynamic attribute values

2001-03-30 Thread David Wall
It's hard to find really good info on taglibs, but I have a working tag that I'd like to change to use a dynamic value for an attribute. The tags do not have a body. Before, I used: yo:stmp add="10" / I'd like to do something like: yo:stmp add="%=numToAdd%" / What's happening is the the

Re: Fed up to the back teeth with tomcat !!!

2001-04-11 Thread David Wall
I have a success story to the contrary - using Windows NT 4, Tomcat 3.2.1, and IIS 4 we are serving a decent sized application with no problems. We've been averaging uptimes of about 5 - 6 days before the machine is restarted because of other software on the machine. No detectable resource

JSPs with extra path info?

2001-04-18 Thread David Wall
I'm trying to get Tomcat 3.2.2b2 to handle a URL of the format: http://www.myeastside.com/app/GA.jsp/Test+word.doc?m=1a=2 The idea is that I expect this to run my JSP called /app/GA.jsp. It should have some extra path string of "Test+word.doc" and two parameters that I can retrieve named "m"

jsp pathinfo

2001-04-18 Thread David Wall
Is the pathinfo portion of an URL supposed to work with JSPs? In tomcat 3.2.2beta2, I'm using an URL like /app/test.jsp/pathinfo, but it's not working (as if tomcat is looking for a JSP named 'pathinfo' instead of 'test.jsp' in the 'app' webapp, with the path info set to "pathinfo". Do I

session timeouts early sometimes

2001-04-18 Thread David Wall
It's hard to nail down, but we seem to note that tomcat 3.2.2beta2 will have a session timeout early sometimes. Is there a known bug in the session timing routines? Thanks, David

path info okay in servlet, but fails for jsp

2001-04-19 Thread David Wall
There was never a response to my previous postings, but it appears that path info works for servlets but not for JSPs, which must be a tomcat 3.2.2 bug since jsps themselves are turned into servlets. So, an URL like /webapp/servlet/GA/something+extra?param=value will work, but

Re: Multiple Unique Instances WITHOUT multiple JVM?

2001-04-24 Thread David Wall
We want to host our new servlet product as an ASP. Each customer of ours would get a unique configuration for the product. However, all of the servlets would run from one code base. We tried to do the same thing, as that's rather the point of webapps. But we ran into various problems,

Re: Tomcat SSL

2001-04-24 Thread David Wall
Make me a favour, switch to mod_jk and ajp13 which is faster and support much more servers (Apache, IIS, IPlanet/NES, jni). And that the part of the connector area which is the more activelly maintained. What's unfortunate, though, is that it doesn't grab ALL of the SSL environment

Re: Tomcat SSL

2001-04-24 Thread David Wall
ajp13 used to have a bug that caused problems when performing binary file uploads (like jpeg images, for example). We had to drop back to ajp12 for that reason. Has the bug been fixed? The version in the 3.2.2beta seems to work just fine for file uploads, at least when using the Jason Hunter

Re: [bug report] servlet's twice calling

2001-04-25 Thread David Wall
Well, I'm using 3.2.2beta, but we do file uploads and don't see double postings at all. It would seem like a serious problem, though, to have double POST calls done since that would result in two transactions. I have seen the opposite, though, when serving up a file that was uploaded, I've

Re: Apache, Tomcat, Ajp12 and SSL_CLIENT_S_DN

2001-04-27 Thread David Wall
But AJP13 only sends a few SSL environment params, not all of them as would be nice. David - Original Message - From: GOMEZ Henri To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 5:47 AM Subject: RE: Apache, Tomcat, Ajp12 and SSL_CLIENT_S_DN mod_jk send SSL informations only in AJP13

Re: Apache, Tomcat, Ajp12 and SSL_CLIENT_S_DN

2001-04-27 Thread David Wall
At 09:27 4/27/2001 -0700, you wrote: But AJP13 only sends a few SSL environment params, not all of them as would be nice. David What are the SSL environment params? Are they specific to mod_ssl or do they apply in other SSL environments (like IIS)? Well, I may be mixing this up a bit.

Re: Objects in Vector are loosing type - classload problems

2001-05-03 Thread David Wall
I have to restart tomcat each and every time I make one single change to _anyting_ of my code. This is the most time consuming part of developing on Tomcat, I feel. (How's Jetty doing, btw??) Of course, you are free to use any implementation, or you could even submit an example of how to fix

Re: An opensource (apache style license) file upload servlet

2001-06-12 Thread David Wall
Do what the best do. Buy one book and have that developer's project be to create some nice wrapper classes around the Hunter classes. I'd recommend that approach anyway since it's unlikely that Hunter's generic classes will otherwise be that easy for other to use in whatever application

Re: An opensource (apache style license) file upload servlet

2001-06-12 Thread David Wall
oreilly sucks the kumara anyway because you end up with a file?? That's not true anymore. Hunter has a nice memory-oriented set of classes that the original class that wrote to a file now uses. David

Re: Tomcat as Service Crashing.

2001-06-13 Thread David Wall
Yap! As sad as it is - I could crash THE JVM started by Tomcat by merely putting System.exit(-9) in my servlet. How can webmasters protect themselves from such code? You should run with a security manager installed and don't allow System.exit in the tomcat.policy file. David

Re: Tomcat as Service Crashing.

2001-06-13 Thread David Wall
Yes, o'course in production. In my mind - there is no place for this method in HttpServlet - it should throw the Exception. OK for GenericServlet, but this is Javasoft problem. Maybe I don't understand, but I think it should be there on development/test systems as well since you clearly

Re: Problem with Postgresql JDBC driver

2001-06-18 Thread David Wall
Rather a postgresq question. I don't know what the error was, but you want to make sure the postgresql.jar file is in your webapp/my_app/WEB-INF/lib directory. And if you are using a security manager, you need to add the shutdown-hooks permission. David

Re: Public IP IIS and Private IP Tomcat?

2001-06-19 Thread David Wall
i successifullt tested tomcat+apache on a single linux server. What now a would to reach is to have a public-class-ip Win2000/IIS5 with a double net card who communicate with a private-class-ip linux server with tomcat. Someone thinks is it possible? WIN 2000/IIS

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

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: 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

More than *.jsp going to tomcat?

2001-01-19 Thread David Wall
We have found that when our images directory, to be served by Apache, are located in the directory where the tomcat application is loaded, a missing image appears to hang the page rather than showing up as a broken image in the browser. The browser shows it's waiting to download the missing

Re: Recovering from oversize upload exception ?

2001-01-20 Thread David Wall
I just re-wrote the O'Reilly stuff to throw an exception of my own creation (SizeTooBigException or something like that). It is very easy to do... I can sedn you what I did if you want. If it allows the servlet to continue and process all of the form fields and just have the uploaded file

Can sendRedirect() be used to POST?

2001-01-29 Thread David Wall
Is there a way to setup a sendRedirect() URL to result in a POST to that URL? I know I can set the contentType to "application/x-www-form-urlencoded", but I'm not sure how I'd set the Method to "POST" and how I'd stuff in a parameter that I'd like to send along. The root problem I am trying to

Re: Disallowing Concurrent sessions

2001-02-01 Thread David Wall
This method works as long the user signs out using another jsp page which removes all cookies and invalidates the session, but the probelm is that if the user closes the browser window without signing out, those details are never removed from the table and he will not be able to login at all

Apache mod_ssl and knowing crypto bit length

2001-02-04 Thread David Wall
What's the trick for retriving the number of crypto bits used in SSL from a JSP/servlet if I'm using Apache mod_ssl with OpenSSL? The mod_ssl log file ssl_engine_log shows the Protocol, Cipher and bit length. When I use the environment variable SSL_CIPHER, it doesn't include the number of bits,

Re: Apache mod_ssl and knowing crypto bit length

2001-02-04 Thread David Wall
The mod_ssl log file ssl_engine_log shows the Protocol, Cipher and bit length. When I use the environment variable SSL_CIPHER, it doesn't include the number of bits, only something like RC4-MD5 A quick check of modssl.org shows that the environment variable is called SSL_CIPHER_USEKEYSIZE

Re: Can sendRedirect() be used to POST?

2001-02-04 Thread David Wall
Try Forwarding the request intstead... if the origional request was a POST then the forwarded one will be as well. Matt Goss From what I gather from the specs -- and by the lack of this working in Tomcat -- you cannot forward to another system. RequestDispatcher.forward() appears to be

Off topic - HTTP POST example?

2001-02-05 Thread David Wall
Not exactly a Tomcat issue, but it's in the web world of Java servlets: Does anybody have any code samples that would demonstrate an HTTP POST (I'll use JSSE and really do an HTTPS POST, but I suspect the code will be the same or very similar)? I've seen URL class code that does a GET, but

Re: Off topic - HTTP POST example?

2001-02-05 Thread David Wall
Well, do you mean POST from web-form? Then it would be: form name="posttest" action="http://server/servlet/ServletName" method="POST" Name: input type="text" name="name" input type="submit" /form Not, that was not my question. I understand how to do a regular POST from a web browser and

Re: HttpSession across virtual hosts

2001-02-08 Thread David Wall
What I've seen done, which doesn't necessarily make it secure, it to send some form of CartID. This ID identifies the Cart in some shared back end data store. Usually these are large numbers that contain enough information to determine if its a possible real value, or a number someone made

Re: errorpage.jsp: Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter

2001-02-11 Thread David Wall
% exception.printStackTrace(new java.io.PrintWriter(out)); % Just consider that this should probably only be used on a test/development system since presenting stack traces to site visitors is probably not a grand idea. David

Re: Background Threads and JSP

2001-03-04 Thread David Wall
I have a generic public class containing a Vector that implements Runnable. I then have a subclassed singleton that I getInstance() in a jsp page to make sure that the browser clients are all using the same Vector. Vector is already synchronized, so there should be no problem with multiple

Duplicate context initialization?

2001-03-05 Thread David Wall
When I startup Tomcat 3.2.1 on Redhat 6.2, I note that the contexts I've defined seem to be displayed twice, once with the name of my host first, then again without the hostname. I am using the virtual host concept via Apache/tomcat. From tomcat.log: 2001-03-05 08:32:09 - ContextManager: Adding

CLASSPATH for beans same as for JSPs/Jasper?

2001-03-06 Thread David Wall
I running Tomcat 3.2.1 on Linux and when I look at the Jasper log file it shows a classpath for each JSP page that includes the WEB-INF/classes and all of the jar files in WEB-INF/lib. This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use. Does

CLASSPATH for beans different than WEB-INF for JSPs?

2001-03-07 Thread David Wall
I running Tomcat 3.2.1 on Linux and when I look at the Jasper log file it shows a classpath for each JSP page that includes the WEB-INF/classes and all of the jar files in WEB-INF/lib. This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use. Does

Re: CLASSPATH for beans different than WEB-INF for JSPs?

2001-03-07 Thread David Wall
I ran into this issue and thought it was a classpath problem, but after reading the JSP spec, discovered that you have to use the fully qualified classname for beans. You might want to take a look in the 1.1 spec under the section for jsp:useBean. That shouldn't be the issue at all. In my

Re: getSession(true) AND SecureRandom

2001-03-08 Thread David Wall
2.- So. what about that load-on-startup tag?? What are the possible values it may have? Those are part of the standard for servlet 2.2, and accordingly they are supposed to be set to a positive number, with the number indicating the relative order that the servlets should be loaded on

Re: RMI and Tomcat

2001-03-09 Thread David Wall
I have made two posts to the list about similar problems with 3.2.1 and using JNDI/RMI (EJB's) and not figured much out. Not having the time to delve further I backed off to Tomcat 3.1. You may try that for the interim. Any feedback from any of the implementors that would help us start to

Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
There appears to be a serious problem with the classpath/classloader with Tomcat 3.2.1. It may be related to the Jasper engine, which outputs a dynamic classpath name that includes all of the classes and jars in the WEB-INF directory, as expected. But is the same classloader used when servlets

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
AHA! You got me on the right track. It turns out that the JCE provider is being loaded from the java.security file, so it's no doubt being loaded by one of the system classloaders and then caused me grief. I removed the automatic loading of the JCE provider and instead do a

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
ACK, now that I've solved the JCE provider problem, the next one to rear itself is JNDI and JMS. With JMS, you use the JNDI InitialContext object that includes the class name of the provider of the JMS. Then, JNDI uses that to instantiate the class and create the initial connection for JNDI

Classpath/loader problems for JNDI/JMS with JSP

2001-03-10 Thread David Wall
With JMS, you use the JNDI InitialContext object that includes the class name of the provider of the JMS. Then, JNDI uses that to instantiate the class and create the initial connection for JNDI queries. Do you have any idea how to work with this in a Tomcat world? I'm not sure how to

Re: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat]

2001-03-12 Thread David Wall
Is anyone using several .jar files in WEB-INF/lib ? This does appear to work just fine. The problem is what we've been discussing the past few days. Suppose RMIClassLoader does not use the right class loader? (I do not think at all this is the bug). How can I get a reference to the right

Re: webdav and tomcat 4.0

2001-03-13 Thread David Wall
I've been using Word 2k with WebDAV on apache web server with much success. (just a few glitches) Just note, that the Word docs are XHTML (word xml). So they tend to make the pages a little large. This works well for documentation, though, since you can read it in most browsers and edit

detecting shutdown

2001-03-14 Thread David Wall
Is there something like the web.xml's "load on startup" that can be triggered when the Tomcat has been requested to shutdown? I'd like to be able to do "global" cleanup in such a situation. I know that an unloaded servlet will be called, but it's not true that being unloaded means that Tomcat

TC4.0b1 - getting apache connector to connect

2001-03-16 Thread David Wall
I'm trying to get catalina working with Apache 1.3.19 on Linux, but for I've got something misconfigured. It cannot find my 'pub' webapp based on this error: Application pub with path /pub/ not foundHere's how it's defined in server.xml: !-- Define an Apache-Connector Service -- Service

TC4.0 can't run multiple apps

2001-03-17 Thread David Wall
When I have Apache configured to use virtual hosts, and one virtual host uses an app called 'pub' and the other virtual host uses an app called 'ssd', how do I configure catalina to run them both? In the server.xml file, can I just use to Engine sections in Service, with each Engine pointing to

TC4.0 catalina classloader exception

2001-03-17 Thread David Wall
I am getting the following exception running Tomcat 4.0b1: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: access denied to class loader

AJP reconnects after restart

2001-03-17 Thread David Wall
Will the upcoming 3.3 (3.2.2?) mod_jk/AJP connectors auto-reconnect whenever there's an error sending to tomcat? This would be particularly useful when restarting tomcat to not have to knock down the web server too. David

Is launching threads okay in a web app?

2001-03-19 Thread David Wall
I know that in the EJB model, it's not correct that beans launch their own threads. Is that also true for webapps in tomcat? Is there a portability issue if I have a servlet launch it's own thread for doing application-based housekeeping chores, such as listening for new messages via JMS and

Re: Is launching threads okay in a web app?

2001-03-19 Thread David Wall
Yes, I read that too and decided that starting threads may be problematic if I have to deploy later in some other container. * Some servlet containers (such as Tomcat as an option) can run webapps under a Java security manager, and they may have been configured to not allow webapps to

Re: Apache/Tomcat sendRedirect rpoblem

2001-03-23 Thread David Wall
I've also had similar problems. I found that in nested if statements and if...else iterations, if you don't put a return after the sendredirect or forward it tries to execute the rest of the code... Matt Goss As far as I know, servlet containers are not supposed to break the rules of Java

Re: Tomcat 3.2.1 and URL Rewriting

2001-01-10 Thread David Wall
Try reading the bottom of EVERY MESSAGE sent to you. David - Original Message - From: "MacLaren, Donald" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 7:35 AM Subject: RE: Tomcat 3.2.1 and URL Rewriting how do you get removed from this list???

Re: automated URL rewriting

2001-01-10 Thread David Wall
I had something along the same lines, I have added an object which stores the users IP in the session Wouldn't this break for users who access through proxy server banks, like those on AOL? It seems I've watched a single user come in from AOL and seen several IP addresses (I guess they

Directory going to index.jsp

2001-01-12 Thread David Wall
I'm running Apache 1.3.14 with Tomcat 3.2.1 on Linux RH 6.2 and I've noticed some odd behavior finding the index.jsp file when a directory name is present. As before (I was running with JRun before), I have this in httpd.conf: DirectoryIndex index.jsp index.html And my Tomcat mounts look

Blending webapps with HTML files

2001-01-12 Thread David Wall
I'm new to Tomcat 3.2.1 and Servlet 2.2 in particular, having just come from JRun before webapps made their debut. I'm struggling with the "best practices" people are using for storing their JSPs and Java class files in the webapps directory, while storing images and html files in the web

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: 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

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: 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

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: 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..

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: 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

  1   2   >