How do you install tomcat 3.3.2 for windows? I can't find an exe-file
(installation file) on the tomcat webpage. Thanks in advance!
/Ludvig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
yeah , definally POI
On 2/23/06, Bill Barker <[EMAIL PROTECTED]> wrote:
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > Hi Forum,
> > Did anyone used java program to read data from microsoft excel ?
> > Can any one give me pointers where to look for this ??
>
> http://jak
Hi Everyone,
I download the source "daemon-1.0.1.tar.gz" from common daemon web side.
I did some as follows;
(1) run ./configure
(2) run make
(3) move to samples directory to compile SimpleDaemon.java.
(4) run Native.sh to generate Native.so file
(5) run SimpleDaemon.sh
The running will gener
> From: krishna kishore [mailto:[EMAIL PROTECTED]
> Subject: how to start and stop tomcat 5.5 from command prompt
>
> Till now I am starting and stopping tomcat from services
> or from the system tray.
> Now I want to start and stop Tomcat 5.5 from command prompt.
If you download the .
Hi,
I am user of Tomcat 5.5
Till now I am starting and stopping tomcat from services or from the
system tray.
Now I want to start and stop Tomcat 5.5 from command prompt.
Hope I will get the response
Thanks & Regards,
Krishna Kishore.S.
Java Developer
New Hor
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi Forum,
> Did anyone used java program to read data from microsoft excel ?
> Can any one give me pointers where to look for this ??
http://jakarta.apache.org/poi/
> thanks
> Birendar Singh Waldiya
> Tata Consultancy Services Limi
Hi Forum,
Did anyone used java program to read data from microsoft excel ?
Can any one give me pointers where to look for this ??
thanks
Birendar Singh Waldiya
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mai
I had been experiencing a 408 error in my apache logs when I was using
the Apache Web Server (HTTPD) as a proxy in front of Tomcat 5.0.28,
Tomcat 5.0.30 and Tomcat 5.5.9. As it turns out I believe there is a
problem with Tomcat and how it sets fhe path for cookies, specifically
the JSESSION_ID
"Jihwan Kim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Hi,
>I have this in my server.xml
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> enableLookups="false" disableUploadTimeout="true"
> acceptCount="100" debug="0"
"Steve Ochani" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Date sent: Wed, 22 Feb 2006 18:35:23 -0500
> From: johngbud <[EMAIL PROTECTED]>
> Subject:JSVC - make: Fatal error: Unknown option `-C' - Solaris
> To: Tomcat Users List
> Send reply
"johngbud" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tomcat users:
>
> I installed APR and Tomcat native library and placed in LD_LIBRARY_PATH
> before starting Tomcat 5.5.15 'startup.sh'.
> The logs keep showing this message:
>
> INFO: The Apache Tomcat native library whic
Hi Doug,
JBoss 2.4 uses Tomcat 4.0x if I recall. Regarding the archive is there
something similar to how Tomcat does this that I can look for and
possibly find under JBoss?
I have already talked to JBoss who has informed me that 2.4 has been
long since discontinued, they have 4.03 now, and 3.24
Tomcat users:
I installed APR and Tomcat native library and placed in
LD_LIBRARY_PATH before starting Tomcat 5.5.15 'startup.sh'.
The logs keep showing this message:
INFO: The Apache Tomcat native library which allows optimal performance
in production environments was not found on
java.li
Okay. Now for a few of my hair brain ideas. Every once in a while I get
lucky and actually suggest something that works.
As for the files returning to the original state:
I am totally ignorant on JBoss. If there is an archive of any type present
my guess is that either the app is running from
Hello all,
I am having problems following the instructions to build a static version
of apache (no Dynamic modules) with the JK 1.2.15 module.
First, there isnt' a binary of JK 1.2.15, and I can't even get that to
build... I get the following errors:
First I did a configure:
./configure --with
It is because no servlet is selected for that url based on both explicit
and implicit servlet mappings. You would need to pre-compile the jsp
into class file (e.g. basic-arithmetic_jsp.class) and then define and
map the servlet:
basic-arithmetic_jsp
/basic-arithmetic.jsp/*
> From: Xiangzhou Wang [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5.5.15 404 - extra path after jsp page
>
> I am using tomcat 5.5.15, I can access jsp page, but
> if I put /something after jsp page, I will get 404
> error.
Which is exactly what you should get. Why do you expect any different
Date sent: Wed, 22 Feb 2006 18:35:23 -0500
From: johngbud <[EMAIL PROTECTED]>
Subject:JSVC - make: Fatal error: Unknown option `-C' - Solaris
To: Tomcat Users List
Send reply to: Tomcat Users List
> Tomcat User:
>
> I'
Tomcat User:
I'm having trouble compiling JSVC on Solaris 8. 'configure' runs ok. Any
ideas on how 'the 'make' will run?
See output below:
./configure
*** Current host ***
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking cached h
I am using tomcat 5.5.15, I can access jsp page, but
if I put /something after jsp page, I will get 404
error.
e.g.
good ->
http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp
error->
http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp/test
Is there a way to still acces
Thanks for the info.
However I want to reinstate one point I made earlier or didn't make
clearly. On the test box I copied over all the changed HTML files to it,
and did the same to the production server thinking the Test server must
have been copying all the files over to the production box.
T
Hi all,
I have modified a file from Warren Pace. After running, I can ps ax
| grep jsvc and have two pids but trying to http://localhost:8080 gives
a refusal. I have checked the log files and there is no entry. If I
try to start with the startup.sh file everygthing works including
running
Using Servlet Context listener would be the best and simple solution.
THere are articles which describe step by step implementation of the
solution. Let us know if you are not able to locate this.
Prabhu S
-Original Message-
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Fe
Andrew,
You will be surprised but here is what it is:
JBoss is actually sending the calls made to your production server to
the test server. This is because of the failover mechanism that is
available within JBoss. Your testserver must be in multicast mode. Try
dropping the test server off multi
Hi,
I have this in my server.xml
cacerts is a self signed certificate.
Whewn the certificate is expired, I would like to detect it and send a
proper message to a client side user.
So, 1. how can I detect the expired cert from a Java application client.
2. Can I detect the expired cert
search for USB-Java and javaspain in www.yahoogroups.com
Mauricio Fernandez A.
Ingeniero de Sistemas
Universidad Autonoma de Manizales
-Mensaje original-
De: Andrew English [mailto:[EMAIL PROTECTED]
Enviado el: miercoles, 22 febrero, 2006 16:12
Para: Tomcat Users List
Asunto: Java Quest
I'm having a problem where requests through apache
work for a while, but then eventually get hung up at
"wc_maintain::jk_worker.c (301): Maintaining worker
app01".
I'm using Apache 2.0.55 (worker mpm), mod_jk 1.2.15
and Tomcat 5.5.15 on Redhat Enterprise Linux v4.
I am really stuck here, and woul
I had some problems with the thread run in init(), that I described in
the thread `STrange problem with a thread made in Servlet.init()'. Now
I use the listeners with both startup/shutdown of the thread.
Best regards,
Artur
-
To
I replaced HttpServlet.init() with a listener, do both
startup/shutdown of the thread, and also shut down HSQLDB not before
VM shutdown, but in the listener. And now the thread works OK, and
these error messages are gone.
Best regards,
Artur
---
Add this to the CATALINA_OPTS
-Djava.awt.headless=true
in your catalina.sh
Wentink, Marc wrote:
Dear Sirs,
I have got a servlet that generates a pdf file from a xml file, the servlet
runs in Tomcat, and it runs fine as long as in the xml file does not contain
references to images. At the m
On 2/22/06, David Smith <[EMAIL PROTECTED]> wrote:
> Hmmm A very verbose exception message. Can we see the code that
> threw the exception? Are there any other exceptions in the logs before
> this one?
>
There is a servlet that loads on start up. In its init(ServletConfig
config) is a code s
I mean I want to have an src="http://myserver/mycontext/images/image2.gif/>
Since my servlet is mapped to "/" it gets invoked for the above URL.
- Original Message -
From: "Paul Hamer" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Wednesday, February 22, 2006 6:48 PM
Subject: RE:
Is there anyway to check this theory?
Andrew
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 11:22 AM
To: Tomcat Users List
Subject: RE: Java Question
> From: Andrew English [mailto:[EMAIL PROTECTED]
> I have looked for the filenames
Is it true that System.out is no longer swallowed by Tomcat 5.5 using
swallowOutput="true"? I have seen mixed messages on this and definitely
cannot get it to work.
I am running Tomcat 5.5.15 on RHEL4 and have a 3rd party webapp that
uses System.out for messages. I am running it with other con
I built the native connector myself. The platform is Red Hat linux 8.0,
kernel 2.4.32. Many, many thanks for the patch. The socket option used
in the patch is also what the APR team recommended. I hope someone adds
this change permanently in the tomcat source.
- Sean
-Original Message
Hmmm A very verbose exception message. Can we see the code that
threw the exception? Are there any other exceptions in the logs before
this one?
--David
Artur Rataj wrote:
I made a servlet that starts on startup, and in its init() method a
new thread is started. The thread reads from a
Hi Zohar,
What doe you mean by "reference" ?? Please elaborate.
Regards,
Paul Hamer
management & development
[EMAIL PROTECTED]
toHAVE websolutions
www.tohave.nl
[EMAIL PROTECTED]
> -Original Message-
> From: Zohar Amir [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 22 February, 2006 17
You didn't actually say why this code doesn't work. Is there an error
or is it you just can't get the credentials from the request in your jsp?
At any rate, you have some options with storing the decoded
credentials. If you are writing all the code and you don't care if
getRemoteUser() ever
I had the same problem and submitted a patch (with help from Bill
Barker). The patch is below and I attached the thread Bill and I had to
come to it in case your curious. You'll have to rebuild the native
connector, but this should solve your problem. What platform are you
on? Did you build the
I made a servlet that starts on startup, and in its init() method a
new thread is started. The thread reads from a FS and uses JDBC, yet,
it does not work, as many errors similar to that occur:
Feb 22, 2006 5:26:27 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: thi
Thanks for help,
Artur
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry to barge in, but maybe you can help me with my question:
If I want to reference images from my servlet, when should I put them and
how do I reference them?
Thanks,
Zohar.
- Original Message -
From: "Wentink, Marc" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, Feb
> From: Andrew English [mailto:[EMAIL PROTECTED]
> I have looked for the filenames.* on all the servers
> including the linux
> ones and not come up with anything except for what's on the
> two servers.
I suspect an operations issue. Has someone configured a revision
control system (such as CV
Thanks for the reply, (I'm thanking Tim as well :)).
I've never worked with filters before so I don't quite get everything you're
saying.
Your code seem to be a good first step though. But I have a few questions:
My code in the doFilter looks like this atm:
HttpServletRequest httpServletR
Hey thanks! That's it
-Oorspronkelijk bericht-
Van: Paul Hamer [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 22 februari 2006 17:19
Aan: 'Tomcat Users List'
Onderwerp: RE: Image files accesable for a servlet in Tomcat, but they
were accesible in Java standalone program
Hi Marc,
Are you
Hi Marc,
Are you running Tomcat on a "headless" machine, in other words, on a machine
that does not have any graphics drivers installed? This is the case for many
SSH-only Linux servers, like mine.
If so, then specify
-Djava.awt.headless=true
as a parameter to Tomcat.
Regards,
Paul Hamer
man
Can you? Yes.
The method depends on your version of tomcat. Older tomcat (sorry, I
don't remember what version) versions used to require you to add
1 to a servlet definition and have
the servlet do this work for you. Newer tomcats (at least version 5.0
and 5.5, don't know about 4.1.x) allo
Hi,
I'm using APR 1.2.2 with Tomcat 5.5.15. Occasionally I need to restart
the JVM, and so I have one of my servlets call System.exit(0). When
using the APR libraries with tomcat, exiting the JVM in this manor
leaves port 8009 in the FIN_WAIT2 state (see netstat man page). This
prevents me
If the files in question are in an archive, then there must be something
that is extracting them. You can use the jar tool to view the contents of
the .ear files.
jar tvf something.ear
Or
jar tvf something.jar
If you are on a windows system you may use WinZip. I am not familiar with
tar if you
Dear Sirs,
I have got a servlet that generates a pdf file from a xml file, the servlet
runs in Tomcat, and it runs fine as long as in the xml file does not contain
references to images. At the moment the xml contains an image I got this error:
java.lang.NoClassDefFoundError
at java.lang
I have looked for the filenames.* on all the servers including the linux
ones and not come up with anything except for what's on the two servers.
I have not had a chance to check all the jar files, are ear files like
jar files if so what's a good tool for opening both Jar and Ear files?
Thanks
And
Artur Rataj ha scritto:
Hello!
I would like, just after tomcat starts, to create a new thread. Where
can I put the code that starts it? I do not want to wait with starting
the thread until some servlet is needed.
can you use somethings like:
ServerInit
argentaroggia.servizi.ServerInit
1
Hello!
I would like, just after tomcat starts, to create a new thread. Where
can I put the code that starts it? I do not want to wait with starting
the thread until some servlet is needed.
Best regards,
Artur
-
To unsubscribe, e
Are the pages static or is there some process, servlet, script, or something
else that creates these? There could also be another system somewhere that
is allowed access to the areas that hold the HTML files and is creating them
in some nightly process.
I don't know that this is a Java question. A
Does anyone know of a mailing list were I can ask some java related
questions?
The number one question I have is if it's possible to write code within
Java that changes all your HTML files back to their original default?
A client of mine runs, dare I say it here JBoss 2.4 and I found two
copies
Hi
I'm setting up a Tomcat 5.0 server, with only one webapp. The path to the
default app is quite long, so in /etc/tomcat5/server.xml I set up a Context,
effectively mapping /webMathematica/JWS to /.
http://tiger/webMathematica/JWS/database then becomes http://tiger/database.
Now, I have a s
1. 1.2.8
2. Windows 2000 Version 5.0.2195 Service Pack 4 Build 2195
Earnie!
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 8:42 AM
To: Tomcat Users List
Subject: Re: Today's ISAPI Redirector challenge
Earnie Dyke wrote:
> I started gett
Hi,
I think I just managed to stop the applications from multiplying. I added
parameter reloadable="false" to the Context elements of both Services.
However now Tomcat is saying that the other service's servlet "is not
available", as if its web.xml was misconfigured...
On 2/22/06, Chun Wei Ho <[
Earnie Dyke wrote:
I started getting the following error yesterday afternoon. Can someone tell me
where I can find an explanation of the err=-60?
Thanks!
[Tue Feb 21 15:45:19 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (933): ERROR: can't receive the
response message from tom
I started getting the following error yesterday afternoon. Can someone tell me
where I can find an explanation of the err=-60?
Thanks!
Earnie!
[Tue Feb 21 15:45:19 2006] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (933): ERROR: can't receive the
response message from tomcat, n
Do it in a request filter and don't implement a realm in tomcat. You're
looking for something like (all in a filter):
//Check for a basic auth header with actual user/pass info
if ((request.getHeader("Authentication") == null) ||
(request.getHeader("Authentication").length <= 6))
response.setS
In this case - I would not use a realm. I would use a few filters.
1) One that checks for the WWW-Authenticate headers to ensure you are logged
in and sets request.getRemoteUser() and override request.isUserInRole()
accordingly (via a HttpServletRequestWrapper). If not logged in - it will
retu
Hi!
I've implemented a simple custom realm that I use in Tomcat 5.0.28. But
instead of doing the authentication in the authenticate method in my realm
I'd like the actual authentication to be conducted by a another servlet that
takes username and password as parameters. So basically what I'd like
You'd need to implement your own access log valve class to write to syslog.
OR if you are using a Unix system you *might* be able to try this kludge:
1) Create a named pipe (using mkfifo)
2) Configure AccessLogValve to NOT rotate and use that named pipe
3) Run a program which reads from the fifo
> But there is something i should first look at before i further complain:
> some ServletFilters. Maybe one called getParameter() which could be the
> cause.
Yes, one of the servletfilters calls getParameter() on the request.
Sorry for taking your time.
-
>> The above JSP-page will not work properly. The POST-data is decoded with
>> ISO-8859-1 instead of UTF-8 in Tomcat 5.5.
> Works for me using the latest 5.5 from svn.
interesting! (and at least, there's some hope for me :-) )
> It would be a bug but since it is working for me it looks like a
> c
Hi everybody,
I've searched the internet and experimented around getting the following
done:
I want to have tomcat logging it's access log to syslog.
I already successfully have catalina.out and all the server's logs
written through log4j, which makes logging to syslog quite easy.
Only the Acces
Sven Köhler wrote:
> The above JSP-page will not work properly. The POST-data is decoded with
> ISO-8859-1 instead of UTF-8 in Tomcat 5.5.
Works for me using the latest 5.5 from svn.
It would be a bug but since it is working for me it looks like a
configuration issue on your system.
What Tomcat v
Correct me if I'm wrong here: as I understand it, tomcat uses Xalan as its
XSLT engine. Xalan does not support XSLT 2.0 .
Is there any other XSLT engine I can use with tomcat (I read something about
Saxon)? If so, how do I do that?
Thanks,
Zohar.
--
Hi,
<[EMAIL PROTECTED] contentType="text/html; charset=UTF8"%>
<%
request.setCharacterEncoding("UTF-8");
%>
Test: <%=request.getParameter("text")%>
The above JSP-page will not work properly. The POST-data is decoded with
ISO-8859-1 instead of UTF-8 in Tomcat 5.5.
Is this a bug or
I have resolved it at last! For some reason, tomcat is looking for
class files under the current directory, even that the CLASSPATH
variable does not point to the current directory. And in the current
directory there were some stray subdirectories with class files, that
apparently had priorities ov
Hi,
I found the solution:
Use the validationQuery attribute data source definition.
For MSSQL it would be something like this:
Regards,
Stojan Sljivic
> -Original Message-
> From: Stojan Sljivic - GDS [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 22, 2006 10:43
> To: user
Hmm,
I wrote simple servlet which finds corresponding image in webapp
resources and sends it to the client. This servlet also sets some
headers like Last-Modified etc:-( I'm writing web application which
uses SEO, supports XHTML, WML etc and I don't want to have tons of
servlets:-(
If you want, I
Now, I changed the name of the method, adding an underscore before it,
clean and rebuild in Netbeans worked fine, the WAR worked in the
tomcat bundled with Netbeans, yet, copying the WAR to any other tomcat
I tried causes now:
javax.servlet.ServletException: Servlet execution threw an exception
r
Can I use XSLT 2.0 stylesheets with tomcat 5.5.15 ? I get:
ERROR: 'Error checking type of the expression 'funcall(format-dateTime,
[step("child", 24), literal-expr([Mn] [D1o], [Y0001] at [h01]:[m09]:[s02]
[P])])'.'
Thanks,
Zohar.
I apologize for the extra message, but I've been
watching very carefully, and I think I see where
things start to go wrong.
It was serving requests just fine. Then there was a
period where no requests came through, and the server
was idle for almost 5 minutes.
The next request that came throug
Hi,
I have a problem with Tomcat 5.5.9 data source:
When the database (MSSQL in this case) is restarted, data source throws the
exception.
I have to restart the Tomcat in order to fix this issue.
Can anyone help me with this? Is this a regular behavior or a bug?
Regards,
Stojan Sljivic
--
Are you sure that you not destory your session before you set an
attribute at your LoginServlet?
The missing message key is fixed for Tomcat 5.5.16.
o.a.c.cluster.session.LocalString.properties
standardSession.setAttribute.ise=setAttribute: Session already
invalidated
Peter
Am 22.02.2006
--- michael thomas <[EMAIL PROTECTED]> wrote:
> worker.app01.recycle_timeout=300
> worker.app01.socket_timeout=2 # if no response in 2
> seconds, generate an error and retry again
Sorry, I should have taken out that socket_timeout=2
line. I was seeing if it would generate an error of
some sort,
Hello,
I've always used mod_jk2, but since I'm now using a 64
bit web server with Apache, I figured now would be a
good time to make the switch to mod_jk.
However, I'm having a problem where after some time,
mod_jk seems to get stuck serving CERTAIN requests.
As an example, I have a form (index.
Hello,
I get this exception sometimes in my 2 node cluster. (tomcat 5.5.15)
The tomcat source learns me, the session is invalid at that point, but what
else can I learn from this exception?
Ronald.
HTTP Status 500 -
type Exception report
message
description The server encountered an intern
Farid Izem wrote:
> Hi all,
>
> I have successufully configure my Tomcat to use ldap service to authenticate
> my users.
> Now, i would like to know if it is possible to have multiples Realm for the
> same Webapps.
> With this, if the first Realm fails to authenticate users, it will
> automaticall
Hi all,
I have successufully configure my Tomcat to use ldap service to authenticate
my users.
Now, i would like to know if it is possible to have multiples Realm for the
same Webapps.
With this, if the first Realm fails to authenticate users, it will
automatically use the next Realm.
Imagine, a
Hi David,
Thanks for you help. This was exactly what i hace done.
But, the main problem was located on the tomcat servers.
As it was not me who install the tomcat servers, we find that
All the webapps were corrupt due to a file transfer.
Now, all work properly.
Many thanks,
Farid.
On 2/15/06,
I am facing a very similar problem here. I use Quartz/Spring to jump
start some background processing threads within Tomcat, and I get two
threads [Quartz_Scheduler_Worker_?] running the same class in the
background (when there should only be one thread).
It should be somewhat related to Engine/Ho
85 matches
Mail list logo