Sourceforge.net may be your answer (search for e-commerce).
The latest spring framework also contains a very simple shopping cart
app called jpetstore as an example. It works well on Tomcat.
http://www.springframework.org.
ND
-Original Message-
From: Kyle [mailto:[EMAIL PROTECTED]
Se
Hmm, I see from all the org.apache.catalina.Realm implementations that
come with Tomcat, that authenticate(user,pass) is already there - but I
currently don't know how to gain access to the Realm service from within
a servlet/jsp (where my controller might be)... and it seems to me that
it ma
The initial posting sounds like an EJB question instead of one that is
Tomcat related. Tomcat is considered a web application server and it
uses session objects (HttpSession) to represent user sessions. It
doesn't handle EJBs at this point. Session beans are exclusive terms
for EJB servers (e.g.
Ken Johanson wrote:
Is there another commonly used (perhaps not distib'd with tomcat)
implementation of Realm that allows a more programmatic type of
authentication?
I know that a couple other servers provide something like a
boolean .authenticate(String user, String pass), which
checks agai
> From: Chris Pat [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5 ssl w/multiple IPs
>
> Sorry for the naivete of this question, but do I
> really need to a dedicated NIC for each of the static
> IPs I want run SSL sites on? Cant I just use a subnet
> mask or slap the NIC in promiscuous mode for a
Is there another commonly used (perhaps not distib'd with tomcat)
implementation of Realm that allows a more programmatic type of
authentication?
I know that a couple other servers provide something like a
boolean .authenticate(String user, String pass), which
checks against the predefined (w
Hello
Sorry for the naivete of this question, but do I
really need to a dedicated NIC for each of the static
IPs I want run SSL sites on? Cant I just use a subnet
mask or slap the NIC in promiscuous mode for all IPs
in a range? How do hosting farms do it? They cant
have dedicated NICs for all th
Caldarale, Charles R wrote:
From: Ken Johanson [mailto:[EMAIL PROTECTED]
Subject: Re: Unable to override doPut(), etc, from Tomcat's
JSPServlet (response 403)
Perhaps tomcat 5 outright prohibits PUT and other methods from even
getting to _jspService (or JspServlet in general)??
There's a c
> From: Thom Hehl [mailto:[EMAIL PROTECTED]
> Subject: Re: Path issues
>
> I think, though, that tomcat should be consistent in the way
> it handles things. Tomcat on Unix should behave like tomcat
> under windows. Inconsistency is a real problem here.
No, dependency on any behavior not define
> From: Thom Hehl [mailto:[EMAIL PROTECTED]
> Subject: Re: Threads and SocketException
>
> The issue is that this works just fine when not running inside of
> Tomcat. Any ideas what runing inside of a servlet
> context-spawned thread can cause this kind of error?
A connection reset exception i
I think, though, that tomcat should be consistent in the way it handles
things. Tomcat on Unix should behave like tomcat under windows.
Inconsistency is a real problem here.
Wendy Smoak wrote:
On 1/14/06, Thom Hehl <[EMAIL PROTECTED]> wrote:
Wanted to run this by the list before turning
> From: Thom Hehl [mailto:[EMAIL PROTECTED]
> Subject: Re: Spawning a thread
>
> Can you point me to some documentation about context listener
> threads?
Context listeners are classes, not threads. The servlet spec is the
definitive doc, but there's not a great deal of how-to in there:
http://
On 1/14/06, Thom Hehl <[EMAIL PROTECTED]> wrote:
> Wanted to run this by the list before turning this in as a bug.
>
> I'm running the following servlet fragment...
> public void doGet(HttpServletRequest request,
> HttpServletResponse response)
> throws IOException,
Wanted to run this by the list before turning this in as a bug.
I'm running the following servlet fragment...
package rex;
/*
* Copyright 2006, Heavyweight Software. All rights reserved.
*/
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.Servle
Just to clarify, George wasn't talking about a "context listener
thread". I suppose there *technically* is such a thing, but what he was
referring to is spawning a thread *from* a context listener. Subtle
semantic difference, but it completely changes the meaning :)
Frank
Thom Hehl wrote:
C
Hi All
First time poster, long time user of TomCat. I have downloaded the source
from tomcat.apache.org and have started the ant build process and I am now
getting a number of errors regarding the fact that some .tar.gz files are
not valid. I discovered that the site in the build.properties file
(
"Wendy Smoak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 1/14/06, Venkat & Radha Venkataramanan <[EMAIL PROTECTED]>
wrote:
>> I have an Pharma J2EE application developed using the Struts framework
>> running on a weblogic 6.0 server (yes, and it's only 3 years old!).
>>
>> W
On 1/14/06, Venkat & Radha Venkataramanan <[EMAIL PROTECTED]> wrote:
> I have an Pharma J2EE application developed using the Struts framework
> running on a weblogic 6.0 server (yes, and it's only 3 years old!).
>
> We are upgrading to weblogic 9.0 since 6.0 is no longer supported by BEA.
> And, I
Hello:
I have an Pharma J2EE application developed using the Struts framework
running on a weblogic 6.0 server (yes, and it's only 3 years old!).
We are upgrading to weblogic 9.0 since 6.0 is no longer supported by BEA.
And, I learnt that 9.0 supports only Struts 1.2.x.
Does anybody gone through
Thom Hehl wrote:
Can you point me to some documentation about context listener threads? I
have no idea what you're talking about.
Just a simple overview of application Events and Listeners, but it
should give you the idea:
http://e-docs.bea.com/wls/docs70/webapp/app_events.html#175768
Cheer
The issue is that this works just fine when not running inside of
Tomcat. Any ideas what runing inside of a servlet context-spawned thread
can cause this kind of error?
Wade Chandler wrote:
--- Thom Hehl <[EMAIL PROTECTED]> wrote:
OK, I'm using tomcat and a sevlet to launch a
background
Can you point me to some documentation about context listener threads? I
have no idea what you're talking about.
Thanks.
George Sexton wrote:
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 1:20 PM
To: Tomcat Users List
Sub
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 14, 2006 1:20 PM
> To: Tomcat Users List
> Subject: Re: Spawning a thread
> risks. But, if you have something like a background process
> that isn't
> tied to a request, with the cav
--- Thom Hehl <[EMAIL PROTECTED]> wrote:
> OK, I'm using tomcat and a sevlet to launch a
> background process in a
> separate thread. It seems to launch just fine, but
> after it runs for
> maybe 30 seconds it dies, spitting out this error:
>
> java.net.SocketException: Connection reset
> a
OK, I'm using tomcat and a sevlet to launch a background process in a
separate thread. It seems to launch just fine, but after it runs for
maybe 30 seconds it dies, spitting out this error:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at ja
Most of the time people will tell you "don't do it", but don't get any
more specific than that. Generally-speaking, spawning a thread to
process a request is somewhat of a bad idea because the container is not
responsible for managing the thread and therefore you run some extra
risks. But, if
The only one that I'm aware of is that if you don't setDaemon(true), then
shutting down tomcat will hang until the thread completes.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Thom Hehl [mailto:[EMAIL PROTECTED]
> Sent:
Isn't there a caveat about spawning a new thread inside of a servlet?
Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby
-
T
That's an interesting question... looking at the code I wrote in Java
Web Parts for the getSessionSize() method, I'm only taking into
consideration the fields of the objects in session. I think this is OK
because IIRC, when an object is serialized, only the non-transient
values are considered.
Hi. i have requirement to get Users in LDAP using the realm information give in my application xml file museadmin.xml ( i have attached this file) i want to get JNDIRealm information , i will use real object to get information like getConnectionURL etc. I have seen code give bel
When calculating the size of a session bean to determine memory usage,
what should be included and how is this done? Do the number of methods
matter? The size of the code? Just the variables? I've read much about
limiting the size of the session information but not how to do it. I
have some fai
> -Original Message-
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 13, 2006 8:51 PM
> To: 'Tomcat Users List'
> Subject: RE: connection pooling mysql (Pool Exhausted exception)
>
> I received a similar (identical?) error when I was first
> starting up, and
>
Ken-
This is the benefit of using an OOA/OOD framework!
you COULD setup a scenario such as
MyServlet extends BaseServlet (which may handle dynamic resources)
BaseServlet extends DefaultServlet (which may handle static resources)
DefaultServlet handles everything else
here is an example where se
I had a problem because I had both an apache Auth directive and the tomcat
authentication on the manager app - I'd get the popup login from apache,
then from tomcat, then apache again, then the page would hang.
Removing the Auth directive in apache enabled me to login using just my
tomcat login.
Hey,
I think you must implement your own Membership service.
Then you can use a TCP Ping strategie.
Regards
Peter
Am 14.01.2006 um 00:32 schrieb Gmail User:
Has anyone implemented some replication strategy for Tomcat on WAN. It
is my understanding that the regular replication mechanism that
I am trying to install a new version of my application war
I tried various ways, using the HTML manager, including removing the
application and then installing by uploading a new war file, but all of them
seemed to screw up one way or the other.
The option I mention above (complete re-install)
36 matches
Mail list logo