you can.
for instance,
File file = new File(C:\\temp\\downloadfilename.csv);
FileInputStream fileIn = new FileInputStream(file);
ServletOutputStream out = response.getOutputStream();
byte[] outputByte = new byte[4096];
//copy binary contect to output stream
while(fileIn.read(outputByte, 0,
On Monday 20 July 2009 17:08:15 Mike Frohme wrote:
Edit the copy of the context.xml file and all will work as you
expect.
1. In production, the operations folks don't have to unpack the app,
edit the context file and re-pack the app to edit the configuration.
2. When a new
And anyway, paths containing spaces are evil and should be proscribed.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Anand Kumar Prabhakar wrote:
Could anyone please explain how to configure worker MPM for Tomcat, I'm using
Tomcat 6.0.20 version.
I think you are a bit confused. worker MPM is something related to
Apache httpd, which is a different software than Apache Tomcat.
Unless you are talking about
Rainer Frey wrote:
On Monday 20 July 2009 17:08:15 Mike Frohme wrote:
Edit the copy of the context.xml file and all will work as you
expect.
1. In production, the operations folks don't have to unpack the app,
edit the context file and re-pack the app to edit the configuration.
2. When a
Hi,
I'm currently is trying to develop the web services and been trying what is
the best method to implement it.
Currently, I'm using the Netbean IDE6.7. I download the full version of
Netbean IDE with GlassFish web server and Tomcat web server application.
I try to follow the steps in :
Hi 17101978.
...
But, I got a problem to setup the Axis2 for Tomcat. I cannot found the
CATALINA_BASE folder in the Tomcat folder.
That is why, when try to test the browser, I found an error:
Unable to open the web service.
I doubt that it is why, but it may help to read the following
Thank you for the reply. I'm going to use the worket MPM for the first time.
And the server for which i'm trying to achieve it is in Tomcat. So it will
helpful if the steps to configure the worker MPM. If i'm using Tomcat is
this not possible?
Anand Kumar Prabhakar wrote:
Could anyone
I'm trying to configure worker MPM for the first time. So i need the steps to
configure them. Can't we implement worker MPM in tomcat server?
--
View this message in context:
http://www.nabble.com/Configuring-worker-MPM-for-Tomcat-tp24582105p24584637.html
Sent from the Tomcat - User mailing
Anand Kumar Prabhakar wrote:
I'm trying to configure worker MPM for the first time. So i need the steps to
configure them. Can't we implement worker MPM in tomcat server?
Go and read Andre's reply again. Then look at:
http://httpd.apache.org/
and
http:/tomcat.apache.org/
What you are
I don't have a linux at hand to prove this idea:
if you're deploy your app in linux ,maybe you can use a soft link to that
directory ,and put the link under your webapp's dir.
hope that will help.
thanks.
lanxiazhi
2009/7/21 Kham Mulman kmul...@gmail.com
you can.
for instance,
File file =
I don't have a shutdown.bat or .cmd anywhere in C:\Program Files\Apache
Software Foundation. No indication in logs of an OOM situation.
I'm going to write a small batch file that attempts to stop the service,
sleeps, queries the service state with SC, and if required kills the
process.
Thanks
From: Matt Sullivan [mailto:mjdsulli...@hotmail.com]
Subject: RE: net stop tomcat6 service hangs on Windows 2008 (64-bit)
I don't have a shutdown.bat or .cmd anywhere in C:\Program Files\
Apache Software Foundation.
For reasons never explained, the .bat scripts are not included in the .exe
From: Ritesh399 [mailto:ritesh...@gmail.com]
Subject: providing downloading functionality for a file which is on
disk
I am developing a web application using jsp and want to provide some
links for a user to download data. The data is not in web application's
directory(somewhere else on
very thorough analysis
hopefully quick question on location of mysql libraries
Tomcat managed database connections:
Requires the MySQL connectors to be in $CATALINA_HOME/lib
Hibernate managed database connections:
Based on the above, you'll need to place the MySQL connection jar in
your
Take a look at
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html. Then
consider that tomcat's database pooling is instantiated in tomcat's
internal classes which do not have access to any webapp's WEB-INF/lib
folder. The driver has to be visible to both tomcat's internal classes
From: Martin Gainty [mailto:mgai...@hotmail.com]
Subject: RE: Seeking the right solution to
java.lang.ClassNotFoundException:com.mysql.jdbc.Driver
any reason why Tomcat managed DB connection would not read mysql jars
located in WEB-INF/lib?
The Tomcat-provided DBCP classes can't see
I have a server, running Tomcat 5 with Java 4, and running Tomcat 6 with
Java 6.
There is another application that is an XMLRPC server on ports 8085-8100
The XMLRPC service is running on Tomcat 5, and a struts 2 application is
running on Tomcat 6.
I have verified that there are no common ports
this is good information
many thanks for the link
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir
Hello,
our tomcat servers seem to produce very sporadically a wrong JsessionID -
instead of 58EB1F9C39278DBB72528A13EF026EFB.bsp01
we get (J2EE13679500)ID0574993050DB11991779031281660559End (without a
dot-jvmroute) so we lose stickyness and our session.
Our environment (Hardware Loadbalancer -
Caldarale, Charles R schrieb:
If you don't mind providing direct access to the downloadable area,
one easy way to provide this is to place a Context element in
conf/Catalina/[host]/[dlink].xml, where [dlink] is the URL link you
want for the downloadable files. Within the Context element, place
Sorry, Rainer - I didn't read your msg carefully, and Mark's word is right on.
Others will clarify, but as I understand it ...
The default Host attribute is deployXML true which means that the context.xml
is deployed to conf/[engine]/[host]/appname.xml on application deployment, and
2009/7/21 Security Management list-subscripti...@secmgmt.com:
I have a server, running Tomcat 5 with Java 4, and running Tomcat 6 with
Java 6.
There is another application that is an XMLRPC server on ports 8085-8100
The XMLRPC service is running on Tomcat 5, and a struts 2 application is
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Tuesday, July 21, 2009 12:01 PM
To: Tomcat Users List
Subject: Re: Issues running 2 versions of tomcat?
2009/7/21 Security Management list-subscripti...@secmgmt.com:
I have a server, running Tomcat 5
From: Michael Ludwig [mailto:m...@as-guides.com]
Subject: Re: providing downloading functionality for a file which is on
disk
Is there a way of including a second context with a web
application in a similarly convenient way?
No. The servlet spec expects webapps to be independent of each
I installed Tomcat using apache-tomcat-6.0.20.exe But not as a service.Then
from the bin I tried to run tomcat6.exe service runner But it did not
start the service log is as follows
[2009-07-21 20:02:34] [info] Procrun (2.0.4.0) started
[2009-07-21 20:02:34] [info] Service Tomcat6 name Apache
From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com]
Subject: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a
J2SE 5 JRE
I installed Tomcat using apache-tomcat-6.0.20.exe But not as a
service.
First mistake.
Then from the bin I tried to run tomcat6.exe service
I installed Tomcat using apache-tomcat-6.0.20.exe But not as a
service.
First mistake.
I did this after trying several times to install Tomcat as a service using
the windows service installer.
Then from the bin I tried to run tomcat6.exe service runner
Second mistake - the
The set up dialog box that pops up saying unable to proceed has has 3
buttons, the first is Abort second Retry, third Ignore.When I keep on
clicking Retry for several times the setup goes a step forward and the
Kaspersky icon at the bottom right corner display a message as NS130.TMP
placed in low
2009/7/21 Varuna Seneviratna varunasenevira...@gmail.com:
The set up dialog box that pops up saying unable to proceed has has 3
buttons, the first is Abort second Retry, third Ignore.When I keep on
clicking Retry for several times the setup goes a step forward and the
Kaspersky icon at the
Varuna Seneviratna wrote:
...
Can it be because of Kaspersky setting that I am unable to install Tomcat
service?
Let me paraphrase this :
During the Tomcat installation, I repeatedly hit my head to the desk.
Can this be the reason that I have a headache ?
Come on, as they say in
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Fwd: Is it not possible to install apache-tomcat-6.0.20
witha J2SE 5 JRE: A new development
Come on, as they say in Minnesota...
Actually, they don't say that here. There's a lot of Yah, sure and
Whatever (but not like a valley
I am toying with the idea of writing my own Realm for authentication.
Much of the code and structures that I need are already present in the
web application. Is there any way for the Realm to access Java objects
from the web application? They don't appear to share the same class loader.
As an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mitch,
On 7/21/2009 6:23 PM, Mitch Claborn wrote:
I am toying with the idea of writing my own Realm for authentication.
Much of the code and structures that I need are already present in the
web application. Is there any way for the Realm to
Please read the whole story behind and reply without bulling.I am trying to
figure out what is the cause for not being able to install Tomcat as a
service when JRun can be .My guess was is Kaspersky blocking Tomcat setup
since Kaspersky prompted for user's approval after clicking Retry several
I wonder why you want to install tomcat as a service.In my mind,java is
green software,and I always download a .zip or .gz file,and get it run in a
specific folder,I think that will help to easy manage things.
hope no bother.
thanks.
2009/7/22 Varuna Seneviratna varunasenevira...@gmail.com
36 matches
Mail list logo