Sitemap

Amicuk Programming Answers

How set up URL Connection Factory/Resource?

-0001-11-30   Views:0

Advertisement

Hi, How to set up URL connection Factory, Exactly like JDBC connection Pool i.e. specifying Max. No. of Connection, Intial capacity etc. I'm able to find this much only. <WebServer URLResource="weblogic.httpd.url.myURL=http://localhost:7701/blah&q

Hi,
How to set up URL connection Factory, Exactly like JDBC connection Pool i.e. specifying
Max. No. of Connection, Intial capacity etc.
I'm able to find this much only.
<WebServer URLResource="weblogic.httpd.url.myURL=http://localhost:7701/blah"
/>
But If i want to set Max. Capacity/ Intial capacity for URL Connection Factory,
Where to specify it?
Will you please help me?
Regards,
Devendra

The replay answer
Advertisement
Hi,
The Simplest Way to Load a Property file (Which is outside of your Application) ..is.
Just Place the Property file in the Server Classpath...or in the "C:\bea103\user_projects\domains\7001_Domain\lib" folder of your Domain. It means somehow the Property file should be available in the Server Classpath...
Now Please write the following code in your Application to read the Property file:
java.util.Properties prop = new java.util.Properties();
java.io.InputStream stream=this.getClass().getClassLoader().getResourceAsStream(“my.properties”);
prop.load(stream);
String hostProperty = p.getProperty(“host.name”);
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com/generalweblogic/   (WebLogic Wonders Are Here)

Go to See the other 3 answers

How set up URL Connection Factory/Resource?

Category:DefaultRelease time:-0001-11-30Views:130

Hi, How to set up URL connection Factory, Exactly like JDBC connection Pool i.e. specifying Max. No. of Connection, Intial capacity etc. I'm able to find this much only. <WebServer URLResource="weblogic.httpd.url.myURL=http://localhost:7701/blah&q[More]

Warning message about non XA connection factory

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm using 10.0 MP2 and deployed an MDB which uses TransactionManagementType.CONTAINER with TransactionAttributeType.NOT_SUPPORTED. As I don't need a transaction I am referencing a non XA Connection Factory. I am seeing this message in the logs..[More]

Unable to set up connection factory for stand-alone resource adapter

Category:DefaultRelease time:-0001-11-30Views:130

I'm testing out JCA 1.5 in OC4J P4, and I try to register a resource apapter by configuring oc4j-ra.xml like this: <connector-factory location="MySomething" connector-name="Something"> However, I get the following error: 05/09/28[More]

How to set resource connection factory?

Category:DefaultRelease time:-0001-11-30Views:130

How to set resource connection factory if JMS is upported through JNDI?Hi, The Simplest Way to Load a Property file (Which is outside of your Application) ..is. Just Place the Property file in the Server Classpath...or in the "C:\bea103\user_projects[More]

Can't deploy a jms connection factory

Category:DefaultRelease time:-0001-11-30Views:130

I am getting errors when trying to deploy a jms connection factory.  Here is the xml file jms-factories.xml: <?xml version="1.0" encoding="utf-8"?> <jms-factories> <application-name>MyApplicationName</application-n[More]

Connection pool and Connection factory difference?

Category:DefaultRelease time:2015-10-11Views:130

Hi, Can someone clarify the difference between connection pool and connection factory. I know connection pool is some thing like a pool of database connection manitained at one place so that an application or client can use it when it requires. Then[More]

Application Deployment in Managed Node Failed with the error - ERROR   - Caught exception while looking up Connection Factory with JNDI Name: java:comp/env/eis/PRAdapterConnectionFactory, javax.naming.ServiceUnavailableException [Root exception is java.ne

Category:DefaultRelease time:2015-10-11Views:130

2013-06-24 21:16:28,551 [bxapp2.healthnet.com] [  STANDARD] [                    ] (l.access.RuleCandidateIterator) INFO    - Single candidate rule resolution optimization is enabled Error retrieving JNDI initial context: 2013-06-24 21:16:28,952 [bxa[More]

How to access local connection factory created within Foreign Server in OSB

Category:DefaultRelease time:2015-10-11Views:130

Hi All I am facing an issue in my config plan. We have a RIB Foreign server with the following local connection factory: jms/RibAqJmsXATopicConnectionFactory I am using the below in my configuration plan: <cus:envValueAssignments> <xt:envValueTyp[More]

Map Viewer URL Connection Issue

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have an UI project, for which i have created a Deployment Profile named 'adfXXXXXUI' nothing but created a adflibrary for that UI project. While creating the adf jar, i have come across an Option called 'Connections' . Here i have selected Conn[More]

10.1.3.4 - db Adapter connection factory has been stopped.

Category:DefaultRelease time:2015-10-11Views:130

I created a process which had a custom sql operation to read data from a db table. It was working fine, but now I am getting a weird error file:/apps/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SiebelRMAShipmentIn_bpel_1.0_d9f7e[More]

Error saving JCA Connection factory in PI NWA

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am facing an  issue in SAP PI NWA for creating a JCA connection factory so that I can use the user module to convert IDOCs to flat file. we are on SAP PI 7.11 sp06.... error details : CF_XD1_180 failed due to: Can not add connection factory[More]

Hot
I recently updated my Mac Pro to 10.9.5 and now my Red Giant Universe transitions, such as Swish Pan (works like Wind Blur in Final Cut) have all stopped working.  Not only do they no longer work, but they make my project crash and I have to create a [More]
I have a multiline Dynamic text box called projList. I am trying to populate it from an xml file and create a clickable list. The trace works but cannot get to display the list in the text box. As far as the clickable goes, haven't gotten that far ye [More]
I'm confused about the missing database connection, I have added a screenshot that explains the problem. http://postimage.org/image/f1u804lp7/full/ (1920x1080) Running Apache, MySQL, PHP, Memcache, System hostname localhost.localdomain (127.0.0.1) Op [More]
I need a good advice on design and navigating between some different layers. I am a Adobe Director user, and I am used to think of "navigating between frames". also frames as pages of a book, while in flash time-frames. In Director one can navig [More]
Hi...I'd like to give this a trial run but worried there will be watermarked outputs or limitation on features. Are there any limitaions? I am especially interested in working with the 3D capabilities. Thanks.wonderful. thank you for your quick respo [More]
Hello, Is it possible to use the offline player to download the test and make it locally? When I look in the help provided with offline player I can see that it only mentions WBT. Hubert Edited by: Hubert Cieplak on Feb 5, 2008 4:50 PMYou can configu [More]
HI All, i've got big headache....this error message on "Application and Content Networking System Software Release 5.2.9 (build b5 Dec 29 2005)" cisco CE :) error is: Manifest Parse Errors Manifest Parser Error(701):ProcessCrawler: failed to ins [More]
I'm using AE CS6 and every few minutes (anywhere from 5 to 20) it'll just hang for about 20 seconds. The spinning Windows 7 wheel pops up, then when I click AE it goes transparent white and "not responding" pops up in the title bar. I wait about [More]
Hi, I want to use "JOptionPane.showInputDialog" and a "JPasswordField" on it. How can I put "JPasswordField" on JOptionPane.showInputDialog? Here is my code but there is a simple JTextField automatically generated on showInpu [More]
Compre un iphone 5 que esta bloqueado icloud y no se quien es su antiguo propietario; quiero saber si apple me puede ayudar ? Translate: Buy an iPhone 5 which is locked iCloud and who is not his former owner; I want to know if apple can help me?If yo [More]