JMS: is it possible to monitor the length of the queues?
Hi,
is it possible to monitor in realtime how many messages are in a JMS queue waiting for being processed?
I'm using the standalone OC4J.
Matteo Candaten
Hi Matteo Candaten,
I have a problem in JMS.
I had created the tables related to queues in DB. i had also bound the queues with the JNDI names in jms.xml
Still i am unable to use the queues.
I am getting an error saying,
javax.jms.JMSException: Unable to connect to JMSServer (127.0.0.1/127.0.0.1:9127)
at com.evermind.server.jms.EvermindQueueConnection.connect(EvermindQueueConnection.java:144)
at com.evermind.server.jms.EvermindQueueConnection.send(EvermindQueueConnection.java:94)
at com.evermind.server.jms.EvermindQueueSession.send(EvermindQueueSession.java:117)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:75)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:36)
at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:31)
at OracleJmsSender.sendXmlMessage(OracleJmsSender.java:115)
at OracleJmsSender.<init>(OracleJmsSender.java:57)
at OracleJmsSender.main(OracleJmsSender.java:138)
Can you please give me some idea, how to configure and use JMS in oracle 9ias and
the properties i had set are,
static String JNDI_FACTORY = "com.evermind.server.rmi.RMIInitialContextFactory";
static String SERVER_URL = "ormi://dsrso2:23791/";
static String USER_NAME = "admin";
static String PASSWORD = "kumardsr";
static String FACTORY_NAME = "jms/TTQueueConnectionFactory";
static String QUEUE_NAME = "jms/demoQueue";
are these correct or do i need to change these ??
I just dont have a clue where i am worng.
it would be of great help if u could help me in this..
thanks a lot..
Kalpana
Similar Messages
-
The type and the length of the members of the structures
I am making the BC-XAL program.
Reading `XAL_Interface_Documentation_11.pdf', now I succeeded in "Reading All Saved Monitor Sets" and "Reading All Monitors of a Monitor Set". but I can't find the type and the length of the member of the Structure BAPITNDEXT, so I cannot get the Monitoring Tree of a Monitor.
where can I get any documents or information ?This is how it looks in my 46c system.
MTSYSID SYSYSID CHAR 8 0R/3 System, name of R/3 System
MTMCNAME ALMCNAME CHAR 40 0Alert: name of monitoring context
MTNUMRANGE ALTIDNUMRG CHAR 3 0Alert: monitoring type number range (perm., temp, ...)
MTUID ALTIDUID CHAR 10 0ALert: Unique Identifier for Monitoring Types (used in TID)
MTCLASS ALTIDMTCL CHAR 3 0Alert: monitoring type class (perf., single msg.,...)
MTINDEX ALTIDINDEX CHAR 10 0Alert: internal handle for TID
EXTINDEX ALTIDINDEX CHAR 10 0Alert: internal handle for TID
ALTREENUM ALTREENUM INT4 10 0Alert: MT Tree info: Number of tree
ALIDXINTRE ALIDXINTRE INT4 10 0Alert: Tree Info: Index of MT in Tree
ALLEVINTRE ALLEVINTRE INT4 10 0Alert: Tree Info: Level of MTE in Tree
ALPARINTRE ALPARINTRE INT4 10 0Alert: Tree Info: Index of Parent of MT in Tree
OBJECTNAME ALMOBJECT CHAR 40 0Alert: Name of Monitoring Object
MTNAMESHRT ALMTNAMESH CHAR 40 0Alert: Short Name of Monitoring Type
CUSGRPNAME ALCUSGROUP CHAR 40 0Alert: Customization: Name of Customization Group
DELIVERSTA ALDELIVSTA INT4 10 0Alert: MT Val: Delivery Status
HIGHALVAL ALVALUE INT4 10 0Alert: alert value (1 = green, 2 = yellow, ....)
HIGHALSEV ALSEVERITY INT4 10 0Alert: severity (alerts, monitoring type custom..)
ALSYSID SYSYSID CHAR 8 0R/3 System, name of R/3 System
MSEGNAME ALMSEGNAME CHAR 40 0Alert: name of monitoring segment
ALUNIQNUM ALAIDUID CHAR 10 0Alert: Unique Identifier to be used in AID (char10)
ALINDEX ALINDEX CHAR 10 0Alert: internal handle
ALERTDATE ALDATE DATS 8 0Alert: date
ALERTTIME ALTIME TIMS 6 0Alert: Time value in timeformat
DUMMYALIGN ALDUMMYC2 CHAR 2 0Alert: Dummy field. Purpose: Alignment of date/time 16 byte
LASTVALDAT ALDATE DATS 8 0Alert: date
LASTVALTIM ALTIME TIMS 6 0Alert: Time value in timeformat
LASTVALDUM ALDUMMYC2 CHAR 2 0Alert: Dummy field. Purpose: Alignment of date/time 16 byte
ACTUALVAL ALVALUE INT4 10 0Alert: alert value (1 = green, 2 = yellow, ....)
ACTUALSEV ALSEVERITY INT4 10 0Alert: severity (alerts, monitoring type custom..)
VALSYSID SYSYSID CHAR 8 0R/3 System, name of R/3 System
VMSEGNAME ALMSEGNAME CHAR 40 0 Alert: name of monitoring segment
VALUNIQNUM ALAIDUID CHAR 10 0 Alert: Unique Identifier to be used in AID (char10)
VALINDEX ALINDEX CHAR 10 0 Alert: internal handle
VALERTDATE ALDATE DATS 8 0 Alert: date
VALERTTIME ALTIME TIMS 6 0 Alert: Time value in timeformat
VALERTDUM ALDUMMYC2 CHAR 2 0 Alert: Dummy field. Purpose: Alignment of date/time 16 byte
COUNTOFACT ALCNTACTAL INT4 10 0 Alert: MT Val: Count of active Alerts
COUNTSUM ALCNTSUMAL INT4 10 0 Alert: MT Val: Sum of Alerts in MT
VISUSERLEV ALVISILEVL INT4 10 0 Alert: MTE type dev cust: Visible on user level (op,exp,dev)
TDSTATUS ALTDSTATUS INT4 10 0
Alert: MT: Type Def Status
Welcome to SDN.
Regards,
Rich Heilman -
How to increase the length of the char which has master data!
Hi,
I am uploading hierarchy from flat file!
i am using basic char texts as hierarchy texts and my basic char has length 15 )
Because the first 15 characters of the hierarchy short text are same, and it s total length being 15, while uploading it is giving me error saying same record values cannot be used more than once!
( i am using nodename as hierarchy texts and my basic char has length 15 )
when i try to increase the length of the char by deleting entries in it, the delete option is grayed out!
Any suggestions?
Thanks,
RaviHi,
Check it out that object where-used list, whether that object is used in any other cubes or ODS or any target......
If it is used then delete all the data from all the targets and also object data itself.
Then it is possible to increase the length.
One more thing is if you want to change in Production system directly ,may be you have the display authorization only.
You have to change it in to development system and trasport it to production system.
Regards,
Venkat -
How to Sort by the length of the returned value from a query.
Hi,
I was wondering if it is possible to sort by the length of the returned value from a query?
For example if I want to get a list of people with the name 'Samuel', I would like to short by how short the length of the whole name is.
Sort by length of the name in SQL
Samuel Syda
Samuel Indranaka
Samuel Johnsons
Samuel Longhenderson
Thank you.Hi,
Sorting is done by an ORDER BY clause at the end of the main query.
In most cases, you can ORDER BY any expression, even f it is not in the SELECT clause. In this case, it sounds like you just need:
ORDER BY LENGTH (name_column)
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Post your query, using an ORDER BY clause like the one above, and point out where that query is producing the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
The length of the password entry field in the BEx Analyser
Hi,
The password is 8 characters in the BW system.
When users changing their newly assigned passwords. When logging into the BEx Analyser, and prompted to change the password, a password entry box is displayed, with an entry field longer then 8 characters. Some users are therefore entering passwords longer then 8 characters. This is fine when they first login, but when they try come back to the system, their logon fails.
Can something be done to restrict the length of the password entry field in the BEx Analyser?
Many Thanks
JonathanHi Jonathan
we are having the same problem - did you find a way to resolve this? I did not find any SAP notes referring to the issue.
Regards
Hayley -
The length of the recording and exporting truncated
Hi there.
It's my first venture into GarageBand. I have just a few questions.
First, how can I tell the length of my recording without having to listen to the entire session? Dragging the indicator bar in the window to move it along takes a very long time, is there a quicker way to do this?
Second, I have been exporting my files to iTunes to burn CD's. I am seeing that the file get's shortened in the process. It's not just a small clip, but rather edits out over 15 minutes on one file. Any thoughts? I called Apple and they knew nothing.To determine the length:
- Switch the meter that shows bars and beats to minutes and seconds (by clicking on the clock icon).
- Scroll to the end of the song.
- Click into the timeline's ruler, and the cursor will be taken there, the meter showing the minutes and seconds.
As for the export: Do you see the little purple triangle in the timeline, pointing to the left? That's your End of Song marker. Does it sit at the right position? If not, move it there and try exporting again. And since this little ******* is playing tricks sometimes, a more exact way of exporting is using the circle function and setting the circle section exactly from the beginning to the end of what you want to export.
Oh, and by the way: How long is your recording? If it exceeds 999 bars, then GB will only export until bar 999, although your whole recording is still there.
Come back and tell us what you found out! -
Calculating the length of the longest side of a polygon
If you want to calculate the length of the longest side of a polygon -- for example a rectangle -- how can that be done using the standard geometrical functions of spatial in an oracle 10g2 database?
SDO_LENGHT delivers the outline of the polygon. If have looked at the LRS functions, but could not come up with a combination that delivers me what I am looking for. Any suggestion is appreciated.What do you see as the longest side?
Is that the longest stretch between 2 consecutive vertices?
If this is the case, this sql could be of help, which could need maybe some optimisation and extension (calculates straigth distance between 2 consecutive vertices).
select id, p_side_nr, p_side, p_side_length
from
select id, p_side_nr, p_side, sdo_geom.sdo_length(p_side, 0.005) p_side_length, max(sdo_geom.sdo_length(p_side, 0.005)) over (partition by id) max_p_side_length
from
select id, p_side_nr,
sdo_geometry(2002, NULL, NULL,
SDO_ELEM_INFO_ARRAY(1,2,1),
SDO_ORDINATE_ARRAY(startx, starty, endx, endy)
) p_side
from
select
startp.id, startp.x startx, startp.y starty, startp.v_id p_side_nr, endp.x endx, endp.y endy, endp.v_id
from
select s.id, t.id v_id, t.x, t.y
from your_table_name s, table(sdo_util.getvertices(geometry)) t
) startp
select s.id, t.id v_id, t.x, t.y
from your_table_name s, table(sdo_util.getvertices(geometry)) t
) endp
where startp.id = endp.id
and startp.v_id = endp.v_id - 1
) where p_side_length = max_p_side_lengthif you do not need the geometry of that longest side, you could follow Ivan's suggestion as a shortcut by using Pythagoras.
Edited by: lucvanlinden on Sep 2, 2008 7:48 PM -
What is the length of the Lightning cable that comes with the iPad Air?
Actually have three questions.
1. What is the length of the Lightning cable that came with my iPad Air? I ask because I might need to purchase a new one.
2. My current Lightning cable, the one that came with my Air, the end of the cable, the rubber is coming off, it's stretched. Would AC+ send me a new one?
3. I have an iPhone 5s also, does the iPhone have it's own unique Lightning cable or can I use my iPad Air Lightning cable to charge my iPhone and vice versa, are the Lightning cables universal with the newer products?
Thanks.http://store.apple.com/us/ipad/ipad-accessories/cables-docks#!
-
If we can increase the length of the Short Text field in a purchase order?
Hi Experts,
Please suggest if we can increase the length of the Short Text field in a purchase order?
If yes, How? and what will be the impact?
Thanks
GavarDear Arpit,
You can use PO Text field for long description of the material.
Regards,
Manish Jain -
How do I make a still image (photo) fit the length of the music? I record music and want to convert the tracks to a video file with a still image of my business logo in the background. On windows movie maker you could just select "fit to music" but this program isnt as easy to figure out! Any help?
Double-click on the still image in the project timeline to open the Inspector. In the Inspector, adjust the duration by typing in a new duration to match the length of your music. I think the limit for a still image is 10 minutes. If you need more than this, simply drag the image into the timeline again then adjust its duration. The two images will play seamlessly (no gap will be visible).
See this iMovie Help topic:
http://help.apple.com/imovie/#mov3a883915
You can achieve more precision when entering durations by changing a preference in the menu item iMovie Preferences. Check (tick) the preference for Show Time As HH:MM:SS:frames. This will enable you to enter the duration of stills down to the frame level, rather than full seconds (NTSC is 30 frames per second; PAL is 25 fps). When entering times, type a colon between each time segment, such as 2:50:15, which represents 2 minutes 50 seconds and 15 frames. For 5 seconds 20 frames you would enter 5:20 and so forth.
Note that the music will only run to the length of the video in the timeline (in your case, the still images). So, after increasing the stills duration you will need to drag the end of the music track as far as required. The stills can be dragged inwards to reduce the duration if necessary.
John
Message was edited by: John Cogdell - added Note -
I rented a movie on my iPad. It downloaded fine but would only play 36 minutes, 5 seconds worth of the movie; although the time kept running for the length of the movie. Can this be fixed or do I need to get a refund?
You can try a rest:
Reset iPad: Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
- If that does work, contact iTunes and request a redownload. You can ask for a refund though. -
Hello. I have an iPad2, and iMovie software. My main problem, for the moment, is the length of the videos: I can´t create a video with more than 56 seconds. When I try, the app shuts off... Can anyone help me?
Sorry. We can't help you. It's no longer an iPhone. Apple won't touch it.
Take it to whoever replaced the screen and see if they can help you.
iPhones are not user servicable and Apple does not sell iPhone parts at all. I'd be surprised if you were actually able to back it up at this point. It sounds like it's completely borked. -
How to increase the length of the clock signals on NI8451
I'm using NI8451 to read data from a linear technology ADC chip.
Using a scope, I found the clock signal only lasts for one byte (8-bit) during the read/write process,
ie. the clock signal is turned on for one byte period (8 clocks) and then is off for about 10-20us,
after that, the clock is on again for next byte.
Is there a way to change the length of the clock signal? In my case, I need about 96 clocks to flush out the ADC data.
But it looks like NI8451 only can generate 8 clocks one time.
Any suggestion will be appreciated.Hi JHXU,
Are you using SPI or I2C?
With SPI, essentially the clock stops toggling when there is no more data transmitted. You could try implementing a delay in your data transmission to ensure that the clock runs for time you require. However, to add a delay, you need to use the Advanced 845x SPI functions. In CVI, the command for adding a delay is
int32 ni845xSpiScriptDelay ( uInt32 ScriptHandle, uInt8 Delay );
More information on the SPI Advanced API can be found in the NI-845x Help or in this tutorial.
With I2C, I think you would just need to toggle the clock line (SCL) high. There is also a delay function in the Advanced I2C functions that may allow you to do this.
Julianne K
Systems Engineer, Embedded Systems
Certified LabVIEW Architect, Certified LabVIEW Embedded Systems Developer
National Instruments -
How to increase the length of the subject line in email using FM
Hi
we have maintained 50 characters for the subject line initially, but some subjects are having more than 50 characters. how can we increase the length of the subject line in email.
urgent.
points will be rewarded generousely.Hi Rana,
In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
Regards,
Vijay Kumar
SAP Business One Forums Team -
How to increase the length of the identifier?
I want to create a table with a column name as:
"domainnameregistrationassistance"
oracle 9i does not allow me to do this.
as the identifier length is fixed to 30 characters.
how do i increase the length of the identifier?
any help on this will be great!Don't forget that there is a comment space for each table
and column, so calling the column DNR_ASSIST doesnt
revent you from doing ...
COMMENT ON TABLE M_SCHEMA.DNR_ASSIST IS '
Domain Name Registration Assistance'; -
How to restrict the length of the input?
Hi all, could any one tell me how to restrict the length of the input string? My SOA Suite is 10.1.3.1
I tried the following; getting an error.
<element name="RestrictLengthProcessRequest">
<simpleType name="SSN">
<restriction base="string">
<length value="10"/>
</restriction>
</simpleType>
where RestrictLengthProcessRequest is the message name of the corresponding .wsdl and SSN is the input whose length is to be restricted.
The error is : 'Attribute name not defined on element simpleType'
Thanks in advance.
Edited by: user11275112 on Aug 27, 2009 11:44 PMHi swathi,
For this you have to create a simple data type. No need of writing a code.
Go to Dictionaries -> Local Dictionary -> Data Type - > Simple Type - > Right click and "Create Simple Type".
Here you should create a Simple type with String as built-in Type. Here you will also see the Length Constraints option.
Set the value of maximum length and minimum length. In your case set the value of maximum length to 10. At runtime this will not allow the user to enter more than 10 characters.
Now create an attribute and bind it to this newly created simple type. Bind the value of the input field with this particular attribute.
Regards
Manohar
Maybe you are looking for
-
SSRS 2008 R2 - COUNTDISTINCT By Group
Hello, Thanks for the help in advance. I have some a results set that gives some numbers by country. The countries selected are controlled by a parameter which is 'Multi Select'. There could be one or many countries selected. My 'Detail' level dat
-
Customizing Standard OTL workflow notification.
Hi All, We have requirement to customize the Time details in OTL workflow modifications. Updated details of time card should be displayed in different colour. Notifications are being rendered dynamically. So unable to c ustomize the notification det
-
Using Mail 3.1 with Exchange Server
First post here ! I've successfully got MS Entourage working with our Exchange Server here at work. However, I am having problems using Mail 3.1 working with the Exchange Server. For some reason, auto complete of LDAP addresses is not working. My set
-
TS3682 How can I unlock a disabled scene on iPhone 4
I had a password on my iPhone 4 and someone tried to unlock and they didn't know the password and now my phone is disabled how can I fix it
-
How to enable export option in oracle apps
I have a custom form, which needs to export the data. File->Export option is disabled in all the responsibilities. How to enable this option only for this form? appreciate your help