hi;
i have a simple JSP (written with JSF) which accepts a text input and outputs the
input in a line below. also, i am using the 'dir' attribute with a rtl value.
deploying this JSP on tomcat 5 and 4 yields 2 different results:
on tomcat 4, the result of the outputed Text displays all the
I have a java web application that allows
an end-user in their browser to download
a file, which happens to be bytes stored
in a database.
In experimenting with how to do this, I have
this snippet of code in my servlet:
AttachmentListItem attachment =
Hi All,
I have difficulty to make mod_jk2 connector to work. :-(
I try to use Unix Channel from this tutorial :
http://cymulacrum.net/writings/tomcat5/c840.html
The problems are:
- Can not generated jk2.shm jk2.socket
- Error in Catalina.out
INFO: APR not loaded,
I have a very simple JSP page that attempts to output the value of a
variable using EL ${var} notation. However, it is just printing the
${var} literally. I am using Tomcat 5.0.19, and according to the JSP spec,
since this supports 2.4 servlet spec, it should support EL by default.
Anyhow, I tried
Try commenting everything out in jk2.props, should get you connector
working even if the jni stuff takes more work afterwards.
Mark
On 5 Jun 2004, at 12:23, Ricky wrote:
Hi All,
I have difficulty to make mod_jk2 connector to work. :-(
I try to use Unix Channel from this tutorial :
Try
%@ page isELIgnored=false %
not
% page isELIgnored=false %
The tlds are in the jar files no need to have the tld's like
traditional taglibs
The below in your jsp should do the job.
%@ page isELIgnored=false %
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
c:set var=test
I've seen this before ;o)
Try appending .pdf to the actual request.
/myapp/pdfgen.do;iehack=.pdf
I've seen this used in teh xplanner project.
Mark
On 5 Jun 2004, at 11:52, Dean A. Hoover wrote:
I have a java web application that allows
an end-user in their browser to download
a file, which happens
Hi all,
I have problems using UTF-8 (Tomcat serves files as ISO-8859-1 ignoring
http-equiv=content-type meta information).
Where should I look for information on how to configure Tomcat to work
with UTF-8?
Ebe
-
To unsubscribe,
Sorry, copy error. I *did* specify [EMAIL PROTECTED] isELIgnored=false %
That is why I got the error message I did.
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 5:29 PM
Subject: Re: Using EL
Try
%@ page
I read the article, did what it said exactly, but it *still* doesn't work.
It keeps complaining that it cannot find taglib.tld, but my tld file
is not named taglib.tld. I even sent the author of that article an email
but he didn't respond.
- Original Message -
From: M.Hockings [EMAIL
I still use the 2.3 spec for my web.xml but i think you need something
like this to activate it
jsp-config
url-pattern*.jsp/url-pattern
el-ignoredfalse/el-ignored
/jsp-config
The dtd should be able to show you where it should go (i.e in what
order).
On 5 Jun 2004, at 14:22,
Hi all,
I need to move the jk2.properties file from the standard location, does anyone knows
how to do it???
Thanks,
Paolo Martinelli
IrisCube Reply S.p.A.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Greetings.
I am having some weird error when starting tomcat - the exception in the
logs is:
WARNING: Error registering contexts
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
at
Hmmm. Replying to my own post - the Hosts do actully come up after a while
- just takes longer than it used it.
I do have another question - if you have a HTTPS connector listening - and
have a number of Hosts running - but only one should serve on HTTPS - how do
you ensure that it is the only
Sigh,
Once again a reply to myself - but the contexts do NOT seem to always come
online! Most bizzarre. Does anyone know what that error is? Has it got to
do with the cert in the cert store?
Please help - this is dodgy.
Yoav: Question - is this case (where I have multiple HTTP based sites
Hi Carl:
Obviously there are some concurrency issues when registering contexts. What
version of Tomcat are you running? You might want to upgrade to 5.0.26
(don't use 5.0.24) - from what I gathered this was a bug in 5.0.7.
Let me know how you fare.
Michael
- Original Message -
From:
FYI:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22388
- Original Message -
From: Carl Olivier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 6:56 AM
Subject: SSL and starting tomcat - issues
Greetings.
I am having some weird error when starting tomcat
Hi Michael.
Thanks for the response!
I am running tomcat 5.0.24 - This is a production server - so I think I
should wait till TC5.026 is procounced stable?
Thanks
Carl
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: 05 June 2004 05:25 PM
To: Tomcat Users List
ta
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: 05 June 2004 05:26 PM
To: Tomcat Users List
Subject: Re: SSL and starting tomcat - issues
FYI:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22388
- Original Message -
From: Carl Olivier [EMAIL
5.0.25 has got JNDI problems - you're better off with 5.0.26 - I'm running
it now and have not experienced any problems [yet]. Since you're in a
production environment, don't take any chances. But it doesn't make much
sense to run differnt Tomcat versions on production and staging, so yes -
always
Hi,
I am using tomcat 5.0.25
I am porting some legacy webapp to struts JSP. Basically I am forwarding
my request based on the last token of the request URI, eg.
request URI: /testapp/demo
then I will forward to demo.do
To do that I am setting the following in my web.xml
error-page
In tomcat, I want to know JSP files, Servlets, and Java classes
should put in different locations:
I put web.xml in the following:
C:\jakarta-tomcat-4.1.30\webapps\proj1\WEB-INF
I put all JSP files in the following:
C:\jakarta-tomcat-4.1.30\webapps\proj1
I put all servlet files in the
test
_
Invia allegati fino a 20MB con Hotmail Extra Storage! Provalo!
http://join.msn.com/?pgmarket=it-itpage=hotmail/es
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Sat, Jun 05, 2004 at 11:38:27AM -0700, Matt Louden wrote:
: In tomcat, I want to know JSP files, Servlets, and Java classes
: should put in different locations:
This breaks down into:
1/ the servlet spec (where you put classes, JARs, web.xml, etc)
2/ your app's architecture (JSPs, servlet
hi,
I'm working on the tomcat server
and i have it installed on my laptop running Windows
XP. It was working
fine , but suddenly since a couple of days, whenever I
try to startup
using the bat file, the command prompt window just
disappears - and the
server does not start. There is no
On Fri, Jun 04, 2004 at 07:07:46PM -0400, jcrowell wrote:
: In other words, how do I access a connection from the connection pool when I
: am not dealing with a JSP or a servlet, and the singleton class is not
: necessarily associated with any particular webapp?
If I understand your question:
Thanks you QM!
I just followed the example to use invoker, I don't understand what is that. So whats
your suggestions? When I removed web.xml, the JSP is running, but servlet no longer
runs.
I want to run both JSP and servlet. Please advise. Thanks!!
QM [EMAIL PROTECTED] wrote:
On Sat, Jun
(I have not tested this, but try)
Manager pathname=/dev/null/
Or the example server.xml in tomcat4.1 has this:
Manager className=org.apache.catalina.session.PersistentManager
debug=0
saveOnRestart=true
maxActiveSessions=-1
Typically a JVM doesn't release memory to the OS.
Removeing references to the objects should be enough. (Via explicit setting
to null, or letter a variable fall out of scope from its block)
-Tim
Emre wrote:
Where and when does garbage collection happen in the JSP pages.
In my jsp pages I use
Anything is javax.servlet is container agnostic.
Anything in web.xml should be container agnostic.
Anything in server.xml or the context declaration (mywebapp.xml) is tomcat
specific.
-Tim
SH Solutions wrote:
Hi
I am using a DataSource inside a a servlet. Until now I am configuring it
with my
None of my image graphics for my default index.jsp page or loading, as
well as the manager and admin apps seem to be broke.
my sever.xml file looks like this
Server port=8005 shutdown=SHUTDOWN debug=0
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 address=127.0.0.1
THAT WOULD BE tgrant.com/index.jsp
On Jun 5, 2004, at 7:55 PM, stella luna wrote:
None of my image graphics for my default index.jsp page or loading, as
well as the manager and admin apps seem to be broke.
my sever.xml file looks like this
Server port=8005 shutdown=SHUTDOWN debug=0
Are you using Apache as a proxy?
Have you mounted the root directory to serv everything (httpd.conf)?
JkMount installationdir/ROOT/*
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: stella luna [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
is anyone seeing my posts? just want to be sure...i keep getting
something that it is being bounced back
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Create an entry for the Datasource in the deployment descriptor and use JNDI
to look it up.
Cast the object returned by the lookup method as a DataSource type.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Resources4.html
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: Tim Funk [EMAIL
Edit the startup.bat file and enter the word pause at the end.
This will stop the window from closing and you can see what the error is.
Also have you tried looking at the server logs? I am not sure if it writes
anything but it is worth looking at.
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
Not sure about this but I believe that has to do with Struts only being able
to have one ActionServlet registered in the deployment descriptor. I also
believe someone on the Struts ML my have the answer you are looking for.
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: Sng Wee Jim
I believe one must use the out tag to be able to display EL values c:out
value=${var} /
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: Mark Lowe [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Using EL
Date: Sat, 5 Jun
Keith,
Have you tried unpacking the jar and see if everything is packed in the
correct directory structure and that the Manifest file has the correct info?
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: Keith Hankin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To:
Another simple solution is to redirect stdout and stderr to text file like this:
startup.bat 1std1 2std2
where std1 and std2 are quasi-arbitrarily chosen file names. This
approach is convenient when you do not want to modify the contents
of startup.bat. However, you will need to either open
What is happening once you are logged in?
Does it continue to use the secure protocol on port 8080?
https://localhost:8080/
Mr. Ariel S. Valentin
mailto: [EMAIL PROTECTED]
From: Ryan Stewart [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Tomcat
Hi all.
According to the docs, it's possible to stick Context specific data
into it's own config file in the
|$CATALINA_HOME/conf/[enginename]/[hostname] |directory. Unfortunately,
I'm having problems when using it with JNDI resources. When I take the
Context element from my server.xml and
No, you misunderstand. Port 8080 is the unsecure port, so trying to access it with
https gives a cannot find server error. That's my problem. For some reason, the
server is trying to redirect to an unsecure port using a secure protocol, which
doesn't work.
-Original Message-
From:
This is a pretty well known bug in MSIE. The short version is that that TC
4.1.x sends two redirects to get you to the login page, and MSIE gets
confused. The options to get around this are:
1) Don't use MSIE.
2) Use the default SSL port (e.g. 443).
3) Use TC 5.0.x instead of TC 4.1.x.
Ryan
hi sowmya,
i dont think urs is a big problem. when u r running tomcat, there will be some
error coming on server console before disappears. first, u check whats that error. for
that, without clicking on the startup.bat, u take one command prompt and run that bat
file. then u can see
I've never tried it, but you should be able to set
jkHome=/path/to/new/home on the Connector element to have Tomcat look for
/path/to/new/home/conf/jk2.properties.
Of course, Tomcat will also use this as the base for any other relative file
references (e.g. the unix-socket file).
Martinelli
46 matches
Mail list logo