Never Mind - It was permissions on the tomcat-users.xml file. Duh!
-Original Message-
From: David B. Saul [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 7:37 PM
To: 'Tomcat Users List'
Subject: Form Based Authentication
Having a problem being challenged on Linux.
Form based
Having a problem being challenged on Linux.
Form based using the tomcat-users.xml file works under windows.
However, when same code is deployed to Linux the page is never challenged.
I checked server.xml on both platforms as well as the specific webapp.
Even built a Hello World example to
Here is what worked for me. The PDF is created dynamically.
1. a small bit of code which used FOP and served it as a stream. Be sure to
set the response type.
byte[] fo;
.
.
.
InputSource fopInput = new InputSource( new ByteArrayInputStream( fo )
);
no such problem.
-Original Message-
From: David B. Saul [mailto:[EMAIL PROTECTED]
Sent: May 4, 2005 12:51 PM
To: 'Tomcat Users List'
Subject: RE: pdf not working
Here is what worked for me. The PDF is created dynamically.
1. a small bit of code which used FOP and served it as a stream. Be sure
May not be critical but try using the ServletOutputStream instead of
OutputStream.
DOC URL:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletResponse.html
//Clear content of the underlying buffer in the response
//without clearing headers or status code.
response.resetBuffer();
I have 5.5.7 and it seems to work ok - not much help - but -
Suggestion ( and a WAG ) check the web.xml in conf for the following mime
mapping:
mime-mapping
extensionhtm/extension
mime-typetext/html/mime-type
/mime-mapping
Let us know...
-Original Message-
From:
Installed TC 5.5.7 on Windows
Created page using JSTL ( jstl.jar and standard.jar )
Did not need to add xalan or xerces especially since they are now included
in Java 1.5.
Deployed to Linux
Used same versions of all components ( TC, JSTL, JAVA-JDK JRE)
I had to add the xalan and xerces in the
? Tomcat might have picked up a different version of it, or even GCJ.
-Riyad
On 4/26/05, David B. Saul [EMAIL PROTECTED] wrote:
Installed TC 5.5.7 on Windows
Created page using JSTL ( jstl.jar and standard.jar )
Did not need to add xalan or xerces especially since they are now
included
Try typing/copying the following at the prompt in the directory where the
source code is for HelloWorld.java:
javac -classpath C:\Program Files\Apache Group\Tomcat
4.1\common\lib\servlet.jar HelloWorld.java
if in fact this is where the servlet.jar file exists.
-Original Message-
From:
HelloWorld.java
David B. Saul [EMAIL PROTECTED] wrote:
Try typing/copying the following at the prompt in the directory where the
source code is for HelloWorld.java:
javac -classpath C:\Program Files\Apache Group\Tomcat
4.1\common\lib\servlet.jar HelloWorld.java
if in fact this is where the servlet.jar file
BTW - adding the PWD to the classpath should have no effect on your issue!
-Original Message-
From: David B. Saul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 2:31 PM
To: 'Tomcat Users List'
Subject: RE: class path (UNCLASSIFIED)
Quite frankly - this has nothing to do
11 matches
Mail list logo