[JBoss-user] [Javassist user questions] - Re: javassist tries to call a method with wrong return type

2004-11-03 Thread Bill Burke
try downloading a decompiler, outputtting the created class to a .class file and then 
viewing the code in the decompiler.  Then, you would see the error.



Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853800#3853800

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853800


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - synchronized

2004-10-27 Thread Bill Burke
hey, can javassist support synchronized blocks?  Is it too hard to implement?

Thanks,

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852999#3852999

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852999


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Can I run JBoss4 on JDK1.5

2004-10-20 Thread Bill Burke
yes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852097#3852097

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852097


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: porting workbook examples 04_01 from jboss/hsqldb to jbo

2004-10-05 Thread Bill Burke
You'll have to go to the MySql database manager and drop the tables yourself.

I've never used mysql, but there should be a GUI manager or sql prompt like oracle.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850481#3850481

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850481


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Problem with workbook example ex15_1

2004-10-05 Thread Bill Burke
I need to update 15_1.  Apologies for the delay and such.  We're trying to arrange 
with O'Reilly where the examples files are hosted on sourceforge so that we can update 
them easier.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850480#3850480

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850480


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBoss4 + Java5

2004-10-01 Thread Bill Burke
5.0 is fine out-of-the-box with JB4.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850128#3850128

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850128


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Why upgrade to JBoss 4 - need some help justifying it.

2004-09-22 Thread Bill Burke
If you're using JBoss 3.0.x series, you should at least move to JBoss 3.2 series.  
There have been over 2 years of performance and bug fixes since the 3.0 series.

4.0 is fully J2EE compliant which is where it differs from the 3.2 series.

3.2.x series has been mostly kept in synch feature wise with JBoss 4.0 except the J2EE 
1.4 compliance stuff.  3.2.x is marked as maitenance only now.  Only 4.0 will contain 
new features.  

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849186#3849186

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849186


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-07-13 Thread Bill Burke
Yeah, somebody else complained tooO'Reilly is working on it.

Sorryl

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841937#3841937

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841937


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - EJB 4th Edition + JBoss Workbook now published

2004-07-13 Thread Bill Burke
I'm happy to announce that the JBoss workbook has finally been published and included 
with O'Reilly's EJB 4th edition.

http://www.oreilly.com/catalog/entjbeans4/index.html

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841881#3841881

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841881


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: ex 12_1 public abstract getHomeAddress() auto generated

2004-07-12 Thread Bill Burke
Customer is a CMP bean.  You'll see in ejb-jar.xml that cmp-fields are defined.  This 
abstract method corresponds to a cmp-field.

At deployment time, JBoss automatically generates an implementation of your CMP bean.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841794#3841794

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841794


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: cacheing homeinterfaces in a clustered environment

2004-06-24 Thread Bill Burke
One more thing.  Why does it work this way?

We did not want clients to be involved with any multicast protocol as they may be on a 
WAN or communicate through a firewall

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839832#3839832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839832


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: cacheing homeinterfaces in a clustered environment

2004-06-24 Thread Bill Burke
A proxy must have at least one available target to communicate to get its list 
refreshed.

The list gets refreshed on a successful response to a successful EJB invocation.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839830#3839830

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839830


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: ZipException trying to run any web app (including jmx-co

2004-06-21 Thread Bill Burke
Ok, this is fixed for Tomcat 5 and releases GREATER than:

JBoss 4 DR4
JBoss 3.2.4

So it will be fixed for TC5 in JBoss 4 Beta1 and JBoss 3.2.5 (or any RC of 3.2.5)




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839436#3839436

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839436


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Why not call getLockManager.removeLockRef?

2004-05-21 Thread Bill Burke
Actually this is EJB stuff.  He's looking into code.

Keep it up liu.  Good work

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835809#3835809

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835809


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: O'Reilly Enterprise JavaBeans 4th edition and JBoss 4.0

2004-05-19 Thread Bill Burke
EJB Workbook for JBoss 4.0 lwill be included with EJB 4th edition in print.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835558#3835558

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835558


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why one-way mapping between forums and mailing list?

2004-04-01 Thread Bill Burke
Just wanted to say that the forum/email list integration has been 
extremely helpful for me at least.  I never, ever read the forums, and 
now I do because I am pushed questions, rather than polling.  We did the 
email integration because it made it easier on us to answer questions 
and call attention to questions each of us knows how to answer.

What you can do, is unsubscribe to this general list and subscribe to 
only the forums you want to receive email from.

Bill.

P.S.  Dustin, as long as you are fair in your venting, vent as much as 
you want!  We do work hard to give you a free product and sometimes free 
support on the forums and email lists and I hope you realize that.

Scott M Stark wrote:

I'm sorry you feel that way, but the original comment stands. We use the forums
and lists to serve the users and having them decoupled is of no use to us. We
are not going to wait until the forums have bidirectional integration with mail,
which is in the works as part of the Mail Services project:
http://jboss.org/wiki/Wiki.jsp?page=MailServicesPlan. 
There are no plans to make the list function to your preference in the interim.
Rest assured, they work in accordance with the preferences of the most active
contributors to JBoss.


Scott Stark
Chief Technology Officer
JBoss Group, LLC
  


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Barlow, Dustin
Sent: Thursday, April 01, 2004 9:20 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Why one-way mapping between forums 
and mailing list?

I sorta find this response to an honest question somewhat offensive.  

I don't remember anyone notifying or asking the opinion of 
the people who where effectively using this email list prior 
to the forum "integration".
It was the kind folks at JBoss Inc who made this decision and 
imposed it on the rest of us who were happily using a simple 
but effective medium for communication (ie email).  

So it seems a little odd/out of bounds to me for those same 
people to now say if you don't like it leave or spend your 
own time to fix it.  You guys are the ones who changed it, so 
you fix it!  Afterall, you do have at least 10 million in the 
bank now.  That should be more then enough to now design and 
implement the integration the way it should have been done in 
the first place.

I hope this frank response doesn't black list me, but I'm 
just trying to be honest about my perception of the situation.

Dustin

--

Bill Burke
Chief Architect
JBoss Inc.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-03-30 Thread Bill Burke
Unfortunately, AFAIK, the JDK 1.5 ClassFileTransformer is only available in Debug mode 
and should not be used for what we want to use it for.  This is what Jonas Boner and 
Alex Vasseur of AspectWerkz told me at the AOSD conference.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828193#3828193

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828193


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Monitoring enhancement in JBoss 3.2.4

2004-03-17 Thread Bill Burke
JMX attributes can be monitored, graphed, and recorded

Takumi Fujiwara wrote:

In the JBoss 3.2.4 release , "there is improved
monitoring and graphing in the Web console".
Can this monitor and graph the servlets running on
Tomcat?
 And can someone please tell me what addition
functionalities does the Web console provide which the
Tomcat 5.0.x admin/manager webapp does not?
Thank you for any information.



__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
========
Bill Burke
Chief Architect
JBoss Inc.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - JBoss 4.0 DR3 and JBoss AOP 1.0 Beta Released

2004-03-16 Thread Bill Burke
http://jboss.org/jbossBlog/blog/bburke/?permalink=JBoss+4DR3%2C+AOP+1.0Beta%2C+JBoss+3.2.4RC1.html

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826039#3826039";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826039>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - JBoss 4.0 DR3 and JBoss AOP 1.0 Beta releases

2004-03-16 Thread Bill Burke
http://jboss.org/jbossBlog/blog/bburke/?permalink=JBoss+4DR3%2C+AOP+1.0Beta%2C+JBoss+3.2.4RC1.html

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826037#3826037";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826037>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Re: Requerimientos para JBoss Server

2004-03-12 Thread Bill Burke
download jboss here:
http://www.jboss.org/downloads

unzip jboss-x.x.x.zip

that's it.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825421#3825421";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825421>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Compliance] - Re: EJB 2.1 Timer Objects

2004-03-12 Thread Bill Burke
The problem with spawning threads withinin a servlet or an EJB is that there is no way 
for the ApplicationServer to propagate security credentials and the current 
transaction to the spawned thread.  If you are ok with that disadvantage, then Thread 
away!


http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825386#3825386";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825386>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Compliance] - Re: EJB 2.1 Timer Objects

2004-03-11 Thread Bill Burke
A poor 1st iteration of the EJB 2.1 Timer Service will be in the JBoss 4 DR3 release 
next week.  It works, but it is not integrated with Transactions yet.

Bill



http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825307#3825307";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825307>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage

2004-03-10 Thread Bill Burke
This InputStream.read() is being done by Tomcat?  Then strike my last suggestion

FYI, a blocked InputStream.read() does not eat CPU.  You really should run your 
application through optimizeit.  Thread dumps just ain't gonna do it.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825075#3825075";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825075>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage

2004-03-10 Thread Bill Burke
still sounds like a application problem

You might want to try processing this file within a transaction.  The JBoss 
transaction manager will interrupt the tx's thread on a tx timeout which will 
interrupt any blocking I/O.  

or, you could just implement this timeout/interruption code in a separate service.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825074#3825074";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825074>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage

2004-03-05 Thread Bill Burke
yes profiler will affect performance.  OptimizeIt is pretty decent though.  Hobbled my 
bench by about 25-35%, but I was able to find bottlenecks.

Ya know, it could be the garbage collector running.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824431#3824431";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824431>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage

2004-03-05 Thread Bill Burke
run within a profiler like OptimizeIt.  OptimizeIt shows cpu usage per thread.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824427#3824427";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824427>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Apache2,mod_jk2,jboss3.2.3/Tomcat41 - ONLY sticky session lo

2004-03-05 Thread Bill Burke
But what are advantages of modjk2 over modjk?  modjk support sticky 
sessions at least with Tomcat.

Vladyslav Kosulin wrote:

Another note: which MPM does your Apache httpd use? Again, according to 
my experience, the default prefork MPM for UNIX/Linux does not support 
sticky sessions with mod_jk/mod_jk2. You should recompile Apache with 
worker MPM instead of prefork:

./configure --prefix=/opt/httpd-2.0.48 --with-mpm=worker
make
make install
Vladyslav Kosulin wrote:

dhartford wrote:

Hey all, After going through all the posts, I'm still a little hazy 
on why I
still can not setup simple load-balancing WITH sticky sessions based 
on the
environment above (and also referenced the pay-for Clustering doc).

1. Is there a sticky_session or stickySession flag for mod_jk2 in the
workers2.properties file?


There is not.

2. Is it required to change the TomcatSAR jboss-service.xml to add in a
jvmRoute to the following default fragment:   { }?
3. What else may be missing?  This looks trivial as a lot of people 
have put
in some good work to make it so, but must be something I'm missing 
somewhere
as the 'sticky session' just is not working.

(1) Apache2.0 w/mod_jk2 (2) Jboss3.2.3 Default w/standard embedded 
tomcat41




According to my experience with Jetty, sticky sessions did not work 
for  (web.xml) web applications by default. May be the 
same is valid for Tomcat. Do you use this tag?

Vlad

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Inc.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Performance Woes

2004-03-03 Thread Bill Burke
One more thing, I've seen JBoss scle to much much more than 30 concurrent users on one 
box.

Just look at www.jboss.org.  It is running all on one dual-cpu 2.4 ghz box with over 
421 concurrent users.  MySql is the backend running on the same machine.  GetThere.com 
is another site running on JBoss. playboy.com is another we're in production in many 
many many places and if we didnt' scale beyond 30 users, nobody would use us.

Bill

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824077#3824077";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824077>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Performance Woes

2004-03-03 Thread Bill Burke
Best optimizations without caching are here:

http://jboss.org/jbossBlog/blog/bburke/?permalink=Optimizing+JBoss%3A+Experiences+with+SPECj2002.html

SpecJ doesn't allow caching.

Use JBoss 3.2.2 and higher.  A lot of performance improvements went into 3.2.2 and 
3.2.3 revolving around Local interfaces, CMP, Connection Pooling.  We removed almost 
all synchronization bottlenecks.

Also, if you're doing Entity beans, you need to look at your locking/caching 
strategies on a PER entity basis.  There is no out-of-the-box solution for optimal 
performance.

Bill

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824076#3824076";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824076>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss performance

2004-02-23 Thread Bill Burke
Sorry, one more thing.

Use JBoss 3.2.3 or higher.  Alex Loubyansky did a huge amount of performance 
improvements in the CMP engine.  Adrian and I did a lot of improvements in the 
datapooling and Local Interfaces area.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822600#3822600

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822600


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss performance

2004-02-23 Thread Bill Burke
One more thing, Instance Per Transaction can only be run with Commit B or C.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822599#3822599

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822599


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss performance

2004-02-23 Thread Bill Burke
Hey, that article I wrote was for use with commit option 'b' or 'c'.  If you are fine 
with no caching, then read that article.

But, that being said, you really need to analyze PER Entity Bean your caching, 
locking, and tuning strategies as each Entity has different requirements.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822596#3822596

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822596


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss3.2.3 - AOP or javassist

2004-02-20 Thread Bill Burke
You will be able to use JBoss AOP with 3.2.3 when the next version comes 
out.

Giovanni Formenti wrote:

U can't use AOP with 3.2.3 but u can use Interceptors. With AOP u can
perform a complite aspect oriented programmation, with Jboss3.2.3 Intercetor
u can intercept calls only to ur ejbs' methods. I think this is enough for
you...
Gio


-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Heinz-Dieter
Conradi
Inviato: venerdi 20 febbraio 2004 13.59
A: [EMAIL PROTECTED]
Oggetto: [JBoss-user] JBoss3.2.3 - AOP or javassist
i would like to perform some general operations for most of the calls
coming to my facade session beans. instead of coding this for
every method
in every facade, i would like to use aop like techniques.
as far as i know, one cannot use JBossAOP with JBoss-3.2.3 (i guess
because of Classloader problems). is this true?
And what about using javassist (or similar libraries as CGLib)? at least a
simple approach cannot work, since the EJB container itself provides proxy
classes for the classes i am interested in. are there ways around this?
tia, heinz-dieter conradi



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Inc.



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: How does jboss auto generate table for entity bean?

2004-02-17 Thread Bill Burke
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821925#3821925

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821925

actually it works with any database.  Read chapter 7 (or is it 6?) for more 
information.  Basically in standardjbosscmp-jdbc.xml there are some config flags 
.  No matter what database it is, if create-table is set to true, jboss 
will try and create the table for the CMP if it does not exist.  This will happen on 
deployment.



 is the opposite.  On undeployment of the ejb-jar(shutdown for 
instance), the table will be dropped.



Basically you can let JBoss create relationships, constraints etc, without involving a 
db init sql script.



Bill


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Javassist and JavaWebStart

2004-02-04 Thread Bill Burke
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820081#3820081

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820081

Looks like a classloader problem.  Where is mypackage/cell/Cell?  Is it in the System 
classpath?  Or is it loaded by some sub-classloader?



The CtClas.toClass() method uses a custom embedded ClassLoader in which the parent CL 
is the System classloader.



My bet is that you will have to create is a subclass of ClassLoader in which you 
expose a loadClassFromBytes(String name, byte[] bytes)  this method would have to call 
defineClass.  The parent classloader of this classloader would have to be:



Thread.currentThread().getContextClassLoader()



or



MyPackage.cell.Cell.class.getClassLoader();



Am I making sense?



bill


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] hibernate cluster able

2004-02-03 Thread Bill Burke


Stefan Groschupf wrote:

 I'll let Gavin answer.

Well Gavin, if you don't wish to answer don't do it.  ;)
It's still a open source community or isn't it? B-)
Bill, if i understand you right, hibernate itself is not cluster able 
but it can use a clustered cache.
Fair enough for me.
Is there documentation available? (may be in the freshest commercial docu?)

It would take you about as much time as me to dig.

Bill

Thanks for the hints!
Stefan
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Start problem with Jetty

2004-02-03 Thread Bill Burke
 org.jboss.system.ServiceController.start(ServiceController.java:360)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72) 

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187) 

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:250)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:833)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:643)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:606)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:590)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72) 

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187) 

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:398)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:305)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.AbstractMethodError: 
org.jboss.web.AbstractWebContainer.getDeployer(Lorg/jboss/deployment/DeploymentInfo;)Lorg/jboss/web/AbstractWebDeployer; 

at 
org.jboss.web.AbstractWebContainer.create(AbstractWebContainer.java:268)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:787)
... 61 more

Regards,
Rafal   



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] hibernate cluster able

2004-02-03 Thread Bill Burke
Yes, it integrates with a number of distributed caches.  JBoss Cache 
being one of them. I'll let Gavin answer.

Bill

Stefan Groschupf wrote:

Hi,

i didnt found something in the web about.
Is a hibernate object clusterable in jboss? Is there any documentation 
about this issue?

Thanks,
Stefan
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Setting jmx-console password

2004-01-29 Thread Bill Burke
user.properties roles.properties

Rod Macpherson wrote:

After enabling security on jmx-console, where do we set the password for
JBossAdmin? Using tomcat version but there is no tomcat-users.xml. 

TIA, 

Rod

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] too much queries - bug?

2004-01-19 Thread Bill Burke
Doesn't sound right.  Are you using row-locking? on-find or on-load? 
What is the commit-option?

Thanks,

Bill

Rafal Kedziorski wrote:

Hi,

I took a look in my mysql.log and don't undersrtand something.

I have this code in my stateless session bean:

  private UserVO loginUser(Long user_id, String remote_addr, String 
client_type, String retail_id)
   throws CreateException, PermissionException, ParameterException, 
OMAException {
logger.debug("loginUser() entered for " + user_id);

// get user_id (1)
Long user_id = userLocal.getUserId(login_name.toLowerCase(), password);
// check permission (2)
checkAclPermission(user_id, AclHelper.OMA_ACCESS, 
PermissionHelper.ACCESS);

// get group_id for the given user_id (3)
BusinessDatabase database = ComponentManager.getBusinessDatabase();
Integer system_group_id = database.foundSystemGroupIdByUserId(user_id);
if (system_group_id != null) {
  UserBeanLocal userLocal = userLocalHome.create();
  // login user
  UserVO user = userLocal.loginUser(user_id, system_group_id, 
retail_id, client_type);

  // multi login
  // lock user
  if (! Config.getMultiLogin()) {
userLocal.lockUser(user_id, null, remote_addr, client_type);
  }
  return user;
}
else {
  logger.warn("loginUser() can't find system_group_id for user_id=" 
+ user_id);
  throw new PermissionException("AccessFacadeBean::loginUser() 
failed");
}
  }

And this cann I see in mysql.log:

(1)
228 Query   SELECT t0_o.user_id FROM users t0_o WHERE 
(t0_o.login_name = 'demo' AND t0_o.password = 'demo') FOR UPDATE

(???)
228 Query   SELECT class_id, mandant_id, language_id, user_data_id, 
nickname, login_name, password, status, creation_date, last_login_date 
FROM users WHERE (user_id=15) FOR UPDATE
228 Query   SELECT class_id, mandant_id, language_id, user_data_id, 
nickname, login_name, password, status, creation_date, last_login_date 
FROM users WHERE (user_id=15) FOR UPDATE
228 Query   SELECT class_id, mandant_id, language_id, user_data_id, 
nickname, login_name, password, status, creation_date, last_logindate 
FROM users WHERE (user_id=15) FOR UPDATE
(???)

(2)
228 Query   select distinct u.user_id from user_2_system_group u2sg, 
system_group sg, users u, acl_entry ae, acl_entry_2_system_group ae2sg 
where u.user_id = 15 and ae.acl_id = 1 and ae.permission_id = 1 and 
ae2sg.acl_entry_id = ae.acl_entry_id and u2sg.system_group_id = 
sg.system_group_id and ae2sg.system_group_id = sg.system_group_id and 
u2sg.user_id = u.user_id and now() >= u2sg.valid_from and (u2sg.valid_to 
is null or now() <= u2sg.valid_to)

(3)
228 Query   select sg.system_group_id from user_2_system_group u2g, 
system_group sg where u2g.user_id = 15 and u2g.system_group_id = 
sg.system_group_id and now()>= u2g.valid_from and (u2g.valid_to is null 
or now() <= u2g.valid_to)

...

I wondering, because I have no idea who is creating the queries between 
(???). JBoss is sending the same query more than one time.

The getUserID() method looks so:

  public Long getUserId(String login_name, String password)
   throws FinderException {
if (logger.isDebugEnabled()) {
  logger.debug("getUserId('" + login_name + "', '" + password + "') 
entered");
}

// decode password
password = Base64.decodeToString(password);
UserEntityBeanLocal userLocal = 
userEntityLocalHome.findByLoginNameAndPassword(login_name, password);

if (userLocal.getLogin_name().equals(login_name) && 
userLocal.getPassword().equals(password)) {
  return userLocal.getUser_id();
}
else {
  throw new FinderException("UserBean::getUserId() can't find user");
}
  }

The last if statement, is the reason for the three queries between (???).
first geqry for: userLocal.getLogin_name()
second query for: userLocal.getPassword()
third query for: userLocal.getUser_id()
I didn't define any load group, that means, that this is set to * and 
sould load all fields for the entity bean.

I'm working with the current JBoss version 3.2.4RC1 from cvs (daily 
updates).

Best Regards,
Rafal


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activ

Re: [JBoss-user] JBoss 3.2.4

2004-01-19 Thread Bill Burke
Scott told me an RC release first then a full release mid-end February.

Rafal Kedziorski wrote:

At 12:28 19.01.2004, Rupp, Heiko wrote:

> is there an release date for JBoss 3.2.4?

Afaik, within a week from now.


thx. this is great.

/rk

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] prepared-statement-cache-size: How to estimate an optimal size

2004-01-17 Thread Bill Burke


Nicholas wrote:

What is a good estimation model for determining the
prepared statement cache size ? 

There is a limit on open statements I believe in the DB.  So that number 
/ num connections you need.

About how much memory (or other overhead
considerations) would anyone estimate a cached
prepared statement will consume ?
Don't know.

Thanks.

//Nicholas

=
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
[EMAIL PROTECTED]
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit-option A: When is it safe to use?

2004-01-15 Thread Bill Burke
sounds good.

Jonathan.O'[EMAIL PROTECTED] wrote:

Hi,
I've been playing around with the commit options, and I just want to 
confirm my understanding.
The scenario is: I am running a JBoss app with an Entity Bean, Widget, 
marked as Commit Option A (caching in server, assumes no one updates it).
I have another process, outside of JBoss server, that goes direct to the 
database.
1. Is CommitOption A ok, if the other process does INSERTs on the WIDGET 
table. I'm betting yes, because finders always go to the DB to get the 
primary keys, and then the cache kicks in to prevent reloading.
2. The other process can't do updates or deletes on the WIDGET table, 
because the server won't know about them.

Have I missed any other aggressive optimisations?
Ciao,
Jonathan O'Connor
XCOM Dublin
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Migrating from JBoss 3.0.0 to 3.2.3

2004-01-13 Thread Bill Burke
2 things come to mind.  If you have any custom container configurations, 
this has changed in 3.2.  You should probably switch to the *-ds.xml 
format for data pools as it is easier to manage

Shashi Kiran wrote:

Hi All,
 
We are planning to move our application which is already in production 
environment from JBoss 3.0.0 to JBoss 3.2.3 (Latest Version).
 
In JBoss 3.2.3, we noticed that EJB Spec checking has become stronger, 
e.g Remote Interfaces where java.rmi.RemoteException was not thrown, 
these beans failed to get deployed.
 
Can anybody tell us what are all the major changes between the 2 
versions of JBoss and where one can encounter problems while migrating 
from JBoss 3.0.0 to JBoss 3.2.3 as we need to know the time duration for 
the above
 
Thanks in advance
Shashi Kiran
 
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Bill Burke
You cannot put a jar within an EAR without adding a classpath to the 
manifest file  You can place the interceptor in a separate JAR outside 
the EAR, or in the EJB-jar as well if you rather do that.

Bill

Jonathan.O'[EMAIL PROTECTED] wrote:

Well, I've learned lots of interesting stuff following the "Where to put 
an Interceptor class?" thread. However, I should have asked where does one 
stick the class file,so it gets loaded in time for the interceptor stack 
to work properly. Will any jar within an EAR do? Or does it have to be 
placed in the /server/someConf/lib directory?
Ciao,
Jonathan O'Connor
XCOM Dublin



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Bill Burke
This extending of the "Standard Statefull SessionBean" config works 
plenty fine for me.  here's the dd and code, I added DummyInterceptor:



  
false


  
 Retry
 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
org.jboss.ejb.plugins.LogInterceptor
org.jboss.test.retry.bean.DummyInterceptor

org.jboss.ejb.plugins.SecurityInterceptor

org.jboss.ejb.plugins.TxInterceptorCMT
   

org.jboss.test.retry.interfaces.RetryHandler
   

org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor

org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
org.jboss.ejb.plugins.TxInterceptorBMT
org.jboss.ejb.plugins.MetricsInterceptor

org.jboss.resource.connectionmanager.CachedConnectionInterceptor
 
  



  
RetrySession
RetrySession
Retry
  

  

//Title:jbg
//Version:
//Author:   Bill Burke
//Company:  JBG
//Description:  Your description
package org.jboss.test.retry.bean;

import java.rmi.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import javax.naming.Context;
import org.jboss.ejb.plugins.AbstractInterceptor;
import org.jboss.invocation.Invocation;
public class DummyInterceptor extends AbstractInterceptor
{
   public Object invokeHome(final Invocation mi) throws Exception
   {
  // assert mi != null;
  System.out.println("INVOKE HOME INTERCEPTOR");
  return getNext().invokeHome(mi);
   }
   public Object invoke(final Invocation mi) throws Exception
   {
  System.out.println("INVOKE INTERCEPTOR");
  // assert mi != null;
  return getNext().invoke(mi);
   }
}


Giovanni Formenti wrote:

I readed this doc but I can't understand clearly how to do!
I made the following steps:
1) Write a class that extends AbstractInterceptor and implements the invoke
method:
public Object invoke(Invocation invocation) throws Exception {
Object lRet;
System.out.println("LOG!!");
lRet=getNext().invoke(invocation);
return lRet;
  }
2) Modify jboss.xml with a configuration:
   

Try

com.xxx.TryInterceptor


   
  and a stateful session bean with that configuration:
  
 Application
 ApplicationBean
 ApplicationLocal
 Try
  
It don't works! What i miss? I really appreciate any suggestion...
Thanx

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Sacha
Labourey
Inviato: mercoledi 7 gennaio 2004 17.39
A: [EMAIL PROTECTED]
Oggetto: RE: [JBoss-user] Where to put an Interceptor class?


Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
interesting about
this!
It is possible since JBoss 2.0.

Take a look at conf/standardjboss.xml and the documentation, it
shows how to
write your own JBoss.xml file which includes such a stack definition.
Cheers

sacha



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Fw: problem in starting jboss4.0.0dr2

2004-01-08 Thread Bill Burke
IL PROTECTED]>,
 

{ objectName: jboss.net:service=WS4EEDeployer
  state: CREATED
  I am waiting for:
  jboss.net:service=WebServiceEntityResolver state: RUNNING,
  jboss.system:service=DeploymentInfoURIResolver state: CREATED,
  jboss.net:service=Axis state: RUNNING
  Waiting for me:
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 

{ objectName: jboss.ejb:service=EJBDeployer
  state: CREATED
  I am waiting for:
  jboss.net:service=WS4EEDeployer state: CREATED,
  jboss:service=WebService state: RUNNING,
  jboss.tm:service=TransactionManagerService state: RUNNING
  Waiting for me:
  jboss.ejb:service=ActivationSpecDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 

{ objectName: jboss.ejb:service=ActivationSpecDeployer
  state: CREATED
  I am waiting for:
  jboss.ejb:service=EJBEntityResolver state: RUNNING,
  jboss.jca:service=RaURIResolver state: RUNNING,
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 
 
in the past i encountered similar problems in deploying my MBean. 
this looks
i am missing something to be deployed..
 
 
any help??
 
thanx in advance and regards
marco
 
 
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put an Interceptor class?

2004-01-07 Thread Bill Burke
Ok, the retry stuff is now commited to Branch_3_2 and HEAD.  Look in 
jboss-3.2/testsuite/src/main/org/jboss/test/retry/...

and

jboss-3.2/testsuite/src/resources/retry/...

for how to configure and implement retry handlers.

Regards,

Bill

Jonathan.O'[EMAIL PROTECTED] wrote:

Wow,
Answers from Bill and Adrian in less than 15 minutes!! I guess Interceptor 
is the magic word :-)
I'll look at the current behaviour of TxInterceptorCMT, but I suspect we 
want to control this ourselves. I'll let you guys know any good ideas I 
get (if any).

Lastly, Giovanni, I'm using JBoss 3.2.2 and not the 4.0 AOP stuff. Thanks 
anyway.
Ciao,
Jonathan O'Connor
XCOM Dublin



Adrian Brock <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07.01.2004 16:27
Please respond to
[EMAIL PROTECTED]

To
[EMAIL PROTECTED]
cc
Subject
Re: [JBoss-user] Where to put an Interceptor class?




On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote:

Hi,
We're just about to write our first interceptor (to retry deadlocked 
methods), and we can't find the docs where to have the class loaded.
The best would be to have it in a jar in our EAR. Is that possible? 
Also, 

can we keep delare our own interceptor stack for our beans in this EAR 
too?


Yes you can put the interceptor in your ear and yes
you can configure your own interceptor stack, 
either on the server or the client.
You provide your own configurations in jboss.xml

It only makes sense to retry a deadlock after you have allowed
the transaction to rollback, i.e. outside the transaction 
demarcation boundary.
You will already find this behaviour already in
org.jboss.ejb.plugins.TxInterceptorCMT

Regards,
Adrian

Thanks,
Jonathan O'Connor
XCOM Dublin
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Fw: problem in starting jboss4.0.0dr2

2004-01-07 Thread Bill Burke
  I am waiting for:
  jboss.net:service=WebServiceEntityResolver state: RUNNING,
  jboss.system:service=DeploymentInfoURIResolver state: CREATED,
  jboss.net:service=Axis state: RUNNING
  Waiting for me:
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 

{ objectName: jboss.ejb:service=EJBDeployer
  state: CREATED
  I am waiting for:
  jboss.net:service=WS4EEDeployer state: CREATED,
  jboss:service=WebService state: RUNNING,
  jboss.tm:service=TransactionManagerService state: RUNNING
  Waiting for me:
  jboss.ejb:service=ActivationSpecDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 

{ objectName: jboss.ejb:service=ActivationSpecDeployer
  state: CREATED
  I am waiting for:
  jboss.ejb:service=EJBEntityResolver state: RUNNING,
      jboss.jca:service=RaURIResolver state: RUNNING,
  jboss.ejb:service=EJBDeployer state: CREATED
} [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>,
 
 
in the past i encountered similar problems in deploying my MBean. 
this looks
i am missing something to be deployed..
 
 
any help??
 
thanx in advance and regards
marco
 
 
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put an Interceptor class?

2004-01-07 Thread Bill Burke


Jonathan.O'[EMAIL PROTECTED] wrote:

Wow,
Answers from Bill and Adrian in less than 15 minutes!! I guess Interceptor 
is the magic word :-)
I'll look at the current behaviour of TxInterceptorCMT, but I suspect we 
want to control this ourselves. I'll let you guys know any good ideas I 
get (if any).

Again, I'm adding the ability to define exception handlers via XML so 
that the TransactionCMT interceptor can retry for various scenarios. 
For instance, an Oracle deadlock, MySQL cluster failure, etc...

Bill


Lastly, Giovanni, I'm using JBoss 3.2.2 and not the 4.0 AOP stuff. Thanks 
anyway.
Ciao,
Jonathan O'Connor
XCOM Dublin



Adrian Brock <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07.01.2004 16:27
Please respond to
[EMAIL PROTECTED]

To
[EMAIL PROTECTED]
cc
Subject
Re: [JBoss-user] Where to put an Interceptor class?




On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote:

Hi,
We're just about to write our first interceptor (to retry deadlocked 
methods), and we can't find the docs where to have the class loaded.
The best would be to have it in a jar in our EAR. Is that possible? 
Also, 

can we keep delare our own interceptor stack for our beans in this EAR 
too?


Yes you can put the interceptor in your ear and yes
you can configure your own interceptor stack, 
either on the server or the client.
You provide your own configurations in jboss.xml

It only makes sense to retry a deadlock after you have allowed
the transaction to rollback, i.e. outside the transaction 
demarcation boundary.
You will already find this behaviour already in
org.jboss.ejb.plugins.TxInterceptorCMT

Regards,
Adrian

Thanks,
Jonathan O'Connor
XCOM Dublin
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put an Interceptor class?

2004-01-07 Thread Bill Burke
JBoss 3.2 already retries ApplicationDeadlockExceptions.  I am currently 
expanding the transaction interceptor to except a list of exception 
handlers that can decide whether or not to retry a transaction.

You can define your own container configurations within a jboss.xml so 
your EAR requirement will work.  Look in conf/standardjboss.xml for 
examples.

Bill

Jonathan.O'[EMAIL PROTECTED] wrote:

Hi,
We're just about to write our first interceptor (to retry deadlocked 
methods), and we can't find the docs where to have the class loaded.
The best would be to have it in a jar in our EAR. Is that possible? Also, 
can we keep delare our own interceptor stack for our beans in this EAR 
too?
Thanks,
Jonathan O'Connor
XCOM Dublin

---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Webconsole Snapshot Recording of JMX attributes

2004-01-06 Thread Bill Burke
Hi all,

I just committed the ability to do snapshot recordings of any JMX 
attribute within the web-console.

To use it, you right-click a JMX attribute and choose the "create 
snapshot" item.

From there you can start/stop snapshotting.  Review the dataset and 
Graph the dataset.

This is currently only available in Branch_3_2 and will be released with 
3.2.4 (or the next RC of 3.2.4)

Regards,

Bill



--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] ***JBoss 3.2.2/Oracle 9i thin driver test resulting in deadlock * **

2004-01-06 Thread Bill Burke
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.jav
a:701)
at java.lang.Thread.run(Thread.java:534)
]:
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit option A with EntityMultiInstanceInterceptor

2004-01-06 Thread Bill Burke
No. Can't do.

Balakrishnan, Vijay wrote:

Hi,

Does Commit option A work with EntityMultiInstanceInterceptor with jboss 3.x
?? I saw in the old docs that there was work being done on that.
Thanks,
Vijay
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
========
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit option A with EntityMultiInstanceInterceptor

2004-01-06 Thread Bill Burke
Hibernate works in this way and JBoss CMP will too when it is finally 
integrated with it.

Bill

Balakrishnan, Vijay wrote:

Hi,

Does Commit option A work with EntityMultiInstanceInterceptor with jboss 3.x
?? I saw in the old docs that there was work being done on that.
Thanks,
Vijay
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Webconsole Snapshot Recording of JMX attributes

2004-01-06 Thread Bill Burke
Hi all,

I just committed the ability to do snapshot recordings of any JMX 
attribute within the web-console.

To use it, you right-click a JMX attribute and choose the "create 
snapshot" item.

From there you can start/stop snapshotting.  Review the dataset and 
Graph the dataset.

This is currently only available in Branch_3_2 and will be released with 
3.2.4 (or the next RC of 3.2.4)

Regards,

Bill





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jbossdo questions

2004-01-06 Thread Bill Burke
JBossDO has been retired in favor of Hibernate.  Check out 
www.hibernate.org.

Bill

Eric J Kaplan wrote:

Hi

 

Does jdo (and therefore jbossdo) support pulling back different subsets 
of fields on the fly? A jdo defines 10 fields, but you only want 5 of 
them one time, and 7 the next. Also, say I have two jdos related to each 
other via a simple n:1 relationship, a to b. Lets say I pull back all of 
the a’s matching a certain criteria, but I want to quickly get at data 
inside of each associated b. Does this resolve to 1 query, or is a 
separate query made each time I access the field in b (e.g. 
a.getB().attributeOfB).  I’m just researching using this now, don’t 
actually have any code written.

 

Hope this is clear.

 

Regards

 

Eric J. Kaplan

Armanta, Inc.

350 Mt. Kemble Ave.

Morristown, NJ 07960

 

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Monitoring, performance, response time - JRAT

2004-01-06 Thread Bill Burke


Nicholas wrote:

Zauber;

Sorry, I missed that you had referenced JRat. The
shutdown is a problem, but a new rev of the software
supports a triggered flush of the stats via an HTTP
port. I am not sure if that rev is available yet, but
I can ask Jeff to push it out there.
Also, I am hoping to work with him to create an MBean
so that stats can be viewed in the JMX-Console. It
should be fairly trivial.
I think the Web stats will be available through an MBean for TC5.  I've 
added alert monitoring and graphing for JMX attributes.  I'll be adding 
Shapshot Recording shortly as well (1-2 days to Branch_3_2).

Bill


//Nicholas

--- Bill Burke <[EMAIL PROTECTED]> wrote:

Are these web clients?  I think you can write a
filter to obtain client 
ip, maybe even user.

For database access you would have to modify the
execute statement of 
the WrappedStatement or WrappedPreparedStatement
within the connector 
module.

Bill

[EMAIL PROTECTED] wrote:


perhaps you have some nice ideas for the following
problem.

I want to monitor my applications. I need 
- the response time for method calls (I can write
an interceptor for this)

- the response time for the database accesses
- client information (user or ip-adresse)
Do you know a tool to extract these informations
(no profiler, I will use

it a productive environment). jrat for example
have to shutdown before you

become the logfile informations.
Which is the best way for me to implement this
features in jboss (3.x or

3.2).

Jboss team: are you planing to implement some of
this features in the near

future?

--
====
Bill Burke
Chief Architect
JBoss Group LLC.





---

This SF.net email is sponsored by: IBM Linux
Tutorials.
Become an expert in LINUX or just sharpen your
skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the
bash shell to sys admin.
Click now!
http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

=
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
[EMAIL PROTECTED]
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Monitoring, performance, response time

2004-01-06 Thread Bill Burke
Are these web clients?  I think you can write a filter to obtain client 
ip, maybe even user.

For database access you would have to modify the execute statement of 
the WrappedStatement or WrappedPreparedStatement within the connector 
module.

Bill

[EMAIL PROTECTED] wrote:

perhaps you have some nice ideas for the following problem.
I want to monitor my applications. I need 
- the response time for method calls (I can write an interceptor for this)
- the response time for the database accesses
- client information (user or ip-adresse)

Do you know a tool to extract these informations (no profiler, I will use
it a productive environment). jrat for example have to shutdown before you
become the logfile informations.
Which is the best way for me to implement this features in jboss (3.x or
3.2).
Jboss team: are you planing to implement some of this features in the near
future?
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] OutOfMemoryError after 4 days

2004-01-06 Thread Bill Burke
the default heap space is 64M.  I think JBoss is big enough now that we 
get close to that pretty quick.  Either increase heap -Xmx, or reduce 
the amount of JBoss services.

Bill

Ionel GARDAIS wrote:

Hi,

I had a JBoss 3.2.2 running since January 2nd which
crashes with an OutOfMemoryError (trying to allocate
16000 bytes).
Nothing in the logs, just the console output.

I'm running Windows NTWS,
java version "1.3.1_09"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1_09-b03)
Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed
mode)
No JAVA_OPTS were specified inside the run.conf file.

JBoss was started in the background but not used (just
sitting there)
Should I specify more memory in the run.conf file ?

Thanks,
Ionel
_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Any projected dates for JBoss 4.x Release Candidate

2004-01-05 Thread Bill Burke
We are currently formulating the release schedule for next year.  Stay
tuned.
Bill

Sasidharan, Manoj wrote:

Hello All,

Is there any planned date for the release of JBoss 4.0.

We have plans to use some of the J2EE 1.4 spec features like Timer.

rgds
MS


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Stability/Performance test with JBoss3.2.2/Oracle 9.2.0.4 Problem s

2004-01-05 Thread Bill Burke
Go read the Locking section in the JBoss Admin guide for entity locks. 
It sounds like you are doing straight JDBC and not cleaning up your 
statements and/or result sets.  If you are using JDBC within a JTA 
transaction (EJB delineated), you can have JBOss automatically close 
leaked statements and/or connections:

true for closing leaked JDBC 
statements when a connection is returned to the pool.

Bill

Sasidharan, Manoj wrote:

Hello All,

We are facing some problems while running our stress test on JBoss 3.2.2:

1. Out of Memory error
2. System ran out of open cursors (tests run fine in Weblogic when the
number of cursors is 500. Even increasing to 1000 does not address the
issue.
3. Deadlocks (Entity Beans)
Any suggestions. Will send the details and stack traces soon. Any initial
pointers on Oracle datasource configuration settings that could cause these?
Thanks in advance for your time.

Best Regards
MS
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] 3.2.x and Virtual Hosting: Tomcat Broken, Jetty Works

2004-01-05 Thread Bill Burke


Stefan Arentz wrote:

On Dec 31, 2003, at 4:02 PM, Remy Maucherat wrote:

You don't really know what you're talking about, which is a common 
trait of whiners.


I am ignoring you here.

Vhosting is a feature of the Jboss integration with the servlet 
container, definitely not something standard.
With Tomcat, you currently need to add a Host element in the 
jboss-service.xml for all your vhosts, similar to Tomcat standalone. 
For TC 5, it's in server.xml.


IMO it should be enough to simply change jboss-web.xml to configure this 
extension. Jetty can do it, so why not Tomcat. In an environment where 
you deploy multiple apps you don't want to edit your servlet container 
specific config files every time. I think that completely defeats the 
easy of deployment that you could have.

I'm not a big fan of automatically creating hosts overall.


I am, so that is why I am using Jetty. Less configuration. Less problems.

 S.

Sorry to side with Stefan, but it is a good feature.  Playboy.com would 
probably appreciate it too as they do a lot with virtual hosting and had 
a bunch of problems trying to figure out how to do it.

Bill




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why use JBOSS?

2003-12-19 Thread Bill Burke
JBoss detects connection and statement leaks (debugging)

For monitoring in 3.2.4 we have MBean attribute monitoring and alerting. 
 3.2.3 has MBean attribute graphing.

We also hope to improve the web-console a lot to have a friendly GUI. 
None of us are GUI guys, but we try :)

Bill

Patrick Peralta wrote:

Hi Bill,

Could you elaborate on the debugging and monitoring features of
JBoss?  I did not see much material on this subject in the
manual.  I did notice that the pooling in 3.2.2 is quite
improved (I love the ability to provide a query that it executes
to test a connection, similar to DBCP).
Thanks!
Patrick

Date: Fri, 19 Dec 2003 11:58:56 -0500
From: Bill Burke <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Why use JBOSS?
Reply-To: [EMAIL PROTECTED]
Tomcat 5 can be integrated with a connection pool from Apache,
but is 

that connection pool seemlessly integrated with the
Transaction Manager? 

My bet that it isn't.  Our connection pooling also have a lot
of debug 

and monitoring features as well.

We don't have good marketing materials do we. :(  Thanks for
calling my 

attention to this.

Bill


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why use JBOSS?

2003-12-19 Thread Bill Burke
Tomcat 5 can be integrated with a connection pool from Apache, but is 
that connection pool seemlessly integrated with the Transaction Manager? 
 My bet that it isn't.  Our connection pooling also have a lot of debug 
and monitoring features as well.

We don't have good marketing materials do we. :(  Thanks for calling my 
attention to this.

Bill

MC wrote:

Thank you for your response, and for so nicely summarizing the pages and
pages I've been trying to read online.   We already have a transaction
monitor, but are only beginning to think about clustering and connection
pooling, both of which can be implemented using Tomcat 5.  I know nothing
about JMX, but will look into it now that you've mentioned it.  Any links to
overviews, summaries, etc. about any part of JBoss would be greatly
appreciated.
- Original Message - 
From: "Bill Burke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 19, 2003 8:20 AM
Subject: Re: [JBoss-user] Why use JBOSS?



* Complete production and development support. JBoss has the lead Tomcat
developer on board.
* Allow future seamless extension to EJB container. Jboss provides
unified configuration for both containers.
* HTTP session replication (clustering, which is very seemless)
* Better hot deployment
* JMX statistics and monitoring
* Connection pooling
* JAAS security
* Pluggable security domains
With very little work, you can get JBoss down to any minimal
configuration that doesn't include EJB and other stuff that comes with
JBoss.
In my experience, any truly complex application needs a transaction
manager, which JBoss has as well, that is seemlessly integrated with our
connection pooling.
Bill

MCS wrote:


We are currently using tomcat, apache, and mysql to successfully
deploy a fairly complex application and we have no cause for
complaints.  Since my knowledge of jboss consists mostly of what I was
able to obtain from browsing the jboss website, can anyone tell me
what (and if) we can gain by using jboss?
Thank you,
MC
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] EJB 2.0/EJBQL spec (was: Jboss 3.2.2/EJB-QL with >= or <=?)

2003-12-19 Thread Bill Burke
Better yet, use Hibernate.

Darren Hartford wrote:

Hey all,
Just for kicks I downloaded EJB 2.0 Final Release 2 specifications. On page 229 under section 11.2.7.6 the operators '>=' and '<=' are specified. In fact, in the next section they use these operators in an example to replace the 'BETWEEN' SQL command. 

However, Dain did catch this (see forum link below) but tells how you can not use those operators with DATES.  Unfortunately, that was my scenario (which I agree is kinda silly) but the '>=' and '<=' do work for integer types.  
http://jboss.org/index.html?module=bb&op=viewtopic&t=18352

-D

On Dec 17, 2003, at 6:02 PM, Darren Hartford wrote:


Hey all,
Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL 
statement contains '>=' or '<='?


Yes, because EJB-QL is retarded. Use jboss-ql instead. Isn't that 
EJB/CMP2 spec great? :-/

  S.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why use JBOSS?

2003-12-19 Thread Bill Burke
* Complete production and development support. JBoss has the lead Tomcat
developer on board.
* Allow future seamless extension to EJB container. Jboss provides
unified configuration for both containers.
* HTTP session replication (clustering, which is very seemless)
* Better hot deployment
* JMX statistics and monitoring
* Connection pooling
* JAAS security
* Pluggable security domains
With very little work, you can get JBoss down to any minimal 
configuration that doesn't include EJB and other stuff that comes with 
JBoss.

In my experience, any truly complex application needs a transaction 
manager, which JBoss has as well, that is seemlessly integrated with our 
connection pooling.

Bill

MCS wrote:

We are currently using tomcat, apache, and mysql to successfully 
deploy a fairly complex application and we have no cause for 
complaints.  Since my knowledge of jboss consists mostly of what I was 
able to obtain from browsing the jboss website, can anyone tell me 
what (and if) we can gain by using jboss?
 
Thank you,
MC
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Is this CMP2 behaviour according to the spec?

2003-12-18 Thread Bill Burke
Man you are bitchin today :)

I'm pretty sure you're only required to do pass-by-value for calls 
through the remote interface.  This would be a significant performance 
hit if set and get inside of the bean always did a copy.  Besides, 
Collections returned from getRelationship are not copies.

FYI, I know you don't care now, but we will look into the Tomcat 
virtual-host thing you bitched about a few emails ago too.

Bill

Stefan Arentz wrote:

Say I have a bean with two date fields, dateA and dateB. Then I do this:

ejbCreate()
{
Date date = new Date();
setDateA(date);   
date.setTime(date.getTime() + 1000);
setDateB(date);
}

The result in the database is that the value of dateA is also set to 
dateB. Now I know Java works by reference, but this just seemed odd. I 
thought Entity Beans hold their own private copy of fields.

This is on 3.2.2.

 S.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Does jboss support cmp inherit?

2003-12-15 Thread Bill Burke
The EJB spec nor JBoss CMP supports Object/Database mappings with 
inheritance.  You can have the bean class or interface classes use 
inheritance, but the database mapping does not support inheritance.

Try hibernate.  It is a much cleaner O/R mapping.

Bill

forge wrote:

Hello, 



I have three entity beans, UserEB, AdvancedUserEB and AnonymouseUserEB.

Both AdvancedUserEB and AnonymouseUserEB inherit from UserEB.

I created them in WAS5 and they ran well.



Now I'm porting them to jboss3.2.3, but I cant find how to create

inheriting CMPs in jboss.



Can anyone give me some advice or where can I find docs about it?



Thanks.

Forge





--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡
--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
========
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: JFreeChart Re: [JBoss-user] 3.2.3 Release Available

2003-12-12 Thread Bill Burke
Actually, take that comment back.  Makes no sense why JFreeChart 0.9.15 
doesn't do 3D effects with JBoss 3.2.2, JFreeChart is only embedded in 
the web-console applet.jar so it shouldn't effect or hurt another 
application using JFreeChart.

Bill

Bill Burke wrote:

JBoss ships with JFreeChart in 3.2.3.  I thought the version was 0.9.15. 
 I guess it is 0.9.14.  Just replace the jfreechart.jar within 
jboss/server/xxx/lib with the 0.9.15 version and 3.2.4 will update to 
0.9.15 when it is released.

Bill

[EMAIL PROTECTED] wrote:

Found some problem with no 3D effect when display a 3D chart (using
JFreeChart 0.9.15). Since there is no problem in JBoss 3.2.1(Jetty). Any
suggestion?
Regards,
pwr


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


JFreeChart Re: [JBoss-user] 3.2.3 Release Available

2003-12-12 Thread Bill Burke
JBoss ships with JFreeChart in 3.2.3.  I thought the version was 0.9.15. 
 I guess it is 0.9.14.  Just replace the jfreechart.jar within 
jboss/server/xxx/lib with the 0.9.15 version and 3.2.4 will update to 
0.9.15 when it is released.

Bill

[EMAIL PROTECTED] wrote:

Found some problem with no 3D effect when display a 3D chart (using
JFreeChart 0.9.15). Since there is no problem in JBoss 3.2.1(Jetty). Any
suggestion?
Regards,
pwr


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss 3.2.4 ...

2003-12-12 Thread Bill Burke
Sorry, this is my fault.  row-locking = "true" and on-find will now spit 
out SQL that is SELECT ...blah FOR UPDATE.  If the platform doesn't 
support FOR UPDATE then you are screwed.  I'll be fixing this for 3.2.4.

I'm guessing you're working with a DB other than Oracle, PostgreSQL, 
MySQL.  Probably MS SQLServer?

Bill

Rafal Kedziorski wrote:

At 12:08 12.12.2003, [EMAIL PROTECTED] wrote:

What is buggy about 3.2.3?


we have a problem with on-find strategy and row-locking = "true". with 
on-load it's working without any problem.

Rafal

Regards,

Harm de Laat
Informatiefabriek
The Netherlands


Rafal Kedziorski <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/12/2003 11:53 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: [JBoss-user] JBoss 3.2.4 ...




At 11:31 12.12.2003, Thomas Hentschel Lund wrote:

>hehe
>
>3.2.3 was just released 1-2 days ago. Talk about being impatient ;-)
no, but I will not work with buggy JBoss 3.2.3.

:) JBoss 3.2.2 was released on 1st december (I'm looking on ftp for
download), but I found some bugs, which is impossible for me to switch to
this version.
/rk

>/Thomas
>
>fre, 2003-12-12 kl. 11:18 skrev Rafal Kedziorski:
> > Hi,
> >
> > when will be JBoss 3.2.4 released?
> >
> >
> > Regards,
> > Rafal
> >
> >
> >
> > ---
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's
> > Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>---
>This SF.net email is sponsored by: IBM Linux Tutorials.
>Become an expert in LINUX or just sharpen your skills.  Sign up for 
IBM's
>Free Linux Tutorials.  Learn everything from the bash shell to sys 
admin.
>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JMS Clustering

2003-12-10 Thread Bill Burke
You may be able to shut off the merge protocol of JGroups as well.

Adrian Brock wrote:

On Wed, 2003-12-10 at 15:14, Sebastian Hauer wrote:

Hi Ivelin,

I think its great that JBoss offers now some kind of JMS clustering.  In
my opinion this was a long missing feature.
I think I understand most of the drawbacks of the singleton MBean based
failover, yet there is something in regards to JMS I am not sure about.
What if the cluster partition splits (e.g. networking problem) and we
end up with 2 autonomous partitions temporarily.  Then the singleton
MBean in both partitions would elect a new master node, so each
partition would have its own master.  In case of JMS we would end up
with 2 JMS servers.  As soon as the networking issue is resolved the 2
partitions would merge and again the singleton MBeans would elect a new
master so that the merged cluster ends up with only one JMS server.  
So my question is, is there any harm or reliability issue for JMS during
the time when 2 JMS nodes are up at the same time?



This would not work, you would end up with two servers modifying the
same persistent store each with different ideas about what is the next
message id and transaction id. 
Most likely this would fail with some primary key constraint violation
or data not found.

The only way to make this work would be to have cluster safe unique
keys (such as a GUID) and force jms to restart on any newly elected
master (even if it was previously a master) 
to "merge" the db changes as the cluster partitions are merged.

Regards,
Adrian

Regards,
Sebastian



-Original Message-
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2003 12:12 PM
To: Sacha Labourey; [EMAIL PROTECTED]; 
'[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] JMS Clustering



See this document for a detailed description: 
http://www.cocoonhive.org/articles/jboss/20031125/JBoss32-hajms.html

The code is simple and solid. 
If you describe your use case I may be able to advise
whether it will work for you.

Regards,

Ivelin
___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. 


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Death of the deadlock

2003-12-10 Thread Bill Burke
Cool. So you actually found the EntityLockMonitor useful?

Bill

Pete Beck wrote:

Hi everyone.

For the benefit of mankind, I've just written an article on our
experiences with JBoss and tackling deadlocks:
http://i3t.org/members/article.jsp?articleId=1595209

It seems to be a frequent issue for people so I thought it might be
useful for the archives and it might save future deadlockees some time.
Kind regards,
Pete Beck
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Nukes forums are live on www.jboss.org

2003-12-10 Thread Bill Burke
Can you all bang on it?  Julien did a bunch of testing before hand and 
it seems to be working pretty good so far.

Kudos to Julien's hard work.  It looks pretty nice and is pretty fast.

Bill



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss 3.0.x and 3.2.x

2003-12-06 Thread Bill Burke
3.0.x will only evolve if a paid JBoss Group customer asks for a new 
release.  It is a retired branch for non-JBG customers.  You can ask a 
developer with CVS to fix something for you, but they may be busy with 
3.2 and 4.0 things.  3.2 is our production release now.

FYI, 3.2 is now 9 months old and has gone through 3 minor releases with 
many RC's in between.

Bill

[EMAIL PROTECTED] wrote:

Bill, will 3.0.x continue to evolve? Or should everybody migrate to 3.2?

Thanks a lot

Gabriel

Bill Burke <[EMAIL PROTECTED]> escreveu:


yes

[EMAIL PROTECTED] wrote:


Is JBoss 3.2.x more stable than 3.0.x?

Thanks

--

Gabriel

Enviado usando webmail v2.3


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Enviado usando webmail v2.3


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss 3.0.x and 3.2.x

2003-12-06 Thread Bill Burke
yes

[EMAIL PROTECTED] wrote:

Is JBoss 3.2.x more stable than 3.0.x?

Thanks

--

Gabriel

Enviado usando webmail v2.3


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss On Linux

2003-12-05 Thread Bill Burke
If you specify a remote provider in jndi.properties or pass it in with a 
Properties object into new InitialContext JBoss will make a socket 
connection.  You must leave the provider empty.  Best is to just do new 
InitialContext() without any parameters.

Bill

Peter Luttrell wrote:

I was very surprised to see that we had a problem getting a connection 
to the jndi service as well. I had assumed it was in-vm. We haven't 
modified conf/jndi.properties; we get our context manually.  We set 
java.naming.provider.url to jnp://localhost:1099.  I just noticed the 
following in the conf/jndi.properties file:
# Do NOT uncomment this line as it causes in VM calls to go over RMI!
#java.naming.provider.url=localhost

So it looks like setting it to jnp://localhost:1099 could really be 
adding to the socket load on the box, and thus we could be running out 
of file descriptors after a week or so, which is roughly how long we can 
stay running. Does this sound plausible?

As far as stack size, our default is 8m. Does anyone have any 
recommendations on what we should set this too? Or suggestions on 
determining what is appropriate for our particular situation?

thanks.
.peter
Adrian Brock wrote:

On Thu, 2003-12-04 at 21:15, Peter Luttrell wrote:
 

We're using JBoss3.2.1 with Jetty on RedHat 9 with Suns 1.4.2_01 vm. We 
have a pretty heavy load.

After roughly a week many of the boxes start to experience weird 
problems where JBoss is unable to get what looks to be socket 
connections. In some cases, we cannot contact our mailserver, in other 
cases we cannot contact our database; in the latest case we're unable to 
get a connection to the local jndi server (localhost:1099). Sometimes a 
simple restart of jboss will sometimes solves the problems, othertimes 
we have to restart linux. The times of the crashes are roughly 4am and 
sometimes 6am, so it's likely caused by a cron job running at those 
times, which we're currently looking into. Has anyone experienced 
similar problems?
.peter

   

This sounds like a problem with sockets.
Beyond what John said about hsqldb, use "netstat -an" 
to see what sockets are open and what state they are in.

But you should also check that the vm is responding at all and hasn't
just hung.
Use kill -3  to see whether it produces a thread dump.
The most likely problem is your access to jndi. Why are you making it
use a socket at all? It should be using in memory access.
Either you have changed conf/jndi.properties (don't) or you have
a jndi.properties deployed somewhere else with a provider url specified.
jndi access should not be using a local socket inside jboss.
Unrelated, you might also want to reduce the
stack size. The typical 8M of stack is very large for java which
allocates most stuff on the heap. 
Use ulimit -a to see your default setting.
NOTE: There is a ulimit command in bin/run.sh 
where you should change this.

Regards,
Adrian
 

--
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,is for the sole use of the intended recipient(s), even if addressed incorrectly, and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy or delete all copies of the original message and all attachments, including deletion from the trash or equivalent folder.  Thank you.
   


--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JMS Clustering

2003-12-05 Thread Bill Burke
Ivelin will have to answer this.

Bill

Bruce Slawson wrote:

I looks like 3.2.3 now includes JMS clustering.  I have a couple of 
questions...

Is it robust and ready for a production environment?
Does is provide fail over, load balancing, or both?
Are MDBs now clustered as well?
Are there any docs on how to configure and use JMS clustering?
Thanks,
Bruce
 



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Setting number of threads.

2003-11-27 Thread Bill Burke
Only the PooledInvoker has a maximum connections setting.  You would 
have to use that invoker for all your EJBs to set the thread limit on 
EJB connections.  You can change this by putting the MBean nmae within 
standardjboss.xml for all  settings.

Bill

David Wade wrote:

How do I configure the number of threads available in Jboss.

I have seen posts on doing this in Jetty on this list, but 
not for Jboss itself in terms of available threads for 
message driven Beans etc.

Thanks.

David

---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Bill Burke
Is the JSP and SessionBean within same VM?  Then just do new 
InitialContext();

make sure that jboss/server/xxx/conf/jndi.properties has the Provider 
URL commented out.  This will force JBoss to connect locally rather than 
going over net.

Maybe you have a jndi.properties file?  Or maybe you have a Provider URL 
hardcoded with your JSP.

Bill

Rod Macpherson wrote:

Thanks Bill, Scott posted this as well. I am using that but here is the
problem
1. Have a box with three virtual IP addresses we will call default,
primary and secondary. 
2. Launch JBoss on primary using "--host primary" with nothing running
on the others. 
3. Telnet to primary port 1099 reveals that JNDI is listening.
4. Browsing to primary:8080 works fine revealing that JBoss is up and
running on primary. 

Here is the problem when we try to access a session bean lookup from a
given JSP page:
javax.naming.CommunicationException [Root exception is
java.rmi.ConnectException: Connection refused to host: 1.2.11.21; nested
exception is:
java.net.ConnectException: Connection refused: connect]
Here is where that IP address 1.2.11.21 fits in:

Default 1.2.11.21 (not running anything but access is being attempted)
Primary 1.2.11.22 (running JBoss) 
Secondary 1.2.11.23 (not running anything)

As you can see, there is no JNDI or RMI listener on 1.2.11.21 so no
wonder it is complaining. The listener is on "primary" where it should
be. I am using the jboss.bind.address is being reported as "primary" and
that is being used to cobble together the JNDI properties prior to doing
the context.lookup. So everything looks cool and this used to work. It
still works like a charm on my home PC. Ideas? Our multihome 3.2.2 is
fubar:( 

TIA, 

(P.S. If we need the JBG to fix this that's not a problem but want to
cover all the bases first)
Rod
 

-----Original Message-
From: Bill Burke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 26, 2003 1:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Multihome JBoss Issue

System.getProperty("jboss.bind.address");



Rod Macpherson wrote:

I use this to get the JNDI properties and bind Globals.HOST in a 
static
class initializer using 
java.net.InetAddress.getLocalHost().getHostName(). The problem is that


method returns the hostname of my box NOT the hostname that JBoss was 
started with using the --host switch. Given the static method call and


the fact that the JVM is not running on the bound --host, it's not 
surprising that Globals.HOST is not what I want but how then do we get


the --host value?

public static Properties getJNDIProperties()
{
   Properties properties = new Properties();
   if(Globals.JBOSS == Boolean.TRUE)  {
   properties.put("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
   properties.put("java.naming.provider.url", Globals.HOST +
":1099");

   properties.put("java.naming.factory.url.pkgs",
"org.jboss.naming");

   }

 


--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Multihome JBoss Issue

2003-11-26 Thread Bill Burke
System.getProperty("jboss.bind.address");



Rod Macpherson wrote:
I use this to get the JNDI properties and bind Globals.HOST in a static 
class initializer using 
java.net.InetAddress.getLocalHost().getHostName(). The problem is that 
method returns the hostname of my box NOT the hostname that JBoss was 
started with using the --host switch. Given the static method call and 
the fact that the JVM is not running on the bound --host, it's not 
surprising that Globals.HOST is not what I want but how then do we get 
the --host value?
 
public static Properties getJNDIProperties()
{
Properties properties = new Properties();
 
if(Globals.JBOSS == Boolean.TRUE)  {
properties.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
properties.put("java.naming.provider.url", Globals.HOST + ":1099");
properties.put("java.naming.factory.url.pkgs", "org.jboss.naming");
}
 
  
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] WrappedConnection problem

2003-11-26 Thread Bill Burke
Actually, turning it off in transaction-service.xml has a tiny 
performance improvement as well.

Adrian Brock wrote:

On Sat, 2003-11-15 at 01:22, mark pope wrote:

Hi,

I'm passing a JDBC Connection between two stateless beans. The called bean uses
it and closes its Statement and ResultSet. When the method returns to the
caller I get a WrappedConnection msg on the console. Both EJBs have local
interfaces.
I don't believe that I am violating the EJB Spec and cannot determine if there
are any *xml or *-ds.xml flags that I can set to eliminate the msg. Is my
approach incorrect?


This behaviour was changed/fixed in 3.2.2

It should now be possible to pass Connections between ejbs, but
JBoss will still try to close the connection at transaction end.
Of course you can turn that behaviour off using the debug flag
on the cached connection manager in transaction-service.xml
Regards,
Adrian

thx.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Re: [JBoss-dev] No GROUP BY in JBoss-QL?

2003-11-25 Thread Bill Burke
Unfortunately EJB QL only allows 1 item in the select statement so no 
GROUP BY.  Use Hibernate.

Bill

Stefan Arentz wrote:

I noticed that there is no GROUP BY in JBoss-QL. Is that for a reason?

Looking at the source of the EJB-QL compiler, is this something that can 
be added by using the ORDER BY code? The two are probably roughly the same?

 S.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JMS benchmarking

2003-11-25 Thread Bill Burke
Anybody know of a good benchmarking suite for JMS?

If so, are you willing at all to help port it to JBoss?

Thanks,

Bill

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] added graphing to web console

2003-11-22 Thread Bill Burke
Anybody get it to work?  Graphing that is?  Sacha couldn't get it to work.

Bill

Scott M Stark wrote:

Yes, that sounds good.

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] added graphing to web console

2003-11-22 Thread Bill Burke
Hi all,

I added graphing to the web console in Branch_3_2.  I will eventually
merge it to HEAD.
Now, in web-console when you are navigating tree and click on an MBean,
all its attributes will be displayed in the tree.  If you rightclick on
a numeric attribute a graph menu item appears and it will plot every
second the value of that mbean attribute.
This was possible because of the JFreeChart library.  Its LGPL and quite
nice.  Go check it out.
Some other things I want to possibly add is the ability to set watches
based on thresholds on MBean attributes.  So, when the watch is
triggered, it sends a notification.  This notification would be turned
into an email message or sent to some other data feed.  Sound like a
good idea?
Bill

--

Bill Burke
Chief Architect
JBoss Group LLC.



--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] FW: [Core] Sys Admin Denver Sold OUT

2003-11-20 Thread Bill Burke
Where were you?  We had admin training in NYC in August.

Eric J Kaplan wrote:

Guys

 

I know NY is an expensive place to have training, but New Jersey is 
right next door and cheaper (though the skiing is not that great)!  
Anyway, would be great if you had one in the NY area sometime soon.

 

Regards

 

Eric

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of marc fleury
Sent: Wednesday, November 19, 2003 1:41 AM
To: [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Subject: [JBoss-user] FW: [Core] Sys Admin Denver Sold OUT

 

Guys,

 

denver is sold out, 

 

marcf

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Andres
Sent: Tuesday, November 18, 2003 3:22 PM
To: 'The Core'
Subject: [Core] Sys Admin Denver Sold OUT
We have hit our cut-off of 28 attendees registered for sys admin denver.

We may be able to squeeze in 1 or 2 more but I have change it to
sold out on the website.
-marka

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] AOP in JBoss4DR2

2003-11-20 Thread Bill Burke
The question is:  How does JBoss AOP find jboss-aop.xml files?

If you run JBoss AOP standalone it searches for all 
META-INF/jboss-aop.xml files within your classpath.  Standalone AOP does 
a ClassLoader.getResources("META-INF/jboss-aop.xml");  So, any JAR in 
your classpath that has META-INF/jboss-aop.xml will be parsed.

Now, if you're running within the JBoss application server you'll need 
to do things differently.  Either

1) Put a foobar-aop.xml file within the /deploy directory.  By "foobar", 
I mean any filename

2) Modify conf/base-aop.xml and add stuff there

3) Or, create a foobar.aop archive.  An AOP archive is a JAR, but in the 
META-INF directory there should be a jboss-aop.xml file.

http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/jboss/aop#packaging



Bill



Giovanni Formenti wrote:

Hallo!
I try an example for AOP in my JBoss4 env.
(http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.AOP.Simple.Exampl
e)
It doesn't work!
I create jboss-aop.xml in the META-INF dir, i create the interceptor and an
EJB that call a POJO class.
Nobody have any idea why it doesn't work?!
I need some other configuration item?
Thanx for any answer!
Gio



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss causing system instability

2003-11-19 Thread Bill Burke
You may have to increase your max file descriptors.



Vivek wrote:

hi,
 
iam using jboss-3.x on redhat linux 7.3. when i start jboss, after 
it has handled a 100 or so requests the linux system becomes unstable. 
by this i mean, that iam not able to execute any command. if i type "ls" 
i get a "could not load shared libraries : permission denied" error. the 
same error is shown for any other command i try to execute.
 
if i kill the jboss server, then everything becomes normal.
 
what might be the problem ?
 
vivek


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard 
<http://antispam.yahoo.com/whatsnewfree>
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Performance JBoss 3.0.x vs JBoss 3.2.x

2003-11-07 Thread Bill Burke
I know that you are using Oracle 8.1.x and it doesn't support the SQL 92 
LEFT OUTER JOIN syntax so I need to work on it a little for 8.1.x 
Should give you better than a few percent :)

Bill

Christofer Dutz wrote:

 From the point of performance, I can absolutely say : YES
As I am doing some performance testing, the changes in the last few
versions boosted the SPECjAppServer2002 about 20% 
And with the Relational read-ahead Bill is working on, I think this
will give us another few pecent.
It scales nicely in a 9 Node cluster (the one we are doing testing on)
and runs very stable. It even survives a 45minute testrun of
the benchmark under maximum load. We can't realy say how good jboss
3.2.x scales, because we have no database able to serve
a cluster greater than 5 nodes without beeing 0% idle. Up to that it
almost scales linear.
If a node dies / is killed (in our case accidently) not a single major
failure was returned. After restarting the instance everything
continued as if nothing had happened.
Chris

Oleg Trumin wrote:

Hi all,
From Your experience is it worth to move from JBoss 3.0.x to 3.2.x.
Interesting if any gain in performance, scalability, most important 
reliability?
Using CMP/BMP, not using JBossMQ.

Thanks,
 Iliya
_
Frustrated with dial-up? Get high-speed for as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user






---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit Option Confusion

2003-11-07 Thread Bill Burke


Kevin Conner wrote:

load group actually worked to improve your performance?  Do you have 
BLOBs or something?  I don't see this with my specj benches.


I found that the database we use is expensive when it comes to
preparing statements and it has bugs when prepared statements
are reused (why else would you use prepared statements ;-)).
You mean you created one big SQL call with JOINs and shit?  If so, would 
you be interested in contributing this code?

I made two changes to offset this.

I created a new load group strategy, called it deep-load, that
propogated the load group pk information through the relationships
(we're still loading all fields).
I also changed the ReadAheadCache code so that it is now a two
stage cache, local tx and global, so that the cache can propogate
across the tx boundary.  There's other stuff in there to prevent
rollback info being cached and entity bean info from being
overwritten.
I think that is a good idea.

Just using the first had a big impact on our code as we follow
relationships heavily.  The number of prepared statements we
used dropped significantly.  The second just meant we weren't
throwing the data away after the transaction finished.
Transactional consistency was my biggest concern with the second
change.  Our tests haven't shown up any problems so far but they
may still exist.
The mitigating factor is that we are just using a single instance
of jboss with commit A.  The code would certainly break under other
circumstances.
	Kev
This e-mail and any files transmitted are confidential and is solely for the
intended recipient.  Unauthorised use, dissemination, distribution, copying,
reproduction, modification or publication is strictly prohibited.  If you
have received this e-mail in error, please notify the sender and permanently
delete the e-mail from your system.
 Opinions expressed in this e-mail are those of the individual and not
necessarily those of Orchard Information Systems Ltd.  
It is the responsibility of the recipient to ensure this e-mail is free from
viruses.  Orchard Information Systems Ltd accept no liability for any damage
caused by any virus transmitted by this e-mail.  
Incoming and outgoing e-mail messages are routinely monitored for compliance
with Orchard Information Systems Ltd's Internet Usage Policy. 



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit Option Confusion

2003-11-07 Thread Bill Burke
load group actually worked to improve your performance?  Do you have 
BLOBs or something?  I don't see this with my specj benches.

Bill

Kevin Conner wrote:

I am missing something or is my understanding of Commit options flawed?


I moved our app from B to A, added a new load group strategy and it flies.
It achieved a 90% speedup in our app.
The best way to see what is happening is to enable the cmp debugs and the
ReadAheadCache info (yes we're still on 3.0.2) and try to understand what
is happening.  If you can get the information into jboss ASAP then it can
really fly.
	Kev

---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] 'On Java' AOP example

2003-11-07 Thread Bill Burke
import org.jboss.aop.MethodInvocation;

...

MethodInvocation methodInvocation = (MethodInvocation)invocation;
Method m = methodInvocation.method;
Object[] args = methodInvocation.arguments;
...

FieldReadInvocation fri = (FieldReadInvocation)invocation;
Field f = fri.field;
...

FieldWriteInvocation fwi = (FieldWriteInvocation)invocation;
Field f = fwi.field;
Object value = fwi.value;
...

Sorry for the poor documentation.

Bill

[EMAIL PROTECTED] wrote:

Hi all,

I have been playing around with JBoss AOP framework.

I encountered the following problem when trying to get the 'On Java' code 
running:

Method method = MethodInvocation.getMethod(invocation);

It seems there is no static method 'getMethod()' in the MethodInvocation 
class.

Is this changed? And how should I alter the example to get the code 
running?

Thanks,

Harm de Laat
Informatiefabriek
The Netherlands


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] CMP or BMP transactions, isolation level, performance

2003-11-06 Thread Bill Burke
By default, JBoss has serialized access to BMP or CMP beans at runtime 
via pessimistic locking.  There are different locking configurations 
that you can use that are specified in our for-pay documentation.

As for JDBC isolation levels, you can only set this on a per datasource 
level in the *-ds.xml config file .  So you would 
define two different datasources that talk to the same DB, but define 
different isolation levels for both.

Bill

Pedro Salazar wrote:

Greetings,

I would like to ask if even with the CMP beans is possible to customize
the transaction isolation level?
If yes, how can I do it? 

I have an idea that CMP beans are the most light and fastest beans. But
I think in the most of the times, we should have business logic in beans
that requires synchronization. It stills worth going to CMP and lock the
all bean operations or just go to BMP beans to use the programatic and
customize the block of the transaction?
regards,
Pedro Salazar
--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Commit Option Confusion

2003-11-06 Thread Bill Burke
Are you doing a lot of finder queries?  Finder queries still go to DB 
except for findByPrimaryKey.  Also, do you have a lot of contention? 
Concurrent access?  Take a look at the for-pay docs on how to optimize this.

Bill

Phil Shrimpton wrote:

Hi,

I am tuning an app before deployment on 3.2.2.

As this app 'owns' its own database and the DB is not that quick, I though 
that changing from the default commit option B to A should give me some 
improvements, but seems to make no difference.

My tests complete in the same time with both option A and B, the SQL 
generated is identical with both options, and the CacheSize settings for the 
EJB's in the jmx-console are always Zero.

I am missing something or is my understanding of Commit options flawed?

Phil
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] AOP framework & documentation

2003-11-06 Thread Bill Burke
Only the website doco is available right now.  We'll be expanding the 
AOP doco in the future and will add to for pay doco as well.

[EMAIL PROTECTED] wrote:
Dear JBoss team,

Is there a printable version of the AOP documentation?
I have bought the yearly subscription but cannot find anything related to 
the AOP framework...

Thanks,

Harm de Laat
Informatiefabriek
The Netherlands


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] forums down/slow?

2003-10-29 Thread Bill Burke
forums are uber fast for me over cable modem.

Eric J Kaplan wrote:

Thanks Ionel.  We still see a problem (just with the forums, I can get
to other parts of jboss.org just fine).  I'm located in New Jersey, USA.
Our ISP is a major vendor, and we don't have problems with other sights.
Very very strange!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ionel
GARDAIS
Sent: Tuesday, October 28, 2003 3:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] forums down/slow?
 --- Eric J Kaplan <[EMAIL PROTECTED]> a écrit :

Can anyone get to the forums?  I go to jboss.org,
click on forums, and
they never come up.


Got them w/o problems ... 21:18 GMT+1

=
--
====
Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-23 Thread Bill Burke
I'll be doing a 3.2.3RC1 release as soon as I can.

Rod Macpherson wrote:

Regarding this 64 column limit that was introduced and fixed, where do
we get the fix given that 3.2.2 has been released? Does that mean the
official release has been re-jarred with the fix or does it mean we have
to checkout a CVS branch or how exactly does that work? We have a couple
monster tables greater than 64 (warehouse-ish tables) so we need the
fix.
TIA,

Rod

---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   4   5   >