marcobalc schrieb:
Hi,
I have tested an other controller that return to a jsp with simple HTML.
The last rows of this controller are
...
log.debug(isCommitted?? +response.isCommitted());
Map m = new HashMap();
m.put(tutteListe, tutteListe);
return new
Hi,
I am using Apache Tomcat Version 5.5.2. I am running it on Windows XP
Professional Service Pack 2.
I have a form based authentication for my application:
[…]
login-config
auth-methodFORM/auth-method
realm-nameAuthentication Area/realm-name
form-login-config
Abhi schrieb:
Thanks Milan.
This is how my apache2.conf looks
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile path to workers.properties/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevelerror
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
JkMount
Hello,
Have you tried adding j_security_check to your web.xml for patterns which
should be redirected to SSL?
Regards,
Justin
Date: Tue, 9 Dec 2008 00:17:36 -0800
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject: Form Based Authenticattion - j_security_check does not redirect
Hi again,
I thought about this a little more and I think what you're experiencing might
be as a result of the RequestDispatcher.
When the RequestDispatcher fowards to a URL resource, it overrides the
SSL/Authentication constraints you have setup. There is a way of getting
around this (which
Dear all,
i got this error message in catalina.out: FATAL ERROR: Saved state
has incompatible save version
Does anybody know what this means and what causes this error?
Thank you
Thinh
-
To unsubscribe, e-mail:
Hello,
Are you using other filters?
If you are you will need the method to look like the below:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain filterChain) throws IOException, ServletException {
HttpServletRequest req = (HttpServletRequest)
Zeke schrieb:
Hi, all:
I configure a Apache with mod_jk as HTTP load balancer for a JBoss
cluster. My cluster provide some web services. Of course, the URL in the web
serice call by client is the URL of the load balancer's. If for some reason,
the web service on a node is unavailable,
Hi,
do you mean that I need to rebuild tomcat with a new log?
At the moment I have reproduced the problem with an MultiActionController
with this default method
public ModelAndView init(HttpServletRequest request, HttpServletResponse
response, RegistrationsSearch command)
throws Exception {
Zeke schrieb:
Thank you very much, Rainer!
Yes. My node accept the request first, then it will return 500 if the called
web service is not available ...So mod_jk can not fail over the request in
this situation. Do you have some suggestion for this situation? I really
hope none of the calling
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: 09 December 2008 12:32
To: Tomcat Users List
Subject: Re: Can not fail over a web service call using mod_jk
Zeke schrieb:
Thank you very much, Rainer!
Yes. My node accept the request first, then it will return
Justin Randall-5 wrote:
Hi again,
I thought about this a little more and I think what you're experiencing
might be as a result of the RequestDispatcher.
When the RequestDispatcher fowards to a URL resource, it overrides the
SSL/Authentication constraints you have setup. There is a
Hi, all:
I configure a Apache with mod_jk as HTTP load balancer for a JBoss
cluster. My cluster provide some web services. Of course, the URL in the web
serice call by client is the URL of the load balancer's. If for some reason,
the web service on a node is unavailable, client call on it will
Thank you very much, Rainer!
Yes. My node accept the request first, then it will return 500 if the called
web service is not available ...So mod_jk can not fail over the request in
this situation. Do you have some suggestion for this situation? I really
hope none of the calling to my web service
Rainer thanks for support.
Now I have build tomcat but is not clear for me what you mean with output
of a stack
Could you seggest wath line write.
(I think the line should be added in this block of code)
if( actionCode==ActionCode.ACTION_COMMIT ) {
...
...
}
Rainer Jung-3 wrote:
Justin Randall-5 wrote:
Hello,
Are you using other filters?
If you are you will need the method to look like the below:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain filterChain) throws IOException, ServletException {
[EMAIL PROTECTED] schrieb:
From a design point of view do you feel that this is beyond the scope of
mod_jk to buffer request bodies? From one point of view it does make
sense to have the retry logic completely in mod_jk, but I can certainly
understand the point of view to have retry logic on
marcobalc schrieb:
do you mean that I need to rebuild tomcat with a new log?
Yes, but for Tomcat 6 that's really easy to do. Download the source,
have Java 5 and ant ready, and call ant download and ant. Then you
should be able to already find the compiled classes. You only need to
add log
marcobalc schrieb:
Rainer thanks for support.
Now I have build tomcat but is not clear for me what you mean with output
of a stack
Could you seggest wath line write.
(I think the line should be added in this block of code)
if( actionCode==ActionCode.ACTION_COMMIT ) {
...
...
}
Hello all,
I have Tomcat 5.5.27 running on ScientificLinux 5 (RHEL5 clone). I need a
production environment -specific Context Descriptor for my WAR, so I've
tried to use the manager/deploy with ant to deploy context descriptor file
with the war file. The WAR in this case does not have META-INF in
Thanks Rainer.
It was a problem with the virtual hosts. Resolved it. Thanks again.
2008/12/9 Rainer Jung [EMAIL PROTECTED]
Abhi schrieb:
Thanks Milan.
This is how my apache2.conf looks
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile path to
I am deploying my web app war thru tomcat6.0 on Windows 2003 - I am not
changing any tomcat configuration files directly (or indirectly, afaik).
My app is using Hibernate for DB access and I have added c3p0 to handle DB
connection pooling to Hibernate.
I am seeing some strange results, that
Dear removeps-groups,
Thanks for the links. But in answer to the issues below:
chmod 600 is not sufficient because the admin of my website should
not be able to see the passwords either. And if you're using a web
hosting service, all the more reason.
The decryption algorithm may need a
Dear removeps-groups,
Thanks for the links. But in answer to the issues below:
chmod 600 is not sufficient because the admin of my website should
not be able to see the passwords either. And if you're using a web
hosting service, all the more reason.
The decryption algorithm may need a
Hi,
now I have the stacktrace but the problem is that the stack do not involve
my classes :|
java.lang.Throwable: Stack Info
at org.apache.jk.core.MsgContext.action(MsgContext.java:263)
at org.apache.coyote.Response.action(Response.java:183)
at
Hi,
I have found one other interesting information: If the Excel is very small
the problem do not appear. If the Excel is more big (some kb) the stack
trace with the error appear.
I think that should be a buffer problem but I don't know how to locate the
root cause.
regards
Marco
marcobalc
A previously-working Apache build running non-SSL was switched to
receive SSL traffic.
The keystore has been installed, and I've modified the server.xml (which
may not be correct, but I do not see where the application complains
about it).
In an order to cut down on some of the log chatter I
SKantS wrote:
Justin Randall-5 wrote:
Hello,
Are you using other filters?
If you are you will need the method to look like the below:
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain filterChain) throws IOException, ServletException {
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: 09 December 2008 13:45
To: Tomcat Users List
Subject: Re: Can not fail over a web service call using mod_jk
[EMAIL PROTECTED] schrieb:
From a design point of view do you feel that this is beyond the
scope
of
Yeah, the validationQuery seems to have fixed the problem. I guess a full week
of non-use of the website should tell for sure.
--- On Tue, 12/9/08, Kees Jan Koster [EMAIL PROTECTED] wrote:
From: Kees Jan Koster [EMAIL PROTECTED]
Subject: Re: configure JNDI to avoid error Last packet sent to
Hi All,
TC 5.0.12
java version 1.4.1_04
I have inherited a project that has multiple copies of some jar files
under $CATALINA_HOME. In particular the one I noticed first was
$CATALINA_HOME/server/lib/catalina.jar
$CATALINA_HOME/shared/lib/catalina.jar
I am under the impression that having
[EMAIL PROTECTED] schrieb:
[EMAIL PROTECTED] schrieb:
From a design point of view do you feel that this is beyond the
scope
of
mod_jk to buffer request bodies? From one point of view it does make
sense to have the retry logic completely in mod_jk, but I can
certainly
understand the point
From: Timothy J Schumacher [mailto:[EMAIL PROTECTED]
Subject: multiple copies of jar files
TC 5.0.12
java version 1.4.1_04
Both sadly outdated and unsupported.
$CATALINA_HOME/server/lib/catalina.jar
$CATALINA_HOME/shared/lib/catalina.jar
That's probably not good; catalina.jar should only
Hi Marco,
marcobalc schrieb:
Hi,
now I have the stacktrace but the problem is that the stack do not involve
my classes :|
java.lang.Throwable: Stack Info
at org.apache.jk.core.MsgContext.action(MsgContext.java:263)
at org.apache.coyote.Response.action(Response.java:183)
I have been running Tomcat 6.0.18 successfully on Windows Server 2003 for
several weeks now using startup.bat. I just got around to trying to install it
as a service using the instructions at
http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html
I see the Notice at the top of the
From: andrew [mailto:[EMAIL PROTECTED]
Subject: service.bat install failure (Windows, v 6.0.18)
I see the Notice at the top of the page saying that this is
now obsolete
They're obsolete primarily because service.bat does it all for you; as far as I
can tell, it's just procrun 1.0 that's
I don't think that is a Tomcat error, more likely to come from the
application running inside tomcat
Filip
[EMAIL PROTECTED] wrote:
Dear all,
i got this error message in catalina.out: FATAL ERROR: Saved state
has incompatible save version
Does anybody know what this means and what causes
I just installed this version on Vista. When I run startup.bat, Tomcat is not
finishing loading. It just hangs there. Here is a copy of my log. Any
suggestions?
Dec 9, 2008 4:46:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows
Thanks Chuck. All good suggestions, but I _think_ I went through each one
before posting my first message.
Why do you say catalina.bat? Did you mean service.bat?
I'm sorry, you are right. Before posting, I stepped through the execution
of BOTH service.bat install and startup.bat. The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marco,
marcobalc wrote:
I have found one other interesting information: If the Excel is very small
the problem do not appear. If the Excel is more big (some kb) the stack
trace with the error appear.
I think the problem might be that you are
From: Michael CC [mailto:[EMAIL PROTECTED]
Subject: Apache Tomcat 6.0.18 Not Starting
I just installed this version on Vista. When I run
startup.bat, Tomcat is not finishing loading.
What makes you think that? What's shown in your log is exactly what one would
expect to see.
Dec 9, 2008
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
SKantS,
SKantS wrote:
Also, I have redirected all my requests for port-80 to port-443.
How did you do this?
Except, when I open the http://localhost/APP_NAME/j_security_check page it
does not get redirected and stays on http. This is the only
From: andrew [mailto:[EMAIL PROTECTED]
Subject: Re: service.bat install failure (Windows, v 6.0.18)
I do have a *wild* guess that this problem has something to
do with userid that the tomcat service uses to Log On As.
Usually this is something like, Local System
It's Local System.
Perhaps
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Form Based Authenticattion - j_security_check
does not redirectfrom http to https
SKantS wrote:
Also, I have redirected all my requests for port-80 to port-443.
How did you do this?
And if you did it via any means other
I would like a web application to read in some data from a text file (I tried
using .class.getResourceAsStream). I am not sure how to write the
context.xml file. Also would the solution be the same if I am using a
hibernate.cfg.xml file to talk to my database? I should also say that my web
Rainer Jung schrieb am 09.12.2008 um 22:17:16 (+0100):
I'm looking forward to httpd 2.4 with mod_luau aka mod_wombat, an
embedded Lua interpreter that has access to httpd objects (like the
request object) and will allow us to inject custom logic e.g. for
balancing and error reaction.
[OT]
Is this some would-be turing machine babbling away or is there are
genuine question here?
On Wed, Dec 10, 2008 at 00:31, tomkitten [EMAIL PROTECTED] wrote:
I would like a web application to read in some data from a text file (I tried
using .class.getResourceAsStream). I am not sure how to
Hi Chuck,
Thanks for all the rapid responses. I guess it's good to know that I
haven't done anything blatantly stupid; unfortunately, I don't seem to be
closer to a solution.
What account owns Tomcat's bin directory?
File/Directory permissions was another one of those things I checked
From: Kees de Kooter [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat resources
Is this some would-be turing machine babbling away or is there are
genuine question here?
Might be time to repost Andre's list...
http://marc.info/?l=tomcat-userm=122823060425367w=2
- Chuck
THIS COMMUNICATION
From: andrew [mailto:[EMAIL PROTECTED]
Subject: Re: service.bat install failure (Windows, v 6.0.18)
It is the Administrator account.
Just for the sake of trying something, use a different account that is a member
of the Administrators group.
I assume Local System is the default.
It is.
Sorry if the question is unclear.
How can I use a hibernate.cfg.xml (hibernate configuration) as resource in a
war file? What needs to go into the Context.xml?
Thanks
Caldarale, Charles R wrote:
From: Kees de Kooter [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat resources
Is this some
Hi Peter,
ped wrote:
The problem occurs if I set max threads to N and execute the above loop N+1
or more times (where N is a small number like 3 or 4). I see Tomcat threads
sitting in c3p0 code waiting for a connection. There is no thread handling
the incoming commit calls (step 3 above). The
Hi Michael,
Michael CC wrote:
I just installed this version on Vista. When I run startup.bat, Tomcat is not
finishing loading. It just hangs there. Here is a copy of my log. Any
suggestions?
Dec 9, 2008 4:46:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache
I am already running Apache Webserver on 8080. I changed the Connector Port
to 8088 in the Server. xml file. When I test the service by calling
http://localhost:8088/ I get the Internet Explorer cannot display the
webpage.
Kirk True wrote:
Hi Michael,
Michael CC wrote:
I just installed
Tomcat does not return any error - any requests after I have exhausted the
pool,, are sitting in a wait state waiting for a DB connection to be freed.
No DB connections will be freed because the requests from the client that
are trying to perform commits (thereby freeing a DB connection) are not
Seems odd the way the server.bat file never closed gracefully. When I check
Services in the Windows Task Manager, I don't see any service running. I
tried to run the Service.bat install as well and it gave me a Failed
Installing Tomcat service error. Something is not right here.
Caldarale,
From: Michael CC [mailto:[EMAIL PROTECTED]
Subject: RE: Apache Tomcat 6.0.18 Not Starting
Seems odd the way the server.bat file never closed gracefully.
There is no server.bat file; did you mean service.bat or startup.bat?
When I check Services in the Windows Task Manager, I don't
see any
Installing the keystore is almost certainly not what you want to do if you
are fronting with Apache. You need to configure Apache to do the SSL using
the mod_ssl docs. If (as it seems from the log) you are using AJP/1.3 (aka
mod_jk/mod_proxy_ajp), then no additional configuration may be
From: ped [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat thread pool question
No DB connections will be freed because the requests from the
client that are trying to perform commits (thereby freeing a DB
connection) are not being processed by Tomcat.
Tomcat doesn't process requests - your
From: tomkitten [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat resources
How can I use a hibernate.cfg.xml (hibernate configuration) as
resource in a war file? What needs to go into the Context.xml?
Possibly nothing. GIYF:
http://www.hibernate.org/114.html
- Chuck
THIS COMMUNICATION MAY
Hi all,
I'm now using tomcat6.0 as my app server. Then how can I disable tomcat's
url rewriting forcely? I've tried several ways, eg. put a context.xml in
folder META-INF with the following content:
?xml version='1.0' encoding='UTF-8'?
Context path='/app' cookies='true'
!-- other settings --
From: 田标 [mailto:[EMAIL PROTECTED]
Subject: How to disable tomcat url rewriting
Then how can I disable tomcat's url rewriting forcely?
What do you mean by tomcat's url rewriting? Are you referring to appending
JSESSIONID to any URLs returned? This thread discusses some alternatives:
Dec 10, 2008 9:33:43 AM org.apache.catalina.startup.Bootstrap
initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at
From: rajesh202023 [mailto:[EMAIL PROTECTED]
Subject: tomcat not starting up
please let me know what is the problem
You mean besides not telling us the version of Tomcat you're using or how
you're trying to run it?
Looks like either conf/catalina.properties is corrupted, or you started
64 matches
Mail list logo