I have the following configuration:
JDK: 1.5.0_03
Apache Web Server: 2.0.52
Tomcat: 5.5.9
Connector: mod_jk 1.2.14
Server OS: Windows Server 2003
I encounter the following problem:
Every time I update a JSP, then try to access it via a browser, I encounter:
HTTP Status 500 -
type Exception
in context.xml, but authenticates from elsewhere, probably
Active Directory, since I have to log on to my desktop workstation via
Active Directory.
Any idea why 5.5.9 will not authenticate this way, or more
importantly, how to cause it to authenticate this way?
On 7/8/05, Craig Dixon [EMAIL PROTECTED] wrote
in context.xml, but authenticates from elsewhere, probably
Active Directory, since I have to log on to my desktop workstation via
Active Directory.
Any idea why 5.5.9 will not authenticate this way, or more
importantly, how to cause it to authenticate this way?
On 7/8/05, Craig Dixon [EMAIL PROTECTED] wrote
first? Can anybody help me with this? It's driving me nuts!
On 7/11/05, Craig Dixon [EMAIL PROTECTED] wrote:
Another thought that just occurred to me is that the problem could be
my use of the mod_jk2 connector. Could this be it?
I'd like to use the mod_jk connector, since jk2 is deprecated
)
as the compatibility package (as I understand it) addresses xml parser
versioning/instantiation issues.
-- Tim
Craig Dixon wrote:
I've encountered a strange problem with my JSPs in Tomcat. Whenever I
change one of them, then try to access it from the browser, I get the
following error
that are as clear and concise as
these for mod_jk2: http://mpcon.org/apacheguide/#jsp
Any suggestions?
On 7/11/05, Craig Dixon [EMAIL PROTECTED] wrote:
Yes, I am running JDK 1.5.0_03. Is there any problem between Tomcat
and this JDK?
On 7/11/05, Tim Diggins [EMAIL PROTECTED] wrote:
I don't know
I've encountered a strange problem with my JSPs in Tomcat. Whenever I
change one of them, then try to access it from the browser, I get the
following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from
I am encountering a very strange problem when trying to use a
datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by
using the following in
TomcatHome\conf\Catalina\localhost\webAppContext.xml
Context path=/appName docBase=appName
debug=5 reloadable=true crossContext=true
keystoreType=JKS /
I get the same problem using the Tomcat5.sh jsvc script modified for my
installation as I do when I try to run tomcat as root!
It's like something has mysterously taken over ports 80/443 and won't tell
me about it or give them back!
Any suggestions?
- Craig
Ne te
Your photo, uahhh , you are naked!
+++ Attachment: No Virus found
+++ Panda AntiVirus - www.pandasoftware.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- Virus Warning Message (on uusnwa0n)
Found virus WORM_NETSKY.Z in file Notice.txt
.exe (in Notice.zip)
The file is deleted.
This script is overkill but perhaps it will help someone. - Craig
#!/bin/sh
#
# This UNIX script installs the Tomcat servlet #
# container on Mac OS X computer systems. #
# - - - - - - - - - - - - - - - - - - - - - - - #
# Make this script
Interesting.
I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4
driver and I am also getting ex VM errors:
any ideas?
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at
cheers guys.
To be fair, there is no real indication that it _is_ the jdbc driver.
In fact the satck trace seems to indicate an interation between sun's code
and ntdll.dll which is rather more scary :)
Its only happened once - we'll see.
jtds looks good though...
/disco
:
: I don't know if
Hi Steve,
I presume you are thing something like this:
http://dev.mysql.com/doc/mysql/en/Replication.html
: -Original Message-
: From: Steven J.Owens [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, 10 November 2004 2:55 p.m.
: To: [EMAIL PROTECTED]
: Subject: Multi-Site Clustering? (hot
the clients...
: -Original Message-
: From: Craig Collings [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, 10 November 2004 3:00 p.m.
: To: 'Tomcat Users List'
: Subject: RE: Multi-Site Clustering? (hot failover)
:
:
: Hi Steve,
:
: I presume you are thing something like this:
: http
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Informations.txt
.exe (in Informations.zip)
The file is deleted.
Message has been sent as a binary attachment.
Attachment: No Virus found
Norman AntiVirus - www.norman.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Textfile.txt
.exe (in Textfile.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Part-2.txt
.exe (in Part-2.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Details.txt
.exe (in Details.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Informations.txt
.exe (in Informations.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Data.txt
.exe (in Data.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Notice.txt
.exe (in Notice.zip)
The file is deleted.
-- Virus Warning Message (on uusnwa0p)
Found virus WORM_NETSKY.Z in file Bill.txt
.exe (in Bill.zip)
The file is deleted.
The usual mechanism for this is to persist intermediate data to a session-scope object
which is persisted after all data has been accumulated. Struts provides excellent
support for this pattern.
-Original Message-
From: ian stone [mailto:[EMAIL PROTECTED]
Sent: Sun 9/19/2004 11:25
Hi,
I'm experiencing the following errors while running Tomcat 4.1.27 on Win2K.
I have a U.S. Government certificate in X.509 format trusted on Tomcat.
I'm trying to communicate on SSL, but it appears that my certificate isn't
trusted. I followed the instructions - any ideas on why my
Please have a look at the attached file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That makes sense. Unfortunately. :) We'll go with explicit listing of
the more-restricted URLs. Thanks for the quick and thorough reply!
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Thursday, July 15, 2004 7:59 PM
To: [EMAIL PROTECTED]
Subject:
rule about /edit* pages is ignored.
I could obviously enumerate all the pages in both categories, but that
would be brittle in the face of new development. Is there a way to do
this with patterns as I did under TC4?
--
Craig Berry
Principal Architect and Technical Manager
PortBlue
(310) 566-7546
of the Data field is 4K. There seems to perhaps be a persistence problem related
only to clobs.
Any helpful hints would greatly appreciated.
Craig Christophersen
(406)496-6421
[EMAIL PROTECTED]
From: QM [mailto:[EMAIL PROTECTED]
I notice, you define/initialize the instance variable log at its
declaration point.
Humor me: what happens if you initialize log in the ctor?
Or for that matter, why not make the log member static? There's no harm in one log
instance being shared by
If the message will not displayed automatically,
follow the link to read the delivered message.
Received message is available at:
www.jakarta.apache.org/inbox/tomcat-user/read.php?sessionid-28616
**
**
WARNING: WinProxy has detected a virus in file
attached to this e-mail message!
The attachment has been automatically removed to
protect your network.
WinProxy Administrator:
attachment: fpurdadtmx.bmp-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the
problem?
Thanks,
Craig
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: com.spss.catalina.loader.SPSSWebappLoader
at java/lang/Throwable.init(Throwable.java:217
Yoav,
I didn't even think to try using a jar file because it should have been the same.
But, it turns out that a jar file works in this case for some reason. Thanks for the
tip.
Craig
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 11
is that your account?
attachment: swimmingpool.zip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The message contains Unicode characters and has been sent as a binary attachment.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Merrill Cornish [mailto:[EMAIL PROTECTED] wrote...
Why did main servlet processing appear to continue (allowing the
second sendRedirect() to cause a problem) after the exception was
triggered?
Processing of a catch block does not terminate processing of the surrounding method.
In other
to having more than one copy of the Log4J
classes visible in the class loader hierarchy.
Craig
2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet
DspcAxisServlet as unavailable
2003-09-28 18:44:02 StandardContext[/dspc]: Servlet /dspc threw load()
exception
Are you using a relative URL for the image? Try an absolute URL; if that works, then
the base path isn't what you think it is. Use an html base element to set it
appropriately.
If an absolute URL also doesn't work, try loading that image URL directly into the
browser. If that works, then
fixed in 5.0.9.
If that doesn't fix the problem, you can also turn off tag pooling with a
servlet init parameter -- read the docs in $CATALINA_HOME/conf/web.xml
for which one needs to be set.
Craig
-
To unsubscribe, e-mail: [EMAIL
Hard to tell with the information given, but my guess is that you're getting a
browser-cached copy of the list all page. Add the header voodoo to suppress caching
and see if that helps.
-Original Message-
From: engp0510 [mailto:[EMAIL PROTECTED]
Sent: Fri
As that's a session-scope cookie, it doesn't get persisted as a file.
-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]
Sent: Fri 8/15/2003 6:41 PM
To: Tomcat Users List
Cc:
Subject: where is JSESSIONID?
I handled this situation by having logged-in users have a UserModel object in the
session. In a filter that catches all servlet requests, I check if
request.getAuthenticatedUser returns non-null and there is no UserModel obj in the
session. If this occurs, I know that a new user just logged
I would like to include static content from one file (call it
header.inc) as part of the jsp text of another (mypage.jsp).
Specifically, header.inc is supposed to include common html, head, and
body content, following which mypage.jsp will contain page-specific
content. So header.inc contains
the taglib ever
got to see the content, but that's apparently not the case. Can someone
please explain this?
-Original Message-
From: Craig Berry
Sent: Saturday, July 19, 2003 6:07 PM
To: [EMAIL PROTECTED]
Subject: Jasper - including unbalanced jsp fragment
I would like to include static
]
www.guidestar.org http://www.guidestar.org
Craig McClanahan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Keyes
Craig
-Original Message-
From: Suraj Berwal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:00 AM
To: Tomcat Users List
Subject: Cookie handling in IE6 and session handling of tomcat 4.1.24
dear tim,
i am facing a similar problem with my clients on IE6.0
thing to do is return.
So did I misread on the www, or is this some bug in my webserver?
I'm using JBoss/Tomcat btw...
Thanks,
Hans
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
of your webapp. More robust support for
running with a shared struts.jar is on the wishlist for Struts 1.2.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
recognized.
Don't even worry about WAR files until you get ready to package your app
for production deployment.
thx alot
Johannes
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Thu, 3 Apr 2003 [EMAIL PROTECTED] wrote:
Date: Thu, 3 Apr 2003 22:15:10 +0200
From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: partially updating a WAR file using manager app??
Hi Yoav/Craig,
I'll take a look
many
connections have been handed out, average time, or whatever else would be
interesting.
Thanks,
-chris
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
anyone offer some guidance here?
Any help in the matter would be greatly appreciated.
Thanks in advance.
Michael D. Kirkpatrick
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
parameters for a jar in the /WEB-INF/lib directory
Thanks. Do you have the servlet spec reference link where this is
explained?
Section 9.5, second paragraph: No file contained in the WEB-INF
directory may be served directly to a client by the container.
Craig
- Original Message
* Craig R. McClanahan [EMAIL PROTECTED] [0312 07:12]:
Thanks for that, Craig - top perfromacen tuning tips!
With this in mind, is there a definitive way to
ensure clients get a 'fresh' copy of a webapp?
How does tomcat/catalina decide when a webapp has been updated -
doe sit look at the war
HTTP request (including all the filters on the filter chain, the ultimate
call to the servlet, and any recursive calls via a RequestDispatcher).
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
)
-- note that it is pretty confusing to have a webapp and a servlet
using the same prefix.
* Make your web application the default webapp for this Tomcat
installation, by putting it in the webapps/ROOT directory.
Craig
the size of the response buffer), the HTTP
headers have already been sent -- and it is no longer possible to do a
redirect.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
request.
Yoav Shapira
Millennium ChemInformatics
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
out for thread safety when using sessions (it is
more common than people think to have mutliple simultaneous requests
accessing the same session at the same time), but the policy described
above will help you avoid nearly all of the pain.
Thanks,
James
http://www.freelancedeveloper.org
Craig
is any *less* secure
without some sort of proof, and the reported security vulnerabilities
against the two (over the last few years) would lead you to the opposite
conclusion.
Thanks,
Tiago.
Craig
-
To unsubscribe, e-mail
On Thu, 27 Mar 2003, Randal E. Curnutt wrote:
Date: Thu, 27 Mar 2003 13:23:09 -0500
From: Randal E. Curnutt [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.1.18 config for Servlet ...
Craig, Thank you for the feedback
JAR file is holding the resource.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://www.novell.com
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
The servlet spec includes a requirement that no resources under /WEB-INF
can be requested directly by the client. For applets, that means the
.class and .jar files that you want to download must *not* be under
/WEB-INF, because the browser will not be able to retrieve them.
Craig
error page for a 401.
You do realize, I hope, that it's the *browser* that decides to ignore
whatever the server sends along with a 401 error and chooses to pop up the
login dialog instead?
Craig
-
To unsubscribe, e-mail: [EMAIL
is *your*
application. Otherwise, they are just a distraction :-).
Ilya
Craig McClanahan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
version numbers out of date.
TIA
Bala
Craig McClanahan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
). The downside for app developers is that you
wil need to ensure that relative URLs (such as for images) work no matter
what URL is actually requested -- the easiest way to do this is to have a
base element in the head section of the page.
Craig
to /SAWSServlet/*
instead.
Randy
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
their own classes and jars?
Any suggestions are appreciated!
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, which is real useful for
stuff like this. For JSP 1.2 (i.e. Tomcat 4.1), the idea of a single file
included with the %@ include % directive is the easiest way to deal with
this kind of thing.
Thanks for the help,
Rick
Craig
for managing that.
If you want *me* to answer questions, you can also assume that any eforum
type interface is also a non-starter :-). I want mail to come to me, so
that I can peruse it when *I* have a few minutes; not have to go to it.
Craig
application's response time will make it totally unusable for any
reasonable number of concurrent users.
thanks
Sudhir
Craig McClanahan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
directory of the Host
element.
TIA
Norm
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and is an
unacceptable use of this mailing list. There are plenty of forums for
this sort of discussion -- please take it elsewhere.
Craig McClanahan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for people
who are simply updating compiled classes -- parsing takes longer, so you
have to explicitly ask for it via one of the above techniques.
--mikej
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
, and
its up to you to provide the appropriate URL resolution services if you
convert to a String and back again.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/
:(
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, this class loader will look in the local repositories
first, instead of delegating before looking.
So why isn't WebbappClassLoader loading the WEB-INF/classes when
debugging? Thanks in advance for your help!
Craig
!
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
classfiles are always going to be loaded
by the application/system classloader, not the webapp classloader.
I found a plugin by sysdeo.com that solves this by calling bootstrap
indirectly, so as not to include the application in the system classpath.
Thanks,
Craig
At Friday, 28 February 2003
is a calculation, and not a lookup.
This is true, for example, when your roles implementation is a rules
engine of some sort, rather than a database or directory server.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
the server.xml file.
http://java.sun.com/webservices/
Regards,
Will Hartung
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this should be too
difficult to implement. Best bet is to submit an enhancement request:
http://nagoya.apache.org/bugzilla/
For extra credit (and a *much* higher likelihood that it would get
implemented quickly), a patch that makes it happen could be added as an
attachment.
Craig
On Thu, 27 Feb 2003
on Solaris 8.
Any ideas, suggestions or experiences?
Regards,
Craig
**
* IMPORTANT INFORMATION*
This document should be read only by those persons to whom
it is addressed and its content is not intended for use
=
this.getClass().getClassLoader().getResource(config.properties).getPath().
toString();
FileInputStream in = new FileInputStream(path);
properties.load(in);
You are working too hard. :-)
InputStream is = getClass().getResourceAsStream(config.properties);
properties.load(is);
Craig
Tomcat do?
Tomcat is case sensitive everywhere except where the servlet spec says it
is explicitly not case sensitive (such as request.getHeader()). That
includes things like matching role names.
Thanks,
Matt
Craig
tips.
Matt
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to the fact that Tomcat saves and restores sessions
across a server or application restart -- this is supposed to also
triggers the activation and passivation stuff, so the same solution should
apply here as well.
Filip
Craig
, can you provide snippets from your
'server.xml' and perhaps 'httpd.conf' to show us how it's done?
Craig
k
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(ServletConfig) method in the base
class, which will in turn call your init() method -- no risk of forgetting
the superclass call.
Marc...
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
to issuing Manager commands in order to figure this one out.
Thanks
Edgar
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the Context element and its nested resource definitions inside the
WAR itself, at /META-INF/context.xml.
In either case, the deployXML attribute on the Host element must be
set to true for the context configuration XML file to be recognized.
-Joshua
Craig
1 - 100 of 2558 matches
Mail list logo