php2018用的php5.6打开oci之后Oracle Run-time Client Library Version一直显示0.0.0.0.0

php2018用的php5.6打开oci之后Oracle Run-time Client Library Version一直显示0.0.0.0.0图片说明图片说明

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
centos7.4无法静默安装oracle,提示not found in the bean store
INFO: Loading beanstore from file:/data/database/database/response/db_install.rsp INFO: Translating external format into raw format INFO: Loaded BeanStore using the flow data source INFO: Registering the flow data beans INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store. INFO: [INS-07001] Value for property 'CLUSTER_NODES' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_OSDBA' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_OSOPER' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_GlobalDBName' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_SID' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_StorageType' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_InstallOption' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_CustomInstall' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_AllocatedMemory' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_AutoMemoryOption' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_EMCentralAgentSelected' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_MountPointLocation' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_SecureConfigDisabled' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_EnableAutoBackup' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_LoadExampleSchemas' not found in the bean store. INFO: [INS-07001] Value for property 'oracle_install_db_ReceiveEmailNotif ication' not found in the bean store 环境变量: # User specific environment and startup programs PATH=$PATH:$HOME/.local/bin:$HOME/bin export PATH export ORACLE_BASE=/data/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 #oracle启动数据库实例名 export ORACLE_SID=orcl11g #添加系统环境变量 export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib export TNS_ADMIN=$ORACLE_HOME/network/admin 安装文件: #------------------------------------------------------------------------------ # Do not change the following system generated value. #------------------------------------------------------------------------------ oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 #------------------------------------------------------------------------------ # Specify the installation option. # It can be one of the following: # 1. INSTALL_DB_SWONLY # 2. INSTALL_DB_AND_CONFIG # 3. UPGRADE_DB #------------------------------------------------------------------------------- oracle.install.option=INSTALL_DB_SWONLY #------------------------------------------------------------------------------- # Specify the hostname of the system as set during the install. It can be used # to force the installation to use an alternative hostname rather than using the # first hostname found on the system. (e.g., for systems with multiple hostnames # and network interfaces) #------------------------------------------------------------------------------- ORACLE_HOSTNAME=yukhan #------------------------------------------------------------------------------- # Specify the Unix group to be set for the inventory directory. #------------------------------------------------------------------------------- UNIX_GROUP_NAME=oinstall #------------------------------------------------------------------------------- # Specify the location which holds the inventory files. #------------------------------------------------------------------------------- INVENTORY_LOCATION=/data/oraInventory #------------------------------------------------------------------------------- # Specify the languages in which the components will be installed. # # en : English ja : Japanese # fr : French ko : Korean # ar : Arabic es : Latin American Spanish # bn : Bengali lv : Latvian # pt_BR: Brazilian Portuguese lt : Lithuanian # bg : Bulgarian ms : Malay # fr_CA: Canadian French es_MX: Mexican Spanish # ca : Catalan no : Norwegian # hr : Croatian pl : Polish # cs : Czech pt : Portuguese # da : Danish ro : Romanian # nl : Dutch ru : Russian # ar_EG: Egyptian zh_CN: Simplified Chinese # en_GB: English (Great Britain) sk : Slovak # et : Estonian sl : Slovenian # fi : Finnish es_ES: Spanish # de : German sv : Swedish # el : Greek th : Thai # iw : Hebrew zh_TW: Traditional Chinese # hu : Hungarian tr : Turkish # is : Icelandic uk : Ukrainian # in : Indonesian vi : Vietnamese # it : Italian # # Example : SELECTED_LANGUAGES=en,fr,ja #------------------------------------------------------------------------------ SELECTED_LANGUAGES=en #------------------------------------------------------------------------------ # Specify the complete path of the Oracle Home. #------------------------------------------------------------------------------ ORACLE_HOME=/data/oracle/product/11.2.0/db_1 #------------------------------------------------------------------------------ # Specify the complete path of the Oracle Base. #------------------------------------------------------------------------------ ORACLE_BASE=/data/oracle/ #------------------------------------------------------------------------------ # Specify the installation edition of the component. # # The value should contain only one of these choices. # EE : Enterprise Edition # SE : Standard Edition # SEONE : Standard Edition One # PE : Personal Edition (WINDOWS ONLY) #------------------------------------------------------------------------------ oracle.install.db.InstallEdition=EE #------------------------------------------------------------------------------ # This variable is used to enable or disable custom install. # # true : Components mentioned as part of 'customComponents' property # are considered for install. # false : Value for 'customComponents' is not considered. #------------------------------------------------------------------------------ oracle.install.db.isCustomInstall=false #------------------------------------------------------------------------------ # This variable is considered only if 'IsCustomInstall' is set to true. # # Description: List of Enterprise Edition Options you would like to install. # # The following choices are available. You may specify any # combination of these choices. The components you choose should # be specified in the form "internal-component-name:version" # Below is a list of components you may specify to install. # # oracle.rdbms.partitioning:11.2.0.1.0 - Oracle Partitioning # oracle.rdbms.dm:11.2.0.1.0 - Oracle Data Mining # oracle.rdbms.dv:11.2.0.1.0 - Oracle Database Vault # oracle.rdbms.lbac:11.2.0.1.0 - Oracle Label Security # oracle.rdbms.rat:11.2.0.1.0 - Oracle Real Application Testing # oracle.oraolap:11.2.0.1.0 - Oracle OLAP #------------------------------------------------------------------------------ oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11. 2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms .partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1. 0,oracle.rdbms.rat:11.2.0.1.0 ############################################################################### # # # PRIVILEGED OPERATING SYSTEM GROUPS # # ------------------------------------------ # # Provide values for the OS groups to which OSDBA and OSOPER privileges # # needs to be granted. If the install is being performed as a member of the # # group "dba", then that will be used unless specified otherwise below. # # # ############################################################################### #------------------------------------------------------------------------------ # The DBA_GROUP is the OS group which is to be granted OSDBA privileges. #------------------------------------------------------------------------------ oracle.install.db.DBA_GROUP=dba #------------------------------------------------------------------------------ # The OPER_GROUP is the OS group which is to be granted OSOPER privileges. #------------------------------------------------------------------------------ oracle.install.db.OPER_GROUP=oinstall #------------------------------------------------------------------------------ # Specify the cluster node names selected during the installation. #------------------------------------------------------------------------------ oracle.install.db.CLUSTER_NODES= #------------------------------------------------------------------------------ # Specify the type of database to create. # It can be one of the following: # - GENERAL_PURPOSE/TRANSACTION_PROCESSING # - DATA_WAREHOUSE #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.type=GENERAL_PURPOSE #------------------------------------------------------------------------------ # Specify the Starter Database Global Database Name. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.globalDBName=orcl11g #------------------------------------------------------------------------------ # Specify the Starter Database SID. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.SID=orcl11g #------------------------------------------------------------------------------ # Specify the Starter Database character set. # # It can be one of the following: # AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2, # EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257, # BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6, # AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8, # IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, # KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950, # ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258 #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.characterSet=AL32UTF8 #------------------------------------------------------------------------------ # This variable should be set to true if Automatic Memory Management # in Database is desired. # If Automatic Memory Management is not desired, and memory allocation # is to be done manually, then set it to false. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.memoryOption=true #------------------------------------------------------------------------------ # Specify the total memory allocation for the database. Value(in MB) should be # at least 256 MB, and should not exceed the total physical memory available # on the system. # Example: oracle.install.db.config.starterdb.memoryLimit=512 #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.memoryLimit=3072 #------------------------------------------------------------------------------ # This variable controls whether to load Example Schemas onto the starter # database or not. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.installExampleSchemas=false #------------------------------------------------------------------------------ # This variable includes enabling audit settings, configuring password profiles # and revoking some grants to public. These settings are provided by default. # These settings may also be disabled. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.enableSecuritySettings=true ############################################################################### # # # Passwords can be supplied for the following four schemas in the # # starter database: # # SYS # # SYSTEM # # SYSMAN (used by Enterprise Manager) # # DBSNMP (used by Enterprise Manager) # # # # Same password can be used for all accounts (not recommended) # # or different passwords for each account can be provided (recommended) # # # ############################################################################### #------------------------------------------------------------------------------ # This variable holds the password that is to be used for all schemas in the # starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.ALL=root@001 #------------------------------------------------------------------------------- # Specify the SYS password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.SYS= #------------------------------------------------------------------------------- # Specify the SYSTEM password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.SYSTEM= #------------------------------------------------------------------------------- # Specify the SYSMAN password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.SYSMAN= #------------------------------------------------------------------------------- # Specify the DBSNMP password for the starter database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.password.DBSNMP= #------------------------------------------------------------------------------- # Specify the management option to be selected for the starter database. # It can be one of the following: # 1. GRID_CONTROL # 2. DB_CONTROL #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.control=DB_CONTROL #------------------------------------------------------------------------------- # Specify the Management Service to use if Grid Control is selected to manage # the database. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL= #------------------------------------------------------------------------------- # This variable indicates whether to receive email notification for critical # alerts when using DB control. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false #------------------------------------------------------------------------------- # Specify the email address to which the notifications are to be sent. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.dbcontrol.emailAddress= #------------------------------------------------------------------------------- # Specify the SMTP server used for email notifications. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.dbcontrol.SMTPServer= ############################################################################### # # # SPECIFY BACKUP AND RECOVERY OPTIONS # # ------------------------------------ # # Out-of-box backup and recovery options for the database can be mentioned # # using the entries below. # # # ############################################################################### #------------------------------------------------------------------------------ # This variable is to be set to false if automated backup is not required. Else # this can be set to true. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.automatedBackup.enable=false #------------------------------------------------------------------------------ # Regardless of the type of storage that is chosen for backup and recovery, if # automated backups are enabled, a job will be scheduled to run daily at # 2:00 AM to backup the database. This job will run as the operating system # user that is specified in this variable. #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.automatedBackup.osuid= #------------------------------------------------------------------------------- # Regardless of the type of storage that is chosen for backup and recovery, if # automated backups are enabled, a job will be scheduled to run daily at # 2:00 AM to backup the database. This job will run as the operating system user # specified by the above entry. The following entry stores the password for the # above operating system user. #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.automatedBackup.ospwd= #------------------------------------------------------------------------------- # Specify the type of storage to use for the database. # It can be one of the following: # - FILE_SYSTEM_STORAGE # - ASM_STORAGE #------------------------------------------------------------------------------ oracle.install.db.config.starterdb.storageType= #------------------------------------------------------------------------------- # Specify the database file location which is a directory for datafiles, control # files, redo logs. # # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.fileSystemStorage.dataLocation= #------------------------------------------------------------------------------- # Specify the backup and recovery location. # # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM #------------------------------------------------------------------------------- oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation= #------------------------------------------------------------------------------- # Specify the existing ASM disk groups to be used for storage. # # Applicable only when oracle.install.db.config.starterdb.storage=ASM #------------------------------------------------------------------------------- oracle.install.db.config.asm.diskGroup= #------------------------------------------------------------------------------- # Specify the password for ASMSNMP user of the ASM instance. # # Applicable only when oracle.install.db.config.starterdb.storage=ASM_SYSTEM #------------------------------------------------------------------------------- oracle.install.db.config.asm.ASMSNMPPassword= #------------------------------------------------------------------------------ # Specify the My Oracle Support Account Username. # # Example : MYORACLESUPPORT_USERNAME=metalink #------------------------------------------------------------------------------ MYORACLESUPPORT_USERNAME= #------------------------------------------------------------------------------ # Specify the My Oracle Support Account Username password. # # Example : MYORACLESUPPORT_PASSWORD=password #------------------------------------------------------------------------------ MYORACLESUPPORT_PASSWORD= #------------------------------------------------------------------------------ # Specify whether to enable the user to set the password for # My Oracle Support credentials. The value can be either true or false. # If left blank it will be assumed to be false. # # Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true #------------------------------------------------------------------------------ SECURITY_UPDATES_VIA_MYORACLESUPPORT= #------------------------------------------------------------------------------ # Specify whether user wants to give any proxy details for connection. # The value can be either true or false. If left blank it will be assumed # to be false. # # Example : DECLINE_SECURITY_UPDATES=false #------------------------------------------------------------------------------ DECLINE_SECURITY_UPDATES=true #------------------------------------------------------------------------------ # Specify the Proxy server name. Length should be greater than zero. # # Example : PROXY_HOST=proxy.domain.com #------------------------------------------------------------------------------ PROXY_HOST= #------------------------------------------------------------------------------ # Specify the proxy port number. Should be Numeric and atleast 2 chars. # # Example : PROXY_PORT=25 #------------------------------------------------------------------------------ PROXY_PORT= #------------------------------------------------------------------------------ # Specify the proxy user name. Leave PROXY_USER and PROXY_PWD # blank if your proxy server requires no authentication. # # Example : PROXY_USER=username #------------------------------------------------------------------------------ PROXY_USER= #------------------------------------------------------------------------------ # Specify the proxy password. Leave PROXY_USER and PROXY_PWD # blank if your proxy server requires no authentication. # # Example : PROXY_PWD=password #------------------------------------------------------------------------------ PROXY_PWD=
php5.6连接oracle,连接不上,如何配置?
我的机器是win7 64位,使用的xampps安装的php5.6, 配置了pdo扩展,但是在phpinfo的PDO drivers 中看不到对oci的支持,打开sqlite和odbc的pdo都没有问题,但是打开oci就是不显示,也就连接不了远程的oracle, 使用oci_connection提示方法未定义 如果使用new pdo的方式,提示找不到驱动 问题就是这样的,难道php5.6不支持连接oracle了么? 百度上能搜的都差不多都搜索了,找不到解决的方案
php用oci_connect()无密码连接oracle 提示权限不足
感谢浏览! Centos 6.2 php 5.3.6 oracle 11g oci8.so 1.4.4 用oci_connect("system","JCB410","VPMSDBS",null,OCI_DEFAULT); (VPMSDBS 为$ORACLE_SID) 和oci_connect("/","","php_ora_usr",null,OCI_CRED_EXT); (php_ora_usr 为wallet连接串) 均可以连接上 但用oci_connect("/","","VPMSDBS",null,OCI_CRED_EXT+OCI_SYSDBA); 链接时提示:oci_connect():ORA-01031:insufficient privileges
急!重赏!LINUX+PHP环境上连接ORACLE数据库提示权限拒绝的问题
在LINUX CentOS6.5+PHP5.6环境下,要连接使用Oracle 11g 现在有: (1)D机:数据库服务器,为Oracle 11g (2)C1台式机:安装有 LINUX CentOS6.5+PHP5.6环境和OCI8 (3)C2笔记本机:LINUX CentOS6.5+PHP5.6环境和OCI8 (4)一个PHP WEB程序 在C2机上,PHP WEB程序连接使用D机 oracle正常。 在C1机上,同样的PHP WEB程序连接使用D机 oracle 时,即使OCI8文件已经给最高权限文件和777,还是一直提示: SQLSTATE[HY000]:pdo_oci_handle_factory:ORA-12546:TNS:permission denied (/root/PDO_OCI-1.0/oci_driver.c:463) 请问应该如何解决?![图片说明](https://img-ask.csdn.net/upload/201803/14/1521036171_238370.png)
PHP OCI执行oracle存储过程如何传递CLOB参数
_下面的代码有关于测试数据表test_clob,以及插入记录的存储过程test_p_saveclob 。代码如下: #!/opt/php/bin/php -q <?php // 参考:http://www.golaravel.com/php/function.oci-new-descriptor.html // 参考:http://php.net/manual/zh/function.oci-bind-by-name.php /* 1)数据表 test_clob SQL> desc test_clob Name Null? Type ----------------------------------------- -------- ---------------------------- ID NUMBER BIGSTR CLOB SNAM VARCHAR2(20) SQL> 2)存储过程 SQL> desc test_p_saveclob PROCEDURE test_p_saveclob Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ -------- I_ID NUMBER(38) IN I_BIGSTR CLOB IN I_SNAM VARCHAR2 IN O_COUNT NUMBER(38) OUT O_RETURN NUMBER(38) OUT SQL> CREATE OR REPLACE PROCEDURE TEST_P_SAVECLOB ( I_ID IN INT, I_BIGSTR IN CLOB, I_SNAM IN VARCHAR2, O_COUNT OUT INT, --返回值导入的号码数量 O_RETURN OUT INT --返回值:0为导入成,-1为导入失败 ) AS V_BIGSTR CLOB; BEGIN --INSERT INTO TEST_CLOB(ID,BIGSTR,SNAM) VALUES(I_ID ,I_BIGSTR ,I_SNAM); --insert into TEST_CLOB(id,BIGSTR,SNAM) values(I_ID ,EMPTY_CLOB() ,I_SNAM) returning BIGSTR into I_BIGSTR; INSERT INTO TEST_CLOB(ID,BIGSTR,SNAM) VALUES(I_ID ,EMPTY_CLOB() ,I_SNAM); SELECT BIGSTR INTO V_BIGSTR FROM TEST_CLOB WHERE ID=I_ID; DBMS_LOB.OPEN(V_BIGSTR,DBMS_LOB.LOB_READWRITE); DBMS_LOB.WRITE(V_BIGSTR,LENGTH(I_BIGSTR),1,I_BIGSTR); DBMS_LOB.CLOSE(V_BIGSTR); O_COUNT := 1; --插入的个数 O_RETURN := 0; --插入成功 END; 3)pl/sql测试: declare O_COUNT int := 88; O_RETURN int := -2; begin TEST_P_SAVECLOB(3,'11111111---','wjj',O_COUNT,O_RETURN); commit; end; */ //参数-------------- $I_ID = 5; $I_BIGSTR = '---abc--'; $I_BIGSTR = str_repeat($I_BIGSTR,12); $I_SNAM = 'wjj'; $O_COUNT = 88; $O_RETURN = -2; $db_str = "172.29.3.191/mobile"; $conn = oci_connect("帐号", "密码",$db_str); $sql_sp = "begin TEST_P_SAVECLOB(:I_ID ,:I_BIGSTR ,:I_SNAM ,:O_COUNT ,:O_RETURN); end;"; $stmt = oci_parse($conn, $sql_sp); //输入参数 oci_bind_by_name($stmt, ":I_ID", $I_ID ,32); oci_bind_by_name($stmt, ":I_SNAM", $I_SNAM ,64); //输出参数 oci_bind_by_name($stmt, ":O_COUNT", $O_COUNT, 32); oci_bind_by_name($stmt, ":O_RETURN", $O_RETURN, 32); //oci_execute($stmt, OCI_DEFAULT); //大数据CLOB: // Create a new lob descriptor object $textLob = oci_new_descriptor($conn, OCI_D_LOB); oci_bind_by_name($stmt, ":I_BIGSTR", $textLob, -1, OCI_B_CLOB); //$textLob->write($I_BIGSTR); $textLob->write($I_BIGSTR); oci_execute($stmt, OCI_DEFAULT); /* // Execute the statement but do not commit oci_execute($stmt, OCI_DEFAULT); // Save the body of the blog entry to the CLOB if ( !$textLob->save($I_BIGSTR) ) { //这里才是处理CLOB大数据的关键技术 // Rollback the procedure oci_rollback($conn); die ("Error saving lob\n"); } */ // Everything OK so commit oci_commit($conn); echo $O_COUNT,"--",$O_RETURN,"\n"; ?> 可是在linux下面运行后,总是报错,如下: vm-web1:/var/www/html/test # ./clob-proc2.php PHP Warning: OCI-Lob::write(): OCI_INVALID_HANDLE in /var/www/html/test/clob-proc2.php on line 85 ​ Warning: OCI-Lob::write(): OCI_INVALID_HANDLE in /var/www/html/test/clob-proc2.php on line 85 PHP Warning: oci_execute(): ORA-22275: invalid LOB locator specified ORA-06512: at "YLCQ.TEST_P_SAVECLOB", line 17 ORA-06512: at line 1 in /var/www/html/test/clob-proc2.php on line 86 Warning: oci_execute(): ORA-22275: invalid LOB locator specified ORA-06512: at "YLCQ.TEST_P_SAVECLOB", line 17 ORA-06512: at line 1 in /var/www/html/test/clob-proc2.php on line 86 88---2 vm-web1:/var/www/html/test # 问题:在sqlplus中用匿名过程调用存储过程test_p_saveclob,一切都正常,数据表中可以新增一条记录。可是用上面的php脚本测试,就出错! 求高手指点! __
如何在qt上build Mysql drive
楼主系统是win10,最近在研究mysql和qt。 我在尝试用qt连接mysql服务器的时候, qt creator 告诉我说mysql drive no lead. 我去qt 的论坛上面问,人家说现在已经qt不提供mysql的drive,想用要自己搭。给我一个官方的文档,https://doc.qt.io/qt-5/sql-driver.html#how-to-build-the-qmysql-plugin-on-windows。 问题是,写文档的人估计很久没有装过mysql了,mysql安装器的Custom Install,已经没有Libs & Include Files的选项了。所以我很难确定如何执行cmd代码 ``` cd %QTDIR%\qtbase\src\plugins\sqldrivers qmake -- MYSQL_INCDIR=C:/MySQL/include "MYSQL_LIBDIR=C:/MYSQL/MySQL Server <version>/lib/opt" ``` 最后,我选择使用mysql server的文件, ``` cd %QTDIR%\qtbase\src\plugins\sqldrivers qmake -- "MYSQL_INCDIR=C:/MySql/MySQL Server 8.0/include" "MYSQL_LIBDIR=C:/MySql/MySQL Server 8.0/lib" ``` 得到结论, ``` Info: creating stash file C:\Qt\5.12.6\Src\qtbase\src\plugins\sqldrivers\.qmake.stash Running configuration tests... Checking for DB2 (IBM)... no Checking for InterBase... no Checking for MySQL... no Checking for OCI (Oracle)... no Checking for ODBC... yes Checking for PostgreSQL... no Checking for SQLite (version 2)... no Checking for TDS (Sybase)... no Done running configuration tests. Configure summary: Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt is now configured for building. Just run 'mingw32-make'. Once everything is built, you must run 'mingw32-make install'. Qt will be installed into 'C:\Qt\5.12.6\mingw73_32'. Prior to reconfiguration, make sure you remove any leftovers from the previous build. ``` 我检查了一下qmake log ``` Trying source 5 (type inline) of library mysql ... + cd /d C:\Qt\5.12.6\Src\qtbase\src\plugins\sqldrivers\config.tests\mysql && C:\Qt\5.12.6\mingw73_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "QMAKE_USE += mysql" "QMAKE_LIBS_MYSQL = C:/MySQL/lib/libmysql.lib" "QMAKE_INCDIR_MYSQL = C:/MySQL/include" C:/Qt/5.12.6/Src/qtbase/src/plugins/sqldrivers/config.tests/mysql > Info: creating stash file C:\Qt\5.12.6\Src\qtbase\src\plugins\sqldrivers\config.tests\.qmake.stash + cd /d C:\Qt\5.12.6\Src\qtbase\src\plugins\sqldrivers\config.tests\mysql && set MAKEFLAGS=& mingw32-make > g++ -c -fno-keep-inline-dllexport -O2 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -IC:\MySQL\include -IC:\Qt\5.12.6\mingw73_32\mkspecs\win32-g++ -o main.o main.cpp > g++ -Wl,-s -Wl,-subsystem,console -mthreads -o mysql.exe main.o -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-win32\lib -LC:\Utils\postgresql\pgsql\lib C:\MySQL\lib\libmysql.lib > c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: main.o:main.cpp:(.text.startup+0xc): undefined reference to `mysql_get_client_version@0' > collect2.exe: error: ld returned 1 exit status > mingw32-make: *** [Makefile:66: mysql.exe] Error 1 ``` 看来问题是出在了 undefined reference to `mysql_get_client_version@0' mysql看起来并没有进去。有没有熟悉mysql和qt的大佬解答一下。多谢了和最近有用qt的大佬解答一下。
thinkphp3.2.3连接oracle 报错could not find driver
![图片说明](https://img-ask.csdn.net/upload/201608/03/1470212579_899908.png)![图片说明](https://img-ask.csdn.net/upload/201608/03/1470212484_346320.png) php对oracle 扩展oci8 都装好了。求教大神什么原因。多谢![图片说明](https://img-ask.csdn.net/upload/201608/03/1470214379_730402.png)
oracle 连接的问题
# # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d98b937, pid=56876, tid=157536 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode) # Problematic frame: # V [jvm.dll+0x10b937] # --------------- T H R E A D --------------- Current thread (0x563214a0): JavaThread "http-0.0.0.0-80-1" daemon [_thread_in_vm, id=157536] siginfo: ExceptionCode=0xc0000005, reading address 0x00000008 Registers: EAX=0x00000000, EBX=0x62f0f17c, ECX=0x00000000, EDX=0x5433f7bc ESP=0x5821e5f0, EBP=0x5821e620, ESI=0x563214a0, EDI=0x5433f7b4 EIP=0x6d98b937, EFLAGS=0x00010246 Top of Stack: (sp=0x5821e5f0) 0x5821e5f0: 56321560 5821eb10 5821eb10 5821eb10 0x5821e600: 56321560 7c85fdaf 7c800000 5821e614 0x5821e610: 58263288 56321560 62f0127e 5433f7b4 0x5821e620: 56321560 62f01296 00000000 5821eb10 0x5821e630: 5433f7b8 62f0f190 00000000 5821e654 0x5821e640: 5821e654 00000000 00001156 001945b0 0x5821e650: 00000048 4a5f0000 5f617661 6361726f 0x5821e660: 6a5f656c 5f636264 76697264 545f7265 Instructions: (pc=0x6d98b937) 0x6d98b927: b3 f2 ff 8b 45 08 85 c0 75 04 33 c9 eb 02 8b 08 0x6d98b937: 8b 51 08 83 c1 08 56 ff 52 2c 8b 46 04 85 c0 0f Stack: [0x581e0000,0x58220000), sp=0x5821e5f0, free space=249k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x10b937] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j oracle.jdbc.driver.T2CConnection.t2cCreateState([BI[BI[BI[BISI[S[B[B)I+0 j oracle.jdbc.driver.T2CConnection.logon()V+589 j oracle.jdbc.driver.PhysicalConnection.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Loracle/jdbc/driver/OracleDriverExtension;)V+370 j oracle.jdbc.driver.T2CConnection.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Loracle/jdbc/driver/OracleDriverExtension;)V+10 j oracle.jdbc.driver.T2CDriverExtension.getConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+67 j oracle.jdbc.driver.OracleDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+831 j org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Ljavax/resource/spi/ManagedConnection;+110 j org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+6 j org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+428 j org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(Ljavax/transaction/Transaction;Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+68 j org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(Ljavax/transaction/Transaction;Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+7 j org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+125 j org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;+51 j org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;+6 j org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection()Ljava/sql/Connection;+9 j org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+79 j org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy.getConnection()Ljava/sql/Connection;+21 j org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+79 j org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+1 j org.springframework.orm.ibatis.SqlMapClientTemplate.execute(Lorg/springframework/orm/ibatis/SqlMapClientCallback;)Ljava/lang/Object;+90 j org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;+11 j com.taobao.et.biz.dal.BaseDAO.queryForObject(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;+8 j com.taobao.et.biz.dal.core.ibatis.IbatisCityAirportDAO.getCountAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)I+4 j com.taobao.et.biz.dal.core.ibatis.IbatisCityAirportDAO.getAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Ljava/util/List;+2 j com.taobao.et.biz.core.common.impl.DefaultCityAirportManager.getAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Ljava/util/List;+5 j com.taobao.et.biz.ao.agent.impl.DefaultCityAirportAO.queryAirPorts(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Lcom/alibaba/biz/command/result/Result;+23 j com.mckinley.web.auction.module.screen.et.AirportList.execute(Lcom/alibaba/turbine/service/rundata/RunData;Lcom/alibaba/service/template/TemplateContext;)V+122 j com.alibaba.turbine.module.TemplateModule.execute(Lcom/alibaba/turbine/service/rundata/RunData;)V+9 j com.alibaba.turbine.pipeline.PerformScreenTemplateValve.performScreenModule(Lcom/alibaba/turbine/service/rundata/RunData;)V+98 j com.alibaba.turbine.pipeline.PerformScreenTemplateValve.invoke(Lcom/alibaba/turbine/service/rundata/RunData;)Lcom/alibaba/service/pipeline/ValveForward;+21 j com.alibaba.turbine.pipeline.AbstractValve.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)Lcom/alibaba/service/pipeline/ValveForward;+64 j com.alibaba.service.pipeline.DefaultPipeline.invokeNext(Lcom/alibaba/service/pipeline/PipelineContext;)V+170 j com.alibaba.service.pipeline.DefaultPipeline.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)V+8 j com.alibaba.turbine.pipeline.ChooseValve$Condition.invokeSubPipeline(Lcom/alibaba/turbine/service/rundata/RunData;)V+22 j com.alibaba.turbine.pipeline.ChooseValve.invoke(Lcom/alibaba/turbine/service/rundata/RunData;)Lcom/alibaba/service/pipeline/ValveForward;+43 j com.alibaba.turbine.pipeline.AbstractValve.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)Lcom/alibaba/service/pipeline/ValveForward;+64 j com.alibaba.service.pipeline.DefaultPipeline.invokeNext(Lcom/alibaba/service/pipeline/PipelineContext;)V+170 j com.alibaba.service.pipeline.DefaultPipeline.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)V+8 j com.alibaba.service.pipeline.TryCatchFinallyValve.invokeTryPipeline(Lcom/alibaba/service/pipeline/PipelineContext;)V+22 j com.alibaba.webx.WebxControllerServlet.handleRequest(Lcom/alibaba/webx/service/rundata/RunData;)V+114 j com.alibaba.webx.controller.AbstractWebxControllerServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+61 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+374 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j com.alibaba.webx.filter.rundata.RunDataFilter.doFilter(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+83 j com.alibaba.webx.filter.AbstractFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+73 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+117 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+61 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+117 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+778 j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+283 j org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+349 j org.jboss.web.tomcat.security.JaccContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42 j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64 j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6 j org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+35 j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42 j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+157 j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+422 j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82 j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x53013d80 JavaThread "IdleRemover" daemon [_thread_blocked, id=157800] 0x55d37808 JavaThread "ajp-0.0.0.0-8009-Acceptor-0" daemon [_thread_in_native, id=157296] =>0x563214a0 JavaThread "http-0.0.0.0-80-1" daemon [_thread_in_vm, id=157536] 0x56321008 JavaThread "http-0.0.0.0-80-Acceptor-0" daemon [_thread_in_native, id=159308] 0x55f4c008 JavaThread "Thread-6" [_thread_blocked, id=159684] 0x55fece08 JavaThread "JBossLifeThread" [_thread_blocked, id=158620] 0x556aba68 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=156964] 0x56b8dde0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=158664] 0x53dea840 JavaThread "AWT-Windows" daemon [_thread_in_native, id=14764] 0x55668008 JavaThread "SocketConnectorIoProcessor-1.0" [_thread_in_native, id=158464] 0x55f1cb60 JavaThread "SocketConnector-1" [_thread_in_native, id=157968] 0x55ccdbe8 JavaThread "LOGSTAT-WRITE" [_thread_blocked, id=159612] 0x55ccd530 JavaThread "taobao.remoting.core.TimeoutRespScanner" daemon [_thread_blocked, id=155196] 0x55e6ab98 JavaThread "SocketConnectorIoProcessor-0.0" [_thread_in_native, id=159184] 0x5505b8c0 JavaThread "SocketConnector-0" [_thread_in_native, id=159312] 0x53ec7db0 JavaThread "PooledByteBufferExpirer-0" daemon [_thread_blocked, id=157704] 0x55cf5b40 JavaThread "ConfigClientNotifier" [_thread_blocked, id=158056] 0x5449cd48 JavaThread "ConfigClientWorker-Default" [_thread_blocked, id=157160] 0x53f85df8 JavaThread "pool-2-thread-1" [_thread_blocked, id=157740] 0x54655cf8 JavaThread "Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:3/a74d5dcd1e0cd21616579c941de72db1 destination=QUEUE.A messageSelector=null Local Create] id=2" [_thread_blocked, id=159620] 0x54291518 JavaThread "Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:1/2e1b1d05b672aa5e20114ae69f382cd1 destination=QUEUE.B messageSelector=null Local Create] id=1" [_thread_blocked, id=159040] 0x54291008 JavaThread "UILServerILService Accept Thread" [_thread_in_native, id=158356] 0x5484e890 JavaThread "TimeoutFactory-0" daemon [_thread_blocked, id=158224] 0x545d6e60 JavaThread "JCA PoolFiller" [_thread_blocked, id=158764] 0x53e8be58 JavaThread "Timer-2" daemon [_thread_blocked, id=158040] 0x5354e6a8 JavaThread "HSQLDB Timer @19ac2e3" daemon [_thread_blocked, id=148028] 0x534ece98 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=154220] 0x53a08008 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=156012] 0x53f92d90 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=156556] 0x544afe78 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=159084] 0x555dba48 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=157464] 0x555a7e60 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=157716] 0x545dc348 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=158884] 0x5489b440 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=157928] 0x54b51910 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=159476] 0x54b51788 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=159192] 0x54b51bc8 JavaThread "DefaultQuartzScheduler_Worker-0" [_thread_blocked, id=157388] 0x555ab448 JavaThread "WorkManager(2)-1" daemon [_thread_blocked, id=156808] 0x5473a008 JavaThread "Thread-7" daemon [_thread_blocked, id=158244] 0x543e7b08 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=158760] 0x54153418 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=156692] 0x5360cc68 JavaThread "SubscriptionWatchDog" [_thread_blocked, id=157864] 0x530dd310 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=157876] 0x54e8fd98 JavaThread "AcceptorThread#0:3873" [_thread_in_native, id=154144] 0x5402ad78 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=158588] 0x53e5de20 JavaThread "AcceptorThread#0:4446" [_thread_in_native, id=152108] 0x53be27c8 JavaThread "PooledInvokerAcceptor#0-4445" [_thread_in_native, id=159688] 0x53ca6190 JavaThread "RMI TCP Accept-4444" daemon [_thread_in_native, id=159200] 0x53b8fa40 JavaThread "Listener:4059" daemon [_thread_in_native, id=159176] 0x53c6bae0 JavaThread "Thread-5" daemon [_thread_blocked, id=158080] 0x535e1988 JavaThread "Thread-4" daemon [_thread_blocked, id=157260] 0x5306fc80 JavaThread "Listener:4057" daemon [_thread_in_native, id=159436] 0x53dd5e40 JavaThread "JBoss System Threads(1)-2" daemon [_thread_in_native, id=159408] 0x53d88460 JavaThread "GC Daemon" daemon [_thread_blocked, id=159540] 0x53f35bd8 JavaThread "RMI Reaper" [_thread_blocked, id=159284] 0x53cf51c8 JavaThread "Timer-1" daemon [_thread_blocked, id=159024] 0x53fd9078 JavaThread "RMI TCP Accept-2098" daemon [_thread_in_native, id=155764] 0x536879b8 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=158868] 0x53c4a528 JavaThread "ScannerThread" daemon [_thread_blocked, id=155876] 0x5395cbf8 JavaThread "Timer-0" daemon [_thread_blocked, id=155836] 0x00038388 JavaThread "DestroyJavaVM" [_thread_blocked, id=158988] 0x52ff0838 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=159304] 0x52fef438 JavaThread "CompilerThread1" daemon [_thread_blocked, id=158428] 0x52fee4d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=159288] 0x52fed528 JavaThread "AdapterThread" daemon [_thread_blocked, id=156824] 0x52fec2c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=154800] 0x52feb050 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=158956] 0x00038be8 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=158316] 0x009a48d8 JavaThread "Finalizer" daemon [_thread_blocked, id=158196] 0x009a3c40 JavaThread "Reference Handler" daemon [_thread_blocked, id=157196] Other Threads: 0x009a1a18 VMThread [id=157636] 0x52ff1cb8 WatcherThread [id=159328] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 13248K, used 2681K [0x02a30000, 0x03880000, 0x09bf0000) eden space 11840K, 13% used [0x02a30000, 0x02bcc180, 0x035c0000) from space 1408K, 73% used [0x035c0000, 0x036c2550, 0x03720000) to space 1408K, 0% used [0x03720000, 0x03720000, 0x03880000) tenured generation total 116544K, used 71754K [0x09bf0000, 0x10dc0000, 0x42a30000) the space 116544K, 61% used [0x09bf0000, 0x0e202a78, 0x0e202c00, 0x10dc0000) compacting perm gen total 65536K, used 48828K [0x42a30000, 0x46a30000, 0x52a30000) the space 65536K, 74% used [0x42a30000, 0x459df188, 0x459df200, 0x46a30000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040c000 D:\Program Files\Java\jdk1.5.0_07\bin\java.exe 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c91e000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll 0x6d880000 - 0x6dc31000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\server\jvm.dll 0x77d10000 - 0x77da0000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll 0x6d2f0000 - 0x6d2f8000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\hpi.dll 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d3f0000 - 0x6d425000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\jdwp.dll 0x6d6b0000 - 0x6d6bc000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\verify.dll 0x6d370000 - 0x6d38d000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\java.dll 0x6d6d0000 - 0x6d6df000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\zip.dll 0x6d290000 - 0x6d297000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\dt_socket.dll 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll 0x719c0000 - 0x719fe000 C:\WINDOWS\system32\mswsock.dll 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll 0x6d530000 - 0x6d543000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\net.dll 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll 0x6d520000 - 0x6d528000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\management.dll 0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll 0x759d0000 - 0x75a7f000 C:\WINDOWS\system32\USERENV.dll 0x5fdd0000 - 0x5fe25000 C:\WINDOWS\system32\netapi32.dll 0x6d550000 - 0x6d559000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\nio.dll 0x6d660000 - 0x6d666000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\rmi.dll 0x6d070000 - 0x6d1d7000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\awt.dll 0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV 0x76990000 - 0x76acd000 C:\WINDOWS\system32\ole32.dll 0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll 0x736d0000 - 0x7371b000 C:\WINDOWS\system32\ddraw.dll 0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll 0x738b0000 - 0x73980000 C:\WINDOWS\system32\D3DIM700.DLL 0x74680000 - 0x746cc000 C:\WINDOWS\system32\MSCTF.dll 0x57de0000 - 0x57e0b000 D:\Program Files\360safe\safemon\safemon.dll 0x7d590000 - 0x7dd84000 C:\WINDOWS\system32\SHELL32.dll 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll 0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.dll 0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll 0x75c60000 - 0x75d00000 C:\WINDOWS\system32\urlmon.dll 0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll 0x5d170000 - 0x5d20a000 C:\WINDOWS\system32\comctl32.dll 0x76d70000 - 0x76d92000 C:\WINDOWS\system32\apphelp.dll 0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime 0x6d430000 - 0x6d44f000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\jpeg.dll 0x6d2b0000 - 0x6d2ed000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\fontmanager.dll 0x62f00000 - 0x62f13000 C:\WINDOWS\system32\ocijdbc10.dll 0x58260000 - 0x582b9000 C:\WINDOWS\system32\OCI.dll 0x7c340000 - 0x7c396000 C:\WINDOWS\system32\MSVCR71.dll VM Arguments: jvm_args: -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -Dprogram.name=run.bat -Xms128m -Xmx1024m -XX:PermSize=64M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=D:\tools\jboss-pamirs-et-4.2.2.GA\lib\endorsed java_command: org.jboss.Main -b 0.0.0.0 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=D:\Program Files\Java\jdk1.5.0_07 PATH=D:\Program Files\Java\jdk1.5.0_07\bin\..\jre\bin\client;D:\Program Files\Java\jdk1.5.0_07\bin\..\jre\bin;D:\Python26\;.D:\tools\apache-ant-1.7.1\bin;D:\tools\apache-maven-2.0.9\bin;D:\tools\instantclient_10_2\bin;D:\Program Files\Java\jdk1.5.0_07\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Subversion\bin;D:\dev\antx\dist\antx\bin;d:\Program Files\UltraEdit;D:\Program Files\Rational\common;D:\Program Files\TortoiseSVN\bin;D:\tools\apache-maven-2.1.0\bin;D:\Program Files\python;d:\Sun\SDK\bin USERNAME=dinghao OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 3 CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 2069032k(184804k free), swap 3141392k(702164k free) vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 10:53:00 by "java_re" with MS VC++ 6.0
用jdbc:oracle:oci方式连接数据库时出现UnsatisfiedLinkError错误
我win7 64位系统,jdk是64位的1.7版本,oracle装的是32的10g,客户端跟服务器端都装了 ,我在用jdbc:oracle:oci方式连接数据库时连接失败,而用jdbc:oracle:thin方式就行,错误如下: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: E:\Ebook\JavaSE\develop\Oracle\product\10.2.0\client_1\BIN\ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1) at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:280) at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:304) ... 24 more Caused by: java.lang.UnsatisfiedLinkError: E:\Ebook\JavaSE\develop\Oracle\product\10.2.0\client_1\BIN\ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135) at java.security.AccessController.doPrivileged(Native Method) at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131) at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414) at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132) at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseProductName(VendorDatabaseIdProvider.java:76) at org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseName(VendorDatabaseIdProvider.java:61) at org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseId(VendorDatabaseIdProvider.java:49) at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:395) at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:295) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ... 37 more 这个有什么解决办法吗
Oracle ADF 启动报错,本人刚接触ADF
使用jdeveloper时候跑jspx页面demo,服务开不起来,报如下错误: *** Using HTTP port 7001 *** *** Using SSL port 7002 *** D:\Oracle\JDevRuntime\system11.1.2.4.39.64.36.1\DefaultDomain\bin\startWebLogic.cmd [waiting for the server to complete its initialization...] javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7001: Destination unreachable; nested exception is: java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 503 Service Unavailable'; No available router to destination] **** Failed to complete start-up of application server IntegratedWebLogicServer. [Server Instance IntegratedWebLogicServer is shutting down. All applications currently running will be terminated and undeployed.] . . JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m . WLS Start Mode=Development . CLASSPATH=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1112\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jdk1.6.0_24\lib;C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar . PATH=D:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1112\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Lenovo\Fingerprint Manager Pro\;C:\Program Files\Java\jdk1.6.0_24\bin;C:\Program Files\Java\jdk1.6.0_24\jre\bin;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8 . *************************************************** * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http:\\hostname:port\console * *************************************************** starting weblogic with Java version: java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) Starting WLS with line: C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Users\admin\AppData\Local\Temp\trustStore2435972904751638871.jks -Dhttp.proxyHost=proxy3.bj.petrochina -Dhttp.proxyPort=8080 "-Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|admin-PC|admin-PC" -Dhttps.proxyHost=proxy3.bj.petrochina -Dhttps.proxyPort=8080 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1 -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=D:\Oracle\JDEVRU~1\SYSTEM~1.1\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath weblogic.Server <2016-8-19 下午02时10分30秒 CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> <2016-8-19 下午02时10分31秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> <2016-8-19 下午02时10分31秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 19.1-b02 from Sun Microsystems Inc.> <2016-8-19 下午02时10分31秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 > <2016-8-19 下午02时10分32秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <2016-8-19 下午02时10分32秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> <2016-8-19 下午02时10分32秒 CST> <Error> <Diagnostics> <BEA-320011> <The following diagnostic image destination directory could not be created: D:\Oracle\JDevRuntime\system11.1.2.4.39.64.36.1\DefaultDomain\servers\DefaultServer\logs\diagnostic_images> <2016-8-19 下午02时10分32秒 CST> <Error> <Log Management> <BEA-170020> <The server log file D:\Oracle\JDevRuntime\system11.1.2.4.39.64.36.1\DefaultDomain\servers\DefaultServer\logs/DefaultServer.log could not be opened successfully.> [Forcing termination of IntegratedWebLogicServer] taskkill /F /PID 2132 Process exited.
PHP7 配置mySQL 失败!求解救。
RT,我想要配置PHP环境。 结果配置完成,提示 “could not find driver”! windows10 x64环境。 PHP版本为: ``` php-7.1.3-nts-Win32-VC14-x64 ``` 按照一般的配置流程,我先修改了php.ini-development和php.ini-production两个文件(两个文件内容长得一样,我都改了): ``` extension_dir = "D:\php-7.1.3-nts-Win32-VC14-x64\ext" ``` ``` ; ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_fileinfo.dll ;extension=php_ftp.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_gmp.dll ;extension=php_intl.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll ;extension=php_mbstring.dll ;extension=php_exif.dll ; Must be after mbstring as it depends on it ;extension=php_mysqli.dll ;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client ;extension=php_openssl.dll extension=php_pdo_firebird.dll extension=php_pdo_mysql.dll extension=php_pdo_oci.dll extension=php_pdo_odbc.dll extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll ;extension=php_pgsql.dll ;extension=php_shmop.dll extension=php_pdo_sqlsrv_7_nts_x64.dll extension=php_sqlsrv_7_nts_x64.dll ; The MIBS data available in the PHP distribution must be installed. ; See http://www.php.net/manual/en/snmp.installation.php ;extension=php_snmp.dll ;extension=php_soap.dll extension=php_sockets.dll ;extension=php_sqlite3.dll ;extension=php_tidy.dll ;extension=php_xmlrpc.dll ;extension=php_xsl.dll ``` 然后,我加入了系统环境变量: ``` D:\php-7.1.3-nts-Win32-VC14-x64; ``` 但是并没有什么乱用: ``` 测试mysql数据库连接。Error!: could not find driver ``` ``` <?php echo "测试mysql数据库连接。"; phpinfo(); class test { public function conntest() { $connInfo = array( $dbhost => 'localhost:3306', $dbname => 'mydb', $dbuser => 'Even', $dbpwd => '446639' ); try{ $pdo = new PDO( 'mysql:host = localhost,dbname = mydb', $connInfo[$dbuser], $connInfo[$dbpwd] ); } catch(PDOException $e) { print "Error!: " . $e->getMessage() . "<br/>"; } if(!$conn) { die(); } else { echo "连接成功"; } } } $obj = new test(); $obj->conntest(); ?> ``` phpinfo()中,没有显示PDO驱动信息:(No Value) PDO drivers no value 以上。 求助……在线等。
java web jdbc oci 方式连接oracle报错UnsatisfiedLinkError
环境为AIX Version 5.3! sqlplus sqlldr 可用, java web jdbc oci 方式连接数据库不成功 Connection conn = null; Statement stmt = null; ResultSet rs = null; try { Class.forName("oracle.jdbc.OracleDriver"); conn = DriverManager.getConnection("jdbc:oracle:oci:@bbs", "user", "password"); stmt = conn.createStatement(); rs = stmt.executeQuery("select name from abc"); while (rs.next()) { String s = rs.getString(1); System.out.println(s); } } catch (Exception e) { e.printStackTrace(); } System.out.println(System.getProperties().get("java.library.path"));输出:/oracle11/app/oracle/11.2.0/lib windows上测试成功: -Djava.library.path=E:\oracle\product\10.2.0\client_1\BIN 报错信息 INFO: Server startup in 1286 ms Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: ocijdbc11 (A file or directory in the path name does not exist.) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:986) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950) at java.lang.System.loadLibrary(System.java:453) at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3516) at java.security.AccessController.doPrivileged(AccessController.java:197) at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3512) at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:266) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536) at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:162) at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521) at java.sql.DriverManager.getConnection(DriverManager.java:572) at java.sql.DriverManager.getConnection(DriverManager.java:196) at com.gmail.wangchengyong2009.db.OracleETL.getQueryColumnName(OracleETL.java:374)
qt5.5 怎么连接oracle 数据库
昨天刚把oracle装上,之前用过JDBC,所以知道需要驱动,但是我在网上找了很久相关的资料 但是他们有的东西,我都没有,就像这个: 他们都有Qt5.4.0\5.4\Src\qtbase\src\plugins\sqldrivers\oci 工程,而我连Src文件夹都 没有,真不知道该怎么连上oracle了,求大神相助!!
xp下的php 连oracle 问题
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in D:\PHPnow\htdocs\hfgh\ct2\3.php on line 13 这个错误 怎么解决啊?
zabbix+oracle zabbix由mysql转变为oracle
[color=#FF0000]背景描述:[/color] 1、原来安装zabbix是在LAMP的环境下是可以正常运行;(Linux CentOS 7) 2、现想把mysql换成oracle,通过安装oracle客户端远程访问另外一台机器上oracle服务,客户e端和zabbix是同一台机器,sqlplus是可以正常运行访问; 3、PHP页面通过OCI也是可以正常登陆http://127.0.0.1/zabbix; 4、zabbix_server.conf中配置DBHost=数据库IP,DBNAME=数据库实例名,DBPORT=1521... [color=#FF0000]可是后台zabbix_server.log报错【Z3001] connection to database ‘ORCL' failed : [2013] Lost connection to MySQL server at 'reading initial communication packet ',system error :0[/color] 5、安装zabbix时使用源码安装 ,进入解压目录 ./configure --with-mysql=/usr/bin/mysql_config --with-net-snmp --with-libcurl --enable-server --enable-agent --enable-proxy --prefix=/usr/local/zabbix 此处没有 配置 --with-oracle [color=#FF0000]疑问:[/color] 1、出现上述描述4中连接数据库失败如何解决? 2、zabbix_server是通过什么方式访问数据库的?OCI? 3、再次使用5的命令./configure --with-oracle --enable-server --prefix=/usr/local/zabbix提示OCI library not found ./configure --with-oracle=$ORACLE_HOME/lib --enable-server --prefix=/usr/local/zabbix 提示OCI library not found 谢谢!
OCI连接Oracle调用OCISessionBegin失败:ORA-24314: 未初始化服务句柄
OCI连接Oracle数据库的时候,建立会话连接OCISessionBegin就失败:Error code为:ORA-24314: 未初始化服务句柄。 而使用PL/SQL Developer连接Oracle就可以,进去PL/SQL Developer里面也可以执行SQL语句。
oci_execute函数无法调用(php+oracle)
1.已经phpinfo过支持oci8 2.无法使用oci_execute()函数 3.结果不执行也没有看出问题 在哪 ``` <?php header("Content-type:text/html;charset=utf8"); try{ $user = "*****"; //ORACLE用户名 $password = "***"; $conn = oci_connect($user,$password,"(DEscriptION=(ADDRESS=(PROTOCOL =TCP)(HOST=1.1.1.1(PORT = 1521))(CONNECT_DATA =(SID=tjfxdb)))"); var_dump($conn); echo "连接成功"; $sql="insert into sd_realtime_sync_03(comcode) value('201503')"; $query=oci_parse($conn, $sql); $bo=oci_execute($query);//只插入到表3 echo $bo; }catch(Exception $e){ echo ("Error:".$e->getMessage()); } ?> ``` 结果:![图片说明](https://img-ask.csdn.net/upload/201904/01/1554113011_332457.jpg)
Dockers run hello-world 出错,什么原因??
镜像 ``` # docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/hello-world latest fce289e99eb9 2 months ago 1.84 kB ``` **使用run命令出现以下错误** ``` # docker run docker.io/hello-world container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\"" /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\"". ``` 我的docker.service: ``` # cat /usr/lib/systemd/system/docker.service [Unit] Description=Docker Application Container Engine Documentation=http://docs.docker.com # After=network-online.target firewalld.service # Wants=networkonline.target After=network.target Wants=docker-storage-setup.service Requires=docker-cleanup.timer [Service] Type=notify NotifyAccess=main EnvironmentFile=-/run/containers/registries.conf EnvironmentFile=-/etc/sysconfig/docker EnvironmentFile=-/etc/sysconfig/docker-storage EnvironmentFile=-/etc/sysconfig/docker-network Environment=GOTRACEBACK=crash Environment=DOCKER_HTTP_HOST_COMPAT=1 Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin ExecStart=/usr/bin/dockerd-current \ --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \ --default-runtime=docker-runc \ --exec-opt native.cgroupdriver=systemd \ --userland-proxy-path=/usr/libexec/docker/docker-proxy-current \ --init-path=/usr/libexec/docker/docker-init-current \ --seccomp-profile=/etc/docker/seccomp.json \ $OPTIONS \ $DOCKER_STORAGE_OPTIONS \ $DOCKER_NETWORK_OPTIONS \ $ADD_REGISTRY \ $BLOCK_REGISTRY \ $INSECURE_REGISTRY \ $REGISTRIES ExecReload=/bin/kill -s HUP $MAINPID LimitNOFILE=1048576 LimitNPROC=1048576 LimitCORE=infinity TimeoutStartSec=0 Restart=on-abnormal KillMode=process [Install] WantedBy=multi-user.target ``` 到底是哪里有问题??求大佬们支支教
navicat连接远程oracle不成功
开始的时候提示这样![图片说明](https://img-ask.csdn.net/upload/201501/21/1421827761_694697.png)找了些资料,说要把oracle的oci.dll替换了nacicat的oci.dll,于是把navicat的oci.dll换成远程oracle的oci.dll,测试链接出现这样的提示![图片说明](https://img-ask.csdn.net/upload/201501/21/1421827820_633418.jpg).怎么样才能解决问题,连接上远程的oracle?
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
死磕YOLO系列,YOLOv1 的大脑、躯干和手脚
YOLO 是我非常喜欢的目标检测算法,堪称工业级的目标检测,能够达到实时的要求,它帮我解决了许多实际问题。 这就是 YOLO 的目标检测效果。它定位了图像中物体的位置,当然,也能预测物体的类别。 之前我有写博文介绍过它,但是每次重新读它的论文,我都有新的收获,为此我准备写一个系列的文章来详尽分析它。这是第一篇,从它的起始 YOLOv1 讲起。 YOLOv1 的论文地址:https://www.c...
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的回答,对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalking,作者吴晟、刘浩杨 等等 仓库地址: apache/skywalking 更...
20行Python代码爬取王者荣耀全英雄皮肤
引言 王者荣耀大家都玩过吧,没玩过的也应该听说过,作为时下最火的手机MOBA游戏,咳咳,好像跑题了。我们今天的重点是爬取王者荣耀所有英雄的所有皮肤,而且仅仅使用20行Python代码即可完成。 准备工作 爬取皮肤本身并不难,难点在于分析,我们首先得得到皮肤图片的url地址,话不多说,我们马上来到王者荣耀的官网: 我们点击英雄资料,然后随意地选择一位英雄,接着F12打开调试台,找到英雄原皮肤的图片...
简明易理解的@SpringBootApplication注解源码解析(包含面试提问)
欢迎关注文章系列 ,关注我 《提升能力,涨薪可待》 《面试知识,工作可待》 《实战演练,拒绝996》 欢迎关注我博客,原创技术文章第一时间推出 也欢迎关注公 众 号【Ccww笔记】,同时推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《提升能力,涨薪可待篇》- @SpringBootApplication注解源码解析 一、@SpringBootApplication 的作用是什...
西游记团队中如果需要裁掉一个人,会先裁掉谁?
2019年互联网寒冬,大批企业开始裁员,下图是网上流传的一张截图: 裁员不可避免,那如何才能做到不管大环境如何变化,自身不受影响呢? 我们先来看一个有意思的故事,如果西游记取经团队需要裁员一名,会裁掉谁呢,为什么? 西游记团队组成: 1.唐僧 作为团队teamleader,有很坚韧的品性和极高的原则性,不达目的不罢休,遇到任何问题,都没有退缩过,又很得上司支持和赏识(直接得到唐太宗的任命,既给袈...
Python语言高频重点汇总
Python语言高频重点汇总 GitHub面试宝典仓库 回到首页 目录: Python语言高频重点汇总 目录: 1. 函数-传参 2. 元类 3. @staticmethod和@classmethod两个装饰器 4. 类属性和实例属性 5. Python的自省 6. 列表、集合、字典推导式 7. Python中单下划线和双下划线 8. 格式化字符串中的%和format 9. 迭代器和生成器 10...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
ES6基础-ES6的扩展
进行对字符串扩展,正则扩展,数值扩展,函数扩展,对象扩展,数组扩展。 开发环境准备: 编辑器(VS Code, Atom,Sublime)或者IDE(Webstorm) 浏览器最新的Chrome 字符串的扩展: 模板字符串,部分新的方法,新的unicode表示和遍历方法: 部分新的字符串方法 padStart,padEnd,repeat,startsWith,endsWith,includes 字...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 已收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Star和完善,大家面试可以参照考点复习,希望我们一起有点东西。 前前言 为啥今天有个前前言呢? 因为你们的丙丙啊,昨天有牌面了哟,直接被微信官方推荐,知乎推荐,也就仅仅是还行吧(心里乐开花)
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
Python爬虫精简步骤1 获取数据
爬虫的工作分为四步: 1.获取数据。爬虫程序会根据我们提供的网址,向服务器发起请求,然后返回数据。 2.解析数据。爬虫程序会把服务器返回的数据解析成我们能读懂的格式。 3.提取数据。爬虫程序再从中提取出我们需要的数据。 4.储存数据。爬虫程序把这些有用的数据保存起来,便于你日后的使用和分析。 这一篇的内容就是:获取数据。 首先,我们将会利用一个强大的库——requests来获取数据。 在电脑上安装
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 更多有趣分析教程,扫描下方二维码关注vx公号「裸睡的猪」 即可查看! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布
web前端javascript+jquery知识点总结
Javascript javascript 在前端网页中占有非常重要的地位,可以用于验证表单,制作特效等功能,它是一种描述语言,也是一种基于对象(Object)和事件驱动并具有安全性的脚本语言 ,语法同java类似,是一种解释性语言,边执行边解释。 JavaScript的组成: ECMAScipt 用于描述: 语法,变量和数据类型,运算符,逻辑控制语句,关键字保留字,对象。 浏览器对象模型(Br
Qt实践录:开篇
本系列文章介绍笔者的Qt实践之路。
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。   再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。   下文是原回答,希望能对你能有所启发。   如果我说,这个世界上人真的分三六九等,
为什么听过很多道理,依然过不好这一生?
记录学习笔记是一个重要的习惯,不希望学习过的东西成为过眼云烟。做总结的同时也是一次复盘思考的过程。 本文是根据阅读得到 App上《万维钢·精英日课》部分文章后所做的一点笔记和思考。学习是一个系统的过程,思维模型的建立需要相对完整的学习和思考过程。以下观点是在碎片化阅读后总结的一点心得总结。
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计
一条链接即可让黑客跟踪你的位置! | Seeker工具使用
搬运自:冰崖的部落阁(icecliffsnet) 严正声明:本文仅限于技术讨论,严禁用于其他用途。 请遵守相对应法律规则,禁止用作违法途径,出事后果自负! 上次写的防社工文章里边提到的gps定位信息(如何防止自己被社工或人肉) 除了主动收集他人位置信息以外,我们还可以进行被动收集 (没有技术含量) Seeker作为一款高精度地理位置跟踪工具,同时也是社交工程学(社会工程学)爱好者...
作为程序员的我,大学四年一直自学,全靠这些实用工具和学习网站!
我本人因为高中沉迷于爱情,导致学业荒废,后来高考,毫无疑问进入了一所普普通通的大学,实在惭愧...... 我又是那么好强,现在学历不行,没办法改变的事情了,所以,进入大学开始,我就下定决心,一定要让自己掌握更多的技能,尤其选择了计算机这个行业,一定要多学习技术。 在进入大学学习不久后,我就认清了一个现实:我这个大学的整体教学质量和学习风气,真的一言难尽,懂的人自然知道怎么回事? 怎么办?我该如何更好的提升
前端JS初级面试题二 (。•ˇ‸ˇ•。)老铁们!快来瞧瞧自己都会了么
1. 传统事件绑定和符合W3C标准的事件绑定有什么区别? 传统事件绑定 &lt;div onclick=""&gt;123&lt;/div&gt; div1.onclick = function(){}; &lt;button onmouseover=""&gt;&lt;/button&gt; 注意: 如果给同一个元素绑定了两次或多次相同类型的事件,那么后面的绑定会覆盖前面的绑定 (不支持DOM事...
相关热词 c# 数组类型 泛型约束 c#的赛狗日程序 c# 传递数组 可变参数 c# 生成存储过程 c# list 补集 c#获得所有窗体 c# 当前秒数转成年月日 c#中的枚举 c# 计算校验和 连续随机数不重复c#
立即提问