Get information about Subscribed Consumer and messages in queue
Hi,
I use a library that allow to set a set of consumers. They read messages I send. I check if the consumers are subscribed through "Open Message Queue Administration Console". Through Broker->Destinations I found the consumer under the correct destination I find the consumers with the message in queue, state and other information. I would like to obtain these information programmatically.
Could someone link me an example?
Thanks, bye bye.
Hi,
I'm reading the page but I cannot find the jar file that contains this package:
import com.sun.messaging.jms.management.server
and the classes:
-MQObjectName
-DestinationAttributes
-DestinationType
What is the jar file for the class above?
Moreover, I cannot find the class:com/sun/messaging/jmq/management/JMXMQAddress
when I try to use the code I wrote I receive this error:
>
java.lang.NoClassDefFoundError: com/sun/messaging/jmq/management/JMXMQAddress
at com.sun.messaging.AdminConnectionFactory.getJMXServiceURL(AdminConnectionFactory.java:257)
at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:207)
at testcase.eventManager.DPCTRMSEVENTMANAGER.message(DPCTRMSEVENTMANAGER.java:123)
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:597)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jmq.management.JMXMQAddress
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 23 more
Where can I found this class?
Thanks, bye bye.
Edited by: PiotreUgrumov on May 13, 2010 8:29 AM
Similar Messages
-
How to get informed about new features and version...
Hello,
I used to get informed on skype when a new version is launched, but now I dont. I noticed it when I delete skype and re-install again from the site for a reason. Also I want to learn about the new features via e-mail. What should I do?
RegardsTo manually check for new updates, you can click the Check Update option in the Help menu in the Skype software window. Then if there are new versions released and you want to know what new features are added in that release, you can check the Skype Blog's Garage section -
http://blogs.skype.com/category/garage-updates/
IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES -
Getting Information about In-Time and Out-Time
Hello Experts,
I want to retrieve the In time and Out time of Employees.
The data is maintained in Infotype 2002 (Attendences).
How would I get the data.
Is there any Function Module avaiable for this ?
Please help me out..
Regards,
Ravi Khattar.Hi Ravi,
The In time and Out time of Employees is maintained through table TEVEN . Tou can use this FM
HR_TMW_DB_READ_TEVENT
Have Fun!!
Ira!! -
Table to get information about DSO's and Cubes.
Hi Guys,
I'm in search for the table name which records the details of Cubes and DSO's like (Sixe, No. of Rows, etc). Can anyone of you please help me in getting the table name?
Regards,
SwapnilHi,
PFB the table for DSO and Cubes:
RSDODSO- Directory of all ODS Objects
RSDODSOT -Texts of all ODS Objects
RSDODSO-IOBJ InfoObjects of ODS Objects
RSDODSOATRNAV -Navigation Attributes for ODS Object
RSDODSOTABL -Directory of all ODS Object Tables
RSDCUBE -Directory of InfoCubes
RSDCUBET- Texts on InfoCubes
RSDCUBEIOBJ -Objects per InfoCube (where-used list)
RSDDIME -Directory of Dimensions
RSDDIMET -Texts on Dimensions
RSDDIMEIOBJ -InfoObjects for each Dimension (Where-Used List)
RSDCUBEMULTI -InfoCubes involved in a MultiCube
RSDICMULTIIOBJ- MultiProvider: Selection/Identification of InfoObjects
RSDICHAPRO -Characteristic Properties Specific to an InfoCube
RSDIKYFPRO -Flag Properties Specific to an InfoCube
RSDICVALIOBJ I-nfoObjects of the Stock Validity Table for the InfoCube
Best Regards,
Ravi -
How to get information about permissions modification and deletion and addition in SharePoint
Hello ,
There was some security issues in my SharePoint farm . Some one has change the permissions of users . How we can trace that who is added the new user or modify the users from SharePoint Group .Hi Kuldeep,
Based on your description, my understanding is that you want to track the user and users’ permissions in SharePoint 2010.
Here is a CodePlex solution, after enabling the feature, you can track the users and permissions, please take a look at:
http://www.codeproject.com/Articles/431342/Auditing-A-Built-in-Feature-of-SharePoint
There are other third parties for auditing, you can refer to the link:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/868dee6e-4fdc-4d4c-8040-4cf468810446/sharepoint-2010-auditing-tracking-changes-to-permissions-in-subsites-using-sharepoint-groups?forum=sharepointadminprevious
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Oracle BPM Java API - getting informations about process activities
Hi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank'sHi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank's -
[C] Get information about touchpad
Hi,
I'm completly new to writing Linux applications in C.
In my program I want to enable/disable my touchpad based on whether or not a mouse is present. But I can't seem to figure out which library I need to use to get information about my touchpad and how to enable or disable it.Hello Caillen
Thanks for reply.
Where can I find APIs or SDKs for Nvidia and ATI Video Graphic cards?
tnx again
Edit 1:
I've found these link about
CUDA Toolkit 7 for Nvidia and
APP SDK for AMD.
Can I do what I want with this SDKs?
Is there any tutorials or sample to help me use them?
Edit 2:
In TechPowerUp GPU-Z software, I've found this:
Did TechPowerUp
used
this SDKs to get
their needed
information?
In TechPowerUp GPU-Z software,
I see only one executable file and there is no dlls or anything.
I'd like to do this job like them. How can I do that?
thanks -
Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?
Did you delete all receipts with iDVD in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/ folder before installing the new copy? If not then do so and delete the new application also.
Click to view full size
Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
OT -
How to get information about connections and calls?
Hi everyone,
I would like to know if there's a way to get informations like time spent and bytes transfered from connections* and callings made from the cellphone, not just from a midlet application?
* Any type of connections like WAP, SMS, GPRS.
tksAs far as getting the time it takes, as i've previously seen responded to this type of problem you can get the time before and after the event that took place and do a subtraction to calculate the time it took.
-
How to get information about limitation Internal Memory on device
hallo ..
have some question here, so please some person able to answer my questions
1. How to get Information about limitation internal memory on device
2. is possible to improve internal memory on Blackberry ( move apps on external memory )
3. any tools to get internal memory activity ?
thanks for this people who joins here, hope we can share more information about blackberry ..In addition...
There are three types of potential memory on a BB: 1) Application Memory, 2) Device Memory, and 3) Media/SD Card Memory.
Application Memory -- This is the most crucial; it is the protected (not user accessible), dedicated, and fixed (in size) space that is available as the destination for the installation of applications (plus some application storage, overhead and such). You cannot touch AppMemory. You cannot improve the maximum AppMemory that your BB has. It is what it is. Applications can only install here...there is no option.
Device Memory -- This is space on your BB that you can touch to store files, pictures, media, etc. Typically, it is not terribly large, but it is available to you.
SD/Media Card Memory-- This is what it says...your SD card, for you to store files, media, pictures, etc. It can be as large as your BB OS can support...see this KB:
KB05461MicroSD card sizes supported by the BlackBerry device software
On some devices/OS levels, you can only see "File Free" (Options > Status), which I think is equivalent to AppMemory. On other devices, you can see all three memory usage levels (Options > Memory). Here are some guidelines to use:
KB02843What is the Low Memory Manager feature on the BlackBerry smartphone
KB14320How to maximize free space and battery power on the BlackBerry smartphone
KB14213Call logs, SMS text messages, and email messages are deleted from the BlackBerry smartphone
Lastly, it is always important to properly close applications when you are done with them. Using the Back or the Red key will not do this -- those leave it to the app to decide what to do...and some will leave themselves resident in memory, consuming resources on your BB, slowing the overall performance. Rather, to close an app, press and select "Close" or "Exit"...that will force the application to be closed, freeing up for your new use the resources it was consuming. Some apps will always remain running (typically -- BBMessenger, Browser, Homescreen, Phone, and Messages)...but, you should still close them properly - especially the Browser...if it is left on an active web page, it will not only consume extra resources but battery power as well.
Further, anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure. Some have taken to doing this on a regular basis as a preventive measure...some as frequently as once per day. Others have obtained the QuickPull app to automate a simulated Batt-Pull.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Howto get information about available queues?
Any ideas how to get information about available queues on a Weblogic Server to browse them?
When you have the jndi namespace and the name of the queue it's no problem to browse that queue, but when you don't have the name of the queue is there a way to still be able to browse the queue(s)?
Any information is warmly welcomed.
Thanks,
ChrisA QueueBrowser is currently the only way to view message contents. WebLogic 9.0 (out in beta now), provides comprehensive message management both via console and JMX.
For 8.1, the following links may help get you started.
JMS technology page:
http://dev2dev.bea.com/technologies/jms/index.jsp
WebLogic public management/monitoring APIs:
http://edocs.bea.com/wls/docs81/jmx/index.html
jsp based dest browser (which ultimately uses a QueueBrowser):
http://dev2dev.bea.com/codelibrary/code/jmsdest.jsp
JMS statistics dump:
http://dev2dev.bea.com/codelibrary/code/jms_stats.jsp
Tom Barnes, BEA -
How to get information about creation of a virtual machine on a Hyper-v host.
Hi,
How to get information about creation of a virtual machine on a Hyper-v host?
I need: host name, time created, creator user.
I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
Thank's in advance.
Denius ValiantFor Host Name * Created Time Use This Command In PowerShell
Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
and for Create User , As i know you should see on Event Log .
Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational
You can see in Event Log who create the Vm.
Whenever you see a helpful reply, click on Vote As Helpful & click on
Mark As Answer if a post answers your question.
LinkedIn:
Facebook:
-
HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL
HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
we have developed an application using oracle forms 10g with
oracle database 10g and Application server 10g
Application uses a single Oracle User name to connect to database
where as at Application level there are different users (these are not database users)
Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
USERENV('TERMINAL')
we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
thanks
Chaand Kackriahi, you can use the sys_context function, like this:
select sys_context('userenv','current_user'),
sys_context('userenv','os_user'),
sys_context('userenv','host'),
sys_context('userenv','ip_address'),
sys_context('userenv','instance'),
sys_context('userenv','sessionid'),
sys_context('userenv','terminal')
from dual;
Is this what you 're looking for? -
How to get information about cursor? I had only a reference on it.
Hello
How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
Best Regards, Kostya Proskudin!However, I would seriously reconsider what you are trying to achieve.
It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
Be careful you aren't writing something that's going to cause problems later. -
PDF DOM - getting information about underlining
Hi, I‘m trying to prepare PDF documents for blind users. For this I have to extract the visual information of the text and there font style.
And this is my problem:
I read the PDF document through the Acrobat or Adobe-Reader application via UI-Automation, Microsoft Active Accessibility and the Adobe intern Accessibility library to access the PDDom.
In all these different way there is no way (that I found) to getting information about if a word is underlined or not.
Did anybody know a way to do this, or is it impossible to get information about that?
Thank u for your interest in my post and for all the helping ideas that will be posted.
Jselect prv_value from ctx_user_preference_values where prv_attribute='PATH'
and prv_preference='MY_PREFERENCE_NAME'
But note that you'll need to rebuild the index before this will take effect.
Maybe you are looking for
-
Unexpected and random shutdowns
I just got a new 27 iMac and it has be unexpectedly shuting down a fews times a day on me since I got it and I cant figure out why and nether can apple care, Please Help... copy from log 8/27/10 11:16:24 PM shutdown[259] SHUTDOWN_TIME: 1282976184 985
-
Good afternoon. With the newest update of Firefox for PC (31.0), I have a problem that occurs almost every time I use the browser. When trying to close a tab, it sometimes cause the browser to freeze during one minute. Then a dialog-box appears on th
-
Compressor not outputting DVD even after numerous fixes attempted
I’m having problems getting Compressor 3.5 to output a DVD. Source file is a 135GB ProRes 422 HQ Quicktime file at 1920x1080 resolution -- it’s the final cut of my 106-minute feature film. I’ve tried numerous solutions to the problem described belo
-
I can't update my ipad2 to ios5. After 2 hours of what looks like a successful download and processing is about to begin, I lose connection and get message network timed out check network settings and connection, but I am still connected via wifi. An
-
How to convert Pal HDV to NTSC
Hello, I am finishing up a 100 minute project which was shot on HDV 50i (pal). Has anyone have a suggestion to what is the best way (somewhat inexpensive) to convert it to NTSC? I've heard of Nattress Standards Conversion filters, but I don't believe