> Hi,
>
> I am using Tomcat5.0.28.I have jdk j2sdk1.4.2_07.For some specific reason I
> want to create Tomcat5 service manually.I want this service to be an
> automatic type.As there are two ways to achieve this.
>
> 1) Just call "service.bat install" from catalina home\bin.I am able to create
yes, I understand that Tomcat 5.5 uses the JDT compiler (by default).
Nonetheless, the doc still says that tools.jar is loaded - and of
course, if Tomcat is running
under a JRE, it will not be there (ok, fix the documentation).
I, that is the external jar using the javac, will use the default
You can
Kanishka Liyanage wrote:
Why cannot you forward your response to the file URL
if the file is available within the web application
directory.
response.sendRedirect("File Location");
Otherwise you can use the servlet output stream
Good Luck
-Kanishka
--- Meryl Silverburgh <[EMAIL PR
I notice here:
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/
That there are various 'stable' versions for certain O/S. In
particular I notice that mod_jk 1.2.15 is considered stable for
Solaris and w32 but not Linux.
Any reason? We've done a lot of performance testing w
Why cannot you forward your response to the file URL
if the file is available within the web application
directory.
response.sendRedirect("File Location");
Otherwise you can use the servlet output stream
Good Luck
-Kanishka
--- Meryl Silverburgh <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> Can
Martin Schulz wrote:
> My webapps needs to access the javac compiler classes from tools.jar.
>
> This appears to work on dev environment on Windows, but it doesn't
> in a deployment environment:
> Solaris 9
> JDK 1.5.0_06
>
> The app hits a java.lang.ClassNotFoundException: com.sun.tools.javac.Main
as far as I know the 5.5 branch doesn't use the sun's java compiler
anymore but uses the jdt compiler from eclipse. Therefor it could just
take your systems jre (each jdk contains a jre) and add the jdt
compiler to the classpath.
Which classloader do you use to access the javac?
leon
On 4/2/06,
did I mention that I use the JDK 1.5.0_06...
the tools.jar is well in $JAVA_HOME/lib.
Any deeper ideas anybody?
Martin
Larry Meadors wrote:
Sounds like you may have a JRE instead of a JDK.
>From a command like do:
cd $JAVA_HOME
find -iname javac
You should see one listed as './bin/javac'
Are we talking about big files? Otherwise just read it at once and
write it through a bufferedoutputstream.
leon
On 4/2/06, Meryl Silverburgh <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Can you please tell me what is the best way to send back a file as
> http response in a Servlet?
> Should I use NI
Hi,
I had checked my tomcat and i am having mail.jar and activation.jar file
in only shared/lib not in common/lib. and when this is case tomcat is not
picking up these libraries. but when i keep in
webapps/myapplication/WEB-ING/lib then its work.
Help required
regards
--
amar
On 01/04/06, Farr
Hi all,
Can you please tell me what is the best way to send back a file as
http response in a Servlet?
Should I use NIO?
Or I just use the normal, open the file, read it a chuck at a time and
write that to the servlet output stream?
Thank you.
True, but if you need a general initialization mechanism look into
servlet context listeners
Regards Thomas
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: 2. april 2006 01:07
To: users@tomcat.apache.org
Subject: Re: How can I configure Tomcat t
I am getting this same exception due to a request URI for a non existent
file. I am using Tomcat 5.5.15 and PHP 4.4.2
When this exception occurs, I also get a JVM dump do the zend engine.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa889aa94,
13 matches
Mail list logo