of view. And I
want to talk about tomcat here.
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
Fone/Fax.: (51)32303328
-- Original Message ---
From: James Chuang [EMAIL PROTECTED]
To: Tomcat
How can i set the default locale of my application? There is a system
property to do that? I can't find it anywhere, and need to set mine to
pt-BR locale.
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
, PT));
You may also want to set the TimeZone in a similar manner.
Felipe Schnack wrote:
How can i set the default locale of my application? There is a system
property to do that? I can't find it anywhere, and need to set mine to
pt-BR locale
So
java _Duser.country=pt_BR?
On Thu, 2003-02-27 at 15:23, Kris Schneider wrote:
You can try setting the user.language and user.region system properties at
startup. Where user.region can be country, country_variant, or _variant.
Quoting Felipe Schnack [EMAIL PROTECTED]:
Yes
();
}
return false;
}
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
PROTECTED]
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 11:01 AM
To: Tomcat Users List
Subject: instance of (ot)
I would like to use instanceof's keyword funcionality.
The problem is that I want to test
]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51
-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 12:44 PM
To: Tomcat Users List
Subject: Re: Loading Singleton Classes
Or even
public static final Singleton s = new Singleton();
:-)
On Thu, 2003-02-20 at 17:43, Tim Funk wrote:
Actually
for the noise)
PostgreSQL may be a lively project, but the JDBC driver is not :-(
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL
: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 1:47 PM
To: Tomcat Users List
Subject: Re: [OT] free Database with Transaction (Sorry for the noise)
Oracle is expensive to buy, expensive to hire a DBA...
and well, in windows the installation is okay
-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
Hey, there is a plataform-independent way to set file permissions in
java? Or I have to call chmod/attrib?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone
I'm unable to undertstand a JSPC concept...
If I generate my JSP's java sources and binaries, I can include the
-webinc parameter to make jsp generate a file with servlet declarations
for all my web pages...
That's ok, but how I include this to my web.xml?
--
Felipe Schnack
Analista de
think TC was okay though).
You could also perform some sort of merge during your build process (probably
Ant based).
Quoting Felipe Schnack [EMAIL PROTECTED]:
I'm unable to undertstand a JSPC concept...
If I generate my JSP's java sources and binaries, I can include the
-webinc
a token @WEBINC@ that you will relpace with
the contents of weninc.xml.
hope his helps,
-robert
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: repost: jspc webinc.xml
Date: 18 Feb
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL
...
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
-
To unsubscribe
:63)
at
org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java)
at com.w2.infra.db.DbVector.next(DbVector.java:141)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
- Original Message -
From: Felipe Schnack [EMAIL PROTECTED]
To: pgsql-jdbc [EMAIL PROTECTED]; Tomcat Users List
[EMAIL PROTECTED]
Sent: Monday, February 10, 2003 04:45
How I retrieve the URL an HttpServlet instance is mapped to?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
particular
servlet,
give us the scenario where you would like this info and how?
Filip
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:58 AM
To: Tomcat Users List
Subject: servlet URL
How I retrieve the URL an HttpServlet
instance.
so by default the servlet is a singleton.
and for the other objects, give them the url through a config file
Filip
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 11:11 AM
To: Tomcat Users List
Subject: RE: servlet URL
determine after my servlet is first called, right?
Anyway, how I would do that? Getting all bytes from the string from
the beginning 'till the end or '?' character?
On Fri, 2003-02-07 at 17:20, Erik Price wrote:
Felipe Schnack wrote:
I'm writing a servlet that requires to be a Singleton
Take a look at the following code
GregorianCalendar cal = (GregorianCalendar)Calendar.getInstance();
cal.set(2000, Calendar.FEBRUARY, 1);
System.out.println(cal.isLeapYear(2000));
Shouldn't false be printed on the screen? I see true here in my
machine :-)
--
Felipe Schnack
Analista de
== null)
{
INSTANCE = this.getClass().newInstance();
}
}
}
return INSTANCE;
}
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax
-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 11:21
To: Tomcat Users List
Subject: singleton creation (ot)
I was wondering... this code is valid to avoid excessive use of
synchronized code? I think so, but we never know :-)
This is the default getInstance
that the
semantics
of volatile have been changed to make double-checked locking work.
I'd love to hear different, or if anyone is aware of anything upcoming
to
make the issue more obvious/go away...
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: 05 February
find anything that suggests that the
FS semantics
of volatile have been changed to make double-checked locking work.
I'd love to hear different, or if anyone is aware of anything upcoming
FS to
make the issue more obvious/go away...
-Original Message-
From: Felipe Schnack
Man... you're actually completely right! I CAN instantiate all of them
at startup! :-
(these classes must be referenced in an config file, so it's ok)
Thanks!
On Wed, 2003-02-05 at 16:58, Will Hartung wrote:
From: Felipe Schnack [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 4
it is put back in the pool.
Totally and completely false. Please go back and read the JSP Spec. The
page will call release() before the tag is released to GC, and for no other
reason.
Now I'm really convinced that I should use doFinally()
--
Felipe Schnack
Analista de Sistemas
[EMAIL
.
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
-
To unsubscribe, e-mail
, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
I was thinking... Gary McGath, if I understood well what you said it's
possible that a container will call the same tag instance
concurrently???
This would be a real problem, as if this happens, you couldn't believe
even in your pageContext, etc variables!
--
Felipe Schnack
Analista de
. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 1:01 PM
To: Tomcat Users List
Subject: more about custam
it was intended for cleaning resources like
database connections, etc but I don't see any reason to create yet
another method just for tag reuse
On Mon, 2003-02-03 at 17:00, Will Hartung wrote:
From: Felipe Schnack [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 10:12 AM
Subject: RE: more about custam
. 258 / Fax 202-463-4863
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro
conclusion about my experience and all this debate is that I should
always initialize tag attributes with null, and reset them in
doFinally()...
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
... so this is standard behavior? release() is called after
doEndTag() in all containers that use pooling?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax
, it will have to generate a call to
setBaz(b) in between.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51
{
try
{
INSTANCE = (Singleton)this.getClass().newInstance(); --- ???
}
catch (Exception e) {}
}
private Singleton()
{}
public Singleton getInstance()
{
return INSTANCE;
}
}
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe
There must be an easier way.. seems like a greate security breach...
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328
-- Original Message
?
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro
If I write an servlet and DO NOT implement the SingleThreadModel, I
have a guarantee that I'll have only one instance of it? If not, here is
a way to do this?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos
.
Yoav Shapira
Millennium ChemInformatics
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
.
Craig
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL
Shapira
Millennium ChemInformatics
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 4:19 PM
To: Tomcat Users List
Subject: RE: servlets
yes, I know how to do it (private constructor, etc), but how tomcat
will call an getInstance
.
Can you post a snippet of code that shows what you're trying to do and why
you're trying to make your Servlet a Singleton? Maybe someone will have a
suggestion.
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management
--
Felipe
possible, but why is it
necessary?
Regards,
Will Hartung
([EMAIL PROTECTED])
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter
, whatever)
3) webapp goes away (dies, gets shutdown, whatever)
4) webapp restored
5) Client deserialized.
Which version of the singleton does the Client then use? ;)
Felipe Schnack wrote:
If I write an servlet and DO NOT implement the SingleThreadModel, I
have a guarantee that I'll have only
of behavior if we simply declare all class methods/fields as
static?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
--
To unsubscribe, e
of your Servlet.
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
at this moment?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
Hey guys...
i'm doing something wrong or if when you set an request attribute and
then do a RequestDispatcher.forward() you lost your new attribute?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
tomcat doesn't handle
your traffic volume as well as you'd like...
Yoav Shapira
Millennium ChemInformatics
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51
- Original Message -
From: Felipe Schnack [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 5:46 PM
Subject: RE: Single Servlet vs Multiple Servlet
Yes, I think there's no reason why you should implement
your application hand
]
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 6:43 AM
To: Tomcat Users List
Subject: requestdispatcher
Hey guys...
i'm doing something wrong or if when you set an request attribute and
then do a RequestDispatcher.forward
]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
--
To unsubscribe, e-mail: mailto
clean for me... much like get an array of objects, who will know what
he/she will find in each index?
Your idea is to have field name as the keys in the map?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
Anyone could explain me what's the purpose of the MBeanServer in
Tomcat 4.1.x? I'm just starting to study JMX and I'm very curious :-)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
Hey guys...
I was wondering, how can make my servlet, for instance, list all files
in its application WEB-INF directory?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL
Anyone have a quick-and-dirty how-to create a keyed object pool using
commons-pool JAR?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
Hey all
do you believe is safe to use singletons to share data between
servlets? Using servletcontext seems just too ugly for me :-)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
I have a servlet that generates pdf files on the fly
but when the browser opens the save as... dialog, the suggested
default filename is my servlet's URL... I would like it to suggest
another file name, how can i do that?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51
ago on this list.
Regards,
Cédric
- Original Message -
From: Felipe Schnack [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 11:37 AM
Subject: file name
I have a servlet that generates pdf files on the fly
but when
-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
...
This was working with version 4.1.12...
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
--
To unsubscribe, e-mail: mailto:[EMAIL
Please, someone ever used jasperreports with tomcat? I need urgent
help, I would like to discuss about it off the list (it's too much
off-topic, I guess)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
it from there to common/lib or my
Tomcat stops working.
What can I do??
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
to allow access?
Thanks,
Rick
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http
.method1();
class2.method2(new ByteArrayInputStream(baos.toString().getBytes()));
Please, there is another way, isn't it? :-))
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51
Anyone know a good and easy to use framework to generate pdf reports?
I just need simple formatting (fonts, tables, etc) and some simple
charts (pie and bar reports)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter
, then maybe
simply
a judicious use of the objects would be better. Say, rather than using
a
generic object pool, simply creating the few necessary instances for
your
loop before hand and reusing them explicity within the loop rather than
constantly creating new ones.
--
Felipe Schnack
Analista de
, shouldn't I? Or maybe the effort doesn't pay?
On Mon, 2002-12-23 at 18:52, Tim Moore wrote:
-Original Message-
From: Felipe Schnack [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 2:52 PM
To: Tomcat Users List
Subject: Re: Object Pooling
I'm rewriting this reply
a
generic object pool, simply creating the few necessary instances for your
loop before hand and reusing them explicity within the loop rather than
constantly creating new ones.
Regards,
Will Hartung
([EMAIL PROTECTED])
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux
PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
:-)
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail
the session attributes, on the session
object. It's generally good practice to minimise the amount of code that
needs to be synchronised (and the time it takes) for performance reasons.
Mike.
- Original Message -
From: Felipe Schnack [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
Ok, thanks a lot!
On Wed, 2002-12-18 at 09:29, Mike W-M wrote:
Yep, that's the problem!
Try keeping a list of the names that you want to remove until you've
finished iterating the loop, then remove them all at once?
Mike
- Original Message -
From: Felipe Schnack [EMAIL PROTECTED
, but it seems it works :-)
Thank you all!
On Wed, 2002-12-18 at 15:49, Craig R. McClanahan wrote:
On 18 Dec 2002, Felipe Schnack wrote:
Date: 18 Dec 2002 09:12:20 -0200
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
...
The strangest thing is that a developer here get this error when he
reloads a page, but it doesn't happen when he press enter in the URL
bar... and this JSP file isn't the target of an HTML form... but
receives parameters from the query string
I'm using JDK 1.4.1 and Tomcat 4.1.12
--
Felipe
, telling me that ContainerServlet
interface was not found! Why this happens? This jar is in standard
Tomcat distribution...
BTW, I'm using Tomcat 4.1.12 on RedHat Linux 7.3
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos
and loop through
everyone else's session.
If you *really* want to do this:
1 - Look at the manager app because it does access the Sessions (at
least the count of them)
2 - Your webapp will need to have [privileged=true] in server.xml for
your webapp.
-Tim
Felipe Schnack wrote:
Hi all
this attribute set) I suggest being very careful since this can open
massive security holes (on your server) depending on your intentions.
-Tim
Felipe Schnack wrote:
Nice to know...
thanks a lot, but I should set which tag in server.xml? Context?
On Mon, 2002-12-16 at 15:19, Tim Funk wrote
**
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade
it, but the setup is a little complicated.
Thanks,
Fabio.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51
, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista
]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax
: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328
--
To unsubscribe, e-mail
collector will remove its
REFERENCE in the WeakHashMap object, but not necessarily the object,
correct?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328
is the keys, right? So, let's say I have a
WeakHashMap and a HashMap, both with the same key/value pairs. When I
remove an object from the HashMap the garbage collector will remove its
REFERENCE in the WeakHashMap object, but not necessarily the object,
correct?
--
Felipe Schnack
Analista de
[[EMAIL PROTECTED]]
Software Developer, ATMReports.com
PH: 877-327-0873, FAX: 406-294-5806
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTEC
Anyone here is a Brazilian user of tomcat and pgsql? I would like to
chat off-list with someone about dealing with problems about our
portuguese and this combination of applications...
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
There is a way I can access all currently active sessions from a servlet?
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328
--
To unsubscribe, e-mail
Hi all,
I know this is off-topic, but I just had a crazy idea and couldn't
find about it anywhere...
There is a way to modify/create java classes at runtime? I mean,
create plain new classes, or add attributes/methods to an existing, etc?
Maybe I'm asking for Java++? :-)
--
Felipe
... but that would kill my server, wouldn't it?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
1 - 100 of 181 matches
Mail list logo