Your document.
Attachment: No Virus found
Norton AntiVirus - www.symantec.de
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I am developping a web application using several servlets. And I was
wondering how could I add sub-directory in the lib directory of my
webapp. I need something like 20 jar files and without organization,
it is a big mess.
I just don't know how to make tomcat know that I am using
Greetings.
I am periodically having to restart a normally very stable tomcat 5 instance
due to:
OutOfMemoryError: unable to create new native thread
Now, as far as I understand the following are the reasons for this:
- Actually ran out of memory
- Hit max # of threads allowed to run (OS
Hi guys
I have the same problem and it's driving me nuts. I have a run configuration
in Eclipse 3.0 for tomcat 4.1.18 and I call bootstrap.jar directly within
eclipse to start tomcat. The only jars I put in the run configuration class
path are the tomcat ones.
This starts tomcat as it would be
Hi,
We have just moved to a new server with tomcat 5 and apache 2 which are
linked using modjk. I have uploaded a working version of an application to
the webapps directory on the server. My problem is when I try and access the
login page of the application none of the images or style sheets
Hi.
As I understand it from lurking on this list a very long time, servlet
spec 2.3 and earlier validated the web.xml file on a DTD. DTDs require
the elements be in the right order and tomcat will throw an exception
when the webapp is deployed with elements out of order. Servlet Spec
2.4
The question is not 'DTD or schema'. The question is, 'does the 2.4
schema relax the order, and does Tomcat comply?'
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 7:49 AM
To: Tomcat Users List
Subject: Re: JNDI Resources in web.xml
Hi.
if you right click on one of the missing images and view properties, what does the URL
look like? does it point to where you would expect?
this sounds like the URL to the images is not visible via the web server
AC
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
... I wanted to
raise it here for suggestions before submitting a bug report...
Just as well I didn't do a bug report! It's now resolved. The book I was
using didn't have the necessary info, but I've now found it and fixed the
problem.
The attribute in the tag file defaults to type
Hi everybody, sorry if this is a silly question because I am not an
expert, but I was looking for the solution to my problem consulting to
google and nobody has answered about the following problems with
apache-tomcat connection:
a) I have Solaris 8, apache 2.0.47, jdk 1.4.2, tomcat 4.1.24
I'm not personally aware of anything already built in to TC that
specifically handles request, although having said that I haven't really
ever had the need for it.
However I think that the standard features of TC will probably make this
quite straightforward to do.
Have you written Java and/or
Hi,
have a look in your log files. It should tell you something about your
authentication process...
Mark
Sandeep N wrote:
Hi,
I have a problem trying to authenticate users, whose details are
stored in the LDAP directory through Apache Tomcat. The details of the
software I am using are as
Think of an empty jk2.properties.
-Original Message-
From: Allen Williams [mailto:[EMAIL PROTECTED]
Sent: October 27, 2004 7:20 PM
To: Tomcat Users List
Subject: RE: Apache, Tomcat and mod_jk2 - question about layout
Thanks so much. I'll try it today or tomorrow. Even though you
It took a while to figure out that broken pipe. It's not that fancy. It
usually happens when use visits a page and stop/cancel during page loading.
-Original Message-
From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED]
Sent: October 28, 2004 9:12 AM
To: [EMAIL PROTECTED]
Subject:
Steve,
I've developed servlet-based webapps for several years, I've written
servlet filters and implemented many various types of authentication
mechanisms, and I've also done request forwarding within an
application. I was hoping to implement something similar to request
forwarding, but
Thanks Bill.
I suppose I must have been dreaming about getServerName working. Our current
production box is TC4.1.30, and for our next version of the app, I wanted to
target TC5.0.29. Looks like it is a must have. Yoav will be happy. ;)
-Original Message-
From: news [mailto:[EMAIL
Yes to both.
--David
Benson Margulies wrote:
The question is not 'DTD or schema'. The question is, 'does the 2.4
schema relax the order, and does Tomcat comply?'
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 7:49 AM
To: Tomcat Users
Maybe it's too obvious to say ... but does the cgi servlet (that comes with
Tomcat) fit your needs ?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
-Original Message-
From: Shawn Church [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 9:58 PM
To: [EMAIL
The only issue I can see that he will have is the path in web.xml with
CGIServlet. I have to move all cgi scripts to a directory under my
${catalina_home}/webapps/${host}
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: October 28, 2004 10:33 AM
To: 'Tomcat Users
I have setup multiple Manager's and can isolate the apps. The problem is
the tomcat-users.xml file. Both version of the manager use the same
tomcat-users.xml. The one that was last defined for permission. So when
I give the developer's access to one manager they can just change the
port and access
Benson wrote:
Yoav, in one posting, explained that the servlet spec is
written from a
point of view that only requires support for applications in
unexploded WAR files.
Does the spec explicitly state that point of view? I can't find that
anywhere in the spec doc. Therefore this makes me
I initially looked at CGIServlet, but I run the Apache http server,
rather than using Tomcat's implementation. I also need to implement my
own functionality (primarily for user authentication). But yes, this
is close to what I'm after. I'm sure I can roll my own, but it would
be nice to
I am currently having a problem getting my JSPs to log with the JDK 1.4
logging. When I configure my logging.properties file to set the global
.level to FINEST I can see everything including all the
org.apache.jsp.[my packages] logs I'm looking for, but if I set .level
to INFO and explicitly
I have been in learning mode about Resource/Context config for the last few
weeks, mainly from the point of view of DBCP config. I did find all the
alternatives confusing at first, but having read more and more docs, and
getting some help from the good people on this list, I'm starting to get
it
Hi,
You can define different Realms for the Manager, as you need. You can
do so per Host or even per Manager webapp inside its Context. It's
actually pretty easy. They can be Memory Realms driven from any file
you want, or any other kind of Realm.
Yoav Shapira http://www.yoavshapira.com
The standard make a series of provisions for the case in which there is
no 'pathname' corresponding to some resource in a web application. These
provisions were intended to support a model where a WAR file is never
exploded into a native file system. Conceptually, you can model this as
supporting
Hi,
Besides completely agreeing with Steve (so Benson, your time could
probably be better spent elsewhere, such as by putting on the tech
writer hat you mentioned earlier), I wanted to mention one other
alternative.
You *always* have the option of *not* using container-managed resources,
and
Hi,
You can't without significant effort. 20 jars is no big deal, and the
Spec does not provide for subdirectories under a classloader repository.
If you really want to do this, you need to write a custom classloader
(implementing Tomcat's Loader interface and likely extending
Hi,
Yeah, well put, saving me time to type up this response yet again ;)
To the OP (I think) who said it'd be nice if context.xml was handled
uniformly: sure, that would be nice. Please submit patches for any area
you find inconsistent.
Yoav Shapira http://www.yoavshapira.com
-Original
Hi,
Context path=/ docBase=app1
debug=9
Changing this one path to path= instead of /.
Set autoDeploy/liveDeploy/deployOnStartup to false for both of your
Hosts. Because they share an appBase, the apps are being deployed once
*per* Host.
The rest of your
Hi,
- Actually ran out of memory
- Hit max # of threads allowed to run (OS dependant?)
This is the most likely cause in your case, and it's OS-dependent as you
surmised. On *nix this is adjusted via the ulimit (-n) command. But on
Windows 2000 Server, I'm not sure off the top of my head.
Configuration:
Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0
I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the
Hi,
First question, as always: does it work on Tomcat standalone, i.e.
removing IIS, JK2, and the redirector out of the mix (just for now, for
testing)?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28,
you have the _exact_ same setup as we do here (except we are on 5.0.25). we upload
files using a multipart form and file control. then in the struts action
List items = null;
try {
DiskFileUpload upload = new DiskFileUpload();
items = upload.parseRequest(request);
} catch
Are you following the struts-upload.war example that
comes with the Struts 1.1? In that example, the
uploaded file size is checked.
If a file is stored somewhere under the
AppName/WEB-INF directory, you have to use the stream
to read the file.
--- Derrick Koes [EMAIL PROTECTED] wrote:
We have Tomcat 4.1.30 in Win2000 using JDK 1.4.2_05.
We are having a problem where ONE of our classes will not load.
The class name is Marketplace.class (package com.marketplace.core)
Our Tomcat webapp (Context) is named 'marketplace'.
Code works fine except when you try to reference the
On Thu, 28 Oct 2004, Phillip Qin wrote:
Hi Phillip, Thank you for your comment about my doubt, however I want to
know what the apache errors mean and if those affect the
performance of my system anyway.
Greetings,
Clara Ines Pe¤a de Carrillo
Divisi¢n de Servicios de Informaci¢n
Universidad
Hi,
If your context is named 'marketplace', will Tomcat have trouble with a
class
named 'Marketplace'? (this is the effect we are seeing)
No, Tomcat won't have this kind of trouble.
Have you considered the difference between a ClassNotFoundException and
a NoClassDefFoundError? Your message
The error occurs before execution makes it to my upload action.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 12:02 PM
To: Tomcat Users List
Subject: RE: File upload
you have the _exact_ same setup as we do here (except we are
I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.
Here is the error:
:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop
\Input_jsp.java:112:
Is there an easy way to specify that one of the apps in the webapps
folder be served off one port (e.g. 80) whereas another app should be
served off another port (8080)?
Thanks for your help,
Luke Fernandez
Weber State University
oh i see. i guess we don't use it in this way.
org.apache.commons.fileupload.FileUploadException is being thrown before you hit the
action you say? how do you involve common fileupload direct from the form post if you
don't mind my asking?
-Original Message-
From: Derrick Koes
Funny, I was thinking of mentioning that in my post below, but didn't
because I hadn't checked that it would definitely work. But that's what I'm
going to do from now on. Thanks Yoav, this looks like the right answer to
me.
Don't know why I didn't think of it earlier really. I suppose it's
I can't represent other people. My observation is it has no impact on
performance.
-Original Message-
From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED]
Sent: October 28, 2004 12:06 PM
To: Phillip Qin
Cc: 'Tomcat Users List'
Subject: RE: problems with apache-tomcat connection
Hi,
Don't know why I didn't think of it earlier really. I suppose it's
because
when you first try this, you google for something like servlet
connection
pooling, and get to various DBCP how-to pages, and away you go down
that
path, and get tied up with context.xml vs server.xml, META-INF/ vs
Hi,
Yes: define separate Engines or Services for the two apps in your
server.xml, and put each connector only in the Service where you want
it.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004
The stack trace shows that
struts'org.apache.struts.upload.CommonsMultipartRequestHandler.handleReq
uest(CommonsMultipartRequestHandler.java:233) invokes commons file
upload. I honestly don't know how struts decides to do this. I'm
assuming like any other application by examining the request
As I mentioned in another reply, I never get to my action. And, yes my
action mirrors the struts-upload.war example pretty closely. Multiple
files may have been uploaded in my case, so I have to handle that. In
the case posted, only one file was uploaded.
Derrick
ContactInfo
NameDerrick
Hi Yoav.
Thanks for the response.
I believe I have found the issue.
Apparently Windows NT/2000 defaults to a 1mb virtual thread stack size per
thread unless otherwise stated. In addition a maximum of 2gb of thread
stack space per process is allowed by Windows (not sure if this can be
changed
Hi,
Apparently Windows NT/2000 defaults to a 1mb virtual thread stack size
per
thread unless otherwise stated. In addition a maximum of 2gb of thread
stack space per process is allowed by Windows (not sure if this can be
changed or not!). Thus the tomcat JVM could only have 2000 odd
concurrent
I read that tomcat is supposed to create the
channelUnix.file=${jkHome}/work/jk2.socket file. But it did not.
I use the binary of tomcat, do i have to use src to be able to use
unixsocket ?
Thanks
FM
-
To unsubscribe, e-mail:
Or you could run multiple instances of Tomcat
On Thu, 2004-10-28 at 12:23, Shapira, Yoav wrote:
Hi,
Yes: define separate Engines or Services for the two apps in your
server.xml, and put each connector only in the Service where you want
it.
Yoav Shapira http://www.yoavshapira.com
Hi, I am use the File Upload. I need to read the whole file contents in a
String buffer. If the file is text, it works. But if the file is in other
format, such as MS Doc, I can load the file, and the file size is the same
comparing the original file, but the format is changed, and I cannot open
Hallo,
Does Tomcat support the headers: X-Forwarded-For, X-Forwarded-Host and
X-Forwarded-Server when running behind a proxy?
And if not, would this be a nice feature?
I'm running Tomcat 5.0.25 behind Apache 1.3/mod_proxy and doesn't look like Tomcat
uses these headers.
Any thoughts?
I'm willing
Hi
Hi, I am use the File Upload. I need to read the whole file contents in a
String buffer.
Why into a String buffer?
This is propably a charset encoding problem.
Do NOT read it into a stringbuffer.
See FileWriter documentation:
FileWriter is meant for writing streams of characters. For
Hi
Does Tomcat support the headers: X-Forwarded-For, X-Forwarded-Host and
X-Forwarded-Server when running behind a proxy?
I'm running Tomcat 5.0.25 behind Apache 1.3/mod_proxy and doesn't look
like Tomcat uses these headers.
What would you expect tomcat to do when these headers are present?
On Thu Oct 28 19:50:35 CEST 2004 Steffen Heil [EMAIL PROTECTED] wrote:
Hi
Does Tomcat support the headers: X-Forwarded-For, X-Forwarded-Host and
X-Forwarded-Server when running behind a proxy?
I'm running Tomcat 5.0.25 behind Apache 1.3/mod_proxy and doesn't look
like Tomcat uses these headers.
Can you run multiple instances of Tomcat? I tried this but I ran into
problems.
I'm running Sakai (the open source Learning Management System) which
installs its own Tomcat engine. When I try to start up my own non-Sakai
Tomcat instance from the command line (which resides in a completely
The problem was that modJK was only set up to serve .jsp files through
tomcat, but not the images bundled in my application. I reconfigured it to
handle all the applications in the webapps directory and any files in their
sub directories.
Thanks
-Original Message-
From: Allistair
Upon reviewing some struts code and documentation, the memory threshold
for a file to be parsed for upload is 256K (configurable). If the file
is over that size, I believe the uploader puts it in a temp file.
However, since the url to retrieve it for parsing is a relative path,
the parser
you have conflict in ports, both tomcats can not run on the same port at the
same time.
instead of calling start.bat, call catalina.bat run to have the windows
stay the same and not shutdown on you
FIlip
-Original Message-
From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Thats fine that what JK is supposed to do and thats what it is doing..
I assume your mappings are *.jsp or /servlet/* and such like.
It sounds like you you apache virtual host just needs configuring ..
DocumentRoot /path to webapp/appname
This way when requests for stuff that isn't handled
Yep, taking IIS and the connector out of the picture produces the same
problem.
ContactInfo
NameDerrick Koes/Name
TitleSenior Software Engineer/Title
Company name=SkillSoft
url=http://www.skillsoft.com/
AIMcodeauthor2001/AIM
Email[EMAIL PROTECTED]/Email
Phone(603)
Ok I'll research that. Any chance you could give me an example of how
to write this in the server.xml? I've got the following webapp folder
structure.
balancer
jsp-examples
ROOT_OLD
sakai-chef-tool
sakai-dav
sakai-embedded
sakai-framework-component
sakai-james
sakai-legacy-component
There would be port conflict even though the Sakai Tomcat app serves
from port 8080 while my Tomcat instance serves from port 80?
Luke
[EMAIL PROTECTED] 10/28/2004 12:28:46 PM
you have conflict in ports, both tomcats can not run on the same port
at the
same time.
instead of calling start.bat,
did you look at the other connectors?
catalina.bat run - will tell you the message, try that
Filip
-Original Message-
From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 1:52 PM
To: [EMAIL PROTECTED]
Subject: RE: newbie question
There would be port conflict
Ok. When I use catalina.bat run instead of startup the window stays
open but the second instance (on port 80) still isnt serving pages.
I've included the screen output that happens after running catalina.bat
run. Looks like its saying something about address already in use:
you can have them run at the same time but you need to configure them to run
on separate ports. for your standard TC 5.0.28 the file to edit is
CATALINA_HOME/conf/server.xml - see the docs at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html for an
explanation of how server.xml
yes, and if you actually read the message
StandardServer.await: create[8005]: java.net.BindException: Address
already in u
se: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
look for 8005 in your server.xml and you will find out that this is the
shutdown port.
Filip
So its more complicated than configuring server.xml for first instance
(e.g. Sakai) as:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector port=8080
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false
Hi,
The shutdown port is also in server.xml, at the top of the file.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 3:19 PM
To: [EMAIL PROTECTED]
Subject: RE: newbie question
So its more
I would advise that you read the doc, because it only takes a few mins, and
then you'll understand what's really happening ;)
But to get you going, assuming that you have not changed the standard
server.xml significantly:
1. Change any active connector ports. The one you mention below is the
Am I spamming if I say thanks to all of you for your help? I changed
the following line in server.xml and now both instances run:
!-- Server port=8005 shutdown=SHUTDOWN debug=0 --
Server port=8007 shutdown=SHUTDOWN debug=0
I hope I wasn't imposing by asking all these naive questions.for me
Some more thooughts that came to mind after hitting send:
You might find it easier to use server-minimal.xml if you are using TC
5.0.28 standalone. It's much smaller and easier to follow if you are just
getting started. Restart the server after you have replaced the file.
Re your changed TC
Thanks. It works.
-Original Message-
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 10:49 AM
To: 'Tomcat Users List'
Subject: AW: Upload MS DOC or Image file errors.
Hi
Hi, I am use the File Upload. I need to read the whole file contents in a
String
I think that JNI is the only counter-example. Forgive me if the
following is well know but seen as unimportant to all concerned.
There is a JVM restriction: any given class with native members can only
be loaded into one classloader of a JVM. So, if two webapps both try to
include a native class,
On Thu, 2004-10-28 at 15:34, Luke FERNANDEZ wrote:
Am I spamming if I say thanks to all of you for your help?
No, there is nothing wrong with a thank you.
I changed
the following line in server.xml and now both instances run:
!-- Server port=8005 shutdown=SHUTDOWN debug=0 --
Server
Hi all,
Using Tomcat 4.1.18, I am getting (what I believe) is inconsistent behaviour
with respect to session handling. Hopefully someone here can clear this up
for me.
Running Tomcat Standalone on my local machine, if I go into my browser, and
go to http://mattm:8080/myapp/index.jsp, it uses
This is much more than a character encoding problem.
Extracting text from a Microsoft Word file is a very complex process.
Microsoft provides 'IFilter' support for this purpose. Various vendors
sell more portable solutions. I don't know of a full open-source
solution.
You can tell the user to
Just in case someone else runs into this, the tomcat workDir and the
struts-config tempDir property values MUST match. Otherwise, files
greater than the threshold size (default 256K) won't be found for
parsing.
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent:
Sorry I am drawing a blank at the end of the day.
IS this what I enable to have a development environment reload classes
automatically?
And where do I enable this?
_
Powerful Parental Controls Let your child discover the best the
Hi,
Add reloadable=true to your Context declaration in server.xml (or
wherever you declare your context). When drawing a blank, I usually
find the docs useful.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: Thursday,
I think you might mean this?
Context docBase=... myapp location ... path=/myapp reloadable=true
You can put this line in server.xml (within the standard Host tag) or in
context.xml
For more details on Context and the reloadable attribute, see (for version
5.0.x):
Thanks
From: Steve Kirk [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: auto reload?
Date: Thu, 28 Oct 2004 21:30:33 +0100
I think you might mean this?
Context docBase=... myapp location ... path=/myapp reloadable=true
You can
I looked for a bit and couldnt find what I thought it was, didnt notice
reloadable :(, searched the archives, which btw we referencing the wrong
archived files.
Anyway this was my last resort after Google had jack ... how about those Red
Sox
From: Shapira, Yoav [EMAIL PROTECTED]
Reply-To:
Hi,
searched the archives, which btw we referencing the wrong
archived files.
Can you elaborate on this one please? ;)
Anyway this was my last resort after Google had jack ... how about
those
Red
Sox
Go Sox ;) I probably shouldn't be committing stuff to CVS today given
the amount of drinking
Benson, I read your post on classloading JNI classloading with interest.
Certainly wasn't well-known to me.
Only one question: counter-example to what? i.e. is there a configuration
approach on this thread that makes JNI classloading not work for multiple
webapps? at a guess are you talking
Cancel that - I RTFM'd : each webapp has own classloader. but I'm not sure
now what point you're making re the thread? You've piqued my interest
on this, I'd be interested if you could clarify please.
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Thursday
I'm reading this thread as the following meta-discussion. I may be
confused.
Steve and others: Help us, we've having trouble making global resources
work due to poor documentation and problems deciding what to put in the
'common' classpath and what to put in the webapp class path.
Yoav and
Whoops, I missed a point:
'counter-example' to the general idea that anything you can do as a
global resource you can do just as well as a per-web-app resource.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
There is a section in the release notes on JNI classes that are shared
by multiple apps. I assume this is what he's talking about.
What it boils down to is that you can't put multiple copies of the same
library in each of the webapps, you have to put them in either
common/lib or shared/lib.
This
OK and I've just read the classloading how-to.
so if I'm understanding correctly, although each webapp has its own
classloader, when a webapp loads a class that's stored in common/ , the
class is always loaded by the common classloader, rather than the webapp's
own classloader? and even when
Hi,
I am trying to run Tomcat(5.0.28) as embedded application and I am
getting following exception.
Oct 28, 2004 5:16:33 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Oct 28, 2004 5:16:33 PM org.apache.catalina.core.StandardEngine start
INFO: Starting
Hi
This is much more than a character encoding problem.
No.
Daxin simply wanted to upload binary data (he even mentioned images...).
So he didn't want to extract text from word documents.
What he did was, he loaded binary data, converted that to a string and
finally wrote the string to a file.
Thanks. It works.
Fine.
But what? Switching to FileOutputStream or just using item.write?
(They should both work, though the second seems to make more sence. Just
asking for interest.)
Regards,
Steffen
smime.p7s
Description: S/MIME cryptographic signature
Benson wrote:
I'm reading this thread as the following meta-discussion. I may be
confused.
It's been a fairly long thread. You've got the jist though, except:
I don't use global resources and I'm not for or against either them or
per-webapp resources. I joined the thread to help someone
On Thursday 28 October 2004 15:35, Shapira, Yoav wrote:
Hi,
Context path=/ docBase=app1
debug=9
Changing this one path to path= instead of /.
Set autoDeploy/liveDeploy/deployOnStartup to false for both of your
Hosts. Because they share an appBase, the apps
Hi,
Am new to log4j. Am using Tomcat 5 and my webapp-myNiceWebApp is in
Tomcat/webapps/myNiceWebApp
I have a class that I have the following code in:
Logger logger = Logger.getLogger(Helper.class);
SimpleLayout layout = new SimpleLayout();
HI!
I tried to use GUI manager to upload war file (war file to deploy, the
message says OK, but nothing happened. no context files deployed.
nothing.
then I tried to upload the same war file using deploy directory or war
file located on server, the upload problem entered into an infinitive
Log4j looks on your class path for a properties file
log4j.properties. If you put the file in WEB-INF/classes
it will find it.
Here's a real simple example:
log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.RollingFileAppender
1 - 100 of 111 matches
Mail list logo