Hello Mike,
If by newer and more refined you mean not compatible with jdk's
previous to Sun's 1.4 jdk with fewer features than Log4j, then you
are absolutely correct.
Seriously, Log4j is far more capable than JDK1.4 logging and is
independent of your favorite JDK. And don't bother with
advantages os log4j? Everybody says it's better, but
FS no one says why :-)
FS just curious
FS On Wed, 2003-02-19 at 16:16, Jacob Kjome wrote:
Hello Mike,
If by newer and more refined you mean not compatible with jdk's
previous to Sun's 1.4 jdk with fewer features than Log4j, then you
Your question is now becoming a lot more logging-in-general oriented where
it was about logging from webapps before. I suggest you look to the
experts on the log4j-user list or, better yet, buy the book on using log4j:
http://www.qos.ch/shop/products/clm_t.jsp
This is loaded with information
themselves.
Regards,
Manav.
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 8:51 PM
Subject: Re: Best Logging practices
Your question is now becoming a lot more logging-in-general oriented where
jk_nt_service was for Tomcat-3.x.x. For Tomcat-4.x.x, see the following
http://www.mattkelli.com/tech/tomcat/ntservice.htm
Jake
At 03:25 AM 2/18/2003 -0500, you wrote:
Hello,
I'm trying to run Tomcat as a service on Windows 2000 Server and
am having a few difficulties. I have the
The deploy command uses HTTP PUT and that isn't supported by browsers. It
is supported by the Catalina Ant tasks provided in the appdev sample in the
Tomcat documentation. Also, the deploy command doesn't put the .war file
in the webapps directory when it is done uploading. It puts it in
First, you have an invalid context path of \. It should be either
for the ROOT context or something like /apps. Note the forward slash
instead of the backslash and notice that a path of / does *not* refer to
the root app. It is an undefined path according to Tomcat. I'm not really
sure
Hello srihari,
You need to read the release notes. Based on the URL you mention
{ /soap/servlet/rpcrouter }, you are counting on the fact that the
invoker servlet is enabled in Tomcat. It has been disabled by default
in recent Tomcat releases.
Re-enable the invoker serlvet by uncommenting the
: http://saxon.sourceforge.net/aelfred.html
That was just from looking it up in google.
Jake
Tuesday, February 18, 2003, 12:42:38 PM, you wrote:
MC What is the name of the jar file containing the AElfred parser classes?
MC ---
MC - Original Message -
MC From: Jacob Kjome [EMAIL PROTECTED
Try installing to a directory with no spaces in it.
Jake
At 11:35 PM 2/18/2003 -0500, you wrote:
I seem to get an install error when using tomcat4.1.18
Here is the error that I get when installing the .exe file.
Copy to c:\Program Files\Apache Group\Tomcat4.1\common\lib
copy
Just do...
Context path=/myapp docBase=/apps.war appBase=webapps debug=0
reloadable=true crossContext=true privileged=true /
The just drop the apps.war file into CATALINA_HOME/webapps. Now start
Tomcat.
The war file will *not* be expanded and the customer doesn't need to expand
it. It
1. Do you have the Alfred parser in CATALINA_HOME/common/endorsed or
common/lib?
2. Do you have the Alfred parser somewhere on your classpath?
3. Are you setting an environment variable for the sax parser to be Alfred?
In cases 1 and 2, getting rid of Alfred and the problem should go away.
Hello Alex,
You won't find it in Tomcat's source. It is simply a renamed
JavaService. Find the source here:
http://www.alexandriasc.com/software/JavaService/
Jake
Monday, February 17, 2003, 3:00:56 PM, you wrote:
AC Hi folks,
AC I've been trying to find the source code for tomcat.exe
If you want a user interface, you need to go to:
http://localhost:8080/manager/html
Jake
At 11:22 PM 2/12/2003 -0500, you wrote:
Hello Everyone,
It has been a long time since I was last on this list, so if this question
has been answered before I apologise. I did not see anything in the
I'm not sure exactly what the problem is, but I suspect it is a
commons-logging problem. To avoid this, don't use commons-logging. You
see very few bug reports like this for log4j stand-alone. So, use Log4j
directly and you will have fewer headaches.
Also see
Hello Sloan,
You can remove the log4j.dtd. Note that in the latest 1.2 CVS, this is
fixed. However, there has been talk that in the 1.3 version of log4j,
the dtd might be removed for the same reason that it isn't used in
Tomcat's server.xml; because the markup is too rich and dynamic to be
Hello Tim,
For recent Tomcat versions, you need to add the following to your
jk2.properties file (even if you are using mod_jk and not jk2):
request.tomcatAuthentication=false
In older versions of Tomcat, for mod_jk, at the attribute
tomcatAuthentication=false to your ajp connector in
.properties file, but I tried
adding it to my ajp connector in server.xml, per your second suggestion, and
that did the trick!
I'd never heard of that parameter before. I learn something new every day.
=)
Thanks again for your help,
Tim
On 2/13/03 2:18 PM, Jacob Kjome [EMAIL PROTECTED] wrote
You can also pass the class loader that you want Class.forName() to use
like this:
Class.forName(className, Thread.currentThread().getContextClassLoader());
That is the Class.forName() equivalent to the loadClass() below.
Jake
At 08:34 AM 2/12/2003 -0500, you wrote:
In addition to trying the
The xerces jars that come with Tomcat-4.1.18 are not an issue. They were
in Tomcat-4.1.12. So, you can leave the xerces stuff alone. Look
elsewhere for the cause of the error. Unfortunately I'm not sure what this
error is, but at least I was able to tell you what it isn't.
Jake
At 11:33
Hello tomcat,
Sorry, but the PDF was the book. If you really want to know
*everything* about Log4j, that is what you should get. It will be
well worth it to avoid the frustration you may feel when you have
questions that you can't find answers for elsewhere.
However, the other links that I
Hello Yoav,
The only way to do this, other than Yoav's solution (which is the most
prudent), is to use the Thread Context ClassLoader. For instance, if
your library in shared/lib is trying to dynamically load a class from
the WebappClassLoader of any particular application, then using
something
While I haven't used JDK1.4 logging much, I think the consensus is that
Log4j is the more powerful framework. JDK1.4 logging may gain traction
simply because it is part of the official JDK. However, its development
will be slower than that of Log4j as Log4j is being worked on constantly by
This is part of the servlet spec. Use a transport guarantee. You won't
have to do any extra coding.
security-constraint
web-resource-collection
web-resource-nameTomcat/web-resource-name
url-pattern/*/url-pattern
/web-resource-collection
user-data-constraint
I only have one thing to say about commons-logging...
http://qos.ch/logging/thinkAgain.html
Jake
At 10:19 PM 2/11/2003 -0700, you wrote:
This thread has already pointed this out indirectly, but I will go ahead
and say it directly - you may want to consider the commons-logging API
for your
Yes, it is fixed in CVS and will be in the next alpha or release of Tomcat
(after 4.1.19 where the bug was reported by me).
It is a simple mapping issue. To fix it for yourself in the mean time,
just edit the manager web.xml and add the servlet mapping for the deploy
command. Just follow
Hello runu,
I'm guessing you are running your app as an NT Service, right? The
base directory of the JVM becomes that from where it was started. In
the case of a service, that is C:\WINNT\System32. If you started
Tomcat from the .bat file which existed in CATALINA_HOME/bin, then
that is where
All I found was your web.xml file. You'll need to re-attach your jsp and
java files.
Note that I posted stuff about this and still haven't found a simple solution.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg82477.html
Jacob Hookum figured out a way to do it using the same
I haven't seen that one, but I did get this one once. Can't reproduce it,
though
Running under Win2k SP3 on a 2ghz AMD Athalon wth 512m RAM
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D5A19BB
Function=JVM_FindSignal+0x3C19B
2 things..
1. the deploy command uses the HTTP PUT method. No browser out there
supports this. You need to use the Catalina Ant tasks to run
deploy. What you want is install.
2. Tomcat-4.1.19 had the manager app retooled. In the process, the servlet
mapping for the deploy command was
Here's the post by Remy where he posted a sample chapter and pointed to a
URL to pre-order
http://marc.theaimsgroup.com/?l=tomcat-userm=104254235126023w=2
Jake
At 04:00 PM 2/6/2003 -0800, you wrote:
Peter,
I also look forward to the book and have the same questions that Sean has.
Also,
1.
Hello Felipe,
just use
MyClass.class in static contexts. The only issue is that if you
change the class name, you will also have to change any case where you
did MyClass.class to match the new name of the class.
Jake
Wednesday, February 05, 2003, 10:52:20 AM, you wrote:
FS Very nice
Hello Erik,
Sorry, I don't do JSP and haven't a clue about taglibs
Jake
Tuesday, February 04, 2003, 9:31:27 AM, you wrote:
EP Jacob Kjome wrote:
In order to obtain access to a file under WEB-INF in a completely
portable way, use something like...
getServletContext
get their conf from a JNDI resource.
JCHowever, I still think that the correct location for log files is
JC resolved in this scenario. Those of you using WAR along with file logs
JC -- where do you put them?
JC Thanks,
JC Jim
JC Jacob Kjome wrote:
Put stuff that isn't supposed
Put it in CATALINA_HOME/common/endorsed or common/lib. You aren't supposed
to put endorsed packages such as javax.* and org.w3c.* in WEB-INF/lib. It
causes all sorts of problems and violates the Sun classloading spec which
Tomcat, as of 4.0.2, enforces.
Jake
At 10:11 AM 2/3/2003 +0100, you
hmm
Seems to me that they might have been accessing the Xerces implementation
classes rather than just the public interfaces. If they were doign things
like loading classes dynamically such as using
Class.forName(com.mypackage.MyClass) you would get exactly this problem
because that
Put stuff that isn't supposed to be accessed via the web under
WEB-INF. You can create whatever directory structures you want within that.
In order to obtain access to a file under WEB-INF in a completely portable
way, use something like...
=whateverPasswordIChoose
roles=manager/
user username=myAdminUser password=anotherPasswordIChose roles=admin/
user username=someOtherSuperUser password=myFavoritePassword
roles=manager,admin/
Jake
At 10:10 PM 2/1/2003 -0800, you wrote:
hi Jacob Kjome .thanx for ur help.
I got it work, thanx for ur help
I believe that the path in Directory needs to be fully qualified. So,
instead of what you have, it would be something like...
Directory C:/my/directory/path/to/my/webapp/WEB-INF/
Or, you can just do...
JkMount /myapp
JKMount /myapp/*
That will forward *everything* to Tomcat and Tomcat
Use the Coyote connector for AJP, not the deprecated ajp connector. Either
that or comment out the mbean entries at the top of server.xml when using
the deprecated ajp connector to avoid the exception.
Jake
At 08:03 PM 2/1/2003 +0100, you wrote:
Hi!
Accessing the /admin or /manager web
I can't shed any light on the problem, but mod_webapp is not being actively
developed, so I suggest you move to mod_jk or jk2 and forget about
mod_webapp. If you find problems there, at least someone will eventually
fix any bugs you find. mod_webapp is just plain dead.
Jake
At 02:14 PM
Are you accessing it like this?
http://localhost:8080/servlet/MyServlet
If so, note that the /servlet/* mapping is for the invoker servlet which
is commented out (by default) in Tomcat conf/web.xml. Uncomment the
mapping for the invoker servlet and you will be able to access your
At 10:33 PM 1/30/2003 -0800, you wrote:
I want to do some[1] processing after my web
application finishes starting completely, but before
any servlet requests arrive. Are there any listeners
for this situation?
Q1. Does tomcat serve any requests before
ServletContextListener.contextInitialized
4.0.x uses Tyrex. DBCP is for 4.1.x. And make sure you get the full
version of Tomcat instead of the jdk1.4.x-LE version.
Jake
At 11:21 AM 1/30/2003 -0500, you wrote:
I don't have commons-dbcp.jar in my system's Tomcat -- is that new in 4.1?
My server runs Tomcat 4.0.6, does that mean I
) and
the directory path has a separate directory for com and mypackage, the
bean residing in the latter.
Does
WEB-INF
= classes
= com.mypackage
= MyBean
also work?
Regards,
Wilson (newbie)
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat
an outside problem. See if you can connect
through a basic class outside the Tomcat container. If so, then try
it again in the container. That will rule out general database
connectivity issues.
Jake
Wednesday, January 29, 2003, 9:42:23 AM, you wrote:
EP Jacob Kjome wrote:
Hello Mehdi
Hello Màris,
That particular quote that you mention below (from the Tomcat docs)
needs to be rewritten. You can't override endorsed packages from
within the WEB-INF/lib. It violates the Sun classloading spec and
ever since Tomcat-4.0.2, Tomcat enforces this.
For evidence of this, see...
Hello Timo,
no, it won't work on Windows. It will on Unix because Jikes on Unix
supports the -encoding option. For whatever reason, it isn't
supported on Windows. Until that time, it will not be usable on
Windows. See the Jikes site for details. Look in the bug reports to
find a better
Hello Sankaranarayanan,
This shouldn't be true. Apps cannot see the system classpath at all.
Only Tomcat sees that at startup. Webapps will only see classes in
WEB-INF/lib, WEB-INF/classes, common/endorsed, common/lib,
common/classes, shared/lib, and shared/classes. Tomcat, itself, also
sees
Hello Will,
Thanks for the clarification.
So, if one starts Tomcat as an NT servive which doesn't run through a
script, the system classpath will be fully seen by Tomcat? Ok, well,
that still doesn't cause problems for me because I put next to nothing
on the system classpath. I always make
Hello Felipe,
Note that the invoker servlet provided in Tomcat as the mapped path
/servlet/* will create a separate instance of your servlet to one that
you access via a normal servlet mapping such as /myservlet.
So, you *can* get two instances of a particular servlet at one time.
Disabling the
Is the bean in an actual defined package or the default package (no
package). It *must* be in a package. So, instead of
WEB-INF/classes/MyBean, it would be something like
WEB-INF/classes/com.mypackage.MyBean
Now import the com.mypackage.MyBean bean into your jsp. Things should work
better
No need to edit the registry. Just install JDK1.3.1 or better and use the
following instructions to install your service:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
Note that you should set up your environment variables as System
variables not User variables.
Jake
At 09:00 AM
Hello John,
So, you are saying that you put your new parser in jee/lib/endorsed
and expect Tomcat to pick that up like Ant did? Note that Tomcat also
has an endorsed directory in CATALINA_HOME/common/endorsed. Jars in
that directory will override not only the regular JDK libraries but
also
Are you running Tomcat as a Service? If so, you need to uninstall the
service and reinstall it in order to update the service with the new path
to JAVA_HOME and any other paths that might have changed.
http://www.mattkelli.com/tech/tomcat/ntservice.htm
Jake
At 10:07 PM 1/26/2003 +0100, you
You really need to check the Tomcat docs before posting questions like
this. It is pretty well spelled out there.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html
Jake
At 07:07 PM 1/26/2003 -0600, you wrote:
Does the HTTP connector for Tomcat 4.1.x support server-side includes?
I haven't checked with the latest Tomcat-5 and can't verify your findings,
but there is a bug out where the admin app has no class files. Maybe
something like that is happening with the examples.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14975
Jake
At 10:05 PM 1/25/2003 +0100, you
Note that I tried to implement the filter based on Orions tutorial on
Tomcat-4.1.x and it works, but only for static html. For dynamic content
when filtering a servlet or JSP, Tomcat won't let me set the headers
necessary for the browser to understand that what I am sending is a GZipped
throw a users file that can be
declared in httpd.conf in Apache. Then in the same file, I have the
sentences to connect to Tomcat, and it works fine because I can call all
my servlets without problems. Maybe I'm forgetting something.
Thank you
Aleix
-Mensaje original-
De: Jacob Kjome
Do something like the following
Server port=8005 shutdown=SHUTDOWN debug=0
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=mod_jk.dll
jkDebug=info /
...
...
...
Host name=localhost debug=0 appBase=webapps
unpackWARs=true
Hi Felipe,
Here you go
Set paths = context.getResourcePaths(/WEB-INF/);
Iterator iter = paths.iterator();
while (iter.hasNext()) {
String currentPath = (String)iter.next();
System.out.println(current path is: + currentPath);
}
}
Jake
At 02:55 PM 1/23/2003 -0200,
You don't have to pur your Resource and ResourceParam tags in
GlobalNamingResources . Just put them inside your Context take and
things will work fine.
Jake
At 07:01 PM 1/23/2003 +0300, you wrote:
Hello list!
Recently I posted a question about how to make DataSourceRealm work.
After
In an Model2 sort of architecture like Struts, you would use this to
forward to your presentation JSP file. So, no, I don't think it is a bad idea.
Jake
At 12:14 PM 1/23/2003 -0500, you wrote:
Is it a bad idea to have a servlet that forwards to another servlet using
See:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
Jake
At 01:15 PM 1/23/2003 -0500, you wrote:
Hi,
How about How To instructions for running versions of Tomcat = 4.x as a
Windows NT service.
Something similar to:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html
dispatch refers to the RequestDispatcher class which you use to do a
forward(). You are talking about exactly the same thing.
Jake
At 01:53 PM 1/23/2003 -0500, you wrote:
Mike Jackson wrote:
You can always dispatch to another servlet. You don't have to redirect.
So the sequence could be
I believe it has been discussed before that Java cannot see network drives.
Jake
At 10:07 AM 1/22/2003 +, you wrote:
I know for a fact the path is correct - when I run exactly the same code
with exactly the same file path it works... When I attempt to open the
same file path in Tomcat I
Thanks Ignacio,
Works perfectly in Tomcat-4.1.19even with mod_jk, although it is a little confusing
to have the config relating to mod_jk in jk2.properties but, oh well,
It works :-)
BTW, I used
request.tomcatAuthentication=false
not
request.tomcatAuthentication=true
Just wanted to clarify
Hello Mehdi,
If you are using DBCP connection pooling, your driver *must* exist in
CATALINA_HOME/common/lib. This is because the DBCP libraries exist in
common/lib and the fact that classes from common/lib do not have
access to the child classloader in WEB-INF/lib. However, your classes
in
Hello pcampaigne,
It depends on the name you use with LoadModule. Load the name of the
module that you want. Choose whatever name you want for the module.
Jake
Wednesday, January 22, 2003, 10:09:43 AM, you wrote:
p Is it necessary to re-name mod_jk2-2.0.43.so to mod_jk2.so when I use this
22, 2003, 10:41:44 AM, you wrote:
CG I validated the web.xml file with XMLSpy and it says the file is valid!
CG - Original Message -
CG From: Jacob Kjome [EMAIL PROTECTED]
CG To: Tomcat Users List [EMAIL PROTECTED]
CG Sent: Tuesday, January 21, 2003 8:55 PM
CG Subject: Re: Configuring
Notice that you misspelled tomcatAuthentication. You wrote:
request.tomcatAuthenticatoin=false
It should be
request.tomcatAuthentication=false
Jake
At 12:58 AM 1/23/2003 +0100, you wrote:
Ok,
Sorry about the laguage.
My Apache version is 2.0.43 and Tomcat 4.1.18. I have a servlets
Hi Vivek,
The following was posted to the list a while ago. I don't have the
archived URL for it, so I'm just re posting it here. Hopefully it will
help you out. Note that it was not written by me so, if you have question,
I'm afraid I won't be of much help.
Jake
Here it
Hello Garrick,
See:
http://www.filip.net/tomcat/
http://www.theserverside.com/resources/article.jsp?l=Tomcat
http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html?page=1
or
http://www.onjava.com/lpt/a/2422
http://www.tangosol.com/products-clustering.jsp
That should get you started.
Hi,
I've found an issue with the CoyteConnector that I'm not sure is a
bug. In versions of Tomcat previous to Tomcat-4.1.11, the
CoyteConnector didn't support the tomcatAuthentication=false which
is needed to make a call to getRemoteUser() take the authentication
information obtained originally
Client locale's are sent by the browser. You could probably figure out
the timezone based on the locale, to a certain degree. However, you might
just have to ask the user to choose a timezone and then store that in the
session or as a permanent cookie.
Jake
At 05:19 PM 1/21/2003 -0500,
Find an IDE to validate your web.xml such as XMLSpy. You will probably
find that the problem is either the xml file is not well formed and/or the
xml file is not valid based on the provided DTD.
Jake
At 04:44 PM 1/21/2003 -0600, you wrote:
I am trying to configure a custom error page for 404
I'm almost positive that there is a flag to turn off persistent sessions,
but I can't remember what it is. Read the docs carefully. I'm pretty sure
it is there.
Jake
At 03:24 PM 1/21/2003 -0800, you wrote:
There doesn't appear to be a standard non-persisting session manager for
4.1.18, am I
Why would one use normal File IO to attempt an absolute file path to the
WEB-INF directory of a webapp? Use what the servlet spec provides for you.
String absolutePath = getServletContext().getRealPath(/WEB-INF);
File file = new File(absolutePath);
Just make sure to check for the
Check out the unpackWARs attribute on the Host ... element. Set it to
true. However, this is the default setting. I'm assuming you are using a
customized server.xml, right?
Jake
At 09:40 AM 1/19/2003 +0100, you wrote:
Greetings!
New to Jakarta and I'm stuck. Again, most likely an easy
I figured out the problem and it is a bug in Tomcat-4.1.19. Actually, it
is more of an oversight. The servlet-mapping /deploy wasn't specified in
the manager's web.xml. See details about it here.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16243
Hopefully, this can be fixed by the
I have always used the install task, so I haven't run into this issue
until now. I have a .war file which I want to deploy to Tomcat. The path
is correct because I've tried the same file:/// URL to do an install from
the manager web GUI and that was successful. I also use the same path,
Hello Steve,
It is fine to edit server.xml, but it might be easier to use a Context
Configuration File. See the current webapps directory in any recent
Tomcat release such as 4.1.8. Notice the admin.xml and manager.xml
files? Just make a [myapp].xml file and add your Context ... tag
with all
Hello joel,
Look into how the cookie path is set. I think, by default, it is set
to the current context of your app, not the whole server. You will
need to override this behavior. See the servlet api for details. As
far as the cookie disappearing upon browser close, this should happen
unless
Hello eric,
You are attempting to use the invoker servlet of which the
servlet-mapping is commented out, by default, in Tomcat's
conf/web.xml. Uncomment that and it will work.
Jake
Friday, January 17, 2003, 10:25:41 AM, you wrote:
e Greetings!
e This has got to be so easy I'm missing
Hello joel,
hmmm
I assume the problem with the cookie not disappearing upon browser
shutdown is solved, but the issue with seeing this cookie across all
webapps on the same server is not solved, right?
Now that I think about it, I wonder if the path of / in servlets is
relative to the
Here's my validation query...
parameter
namevalidationQuery/name
valueSELECT MAX(id) FROM Users/value
/parameter
The Database being used is Oracle 8i
Hope that helps.
Jake
At 07:59 PM 1/17/2003 -0800, you wrote:
I got a tip here from Craig about using
Hello Elisabeth,
I guess I'm surprised an applet (running in the browser, right?) works
at all if the jar containing the applet is in WEB-INF/lib. The
browser has no access to that. It needs to exist in a public area;
the same area where you put your html, jsp, image, and other
web-accessible
Hello Nitin,
Not sure what the original email said, but Barracuda's event model
allows for an event hierarchy. Basically, your events can inherit
from other events. When the child event is called, the parent event
is the fired and then it goes down the inheritance chain until it
reaches the
Don't resort to hardcoded absolute paths. That is a maintainance
nightmare. Use what the servlet spec provides for you...
String tempdir = +context.getAttribute(javax.servlet.context.tempdir);
That will give you the path to the temp directory provide for your
application which, if the
Are you sure this is happening when you go directly to Tomcat rather than
through Apache? All my mappings in web.xml make no mention of the context
name and work just fine.
Try you app at:
http://localhost:8080/control/
Then try it at:
http://localhost/control/
If it works in the former
Yes, of course there is
InputStream is =
getServletContext().getResourceAsStream(/WEB-INF/myFile-dataResource.xml);
You can also get a list of files matching a particluar pattern using
something like the following
ServletContext context = getServletContext();
List list = new
can override that
default without ever touching your .war file.
Jake
At 08:55 PM 1/15/2003 -0500, you wrote:
On Thursday, January 16, 2003, Jacob Kjome [EMAIL PROTECTED] wrote:
Yes, of course there is
Thanks, but this illustrates why the bottom-quoting so popular on this
list doesn't work
Hello Craig,
One thing to watch out for when running an app directly from a .war
file is that if the application is trying to do any File IO where it
tries to load resources existing within the WAR structure, it won't
work if the .war is not expanded into a directory. I've noticed
various
I brought this issue up previously in a question about a GZIP servlet filter
which I had based on an example that was supposed to have worked on
the Orion server. I still have gotten nowhere. The curious thing is
that it works fine when serving a static html file, but fails when
serving jsp's
Hi Craig,
See comments below
At 05:44 PM 1/13/2003 -0800, you wrote:
On Mon, 13 Jan 2003, Jacob Kjome
wrote:
Date: Mon, 13 Jan 2003 16:59:44 -0600
From: Jacob Kjome [EMAIL PROTECTED]
Reply-To: Tomcat Users List
[EMAIL PROTECTED],
Jacob Kjome
[EMAIL PROTECTED]
To: Tomcat Users List
It violates the Sun classloading spec to load endorsed classes from
WEB-INF/lib or WEB-INF/classes. There are a number of bugs that have been
filed on this and the conclusion of all of them is that Tomcat simply won't
support any sort of overriding of XML or DOM libraries from the webapp
change user to username and driverName to url
Jake
At 09:23 PM 1/12/2003 +1300, you wrote:
I have just installed Tomcat 4.1 - to date I have been using Tomcat 4.0. In
4.0 I have the following resource in the DefaultContext. I have copied this
context from the sever.xml of 4.0 to the server.xml
Actually, you can define your JNDI Datasource in GlobalNamingResources
and then define a ResourceLink inside your context although I would have
thought that DefaultContext would have worked as well?
Jake
At 10:25 PM 1/12/2003 +1300, you wrote:
On Sun, 12 Jan 2003 21:32, Jacob Kjome wrote
Hello avitabile,
Make sure you have xmlParserAPIs.jar. That is where it exists. Of
course, along with this, you will need the XercesImpl.jar. Those
should go in CATALINA_HOME/common/endorsed. They could also be put in
common/lib or shared/lib, but if you are using j2sdk1.4.x and want to
Hello Jeffrey,
See:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
Jake
Friday, January 10, 2003, 11:32:47 AM, you wrote:
JW Sorry about this question that has apparently been asked and answered
JW innumerable times, but:
JW I'd like to run Tomcat as a Windows 2000 service. Searching, I
401 - 500 of 973 matches
Mail list logo