-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Folks;
as there is a stable 6.0 release right now, I consider making use of it
for at least part of our internal environment. Rationale for that:
- - Not having to install a JDK on the server machines seems a good point
to me.
- - I want to make
So, short
question: What things should be taken into consideration while moving
from tomcat 5.5.20 to 6.0.x? Is there sort of a migration HOWTO for
this situation, or is it just rather straightforward, having
backward-compatibility and a set of new features around?
I guess it really depends on
You can easily change Tomcat's startup port,
look for 8080 in TomcatFolder/conf/server.xml and change it to another
available port for example 9090.
-Rashmi
-
To start a new topic, e-mail: users@tomcat.apache.org
To
On 4/2/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Hey folks... I'm having a real pain of a problem here... vital stats:
JRE 1.6.0-b105 (JDK 6)
Tomcat 6.0.10
Since you have installed the JRE and not the JDK, I suppose you must
set the JRE_HOME environment variable, and remove the
Hi,
Thanks again for the reply. I can't reproduce the END event so probably
I was mistaken, sorry about that. It is indeed the ERROR/TIMEOUT event.
If an exception occurs during the handling of this event (an unforseen
runtime exception for example), then tomcat calls the event method again
Hi,
Another reason that I need to be able to throw the exception in the
BEGIN event is because for some requests there is no input, only output,
so I might never actually get a READ event (GET requests for long pieces
of data for example). However I do want to write output to the client as
it
Any ideas why I only get redirected in firefox after doing a refresh and why
this is working as it should in internet explorer?
Hi,
We are trying to migrate a running tomcat/JK/IIS setup from win 2000/IIS 5.0
to win 2003/IIS 6.0. The struts application is hosted using two tomcat
instances and we use JK connectors as load balancer for these two servers.
We have configured the IIS with a 'jakarta' virtual directory.The
in web.xml:
servlet-mapping
servlet-namelogin/servlet-name
url-pattern/servlet/login/url-pattern
/servlet-mapping
in jsp:
FORM action=%=request.getContextPath()%/servlet/login method=POST
There is an error when the jsp is submit (URL:
http://localhost:8080/test/servlet/login):
En l'instant précis du 03/04/07 11:47, jacky s'exprimait en ces termes:
in web.xml:
servlet-mapping
servlet-namelogin/servlet-name
url-pattern/servlet/login/url-pattern
/servlet-mapping
in jsp:
FORM action=%=request.getContextPath()%/servlet/login
method=POST
There is an error when the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
Mark Goking wrote:
In my case, I wish to manually create a jsessionid and log the user in
the web app without using j_security_check. Is this possible?
You can certainly do this yourself, if you are willing to write some
code. You're better
Look in the IIS log files for a clue:
C:\WINDOWS\system32\LogFiles\W3CSVC (or something close to that -- I tossed
IIS a long time ago and use httpd.)
From the posts it does not appear to be a port conflict as the OP says
localhost:80 which Tomcat does not configure by default. If it was a
Kenneth Westelinck wrote:
Any ideas why I only get redirected in firefox after doing a refresh and
why
this is working as it should in internet explorer?
Get ieHttpHeaders and Live Http Headers and check out the differences,
if any, in what the browsers are seeing from / sending to Tomcat.
If it helps at all, I just moved my company's apps from 5.5 to 6.0. The
only stumbling block was they rely on the invoker servlet. I changed the
build process to find all classes which implement HttpServlet and add an
explicit mapping to /servlet/com.mycompany.package.Servlet in web.xml.
The
On 4/3/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Hi,
Thanks again for the reply. I can't reproduce the END event so probably
I was mistaken, sorry about that. It is indeed the ERROR/TIMEOUT event.
If an exception occurs during the handling of this event (an unforseen
runtime exception for
Hi,
Thanks for all the answers! :-)
It's good to know the way the events should be treated and interpreted.
It's quite different from how it's described on
http://tomcat.apache.org/tomcat-6.0-doc/aio.html, and the JavaDoc does
not really describe the spec either.
Using the sendError method
Hello,
I have problems with the encoding of the euro symbol.
I set the charset to UTF-8 in my page:
meta http-equiv=Content-Type content=text/html; charset=UTF-8
I submit a form containing the euro symbol in a client account number
text field (typed in Internet Explorer in a Windows
Thanks Nicholas,
I wanted to make sure before going ahead with our own implementation.
We currently ship a custom tomcat but customers are demanding the
ability to deploy our product in their existing corporate tomcat
servers.
Thanks again,
--Russ
On 4/2/07, Nicholas Sushkin [EMAIL PROTECTED]
Hi,
most probably one of those is happening
1) IE sends form in iso-8859-1 and tomcat decodes it in UTF-8, resulting
in wrong character
2) IE sends form in UTF-8 and tomcat decodes it in ISO-8859-1
Be aware that the charset of current page is not always used by browser
as the charset used to
A partner of our company has a web site that includes HTML generated by our
Tomcat web app.
They use an iframe to contain our Tomcat generated HTML. The problem is
that IE7 (works correctly for Firefox IE6) blocks the jessionid cookie
because it is a third party cookie.
If we have our site
2007/4/3, David Delbecq [EMAIL PROTECTED]:
as the charset used to encode parameters when submitting form. One
possible way i know to prevent such problem is
1) set page encoding to utf-8
2) in the form tag add an acceptCharset=UTF-8 parameter
3) call request.setCharacterEncoding(UTF-8) before
Stefan Armbruster wrote:
Hi
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Wow, that something. You are very brave and root ;)
Try with setting:
$ export RANDFILE=/dev/urandom
then start Tomcat.
or create a $HOME/.rnd file
Regards,
Mladen
I actually do have the JDK installed, my bad for not stating that
clearly... I was just stating the JRE version that would be used by
Tomcat, since the JRE of course comes with the JDK, but I wasn't clear...
you do raise an intersting point though, I wonder if I have to specify
JRE_HOME anyway? I
Tomcat 4.1.34-LE-JSDK1.4
Service is started and Tomcat is running but Tomcat taskbar applet is
not displayed.
Error reported after logging into Vista system.
Error:
Application System Error
Access is denied.
Unable to open the service 'Tomcat4'.
I have local admin rights to the
Good Question!
Probably the one good reason why god created Apache HTTP Server ..Ruby
scripting language calls down to (native code) binaries on Apache HTTP
Server where code is sectioned to Model View and Controller architecture...
Assuming you are implement AOP in Tomcat via injectors with
Thank you, can you tell me where i can read more on configuring the Host tag
for Tomcat?
Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
Filip
Hoa Doan wrote:
Hi, I am trying to direct Tomcat to my own web root director, and I know you
can do that by changing the host tag in
Possible entry point:
On tomcat.apache.org there is a menue point Migration Guide at the end
of the Documentation menue, often overlooked, because it's relatively
new and not inside the tomcat 6 docs. The Guide is very short, but might
give you some ideas.
http://tomcat.apache.org/migration.html
If you want to access your application with
http://your.server/your-app-file.jsp, then I don't know any way to not
have the web files in ROOT. But if accessing your app with
http://your.server/your-app-name/your-app-file.jsp, then your web files
don't need to be in ROOT.
-Original
Tremal--
A quick follow-up on david's comment
tomcat default encoding is UTF-8 unless of course you use an alternative jsp
compiler (such as jikes)
doc available at
http://tomcat.apache.org/tomcat-5.0-doc/jasper-howto.html
Are you using an alternate jasper compiler?
- Original Message
Sebastiaan van Erk wrote:
Hi,
Thanks for all the answers! :-)
It's good to know the way the events should be treated and
interpreted. It's quite different from how it's described on
http://tomcat.apache.org/tomcat-6.0-doc/aio.html, and the JavaDoc does
not really describe the spec either.
File dir = new File(C:\\apache-tomcat-5.5.17\\webapps\\india\\delhi\
\images);
this works fine in my machine locally, but on my website.. if, say,
I'm in dir where 'images' dir is, this doesn't work...
File dir = new File(images)
starting @ root of webapp also doesn't work...
File
On 4/3/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
yes, a proposal is coming up, my guess is that you will do a {public int
write(ByteBuffer)} on the CometEvent object. returns number of bytes
written, but nothing is set in stone yet
I hope that your proposal does not include that
Rainer, @list;
first off, thanks everyone for your hints / inspirations, much
appreciated. :)
Rainer Jung schrieb:
new and not inside the tomcat 6 docs. The Guide is very short, but might
give you some ideas.
http://tomcat.apache.org/migration.html
Indeed, I could have found that myself if
Hello,
xmlValidation=false xmlNamespace=false
Might be webapp or xml parser related.
Why does it still try to validate xml or is there another reason why
tomcat tries to connect to eos.apache.org?
Basically, it shouldn't. Is this a clean install or are you running
any webapps?
rpm -qa
Hello,
I'm trying to redirect port 80 requests to 443. I'm
using apache2.2.4 with tomcat5.5.23 and using
ProxyPass to direct traffic to tomcat instead of
mod_jk. With apache only, I can redirect 80 - 443
with rewrite rules just fine, but once I add the
ProxyPass directive (ProxyPass /data
MG--
You want to make sure your abandoned connections are properly re-cycled e.g.
To configure a DBCP DataSource so that abandoned dB connections are removed
and recycled add the following paramater to the ResourceParams configuration
for your DBCP DataSource Resource:
I'm not sure what you're attempting to do here, but have you thought
about ServletContext.getResource() and
ServletContext.getResourceAsStream() ? Both are safe methods of reading
resources from the webapp whether it be in a compressed archive or not.
There is also getRealPath(), but it will
Hello guys,
my name is Petar Tahchiev and I am currently using Apache Tomcat 6.02 on a
Fedora Core Box with a Java 1.5.0_02
I am having a typical Spring application which uses Acegi security
configuration for it's security mechanism. Users are getting
authenticated towards this application by
thank you.. someone in another forum said the same thing.. problem is,
if I have trouble accessing directory, how will I tell these methods to
get Resource for that dir? :)
(also, alas, don't quite remember how to use methods of interfaces --
since interfaces can't be instantiated,
Read this stuff maybe it helps
http://technet2.microsoft.com/WindowsVista/en/library/00d04415-2b2f-422c-b70e-b18ff918c2811033.mspx?mfr=true
Seems like MS now have Admin accounts and Admin accounts
Hope I never have to upgrade
- Original Message -
From: James Reinertson
Hi,
Currently we were trying with new mod_jk 1.2.21 version and we got same
error message but we do not have problem due to it retries and reopen new
socket and continue serving jsp pages. We are using Apache 2.0.53, mod_jk
1.2.21, Tomcat 5.0.28 and RHEL3 update5. Our architecture is HW load
On 4/3/07, Martin Gainty [EMAIL PROTECTED] wrote:
Petar-
can you go to psql -h localhost -p 5432
(login to Postgres and do a describe on the table)
\d mvnforummember
so we can verify the existence of those columns?
then to verify the data
select * from mvnforummember
M-
- Original Message
Thanks John, I'll give it a look.
Sorry but upgrades are a fact of the current age. Of course we could
have just bought IBM product and we would be running OS/2...
-Original Message-
From: JOHN [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 1:58 PM
To: Tomcat Users List
Hi all,
Is it possible for Tomcat 5.5 to run on JDK1.4.2_13? I know that JDK1.5
has JRE 5.0. Does JDK1.4.2_13 have a patch install for JRE 5.0?
Thank you
Jayson Enriquez CHDP
Sacramento Municipal Utility District
Business Technology / EDM Support
configure TOMCAT classes to allow some manner of | ALL access to the
specified folders
//take the example of context
//$CATALINA_HOME/webapps/examples/WEB-//INF/classes directory
//Inside $CATALINA_HOME/conf/catalina.policy setup the grant as
grant codeBase
I'm sorry, you are right.
I wast thinking localhost to a different virtual host may not solve
the conflict either.
Sabitha, another option: if you don't plan to run both IIS and Tomcat
at the same time you could switch IIS off , under Control Panel ---
Administrative Tools --- Services
Thats
Jayson Enriquez wrote:
Is it possible for Tomcat 5.5 to run on JDK1.4.2_13?
Yes. You need the JDK 1.4 Compatability Package from
http://tomcat.apache.org/download-55.cgi
Mark
-
To start a new topic, e-mail:
Thank you Mark.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 3:38 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5 on JDK 1.4.2_13
Jayson Enriquez wrote:
Is it possible for Tomcat 5.5 to run on JDK1.4.2_13?
Yes. You need the JDK 1.4
you might want to consider Apache VirtualHost via
VirtualHost machine1:* (to IIS)
VirtualHost machine2:* (tomcat)
http://httpd.apache.org/docs/2.0/vhosts/examples.html
M--
- Original Message -
From: Rashmi Rubdi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent:
Hi all i have a Tomcat 6.0.10 running on Centos 4.4
My configuration file(server.xml) is as below. Now i am explaning whats
happening..I have changed the default webapplication by setting context path to
zero length string and set my host applicationbase to webapps/mydomainapp
value... By the
Ok... I think I'm starting to see the picture here. You want to be able
to write a jsp that can list the directory contents of a folder. This
is very crude, no error checking, untested, etc. but you'll catch on
ul
%
String reqParameter = request.getParameter( directory ) ;
Burak-
nslookup www.mydomain.com
qill display a IP address
then put the IP entry in your hosts file
e.g.
127.0.0.1 mydomain.com
M-
- Original Message -
From: Burak Yýlmaz [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, April 03, 2007 6:44 PM
Subject: Different aliases
Hi,
Has anyone embedded tomcat in java application and fed wsdd file to take
request and provide respone back to the caller of the application?
Do i have to provide web.xml to provide the path to wsdd file or i should
create a .war file and deploy it.
I think either not many people have done
Hi,
What happens if we use session replication and we try to store in
session an object that is not serializable?
Thank you.
Naga
I've managed to narrow this problem down quite a bit, and long and short
of it is that the problem is specific to 6.0.10.
I tried a number of versions in the 6.x branch including 6.0.0, 6.0.4,
6.0.8 and 6.0.9, and in all of them my webapp starts up just fine, no
complaints about the Filter
java.io.NotSerializableException
I wrote a session listener / filter combination that logs all session
objects which do not implement the interface. If interested, let me know...
It was step 1 in going cluster.
Tim
-Original Message-
From: Yerramsetti, Naga [mailto:[EMAIL PROTECTED]
On 4/3/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
I actually do have the JDK installed, my bad for not stating that
clearly...
If you have the full JDK installed then please set the JAVA_HOME
environment variable to the JDK's root folder.
Reasoning: If you look in catalina.bat , it says
57 matches
Mail list logo