Oracle 11g install problem on rhel 4.4
i was trying to install oracle 11g to rhel 4.4
during the install process , there are two warning when runing environment check
one is kernal parameter
i set four kernal parameter like this:
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
but oracle warning me they should be set as 419430
the other is swap space :
i set 2G,but oracle needs 4G.
i neglect them and continue
but when the install proceed 11percent , it stoped there and the i pose the install log is :
INFO: Method 'dispose()' Not implemented in class 'CustomConfigurationOptions'
INFO: config-context initialized
INFO: *** Install Page***
INFO: FastCopy : File Version is Compatible
INFO: Install mode is fastcopy mode for component 'oracle.server' with Install type 'Custom'.
INFO: Link phase has been specified as needed
INFO: Setup phase has been specified as needed
INFO: HomeSetup JRE files in Scratch :0
INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/ora11/DB10g/root.sh'. Received the value from a code block.
INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/ora11/DB10g/root.sh'. Received the value from a code block.
INFO: Performing fastcopy operations based on the information in the file 'racfiles.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_exp_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_dirs.lst'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_filemap.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'setperms1.sh'.
INFO: Number of threads for fast copy :1
INFO: FastCopy : The component info is ignored :oracle.network.cman:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.precomp.lang:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.odbc:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.rdbms.dv:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.rdbms.lbac:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.rdbms.dv.oc4j:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.odbc.ic:11.1.0.6.0
INFO: FastCopy : The component info is ignored :oracle.sysman.ccr:10.2.6.0.0
i do not know how to make it work ,please help me
thank you!
This is the output from my current 11g installation on an OEL4:
Checking operating system package requirements ...
Checking for make-3.80; found make-1:3.80-6.EL4-i386. Passed
Checking for binutils-2.15.92.0.2; found binutils-2.15.92.0.2-21-i386. Passed
Checking for gcc-3.4.5; found gcc-3.4.6-3.1-i386. Passed
Checking for libaio-0.3.105; found libaio-0.3.105-2-i386. Passed
Checking for libaio-devel-0.3.105; found libaio-devel-0.3.105-2-i386. Passed
Checking for libstdc++-3.4.5; found libstdc++-3.4.6-3.1-i386. Passed
Checking for elfutils-libelf-devel-0.97; found elfutils-libelf-devel-0.97.1-3-i386. Passed
Checking for sysstat-5.0.5; found sysstat-5.0.5-11.rhel4-i386. Passed
Checking for libgcc-3.4.5; found libgcc-3.4.6-3.1-i386. Passed
Checking for libstdc++-devel-3.4.5; found libstdc++-devel-3.4.6-3.1-i386. Passed
Checking for unixODBC-2.2.11; found unixODBC-2.2.11-1.RHEL4.1-i386. Passed
Checking for unixODBC-devel-2.2.11; found unixODBC-devel-2.2.11-1.RHEL4.1-i386.
~ Madrid
Similar Messages
-
DO I NEED TO HAVE ORACLE 11G INSTALLED?
Hi,
I have never used Oracle before. I have a very basic doubt. I have a Peoplesoft Id and password. I wish to know if I need to have Oracle 11g installed on my laptop to be able to use Peoplesoft Code to create applications using an online database? Kindly let me know at the earliest and will be of great help.
I greatly appreciate it.
Thanks. :)You need to have app designer installed if you want to work with peopletools, which will allow you to connect 3-tier to running Oracle/Peoplesoft instance. If you want to connect 2-tier, then you'll need the 11g client installed.
-
Can oracle 11g installed on solaris 8 ?
Can oracle 11g installed on solaris 8 ?
Other what is the minimum solaris supported to install oracle 11g.
Thank you in advance..[email protected] wrote:
Can oracle 11g installed on solaris 8 ?
Other what is the minimum solaris supported to install oracle 11g.
Thank you in advance..In general, each product has an installation manual - found through http://docs.oracle.com and possibly http://tahiti.oracle.com and the install manual clearly identifies the (minimum) support OS and Release information. -
Problem when installing Oracle 11g R2 x64 on rhel 5.8 x86_64
Hi All,
I’m trying to install oracle 11g software only to upgrade my database from 10g to 11g and i install all required packages listed in installation prerequisites but the below error appeared
error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile
$tail -15 $ORACLE_HOME/install/make.log
/oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' make -f /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk relink_exe EXENAME=nmo make[1]: Entering directory `/oradata/db/tech_st/11.2.0/sysman/lib' /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo' /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' gcc -o /oradata/db/tech_st/11.2.0/sysman/lib/nmo -L/oradata/db/tech_st/11.2.0/lib/ -L/oradata/db/tech_st/11.2.0/sysman/lib/ `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -lm `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -ldl -lm -L/oradata/db/tech_st/11.2.0/lib /oradata/db/tech_st/11.2.0/sysman/lib/s0nmo.o /oradata/db/tech_st/11.2.0/sysman/lib/libnmo.a -lcrypt -ldl `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -ldl -lm /bin/sh: cat: command not found /bin/sh: cat: command not found /bin/sh: cat: command not found /oradata/db/tech_st/11.2.0/sysman/lib/s0nmo.o: In function `main': s0nmo.c:(.text+0x1b): undefined reference to `__intel_new_proc_init' make[1]: Leaving directory `/oradata/db/tech_st/11.2.0/sysman/lib' collect2: ld returned 1 exit status make[1]: *** [/oradata/db/tech_st/11.2.0/sysman/lib/nmo] Error 1 make: *** [nmo] Error 2 EBS :12.0.4
Please help me in this issue. Thanks in advanceSeems you are trying to Install 32-bit 11g R2 on Linux RHEL 5 (64-bit) server fails with relinking errors - 'Mkldflags ntcontab.o nnfgt.o'
Please check following MOS Notes.
Install/Clone 32-bit 11GR2 Client On Linux x86_64 Fails With Error In Invoking Target 'Mkldflags ntcontab.o nnfgt.o' Of Makefile ins_net_client.mk (Doc ID 1473421.1) -
Installing Oracle 11g database problem (loopback adatper problem)
Hi, I tried to install Oracle 11g and I got a warning mentioning that I need to install Loopback adapter first.
I followed the Loopback adapter installation instruction from the oracle website, and in the last step I need to add a line to the hosts file. Which is where I got a problem...my laptop doesn't have a domain name, but it's a workgroup name instead.
So can I put this:
ip_address host_name
instead of this:
ip_address host_name.domain_name host_name
And if we cannot do that, should I try this 2nd method below?:
I also read one thread in the forum saying that we don't need to install Loopback adapter, but instead we have to edit the listener.ora and tnsnames.ora files and make the value for HOST 127.0.0.1.
Message was edited by:
user610037If I understand you correctly, I should add a line like this in the host file(a, b, c or d??):
example: My computer host name is: "David"
a) "10.10.10.10 David.testing.com"
or
b) "10.10.10.10 David.testing.com David"
or
c) "10.10.10.10 localhost.testing.com
or
d) "10.10.10.10 localhost.testing.com localhost" -
Oracle 11g Installation problems
Hi there, Im a new Oracle's user, and I am trying to install Oracle 11g in my computer I have Windows Vista SP2 32bits, but I have a lot of problems.
The program send me various messages of Warnings and Errors so I couldnt finished the complete instalation and configuration.
Somebody can help me with some of this errors.
This are the errors: (In Spanish)
ORA-31011: Fallo en el analisis de XML
ORA-19202: Se ha producido un error en el procesamiento
ORA-06512: en "SYS.XMLTYPE", linea 272
ORA-06512: en "XDB.XDB_CONFIGURATION", linea 69
ORA-06512: en "XDB.DBMX_XDB", linea 209
ORA-06512: en "XDB.XDB_CONFIGURATION", linea 92
La configuración de Enterprise Manager ha fallado debido al
siguiente error:
Error al iniciar Database Control
Consulte el archivo log en C:\oraclecfgtoollogsdbca\orc\emConfig.log para obtener mas información
Posteriormente, puede reintentar la configuración de esta base de datos con
Enterprise Manager ejecutando manualmente el archivo de comandos C:\oracle\product\11.1.0\db_1\bin\emca
nstaller ha instalado productos en el grupo de componentes "Oracle Windows Interfaces".
Para soportar un desarrollo perfecto en Microsoft Visual Studio con la base de datos Oracle,
Oracle recomienda descargar e instalar la última versión de
"Oracle Developer Tools for Visual Studio .NET" de Oracle Technology Network.
I will aprecciatte your help.
Thank you!user12191943 wrote:
I have Windows Vista SP2 32bitsPlease specifiy WHICH edition of Vista. Oracle does have many problems with Vista Home. -
ORACLE 11G INSTALLATION PROBLEM ON WIN7 32 bit
okay i intalled the 11g edition but quite unsuccesfully . This is the view of start menu entry
start->allprograms->oracle 11g express edition->empty
Well, it shouldn't be like this !
Can't figure out why ?
Edited by: 908289 on Jan 16, 2012 3:52 AM
Edited by: 908289 on Jan 16, 2012 7:59 AMi have the folder named oracleexe and app folder inside it . so this is what i should get as installed folders i guess !!Yes, that's what you can expect after a successful installation. Take a look in the direct ".\oracle\product\11.2.0\server" below the "app" directory. Do you see some url-link files there? (Despite several other subdirectories, of course...)
Two of them should be the "Database_homepage" and "Get_Started". Try to call them.
And Oracle XE service is started . Well, that's great. Sounds like all you lack is the links in you task menu.
i couldn't quite get you here . which software/ programs are you referring to ? The start menu entry created is shown already as it is in the problem above and installation folders are there as i mentioned above . what else ,you refferring to ?I just wanted to check whether the installer has registered the database in the Windows list. This is part of a successful installation and would offer you the opporunity to uninstall (and perhaps reinstall) the whole package.
Also , i am not sure which lOG file to check there because there are a lot of them !!As your database seems to be running as noted above, it doesn't seem to be necessary to go into these details.
You should be able to access your database, either by using the links mentioned above, or, if these failed to be created, by calling the URLs by hand, e.g.
http://127.0.0.1:8080/apex/f?p=4950 for "Get_Started" and
http://127.0.0.1:8080/htmldb for the "Database_homepage".
You should also be able to use the command line tool by calling sqlplus from a command window.
If that doesn't satisfy you or you face any errors, you could try to reinstall.
-Udo -
Oracle 11g install hangs on windows 7
Hi,
I have downloaded Oracle 11g r2 64 bit install onto my windows system.
When i install, the install hangs after selecting the following
a) Create and configure a database
b) Desktop Class
After these, when I click on Next, the UI hangs.
Help will be appreciated.Using paramFile: C:\Users\jeevan\Documents\My DAP Downloads\database\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
WARNING: Failed to load bean oracle.install.ivw.db.bean.DBInstallSettings. Reason: [INS-07001] Value for property 'DBInstallSettings' not found in the bean store.
INFO: Closing bean stores from which the beans can be loaded
INFO: Registering the flow views
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.PrereqGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.PrereqGUI added to View Type Registry with the key as [PrereqUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SummaryGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SummaryGUI added to View Type Registry with the key as [SummaryUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SetupGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SetupGUI added to View Type Registry with the key as [SetupUI]
INFO: Adding View[type: oracle.install.ivw.common.view.InventoryUI viewId: null uiType: null]
INFO: oracle.install.ivw.common.view.InventoryUI added to View Type Registry with the key as [InventoryUI]
INFO: Adding View[type: oracle.install.ivw.common.view.ProductLanguageGUI viewId: ProductLanguageUI uiType: null]
INFO: oracle.install.ivw.common.view.ProductLanguageGUI added to View Type Registry with the key as [ProductLanguageUI]
INFO: Adding View[type: oracle.install.ivw.common.view.OCMDetailsGUI viewId: OCMDetailsUI uiType: null]
INFO: oracle.install.ivw.common.view.OCMDetailsGUI added to View Type Registry with the key as [OCMDetailsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationTypeUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ConfigurationTypeUI added to View Type Registry with the key as [ConfigurationTypeUI]
INFO: Adding View[type: oracle.install.ivw.db.view.DBIdentifierUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.DBIdentifierUI added to View Type Registry with the key as [DBIdentifierUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ConfigurationOptionsUI added to View Type Registry with the key as [ConfigurationOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ManagementOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ManagementOptionsUI added to View Type Registry with the key as [ManagementOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.StorageOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.StorageOptionsUI added to View Type Registry with the key as [StorageOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.RecoveryBackupUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.RecoveryBackupUI added to View Type Registry with the key as [RecoveryBackupUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI viewId: ASMDiskGroupSelectionUI uiType: null]
INFO: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI added to View Type Registry with the key as [ASMDiskGroupSelectionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.SchemaPasswordUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.SchemaPasswordUI added to View Type Registry with the key as [SchemaPasswordUI]
INFO: Adding View[type: oracle.install.ivw.db.view.QuickInstallUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.QuickInstallUI added to View Type Registry with the key as [QuickInstallUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.InstallOptionsUI added to View Type Registry with the key as [InstallOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.SystemClassUI viewId: SystemClassUI uiType: null]
INFO: oracle.install.ivw.db.view.SystemClassUI added to View Type Registry with the key as [SystemClassUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallLocationUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.InstallLocationUI added to View Type Registry with the key as [InstallLocationUI]
INFO: Adding View[type: oracle.install.ivw.db.view.DBEditionGUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.DBEditionGUI added to View Type Registry with the key as [DBEditionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.NodeSelectionUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.NodeSelectionUI added to View Type Registry with the key as [NodeSelectionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.FinishUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.FinishUI added to View Type Registry with the key as [FinishUI]
INFO: Adding View[type: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI added to View Type Registry with the key as [PrivilegedOSGroupsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallTypeGUI viewId: installTypeUI uiType: null]
INFO: oracle.install.ivw.db.view.InstallTypeGUI added to View Type Registry with the key as [installTypeUI]
INFO: Initial values of Setup Properties :
PROPERTY VALUE
CLUSTER_NODES {}
COLLECTOR_IGNORE_CONFIGURATION false
COLLECTOR_IGNORE_FAILURES false
COLLECTOR_RESPONSE_FILE
DECLINE_SECURITY_UPDATES false
FROM_LOCATION C:\Users\jeevan\Documents\My DAP Downloads\database
\install\../stage/products.xml
INSTALL_TYPE EE
MYORACLESUPPORT_PASSWORD Protected value, not to be logged
MYORACLESUPPORT_USERNAME
ORACLE_BASE
ORACLE_HOME
ORACLE_HOSTNAME COSMOS
PROXY_HOST
PROXY_PORT
PROXY_PWD Protected value, not to be logged
PROXY_USER
SECURITY_UPDATES_VIA_MYORACLESUPPORT true
SELECTED_LANGUAGES {"en"}
b_rdbmsInstall true
oracle.install.db.isCCRAuthenticationUsed false
oracle_install_LaunchNetCA false
oracle_install_NoMigration false
oracle_install_OCR_PartitionLocation
oracle_install_RACInstall false
oracle_install_RDBMSInstalling true
oracle_install_client_OraMTSPortNumber 49157
oracle_install_db_ASMSNMPUserPassword Protected value, not to be logged
oracle_install_db_AutoMemoryOption false
oracle_install_db_CharSetOption 3
oracle_install_db_CharacterSet
oracle_install_db_ConfigTabSelected 0
oracle_install_db_ConfigurationType &General Purpose / Transaction Processing
oracle_install_db_CustomInstall false
oracle_install_db_DiskGroupName
oracle_install_db_DiskGroupNameForASM
oracle_install_db_EMCentralAgentSelected
oracle_install_db_EMEmailAddress
oracle_install_db_EMSMTPServer
oracle_install_db_EnableAutoBackup false
oracle_install_db_InstallEdition EE
oracle_install_db_InstallOption INSTALL_DB_AND_CONFIG
oracle_install_db_InstallOptionSelected 1
oracle_install_db_InstallType EE
oracle_install_db_LaunchDBCA false
oracle_install_db_LaunchODMA false
oracle_install_db_LoadExampleSchemas false
oracle_install_db_MountPointLocation
oracle_install_db_QuickInstallOption false
oracle_install_db_ReceiveEmailNotification false
oracle_install_db_RecoveryBackUpLocation
oracle_install_db_RecoveryBackUpPassword Protected value, not to be logged
oracle_install_db_RecoveryBackUpUsername
oracle_install_db_SID
oracle_install_db_SecureConfigDisabled false
oracle_install_db_SetOracleBase false
oracle_install_db_StarterDatabaseType GENERAL_PURPOSE
oracle_install_db_StorageType 0
oracle_install_db_SuperAdminPasswords Protected value, not to be logged
oracle_install_db_SuperAdminSamePasswdForAll Protected value, not to be logged
oracle_install_db_SystemClass DESKTOP_CLASS
oracle_install_db_Type 1
oracle_install_db_UseDBControl true
oracle_install_db_UseFileSystemForRecovery false
oracle_install_db_UseSamePassword false
INFO: Launching Oracle Database 11g Release 2 Installer
INFO: Started executing the flow in INTERACTIVE mode
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state prepInstall
INFO: Waiting for completion all forked tasks at state prepInstall
INFO: All forked task are completed at state prepInstall
INFO: Completed background operations
INFO: Executing action at state prepInstall
INFO: Completed executing action at state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prepInstall>
INFO: Completed validating view at state <prepInstall>
INFO: Validating state <prepInstall>
WARNING: Validation disabled for the state prepInstall
INFO: Completed validating state <prepInstall>
INFO: Verifying route success
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state decideOCMInstall
INFO: Completed executing action at state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <decideOCMInstall>
INFO: Completed validating view at state <decideOCMInstall>
INFO: Validating state <decideOCMInstall>
WARNING: Validation disabled for the state decideOCMInstall
INFO: Completed validating state <decideOCMInstall>
INFO: Verifying route requireOCM
INFO: Get view named [OCMDetailsUI]
INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@6da05bdb
INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOCMDetails
INFO: Completed executing action at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <getOCMDetails>
INFO: Completed validating view at state <getOCMDetails>
INFO: Validating state <getOCMDetails>
SEVERE: You have not provided an email address.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Is this the problem????
Do you wish to remain uninformed of critical security issues in your configuration?
INFO: Completed validating state <getOCMDetails>
INFO: Verifying route success
INFO: Get view named [InstallOptionsUI]
INFO: InstallOptionsUI Entering Constructor
INFO: InstallOptionsUI Exiting Constructor
INFO: View for [InstallOptionsUI] is oracle.install.ivw.db.view.InstallOptionsUI@5ea07440
INFO: Initializing view <InstallOptionsUI> at state <installOptions>
INFO: Completed initializing view <InstallOptionsUI> at state <installOptions>
INFO: Displaying view <InstallOptionsUI> at state <installOptions>
INFO: Completed displaying view <InstallOptionsUI> at state <installOptions>
INFO: Loading view <InstallOptionsUI> at state <installOptions>
INFO: Completed loading view <InstallOptionsUI> at state <installOptions>
INFO: Localizing view <InstallOptionsUI> at state <installOptions>
INFO: Completed localizing view <InstallOptionsUI> at state <installOptions>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state installOptions
INFO: Completed executing action at state <installOptions>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <installOptions>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: InstallOptions UI Entering & Exiting processInput
INFO: Validating view at state <installOptions>
INFO: Completed validating view at state <installOptions>
INFO: Validating state <installOptions>
INFO: Completed validating state <installOptions>
INFO: InstallOptionsAction Actions.transition called
INFO: selectedInstallOption is :INSTALL_DB_AND_CONFIG
INFO: launchNETCA = true
INFO: Verifying route system_class
INFO: Get view named [SystemClassUI]
INFO: SystemClassUI Entering Constructor
INFO: SystemClassUI Exiting Constructor
INFO: View for [SystemClassUI] is oracle.install.ivw.db.view.SystemClassUI@164ca42b
INFO: Initializing view <SystemClassUI> at state <getSystemClass>
INFO: Completed initializing view <SystemClassUI> at state <getSystemClass>
INFO: Displaying view <SystemClassUI> at state <getSystemClass>
INFO: Completed displaying view <SystemClassUI> at state <getSystemClass>
INFO: Loading view <SystemClassUI> at state <getSystemClass>
INFO: Completed loading view <SystemClassUI> at state <getSystemClass>
INFO: Localizing view <SystemClassUI> at state <getSystemClass>
INFO: Completed localizing view <SystemClassUI> at state <getSystemClass>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getSystemClass
INFO: Completed executing action at state <getSystemClass>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getSystemClass>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: SystemClassUI Entering & Exiting processInput
INFO: Validating view at state <getSystemClass>
INFO: Completed validating view at state <getSystemClass>
INFO: Validating state <getSystemClass>
INFO: Completed validating state <getSystemClass>
INFO: selectedSystemClass is :DESKTOP_CLASS
INFO: Verifying route desktop_class_yes
INFO: Get view named [QuickInstallUI] -
Oracle 11g R2, Problem Loading Spatial Data
We have a geodatabase which has been implemented by oracle spatial. it has been working quite fine since 2 years ago. Recently the data center serving our geodatabase has been upgraded on both software and hardware specifications. The handler application now has difficulty retrieving spatial data. The problem is somehow strange; only some spatial objects are loaded and then application encounters exceptions.
Previous working database engine was an Oracle 11g R1 and the new one is Oracle 11g R2. The application is a java application mostly written by swing. Here is the stack trace:
java.sql.SQLRecoverableException: No more data to read from socket
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
at oracle.jdbc.driver.T4CCallableStatement.fetch(T4CCallableStatement.java:1079)
at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:369)
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:273)
at ir.mas.aamar.service.map.MapService.getModifiedMap(MapService.java:405)
at ir.mas.aamar.map.MapPanel.redrawLayers(MapPanel.java:504)
at ir.mas.aamar.map.LayersTree.onSnapshotDisplayCheckBoxItemChanged(LayersTree.java:420)
at ir.mas.aamar.map.LayersTree.onMouseReleased(LayersTree.java:204)
at ir.mas.aamar.map.LayersTree.access$0(LayersTree.java:188)
at ir.mas.aamar.map.LayersTree$1.mouseReleased(LayersTree.java:170)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.sql.SQLRecoverableException: No more data to read from socket
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:853)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1469)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:389)
at ir.mas.aamar.service.map.MapService.executeJDBCQuery(MapService.java:78)
at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1013)
at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.sql.SQLRecoverableException: Closed Resultset: next
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:224)
at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1014)
at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at ir.mas.aamar.dialog.edit.EditTools.setTypeOfEditModel(EditTools.java:452)
at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:104)
at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I read in some forums that the problem could be caused by jdbc version incompatibility, so I just copied jdbc archives from the installed oracle 11g R2 jdbc folder but the problem persists. Last thing I should mention is that only spatial data is problemistic and non-spatial data is easily loaded.
Please Help, Thanks.Hi storm,
During the installation of oracle as you said if you have given the global password, basically this specific password will reflect to users such as
-sys
-system
-dbsnmp
-sysman
As you are new to oracle the basics that you should know is that "SYS" user is the highly privileged user in Oracle and should be logged in as "sys as sysdba" with his respective password (i.e. the global password that you have entered during database installation) to obtain his privilege. Remember to manipulate your database with caution when you are logged in as the sys user. You can log into the database using the sys user in the following way:
c\> sqlplus sys as sysdba
password: ****** --It will ask you for the password and you will have to give the global password that was given during installation
Hope this helps!!!
Regards, -
Oracle 11g Install hangs when "creating clon database"
hi, i'm new with all this stuff, i'm trying to install oracle 11g on a windows 2003 standard edition and the installation hangs in this point:
http://img233.imageshack.us/img233/1458/installni7.jpg
it's almost an hour and it's stuck in 45% when trying to create clon database in "Creating and starting oracle instance".
I checked the log file but it says nothing weird, just that everything went well and a "restore" was made.
what can i do?
thanks!!!If someone still needs an answer to this:
I had a similar problem with 10g. If you use certain special characters in the password for the database during its creation, some script will hang forever at 45% of the database creation. Just use a plain password without special characters. At the end of the database creation you can change all passwords. At that stage you can use special characters without any problem.
I don't know if this is the same in 11g, but it sounds very similar.
JD -
Oracle 11g install issues on Windows 7
I have had some problems installing Oracle on Windows 7 in that it seemed to crash while checking prerequisites. After several attempts it for some reason continued the installation. I had accepted the default settings and was installing from a USB drive to the same drive. The install did have a few error messages along the way such as "file not found. F:\app\ben\product\11.2.0\dbhome_2\oc4j\j2ee\oc4j_applications\applications\em.ear" and ""file not found. F:\app\ben\product\11.2.0\dbhome_2\ctx\admin\dr0ulib.sql.sbs". Also, towards the end it gave a message "Template General_Purpose.dbc does not exist. Please specify an existing template for database creation. <OK>". Despite these errors it seemed to successfully install. On the other hand I cannot log in to it as I attempt to try to set up some kind of basic database for myself. I go to the BIN directory and run sqlplus with "system" as the username and the password I had specified, but get the error "ORA-12560: TNS:protocol adapter error". Googling around a bit I tried to see if Oracle Services was running, but only saw OracleMTSRecoveryService and OracleRemExecService (and could not work out how to get any service running beyond what was listed there). I set up the path ORACLE_HOME to the BIN directory but there was not change in the situation. I just need a to set up a basic database on my PC so I can mess around with it. How can I get this going?
Thanks,
Ben928175 wrote:
Hi i am study oracle sql server and i have some experience with mysql not with pl-sql an i ned to nkow what are the mininum system requarements to install oracle 11g and if some body of you ca tell to me what version of oracle ca i install in a 3.4 ghz CPU and 1512 Gb of ram only for learn i want this :) http://www.belvini.de/weingut/mID/861/moet-und-chandon.htm
Edited by: 928175 on Apr 17, 2012 4:24 AM
Edited by: 928175 on Apr 17, 2012 4:25 AMYou should not hijack someone else's thread for your own problems.
All installation requriements are found in the Installation Guides, under your particular product in the doc library at tahiti.oracle.com -
ORACLE 11g + PHP5 problem: "fetch out of sequence" on remote database link
Hi!
I have a new server with oracle 11g (11.1.0.7) database and apache/php5 (actual build) on linux.
connection type is dedicated.
when doing a connection to a remote AS/400 database I always get this error:
"Warning: oci_fetch_array() http://function.oci-fetch-array: ORA-01002: fetch out of sequence ORA-02063: preceding line from..."
when doing the same simple "select * from database link" at my old server with oracle 9i and apache/php5 no problem occurrs.
this happens at AS/400 database link only. normal oracle database links work fine.
Anyone an idea how to solve this problem or where the problem is????
further info:
when doing " select * from [ database link ] where rownum < 11 " it works, but when doing the query with more than 10 results I get the error. Any idea?
bye,
Oliver
Edited by: user501548 on 10.10.2008 02:20well a fetch out of sequence usually indicates that a cursor has been closed before the process has finished fetching or some such thing.
I'm not aware of there being a specific problem with the situation you outline, but maybe if you could provide all the connection setup and how you are trying to connect that may give a better idea.
Also, you may be better asking on the General Database Discussions forum as this isn't really a SQL or PL/SQL problem -
Is a license required for Oracle 11g installed on private developer box?
Hello,
I wish to install Oracle 11g on my personal computer to test some software that hits a database. Will I be able to install/run 11g on my machine for this use, or will it (eventually) prompt me for a license key? If I need a license, is there a free developer license available? I can't seem to find any info on this.
How is the licensing structured around the 11g "XE" BETA (express edition)? Is there a licensing difference between XE and non-XE?
And finally, is there a good summary of what features are missing from the XE edition? I tried installing 10g XE, and for example, the "DEFAULT TABLESPACE xxx" SQL command was not recognized. I need this 'feature' (as well as others). I'm assuming I'm going to need to install the full 11g release, but I hope there is no license required.
Any advice would be appreciated. Thank You.The general license agreement is here - http://www.oracle.com/technetwork/licenses/standard-license-152015.html
In short, yes - you can download the software and use it for testing/prototyping.
11gXE Beta license terms are here - http://www.oracle.com/technetwork/licenses/ea-license-152003.html
HTH
Srini -
Oracle 11g AQ : problem enqueue user-defined type with varchar2 attribute
Hello.
I have a problem enqueuing a user-defined type to the queue on Oracle 10g.
I'm using jdbc driver (ojdbc5.jar, version 11.1.0.6.0) as they provide oracle.jdbc.aq package.
The type is following:
CREATE OR REPLACE TYPE FIXED_T5 AS OBJECT
(id integer,
label varchar2(100),
code integer,
today date
)I have created a java class for this type with jpub utility supplied with oracle 11g client package:
jpub -user=scott/tger -url=jdbc:oracle:thin:@host:sid-sql=FIXED_T5:ru.invito.FixedType -compile=falseIt generated FixedType.java and FixedTypeRef.java files. Don't understand why i need the latter (FixedTypeRef).
Then in test app:
package ru.invito;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Properties;
import java.util.UUID;
import junit.framework.TestCase;
import oracle.jdbc.aq.AQAgent;
import oracle.jdbc.aq.AQEnqueueOptions;
import oracle.jdbc.aq.AQFactory;
import oracle.jdbc.aq.AQMessage;
import oracle.jdbc.aq.AQMessageProperties;
import oracle.jdbc.aq.AQEnqueueOptions.DeliveryMode;
import oracle.jdbc.aq.AQEnqueueOptions.VisibilityOption;
import oracle.jdbc.driver.OracleConnection;
import oracle.jdbc.driver.OracleDriver;
import oracle.sql.Datum;
import oracle.sql.STRUCT;
import oracle.sql.StructDescriptor;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class AqTest extends TestCase {
protected Log logger = LogFactory.getLog(getClass());
public void testEnqueue() throws Exception {
OracleDriver dr = new OracleDriver();
Properties prop = new Properties();
prop.setProperty("user", Config.USERNAME);
prop.setProperty("password", Config.PASSWORD);
OracleConnection connection = (OracleConnection) dr.connect(Config.JDBC_URL, prop);
assertNotNull(connection);
connection.setAutoCommit(false);
enqueueMessage(connection, "INVITO.FIXED_T5Q", null);
connection.commit();
private void enqueueMessage(OracleConnection conn, String queueName, AQAgent[] recipients) throws SQLException,
IOException {
logger.debug("----------- Enqueue start ------------");
AQMessageProperties props = makeProps(queueName);
AQMessage mesg = AQFactory.createAQMessage(props);
String msqText = String.format("Hello, %s!", queueName);
FixedType data = createData(36, msqText);
Datum d = data.toDatum(conn);
STRUCT s = (STRUCT) d;
debugStruct("s", s);
String toIdStr = byteBufferToHexString(s.getDescriptor().getOracleTypeADT().getTOID(), 20);
logger.debug("s.toIdStr: " + toIdStr);
StructDescriptor sd = StructDescriptor.createDescriptor("INVITO.FIXED_T5", conn);
logger.debug("sd.toXMLString(): " + sd.toXMLString());
mesg.setPayload(s);
AQEnqueueOptions opt = makeEnqueueOptions();
logger.debug("sending............");
// execute the actual enqueue operation:
conn.enqueue(queueName, opt, mesg);
debugMessageId(mesg);
logger.debug("----------- Enqueue done ------------");
private void debugMessageId(AQMessage mesg) throws SQLException {
byte[] mesgId = mesg.getMessageId();
if (mesgId == null) {
throw new IllegalStateException("message id is NULL");
String mesgIdStr = byteBufferToHexString(mesgId, 20);
logger.debug("Message ID from enqueue call: " + mesgIdStr);
* @return
* @throws SQLException
private FixedType createData(int ID, String label) throws SQLException {
FixedType data = new FixedType();
data._struct.setNChar(1);// initializes the flag for 'label' field
data.setId(ID);
data.setLabel(label);
data.setCode(1);
Date today = new Date();
data.setToday(new Timestamp(today.getTime()));
return data;
* @param string
* @param s
* @throws SQLException
private void debugStruct(String string, STRUCT s) throws SQLException {
logger.debug(s + ".debugString(): " + s.debugString());
logger.debug(s + "s.dump(): " + s.dump());
* @return
* @throws SQLException
private AQAgent makeAgent() throws SQLException {
AQAgent ag = AQFactory.createAQAgent();
ag.setName("AQ_TEST");
String agentAddress = null;
try {
agentAddress = InetAddress.getLocalHost().getHostAddress();
catch (UnknownHostException e) {
logger.error("cannot resolve localhost ip address. will not set it as AQ Agent address");
agentAddress = "NA";
ag.setAddress(agentAddress);
return ag;
private AQMessageProperties makeProps(String queueName) throws SQLException {
final String EXCEPTION_Q_TEMPLATE = "AQ$_%sT_E";
final int DEFAULT_DELAY = 0;
final int DEFAULT_EXPIRATION = -1;
final int DEFAULT_PRIORITY = 0;
AQMessageProperties propeties = AQFactory.createAQMessageProperties();
propeties.setCorrelation(UUID.randomUUID().toString());
propeties.setDelay(DEFAULT_DELAY);
propeties.setExceptionQueue(String.format(EXCEPTION_Q_TEMPLATE, queueName));
propeties.setExpiration(DEFAULT_EXPIRATION);
propeties.setPriority(DEFAULT_PRIORITY);
// propeties.setRecipientList(null);//should not set
propeties.setSender(makeAgent());
return propeties;
* @return
* @throws SQLException
private AQEnqueueOptions makeEnqueueOptions() throws SQLException {
AQEnqueueOptions opt = new AQEnqueueOptions();
opt.setRetrieveMessageId(true);
// these are the default settings (if none specified)
opt.setDeliveryMode(DeliveryMode.PERSISTENT);
opt.setTransformation(null);
opt.setVisibility(VisibilityOption.ON_COMMIT);
return opt;
* Form the AQ reference
* @param buffer
* @param maxNbOfBytes
* @return
private static final String byteBufferToHexString(byte[] buffer, int maxNbOfBytes) {
if (buffer == null)
return null;
int offset = 0;
StringBuffer sb = new StringBuffer();
while (offset < buffer.length && offset < maxNbOfBytes) {
String hexrep = Integer.toHexString((int) buffer[offset] & 0xFF);
if (hexrep.length() == 1)
hexrep = "0" + hexrep;
sb.append(hexrep);
offset++;
String ret = sb.toString();
return ret;
}The output is following:
[main] 2008-07-03 19:09:49,863 DEBUG [ru.invito.AqTest] - ----------- Enqueue start ------------
[main] 2008-07-03 19:09:50,348 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5 length = 4 attribute[0] = 36 attribute[1] = Hell
o, INVITO.FIXED_T5Q! attribute[2] = 1 attribute[3] = 2008-07-03 19:09:49.0
[main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5
length = 4
ID = 36
LABEL = Hello, INVITO.FIXED_T5Q!
CODE = 1
TODAY = 2008-07-03 19:09:49.0
[main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - s.toIdStr: 507ccce5b6e9f572e040007f01007203
[main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - sd.toXMLString(): <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StructDescriptor sqlName="INVITO.FIXED_T5" >
<OracleTypeADT sqlName="INVITO.FIXED_T5" typecode="0" tds_version="1"
is_embedded="false" is_top_level="true" is_upt="false" finalType="true" subtype="false">
<attributes>
<attribute name="ID" type="INTEGER" >
<OracleType typecode="2" />
</attribute>
<attribute name="LABEL" type="VARCHAR2" >
<OracleType typecode="12" />
</attribute>
<attribute name="CODE" type="INTEGER" >
<OracleType typecode="2" />
</attribute>
<attribute name="TODAY" type="DATE" >
<OracleType typecode="0" />
</attribute>
</attributes>
</OracleTypeADT>
</StructDescriptor>
[main] 2008-07-03 19:09:50,379 DEBUG [ru.invito.AqTest] - sending............
[main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - Message ID from enqueue call: 511ff143bd4fa536e040007f01003192
[main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - ----------- Enqueue done ------------But when dequeueing the 'label' attribute is lost:
DECLARE
dequeue_options DBMS_AQ.dequeue_options_t;
message_properties DBMS_AQ.message_properties_t;
message_handle RAW(16);
message fixed_t5;
BEGIN
dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
DBMS_AQ.DEQUEUE(
queue_name => 'fixed_t5q',
dequeue_options => dequeue_options,
message_properties => message_properties,
payload => message,
msgid => message_handle);
DBMS_OUTPUT.PUT_LINE('ID : '||message.id);
DBMS_OUTPUT.PUT_LINE('Label: '||message.label);
DBMS_OUTPUT.PUT_LINE('Code : '||message.code);
DBMS_OUTPUT.PUT_LINE('Today: '||message.today);
COMMIT;
END;
ID : 36
Label:
Code : 1
Today: 03.07.08
Could anyone tell me what is wrong with the setup/code?
Why 'label' not saved in queue, though i saw it is not empty in STRUCT?Thank you for the reply!
I have enqueued:
[main] 2008-07-04 15:30:30,639 DEBUG [ru.invito.UserDefinedTypeAqTest$1] - [email protected](): name = INVITO.FIXED_T5
length = 4
ID = 41
LABEL = Hello, INVITO.FIXED_T5Q!
CODE = 1
TODAY = 2008-07-04 15:30:30.0and in table (select * from FIXED_T5QT) the 'label' is blank:
Q_NAME FIXED_T5Q
MSGID 51310809B5EA3728E040007F01000C79
CORRID b8f38fd3-4fa6-4e0f-85d1-2440d02d655e
PRIORITY 0
STATE 0
DELAY
EXPIRATION
TIME_MANAGER_INFO
LOCAL_ORDER_NO 0
CHAIN_NO 0
CSCN 0
DSCN 0
ENQ_TIME 04.07.2008 15:28:44
ENQ_UID INVITO
ENQ_TID 4012
DEQ_TIME
DEQ_UID
DEQ_TID
RETRY_COUNT 0
EXCEPTION_QSCHEMA AQ$_INVITO
EXCEPTION_QUEUE FIXED_T5QT_E
STEP_NO 0
RECIPIENT_KEY 0
DEQUEUE_MSGID
SENDER_NAME AQ_TEST
SENDER_ADDRESS 10.1.1.137
SENDER_PROTOCOL
USER_DATA.ID 41
USER_DATA.LABEL
USER_DATA.CODE 1
USER_DATA.TODAY 04.07.2008 15:30:30I must point to a strange thing: when the FixedType instance is created (via new operator) and then the setLabel("....") called as:
FixedType data = new FixedType();
// hack: proper initialization for 'label' field
data._struct.setNChar(1);
data.setId(ID);
data.setLabel(label);
data.setCode(1);
Date today = new Date();
data.setToday(new Timestamp(today.getTime()));
Datum d = data.toDatum(connection);
STRUCT s = (STRUCT) d;
logger.debug(s + ".debugString(): " + s.debugString());
logger.debug(s + ".dump(): " + s.dump());and if i comment line (data._struct.setNChar(1);) the debug messages for created STRUCT also shows empty value for label.
But if i explicitly call data._struct.setNChar(1) then debug contains the label i defined in call to the setLabel method. -
ORACLE 11g + PHP5 problem: "fetch out of sequence" on i5/OS AS/400
Hi!
I have a big problem using a database connection to i5 AS/400 with PHP5 OCI8 interface by Oracle 11g:
when doing a simple "select * from (as400_database_link)" I get this return: "fetch out of sequence... preceding line..."
I never had this problem with 9i, old transparent gateway.
BUT:
when doing for example a "select * from (as400_database_link) where rownum < 1000000" it works fine without problems.
Anyone an idea how to eliminate this stupid "where rownum < 100000" behaviour?
I would have to add this in many select statements... ;(
bye,
OliverTach,
how do you call oci_execute ?
try oci_execute($query,OCI_DEFAULT);
I had the same problem with adodb
$q = " select * from elephant@africa";
$db->GetAll($q);
Failed with the same error.
ADODB called oci_execute with OCI_COMMIT_ON_SUCCESS,which caused my error.
$q = " select * from elephant@africa";
$db->BeginTrans();
$db->GetAll($q);
$db->CommitTrans(); (or rollback);
did the job,because BeginTrans changed oci_execute to run with OCI_DEFAULT.
Hope this helps,
gw
Edited by: unficyp123 on Oct 20, 2008 2:51 PM
Maybe you are looking for
-
Importing/adding html files with bookmarks to project/TOC
Overview: I've been importing some old html files that have a massive number of bookmarks/anchors in them (few hundred html 'pages' some of them mini help document libraries) in an effort to move the manuals into RH format. Using RH11 Problem: when I
-
Message missing from alert box & Can you disable everything until user selects an answer?
Question 1 - My alert box window is working, and the title and buttons function as they should, but does anyone know why my message is not showing up? Question 2 - How do you program the alert box window so that no other buttons on your application w
-
Cannot get my website to display properly on Iphone...what gives?
This mild annoyance has now become a huge problem lately. My supporting pages on my website do render properly on the browsers in my iphone. The background repeats itself and when I add the "no-repeat" code, one side of the screen is gray. Also, my
-
Given the capabilities of the WebLogic Enterprise Platform™ to build, deploy, manage, and integrate enterprise-class Web Services, is there still a need for Web Services Management tools like Talking Blocks, Interkeel, West Global, Infravio, etc., or
-
Can I sync two nanos to my itunes library?
I have a desktop with itunes, an iphone and a new nano. Can I sync my husbands nano to my itunes library also?