Hi!
I've experimenting with different timeout values, to mod_jk. I have not
yet been able to make it work the way I want.
I have one apache and two tomcat. I have set up tomcat1 to be the
primary and tomcat2 the failover.
What I want to achieve is if at least one tomcat is up I want it to w
Hi:
Has anyone got Apache portable runtime (APR) to work
on
OS X (10.4.x) with tomcat 5.5.x ?
My apr is installed in: /usr/local/apache/apr-1.2.8/
I've done all the usual steps of unpacking the apr src
and
compiling it with:
./configure
--with-apr=/usr/local/apache/apr-1.2.8/
--with-java-hom
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
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
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 cla
Hi,
What happens if we use session replication and we try to store in
session an object that is not serializable?
Thank you.
Naga
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 thi
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:
Sent: Tuesday, April 03, 2007 6:44 PM
Subject: Different aliases have different session
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
<%
String reqParameter = request.getParameter( "directory" ) ;
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
you might want to consider Apache VirtualHost via
(to IIS)
(tomcat)
http://httpd.apache.org/docs/2.0/vhosts/examples.html
M--
- Original Message -
From: "Rashmi Rubdi" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, April 03, 2007 6:11 PM
Subject: Re: iis nd tomcat in one
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 Comp
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: users@tomcat.apache
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
configure TOMCAT classes to allow 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 "file:${catalina.home}/webapps/examples/WEBINF/classes-"
{
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
91
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
Subject
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 Messag
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
bala
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
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 -
From: "Petar Tahchiev" <[EMAIL PROTECTED]>
T
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, di
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 mea
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
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:
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
ajp:/
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 webapp
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
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 so
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...
F
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.
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
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 Message-
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.htm
Thank you, can you tell me where i can read more on configuring the 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 server.xml
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 St
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 s
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
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
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 tag add an acceptCharset="UTF-8" parameter
3) call request.setCharacterEncoding("UTF-8") before g
A partner of our company has a web site that includes HTML generated by our
Tomcat web app.
They use an 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 registere
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 enco
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
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Since I do not require "good" random numbers (no SSL used), this seems to be
okay.
Regards,
Stefan
Am Montag, 2. April 2007 21:09 schrieb Stefan Armbruster:
> Hi,
>
> the machine is diskless,
Hello,
I have problems with the encoding of the euro symbol.
I set the charset to UTF-8 in my page:
I submit a form containing the euro symbol in a client account number
text field (typed in Internet Explorer in a Windows environment).
I set a breakpoint on
org.apache.coyote.http11.Http11Proce
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
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 fo
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 onl
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
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
con
-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
I've changed the server.xml port for tomcat was changed to 9090 but
still the IIS is not working
-Original Message-
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 12:27 PM
To: Tomcat Users List
Subject: Re: iis nd tomcat in one machine
You can easily change
En l'instant précis du 03/04/07 11:47, jacky s'exprimait en ces termes:
> in web.xml:
>
> login
> /servlet/login
>
> in jsp:
> method="POST" >
> There is an error when the jsp is submit (URL:
> http://localhost:8080/test/servlet/login):
>
> type Status report
> message /test/servlet/
> descripti
in web.xml:
login
/servlet/login
in jsp:
There is an error when the jsp is submit (URL:
http://localhost:8080/test/servlet/login):
type Status report
message /test/servlet/
description The requested resource (/test/servlet/) is not available.
If i remove servlet/,the url http://
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 setu
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,
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 co
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
w
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 JAVA_HO
59 matches
Mail list logo