Yeah, the difference is that Httpd calls:
apr_socket_opt_set(s, APR_SO_REUSEADDR, one);
on the Socket before binding it. That allows it to bind even though there
are still half-closed sockets on systems like Solaris.
About the only work-around is to hack the tcnative code, and recompile it.
"
Hi,
Since you are using OpenSSL, I am assuming you also want to use APR (Apache
Portable Runtime).
It is great for tomcat. I am using it right now.
I have posted message about how to do it. You can view it at:
http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html
The onl
Server = Windows 2003 Server w/Service Pack 1 (IIS Admin is running just
to host the IIS FTP Server, the World Wide Web Service is not running)
Tomcat version = 5.5.12
OpenSSL version = 0.9.8 (I believe)
jre1.5.0_05
I ordered a Geotrust QuickSSL cert for the common name
calendar.wheatoncollege.ed
Hi,
We are using Jboss 3.2.6 which is internally using Tomcat 5.0.28.We are
having problem in file upload .
We are not able to upload more than 2 MB file.
As specified in your link
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html we tried to set
maxPostSize attibute with different values
l
Hello
I need how to put subject information returned of lc.login() in webapp
context
int order to invoke getUserPrincipal and not retur null
LoginServlet.java
protected void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String username =
the real problem is in next sections we need to call secured ejbs
2006/1/27, Luis Gervaso <[EMAIL PROTECTED]>:
>
> yes
>
> i need to store information about only for authenticated users
>
> the scenario is:
>
> 1. anonymous request a secured resource
>
> 2. web container detects this is securend a
Lucio Ribeiro wrote:
>
> Hi, I'm new here i'm having problems with new versions of Tomcat.
>
> I was using tomcat 5.0.27 and i have a web application made in Java.
> My code has to get URL using the following code:
>
> String url = request.getRequestURL().toString();
>
> I use Struts a
Is it generally considered a bad idea to use
$CATALINE_HOME/conf/[enginename]/[hostname]/[application name.xml]
for site specific configuration parameters?
-Dennis
-Original Message-
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 1:11 PM
To: Tomcat User
yes
i need to store information about only for authenticated users
the scenario is:
1. anonymous request a secured resource
2. web container detects this is securend and show user a login form
3. user fill user / pass and click
4. automatically consult database and fill a complete user object
If you have your web resources (servlet, jsps) protected with
authentication, no users are able to access them without logging in
first.
ND
-Original Message-
From: Luis Gervaso [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 1:00 PM
To: Tomcat Users List
Subject: Re: Applicatio
Hi, I'm new here i'm having problems with new versions of Tomcat.
I was using tomcat 5.0.27 and i have a web application made in Java.
My code has to get URL using the following code:
String url = request.getRequestURL().toString();
I use Struts and my URL is
http://localhost:8080/ter
Hopefully this is an easy question...
I'm trying to stop the file
$CATALINE_HOME/conf/[enginename]/[hostname]/Monitor.xml from being
deleted whenever someone undeploys our Monitor web app. Is this in the
realm of possibilities?
-Dennis Klotz
-
I need to call database only whe user login with j_security_check
It's is valid other users have a session in the application but they are not
authenticated (guest users)
regards
2006/1/27, Duan, Nick <[EMAIL PROTECTED]>:
>
> One option is to create your own HttpSessionListener and implement the
One option is to create your own HttpSessionListener and implement the
method sessionCreated(), where you can add objects to HttpSession.
Please refer to the javadoc of javax.servlet.http.HttpSessionListener
API for more details.
ND
-Original Message-
From: Luis Gervaso [mailto:[EMAIL PRO
After reading apache doc and code I finaly fix my problem. It is a
solution for my case only. But it may be interesting for someone...
All my site need authentification so i put this section in
my access.conf:
AuthType Basic
AuthName www
AuthUserFile /usr/local/apache/etc/passwd
require val
I'm meeting the dude in Middleton @ 11:00 AM Sat.
You still want to go?
If so, I can be at your place around 10:00.
Jess's coming too.
On Fri, 2006-01-27 at 11:32, Mark Birenbaum wrote:
> I had a similar sounding problem (although I experienced it with all
> versions of Tomcat).
>
> (Forgive me
Hello,
I need help about making this...
when an user login using form-based authentication i need retrieve a user
objet from database and
store it in his httpsession
regards
I had a similar sounding problem (although I experienced it with all
versions of Tomcat).
(Forgive me if I repeat information you're already familiar with)
I was running into a concurrent users issue. Tomcat keeps one thread
open for each user
when you have HTTP keep alive enabled. So the sy
Frank W. Zammetti wrote:
>On Fri, January 27, 2006 8:11 am, David Smith said:
>
>
>>I will say I have used their products to develop solutions in the past
>>and it's ... well ... interesting. The stuff works well when you know
>>how to use it. Unfortunately I found their docs no where near th
Hi,
yesterday I switched our web app from Tomcat 5.0.28 with Java 1.4.2 to
Tomcat 5.5.12 with Java 1.5. We have two applications, each with 250
users. Tomcat 5.0.28 is a little slow, but has no problem to handle 500
users. With Tomcat 5.5.12/JVM 1.5 the limit is 100 - 130 users. Any
additional use
On Fri, January 27, 2006 8:11 am, David Smith said:
> I will say I have used their products to develop solutions in the past
> and it's ... well ... interesting. The stuff works well when you know
> how to use it. Unfortunately I found their docs no where near the
> quality of Tomcat or Java whic
Spawning your own threads in a web app is usually not recommended. The
correct way is to create and use a JMS message listener, like in Jakarta
common messenger. http://jakarta.apache.org/commons/sandbox/messenger
I am not sure how easy it is to integrate with Tomcat 5.
ND
-Original Messag
Hello,
I'm a relative newbie to CruiseControl, however I have managed to
install and configure the application and get my project building.
However, what is apparent to me is that for each build, the previous
build is deleted and overwritten with the new build ( there is no
persistance ).
What I w
Thanks for your help!
I analyzed the whole thing again and I see no need to
share my classes. Your idea about Ant scripts sounds
really good to me (but I'll maybe go maven).
Cheers,
Danny
Caldarale, Charles R wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
Subject: Sharing
On 1/27/06, Boris Unckel <[EMAIL PROTECTED]> wrote:
> Hello Remy,
>
> nice to hear from you.
> O.K. So this problem is not solvable in JULI/x4juli. Is there a chance to
> initialize JUL (independently from any other backend) early enough in the
> bootstrap process?
> Second: How can we check Tomcat
I added the Listener you mentioned to server.xml, but I'm still seeing
the issue. The problem is happening when run the shutdown.sh. I can
understand if things aren't all clean and tidy if Tomcat crashed, but
you shouldn't have to wait 4 minutes to restart Tomcat after a planned
shutdown. Apache
Hi,
I know we are not supposed to do this but is there a big inconvenience
to do asynchronous message consuming in tomcat 5+ (by spawning a daemon
thread for my message listener ?)
Is it true that if a I create a thread on my own I won't have access to
the tomcat JNDI context ?
I ask this becau
hello
can any on tell me how to use j_username & j_password in
j_security_cheched
thanks
Hello Remy,
> --- Ursprüngliche Nachricht ---
> Von: Remy Maucherat <[EMAIL PROTECTED]>
> This sort of problem is always the same. The component (here, the
> realm; earlier, I think it could occur with a valve as well) calls
> container.getLogger way too early (and needlessly, as you can see in
>
On 1/26/06, Boris Unckel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I will try to fix this. Please post a bugzilla record with here at
> Apache (please post the id in this thread).
> Another good place for this special bug is
> http://developer.berlios.de/bugs/?group_id=5430
> of x4juli - http://www.x4ju
Most of the observations I've seen in this thread are based on
Microsoft's marketing. Something that should be taken with more than
just a grain of salt. Just look at what they did at their own
anti-trust trial here in the US a couple of years ago when they
purposely sabbotaged comparison tests o
yes it does. As of version 5.5.12 (I think it was...) Tomcat uses the new
Eclipse JDT compiler which is Java5.0 compliant.
/Thomas
gupta vidhi <[EMAIL PROTECTED]>
27-01-2006 13:49
Besvar venligst til "Tomcat Users List"
Til:Tomcat Users List
cc:
Vedr.: does
hello,
i'm facing these errors whenever i'm running my JSP page. :
-org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Syntax error on token(s), misplaced construct(s)
..
i'm not using servlet but then also the serv
Regarding the Petshop, there was a great deal of discussion about it on TSS
a few months ago.
In fact, apparently, the petshop on the Java side wasn't designed to be
efficient, just a show case. Which, we agree, is quite a shame.
However, further points where disturbing :
- versions of the databa
Boris,
ASF Bugzilla # 38415
BerliOS bug # 006212
Both with a subject of
"JULI logs to catalina.date.log if no in "
have been submitted.
If I can help (e.g. try some new code on my dev server, etc.) please let
me know. Your help is appreciated.
Sincerely,
Craig
> -Original Message-
>
ok,
Now I understand.
I'll try to get this added to the "Jakarta Tomcat Connector - Apache HowTo"
page that comes with tomcat.
Thanks for your help.
Greetings,
Luc
> -Original Message-
> From: Mladen Turk [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 27, 2006 10:23
> To: Tomcat U
Carpentier Luc (Uniway) wrote:
You are completely right!
The option that was causing the trouble was:
JkOptions -ForwardURICompat
Right, at least one ForwardURIxxx is required.
So...
JkOptions -ForwardURICompat +ForwardURIEscaped
should work, as well as:
JkOptions -ForwardURI
You are completely right!
The option that was causing the trouble was:
JkOptions -ForwardURICompat
the original line I sent earlier was:
JkOptions +ForwardKeySize -ForwardURICompat +ForwardDirectories
The docs tell me that by default this option is on and that is should only
be used f
Carpentier Luc (Uniway) wrote:
Ok,
[Fri Jan 27 08:24:52 2006] [1532:3412] [error] mod_jk.c (1932): Could not
init service for worker=wlb
[Fri Jan 27 08:26:31 2006] [1532:3828] [debug] mod_jk.c (1761): Shmem
cleanup
This means that the service failed to initialize and child exited.
The service
39 matches
Mail list logo