Can dynamic in-memory queues be created programmatically in OC4J?
Is it possible for an EJB to dynamically create an in-memory queue in OC4J?
I'm using message-driven bean for concurrency. That is, each client posts messages to a queue so that message-driven beans can process each message concurrently. Each client will receive responses from the MDB's via a response queue. I want each client to dynamically create its own in-memory response-queue. Thus, is it possible to dynamically create an in-memory queue in OC4J? Or is the only option to have a single queue, or pool of queues, and use a message selector system for each client to identify its response messages?
Thanks,
Travis
We're using in-memory queues provided with
The following FAQ, written in 2004m, indicates that in-memory queues cannot be created dynamically. However, the FAQ is old. I'm wondering OC4J 10.1.3.1 or higher (i.e. 11g) now allows dynamic creation of in-memory queues.
http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/oc4j-faq-jms-1012.html
I haven't found a newer FAQ that indicates whether in-memory queues can now be created dynamically using OC4J 10.1.3.1.
Similar Messages
-
Can I add Custom Content Type created programmatically to Custom List Definition?
I have created Custom content type programmatically in the Feature Receiver. Followed by this have another feature which creates List Template. I want to add the custom content type to the list template.
Using VS 2012, I added the custom content type to the list definition. The Schema.xml for the list definition looks as below:
<ContentTypes>
<ContentTypeRef ID="0x010100D7D9F4B1F4A9684BB44389571024B2EC00C393BB21B8AD7B41B62A87DF0501504D" />
</ContentTypes>
ID was automatically added by the VS tool.
List Template is created, the new content Type is also added, but the Name is displayed as "Document" instead of the custom content type name. So I see two CTs with the name "Document".
How can I achieve this? Any help is appreciated.Hi,
Please add EnableContentTypes="TRUE" in the <List > tag.
The following materials would be helpful:
How to add custom content type to a custom list
http://innersharepoint.blogspot.de/2009/10/how-to-add-custom-content-type-to.html
SharePoint Custom List Definition with Content Type
https://achrafsp.wordpress.com/2013/03/31/sharepoint-list-definition-with-content-type/
Create a Custom SharePoint List Definition
http://www.mssharepointtips.com/tip.asp?id=1188
Best Regards
Dennis Guo
TechNet Community Support -
Can pattern swatch be created programmatically?
Is it possible to created a pattern swatch programmatically?
I could find information on creating custom color swatches using xml format but don't know about pattern swatches.
Please help me!We're using in-memory queues provided with
The following FAQ, written in 2004m, indicates that in-memory queues cannot be created dynamically. However, the FAQ is old. I'm wondering OC4J 10.1.3.1 or higher (i.e. 11g) now allows dynamic creation of in-memory queues.
http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/oc4j-faq-jms-1012.html
I haven't found a newer FAQ that indicates whether in-memory queues can now be created dynamically using OC4J 10.1.3.1. -
FTP Adapter internal in-memory queue
Hi,
I am trying to implement the use case where i need to pool the new files from the FTP Server. We have only read access to FTP Server. So we can't archeive or delete the files from the FTP Server. And when the new files are placed in the ftp server we need to process only the new files not the old files.
When i have read the file adapter documentation, the default thread will poll the meta data info of the file and store in internal in-memory queue, processor will pick only new files based on the meta data information available in internal in-memory queue.
Can any one please let me know where exactly the internal in-memory queue is stored because as part of system maintenance we need to perform purging or backup the soainfra schema. If i perform purging on soa-infra still the file metadata stored in in-memory queue will exists so that old files are not read again?
Regards,
ManoharThe solution is either change the order of deployment or copy the FileAdapter.rar file in $ORACLE_HOME/lib location and restart the server as mentioned here.
http://soa-bpel-esb.blogspot.com/2011/04/javalangnoclassdeffounderror.html -
Is there a way to dynamically allocate memory in labview?
In the C programming language, there are malloc() and free() functions which, combined with pointers, allow the user application to dynamically allocate memory.
LabVIEW does all of its memory management completely automatically, which is almost always an extermely good thing, and you don't have any real way of controlling it. Normally, memory is reused throughout the application and deallocated when the top level VI is closed. You can use the deallocate VI (in the Advanced pallete) to force a deallocation, but this will only help if you finished with the subVI.
The new version 8.0 also includes an option to decide when a subVI will be loaded into memory, which can also help. Normally, real memory problems in LV only occur when you have very large structures because LV needs a contiguous block of memory to hold its data. For most cases, there are various solutions available.
Do you have any specific problems?
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world! -
In my server RMAN can't allocate memory to the virtual instance
Hi
I want to restore my database in a new server
At first I want to restore "spfile" from controlfile autobackup, there is no spfile or pfile of my database in the new server
I do these steps
1 . expoer ORACLE_SID=Sales
2. rman target /
3. rman > set dbid 817528985
4. rman > startup force nomount
after step 4 I get this error :
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 09/22/2010 14:03:21
RMAN-04014: startup failed: ORA-04031: unable to allocate 28704 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kebm test replies")
I get this error while I have about *80GB* free memory on the new server
and my parameters in /etc/sysctl.conf file is :
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.shmall = 5242880
kernel.shmmax = 42949672960
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
I need to say that I can create a new database in that server by dbca that its
sga_max_size is 9632M and pga_aggregate_target is 3206M
Do you know what is wrong ? Do you know why RMAN can't allocate memory to the virtual instance ?
thanksThe database which could not start is because of the low memory on the system or in the sga_max_size there is high value set. So the system could not allocate so large memory as it does not have free so much. There may be other reasons like OS limitation in order of usage the memory.
Set a lower amount of memory in the database.
Eg:
SQL> alter system set sga_max_size=1600M scope=spfile;
System altered.
SQL> alter system set sga_target=1600M;
System altered.
refer the link it will be useful:http://arjudba.blogspot.com/2008/05/startup-fails-with-ora-27102-out-of.html
else use manually copy the spfile/pfile to the new server
refer the link, it may be useful to you.http://oracleinstance.blogspot.com/2010/08/disaster-recovery-using-rman-demo.html
Edited by: rajeysh on Sep 22, 2010 4:40 PM -
I have an older mac mini(2007 maybe?). I do I put my photos from IPhoto to a memory stick to creat more spapce?
You can move them to a new location by:
iPhoto: How to move the Library folder to a new location - Apple Support
Note that you should always have the the USB stick inserted when you open iPhoto -
Missing queues for created indexes
Hi,
I'm trying to enable the search function for e-recruitment.
TREX is installed and in the ERP 6 system, the customising to create the SSR has been performed, the document class to be indexed set up etc. and the settings have been checked in SKPR07.
Having set up the indexing, I can see that I now have three indexes in TREX, one for each client in my ERP 6 system. However, no queues have been created. Shouldn't the queue be created when the index is created? Any ideas?
At the moment the system knows that there are documents to index but can't since I'm assuming there is no queue.
In addition, when in SKPR07, a message is displayed saying that documents are to be indexed using the new API, SKPR_INDEXING1. I've not found any help on this and that doesn't seem to work either.
Any ideas welcome.
Regards,
Rob ForsterHi,
Thanks but I've resolved the issue now. We didn't have any queues at first to be able to flush but it was matter of turning on a parameter to use a queue server.
There was a pre-processor authorisations problem too.
Note 658052 and 650521 sorted us as far as indexing documents.
Now onto why the searches through the portal return 0 hits whilst they work in the backend. Still, a few more notes about that.
Regards,
Rob Forster -
When Broker Restarts None of the Temporary Queues Are Created
Somehow when the broker restarts none of the temporary queues are getting recreated. The queues were created successfully the 1st time and the applications were happily exchanging messages. Things just fall apart when the broker restarts.
I'm able to reproduce this problem consistently by doing the following:
1. Start imqbrokerd (mq start)
2. Start client application
3. Shutdown imbrokerd (mq stop)
4. Start imqbrokerd (mq start)
After the producers in the client application have reconnected the following messages are displayed in the console. I'm only able to get the client app to work again is if I restart the client apps.
[02/Mar/2009:23:01:01 CST] attempting to set Message Bytes Limit to 10485760K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
[02/Mar/2009:23:01:01 CST] attempting to set Message Size Limit to 10240K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
[02/Mar/2009:23:01:01 CST] [B1065]: Accepting: [email protected]:57123->jms:37646. Count: service=9 broker=9
[02/Mar/2009:23:01:01 CST] [B2083]: Unable to create destination temporary_destination://queue/192.168.20.14/49823/1 [Queue], autocreation is forbidden
Do you guys have any idea on what's going on? Does anybody know of an existing workaround?
Environment:
- OpenMQ 4.3
- CentOS 5.2
- Sun JDK 1.6_05
- Spring 2.5.5
- Camel 1.3.0
I also looked at the code and found only one location where the error message is used. I still need to figure our how I can get the conditional expression to evaluate to false.
share/java/com/sun/messaging/jmq/jmsserver/core/Destination.java
1395 if (!DestType.isAdmin(type) && !canAutoCreate(DestType.isQueue(type),type) && !BrokerMonitor.isInternal(destination)) {
1396 throw new BrokerException(
1397 Globals.getBrokerResources().getKString(
1398 BrokerResources.W_DST_NO_AUTOCREATE,
1399 getName()),
1400 BrokerResources.W_DST_NO_AUTOCREATE,
1401 (Throwable) null,
1402 Status.FORBIDDEN);
-bash-3.2$ /tmp/openmq-4.3/mq/bin/imqcmd query bkr -t q -n MYQUEUE -u admin
Password: admin
Querying the broker specified by:
Host Primary Port
localhost 7676
Version 4.3
Instance Name imqbroker
Broker ID
Primary Port 7676
Broker is Embedded false
Instance Configuration/Data Root Directory /tmp/openmq-4.3-data/var/mq
Current Number of Messages in System 202
Current Total Message Bytes in System 317483
Current Number of Messages in Dead Message Queue 201
Current Total Message Bytes in Dead Message Queue 316444
Log Dead Messages true
Truncate Message Body in Dead Message Queue false
Max Number of Messages in System unlimited (-1)
Max Total Message Bytes in System unlimited (-1)
Max Message Size 70m
Auto Create Queues true
Auto Create Topics true
Auto Created Queue Max Number of Active Consumers unlimited (-1)
Auto Created Queue Max Number of Backup Consumers 0
Cluster ID
Cluster is Highly Available false
Cluster Broker List (active) mq://192.168.1.123:7676/
Cluster Broker List (configured)
Cluster Master Broker
Cluster URL
Log Level DEBUG
Log Rollover Interval (seconds) 604800
Log Rollover Size (bytes) 268435456
Successfully queried the broker.
I also tried versions 4.4 and 4.2 and received the same behavior :(The application is inside an app server but we're not using a resource adapter as we're using Spring and Camel to hide the JMS details. Spring (JMSComponent) manages the connection directly. (We current don't have any JMS connection pooling as well.)
<bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
<property name="connectionFactory" ref="jmsConnectionFactory" />
</bean>
<bean id="jmsConnectionFactory" class="com.norvax.framework.jms.OpenMQConnectionFactory">
<property name="openmqBrokerConfiguration">
<props>
<prop key="imqBrokerHostName">$remoting{openmq.hostName}</prop>
<prop key="imqBrokerHostPort">$remoting{openmq.hostPort}</prop>
<prop key="imqReconnect">true</prop>
</props>
</property>
</bean>
<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory" ref="jmsConnectionFactory" />
</bean>
I'm going to write a very basic producer using Spring without using Camel and see if I'll get the same behavior. I'd like to see if the way Camel uses JMS is what's making OpenMQ broker to deny creation of temporary queues.
Thanks,
Jeff -
Can anyone explain me how to create a transparent table(z table) dynamicall
Can anyone explain me how to create a transparent table(z table) dynamically in the program.
Hi,
Look at the below link
http://www.sap-img.com/ab030.htm
Regards
Sudheer -
How can I reclaim memory/storage so I can burn a DVD with iDVD?
How can I reclaim memory/storage so I can burn a DVD with iDVD?
Move your iPhoto Library and/or your iTunes library to and external HD that is formatted OS X Extended (journaled) and run them from there. Be sure to try the libraries on the EHD before you delete them from the boot drive.
This should easily free up the 25 GB minimum needed for iDVD to create and burn video DVD efficiently.
Follow this workflow to help assure the best qualty video DVD:
Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image menu option. This will separate the encoding process from the burn process.
To check the encoding mount the disk image, launch DVD Player and play it. If it plays OK with DVD Player the encoding is good.
Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality. Always use top quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums. -
Can anybody suggest me how to creat match code id and object
hi Gurus,
can any body suggest me how to create match code object and match code id..
in my program i need specific values in search help..
to avoid confusion in selecting the values.
i need only selcted values..
thanks in advance.
vijay chavanHi
In Older SAP versions Match codes are used, now they are replaced by SEARCH HELPs
there 2 types of search helps
Elementary and Collective
see the doc and create accordingly
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
A Collective search help provides alternative search
Paths by combining elementary search helps.
Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
A collective search help also has interface parameters like
an elementary search help.
Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
Parameter assignment needs to be done for each of the
Included search helps.
When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
User may choose the tab and thus the elementary
search maethod.
When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
By 1)Search for customer according to booking
2)Search for customer according to name.
These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
HOT KEY
The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
Steps to create a Collective Search Help
1)Enter the search help name and click on create.
2)Choose Collective search help radio button option as the search help type.
3)Enter the search help parameters.
4)Instead of the selection method, we enter the included
search helps for the collective search help.
5)We need to assign parameters for each of the included
search helps.
6)Complete the parameter assignment by clicking on the push button
7)Collective search help offers the user to obtain F4 help
using any of the included search helps.
Regards
Anji -
This question is a part of my job profile. I work for an MNC chip maker. As a part of our systems testing environment, we boot into the Microsoft windows 8.1 windows OS and run some specific tests from the OS. The platform design (mother board) is an internal
design.
Issue is with the booting sequence since no much information is available when Windows 8.1 tries to boot and when we see the splash screen. Especially when we see a BSOD, there had been no leads.
I tried to enable the small memory dump option in Windows 8.1 OS which tries to write the files into the location %SystemRoot%\Minidump on a system crash while boot. Please note that Windows 8.1 has been stored as a .VHD file in the hard disk (which
is the boot-disk). The issue is, even in an event of a BSOD while booting, I am not able to see any memory dump files that had been logged in that location.
Is this issue would have been caused by the VHD file format since it is a virtualized disk ? Please let me know what all the issues could be, so that I can have some memory logs here to look into. May be analyze the Windows debugger.
Best Regards
AkhilHi,
The causes why Windows does not save memory dump file after a crash are listed in the link below:
http://support.microsoft.com/kb/130536
I suggest you check the space, make sure that there's enough room for the memory dump file.
And this blog can also be helpful
No kernel memory dump created on Windows 7 or Windows 8
http://blogs.technet.com/b/yongrhee/archive/2012/08/27/no-kernel-memory-dump-created-on-windows-7-or-windows-8.aspx
Yolanda Zhu
TechNet Community Support -
Shared Memory Service Not Created Yet
Hi Everyone,
I had to get a new printer because the baby did something to my old one and now it won't print clearly. I got an HP Officejet 4315 because it was the only one that said it supported 10.2.8. When I installed the software, I got a message saying, "Driver Not Installed." I checked the HP website, and they said to install the BSD from my CD's, which I did, now when I click on "HD Assistant" I get a message saying, "Shared Memory Service Not Created Yet."
I can't find anything on the HP or Mac websites about this error message. I e-mailed HP Support, they said to repair permissions and re-boot, which I did, but I still get that error message.
Please don't tell me to buy a new computer so I can get a new OS, because that's not financially feasible at the moment, since I'm a stay-at-home mom.You're Welcome Lizzy!
Upgrading your Mac to Panther 10.3.x would be quite painless, and depending on whether it meets the Panther System Requirements, and the Additional Panther System Requirements, also relatively inexpensive.
If you know what to look for, a Full Retail Version, of the Panther Install CDs, can also be purchased rather inexpensively, at some additional online Apple retailers, Amazon, eBay, FastMac, etc.
Be sure not to purchase grey, upgrade or machine specific CDs or DVDs.
Panther is only on CDs, not DVDs.
Unless purchased from AppleRescue, the discs should look exactly like the images in the above links, and not say Upgrade, or CPU Drop-in DVD, on them.
Additional info in these links.
Using OS X Install CDs/DVDs On Multiple Macs
What's A Computer Specific Mac OS X Release
Software Update, Upgrade: What's The Difference?
Once Panther 10.3.x is installed, you can use the 10.3.9 Combo Update, to upgrade to the final version.
Shop Carefully, Examine All Documentation, And I Wish You Success!
Also, Thank You, for extending the courtesy, of awarding in Discussions.
ali b -
Can I get the queue size for ExecutorService
Can I get the queue size for ExecutorService created by newSingleThreadExecutor.
You would need to go to the implemented class or another interface. That interface does not define that method - read the JavaDoc on the API for more
Maybe you are looking for
-
Weblogic startup issue...
Hi, Whenever we are starting managed server, I am getting below error in managed.out : <05-May-2010 11:53:30 o'clock BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> Failed to load servlet Class: FileOutputServletIgnoring
-
How to mute/delete startup sound in Mountain Lion?
Is there a way to shut off/mute the startup sound in Mountain Lion without simply turning down all sounds? For years I have used a third party pref pane called startup sound, but it has not been updated for OS 10.8. Thanks.
-
Problem with Quicktime X - Green screen when playing back screen recording?
I've read up on changing Quicktime preferences, but I could not find them. I think this is because Quicktime X apparently does not need preference? I'm not sure. I've tried changing the quality of the recording, but to no avail.
-
Seleccting the data based on conditon type(zpup,zccf,zcpa)
Hi , I have to select the currency, amount of condition type ZPUP based on material, plant,material type and valid from date which the user will give.The user will give the information in this way. Supplying Plant # : From __________
-
Does anyone know what is the scope of the name of a "private" field in a Java class definition?