Can not reconncet to jdbc as different user, Help me please.
Some one help me please.
I want to reconnect to jdbc as different user, but my program can not work. My source code as below :
public String connect(String MCH1)
{ApplicationModule MYAM =Configuration.createRootApplicationModule
("mypackage3.Mypackage3Module","Mypackage3ModuleLocal");
Transaction myTrans = MYAM.getTransaction();
String URL="jdbc:oracle:thin@charie";
String user ="MCH1";
String password ="MCH1";
// myTrans.disconnect();
// myTrans.disconnect(false);
// myTrans.disconnect(true);
myTrans.connect(URL,user,password);
if(!(myTrans.isConnected()))
{ System.out.println("Completed Connection");
lberrmsg.setText("Completed Connection");}
else {System.out.println("Incompleted Connection");
lberrmsg.setText("Incompleted Connection");}
The first time, I tried to do not disconnect the current connection, after run I had encounter the error message
as oracle.jbo.AlreadyConnectedException: JBO-25201: Already connected to a database.
The next time and later time , I tried to disconnect the current connection by default
myTrans.disconnect();
myTrans.disconnect(false);
myTrans.disconnect(true);
after run I had encount[i]Long postings are being truncated to ~1 kB at this time.
Hi Hussein,
ran adpatch and got the same error
i will try the note.
Thanks,
Enter the password for your 'SYSTEM' ORACLE schema:
...Unable to connect.
AutoPatch error:
The following ORACLE error:
ORA-01017: invalid username/password; logon denied
occurred while executing the SQL statement:
CONNECT SYSTEM/*****
AutoPatch error:
Unable to connect to 'SYSTEM'; password may be invalid.
Similar Messages
-
Can not reconncet to jdbc as different user, Help me
Some one help me please.I want to reconnect to jdbc as different user, but my program can not work. My source code as below :
public String connect(String MCH1)
{ApplicationModule MYAM=Configuration.createRootApplicationModule
("mypackage3.Mypackage3Module","Mypackage3ModuleLocal");
Transaction myTrans = MYAM.getTransaction();
String URL="jdbc:oracle:thin@charie";
String user ="MCH1";
String password ="MCH1";
// myTrans.disconnect();
// myTrans.disconnect(false);
// myTrans.disconnect(true);
myTrans.connect(URL,user,password);
if(!(myTrans.isConnected()))
{ System.out.println("Completed Connection");
lberrmsg.setText("Completed Connection");}
else {System.out.println("Incompleted Connection");
lberrmsg.setText("Incompleted Connection");}
The first time, I tried to do not disconnect the current connection, after run I had encounter the error message
as oracle.jbo.AlreadyConnectedException: JBO-25201: Already connected to a database.
The next time and later time , I tried to disconnect the current connection by default
myTrans.disconnect();
myTrans.disconnect(false);
myTrans.disconnect(true);
after run I had encounter the error message
as java.lang.NullPointerException
void oracle.jbo.server.DefaultTxnHandlerI[i]Long postings are being truncated to ~1 kB at this time.Hi Hussein,
ran adpatch and got the same error
i will try the note.
Thanks,
Enter the password for your 'SYSTEM' ORACLE schema:
...Unable to connect.
AutoPatch error:
The following ORACLE error:
ORA-01017: invalid username/password; logon denied
occurred while executing the SQL statement:
CONNECT SYSTEM/*****
AutoPatch error:
Unable to connect to 'SYSTEM'; password may be invalid. -
I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.
Cannot see what files ? Music (synced music should appear in the iPod app), films/TV shows (Videos app), documents ... ?
-
Hello all,
I had my Mac wiped at the genius bar and backed it up on a hard drive,
but now i can not find it anywhere !!! HELP me please :/Take your comp back to the repair shop along w/your receipt for proof that MW was purchased. Either they need to find/restore it back to your comp or reimburse you.
-
Whenever I buy something in game, it says that " can not connect to itunes store". Why???? I fill all my payment information in app Store, bt I couldnt buy any thing. Why???
Additonally, at this point I really want to talk to someone who cares about how a customer like I might feel in such a situation and when I call corporate would like to talk to someone who is interested in hearing my input as it really sucks to think I really don't feel like going to the store anymore and would rather just buy stuff on amazon or newegg these days instead;/ When I know how much i used to enjoy going into the store and getting friendly with kind staff who worked with me to get the best deal on the items I got--perhaps this was because it was at a more desperate time when Best Buys fate as a company was more precarious prior to price matching taking origin. Also, on an aside, would like to add that obviously there is always the one or two people who go out of their way to make sure you have an excellent expeirenece so I am not trying to make any sweeping generalizations here. In fact, I find the forum contributors to be among the most kind and helpful, but that might be because they don't have to deal with the now seemingly dreaded "pricematch" epidemic;D
-
HT1495 Can I set my iPad for different users? ie user - 1 login & user - 2 login
Can I set my iPad for different users? ie user - 1 login & user - 2 login
Afraid not. The iPad is not intended for multiple users.
-
Can I sync two iPads with different users and email addresses on the same computer
Can I sync two IPads with different users and email addresses on the same computer.
yes, just make sure you turn off auto-sync to keep everything organized before you try syncing
on a pc
edit > preferences > devices - 'prevent ipads, iphones, and ipods from syncing automatically' needs to be checked -
i have a problem when i try to update or install apps in my ipad, and a message come up says "can not connect to Itunes Store", anyone know why? please advise. however i had update all my detail of payment method.
Settings > General > Reset > Reset Network Settings.
Power cycle the router.
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved. -
i have a dell computer with windows xp. i can not download itunes it is looking for itunes.msi and because it can not find it, i can not download itunes 10, and i can not delete itunes from my computer. HELP!!!!!!
What else can I do ?Snow Leopard = OS X 10.6.x
It is Not available as a download... It is a Paid Upgrade.
Do this first...
Check that your Mac meets the System Requirements for Snow Leopard...
Snow Leopard Tech Specs
http://support.apple.com/kb/SP575
If so... Purchase a Snow Leopard Install Disc...
http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
Other countries...
http://support.apple.com/kb/HE57
After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
Be sure to make a Backup of your Current System Before Upgrading... -
i download the lightroom cc and it give me indication up to date but i can not open it . i dont know why , help please
Hi Wael,
You can follow the article: Sign in, Sign out | Creative Cloud desktop app to sign out and sign in back again to Creative Cloud and try to launch your Lightroom 2015 application.
Let us know if it works or not.
Thanks,
Ratandeep Arora -
buy an iphone 4s on verizon ebay then I can not open because he had put find my iphone so I can not enter my apple id someone could help me
Welcome to the Apple Community.
You can only contact the seller through eBay and ask them to remove their details from the phone via iCloud.com -
TS1424 i can not buy token in game top eleven. help me. thank you.
To day i can not buy token in game top eleven. help me. thank you.
Hard to help with no info.
What happens when you try? -
I accidentally dropped my firewall, or openned it. I checked it in system preferences and it is turned off but I can not find how to put it back up. PLEASE HELP! I obviously do not want to leave this open very long, if you get my drift.
Did you "click the lock to make changes"
-
I can not run the account Administrator show me this letter Please help :
I can not run the account Administrator show me this letter Please help
http://im40.gulfup.com/4AXHK.pngHi,
You need the administrator permission to enable the built-in administrator account.
For secure concern, there is no other way to do this.
Alex Zhao
TechNet Community Support -
I can not buy clothes in the game "Barcode KJ" write "Please contact iTunes support to complete this transaction," what to do!?!??! money on the card is still there
Click here and request assistance.
(73618)
Maybe you are looking for
-
Unable to change Value From M to S in p2011 for Orgini field
dear freinds, I have uploaded data using the F<M HR_INFOTYPE_OPERATION for infotype 2011 . However i am not able change the value for Origin(defaulted as M) ......as this field is greyed out . As such when i am trying to pass another val
-
Hi My client has a scenario where Purchase requisition quantity will be altered due to some reasons & user would like to mention the reason in a new field in the delivery schedule tab. Again In po also additional field is required to enter reason in
-
I am trying to compile a servlet using the import javax.servlet.*; import javax.servlet.http.*; packages. But the only thing I keep getting is : BasicServlet.java:1: package javax.servlet does not exist import javax.servlet.*; ^ BasicServlet.java:2:
-
October 4th update erased user settings
Yesterday's update messed up a lot of my user settings and god knows what happened behind the scene which are not so visible. here is the detail, after coming back from the restart; 1. I had go through the set up assistant all over again, icloud log
-
Help regarding drop table information
hello all, i want to know is there any data dictionary present who maintainted the droped table history with terminal number so i can easily know who dropped perticular table . any help appriciated Message was edited by: Pankaj M