[JBoss-user] [Management, JMX/JBoss] - Re: Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread amyrlinseat
Yes, I understand it now. Thanks Dimitris for the quick reply. Also see these URLs: http://www.zvon.org/tmRFC/RFC3584/Output/index.html (section 3) http://www.zvon.org/tmRFC/RFC2089/Output/chapter3.html But, this means that my mapping nodes in notifications.xml depend on my choice of a version

[JBoss-user] [Management, JMX/JBoss] - Re: Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread [EMAIL PROTECTED]
You are right. The simplest solution would be to just instantiate twice the snmp-adapter with one instance configured with the managers using v1 and the other v2. I think what's more important now is to get on the wiki some real use-cases, so if you get to configure it correctly for v2 traps,

[JBoss-user] [Management, JMX/JBoss] - Scheduler not able to Find Classes

2005-08-29 Thread infosolve
Hello , I am trying to use the Jboss Scheduler to run certain jobs. I have some classes that need to be run by the scheduler. The Scheduler is able to find these classes when I put the Jar file in the default/lib directory. But when I take it out from the directory and instead deploy as a

[JBoss-user] [Management, JMX/JBoss] - Re: ServiceMBeanSupport lifecycle methods

2005-08-29 Thread Ganton
Turns out it was a faulty attribute in the jboss-service.xml, but I have to tell you, the error message for failing the dependency was difficult if not impossible to find in the server logs. Thank you for your response View the original post :

[JBoss-user] [Management, JMX/JBoss] - MBeans and global JNDI

2005-08-28 Thread iksrazal
Hi all, I have a simple goal of invoking a session bean on app startup: | ?xml version=1.0 encoding=UTF-8? | server | classpath codebase=. archives=CallCentreWebServiceJAR.jar/ | mbean code=org.jboss.varia.scheduler.Scheduler name=CallCentreWeb:service=Scheduler | attribute

[JBoss-user] [Management, JMX/JBoss] - Re: reload application in jboss

2005-08-25 Thread zanza67
what do you mean for main deployment descriptor the web.xml file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891572#3891572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891572

[JBoss-user] [Management, JMX/JBoss] - Re: reload application in jboss

2005-08-25 Thread darranl
anonymous wrote : What is the application you have deployed? That is a question, answer it and I will tell you what the main desriptor of the deployment is. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891575#3891575 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: reload application in jboss

2005-08-25 Thread zanza67
it is an archive thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891576#3891576 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891576 --- SF.Net email is Sponsored

[JBoss-user] [Management, JMX/JBoss] - Re: reload application in jboss

2005-08-25 Thread darranl
In that case you just need to touch the archive (Make the modified time increment) and JBoss will redeploy the application. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891579#3891579 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Custom MBean

2005-08-25 Thread wikey
Hi, I'm researching custom MBean. Refer to this web site. http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html This web site show how to bind a HashMap to JNDI. Is there anyway i can bind a Serializable Object instead a HashMap.? Thanks View the original post :

[JBoss-user] [Management, JMX/JBoss] - JNI, System.loadLibrary() and class loader interactions

2005-08-25 Thread bhandsaker
If this is the wrong forum, please redirect this. I have been debugging a problem with JBoss and JNI native code. I have sample code that runs outside of JBoss, but when run in JBoss it throws an UnsatisfiedLinkError referencing the method name on the first call to a native method. I have

[JBoss-user] [Management, JMX/JBoss] - reload application in jboss

2005-08-24 Thread zanza67
Hi everybody someone can tell me how can I reload an application in jboss without stopping and starting the jboss service? I saw that feature in tomcat but I cannot find it in jboss it is possible to do that? J. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: web server server port using JMX

2005-08-24 Thread dhill
I am using jboss 4.0.2 which is packaged with Tomcat 5.5, I am not seeing any attributes for this connector, any clue as to the ObjectName that I will need to use ? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891421#3891421 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Http/URL/DAV deployment scanner - httpexception classnot

2005-08-24 Thread ntsankov
I have the same problem AND I have the common-httpclient.jar copied to every single lib dir on my pc! Checked the bug report and am still wandering what this -L option is. BTW I'm using 3.2.6. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891425#3891425

[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-24 Thread JimDwyer
On second thought Dimitris - you are correct. By having TestService implement a TestServiceMBean interface the whole things falls into place very nicely. Thanks again. Jim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891430#3891430 Reply to the post

[JBoss-user] [Management, JMX/JBoss] - Re: reload application in jboss

2005-08-24 Thread darranl
What is the application you have deployed? If it is an archive you can just touch the archive and hot deployment will undeploy and redeploy the application. If it is an exploded deployment you need to touch the main deployment descriptor of the deployment and it will be undeployed and

[JBoss-user] [Management, JMX/JBoss] - Installing JBoss into /opt in Linux

2005-08-24 Thread bwtoh
I wish to run JBoss in Fedora Core. In JBoss' Getting Started guide (http://docs.jboss.org/jbossas/getting_started/v4/html/install.html#d0e62) : Once it's downloaded, unpack the archive to a suitable location on your machine. It should all unpack into a single directory named jboss-4.0.2.

[JBoss-user] [Management, JMX/JBoss] - Re: Installing JBoss into /opt in Linux

2005-08-24 Thread bwtoh
I had accidentally posted into this forum which is wrong. I have posted into the Installation forum. Admin, pls delete this post. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891558#3891558 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - ServiceMBeanSupport lifecycle methods

2005-08-23 Thread Ganton
I am at my wits end.The lifecycle methods, createService() and startService() are not being invoked on startup for a class that extends ServiceMBeanSupport, and overrides these functionsWhat gives ? I even built the example HelloMBeanIt does not work

[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-22 Thread [EMAIL PROTECTED]
You need to read the jmx spec to understand the standard mbean inheritence rules. One solution is to make TestService implement a TestServiceMBean interface. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891000#3891000 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-22 Thread jaikiran
Nice link for starting with MBeans: http://www.developer.com/java/other/article.php/10936_2212031_2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891005#3891005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891005

[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-22 Thread JimDwyer
Thanks Guys, I got it working. It was mostly a deployment issue. Jim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891032#3891032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891032

[JBoss-user] [Management, JMX/JBoss] - Order of the services deployment

2005-08-22 Thread MaGaX
Hi everybody, I wish to launch Quartz Jobs at the launch of my JBoss server using a services file. Problem is that the services are lanched before the deployment of my WAR file and so, I get a No class Loaders def found error. Is that possible to configure the deployment order in order to have

[JBoss-user] [Management, JMX/JBoss] - Re: web server server port using JMX

2005-08-22 Thread genman
JBoss version? Tomcat 5.5 exposes the connector list via JMX, you can get data from that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891137#3891137 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891137

[JBoss-user] [Management, JMX/JBoss] - Re: Install Error

2005-08-22 Thread genman
Any errors before that one? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891138#3891138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891138 --- SF.Net email is

[JBoss-user] [Management, JMX/JBoss] - web server server port using JMX

2005-08-21 Thread dhill
How can I get the port using jmx or is there another way besides reading from a xml file on disk. Thanks Don View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3890948#3890948 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Disabling Jboss Services

2005-08-19 Thread raja05
You cannot just remove services at random. You need to figure out the dependencies and remove them as well. In case some of the dependencies are core, you wont be able to remove them. But yes, removing the SARs is all that is required to remove services View the original post :

[JBoss-user] [Management, JMX/JBoss] - Implementing Application Specific Counters

2005-08-19 Thread Vinesh
Hello BackGround We are developing a J2EE based application using JBOSS as the application server. We want to publish some application specific counters for monitoring the load/performance. This product was earlier running on windows OS (normal COM Server) and we had integerated our

[JBoss-user] [Management, JMX/JBoss] - Re: Monitoring Script Example

2005-08-19 Thread burakbayramli
There is open source GUI tool JmxMonitor for watching JMX MBeans remotely; You can set threshold values which are watched for violation, if any are, e-mails sent out, GUI displays the alerts, etc. The code uses the adaptor pattern to connect to a JMX Server, so it can also work with a socket

[JBoss-user] [Management, JMX/JBoss] - Re: Disabling Jboss Services

2005-08-19 Thread tfdias
hum.., thanks fro the tip, but I have a custumer that have a Jboss that will only had a webapp and this app will use a remote EJB in other Jboss and I'd like to able only the Servlet Container (I think he won't use only a tomcat). Best Regards Thiago. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Install Error

2005-08-19 Thread ron_mathews
Here is the error that I get while I'm trying to install Jboss on Solaris 10: 11:54:33,850 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/opt/jboss/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/

[JBoss-user] [Management, JMX/JBoss] - extending class that extends ServiceMBeanSupport

2005-08-19 Thread JimDwyer
Folks, Here is what I would like to do: public interface TestMBean extends org.jboss.system.ServiceMBean{} public abstract class AbstractTestService extends org.jboss.system.ServiceMBeanSupport implements TestMBean{ public abstract boolean testMethod(); } public class

[JBoss-user] [Management, JMX/JBoss] - Disabling Jboss Services

2005-08-18 Thread tfdias
Hi all, Anybody could explain to me how can I disable some services in Jboss. I read about it but the explanation is strange because it say that I should remove .sar diretorys from Jboss deploy directory and when i do this the Jboss throw many exceptions... any help is apreciated, best

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -

2005-08-17 Thread jiwils
ramone1234 wrote : Do you have any idea why this is happening? The short answer is that the logging monitor service is being deployed before JBossWeb (Tomcat), so the MBean you wish to monitor is not yet available. The errors you see go away (and everything works like you wish) once the MBean

[JBoss-user] [Management, JMX/JBoss] - please help me about process hang in jboss

2005-08-16 Thread benz2521
I use jboss v.3.2.5 and 3.2.7 If user use web only one, process of web will complete. But if user 10 - 20 person use, process will slow hang. ** see in Tomcat status have some process Time will increase continous and CPU Usage will upper to 100% in soon. I try to twiddle command for unregister

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -

2005-08-16 Thread ramone1234
Hello, James! Thank you very much for your reply! It worked just fine and now I am able to monitor my app http sessions :0) but I have a tricky question: when JBoss is starting, I get the following error message: 09:51:33,908 ERROR [LoggingMonitorTimerTask] Unable to log MBean attributes:

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -

2005-08-15 Thread jiwils
ramone1234 wrote : Unfortunately, the Logging Monitor Wiki doesn't give any clue or a better explanation about what might be the logger attribute. May you give me a hint about where can I find this information? The logger attribute is the name of the Log4j logger that you wish to use.

[JBoss-user] [Management, JMX/JBoss] - JBoss LoggingMonitor - logger attribute

2005-08-12 Thread ramone1234
Hi, guys! I've been analyzing JBoss LoggingMonitor for some days and I'm surprised how simple it is to configure and use :) By now I want to monitor two attributes (activeSessions and expiredSessions) of MBeans that matches this pattern: jboss.web:host=localhost,path=/MyWebContext,type=Manager

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -

2005-08-12 Thread ramone1234
There was an error with the example in the original post !--monitoredmbean name=jboss.web:host=localhost,path=/web-console,type=Manager logger=??? !--attributeactiveSessions/attribute-- !--attributeexpiredSessions/attribute-- /monitoredmbean-- Thanks Fernando View the

[JBoss-user] [Management, JMX/JBoss] - Re: mbean consistency for changing hosts for different servi

2005-08-12 Thread [EMAIL PROTECTED]
An *-ds.xml is not a mbean. You can go through the xsl deployer's xslt and figure out the 3 means that are generated and deal with those if you want a consistent syntax. However, now you are also dealing with implementation details that are subject to change. We stopped exposing the mbeans and

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-11 Thread ctken
When I tried using a POJO which implements the Schedulable interface and calls a Session bean's method in it's perform method, it always returns NamingException, although I have already put depends tag in the scheduler-service.xml file to make sure the session bean's service

[JBoss-user] [Management, JMX/JBoss] - mbean consistency for changing hosts for different services

2005-08-10 Thread dhartford
I'm concerned about how configurations are handled in Jboss - mail-service.xml is a managed resource, but so is hsqldb-ds.xml -- so why are they so different file-wise and mbean-wise? I'm looking to create an additional MBean on top of the existing CMP persistance layer so that it could be

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing the JBossBossManagedConnectionPool MBean

2005-08-09 Thread vinaypurohit
Can you please elaborate?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3889029#3889029 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3889029 --- SF.Net email is

[JBoss-user] [Management, JMX/JBoss] - Re: [noob] JMX for remote configuration?

2005-08-09 Thread genman
dhartford, start a new thread for a new topic. This is called thread hijacking View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888983#3888983 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888983

[JBoss-user] [Management, JMX/JBoss] - Re: What jar file contains org.jboss.jmx.adaptor.model.MBean

2005-08-08 Thread vinaypurohit
Its part of the jmx-console web application. see JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/classes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=345#345 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - How to invoke EJB beans from custom service?

2005-08-08 Thread numppa
Lets say that I have a custom service deployed as JBoss kernel service. The service listens to arbitrary protocol and maps the protocol messages to EJB calls. To be able to control the transaction etc. properties of the calls, I'd like to invoke the EJB container within the kernel, not as

[JBoss-user] [Management, JMX/JBoss] - how to invoke a jboss Schdulable class Externally

2005-08-07 Thread sajeevvarghese
hi I am trying to get a info related to external invocation of jboss Schdulable class implements jboss.varia.scheduler.Schedulable. i have jboss Schdulable class which implements joss.varia.scheduler.Schedulable. it works fine on specified time interval . But if i have to invoke it

[JBoss-user] [Management, JMX/JBoss] - Re: client jmx through httpinvoker

2005-08-07 Thread nehring
If your JBoss server is running on a windows machine. You may have to check the 'jboss-service.xml' file in the 'http-invoker.sar/META-INF' directory of your JBoss server configuration. I've seen that a the windows server hostname may default to it's short name or DNS alias. When the client

[JBoss-user] [Management, JMX/JBoss] - Re: [noob] JMX for remote configuration?

2005-08-05 Thread dhartford
Hmm...I created a JMX MBean (using xdoclet) and everything seems good. However, when trying to use managed properties, on a server reboot those properties are not persisted. In my ignorance, what have I missed to be able to remotely configure and persist the configuration

[JBoss-user] [Management, JMX/JBoss] - Re: [noob] JMX for remote configuration?

2005-08-05 Thread dhartford
I'm not liking this so far...I can read and write to a property file - if I do it programatilly in the MBean code but not via any other means. I'm also concerned about how configurations are handled in Jboss - mail-service.xml is a managed resource, but so is hsql-ds.xml -- so why are they so

[JBoss-user] [Management, JMX/JBoss] - Re: Remote proxy for Singleton Mbean

2005-08-04 Thread pkles
Solved upgrading from 4.0.0 to 4.0.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888486#3888486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888486 --- SF.Net email

[JBoss-user] [Management, JMX/JBoss] - Classes DomainData and MBeanData - What are they used for?

2005-08-04 Thread efhajg0
Would someone please explain the purpose of the classes DomainData and MBeanData. THey reside in the package org.jboss.jmx.adaptor.model. THank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888535#3888535 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - How to enter values for my custom mbean parameters?

2005-08-04 Thread richaosu
Say I have an mbean that exposes a method whose parameter is an object that I created. Say the parameter is com.mycompany.Customer and that object has properties for Name, Age, Address, Phone, etc. Is it possible to use the jmx-console to enter values for my Customer object? Do I need to

[JBoss-user] [Management, JMX/JBoss] - Connection Pool Shrinking and Reset Programmatically

2005-08-03 Thread vinaypurohit
Hi, I have an application deployed on Weblogic that I am migrating to JBOSS 4.0.2. As part of the application, I access the Weblogic MBean Server to access connection pool information and perform operations on the connection pool programatically. Psuedo Code: //Get Inital context //Get the

[JBoss-user] [Management, JMX/JBoss] - Re: Connection Pool Shrinking and Reset Programmatically

2005-08-03 Thread schrouf
Is flush equvivalent to the reset? Yes What is the equivalent for the shrink? Setting MaxSize attribute to a smaller value and calling flush method Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888137#3888137 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread danj
I am confused by the SchedulePeriod attribute. It seems like its semantics have changed. I thought it meant time between starts (3.2.5). However, in 3.2.7 it seems to mean time from finish until next start. Does anybody know which is intended? Dan !-- | | This example shows how

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread schrouf
Up to my knowledge it has always been time from finish until next start. Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888140#3888140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888140

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread danj
schrouf wrote : Up to my knowledge it has always been time from finish until next start. Strange. We have a nightly job that takes somewhere between 8 s and 50 min. We have configured it with SchedulePeriod = 24 * 60 * 60 * 1000. Using 3.2.5, the job has started same time every night (01:00),

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread schrouf
If this is the intended behaviour, it feels strange Well, at least it is the implemented behaviour :-) But I do share your feelings that a rescheduling relativ to the start (and not the end) of the previous invocation most often would be a better solution. A special case would be when the

[JBoss-user] [Management, JMX/JBoss] - What jar file contains org.jboss.jmx.adaptor.model.MBeanData

2005-08-03 Thread efhajg0
HI, I am trying to write a class that requiremees org.jboss.jmx.adaptor.model.MBeanData and I need to put the Jar file on my classpath. Where Jar file contains it? Also is there a cross reference table anywhere that relates classes, packages and Jar files? Thank you. - andy View the

[JBoss-user] [Management, JMX/JBoss] - remote notification problem

2005-08-02 Thread deedee
I am using RMI connector to add notification listener to an Mbean. (jboss 3.2.5) All work well at startup. The client can receive all remote notification sent by Mbean. But after jboss run several hours, there is an exception while Mbean is sending out notification:

[JBoss-user] [Management, JMX/JBoss] - Dependency of a MBEan on a .ear file

2005-07-29 Thread jaikiran
Hi, Is there any way where i can specify a dependency of a MBean on a .ear file. My ear file contains: - xyz_ejb.jar --- EJBModule - abc.jar - 123.properties My MBean depends on the abc.jar file which actually uses the 123.properties file to do some processing. Now, i could not find a way

[JBoss-user] [Management, JMX/JBoss] - Re: Dependency of a MBEan on a .ear file

2005-07-29 Thread jaikiran
Hi, I found the reason why the dependency is not working: http://wiki.jboss.org/wiki/Wiki.jsp?page=MyDependencyDoesntWork This says that: anonymous wrote : | That is because that MBean is not a service, NOTE: there is no service=, but more generally it is not created through an MBean

[JBoss-user] [Management, JMX/JBoss] - Re: Deployment from standalone application.

2005-07-29 Thread Denisius
In my code after jboss restarting i need to run my_deployer again to make my ear file visible for server. Is it posssible to upload .ear file to jboss folder (not using ant)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887314#3887314 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - [noob] JMX for remote configuration?

2005-07-28 Thread dhartford
Hey all, I plead ignorance to JMX, but it seems like this may be the right place to ask. Is JMX the proper technology to allow for remote configuration of services? For example, the mail-service.xml seems to tie to an MBean...but in the jboss JMX-Console, most of those properties are read-only

[JBoss-user] [Management, JMX/JBoss] - Re: [noob] JMX for remote configuration?

2005-07-28 Thread genman
Yes JMX is the way to go. It so happens that the mail service has its properties read-only, but that's because of how it was written. Take a look at the code in CVS for MailService.java. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887101#3887101 Reply to

[JBoss-user] [Management, JMX/JBoss] - Remote proxy for Singleton Mbean

2005-07-27 Thread pkles
Hi everybody, I´m trying to access an own Singleton MBean remotely, but the examples that I found are not working for me: http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXMBeanRemoteProxy. First of all, I took out the InvokeTargetMethod tag from my jboss-service.xml that is in the .sar that

[JBoss-user] [Management, JMX/JBoss] - Re: Dynamically-Reconfigurable Interceptor Core with Remote

2005-07-26 Thread simon_ep
Just as an update, I've got an XMBean deployed, but I'm still having trouble sharing objects between this Bean and the Interceptors/Handlers. I thought I could share a custom static configuration object between them all (since the Interceptors and Handlers already share a static processing core

[JBoss-user] [Management, JMX/JBoss] - Re: Dynamically-Reconfigurable Interceptor Core with Remote

2005-07-26 Thread simon_ep
Heheh, okay, problem solved! I hadn't configured the shared static object correctly (*it* was static, but its shared internal data structures weren't) ... So, for anyone else wanting to try this, I developed a means of configuring the behaviour of request interception mechanisms remotely

[JBoss-user] [Management, JMX/JBoss] - Re: How can AuthorizationInterceptor be improved ?

2005-07-23 Thread [EMAIL PROTECTED]
There was an original thought to have a complete policy specified, but with the introduction of JACC and other authorization standards like XACML the configuration of authentication and authorization are two seperate services. The current security api and services need to be updated to support

[JBoss-user] [Management, JMX/JBoss] - Re: Adding SecurityConf to TopicMBean

2005-07-23 Thread mcaughey
I figured it out. My SecurityManager configuration was missing the two roles that I needed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886226#3886226 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886226

[JBoss-user] [Management, JMX/JBoss] - Re: How can AuthorizationInterceptor be improved ?

2005-07-23 Thread fabcipriano
If you could give a list of the necessary improvements to be done in the current security api and services I thank you a lot. I take a look in the Sun´s XACML site and I liked of the idea. The JACC JBoss implementation delegate the permission(except EJB and WAR permission) to java policy.

[JBoss-user] [Management, JMX/JBoss] - Re: How can AuthorizationInterceptor be improved ?

2005-07-23 Thread [EMAIL PROTECTED]
Someone already did a prototype of JACC built on XACML and talked about it in a bof at javaone this year. I'll be working with him to get it into the codebase as at least a testcase for an alternate JACC implementation. Here is the dev forum topic that will be used to get the development going:

[JBoss-user] [Management, JMX/JBoss] - How can AuthorizationInterceptor be improved ?

2005-07-22 Thread fabcipriano
I made a new AuthorizingClass for org.jboss.jmx.connector.invoker.AuthorizationInterceptor and I´m using MBeanPermission for the authorization. Just fine, but I´d like to use authorization like the AuthenticationInterceptor that get the SubjectSecurityManager and from him get the users tha can

[JBoss-user] [Management, JMX/JBoss] - Re: How can AuthorizationInterceptor be improved ?

2005-07-22 Thread fabcipriano
Sorry I was thinking in this configuration file: application-policy name = jmx-console |authentication | login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required |module-option

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-21 Thread mcaughey
Have you been able to get a securityConf Associated with this Queue? I'm trying to do the same thing with a Topic. But I haven I cannot authenticate. -Michael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885952#3885952 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-21 Thread mcaughey
Here's the code I'm using: | private void registerTopic(String topicname) | throws MalformedObjectNameException, Exception { | createDestination(org.jboss.mq.server.jmx.Topic, | getTopicObjectName(topicname), topic/ +

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-21 Thread mcaughey
For the record it doesn't have to be a Session bean that implements a Schedulable. It can be a POJO. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885955#3885955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885955

[JBoss-user] [Management, JMX/JBoss] - Dynamically-Reconfigurable Interceptor Core with Remote Acce

2005-07-21 Thread simon_ep
Hi, I'm trying to develop a dynamically-reconfigurable class which is to be used within JBoss by my own custom EJB Interceptors and Axis Handlers. I'm also wanting to create the class in such a way that it can have its internal configuration objects updated from a remote location. Having read

[JBoss-user] [Management, JMX/JBoss] - Adding SecurityConf to TopicMBean

2005-07-21 Thread mcaughey
I'm not possitive this is what I need to do but it makes sense. I'm dynamically creating a topic at runtime. It shows up in the jmx-console and is started however when I try to connect to it I get an Exception that states its unable to authenticate. So I added some additonal code that I

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-20 Thread acardeiradias
I solve my problem. I find how to do that. I leave here my solution, because this could help other people. 1- Create a session bean that implements Schedulable. 2- Implements the method perform and put there the code to be executed by Scheduler 3- create a jboss-service.xml and put this file in

[JBoss-user] [Management, JMX/JBoss] - Re: Unable to execute methods on MBean proxy

2005-07-20 Thread [EMAIL PROTECTED]
| ... | // MBeanServer server = MBeanServerLocator.locateJBoss(); | MBeanServer server = ManagementFactory.getPlatformMBeanServer(); | You probably look in the wrong MBeanServer. Use the MBeanServerLocator, it's commented out in your code. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I have trouble setting up a sar file. Please note that I'm not too familiar with these king of deployment file yet. My sar file contains a META-INF/jboss-service.xml file as well as an scheduler_ejb.jar file. The jboss-service.xml file starts a Quartz scheduler (allowing my

[JBoss-user] [Management, JMX/JBoss] - Re: Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I understood what the problem was. Sorry for the disturbance. For future readers : The 'defaut' config contains file jbossjca-service.xml which declares the CachedConnectionManager MBean. Furthermore, JBoss deploys sar files BEFORE *-service.xml files. See Wiki. This fully explains

[JBoss-user] [Management, JMX/JBoss] - Re: Unable to execute methods on MBean proxy

2005-07-20 Thread eldiosyeldiablo
Changing the name of the service in the jboss-service.xml file was the solution to my problem. Though I don't know why that was the problem. When I did the ObjectName lookup I tried both com.relevant:service=E3Settings and also com.relevant:name=E3Settings Thanks for the help, David View the

[JBoss-user] [Management, JMX/JBoss] - Custom MBean Deployment order

2005-07-20 Thread pmore
I have deployed my multithreaded application as a mBean and want to monitor it using JMX console. I started with JBoss minimal server with just my application.sar, tomcat sar and jmx-console.war. How do I make JBoss deployer go about deploying in the following order - 1)Deploy Tomcat service,

[JBoss-user] [Management, JMX/JBoss] - MDB receiving message

2005-07-19 Thread amitvyavahare
How can I configure my MDB to receive messages only after a certain interval of time. I mean the MDB will retrive messages from the Queue after every two hours and not as soon as the message is entered into a Queue View the original post :

[JBoss-user] [Management, JMX/JBoss] - MDB receiving message

2005-07-19 Thread amitvyavahare
How can I configure my MDB to receive messages only after a certain interval of time. I mean the MDB will retrive messages from the Queue after every two hours and not as soon as the message is entered into a Queue View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Deployment from standalone application.

2005-07-19 Thread Denisius
I've found solution: | public void doDeploy() { | try { | getServer().invoke( | new ObjectName(jboss.deployment:flavor=URL,type=DeploymentScanner), | addURL, | new Object[] { file:/E:/Work/ear/my_ear_name.ear }, | new String[] {

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-19 Thread Denisius
The right code is: | private MBeanServerConnection getServer() { | if (mBeanServer == null) { | try { | Properties props = new Properties(); | props.put(java.naming.factory.initial, |

[JBoss-user] [Management, JMX/JBoss] - Re: Deployment from standalone application.

2005-07-19 Thread adrian.bigland
Or you could copy the file over if you have the server's deploy directory mapped to your machine via Samba or NFS or something... Or use FTP or HTML to upload the file, using the commons net library from apache... I do this sort of thing with Ant all the time (using a deploy target in an Ant

[JBoss-user] [Management, JMX/JBoss] - Unable to execute methods on MBean proxy

2005-07-19 Thread eldiosyeldiablo
I have implemented a simple MBean and tested it using the JMX Console but I get an error when I try to execute any method programatically from my ejb session. The error is [STDOUT] java.lang.reflect.UndeclaredThrowableException | 18:39:36,931 INFO [STDOUT] at $Proxy57.getDbDriver(Unknown

[JBoss-user] [Management, JMX/JBoss] - Re: Unable to execute methods on MBean proxy

2005-07-19 Thread genman
javax.management.InstanceNotFoundException: com.relevant:name =E3Settings is not registered. Perhaps it was not deployed at this time? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885622#3885622 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-19 Thread genman
There is a method on the jboss.mq:service=DestinationManager to programmatically create a queue. I think your problem was, though the MBean was created, the attributes (like destination manager, etc.) were not set and start was not called. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: MDB receiving message

2005-07-19 Thread genman
You can set a scheduled delivery time on the message. http://docs.jboss.org/jbossas/admindevel326/html/ch6.chapt.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885625#3885625 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: jboss-4.0.2 : Exception while running jmx-console after

2005-07-19 Thread genman
Can you file a bug on jira.jboss.org ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885627#3885627 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885627 --- SF.Net

[JBoss-user] [Management, JMX/JBoss] - passing scheduling arguments dynamically

2005-07-19 Thread maheshadepu
Hi all. I want to generate reports automatically.For that i am using jboss AS scheduling (JMX timer) Service.But i want to pass schedule arguments dynamically rather than placing it in xml.can any one guide me how to pass those arguments from ui to xml. mahesh adepu iic technologies View the

[JBoss-user] [Management, JMX/JBoss] - passing scheduling arguments dynamically

2005-07-19 Thread maheshadepu
Hi all. I want to generate reports automatically.For that i am using jboss AS scheduling (JMX timer) Service.But i want to pass schedule arguments dynamically rather than placing it in xml.can any one guide me how to pass those arguments from ui to xml. mahesh adepu iic technologies View the

[JBoss-user] [Management, JMX/JBoss] - How to create mbeans on runtime.

2005-07-18 Thread Denisius
The task is to create several Queues from standalone application. i use next code: | MBeanServer lServer = MBeanServerFactory.createMBeanServer(); | ObjectInstance myQ = lServer.createMBean( | org.jboss.mq.server.jmx.Queue, new ObjectName( |

[JBoss-user] [Management, JMX/JBoss] - Deployment from standalone application.

2005-07-18 Thread Denisius
Is it possible to deploy .ear to the running JBoss 4.0.2 server from other JVM (from standalone application)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885307#3885307 Reply to the post :

<    3   4   5   6   7   8   9   10   11   12   >