Problem trying to log in the database
Hi im new using oralce i just had installed it in a P4 3.0Ghz 2GB Ram Windows XP SP3.
And when i try to login i got this error:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Hi,
As you have said, you have installed the oracle. Does you have create the database during the installation or you have done only installation of oracle. If you have done only installation of oracle software then you need to create a database. If you have create the DB, with out any issues then with respect to the following error which you have posted then can couple reasons for that.
You can get the information if you google it any how the following are the reasons for that.
ORA-01034 "ORACLE not available"
Cause: Oracle was not started up. Possible causes include the
following:
- The SGA requires more space than was allocated for it.
- The operating-system variable pointing to the instance
is improperly defined.
Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See
the platform specific Oracle documentation.
Try to go through the ORACLE Documentation, you can resolve your issue with out any concerns.
- Pavan Kumar N
Similar Messages
-
Application server cannot log onto the database with user PS.
Hello,
First of all, my setup is:
Microsoft Windows Server 2003
Oracle database 10g Rel. 2
Peopletools 8.49
HRMS 9.0
I am trying to boot the application server, but the operation fails with the error message:
PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for database signon. (id=PS)
I am able to sign on to the database with sqlplus and user PS.
Here is my config settings as shown on the psadmin screen:
Features Settings
========== ==========
1) Pub/Sub Servers : No 15) DBNAME :[hrdmo]
2) Quick Server : No 16) DBTYPE :[ORACLE]
3) Query Servers : No 17) UserId :[PS]
4) Jolt : Yes 18) UserPswd :[PS]
5) Jolt Relay : No 19) DomainID :[TESTSERV]
6) WSL : Yes 20) AddToPATH :[C:\oracle\product\10.2.0\database\bin]
7) PC Debugger : No 21) ConnectID :[people]
8) Event Notification: Yes 22) ConnectPswd:[peop1e]
9) MCF Servers : No 23) ServerName :[appserver]
10) Perf Collator : No 24) WSL Port :[7000]
11) Analytic Servers : Yes 25) JSL Port :[9000]
12) Domains Gateway : No 26) JRAD Port :[9100]
Here is the appsrv.log:
PSADMIN.2336 (0) [08/27/09 10:29:29](0) Begin boot attempt on domain hrdmo
PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Checking process status every 120 seconds
PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Server started
PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) PeopleTools Release 8.49 (WinX86) starting
PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) Cache Directory being used: C:\oracle\product\PT8.49\appserv\hrdmo\CACHE\PSAPPS
RV_2\
PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for databa
se signon. (id=PS)
PSAPPSRV.5796 (0) [08/27/09 10:29:41](0) Server failed to start
PSWATCHSRV.5480 (0) [08/27/09 10:29:42] Shutting down
PSADMIN.2336 (0) [08/27/09 10:29:48](0) End boot attempt on domain hrdmo
As I said, despite the error message, I am able to log on to the database with sqlplus with user PS password PS.
Could someone please help me with this problem? Thanks.I installed the database with the setup program and come to think of it, I don't think you can specify whether to create a system or demo database. So I probably didn't install a demo, which is what I wanted. I also ran the SQRs and everything showed the database was correct, so I thought I did it right.
If I could install a demo with the setup program, I would do that because I think I could run through it pretty quickly having done it once. I've read in this forum and other places that it's much better to install the db manually, so maybe I'll just do that.
In any case, thanks for all you help Nicolas. -
I have two facebook accounts availible when I click the facebook icon in aperture it tries to log into the disabled account. It doesn't give me any option to continue making an album for the enabled account. Why?
I suppose I could delete it, but the whole point of multiple accounts is so I can post to either. One is mine, one is my wife's. If it is not enabled why would I need to log into it to post to my own account. The system has no problem associating existing albums with my account, I is only failing to allow me to choose only my account to create an new one. It is clearly designed to handle multiple accounts, but seems to have a bug directing it to ask for the password for a disabled account instead of allowing selection of and posting to the enabled one.
-
I have been trying to log onto the Game Centre App to try and combine my son's Hay Day accounts (he somehow has 2 of them now although we used the same Apple ID when we set up his new iPad mini at Christmas). It keeps saying that we cannot access the server. Anyone else have this problem?
Also, why is it that when I set up his account on the new device it game me a different user name?You can try here:
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
it could be a Apple problem since some other uses have reported the same problem today. -
I have been trying to log onto the Wounded Warriors Program Portal. I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on. This is very frustrating. I am new to the Mac World so please bare with me. Please tell me there is help somewhere for this issue. It seems it is blocked or not letting me through. Can anyone please help me out. Thanks
Both Mail and Safari have Activity Options that open a screen that shows you just how the site or mail is loading.
In Safari if you are having trouble with a site in activity you will see the count of items being downloaded - and if an error occurs it shows red.
On the top is the number of items it is loading or trying to load and the count should be increasing. If the count stops, and you don't have errors it may be that too many people are going after the same site and your request just timed out. Have had the time out on a news site when trying to load a most popular article. -
Report Viewer unable to log into the database
I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
Is it SQL now?
Thanks for any help.Originally Posted by youngj
I'm fairly novice to ZFD Inventory and have a reporting issue when attempting to run from ConsoleOne (1.3.6f). Receive a Report Viewer error that states "unable to log into the database. Ensure the ODBC driver...".
TID 10094443 describes my symptom exactly but apparently doesn't apply. It applies to ZFD6.5 and we're running 7. Does the Oracle fix it refers to even apply to ZFD7 Inventory? If not, what does address my issue?
Is it SQL now?
Thanks for any help.
If you are using the Sybase database with ZDM7, take a look at the file \database drivers\odbcreadme.txt file on the Novell ZENworks 7 Companion 2 CD (downloadable from novell.com if you don't already have it). Page 347 of the ZDM 7 Install Doc also mentions this procedure:
http://www.novell.com/documentation/...dm7install.pdf -
Problem when we log into the Webclient with IC_AGENT business role
Hello,
We are facing a problem when we log into the interaction center ( with IC_AGENT business role) after the login screen ( we fill the correct user and password) then system starts the application, but a error appears.
We dont knon why but it is happening only with IC_AGENT role, We have check the SICF and it is ok.
Cannot display view ICCMP_HEADER/HeaderViewSet of UI Component ICCMP_HEADER
An exception occurred during the internal HTTP communicationException Class CX_BSP_WD_HTTP_RESPONSE_ERROR
Text:
Additional Info: Business Server Page (BSP) Error
Program: CL_BSP_WD_STREAM_LOADER=======CP
Include: CL_BSP_WD_STREAM_LOADER=======CM002
Source Text Row: 159
Cannot display view CRM_UI_FRAME/WorkAreaViewSet of UI Component CRM_UI_FRAME
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BPIDENT.MainWindow in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Initialization of view CRM_UI_FRAME/WorkAreaViewSet of UI Component CRM_UI_FRAME failed
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BSPWD_BASICS/WorkAreaHostViewSet in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Cannot display view CRM_UI_FRAME/MainWindow of UI Component CRM_UI_FRAME
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BSPWD_BASICS/WorkAreaHostViewSet in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Initialization of view CRM_UI_FRAME/MainWindow of UI Component CRM_UI_FRAME failed
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/WorkAreaViewSet in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Cannot display view Root.htm of UI Component CRM_UI_FRAME
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/WorkAreaViewSet in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
An error occurred during initialization of the application
An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/MainWindow in component CRM_UI_FRAME could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 165
Any help thanks in advance.hi luis,
your error description reminds me of an inactive SICF, but you wrote, that you checked this before.
on this forum is an excellent entry with lots of hints and tipp for the IC WebUI:
Documentation for Interaction Center (IC) WebClient
Documentation for Interaction Center (IC) WebClient
maybe this will help.
best wishes,
hakan -
I am trying to log into the itunes store for the first time and it asks me to review my account so I do but every time I get to the bit where you fill in your bank details and address it tells me my payment method was declined and that its not valid?
Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.
-
Total no. of users logged into the database
Can we find out total number of users logged into the database? I do not have DBA privileges.
If it is not possible by a straight SQL then do I have any other options?
Thanks.You can find the list of all users using the query "Select * from V$Sesssion_connect_info". This requires access to system tables. But this query gives the OS user information and not the database user information.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Krishnan:
Can we find out total number of users logged into the database? I do not have DBA privileges.
If it is not possible by a straight SQL then do I have any other options?
Thanks.<HR></BLOCKQUOTE>
null -
SQL0964C The transaction log for the database is full
Hi,
i am planning to do QAS refresh from PRD system using Client export\import method. i have done export in PRD and the same has been moved to QAS then started imported.
DB Size:160gb
DB:DB2 9.7
os: windows 2008.
I facing SQL0964C The transaction log for the database is full issue while client import and regarding this i have raised incident to SAP then they replied to increase some parameter like(LOGPRIMARY,LOGSECOND,LOGFILSIZ) temporarily and revert them back after the import. Based on that i have increased from as below mentioned calculation.
the filesystem size of /db2/<SID>/log_dir should be greater than LOGFILSIZ*4*(Sum of LOGPRIMARY+LOGSECONDARY) KB
From:
Log file size (4KB) (LOGFILSIZ) = 60000
Number of primary log files (LOGPRIMARY) = 50
Number of secondary log files (LOGSECOND) = 100
Total drive space required: 33GB
To:
Log file size (4KB) (LOGFILSIZ) = 70000
Number of primary log files (LOGPRIMARY) = 60
Number of secondary log files (LOGSECOND) = 120
Total drive space required: 47GB
But still facing the same issue. Please help me to resolve the ASAP.
Last error TP log details:
3 ETW674Xstart import of "R3TRTABUFAGLFLEX08" ...
4 ETW000 1 entry from FAGLFLEX08 (210) deleted.
4 ETW000 1 entry for FAGLFLEX08 inserted (210*).
4 ETW675 end import of "R3TRTABUFAGLFLEX08".
3 ETW674Xstart import of "R3TRTABUFAGLFLEXA" ...
4 ETW000 [ dev trc,00000] Fri Jun 27 02:20:21 2014 -774509399 65811.628079
4 ETW000 [ dev trc,00000] *** ERROR in DB6Execute[dbdb6.c, 4980] CON = 0 (BEGIN) 85 65811.628164
4 ETW000 [ dev trc,00000] &+ DbSlModifyDB6( SQLExecute ): [IBM][CLI Driver][DB2/NT64] SQL0964C The transaction log for the database is full.
4 ETW000 83 65811.628247
4 ETW000 [ dev trc,00000] &+ SQLSTATE=57011 row=1
4 ETW000 51 65811.628298
4 ETW000 [ dev trc,00000] &+
4 ETW000 67 65811.628365
4 ETW000 [ dev trc,00000] &+ DELETE FROM "FAGLFLEXA" WHERE "RCLNT" = ?
4 ETW000 62 65811.628427
4 ETW000 [ dev trc,00000] &+ cursor type=NO_HOLD, isolation=UR, cc_release=YES, optlevel=5, degree=1, op_type=8, reopt=0
4 ETW000 58 65811.628485
4 ETW000 [ dev trc,00000] &+
4 ETW000 53 65811.628538
4 ETW000 [ dev trc,00000] &+ Input SQLDA:
4 ETW000 52 65811.628590
4 ETW000 [ dev trc,00000] &+ 1 CT=WCHAR T=VARCHAR L=6 P=9 S=0
4 ETW000 49 65811.628639
4 ETW000 [ dev trc,00000] &+
4 ETW000 50 65811.628689
4 ETW000 [ dev trc,00000] &+ Input data:
4 ETW000 49 65811.628738
4 ETW000 [ dev trc,00000] &+ row 1: 1 WCHAR I=6 "210" 34 65811.628772
4 ETW000 [ dev trc,00000] &+
4 ETW000 51 65811.628823
4 ETW000 [ dev trc,00000] &+
4 ETW000 50 65811.628873
4 ETW000 [ dev trc,00000] *** ERROR in DB6Execute[dbdb6.c, 4980] (END) 27 65811.628900
4 ETW000 [ dbtran ,00000] ***LOG BY4=>sql error -964 performing DEL on table FAGLFLEXA
4 ETW000 3428 65811.632328
4 ETW000 [ dbtran ,00000] ***LOG BY0=>SQL0964C The transaction log for the database is full. SQLSTATE=57011 row=1
4 ETW000 46 65811.632374
4 ETW000 [ dev trc,00000] dbtran ERROR LOG (hdl_dbsl_error): DbSl 'DEL' 59 65811.632433
4 ETW000 RSLT: {dbsl=99, tran=1}
4 ETW000 FHDR: {tab='FAGLFLEXA', fcode=194, mode=2, bpb=0, dbcnt=0, crsr=0,
4 ETW000 hold=0, keep=0, xfer=0, pkg=0, upto=0, init:b=0,
4 ETW000 init:p=0000000000000000, init:#=0, wa:p=0X00000000020290C0, wa:#=10000}
4 ETW000 [ dev trc,00000] dbtran ERROR LOG (hdl_dbsl_error): DbSl 'DEL' 126 65811.632559
4 ETW000 STMT: {stmt:#=0, bndfld:#=1, prop=0, distinct=0,
4 ETW000 fld:#=0, alias:p=0000000000000000, fupd:#=0, tab:#=1, where:#=2,
4 ETW000 groupby:#=0, having:#=0, order:#=0, primary=0, hint:#=0}
4 ETW000 CRSR: {tab='', id=0, hold=0, prop=0, max.in@0=1, fae:blk=0,
4 ETW000 con:id=0, con:vndr=7, val=2,
4 ETW000 key:#=3, xfer=0, xin:#=0, row:#=0, upto=0, wa:p=0X00000001421A3000}
2EETW125 SQL error "-964" during "-964" access: "SQL0964C The transaction log for the database is full. SQLSTATE=57011 row=1"
4 ETW690 COMMIT "14208" "-1"
4 ETW000 [ dev trc,00000] *** ERROR in DB6Execute[dbdb6.c, 4980] CON = 0 (BEGIN) 16208 65811.648767
4 ETW000 [ dev trc,00000] &+ DbSlModifyDB6( SQLExecute ): [IBM][CLI Driver][DB2/NT64] SQL0964C The transaction log for the database is full.
4 ETW000 75 65811.648842
4 ETW000 [ dev trc,00000] &+ SQLSTATE=57011 row=1
4 ETW000 52 65811.648894
4 ETW000 [ dev trc,00000] &+
4 ETW000 51 65811.648945
4 ETW000 [ dev trc,00000] &+ INSERT INTO DDLOG (SYSTEMID, TIMESTAMP, NBLENGTH, NOTEBOOK) VALUES ( ? , CHAR( CURRENT TIMESTAMP - CURRENT TIME
4 ETW000 50 65811.648995
4 ETW000 [ dev trc,00000] &+ ZONE ), ?, ? )
4 ETW000 49 65811.649044
4 ETW000 [ dev trc,00000] &+ cursor type=NO_HOLD, isolation=UR, cc_release=YES, optlevel=5, degree=1, op_type=15, reopt=0
4 ETW000 55 65811.649099
4 ETW000 [ dev trc,00000] &+
4 ETW000 49 65811.649148
4 ETW000 [ dev trc,00000] &+ Input SQLDA:
4 ETW000 50 65811.649198
4 ETW000 [ dev trc,00000] &+ 1 CT=WCHAR T=VARCHAR L=44 P=66 S=0
4 ETW000 47 65811.649245
4 ETW000 [ dev trc,00000] &+ 2 CT=SHORT T=SMALLINT L=2 P=2 S=0
4 ETW000 48 65811.649293
4 ETW000 [ dev trc,00000] &+ 3 CT=BINARY T=VARBINARY L=32000 P=32000 S=0
4 ETW000 47 65811.649340
4 ETW000 [ dev trc,00000] &+
4 ETW000 50 65811.649390
4 ETW000 [ dev trc,00000] &+ Input data:
4 ETW000 49 65811.649439
4 ETW000 [ dev trc,00000] &+ row 1: 1 WCHAR I=14 "R3trans" 32 65811.649471
4 ETW000 [ dev trc,00000] &+ 2 SHORT I=2 12744 32 65811.649503
4 ETW000 [ dev trc,00000] &+ 3 BINARY I=12744 00600306003200300030003900300033003300310031003300320036003400390000...
4 ETW000 64 65811.649567
4 ETW000 [ dev trc,00000] &+
4 ETW000 52 65811.649619
4 ETW000 [ dev trc,00000] &+
4 ETW000 51 65811.649670
4 ETW000 [ dev trc,00000] *** ERROR in DB6Execute[dbdb6.c, 4980] (END) 28 65811.649698
4 ETW000 [ dbsyntsp,00000] ***LOG BY4=>sql error -964 performing SEL on table DDLOG 36 65811.649734
4 ETW000 [ dbsyntsp,00000] ***LOG BY0=>SQL0964C The transaction log for the database is full. SQLSTATE=57011 row=1
4 ETW000 46 65811.649780
4 ETW000 [ dbsync ,00000] ***LOG BZY=>unexpected return code 2 calling ins_ddlog 37 65811.649817
4 ETW000 [ dev trc,00000] db_syflush (TRUE) failed 26 65811.649843
4 ETW000 [ dev trc,00000] db_con_commit received error 1024 in before-commit action, returning 8
4 ETW000 57 65811.649900
4 ETW000 [ dbeh.c ,00000] *** ERROR => missing return code handler 1974 65811.651874
4 ETW000 caller does not handle code 1024 from dblink#5[321]
4 ETW000 ==> calling sap_dext to abort transaction
2EETW000 sap_dext called with msgnr "900":
2EETW125 SQL error "-964" during "-964" access: "SQL0964C The transaction log for the database is full. SQLSTATE=57011 row=1"
1 ETP154 MAIN IMPORT
1 ETP110 end date and time : "20140627022021"
1 ETP111 exit code : "12"
1 ETP199 ######################################
Regards,
RajeshHi Babu,
I believe you should have taken a restart of your system if log primary are changed. If so, then increase log primary to 120 and secondary to 80 provide size and space are enough.
Note 1293475 - DB6: Transaction Log Full
Note 1308895 - DB6: File System for Transaction Log is Full
Note: 495297 - DB6: Monitoring transaction log
Regards,
Divyanshu -
After updating to iOS7 I am trying to log in the Game Center with my user ID and it says that is in use and I need to enter another one?
You may be able to find your Apple ID at Look up your old and forgotten Apple ID
-
Problem about Indexes missing in the database
Dear all,
We found a missing index in DB02 view of our sap system.
This missing index is a Secondary index,
and its name is S509-VAB.
We tried to create it in DB, but got below error log as below:
Index S509~VAB could not be set up in the database
Message no. DI 006
Diagnosis
It was not possible to create the index in the database.
This could be caused by the fact that an index with the same name exists in the database, but it is unknown to the ABAP/4 Dictionary. Activating the index in the ABAP/4 Dictionary is possible, but it is not possible to create it in the database.
Procedure
For more information about the cause of the error, analyze the SQL error messages in this log.
Our question is How to Activate the index in the ABAP/4 Dictionary?
Anyone experienced,
Please kindly give advice.
Regards,
AllenHi Allen,
S509 is an information structure table. Data is populated into it post we do some necessary cutomizing and is mainly used for reporting purpose. I do not know what reports you are generating out of this. Hence difficult to say whether you can ignore this missing index or not.
I would suggest you to do the following
In se14, type the table name S509.
Go to indexes tab. Look for the list of indexes defined.
Select the index name VAB ( Which is missing in your case ).
1) check the status of this index ? Does it says "exists in database"
2) If point 1 is not valid then , select the option create in database button and create the index in the database.
Regards,
Deepak Kori -
LoadDB problem: no version found for the database
HEllo,
I try to use the loadDB directive with an existing pool and wlst offline but I always receive the error "No version found for the database". I tried to create a pool with the console and use it as loading pool but that didn't worked.
I saw in the script.log file that my pool was correctly found but it seems that it can't found the driverName attribute of my pool when trying to get version.
I have checked and the drivername is correctly set.
Any idea? I will post the complete stack and the script.log later.here is the full stack:
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.scrip
t.ScriptException: No version is found for database:
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleEx
ception(CommandExceptionHandler.java:33)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
WLScriptContext.java:897)
at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
ontext.java:817)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx0.loadDB$22(initWls.py:98)
at org.python.pycode._pyx0.call_function(initWls.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.pycode._pyx4.f$0(CCFF_offline.py:17)
at org.python.pycode._pyx4.call_function(CCFF_offline.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.__builtin__.execfile_flags(__builtin__.java)
at org.python.core.__builtin__.execfile(__builtin__.java)
at org.python.core.__builtin__.execfile(__builtin__.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.pycode._pyx3.f$0(<input>:1)
at org.python.pycode._pyx3.call_function(<input>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter
.java)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java)
at com.bea.plateng.domain.script.jython.WLST_offline.handleInteractiveMo
de(WLST_offline.java:137)
at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.j
ava:79)
Caused by: com.bea.plateng.domain.script.ScriptException: No version is found fo
r database:
at com.bea.plateng.domain.script.ScriptExecutor.getSQLFiles(ScriptExecut
or.java:2731)
at com.bea.plateng.domain.script.ScriptExecutor.loadDB(ScriptExecutor.ja
va:1056)
at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
ontext.java:815)
... 40 more
here is the script.log part:
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - find JDBCConnectionPool "CCFFMainPool" as obj5
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: find JDBCConnectionPool "CCFFMainPool" as obj5
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - loadDB obj5
2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - ScriptExecutor JDBCInfo:
DB2 Any:
CCFF_L1-tables.sql
Initial_Insert.sql
2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - Database name: -
Problem trying to log on to my video library system
hello.
i am trying to log on to the video library system that i just developed. the LogOn program works to a certain extent (the appropriate programs are shown below). when i try to log onto my system time. a JOptionPane.ERROR_MESSAGE message appears on screen. when i press OK inside the message, the message disappears but the same one appears again. i press OK again + the JOptionPane messages stop appearing again. when i press ok after entering my login details in the text + password fields, a main menu (either an administrator menu or a user menu) should be displayed on screen. what should i do to make this problem go away?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
public class HomeEntertainment extends JPanel implements ActionListener{
private JTabbedPane jtp = new JTabbedPane();
private JPanel cP1 = new JPanel();
private JPanel cP2 = new JPanel();
private JPanel cP3 = new JPanel();
private JPanel bP1 = new JPanel();
private JPanel bP2 = new JPanel();
private JPanel bP3 = new JPanel();
private JButton jbAdministratorLogOn = new JButton("Log On");
private JButton jbNewUserRegister = new JButton("Register");
private JButton jbExistingUserLogOn = new JButton("Log On");
private JButton jbAdministratorExitTheSystem = new JButton("Exit the system");
private JButton jbNewUserExitTheSystem = new JButton("Exit the system");
private JButton jbExistingUserExitTheSystem = new JButton("Exit the system");
public HomeEntertainment(){
cP1.setLayout(new BorderLayout());
cP2.setLayout(new BorderLayout());
cP3.setLayout(new BorderLayout());
bP1.setBorder(new TitledBorder("Make a choice"));
bP2.setBorder(new TitledBorder("Make a choice"));
bP3.setBorder(new TitledBorder("Make a choice"));
bP1.add(jbAdministratorLogOn);
bP2.add(jbNewUserRegister);
bP3.add(jbExistingUserLogOn);
bP1.add(jbAdministratorExitTheSystem);
bP2.add(jbNewUserExitTheSystem);
bP3.add(jbExistingUserExitTheSystem);
cP1.add(bP1, BorderLayout.SOUTH);
cP2.add(bP2, BorderLayout.SOUTH);
cP3.add(bP3, BorderLayout.SOUTH);
jtp.addTab("Administrator", cP1);
jtp.addTab("New User", cP2);
jtp.addTab("Existing User", cP3);
JFrame jf = new JFrame("Home Entertainment");
jf.getContentPane().add(jtp, BorderLayout.CENTER);
jf.setSize(500, 500);
jf.setVisible(true);
jbAdministratorLogOn.addActionListener(this);
jbNewUserRegister.addActionListener(this);
jbExistingUserLogOn.addActionListener(this);
jbAdministratorExitTheSystem.addActionListener(this);
jbNewUserExitTheSystem.addActionListener(this);
jbExistingUserExitTheSystem.addActionListener(this);
public void actionPerformed(ActionEvent e){
if(e.getSource() == jbAdministratorLogOn){
LogOn logOn = new LogOn();
logOn.setVisible(true);
if(e.getSource() == jbNewUserRegister){
RegistrationForm r = new RegistrationForm();
r.setVisible(true);
if(e.getSource() == jbExistingUserLogOn){
LogOn logOn = new LogOn();
logOn.setVisible(true);
if(e.getSource() == jbAdministratorExitTheSystem){
System.exit(0);
if(e.getSource() == jbNewUserExitTheSystem){
System.exit(0);
if(e.getSource() == jbExistingUserExitTheSystem){
System.exit(0);
public static void main(String[] args){
new HomeEntertainment();
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class LogOn extends JFrame{
JPanel pnlBody, pnlFooter;
JLabel unLabel = new JLabel("Username: ");
JLabel pwLabel = new JLabel("Password: ");
JTextField jtfUN = new JTextField(20);
JPasswordField jtfPW = new JPasswordField(20);
JButton jbOK = new JButton("OK");
JButton jbCancel = new JButton("Cancel");
Container contentpane;
public LogOn(){
super("Welcome to Home Entertainment");
contentpane = getContentPane();
contentpane.setLayout(new BorderLayout());
pnlBody = new JPanel();
pnlFooter = new JPanel();
pnlBody.add(unLabel);
pnlBody.add(jtfUN);
pnlBody.add(pwLabel);
pnlBody.add(jtfPW);
pnlFooter.add(jbOK);
pnlFooter.add(jbCancel);
contentpane.add(pnlBody,BorderLayout.NORTH);
contentpane.add(pnlFooter,BorderLayout.CENTER);
pack();
setVisible(true);
jbOK.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
String username;
String password;
String[] userUsernameArray = {"Ann Smyth", "John Murphy"};
String[] userPasswordArray = {"1", "2"};
String[] adminUsernameArray = {"Administrator"};
String[] adminPasswordArray = {"0"};
username = jtfUN.getText().trim();
password = new String(jtfPW.getPassword());
if(username.equals(userUsernameArray) && password.equals(userPasswordArray)){
setVisible(false);
UserMainMenu umm = new UserMainMenu();
umm.setVisible(true);
else{
JOptionPane.showMessageDialog(null, "Error\n\nYou have entered an incorrect username and/or password\nPlease try again", null, JOptionPane.ERROR_MESSAGE);
if(username.equals(adminUsernameArray) && password.equals(adminPasswordArray)){
setVisible(false);
AdminMainMenu amm = new AdminMainMenu();
amm.setVisible(true);
else{
JOptionPane.showMessageDialog(null, "Error\n\nYou have entered an incorrect username and/or password\nPlease try again", null, JOptionPane.ERROR_MESSAGE);
jbCancel.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class AdminMainMenu extends JFrame{
JPanel pnlBody;
JButton btnOrderSystem = new JButton("Order System");
JButton btnMaintenance = new JButton("Maintenance");
JButton btnAdminLogOff = new JButton("Log Off");
Container contentpane;
public AdminMainMenu(){
super("Main Menu");
contentpane = getContentPane();
contentpane.setLayout(new BorderLayout());
pnlBody = new JPanel();
pnlBody.add(btnOrderSystem);
pnlBody.add(btnMaintenance);
pnlBody.add(btnAdminLogOff);
contentpane.add(pnlBody,BorderLayout.CENTER);
pack();
setVisible(true);
btnOrderSystem.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
//OrderSystem os = new OrderSystem();
//os.setVisible(true);
btnMaintenance.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
//Maintenance m = new Maintenance();
//m.setVisible(true);
btnAdminLogOff.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
int result;
result = JOptionPane.showConfirmDialog(null, "Are you sure you want to log off?", null, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
if(result == JOptionPane.YES_OPTION){
setVisible(false);
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class UserMainMenu extends JFrame{
JPanel pnlBody;
JButton btnUserProductMenu = new JButton("Product Menu");
JButton btnUserMemberMenu = new JButton("Member Menu");
JButton btnUserRentalMenu = new JButton("Rental Menu");
JButton btnUserLogOff = new JButton("Log Off");
Container contentpane;
public UserMainMenu(){
super("Main Menu");
contentpane = getContentPane();
contentpane.setLayout(new BorderLayout());
pnlBody = new JPanel();
pnlBody.add(btnUserProductMenu);
pnlBody.add(btnUserMemberMenu);
pnlBody.add(btnUserRentalMenu);
pnlBody.add(btnUserLogOff);
contentpane.add(pnlBody,BorderLayout.CENTER);
pack();
setVisible(true);
btnUserProductMenu.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
//UserProductMenu upm = new UserProductMenu();
//upm.setVisible(true);
btnUserMemberMenu.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
//UserMemberMenu umm = new UserMemberMenu();
//umm.setVisible(true);
btnUserRentalMenu.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
setVisible(false);
//UserRentalMenu urm = new UserRentalMenu();
//urm.setVisible(true);
btnUserLogOff.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
int result;
result = JOptionPane.showConfirmDialog(null, "Are you sure you want to log off?", null, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
if(result == JOptionPane.YES_OPTION){
setVisible(false);
}See my answer in your other posting on this topic.
Please don't start new threads on the same problem; if you have new information (or a better code sample), just continue in the original thread. -
ORA-12514 when trying to connect to the database using SERVICE
Hi,
Version 10204
In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
The instance name is DWH.
I run the following commands:
I added to the tnsnames.ora file the following input:
XYZ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XYZ)
As SYSDBA i execute:
> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
But when i tried to connect to the instance:
sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
When i am trying to connect , not via the service , its successed:
sqlplus ac/ac@dwh
SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Could you please help to understand why its failed to connect via SERVICE ?
ThanksYou told us.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
If you did....
Please check by .....
lsnrctl status
lsnrctl service
Let me show my example:
About 1522 (no default port)
SQL> show parameter local_listener
NAME TYPE VALUE
local_listener string ALIASLISTENER
- check tnsnames.ora file in the same location listener.ora file.
$ cat tnsnames.ora
ALIASLISTENER=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
- About create new service
SQL> show parameter service_names
NAME TYPE VALUE
service_names string db
SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
PL/SQL procedure successfully completed.
SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
PL/SQL procedure successfully completed.
SQL> show parameter service_names
NAME TYPE VALUE
service_names string xyz
$ lsnrctl status
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 02-NOV-2008 03:28:45
Uptime 0 days 0 hr. 0 min. 36 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File ORACLE_HOME/network/admin/listener.ora
Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
$ lsnrctl service
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
Services Summary...
Service "db" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "db2XDB" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:972 state:ready
DISPATCHER <machine: hostname, pid: 30200>
(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
Service "db_XPT" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xyz" has 1 instance(s).
Instance "db", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Maybe you are looking for
-
I'm fairly new to Java, and admittedly not that great, considering I map my programs out the wrong way - in a VB style procedural basis, so my program probably has newbie "bad programming" things here and there, but that's not the problem. My program
-
After Archive and Install, music and photos lost
Hello, I installed Leopard yesterday on my Imac desktop and it went fine, but then somehow it locked me out of the hard drive, and then...the blue screen. I put the orginal Tiger disk back in and re-installed the previous software, opting for 'archiv
-
Hi, We are having R/3 System ECC 5.0 along with Java (ABAP+JAVA Stack) on 640. While trying to start java the following error is occuring in server0.out file: com.sap.security.core.persistence [SAPEngine_Sys tem_Thread[impl:5]_25] Fatal: User Manag
-
Oracle XE installation (TNS:protocl adapter error)
Hi, I have been reading through all emails regarding installing Oracle 10g XE. I have successfully installed XE on Windows XP on first attempt with no problems. Next, I have to install on Windows 2000 but during the Installation process Task 1 of 5 e
-
Help needed for javax.naming.Context and javax.naming.InitialContext
I need help on this two.. I am currently doing a project which required Connection Pooling. And this is the first time i'm exposed to all this.. I know nothing about these files.. But, i manage to get help from someone on DataSource. But i can't find