Create connection when ocj4 starts

I had set a datasource in data-source.xml.
<data-source location="jdbc/test" class="com.evermind.sql.DriverManagerDataSource" password="tiger" xa-location="jdbc/test" ejb-location="jdbc/test" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" url="jdbc:oracle:thin:@localhost:1521:orcl" inactivity-timeout="30" name="Oracle 9i" min-connections="5" max-connections="10"/>
Now the five connections are established when the applicatoin accesses the datasource.
Howerver, I hope the five connection are established when server starts.
How shuold I setup the server?

290092,
I couldn't ascertain, from your post, what OC4J (stand-alone) version you are using (or perhaps you are using the Oracle Application Server?), but if you have a recent version, you can either use a "startup servlet" or a "startup class" -- which is activated when OC4J starts up, and open your database connections there.
I believe you should be able to find more detials from the OC4J Home Page at:
http://www.oracle.com/technology/tech/java/oc4j/index.html
Good Luck,
Avi.

Similar Messages

  • Lost connection when neighbors start WiFi router

    Am going crazy with this:
    I am in the suburbs and was the only person with WiFi nearby. Recently 2 other people got WiFi as well, and it seems that when they start their WiFi routers, I lose my connection.
    My setup: 10.4.7/PowerBook 17"/Airport Express.
    I can be working, and then suddenly lose connection. I go to the AirPort menu, and suddenly see one or 2 other networks, but mine is gone. The attempts then can take up to 30 minutes to resolve (apparently thru voodoo) but my feeling is that when they go offline and switch off, I can get back online!
    Not good! I have Interference Robustness selected, but am at a loss what to do...
    Anyone with any ideas?
    Thanks
    Peter

    Hi,
    Try to change the channel of your wireless router. If you have the option with your router; preferably set the channel to "automatic".
    If you are in the case that you can no longer connect to your router wirelessly, use an ethernet cable to be able to access to router and change the channel.
    hope this help,

  • Broadband not connected when computer starts up-re...

    Hi - I would really appreciate some advice.....
    I have just changed my computer, which now has Windows 7.  I have connected my BT Hub 1.5 up fine and the internet is connected, however, every time I turn on the computer it doesn't recognise the connection (even though all the lights on the Hub are green), and only does so after I re-boot my BT Hub.
    I'm connected ok once I have re-booted the Hub, but I am frustrated as I don't want to have to keep re-booting my BT Hub every time I switch my computer on.  I never had this problem with my old computer (was running Windows XP), so can't understand why this is happening with this one?
    Would appreicate any thoughts/advice on how to solve this!
    Many thanks

    the recommendation on the forum is not to run the cd but to use it as a coaster, bird scarer, frisbee - you get the idea.  If it was me I would uninstal it and then let windows 7  wireless manager connect for you - it's more than capable
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • No instant Wlan connection when starting up Satellite L650

    Hello,
    I have had connection problems with my L650 Toshiba for the past couple of months.
    I bought my laptop a year ago (October 2010), and everything was working perfectly until April 2011.
    The first few months, my computer would connect automatically to the internet once it started up.
    Since April 2011, my computer takes about 2 minutes to connect to a wireless internet connection when I start it up, whether it is my home connection or work connection.
    Once it does connect, the wireless connection works perfectly.
    The problem does not come from a wireless router because it happens with all wireless connections. Furthermore, I have tried updating the drivers for the wireless adapter (Broadcom 802.11n) with no success at all.
    I would be grateful if someone could provide possible solutions to the problem.
    Thanks in advance.

    So what is the problem exactly?
    The Wlan connects fine but it takes two minutes until the connection has been established?
    Right?
    Well, it could be possible that something is running in the OS background and therefore it takes some time until the notebook could connect to the Wlan.
    In my case the notebook needs some time to connect to Wlan because the virus scanner and CCleaner run at the startup and scans the HDD and the system.
    After that the notebook connects to Wlan.

  • Sql developer 3.0: could be possible to avoid creating connections

    Hi, when connecting from oracle forms, you don't have to create a connection, in the same way I don't know if could be possible to avoid creating connections when you are using a tnsnames.ora archive.
    simple to choose the connection as in oracle forms, and the posibility to save the password.
    thank you

    As stated in the forum announcement, you can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • Why does my computer create web connections to addresses in the Amazon, Google and Youtube range when I start Firefox?

    I think I already disabled all the updating functions, yet, SOMETIMES when I start Firefox, (with about:blank), my network monitor shows one to five connections to IP addresses mostly in the 74.125.225.x, 74.125.227.x, 74.125.228.x, and 72.21.x.x ranges. Those ranges include Google, Amazon, and Youtube.
    I use Kaspersky, and have scanned multiple times for malware, and even had their technical support look into my computer. They see no malware. It is the Kaspersky Network Monitor that revealed the problem.
    As I find them happening, I try to jot down the addresses, (quickly, because some of these connections only last a second or two), then add those to a firewall rule I created to try to combat the problem. Yet, next time I start, new addresses are "attacking". Of course, some get away, because I don't get the address jotted down before it goes away. At one point I used masking that ended up keeping me from Google and Youtube, so I have to add the addresses individually, and my block list in that one rule is 13 items long now. The only IPs not in those ranges are 23.5.251.27, and 173.194.46.5. Not sure where those go.
    I used to get attacked by addresses in the range that includes Amazon ... 72.21.x.x. I have a separate firewall rule for them that has 33 addresses being blocked.
    I should not have to do all that. Firefox should start and just sit there quietly until I start clicking or typing in it. This has been happening in Firefox versions going back to 11. May have gone on before that, but I wasn't tracking it then.
    Also, it doesn't always happen, or, more precisely, with addresses I have not already blocked, (because my only way to know it's happening is when the connections are allowed to be made). It does not always happen right after Firefox is up, but sometimes several minutes later. I have started Firefox and just sat and watched the network monitor without doing anything in Firefox, and have seen this happen up to 15 minutes after I start Firefox ... mostly just two or three minutes when there's a delay at all.

    Firefox does not do anything but sit on about:blank after I start it as long as I have a firewall rule enabled that completely blocks these subnets:
    74.125.222.0/24
    74.125.227.0/24
    74.125.228.0/24
    173.194.46.0/24
    173.194.115.0/24
    173.194.121.0/24
    64.233.171.0/24
    54.230.90.0/24
    54.230.88.0/24
    72.21.194.0/24
    72.21.195.0/24
    72.21.215.0/24
    207.171.163.0/24
    Otherwise, Fire fox creates connections to one to five addresses in those ranges. Note that there are more than 5 subnets above, but usually three connections satisfies whatever purpose these connections are being made for. If I had some links or whatever that is causing these connections, I would expect all of them would come up every time.
    Also, these connections do not start immediately upon starting Firefox, they wait up to 15 minutes to start ... fifteen minutes of just sitting idle ... no actions on my part that could possibly initiate them. Usually these start within three minutes. A typical ploy of malware is to wait until no one is looking, or the until there's a forest to put their tree in so it won't be noticed.
    While the above rules are in place, I do not have access to Amazon, Youtube, or Google, (or any of the various blog sites and services sponsored by Google, including Google Maps and Gmail). That list may not be complete, as I have other firewall rules in place that mainly block individual addresses.
    It seems to me as simple as; figure out who owns those subnets, and you have your bad guys. Then go after them.
    It's true that I have a bookmarks to Google, Gmail, and Youtube, but these are not "active" bookmarks nor RSS feeds. I have not voluntarily gone to Amazon on this computer.
    The traffic being transmitted is unknown. It is usually not extremely large amounts of data ... less than a meg, but I have seen close to a Gig transmitted out of my computer, and over 400 meg transmitted to my computer, when I was not paying attention to block the offender. Even if it's small amounts, things like cookies, path structures, configuration settings, histories, etc. do not involve a lot of data, but, to me, represent a security breach, if someone decides to look at them unsolicited by me, not unlike your landlord, mortgage holder, or neighborhood police officer walking into your home while you're not there, and taking pictures of, or simply inventorying your belongings.
    It is VERY much like some sort of backdoor malware. No malware is detected on my computer.
    I looked at the suggestion above for OS changes for logging HTTP activity, but the author neglected to include instructions for backing out these changes after using them. If this were to create more jewels in a drawer the thief has access to, reformatting and restoring my drive is not the kind of back out process I enjoy. Therefore it would be foolish to apply them. To me it would be like bungee diving with no bungee. Fun until you hit the bottom. Give me the bungee, let me make sure it's short enough, then I'll dive.

  • When I start Internet Sharing /etc/bootpd.plist is not created and the other device is not assigned an IP address.

    Just like the tite says. I am investigating why my Macbook Pro (3,1) running Mountain Lion will not assign an IP address to a computer connected via Ethernet when Internet Sharing is turned on (laptop receiving WiFi connection, supposed to be sharing connection over ethernet). I tested using a relatives macbook and it worked just fine. It turns out my laptop is not creating the file: /etc/bootpd.plist when Internet Sharing is turned on.
    I have a console log here from when I start internet sharing:
    8/11/12 12:01:13.634 PM
    InternetSharing[724]
    objc[724]: Object 0x7f94c940ead0 of class __NSDictionaryM autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
    8/11/12 12:01:13.642 PM
    com.apple.InternetSharing[724]
    bind(bootps 67): Address already in use
    8/11/12 12:01:13.642 PM
    com.apple.InternetSharing[724]
    error creating internal interface for devname bridge0@0: Address already in use
    8/11/12 12:01:13.644 PM
    com.apple.InternetSharing[724]
    no bridge interface to service en0
    8/11/12 12:01:13.644 PM
    com.apple.InternetSharing[724]
    unable to create service for en0
    8/11/12 12:01:13.645 PM
    com.apple.InternetSharing[724]
    _MISStartServiceDHCPWithOptions "en0": Operation not supported by device
    8/11/12 12:01:13.645 PM
    com.apple.InternetSharing[724]
    *** no external service
    8/11/12 12:01:38.065 PM
    com.apple.InternetSharing[724]
    *** no external service
    Any help is appreciated!

    Solved it, at least temporarily:
    Investigate process binding port 67 with the following command:
    sudo lsof -i 67
    Close the offending process (in this case: bootps):
    sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/bootps.plist
    Start internet sharing again from the system preferences panel

  • When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

    Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
    I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
    Thank you in advance
    Best regards
    Alexei Soloviev

    Hi Steve
    I have problems with the 34401A and serial communication. Do you remember
    where the error was in the code ?
    Thanks
    Klaus
    wrote in message
    news:[email protected]..
    > Alexei,
    > This may or may not help, I was tasked to do something similar
    > recently and found an error in their driver. The GPIB VISA worked
    > fine, but when I tried it on serial it played up. There was an errant
    > carriage return (or CR/LF I can't remember). GPIB liked one and Serial
    > liked the other. It always amuses me that we never have problems with
    > Quickbasic!.
    > If you want me to dig deeper give me a shout.
    >
    > Steve Watts
    >
    > On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
    > wrote:
    >
    > >When trying
    to work with Agilent 34401A multimeter (serial RS-232
    > >connection), HP34401A Getting Started.vi gives always the message:
    > >"Error 1073807369 occurred at Old VISA Open ".
    > >
    > >Baud rate and parity are set correctly, RS-232 cable is also connected
    > >correctly. My QuickBasic program has no problems to read and write to
    > >the Multimeter. It is obviously a software problem: the same error is
    > >persistent if I disconnect RS-232 cable.
    > > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
    > > digital.ni.com and installed it. But it did not help.
    > >Thank you in advance
    > >Best regards
    > >Alexei Soloviev
    >

  • I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple I'd as there was some problem with the first one. Now at some places still my old apple I'd is appearing.  Pls adv how I change this to my new apple Id.

    I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple id
    as there was some problem with the first one. Now at some places still my old apple Id is appearing.  Pls adv how I change this to my new apple Id.

    Anything you downloaded with the first Apple Id will forever be tied to it, and will always require it to update.
    The question here is, why did you think you needed to create a new Apple ID? What was the problem with the first one?
    To get rid of th old one, you'll need to delete everything you downloaded with it, and then sign out of the ID in several places around the iPad. 
    Go to Settings->iTunes & App Stores->Apple ID->Sign out.
    Repeat the process, for Facetime, Messages, Mail and any other App you need to sign out of.

  • TS1567 My Ipod Classic appears in my computer when connected to my Windows 8 pc but when itunes starts it no longer appears and is not shown in Itunes also. Itunes appears to disconnect it from pc.

    My Ipod Classic appears in My Computer when I connected it to my new Windows 8 pc. When Itunes starts my Ipod is no longer appears in My Computer and is not shown under Devices in Itunes. It appears that Itunes disconnects my Ipod from the pc. My Ipod still sync's up fine with Itunes on my old Windows XP pc.

    See earlier post by tt2
    https://discussions.apple.com/message/7217190#7217190

  • HT3986 I have installed windows 7 into my macbook pro 15 inch with lions.  This computer is the current 2.2 GH i7 chip with 500 GB HD.  Now, how do I install the drivers.  When I started boot camp, the system prompted me to create a CD.  What do I do with

    I have installed Windows 7 into my Macbook Pro 15 inch with Lions as operating system.  (current model with 2.2 GHz i7 processor, 500 GB HD ad 5400 rpm).  When I started with boot camp, the system promped me to create a disc, which I presume is for the drivers for windows 7.  Now windows is intalled.  What do I do with the CD that the system created for me?  Also, why does the system automatically start in Win7 instead of Lion.  I need to pression the option key to have it start in OS X.  I thought it was supposed to be the opposite.

    Insert it while you are in Windows, if it does not autostart run setup.exe.
    Choose your startup disk using Apple>System Preferences>Startup Disk (in OSX) or Control Panel>Boot Camp>Startup Disk (in Windows)

  • I've jail break Iphone 3GS. i tried to restore setting (erasing all data and media) without connecting to computer/itunes. When it starts it freezes by showing apple logo only. what is the solution.

    i've jail break Iphone 3GS. i tried to restore setting (erasing all data and media) without connecting to computer/itunes. When it starts it freezes by showing apple logo only. what is the solution. please help me out. Here i don't have iphone service center too.

    Although not illegal, Apple discourages a user from modifying the iPhone OS in any manner, including "jailbreaking".  Apple feels so strongly about this that discussing methods to assist a user trying to either jailbreak or "unjailbreak" an iPhone are prohibited.

  • No internet connection when starting After Effects CS6 testversion

    I installed Adobe After Effects CS on Win7 64bit but when I start the program and when it try to log in on Adobe servers for typing in my ID, it cannot connect to the internet. How to fix this?ration

    retry now.  the servers were offline.

  • IBooks Author. I am not allowed to sign in with my Apple ID on iTunes Connect when I am trying to publish my book in iBooks Author. I do not understand why because I have fulfilled the first steps creating an account and informed my IRS tax number...

    I am not allowed to sign in with my Apple ID on iTunes Connect when I am trying to publish my book in iBooks Author. I do not understand why because I have fulfilled the first steps creating an account and informed my IRS tax number...

    The recommendation is always to make another ID for use with a paid books account. And while I can't swear this is at the root of your issue, you should in any case reach out to Apple for assistance on this one, I think.
    Account Applications:
    [email protected]
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.
    Good luck

  • HT201210 I started update connected to my work computer....it started update and now it is asking me to connect to Itunes, which I have but my work computer doesn't have my Iphone information..... I can't use my phone now when I start up it says connect t

    I started update connected to my work computer....it started update and now it is asking me to connect to Itunes, which I have but my work computer doesn't have my Iphone information, it says I have the latest software, my only option is to "restore phone" which I don't want to do here at work as none of my apps or music are showing up ..... I can't use my phone now when I start up it says connect to itunes.....

    Mozilla has nothing to do with a Microsoft product activation key.
    That "test" page should be viewed in Internet Explorer and not with Firefox, as it may use ActiveX which isn't compatible with any Mozilla product.
    [https://support.mozilla.com/en-US/kb/ActiveX]

Maybe you are looking for

  • HTTP request failed :Error code 500 internal server error

    In PI 7.0 system we are getting http error for rwb and exchage profile portal function Detail: HTTP request failed : Errro code 500 internal server error ( http://hostname:50000/adapterframework/rtc) If I do a connection test  for  ping(sap >bc >ping

  • Diplay Functional,Reporting and Local currency

    Hi, I've a requirement to display Transactions in functional,Reporting as well as in Local currency.Do I need to setup Oracle 11i Env in MRC for that?If so how to get the transactions displayed in Local cuirrency ?Do I need to Covert them or I've to

  • After 10.5.1 I cant log in on MBP and FileVault is on

    I have a BIG problem. I installed the 10.5 from an update CD. That was fine. I then downloaded and installed update 10.5.1 and since then cant log in as I get error messages at log in screen to do with FileVault. Apple said to do a new archive instal

  • WON'T COPY TO IPOD

    For the first time (I've had iTunes and an iPod for a long time), I'm getting an error message when I sync my iPod that says that "[s]ome of the items in the iTunes library...were not copied to [my iPod] because you are not authorized to play them on

  • Crazy hit-list in a matchcode

    Hi sapiens ! I developped under 4.0B a search-help exit into which I select datas accross several tables that I move manually to record_tab. We're now under 6.20 and that matchcode doesn't work correctly because of my direct accesses to record_tab. I