file, it sees everything in shared/lib just fine.
Files in common/lib are completely accessible either way.
Does anyone know of a way to deploy with a context config file *and* be able
to access shared/lib/ files?
Thanks,
D
Ok, I've narrowed it down to the 401 error code. If
that is defined in the web.xml, all apps that
authenticate will automatically show the 401 error
page without prompting for credentials.
Is this a bug in tomcat? I tried the same on
tomcat-5.0.30 with the same results.
Please help,
D
an app that has no authentication comes
up just fine.
I remove all but one of the error-page elements and
everything is back to normal.
Any ideas?
Thanks,
Dustin
__
Do you Yahoo!?
Make Yahoo! your home page
http://www
You need to place the driver in common/lib.
Dustin
--- Nathan Aaron <[EMAIL PROTECTED]> wrote:
> I have the Oracle jdbc driver installed in Tomcat's
> shared/lib
> directory. I have a JSP file that resides in the
> webapps/jsp-examples
> that connects to an Or
In your servlet's destroy() method (I am using Struts
and plugins, and use the plugin's destroy() method),
add the following code:
((BasicDataSource) ds).close();
That is assuming your data source is named 'ds'. This
will close all connections.
Dustin
--- Lucie Chan <[
a query in an XML
file, make a call, and it will return the results as a
bean you've created or a list of beans.
My description, I'm sure, does not do this software
justice. It has numerous features. Check it out.
You'll never look back.
Dustin
--- Manisha Sathe <[EMAIL PROTE
doesn't mean
> it'll work in another
> -- what QM said is right, and you should stop the
> practice of modifying
> the work directory yourself.
>
Well, we are migrating to tomcat 5 and modifying the
work dir is not required in tomcat 5.
Thanks for all the info
Dustin
with tomcat nicely.
This still seems like a hack to me, always having to
use the html manager interface. So if anyone knows of
a better way, I would love to hear it.
Thanks,
Dustin
--- Dustin <[EMAIL PROTECTED]> wrote:
> In tomcat 4, I first created the following folder:
>
>
$
b.xml)
404
/errordocs/error404.html
Now each app looks for /errordocs within its own
context. I want to have all apps look in a common
place for those files. Maybe the root context.
Thanks,
Dustin
__
Do You Yahoo!?
Tired of spam? Yahoo!
rface to deploy the war, it worked fine. The
files were in their place as stuff.xml and stuff.war.
But once I restarted tomcat, the manager list showed 2
apps deployed; /stuff and /srv/stuff, neither of which
worked.
I've tried several other configurations all with
varying levels of failure.
tho), but I am having
problems getting it to work in tomcat 5.
Is this something that is supported by tomcat 5? Has
anyone successfully attempted this?
Thanks in advance,
Dustin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
Hey,
I found a great tutorial with a build.xml and build.properties file
that work (i.e. you don't get the Zip exception). It is for tomcat4,
but I got it working with tomcat5:
http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html?page=1
-Dustin
On Nov 9, 2003, at 7:20 PM, Jacob
Hello,
I am reading the documentation for tomcat 5.0.14. I am at the
'first web app' section and I have followed all of the documentation
very closely in setting up my first web app. I am using the example
build.xml, build.properties, and web.xml files with appropriate changes
to reflec
This is a follow-on question to the "Tomacat and
apache web server" thread.
I'm running Apache2.0.43, Tomcat4.1.12, mod_jk2
(12/4/02) on a Win2K platform. I have an webapp I'll
call "Project" that resides in the webapps directory.
Within Project, I have a class file called "DoStuff".
localhost:808
Hello,
I had tomcat4-4.0-b1.1.noarch.rpm running just fine until
I upgraded from Redhat 6.2 to Redhat 7.1. When I run
/etc/rc.d/init.d/tomcat4 start, it never starts, the java
processes get stuck and never bring up catalina. I have
attached the processes, and some strace info.
Upgrading to
would
prefer to have some kind of support. Thanks for any information.
Dustin Tenney
Michael, Jianming and Pete -
Thanks a lot! I finally got it working.
-Original Message-
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CLASSPATH trouble
classes imported in jsp's should be under ./Web-in
What should the CLASSPATH variable include? I've tried
pointing it to several directories and even to specific
files and I still cannot access JSP documents that reference
these external class files. If you'd like I can paste the
error message that Tomcat reports (essentially error 500,
interna
;m a little
confused. I'm thinking that perhaps I was unclear before. Could someone
give me a short synopsis of the purpose of the CLASSPATH variable, what
it should be set to and where I put my class files that are called by
my JSP documents?
Thanks,
Dustin
-Original Message-
sses and
what I need to do to get
Tomcat to see them. Everything else under Tomcat seems to be okay.
Thanks in advance,
Dustin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
20 matches
Mail list logo