Hi,
In my application i need to determine the last modification date of a
resource. I'm doing this with the following few lines of code:
URL resource = context.getResource(uri);
URLConnection conn = resource.openConnection();
Date date = new Date(conn.getDate());
however, the
At 01:55 PM 9/2/2003, John Corrigan wrote:
Why is the the location of the JDK a problem here? The endorsed directories
and classpath seem to be the problem to me.
As far as I can see the only problem is (just like the bug report says) the
total length of the invocation command. Here are the fact
I just moved the tomcat installation to c:\tomcat and that solved the
problem. I guess the invocation command was indeed getting too long. I'm
fine for now, but the way I structure my dev projects, I'll be adding more
paths in the future, so this problem may yet return.
Is this solvable at al
At 12:03 PM 9/2/2003, you wrote:
I'm assuming that you are running under windows since you didn't specify the
environment. What is that path to the jvm.dll being used by Tomcat?
Yep, that bug is indeed windows specific. The JDK path is
"c:\java\j2sdk1.4.1_02". I'm launching Tomcat from inside I
Hi,
I've run into the same problem as described by
http://issues.apache.org/bugzilla/show_bug.cgi?id=21252 (I'm using Tomcat
4.1.27). The bug report's comments say that this issue has been
fixed. Anyone knows in what version?
Thanks
Dmitry
Here's the error message I'm getting:
org.apache.ja
Is there a way to manually compile jsp under Jasper 2 of Tomcat 4.1.x?
Since JspC.setArgs is package private, I can't find another way to pass
the options to the compiler. I've tried declaring a class inside
org.apache.jasper package, but am still getting an error:
java.lang.IllegalAccessError: t
I'm trying to integrate a custom compiled Tomcat 4.1.27 with Intellj IDEA
(using a third-party plugin allowing invocation of Tomcat 4.1 from inside
IDEA).
Tomcat quits almost immediately with the following exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccess
At 10:07 AM 8/8/2003, Jean-Francois Arcand wrote:
This plug-in is for which version?
The plugin itself is from Sean Taylor
(http://www.objectorientedsoftware.com/projects/index.html). I'm using
IDEA v. 3.0.4
Can you post the entire stack trace?
Exception during startup processing
java.lang.ref
At 01:16 PM 8/13/2003, Subir Sengupta wrote:
Try using jspc with the -compile flag and see what happens. Your code is
probably not setting something (I don't know what), which is causing it to
not compile.
You're right. I found a conflict in option settings between the output
directory and the j
Woo-hoo! Thank you!
At 05:32 PM 8/7/2003, you wrote:
You need to check jasper out with the correct branch. The HEAD branch is
for 5. You need tomcat_4_branch
-Tim
Dmitry Beransky wrote:
Ok. But here's the confusing part. When I try to compile Tomcat 4.1.27
with Jasper2, I get
At 10:42 AM 8/13/2003, Subir Sengupta wrote:
Use the -compile argument.
At 10:42 AM 8/13/2003, Steph Richardson wrote:
Otherwise, JspC will not create .class files for you, but the java files
that JspC creates can just be compiled with javac, using
Tomcat's classpath
Here's the thing. Setting -c
Is there a way to successfully run Jasper 2 with Tomcat 4.1 under
Windows? I'm looking at the source code and there are a couple of places
where a check for an absolute path is done by looking if the path string
starts "/", ignoring the possibility of a windows path like "c:/". One
such a
I'm confused. Is Jasper2 intended for Tomcat 4 or Tomcat 5?
Dmitry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm having partial luck manually invoking JspC and compiling JSP pages on
demand. I get as far as precomiling to .java, but for the world of me
can't figure out how to get the java class compiled to bytecode. Looking
at the source code for org.apache.jasper.compiler.Compiler, it appears t
Sheesh! Turned out, I was compiling Tomcat 4 against the wrong cvs branch
of jakarta-tomcat-connectors. Once I checked out the TOMCAT_4_1_27 branch
and recompiled, the error went away.
Thanks for your help
Dmitry
At 10:39 AM 8/8/2003, Jeanfrancois.Arcand wrote:
Try adding the mx4j jar file to
wever, the instructions for building Tomcat 4.1
tell me to use jakarta-servletapi-4 library (besides, I couldn't find a
binary distribution of v5). So, any thoughts on what is going on here?
Thanks
Dmitry
At 04:29 PM 8/7/2003, you wrote:
Both.
-Tim
Dmitry Beransky wrote:
I'm confus
At 10:35 AM 7/17/2003, Shapira, Yoav wrote:
Make sure you only have one copy of the digest classes throughout the
tomcat installation.
Sure looks like it:
- There is a copy of commons-digester.jar in ./server/lib/;
- ./common/lib doesn't have it;
- ./common/endorsed doesn't have it;
- the demo app
Hi,
I've noticed that Tomcat 4.1 autoprocesses .tld files from WEB-INFO
directory. I've looked through the servlet specs as well as Tomcat docs
and couldn't find anything describing this behavior. Any pointers?
Thanks
Dmitry
what I meant to say was that I appear to have a single copy of the
commons-digester.jar throughout the installation, yet I still get the
error. Any recommendations for tools dealing with debugging of class
loading problems?
Dmitry
At 10:49 AM 7/17/2003, you wrote:
At 10:35 AM 7/17/2003, Shapi
At 10:35 AM 7/17/2003, Shapira, Yoav wrote:
Make sure you only have one copy of the digest classes throughout the
tomcat installation.
Sure looks like it:
- There is a copy of commons-digester.jar in ./server/lib/;
- ./common/lib doesn't have it;
- ./common/endorsed doesn't have it;
- the demo app
Hi,
I'm in the process of setting up Tomcat 4.1.x to run JSF. At the moment,
I'm having a hard time trying to figure out why I'm getting
java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule when
Tomcat is initializing the content for a demo JSF application.
Is there a tool that wo
On Sat, 8 Dec 2001, Craig R. McClanahan wrote:
> There will not be any LDAP activity until you actually *submit* the
login
> screen.
That's what I meant. I'm sorry, I should've been more explicit. I do
submit the credentials and get another 401 back. Meanwhile, there is no
activity on t
Hi,
I'm trying to configure use the JNDIRealm for authentication with Tomcat
4.0. I've added the JNDI realm to the local host server of the Calalina
engine in server.xml file, as per the HOW-TO:
ldap://prod.domain.com:389";
roleBase="dc=roles,dc=roles,d
At 06:40 AM 8/10/2001, Larry Isaacs wrote:
>In Tomcat 3.3, a more complex classloader hierarchy is
>built which separates the server classes (which includes
>the server's XML parser) from the web application's classes.
>Now web applications can have their own XML parser.
Thanks for this tidbit! F
Hi,
I need to use XSLT from inside jsp. I decided to go with Xalan/Xerces and
in order to make them work under Tomcat (3.2.2), I replaced jaxp.jar and
parser.jar with xalan.jar and xerces.jar in tomcat's lib
directory. Everything works fine, until in my stylesheets I try to make
use of cus
25 matches
Mail list logo