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
Hi, We need to customize the layout AND the data of the seeded Purchase Order pdf report that is generated in PO Summary form when user picks drop-down menu Inquire->View Document. I know how to set up the Document Type with a customized layout but I [More]
Hi everyone, I want to Install 11gr2 release 11.2.0.2 database in Windows 7 32 bit. I have searched on download.oracle.com but i was not able to findout proper database compatible with windows 7. They had 11gEX db but i want to install simple 11gr2. [More]
I have a small application I made with Swing. now, I want to make it html for use with Explorer. and I have 2 challanges: 1. How do I get use input in an Applet? (the example in the tutial only applies to showing text. 2. How do I access the database [More]
Hi , I m trying to build a data access layer for using both Sql Server and Oracle(not at the same time). I used Model-first approach for creating the entities and then generate Databse from it. I came to know from different blogs that oracle and Sql [More]
Hello Experts, We are using Datasource 0CRM_LI_ID_TEXT for retrieving the text for Info Object LI_GUID. In CRM system (In RSA3 - Extractor Checker) the texts are present in EN, DE, JA and other languages. However while loading in BW only the EN and D [More]
I have a imac 27" (2011) running Mac OS X Lion 10.7.4.  I have installed Parallel and running windows 7 because the photo program I use (Paint shop pro) doesn't come in mac format.  Can I access iphoto photos from the windows side without having to h [More]
Error I set up push notifications through Visual Studio 2013 for my Windows Store App and I'm getting the following error in the default channel insert script that was setup automatically for me by VS2013 when I added push notifications: Error in scr [More]
My configuration: Coldfusion Enterprise 9.0.1 32 bit on Windows Server 2008 Web Edition 64 bit, 4Gb Ram, 2 Xeon processors The sites using Microsoft Access Database, randomlly, go in timeout. This is due to the fact that "ODBC Server" lock the d [More]
Hi, using "Find my iPhone", is GPS always on? KykyNo.  Enabling find-my-iPhone only has the feature active when the mobileme account on th iDevice receives a push notification to send it's location.  Until you request it's location (via the mobi [More]
Have authorized computer, when I try to sync, it says syncing for 5 seconds but nothing downloads from phone?? What is going on ?Hi Jglowney, Please let me know what error you get while using the serial number to activate. You may want to refer : htt [More]