How to reconnect DB with jbo?

void jMenuItem5_actionPerformed(ActionEvent e) {
System.out.println("Closing DB...");
myApp.sessionInfo1.revokeSession();
myAM =myApp.sessionInfo1.getApplicationModule();
myAM.getTransaction().rollback();
myAM.getTransaction().disconnect();
void jMenuItem4_actionPerformed(ActionEvent e) {
System.out.println("Open DB ...");
myApp.sessionInfo1 = new SessionInfo();
myApp.sessionInfo1.setAppModuleInfo(new ModuleInfo("billingAppModule", "BillingAppModuleModule"));
myApp.sessionInfo1.setConnectionInfo(new LocalConnection("billingcore"));
myApp.sessionInfo1.setName("sessionInfo1");
tGWPane.sessionInfo1=myApp.sessionInfo1;
try {
tGWPane.rejbInit();
myApp.sessionInfo1.publishSession();
} catch (Exception exc){
exc.printStackTrace();
null

There is only one bit of advice required ... read the docs provided with the upgrade.
If you follow the instructions you will be successful.

Similar Messages

  • How to reconnect iTunes with song files

    My iTunes music isn't all showing in iTunes. It is all on the hard drive I don't know the best way to reconnect iTunes and the files.
    I had ITunes putting music files on an external drive into a folder "•MUSIC Files". Prior to setting that up ITunes had been putting files into Home/Music.
    My iPod battery failed; an old iPod for which batteries are not available. So the replacement battery came in a refurb iPod sans my music and audiobooks. At that same time I upgraded to Leopard and moved the files from the external drive to the internal drive- to clear the external for Time Machine. The •MUSIC Files folder was put into the Home/Music folder.
    ITunes sees the files in the Home/Music folder but it doesn't see the files in the •MUSIC Files folder (that is in the Home/Music foldet). Dragging files out of that folder doesn't work nor does dragging an album folder. I hope that I don't have to import one file at a time, HELP!

    My recent post to a thread with a similar software limitation might serve as a solution to your problem. Check it out.
    http://discussions.apple.com/thread.jspa?threadID=1304548&tstart=0
    DIXIE

  • How to reconnect files that I can't find on my computer now?

    When I got onto my computer and went to Final Cut Express, a couple of my files had apparently gone offline and whilst I know how to fix that I don't know how to reconnect files that I for some reason can't find in the same file, on my computer, that they just were in. I was able to reconnect 2 of the 3 files that were offline but the third I am having trouble with. I did not delete it (it's a sound clip) (and I know I didn't because I looked in my trash) and it's neither on my desktop or the file for this project like it normally would be and I'm wondering if Final Cut moved it or if its hidden or something. I did also search my computer and couldn't find it.
    This is a project I am working on that needs to be turned in tomorrow (which was totally realistic until I decided to check on it once more) and now I think I can get an extension until Thursday, so I would GREATLY appreciate any helpful tips or advice anyone can give!
    Thanks so much!
    Sarah N.

    Hello Sarah,
    FCE should not delete anything from your computer as it deals only with file paths rather than the real media files.
    If this audio file is not anywhere to be found on your computer then you will have to get another one if possible.
    Did you move any files using the Finder the FCE relied on?
    The only time I have heard of files going missing like this is when they are bounced from FCE to Sound Track or Motion.
    If you did not do this then it's a mystery???
    Al

  • How to reconnect without using the "keep alive" plug-in?

    How do we issue a reconnect in SQL Developer? Has anyone figured out how to reconnect without having to disconnect, then connect again?
    Since SQL Developer takes SQL*Plus commands, I figured I could use "connect user@instance", but that doesn't work.
    Help! Is there a request for enhancement for this one?
    We are on Oracle 11gR1 (11.1.0.7) and SQL Developer 3.0.0.4 Build MAIN-04.34.
    Thanks,
    Alex.

    In 3.1 EA3, the context menu for a connection now contains a Reconnect option, just below Disconnect. It should become enabled only when a shared connection established for a worksheet / object viewer is broken. It should work for both Oracle and supported non-Oracle connections. Upon reconnect, a dialog will appear warning the connection has been reset.
    Some limitations:
    1) There is no UI to reconnect a broken connection for an unshared worksheet.
    2) Components other than worksheets and object viewer tabs using a shared connection may not function properly after reconnect.
    3) An example of (2) is the Schema Browser. It is necessary to close and reopen it after the connection it shares has been reconnected.
    Reconnect has been tested on Windows and Linux, on Oracle and MySQL, by shutting down/restarting the database, by saving/restoring the machine state of a VM running the database, by physically disconnecting/reconnecting the machine running the database from the network, and by ALTER SYSTEM KILL SESSION. It has not been tested with any sort of firewall or database session timeout, however.
    We hope this minimal implementation will cover the majority of use cases.
    Regards,
    Gary
    SQL Developer Team

  • Insert multiple rows before commit with JBO:ROW

    Hi
    I try to insert multiple rows in a table but when I try to do it with JBO:ROW, i thows an error.
    Y try to change the ID to make it varible but it wont let me.
    Can anyone help me how to to this the best way posible ?
    thanks.

    provide your sample code.

  • How to reconnect to a forgotten blue tooth device (speakers)

    how to reconnect to a forgotten blue tooth device (speakers)

    I was searching for how to setup the 903+ and my W520 and came to this thread.
    1. The OP was asking about audio and there are updated audio drivers / tweaks to get it louder / install different drivers.
    but if you are going to go BT headset....
    2.  What I did for the 903+
    Uninstalled the currently installed ThinkPad Bluetooth program. ( I forget the exact name, came stock and was out of date).
    Required reboot.
    Activated the Bluetooth with FN + F5 menu.
    Downloaded the updated Bluetooth driver from lenovo (search lenovo driver matrix).
    Ran the updated Bluetooth driver install.
    Rebooted for good measure.
    Double-clicked the Bluetooth Tray icon.
    Clicked Add A Device.
    Turned off my 903+ and continued to hold down the power to enable pairing mode.
    Showed up in devices and added it.
    Worked for audio. There are probably additional options for enabling the mic.
    Hope that helps whoever might find this thread.

  • How to reconnect a disable discovery mailbox?

    How to reconnect a disable "discovery mailbox"?
    I try to reconnect back to same user by choosing match user but it was not able to find it. Same result with select user option. What is that?

    Hi,
    You should confirm that the disconnected mailbox hasn't lapsed before reconnect it.
    When an Exchange 2010 mailbox has been disabled, it becomes a disconnected mailbox.  Disconnected mailboxes sit in the mailbox database until the configured retention period has lapsed, and then they are purged.
    I recommend that you refer to the following article :
    How to Reconnect a Disconnected Mailbox in Exchange Server 2010
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Reconnecting iTunes with data

    Had a system issue and had to wipe and reinstall windows 7 on my c: drive.
    All my data is stored on my d: drive .
    How do I reconnect iTunes with that data and specifically the library history. 
    I don't want have to reimport everything back into iTunes.
    Once installed and synced with the data, will iTunes recognize all my devices ( iPod, I touch , and iPad 1)?

    Press and hold down shift as you launch iTunes, keep holding until this dialog appears.
    Click Choose Library... and browse to the old library that you want to connect to. This would normally be found at \Users\<User>\Music\iTunes\iTunes Library.itl or, \Documents and Settings\<User>\My Music\iTunes\iTunes Library.itl.
    In some cases you may need to fix security permissions on the folder. See Repair security permissions for iTunes for Windows.
    tt2

  • How to reconnect in case of a JMS connection lost

    If JMS connection is lost during the exceution of the program, how to reconnect to the destination.
    please help me.
    thanks in advance.

    BTW, SJS MQ (The MQ with the J2EE Reference Implementation) also supports that.
    If you are using a queue, you should not loose messages. This is what the JMS spec is all about. If you are using a topic (message broadcast) then you would need to set the client as a durable subscriber, this way, if the client is not connected, the messages are kept for him to come back.
    Another point, if the connection is lost because the message broker went down, then all messages that were not consumed on that destination are lost, if they were not persisted.
    If the messages are persisted then you should have all the messages still available when you restart the broker and reconnect to it. Now since brokers try to be smart about persisting and minimise the disk I/O, you need to learn how the persistence of your broker works, and make sure you configure it to the performance/reliability balance you require for your application.
    TE

  • How to reconnect to a database if connection is lost during execution

    How to reconnect to a database if connection is lost during execution of the program.
    Please help me.
    thanks in advance.

    First close the old connection with "connection.close();" Catch all exceptions in case close() fails. Then open a new connection just like you opened the original one.

  • How can I print with the black and white cartridge only?

    I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog:
    The printer is out of ink.
    The following ink cartridges are empty: Magenta. Replace these ink cartridges to resume printing.
    How can I print with the black and white cartridge only?
    Mac OSX 10.7.3
    HP Photosmart C7280 (7200 series)
    This question was solved.
    View Solution.

    I am absolutely disgusted by this; clearly a scam from HP to make more money by selling extra ink cartridges!!  I will make sure to never buy any products from the shoddy rip off merchants at HP ever again!!
    You should be ashamed!!

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • How to join GRPO with AP invoice thru query ?

    hi all,
    How to join GRPO with AP invoice in sql query ?
    Jeyakanthan

    Hi Jeyakanthan
    Are you using query in SAP Business One or outside the system? If you select the tables in SAP Business One as OPCH and OPDN then no inner join will appear, as the links sit on the line level. You will need PCH1 and PDN1. The link can be found in both directions, but bear in mind that 1 AP Invoice could be based on more than 1 Goods Receipt PO. For this reason the best approach is to start at the AP Invoice line level and use the BaseType and BaseRef fields to view which lines were pulled from which Goods Receipt PO's.
    Kind regards
    Peter Juby

  • How do I work with FK in a data profile?

    Hello People:
    I am new in OWB tools and I have many doubts. Therefore, I would like to know if anyone can guide me a bit with the theme of FK and profiles.
    How do I work with FK in a data profile?
    If I have a table that has a FK to most of the tables, because it is like a parent table. What should I do to have that FK in the profile?
    e.g.
    - Table 1 FK Table 2
    - Table 1 FK Table 3
    - Table 1 FK Table 4
    - Table 1 FK Table 5
    - Table 1 FK Table 6
    - Table 2 FK Table 7
    - Table 2 FK Table 8
    - Table 8 FK Table 9
    You should have a data profile with each table or a data profile for all related tables?
    If I am all in a single profile, that it would have no problem but I would only slow every time that I have to add a new table, but if I got separated, I can not use the FK? What is the solution that will give this problem?
    e.g. PROFILE GENERAL
    - Table 1
    - Table 2
    - Table 3
    - Table 4
    - Table 5
    - Table 6
    - Table 7
    - Table 8
    - Table 9
    OR
    PROFILE 1 -> - Table 1
    PROFILE 2 -> - Table 2
    PROFILE 3 -> - Table 3
    PROFILE 4 -> - Table 4
    PROFILE 5 -> - Table 5
    PROFILE 6 -> - Table 6
    PROFILE 7 -> - Table 7
    PROFILE 8 -> - Table 8
    PROFILE 9 -> - Table 9
    OR
    PROFILE R -> Table 1 / Table 2
    PROFILE S -> Table 1 / Table 3
    PROFILE T -> Table 1 / Table 4
    PROFILE U -> Table 1 / Table 5
    PROFILE V -> Table 1 / Table 6
    PROFILE W -> Table 2 / Table 7
    PROFILE X -> Table 2 / Table 8
    PROFILE Z -> Table 8 / Table 9
    Thank you very much for your help!
    Best regard!

    Any idea, please?

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

Maybe you are looking for

  • Blurry Logo in Outlook Email Signature

    Hi, We have a logo in our company signature and when certain people send an email many times the logo become blurry. Some of these people have exchange accounts while others have POP account that seem to work fine. Does anyone know how to solve this

  • 10G lite database error

    Hi, I am getting the following error while getting connection from 10G Lite database on PDA. An unhandled exception of type 'Oracle.DataAccess.Lite.OracleException' occurred in Oracle.DataAccess.Lite_wce.dll Additional information: S1000[POL-3261] th

  • Country code unlocked but still no network coverag...

    I bought T-Mobile in Chicago USA , but now I want to use my mobile in INDIA.I had called the T-Mobile customer care today. They gave me the unlock code for my mobile nokia 5300.I entered the unlock code and it said " sim was not restricted " instead

  • Fatal Error: Unable to find package java.lang in classpath or bootclasspath

    Hi, I am trying to build my project using ant tool, but it is erroring out as follows: Buildfile: D:\My Software\eclipse\workspace\ShoppingCart\build.xmlprepare:compile:    [javac] Compiling 2 source files to D:\My Software\eclipse\workspace\Shopping

  • HT3986 apple mouse doesn't work in windows 7

    Can't get my apple wireless mouse to work on my iMac when running Windows 7. Any solutions to this issue