Sasidharan, Manoj wrote:
Hello All,
I am looking for some help on writing a custom MBean for JBoss 3.2.x. Can
somebody please help.
I always did it this way:
First write the MBean interface:
import org.jboss.system.ServiceMBean;
public interface MyClassMBean extends ServiceMBean
{
public
Apache 1.3.x can have a maximum of something like 255 processes servicing requests. If
there are more active apache processes than Jetty threads you can get this problem. We use
mod_jk to connect from Apache 1.3 to Jetty, and have set the Jetty thread count to 256.
Note that it's still possible
Title: Configuring an MBean so it is loaded last by Jboss.
Hi all,
How can I configure an mbean so that it is the very last thing loaded by Jboss.
Ricardo
__
This email and any files transmitted with it are
We migrated from WebLogic 5 to JBoss and changed our startup classes into Standard MBeans.
It's possible to do many of the same kind of things start up classes allow you to do, such
as creating/manipulating connection pools, all via JMX.
If you implement a start() method in your MBean it will
Hi,
Is there a way to catch the calls that are made to an
EJB (fields getters/setters, finders, selectors).
My goal is to provide some statistical informations
(how many times a method have been called, which
methods should be optimized ...) through an MBean
StatService
thanks,
=
--
My mistake, I meant A but said B. A double check of my jboss.xml surely
states that we are running commit-option A. But I was really convinced I
put B in..
But it is B which is the default option, right?
Wellwell, the misunderstanding is cleared...
--Olve
If you use the Prefix deployment sorter and add a numeric prefix to your deployment file
(e.g. user-service.xml - 99.user-service.xml) it will be processed after all the other
files in deploy. Everything else will be deployed in the same order as before.
Enable this by editing
Yes 'B' is the default.
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Olve S. Hansen [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/13/2003 10:32 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: [JBoss-user] optimize question
My mistake, I
Have you looked at the web-console app?
This already provides a view on how many times methods are invoked...
If you need more then just that, you can always write your own Interceptor
which you could add to the Interceptor stack to log this kind of
information.
Regards,
Harm de Laat
Ionel,
Try JBoss 3.2.2
Open the GUI console and have a look at some of your beans. You should
find all the statistics you want there. By default, statistics collecting
is turned on, at least I didn't have to do anything special to get these
numbers.
Ciao,
Jonathan O'Connor
XCOM Dublin
Ionel
Hi,
What is the -Pd option for ?
Have a look at the CVS manual
http://www.cvshome.org/docs/manual/
in cvs update,
-d : create directories
-P : remove empty directories
Heiko
--
Heiko W. Rupp EMail: [EMAIL PROTECTED]
Senior Consultant Telefon: +49 711 222 992
Greetings,
I'm using XDOCLET to generate my EJB descriptors and I would like to
know how can I define a polite of read mostly cache for my entity
beans for JBOSS?
I now that I should have my entity beans mapped as xxxRO and xxxRW.
However, I don't know if I have to duplicate my beans java
Hiya Bill.
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
Title: Message
Hi,
We have recently upgraded to JBoss 3.2.1 from 2.4.7, and are getting quite a
few problems. We are using two databases:
SQL Server: supports XATransactions
Tamino: only supports LocalTransactions.
I have included the main ways of how we access our databases here, and would
Title: RE: [JBoss-user] Re: Problem with SQL query for MySQL
I just checked in a fix to JDBCStartCommand, that puts a space in front of
the opening parentheses.
This will be in 3.2.3rc2
Heiko
-Ursprüngliche Nachricht- Von:
[EMAIL PROTECTED]im Auftrag vonRupp, Heiko
The MBean option would work, however if you need to implement startup/shutdown
capability that is agnostic across app servers, may I suggest the following:
In the Servlet 2.3 spec, ServletContextListeners were introduced. Implement one
of those and enter it a war's web.xml file. Then add this war
Dear Mr Alexey Loubyansky,
Thanks for your help the empty key-fields / elements did the trick.
Meanwhile I know why the DTD document definition was missing.
I use Borland JBuilder together with a plug in from Protegra.
The plug in needs some extra information for itself and (wrongly I totally
My question is a bit off topic, but anyway
When JBoss Group pretends to have it's courses in Brazil? I'm
particularly interested in the 'JBoss Advanced' course.
Regards,
Ivens
marc fleury wrote:
Guys,
We will be in LA for bootcamp THIS WEEKEND. So if you are on the west
coast, come.
If there's enough demand we will. IIRC, Marc tried it once but it was a
hard sell. So I think the next step is to try to find a JASP partner in
Brazil who would be able to help sell seats. And of course get enough
people who commit (with their credit card :-) to participate in the
training.
--
write an MBean with star and stop services and deploy with sar file.
For Example
//ConfigStartupMBean Interface
Step 1
import org.jboss.system.ServiceMBean;
public interface ConfigStartupMBean extends ServiceMBean {
}
class
Step 2
public class ConfigStartup extends ServiceMBeanSupport
to increase the 256 processes limit on 1.3
The MaxClients directive sets the limit on the number of simultaneous
requests that can be supported; not more than this number of child
server processes will be created. To configure more than 256 clients,
you must edit the HARD_SERVER_LIMIT
Hi,
I found what i think is a bug in
the deploy.last directory behaviour. If you have a sar file containing a
resource file ie something.xml in it when the sar file is exploded in the temp
directory the file does not get there as it instead happens when the sar is
deployed in the normal
Greetings,
I would like to know which configuration is applied in every specific
type of EJB deploy on jboss?
-- $JBOSS_HOME/server/all/conf/standardjboss.xml
Are the standards the defaults configurations for each type of bean?
If I want to deploy a CMP entity bean in cluster and with cache
Hi,
I have an issue that I want to understand before I try and fix it...
JBoss 3.2.2, Commit Option A...
I have a SLSB method something like...
public void doSomething(){
Collection c = OrdersEJB.getItems();
loop through collection and do some calculations
delete one of the 'items'
what as is the transactionnal attribute of doSomething() ?
is the getItems() method tagged as readonly in jboss.xml ?
Hi,
I have an issue that I want to understand before I try and fix it...
JBoss 3.2.2, Commit Option A...
I have a SLSB method something like...
public void
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Scott,
works great.
Thanx,
Mariano
On Thursday 13 November 2003 01:15, Scott M Stark wrote:
The jsr77 MEJB is not deployed by default in 3.2.2. Its sitting in
the jboss-3.2.2/docs/examples/jmx/ejb-management.jar so copy that
to the deploy
We're using JBoss3.2.1 + Jetty 4.2.9.
I'm wondering if there's additional log info available from Jetty, and
how to turn it on.
thanks.
.peter
--
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,is for the sole
use of the intended recipient(s), even if addressed
Sorry,
had the solution!
The local interface of JasEntityBean have to extends
JasBean interface!
Johannes
--- Johannes Zillmann [EMAIL PROTECTED] schrieb:
Hey folks,
have a little problem!
Trying to cast a local Interface of a bean to the
bean
itself.
we had the interface JasBean:
Hi,
I want to use JAAS login from a custom MBean Service.
Where should I specify the auth.conf file to use ?
As the authentication will be used internally to
JBoss, are there easier/faster way to use JAAS than to
write a custom CallbackHandler ?
thanks,
Thanks a bunch Heiko.
It did give some trouble.. I am just wondering why all my other tables were created normaly then.
Paul
Subject: Re: [JBoss-user] Re: Problem with SQL query for MySQL
Date: Thu, 13 Nov 2003 13:51:13 +0100
From: Rupp, Heiko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To:
Using:
JBoss 3.0.8
MySQL 4.0.14
MySQL Driver mysql-connector-java-3.0.9-stable-bin.jar
I found that when using MySQL as my JMS data store, my JMS messages
are not persisted correctly. I can verify that the messages are
persisted to the MySQL db. When I stop JBoss the messages are still
in the
Compare your properties with the one in docs/examples/jms in jboss 3.2.2
You'll find one of the deletes should be done through a join.
Regards,
Adrian
On Fri, 2003-11-14 at 00:13, Michael Klem wrote:
Using:
JBoss 3.0.8
MySQL 4.0.14
MySQL Driver mysql-connector-java-3.0.9-stable-bin.jar
I
Thanks for all the information, but most of it is irrelvent. :-)
See inline.
On Thu, 2003-11-13 at 12:28, Kabir Khan wrote:
Hi,
We have recently upgraded to JBoss 3.2.1 from 2.4.7, and are getting
quite a few problems. We are using two databases:
SQL Server: supports XATransactions
Hello All,
JBoss 3.2.2
Oracle 9.2.0.4
Datasources are created using oracle-ds.xml (Non-XA) and oracle-xa-ds.xml
(XA)
I have a Stateless session bean that gets an XA connection and does some
database updates. It also tries to get a Non-XA connection and perform some
database updates and for that
Hello All,
When running our migrated J2EE application from Weblogic, we are getting the
following exception.
Any guess on what could be wrong.
Thanks and Best Regards
MS
19:09:39,448 ERROR [STDERR] [Thu Nov 13 19:09:39 PST
2003][ERROR][e7a15b125fe137
Server side components inherrent the conf/login-config.xml JAAS config
file so you don't use an auth.conf file.
There is no shortcut JAAS mechanism. You need to perform a login
using the JAAS LoginContext and pass in a CallbackHandler. You can
use the
Guys,
We will be in LA for bootcamp THIS WEEKEND. So if you are on the west
coast, come. I will there and you can ask me all the question about the
latest stuff as well as Scott Stark who will talk about the upcoming 3.2.3
release. Adrian brock (JMX, JMS, AOP) will be there from the UK and
37 matches
Mail list logo