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
My wife was letting our 1 year old hit the keyboard on the iMac. Now the display has this "negative" colorless look to hit. Is there some sort of setting that causes this? Some kind of keystroke combination? The display settings are set to milli [More]
hi,     I trouble   in       the problem with this:  when i   program     in CMU200 with NI visa,like the  samples.there a   error curror,the  code like this:       viOpendefaultRM(&defaulrRM);        viOpen(defaultRM,"GPIB0::14::0::INSTR",V [More]
the font size is too large in the screen i get for texting (the fonts appear on the screen when i open the key board) all the other font sizes can be changed but this font size couldnt change..  i have used 5800 and it had a nice font size there.. pl [More]
I am wondering if anyone out there has any suggestions for the simplest/cheapest way to make an older imac (without internal wireless card) wireless. What I am looking for is some kind of an access point that plugs into the imac via USB, firewire or [More]
How do I get audio to work for YouTube in Facebook and other videos as we'll?Hello, Olubabi Thank you for the question.  I'm assuming you are not receiving any sound from applications when playing video/audio content.  If this is the case, the first [More]
I have iMac with OS X 10.6.4. When I put a new CD marked CD-R into drive it comes up not erasable and can't format. I'm new at iMac. What kind of CD's and DVD's are appropriate to use? Is there any brand that is superior? ThanksWhen I put a new CD ma [More]
hi, can any body plz answer me , what is the difference between purchase order and purchase requistion.Hi Sri PR- asking approval to ur company to purchase the materials        means Concerned Departments will raise the request that these good have t [More]
Hi, i have a little problem, i have an applet that loads on a webpage it contains two textFields and a command button , i want when i click on the button i should open a new page with the values in the two TextFields. Thanks.Use getAppletContext().sh [More]
hi all , i have a summary item to sum the entered amount in the block i want to take 0 value instead of null at the first time and if i enter data in the amount and delete data from all records thank youcreate a second item in the same block as your [More]
I have successfully routed either A or B encoder phase to the DAQ card over RTSI, but this gives you 1/4 of your encoder counts to the DAQ. Is there a way to trigger the DAQ clock with both the rising and falling edges, A and B signals so you get a D [More]