Connectin to oracle db at localhost
hello
i use ado to connect oracle 10 g database at localhost ... i use oracle's provider...
what is the technology for conection to db on localhost -network, shared memory, local procedure call ?
please help
I think it's shared memory and the Oracle name for this is bequeath:
>
If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.
>
(from http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/concepts.htm#NETAG185=)
Similar Messages
-
Problem in establishing connectin to Oracle Database using TOMCAT-APACHE
Hello can anyone help me i can't establish a coonection to Oracle Database eventhough i have set everything in my server.XML...
I manage to connect to ACCES database but not Oracle... help me... here is the resource portion in my server.xml
<!-- My Forum Context - Access Database-->
<Context path="/forum" docBase="forum" debug="0" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_forum_log." suffix=".txt" timestamp="true"/>
<Resource name="jdbc/forumDb" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/forumDb">
<parameter><name>user</name><value></value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name><value>sun.jdbc.odbc.JdbcOdbcDriver</value></parameter>
<parameter><name>driverName</name><value>jdbc:odbc:forumDb</value></parameter>
</ResourceParams>
</Context>
<!-- PMOD Context - Oracle -->
<Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>
<Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
<Parameter name="context.param.name" value="context.param.value" override="false"/>
<Resource name="jdbc/pmodDb" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pmodDb">
<parameter><name>user</name><value>pmod_owner</value></parameter>
<parameter><name>password</name><value>pmod_owner</value></parameter>
<parameter><name>driverClassName</name><value>oracle.jdbc.driver.OracleDriver</value></parameter>
<parameter><name>driverName</name><value>jdbc:oracle:thin:@192.9.200.2:1521:PMOD</value></parameter>
</ResourceParams>
</Context>
can anyone help... thanks...
sharilhello....
here is how i do it if i use access, i just set in my server.xml as bellow....
<!-- PMOD Context -->
<Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>
<Ejb name="ejb/User" type="Session" home="pmod.user.UserHome" remote="pmod.user.User"/>
<Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
<Parameter name="context.param.name" value="context.param.value" override="false"/>
<Resource name="jdbc/pmodDb" auth="SERVLET" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pmodDb">
<parameter><name>user</name><value></value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name><value>sun.jdbc.odbc.JdbcOdbcDriver</value></parameter>
<parameter><name>driverName</name><value>jdbc:odbc:pmodDb</value></parameter>
</ResourceParams>
</Context>
later i would call from my servlet as follows
InitialContext initCtx = new InitialContext ();
DataSource ds = (DataSource)initCtx.lookup ("java:comp/env/jdbc/pmodDb");
conn = ds.getConnection();
then i can establish connection to my database... but now i change to oracle and my server.xml i configure as follows
<!-- PMOD Context -->
<Context path="/pmod" docBase="pmod" debug="0" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_pmod_log." suffix=".txt" timestamp="true"/>
<Environment name="maxExemptions" type="java.lang.Integer" value="15"/>
<Parameter name="context.param.name" value="context.param.value" override="false"/>
<Resource name="jdbc/pmodDb" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pmodDb">
<parameter><name>user</name><value>pmod_owner</value></parameter>
<parameter><name>password</name><value>pmod_owner</value></parameter>
<parameter><name>driverClassName</name><value>oracle.jdbc.driver.OracleDriver</value></parameter>
<parameter><name>driverName</name><value>jdbc:oracle:thin:@192.9.200.2:1521:PMOD</value></parameter>
</ResourceParams>
</Context>
and i call from my servlet like before ...
InitialContext initCtx = new InitialContext ();
DataSource ds = (DataSource)initCtx.lookup ("java:comp/env/jdbc/pmodDb");
conn = ds.getConnection();
the datasource would return null in other word i cannot find the database
however if i tried to establish connection directly,
String u1 = "pmod_owner";
String p1 ="pmod_owner";
String path = "jdbc:oracle:thin:@192.9.200.2:1521:PMOD";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection( path, u1, p1 );
i can talk with the database....
so if anyone out there can help me to point me where did i go wrong?
fyi: i have put a lib which contains oracle jdbc driver called classes12.zip in my c:\tomcat\common\lib\
thank you -
Oracle Enterprise Manager (localhost:localdomain) not working anymore.
Hello,
I sucessfully installed 10g enterprise edition and was able to run the manager in my browser staight after. now I rebooted. installed
sql developer plus and I cant connect anymore. not to the manager and, likely because some service is not running, via sql developer.
trying lsnrctl start
or echo $ORACLE_HOME or tns names just retunred nothing.
does someone have an idea how I can hardcode these variables (I no there is a file somewhere) and start the service on startup (using red hat 5 and oracle 10g)metalray wrote:
oracle_home=$Oracle_Home:/u01/app/oracle...
needs to have to $Oracle_Home: part, otherwise the variable will not be setNot for any shell I know.....
If you are on bourne shell or its commn silblings (posix, ksh or bash) I would expect to see the following
starting of with a PATH that does not reference an oracle home ...
ORACLE_SID=orcl
export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export ORACLE_HOME
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
PATH=$PATH:$ORACLE_HOME/bin
export PATH
These should all show with:
env | egrep '(ORA|^PATH)'PATH=/usr/bin:/usr/local/bin:xxxxxxxxx:/u01/app/oracle/product/10.2.0/db_1/bin
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=orcl
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
Rgds - bigdelboy -
Can't Install Oracle 8.1.7 on linux
Hi,
This is related to posting 516230.
For some reason unknown to me, regardless of the media or the version, I cannot get the installation script, runInstaller to invoke on RedHat 7.1.
This is my oracle user is set up as such:
uid=501(oracle) gid=502(oinstall) groups=502(oinstall),501(dba)
This is my display variable setting:
[oracle@localhost oracle]$ echo $DISPLAY
localhost.localdomain:0.0
Here are the pertinent entries from my groups file:
dba:x:501:
oinstall:x:502:
osdba:x:503:
osoper:x:504:
Here is the access control list:
[oracle@localhost oracle]$ xhost
access control enabled, only authorized clients can connect
INET:localhost.localdomain
Every time I try to invoke the installer all I get is:
Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
Which I do, forever. There is no splash screen, but the processes are running:
oracle 3297 1 0 23:26 pts/4 00:00:00 ./runInstaller
oracle 3298 3297 97 23:26 pts/4 00:02:36 /home/oracle/Disk1/stage/Compone
I am not really sure what it is doing, it takes up a lot of cpu for no benefit as far as I can tell. Proof is in the output of the top command, which shows the jre eating up 98.8% of the cpu.
3298 oracle 19 0 3136 3136 964 R 98.8 0.4 7:52 jre
3309 oracle 12 0 1060 1060 840 R 0.5 0.1 0:00 top
I have 640MB of memory on a Dell Dimension XPS T600. The other post, details more of my configuration and steps I took to remedy the situation. I'm here asking this question because I have no idea where else I could go. ANY HELP AT ALL would be greatly appreciated. I have read the Linux and Oracle HOW-TO files, and anything else I could think of.
Thanks for your help
--Dana
~Replace with witty string~Please try to unset the following variables in your environment.
UNSET LANG
UNSET LIB_PATH
and then try to Invoke the runInstaller.
Thanks,
Srinivas Katta -
Trouble adding regular oracle oci8 support to RPM, CentOs 5
Hello,
It seems that i'm missing smth simple while trying to add oci8 support to RPM.
I took Christopher Jones's SRPM for 5.2.3 as a base, but since i don't have and don't need a support for instant client i modified latest available 5.1.6 SRPM from CentOS 5 repo.
The compile env is :
HOSTNAME=server.home
SHELL=/bin/bash
TERM=vt100
HISTSIZE=1000
OLDPWD=/root
USER=root
LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
TNS_ADMIN=/u01/app/oracle/product/10.2.0/db_1/network/admin
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/usr/src/redhat/SPECS
LANG=en_US.UTF-8
SHLVL=1
HOME=/root
LOGNAME=root
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
G_BROKEN_FILENAMES=1
_=/bin/envi compile as a root. Here is my spec file.
%define contentdir /var/www
%define apiver 20041225
%define zendver 20050922
%define pdover 20060409
# AZ
# Version of Instant Client RPM. [email protected] May 2007
%define ociver 10.2.0.3
# For testing OCI8 and PDO_OCI. Use the password of the SYSTEM schema
# and the connection string for the target
# database. [email protected] May 2007
%define oci8_test_system_password tiger
%define oci8_test_connection_string localhost/lhome
# Set oci8_test_local_db to TRUE when the Oracle DB is on the machine
# building the RPMS. Otherwise set it to FALSE.
# [email protected] May 2007
%define oci8_test_local_db TRUE
#AZ
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Name: php
Version: 5.1.6
Release: 15%{?dist}
License: The PHP License v3.01
Group: Development/Languages
URL: http://www.php.net/
Source0: http://www.php.net/distributions/php-%{version}.tar.gz
Source50: php.conf
Source51: php.ini
Patch1: php-5.1.4-gnusrc.patch
Patch2: php-5.1.4-warnings.patch
Patch5: php-4.3.3-install.patch
Patch6: php-5.0.4-norpath.patch
Patch7: php-4.3.2-libtool15.patch
Patch13: php-5.0.2-phpize64.patch
Patch14: php-5.1.6-ecalloc.patch
# Fixes for extension modules
Patch21: php-4.3.1-odbc.patch
Patch22: php-4.3.11-shutdown.patch
# Functional changes
Patch30: php-5.0.4-dlopen.patch
Patch31: php-5.0.0-easter.patch
# Fixes for tests
Patch50: php-5.0.4-tests-dashn.patch
Patch51: php-5.0.4-tests-wddx.patch
# Security fixes
Patch70: php-4.3.9-CVE-2006-5465.patch
Patch71: php-5.1.6-CVE-2007-0906-imap.patch
Patch72: php-4.3.9-CVE-2007-0906-strreplace.patch
Patch73: php-4.3.9-CVE-2007-0907.patch
Patch74: php-4.3.9-CVE-2007-0908.patch
Patch75: php-4.3.9-CVE-2007-0909-odbc.patch
Patch76: php-4.3.9-CVE-2007-0909-printf.patch
Patch77: php-5.1.6-CVE-2007-0910.patch
Patch78: php-4.3.9-CVE-2007-0988.patch
Patch79: php-5.1.6-CVE-2007-1285.patch
Patch80: php-5.1.6-CVE-2007-1583.patch
Patch81: php-5.1.6-CVE-2007-0455.patch
Patch82: php-5.1.6-CVE-2007-1001.patch
Patch83: php-5.1.6-CVE-2007-1718.patch
Patch84: php-5.1.6-CVE-2007-1864.patch
Patch85: php-5.1.6-soapredir.patch
Patch86: php-5.1.6-ftpcrlf.patch
Patch87: php-5.1.6-CVE-2007-2872.patch
Patch88: php-5.1.6-CVE-2007-4658.patch
Patch89: php-5.1.6-CVE-2007-2756.patch
Patch90: php-5.1.6-CVE-2007-3799.patch
Patch91: php-5.1.6-CVE-2007-3996.patch
Patch92: php-5.1.6-CVE-2007-4670.patch
Patch93: php-5.1.6-CVE-2007-3998.patch
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel
BuildRequires: gmp-devel, aspell-devel >= 0.50.0
BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel
BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0
BuildRequires: zlib-devel, pcre-devel >= 4.5, smtpdaemon
BuildRequires: bzip2, fileutils, file >= 4.0, perl, libtool >= 1.4.3, gcc-c++
Obsoletes: php-dbg, php3, phpfi, stronghold-php
# Enforce Apache module ABI compatibility
Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
Requires: file >= 4.0
Provides: mod_php = %{version}-%{release}
Requires: php-common = %{version}-%{release}
# For backwards-compatibility, require php-cli for the time being:
Requires: php-cli = %{version}-%{release}
%description
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.
The php package contains the module which adds support for the PHP
language to Apache HTTP Server.
%package cli
Group: Development/Languages
Summary: Command-line interface for PHP
Requires: php-common = %{version}-%{release}
Provides: php-cgi = %{version}-%{release}
Provides: php-pcntl
%description cli
The php-cli package contains the command-line interface
executing PHP scripts, /usr/bin/php, and the CGI interface.
%package common
Group: Development/Languages
Summary: Common files for PHP
Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
# Provides for all builtin modules:
Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif
Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml
Provides: php-mime_magic, php-openssl, php-pcre, php-posix, php-pspell
Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer
Provides: php-wddx, php-zlib
#AZ
Provides: php-oci
#AZ
Obsoletes: php-openssl
%description common
The php-common package contains files used by both the php
package and the php-cli package.
%package devel
Group: Development/Libraries
Summary: Files needed for building PHP extensions.
Requires: php = %{version}-%{release}, autoconf, automake
Obsoletes: php-pecl-pdo-devel
%description devel
The php-devel package contains the files needed for building PHP
extensions. If you need to compile your own PHP extensions, you will
need to install this package.
%package imap
Summary: A module for PHP applications that use IMAP.
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Obsoletes: mod_php3-imap, stronghold-php-imap
BuildRequires: krb5-devel, openssl-devel, libc-client-devel
%description imap
The php-imap package contains a dynamic shared object (DSO) for the
Apache Web server. When compiled into Apache, the php-imap module will
add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
protocol for retrieving and uploading e-mail messages on mail
servers. PHP is an HTML-embedded scripting language. If you need IMAP
support for PHP applications, you will need to install this package
and the php package.
%package ldap
Summary: A module for PHP applications that use LDAP.
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Obsoletes: mod_php3-ldap, stronghold-php-ldap
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
%description ldap
The php-ldap package is a dynamic shared object (DSO) for the Apache
Web server that adds Lightweight Directory Access Protocol (LDAP)
support to PHP. LDAP is a set of protocols for accessing directory
services over the Internet. PHP is an HTML-embedded scripting
language. If you need LDAP support for PHP applications, you will
need to install this package in addition to the php package.
%package pdo
Summary: A database access abstraction module for PHP applications
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo
Provides: php-pdo-abi = %{pdover}
%description pdo
The php-pdo package contains a dynamic shared object that will add
a database access abstraction layer to PHP. This module provides
a common interface for accessing MySQL, PostgreSQL or other
databases.
%package mysql
Summary: A module for PHP applications that use MySQL databases.
Group: Development/Languages
Requires: php-common = %{version}-%{release}, php-pdo
Provides: php_database, php-mysqli
Obsoletes: mod_php3-mysql, stronghold-php-mysql
BuildRequires: mysql-devel >= 4.1.0
%description mysql
The php-mysql package contains a dynamic shared object that will add
MySQL database support to PHP. MySQL is an object-relational database
management system. PHP is an HTML-embeddable scripting language. If
you need MySQL support for PHP applications, you will need to install
this package and the php package.
%package pgsql
Summary: A PostgreSQL database module for PHP.
Group: Development/Languages
Requires: php-common = %{version}-%{release}, php-pdo
Provides: php_database
Obsoletes: mod_php3-pgsql, stronghold-php-pgsql
BuildRequires: krb5-devel, openssl-devel, postgresql-devel
%description pgsql
The php-pgsql package includes a dynamic shared object (DSO) that can
be compiled in to the Apache Web server to add PostgreSQL database
support to PHP. PostgreSQL is an object-relational database management
system that supports almost all SQL constructs. PHP is an
HTML-embedded scripting language. If you need back-end support for
PostgreSQL, you should install this package in addition to the main
php package.
#AZ
# Added oci8. [email protected] May 2007
%package oci8
Summary: A module for PHP applications using the Oracle database
Group: Development/Languages
Requires: php-common = %{version}-%{release}, php-pdo
#BuildRequires: oracle-instantclient-devel = %{ociver}
Provides: php_database, php-oci
AutoReqProv: No
%description oci8
The php-oci8 package contains a dynamic shared object (DSO) for the
Apache Web server. When compiled into Apache, the php-oci8 module will
add OCI8 support to PHP. OCI8 is an extension for Oracle Database
access. PHP is an HTML-embedded scripting language. If you need
Oracle support for PHP applications, you can install this package and
the php package.
This package also contains PDO_OCI for use with the PDO extension.
#AZ
%package odbc
Group: Development/Languages
Requires: php-common = %{version}-%{release}, php-pdo
Summary: A module for PHP applications that use ODBC databases.
Provides: php_database
Obsoletes: stronghold-php-odbc
BuildRequires: unixODBC-devel
%description odbc
The php-odbc package contains a dynamic shared object that will add
database support through ODBC to PHP. ODBC is an open specification
which provides a consistent API for developers to use for accessing
data sources (which are often, but not always, databases). PHP is an
HTML-embeddable scripting language. If you need ODBC support for PHP
applications, you will need to install this package and the php
package.
%package soap
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Summary: A module for PHP applications that use the SOAP protocol
BuildRequires: libxml2-devel
%description soap
The php-soap package contains a dynamic shared object that will add
support to PHP for using the SOAP web services protocol.
%package snmp
Summary: A module for PHP applications that query SNMP-managed devices.
Group: Development/Languages
Requires: php-common = %{version}-%{release}, net-snmp
BuildRequires: net-snmp-devel
%description snmp
The php-snmp package contains a dynamic shared object that will add
support for querying SNMP devices to PHP. PHP is an HTML-embeddable
scripting language. If you need SNMP support for PHP applications, you
will need to install this package and the php package.
%package xml
Summary: A module for PHP applications which use XML
Group: Development/Languages
Requires: php-common = %{version}-%{release}
Obsoletes: php-domxml, php-dom
Provides: php-dom, php-xsl, php-domxml
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
%description xml
The php-xml package contains dynamic shared objects which add support
to PHP for manipulating XML documents using the DOM tree,
and performing XSL transformations on XML documents.
%package xmlrpc
Summary: A module for PHP applications which use the XML-RPC protocol
Group: Development/Languages
Requires: php-common = %{version}-%{release}
BuildRequires: expat-devel
%description xmlrpc
The php-xmlrpc package contains a dynamic shared object that will add
support for the XML-RPC protocol to PHP.
%package mbstring
Summary: A module for PHP applications which need multi-byte string handling
Group: Development/Languages
Requires: php-common = %{version}-%{release}
%description mbstring
The php-mbstring package contains a dynamic shared object that will add
support for multi-byte string handling to PHP.
%package ncurses
Summary: A module for PHP applications for using ncurses interfaces
Group: Development/Languages
Requires: php-common = %{version}-%{release}
BuildRequires: ncurses-devel
%description ncurses
The php-ncurses package contains a dynamic shared object that will add
support for using the ncurses terminal output interfaces.
%package gd
Summary: A module for PHP applications for using the gd graphics library
Group: Development/Languages
Requires: php-common = %{version}-%{release}
BuildRequires: gd-devel, freetype-devel
%description gd
The php-gd package contains a dynamic shared object that will add
support for using the gd graphics library to PHP.
%package bcmath
Summary: A module for PHP applications for using the bcmath library
Group: Development/Languages
Requires: php-common = %{version}-%{release}
%description bcmath
The php-bcmath package contains a dynamic shared object that will add
support for using the bcmath library to PHP.
%package dba
Summary: A database abstraction layer module for PHP applications
Group: Development/Languages
Requires: php-common = %{version}-%{release}
%description dba
The php-dba package contains a dynamic shared object that will add
support for using the DBA database abstraction layer to PHP.
%prep
%setup -q
%patch1 -p1 -b .gnusrc
%patch2 -p1 -b .warnings
%patch5 -p1 -b .install
%patch6 -p1 -b .norpath
%patch7 -p1 -b .libtool15
%patch13 -p1 -b .phpize64
%patch14 -p1 -b .ecalloc
%patch21 -p1 -b .odbc
%patch22 -p1 -b .shutdown
%patch30 -p1 -b .dlopen
%patch31 -p1 -b .easter
%patch50 -p1 -b .tests-dashn
%patch51 -p1 -b .tests-wddx
%patch70 -p1 -b .cve5465
%patch71 -p1 -b .cve0906-imap
%patch72 -p1 -b .cve0906-strreplace
%patch73 -p1 -b .cve0907
%patch74 -p1 -b .cve0908
%patch75 -p1 -b .cve0909-odbc
%patch76 -p1 -b .cve0909-printf
%patch77 -p1 -b .cve0910
%patch78 -p1 -b .cve0988
%patch79 -p1 -b .cve1285
%patch80 -p1 -b .cve1583
%patch81 -p1 -b .cve0455
%patch82 -p1 -b .cve1001
%patch83 -p1 -b .cve1718
%patch84 -p1 -b .cve1864
%patch85 -p1 -b .soapredir
%patch86 -p1 -b .ftpcrlf
%patch87 -p1 -b .cve2872
%patch88 -p1 -b .cve4658
%patch89 -p1 -b .cve2756
%patch90 -p1 -b .cve3799
%patch91 -p1 -b .cve3996
%patch92 -p1 -b .cve4670
%patch93 -p1 -b .cve3998
# Prevent %%doc confusion over LICENSE files
cp Zend/LICENSE Zend/ZEND_LICENSE
cp TSRM/LICENSE TSRM_LICENSE
cp regex/COPYRIGHT regex_COPYRIGHT
cp ext/gd/libgd/README gd_README
# Source is built twice: once for /usr/bin/php, once for the Apache DSO.
mkdir build-cgi build-apache
# Remove bogus test; position of read position after fopen(, "a+")
# is not defined by C standard, so don't presume anything.
rm -f ext/standard/tests/file/bug21131.phpt
# Tests that fail.
rm -f ext/standard/tests/file/bug22414.phpt \
ext/iconv/tests/bug16069.phpt
#AZ
# Tests that fail.
rm -f ext/oci8/tests/bug27303.phpt \
ext/oci8/tests/bug27303_2.phpt \
ext/oci8/tests/bug27303_4.phpt
# OCI8 config file. [email protected] May 2007
cat <<EOF > ext/oci8/tests/details.inc
<?php
* Please, change user, password and dbase to match your configuration.
\$user = "scott";
\$password = "%{oci8_test_system_password}";
\$dbase = "%{oci8_test_connection_string}";
/* Set this variable to TRUE if Oracle is installed @ localhost */
\$oracle_on_localhost = %{oci8_test_local_db};
?>
EOF
#AZ
# Safety check for API version change.
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
if test "x${vapi}" != "x%{apiver}"; then
: Error: Upstream API version is now ${vapi}, expecting %{apiver}.
: Update the apiver macro and rebuild.
exit 1
fi
# Safety check for Zend API version change.
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
if test "x${vzend}" != "x%{zendver}"; then
: Error: Upstream Zend module ABI version is now ${vzend}, expecting %{zendver}.
: Update the zendver macro and rebuild.
exit 1
fi
# Safety check for PDO ABI version change
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h`
if test "x${vpdo}" != "x%{pdover}"; then
: Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
: Update the pdover macro and rebuild.
exit 1
fi
%build
# Force use of system libtool:
libtoolize force copy
cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4
# Regenerate configure scripts (patches change config.m4's)
./buildconf --force
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
CPPFLAGS="-DLDAP_DEPRECATED=1"
export CFLAGS CPPFLAGS
# Install extension modules in %{_libdir}/php/modules.
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
# includes the PEAR directory even though pear is packaged
# separately.
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
# Shell function to configure and build a PHP tree.
build() {
# bison-1.875-2 seems to produce a broken parser; workaround.
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
ln -sf ../configure
%configure \
--cache-file=../config.cache \
--with-libdir=%{_lib} \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--disable-debug \
--with-pic \
--disable-rpath \
--without-pear \
--with-bz2 \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--enable-gd-native-ttf \
--without-gdbm \
--with-gettext \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-expat-dir=%{_prefix} \
--with-pcre-regex=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
enable-sysvsem enable-sysvshm --enable-sysvmsg \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--with-kerberos \
--enable-ucd-snmp-hack \
--with-unixODBC=shared,%{_prefix} \
--enable-memory-limit \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--with-mime-magic=%{_sysconfdir}/httpd/conf/magic \
--without-sqlite \
--with-libxml-dir=%{_prefix} \
--with-oci8=$ORACLE_HOME \
--with-apxs2=/usr/sbin/apxs \
--with-xml \
$*
if test $? != 0; then
tail -500 config.log
: configure failed
exit 1
fi
make %{?_smp_mflags}
# Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
pushd build-cgi
build --enable-force-cgi-redirect \
--enable-pcntl \
with-imap=shared with-imap-ssl \
enable-mbstring=shared enable-mbstr-enc-trans \
--enable-mbregex \
--with-ncurses=shared \
--with-gd=shared \
--enable-bcmath=shared \
enable-dba=shared with-db4=%{_prefix} \
--with-xmlrpc=shared \
--with-ldap=shared \
--with-mysql=shared,%{_prefix} \
--with-mysqli=shared,%{_bindir}/mysql_config \
--enable-dom=shared \
--with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--enable-soap=shared \
--with-xsl=shared,%{_prefix} \
enable-xmlreader=shared enable-xmlwriter=shared \
--enable-fastcgi \
--enable-pdo=shared \
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
--with-pdo-mysql=shared,%{_prefix} \
--with-pdo-pgsql=shared,%{_prefix} \
--with-pdo-sqlite=shared,%{_prefix} \
# --with-pdo-oci=shared,$ORACLE_HOME \
--with-oci8 \
--enable-sigchild
popd
# Build Apache module, and the CLI SAPI, /usr/bin/php
pushd build-apache
build --with-apxs2=%{_sbindir}/apxs \
without-mysql without-gd \
without-odbc disable-dom \
disable-dba without-unixODBC \
disable-pdo disable-xmlreader --disable-xmlwriter
popd
%check
cd build-apache
# Run tests, using the CLI SAPI
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
unset TZ LANG LC_ALL
#AZ
# Allows PDO_OCI tests to connect. [email protected] May 2007
#export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
#export PDO_OCI_TEST_USER=scott
#export PDO_OCI_TEST_PASS=%{oci8_test_system_password}
#AZ
if ! make test; then
set +x
for f in `find .. -name \*.diff -type f -print`; do
echo "TEST FAILURE: $f --"
cat "$f"
echo "-- $f result ends."
done
set -x
#exit 1
fi
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
# Install everything from the CGI SAPI build
pushd build-cgi
make install INSTALL_ROOT=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_bindir}/php $RPM_BUILD_ROOT%{_bindir}/php-cgi
# Install the CLI SAPI as /usr/bin/php
make install-cli INSTALL_ROOT=$RPM_BUILD_ROOT
popd
# Install the Apache module
pushd build-apache
make install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
popd
# Install the default configuration file and icons
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
# For PEAR packaging:
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear
# Use correct libdir
sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
# install the DSO
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
# Apache config fragment
install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
# Generate files lists and stub .ini files for each subpackage
#AZ
for mod in oci8 pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
#AZ
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
; Enable ${mod} extension module
extension=${mod}.so
EOF
cat > files.${mod} <<EOF
%attr(755,root,root) %{_libdir}/php/modules/${mod}.so
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini
EOF
done
# The dom, xsl and xml* modules are all packaged in php-xml
cat files.dom files.xsl files.xml{reader,writer} > files.xml
# The mysql and mysqli modules are both packaged in php-mysql
cat files.mysqli >> files.mysql
# Split out the PDO modules
#AZ
cat files.pdo_oci >> files.oci8
#AZ
cat files.pdo_mysql >> files.mysql
cat files.pdo_pgsql >> files.pgsql
cat files.pdo_odbc >> files.odbc
# Package pdo_sqlite with pdo; isolating the sqlite dependency
# isn't useful at this time since rpm itself requires sqlite.
cat files.pdo_sqlite >> files.pdo
# Remove unpackaged files
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
$RPM_BUILD_ROOT%{_bindir}/{phptar} \
$RPM_BUILD_ROOT%{_datadir}/pear
# Remove irrelevant docs
rm -f README.{Zeus,QNX,CVS-RULES}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
rm files.*
%files
%defattr(-,root,root)
%{_libdir}/httpd/modules/libphp5.so
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
%config %{_sysconfdir}/httpd/conf.d/php.conf
%{contentdir}/icons/php.gif
%files common
%defattr(-,root,root)
%doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
%doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT
%config %{_sysconfdir}/php.ini
%dir %{_sysconfdir}/php.d
%dir %{_libdir}/php
%dir %{_libdir}/php/modules
%dir %{_localstatedir}/lib/php
%dir %{_libdir}/php/pear
%files cli
%defattr(-,root,root)
%{_bindir}/php
%{_bindir}/php-cgi
%{_mandir}/man1/php.1*
%files devel
%defattr(-,root,root)
%{_bindir}/php-config
%{_bindir}/phpize
%{_includedir}/php
%{_libdir}/php/build
%{_mandir}/man1/php-config.1*
%{_mandir}/man1/phpize.1*
%files pgsql -f files.pgsql
%files mysql -f files.mysql
%files odbc -f files.odbc
%files imap -f files.imap
%files ldap -f files.ldap
%files snmp -f files.snmp
%files xml -f files.xml
%files xmlrpc -f files.xmlrpc
%files mbstring -f files.mbstring
%files ncurses -f files.ncurses
%files gd -f files.gd
%files soap -f files.soap
%files bcmath -f files.bcmath
%files dba -f files.dba
%files pdo -f files.pdo
#AZ
%files oci8 -f files.oci8
#AZ
%changelog
* Wed Sep 12 2007 Joe Orton <[email protected]> 5.1.6-15.el5
- improve fix for CVE-2007-3997 (#278411)
* Fri Sep 7 2007 Joe Orton <[email protected]> 5.1.6-14.el5
- fix backport for CVE-2007-3996 (#278411)
* Thu Sep 6 2007 Joe Orton <[email protected]> 5.1.6-13.el5
- add security fixes for CVE-2007-2756, CVE-2007-2872,
CVE-2007-3799, CVE-2007-3996, CVE-2007-3998, CVE-2007-4658,
CVE-2007-4670 (#278411)
* Wed Apr 4 2007 Joe Orton <[email protected]> 5.1.6-12.el5
- add security fix for CVE-2007-1864, SOAP redirect handling issue,
FTP CRLF injection issue (#235016)
* Wed Apr 4 2007 Joe Orton <[email protected]> 5.1.6-11.el5
- add security fix for CVE-2007-1718 (#235016)
* Tue Apr 3 2007 Joe Orton <[email protected]> 5.1.6-9.el5
- add security fix for CVE-2007-1583 (#235016)
- add security fixes for CVE-2007-0455, CVE-2007-1001 (#235036)
* Fri Mar 9 2007 Joe Orton <[email protected]> 5.1.6-7.el5
- add security fix for CVE-2007-1285 (#231597)
* Fri Feb 16 2007 Joe Orton <[email protected]> 5.1.6-6.el5
- add security fixes for: CVE-2007-0906, CVE-2007-0907,
CVE-2007-0908, CVE-2007-0909, CVE-2007-0910, CVE-2007-0988 (#229013)
* Tue Dec 19 2006 Joe Orton <[email protected]> 5.1.6-5.el5
- fix version for php-zend-abi (#218758)
* Thu Nov 23 2006 Joe Orton <[email protected]> 5.1.6-4.el5
- php-xml provides php-domxml (#215656)
- fix php-pdo-abi provide (#214281)
- provide php-zend-abi (#212804)
- don't Obsolete mod_php
- fix PDO sqlite TEXT extraction truncate-by-one (#217033)
- package php{ize,-config} man pages in -devel (#199382)
- change module subpackages to require php-common not php (#177821)
- add security fix for CVE-2006-5465 (#216114)
* Wed Oct 4 2006 Joe Orton <[email protected]> 5.1.6-3
- from upstream: add safety checks against integer overflow in _ecalloc
* Tue Aug 29 2006 Joe Orton <[email protected]> 5.1.6-2
- update to 5.1.6 (security fixes)
- bump default memory_limit to 16M (#196802)
* Wed Jul 12 2006 Jesse Keating <[email protected]> - 5.1.4-8.1
- rebuild
* Fri Jun 9 2006 Joe Orton <[email protected]> 5.1.4-8
- Provide php-posix (#194583)
- only provide php-pcntl from -cli subpackage
- add missing defattr's (thanks to Matthias Saou)
* Fri Jun 9 2006 Joe Orton <[email protected]> 5.1.4-7
- move Obsoletes for php-openssl to -common (#194501)
- Provide: php-cgi from -cli subpackage
* Fri Jun 2 2006 Joe Orton <[email protected]> 5.1.4-6
- split out php-cli, php-common subpackages (#177821)
- add php-pdo-abi version export (#193202)
* Wed May 24 2006 Radek Vokal <[email protected]> 5.1.4-5.1
- rebuilt for new libnetsnmp
* Thu May 18 2006 Joe Orton <[email protected]> 5.1.4-5
- provide mod_php (#187891)
- provide php-cli (#192196)
- use correct LDAP fix (#181518)
- define GNUSOURCE in php_config.h and leave it defined
- drop (circular) dependency on php-pear
* Mon May 8 2006 Joe Orton <[email protected]> 5.1.4-3
- update to 5.1.4
* Wed May 3 2006 Joe Orton <[email protected]> 5.1.3-3
- update to 5.1.3
* Tue Feb 28 2006 Joe Orton <[email protected]> 5.1.2-5
- provide php-api (#183227)
- add provides for all builtin modules (Tim Jackson, #173804)
- own %%{_libdir}/php/pear for PEAR packages (per #176733)
- add obsoletes to allow upgrade from FE4 PDO packages (#181863)
* Fri Feb 10 2006 Jesse Keating <[email protected]> - 5.1.2-4.3
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <[email protected]> - 5.1.2-4.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Tue Jan 31 2006 Joe Orton <[email protected]> 5.1.2-4
- rebuild for new libc-client soname
* Mon Jan 16 2006 Joe Orton <[email protected]> 5.1.2-3
- only build xmlreader and xmlwriter shared (#177810)
* Fri Jan 13 2006 Joe Orton <[email protected]> 5.1.2-2
- update to 5.1.2
* Thu Jan 5 2006 Joe Orton <[email protected]> 5.1.1-8
- rebuild again
* Mon Jan 2 2006 Joe Orton <[email protected]> 5.1.1-7
- rebuild for new net-snmp
* Mon Dec 12 2005 Joe Orton <[email protected]> 5.1.1-6
- enable short_open_tag in default php.ini again (#175381)
* Fri Dec 09 2005 Jesse Keating <[email protected]>
- rebuilt
* Thu Dec 8 2005 Joe Orton <[email protected]> 5.1.1-5
- require net-snmp for php-snmp (#174800)
* Sun Dec 4 2005 Joe Orton <[email protected]> 5.1.1-4
- add /usr/share/pear back to hard-coded include_path (#174885)
* Fri Dec 2 2005 Joe Orton <[email protected]> 5.1.1-3
- rebuild for httpd 2.2
* Mon Nov 28 2005 Joe Orton <[email protected]> 5.1.1-2
- update to 5.1.1
- remove pear subpackage
- enable pdo extensions (php-pdo subpackage)
- remove non-standard conditional module builds
- enable xmlreader extension
* Thu Nov 10 2005 Tomas Mraz <[email protected]> 5.0.5-6
- rebuilt against new openssl
* Mon Nov 7 2005 Joe Orton <[email protected]> 5.0.5-5
- pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
* Tue Nov 1 2005 Joe Orton <[email protected]> 5.0.5-4
- rebuild for new libnetsnmp
* Wed Sep 14 2005 Joe Orton <[email protected]> 5.0.5-3
- update to 5.0.5
- add fix for upstream #34435
- devel: require autoconf, automake (#159283)
- pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
- fix imagettftext et al (upstream, #161001)
* Thu Jun 16 2005 Joe Orton <[email protected]> 5.0.4-11
- ldap: restore ldap_start_tls() function
* Fri May 6 2005 Joe Orton <[email protected]> 5.0.4-10
- disable RPATHs in shared extensions (#156974)
* Tue May 3 2005 Joe Orton <[email protected]> 5.0.4-9
- build simplexml_import_dom even with shared dom (#156434)
- prevent truncation of copied files to ~2Mb (#155916)
- install /usr/bin/php from CLI build alongside CGI
- enable sysvmsg extension (#142988)
* Mon Apr 25 2005 Joe Orton <[email protected]> 5.0.4-8
- prevent build of builtin dba as well as shared extension
* Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-7
- split out dba and bcmath extensions into subpackages
- BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
- pear: update to DB-1.7.6
- enable FastCGI support in /usr/bin/php-cgi (#149596)
* Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-6
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
built with the CGI SAPI (thanks to Edward Rudd, #137704)
- add php(1) man page for CLI
- fix more test cases to use -n when invoking php
* Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-5
- rebuild for new libpq soname
* Tue Apr 12 2005 Joe Orton <[email protected]> 5.0.4-4
- bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
- snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
- mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
* Mon Apr 11 2005 Joe Orton <[email protected]> 5.0.4-3
- build shared objects as PIC (#154195)
* Mon Apr 4 2005 Joe Orton <[email protected]> 5.0.4-2
- fix PEAR installation and bundle PEAR DB-1.7.5 package
* Fri Apr 1 2005 Joe Orton <[email protected]> 5.0.4-1
- update to 5.0.4 (#153068)
- add .phps AddType to php.conf (#152973)
- better gcc4 fix for libxmlrpc
* Wed Mar 30 2005 Joe Orton <[email protected]> 5.0.3-5
- BuildRequire mysql-devel >= 4.1
- don't mark php.ini as noreplace to make upgrades work (#152171)
- fix subpackage descriptions (#152628)
- fix memset(,,0) in Zend (thanks to Dave Jones)
- fix various compiler warnings in Zend
* Thu Mar 24 2005 Joe Orton <[email protected]> 5.0.3-4
- package mysqli extension in php-mysql
- really enable pcntl (#142903)
- don't build with --enable-safe-mode (#148969)
- use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
* Fri Feb 18 2005 Joe Orton <[email protected]> 5.0.3-3
- fix build with GCC 4
* Wed Feb 9 2005 Joe Orton <[email protected]> 5.0.3-2
- install the ext/gd headers (#145891)
- enable pcntl extension in /usr/bin/php (#142903)
- add libmbfl array arithmetic fix ([email protected], #143795)
- add BuildRequire for recent pcre-devel (#147448)
* Wed Jan 12 2005 Joe Orton <[email protected]> 5.0.3-1
- update to 5.0.3 (thanks to Robert Scheck et al, #143101)
- enable xsl extension (#142174)
- package both the xsl and dom extensions in php-xml
- enable soap extension, shared (php-soap package) (#142901)
- add patches from upstream 5.0 branch:
* Zend_strtod.c compile fixes
* correct php_sprintf return value usage
* Mon Nov 22 2004 Joe Orton <[email protected]> 5.0.2-8
- update for db4-4.3 (Robert Scheck, #140167)
- build against mysql-devel
- run tests in %%check
* Wed Nov 10 2004 Joe Orton <[email protected]> 5.0.2-7
- truncate changelog at 4.3.1-1
- merge from 4.3.x package:
- enable mime_magic extension and Require: file (#130276)
* Mon Nov 8 2004 Joe Orton <[email protected]> 5.0.2-6
- fix dom/sqlite enable/without confusion
* Mon Nov 8 2004 Joe Orton <[email protected]> 5.0.2-5
- fix phpize installation for lib64 platforms
- add fix for segfault in variable parsing introduced in 5.0.2
* Mon Nov 8 2004 Joe Orton <[email protected]> 5.0.2-4
- update to 5.0.2 (#127980)
- build against mysqlclient10-devel
- use new RTLD_DEEPBIND to load extension modules
- drop explicit requirement for elfutils-devel
- use AddHandler in default conf.d/php.conf (#135664)
- "fix" round() fudging for recent gcc on x86
- disable sqlite pending audit of warnings and subpackage split
* Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-4
- don't build dom extension into 2.0 SAPI
* Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-3
- ExclusiveArch: x86 ppc x86_64 for the moment
* Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-2
- fix default extension_dir and conf.d/php.conf
* Thu Sep 9 2004 Joe Orton <[email protected]> 5.0.1-1
- update to 5.0.1
- only build shared modules once
- put dom extension in php-dom subpackage again
- move extension modules into %%{_libdir}/php/modules
- don't use --with-regex=system, it's ignored for the apache* SAPIs
* Wed Aug 11 2004 Tom Callaway <[email protected]>
- Merge in some spec file changes from Jeff Stern ([email protected])
* Mon Aug 09 2004 Tom Callaway <[email protected]>
- bump to 5.0.0
- add patch to prevent clobbering struct re_registers from regex.h
- remove domxml references, replaced with dom now built-in
- fix php.ini to refer to php5 not php4
* Wed Aug 04 2004 Florian La Roche <[email protected]>
- rebuild
* Wed Jul 14 2004 Joe Orton <[email protected]> 4.3.8-3
- update to 4.3.8
- catch some fd > FD_SETSIZE vs select() issues (#125258)
* Mon Jun 21 2004 Joe Orton <[email protected]> 4.3.7-4
- pick up test failures again
- have -devel require php of same release
* Thu Jun 17 2004 Joe Orton <[email protected]> 4.3.7-3
- add gmp_powm fix (Oskari Saarenmaa, #124318)
- split mbstring, ncurses, gd, openssl extns into subpackages
- fix memory leak in apache2handler; use ap_r{write,flush}
rather than brigade interfaces
* Tue Jun 15 2004 Elliot Lee <[email protected]>
- rebuilt
* Thu Jun 3 2004 Joe Orton <[email protected]> 4.3.7-1
- update to 4.3.7
- have -pear subpackage require php of same VR
* Wed May 26 2004 Joe Orton <[email protected]> 4.3.6-6
- buildrequire smtpdaemon (#124430)
- try switching to system libgd again (prevent symbol conflicts
when e.g. mod_perl loads the system libgd library.)
* Wed May 19 2004 Joe Orton <[email protected]> 4.3.6-5
- don't obsolete php-imap (#123580)
- unconditionally build -imap subpackage
* Thu May 13 2004 Joe Orton <[email protected]> 4.3.6-4
- remove trigger
* Thu Apr 22 2004 Joe Orton <[email protected]> 4.3.6-3
- fix umask reset "feature" (#121454)
- don't use DL_GLOBAL when dlopen'ing extension modules
* Sun Apr 18 2004 Joe Orton <[email protected]> 4.3.6-2
- fix segfault on httpd SIGHUP (upstream #27810)
* Fri Apr 16 2004 Joe Orton <[email protected]> 4.3.6-1
- update to 4.3.6 (Robert Scheck, #121011)
* Wed Apr 7 2004 Joe Orton <[email protected]> 4.3.4-11
- add back imap subpackage, using libc-client (#115535)
* Tue Mar 02 2004 Elliot Lee <[email protected]>
- rebuilt
* Wed Feb 18 2004 Joe Orton <[email protected]> 4.3.4-10
- eliminate /usr/local/lib RPATH in odbc.so
- really use system pcre library
* Fri Feb 13 2004 Elliot Lee <[email protected]> 4.3.4-9
- rebuilt
* Mon Feb 2 2004 Bill Nottingham <[email protected]> 4.3.4-8
- obsolete php-imap if we're not building it
* Wed Jan 28 2004 Joe Orton <[email protected]> 4.3.4-7
- gd fix for build with recent Freetype2 (from upstream)
- remove easter egg (Oden Eriksson, Mandrake)
* Wed Jan 21 2004 Joe Orton <[email protected]> 4.3.4-6
- php-pear requires php
- also remove extension=imap from php.ini in upgrade trigger
- merge from Taroon: allow upgrade from Stronghold 4.0
* Wed Jan 21 2004 Joe Orton <[email protected]> 4.3.4-5
- add defattr for php-pear subpackage
- restore defaults: output_buffering=Off, register_argc_argv=On
- add trigger to handle php.ini upgrades smoothly (#112470)
* Tue Jan 13 2004 Joe Orton <[email protected]> 4.3.4-4
- conditionalize support for imap extension for the time being
- switch /etc/php.ini to use php.ini-recommended (but leave
variables_order as EGPCS) (#97765)
- set session.path to /var/lib/php/session by default (#89975)
- own /var/lib/php{,/session} and have apache own the latter
- split off php-pear subpackage (#83771)
* Sat Dec 13 2003 Jeff Johnson <[email protected]> 4.3.4-3
- rebuild against db-4.2.52.
* Mon Dec 1 2003 Joe Orton <[email protected]> 4.3.4-2
- rebuild for new libxslt (#110658)
- use --with-{mssql,oci8} for enabling extensions (#110482)
- fix rebuild issues (Jan Visser, #110274)
- remove hard-coded LIBS
- conditional support for mhash (Aleksander Adamowski, #111251)
* Mon Nov 10 2003 Joe Orton <[email protected]> 4.3.4-1.1
- rebuild for FC1 updates
* Mon Nov 10 2003 Joe Orton <[email protected]> 4.3.4-1
- update to 4.3.4
- include all licence files
- libxmlrpc fixes
* Mon Oct 20 2003 Joe Orton <[email protected]> 4.3.3-6
- use bundled libgd (#107407)
- remove manual: up-to-date manual sources are no longer DFSG-free;
it's too big; it's on the web anyway; #91292, #105804, #107384
* Wed Oct 15 2003 Joe Orton <[email protected]> 4.3.3-5
- add php-xmlrpc subpackage (#107138)
* Mon Oct 13 2003 Joe Orton <[email protected]> 4.3.3-4
- drop recode support, symbols collide with MySQL
* Sun Oct 12 2003 Joe Orton <[email protected]> 4.3.3-3
- split domxml extension into php-domxml subpackage
- enable xslt and xml support in domxml extension (#106042)
- fix httpd-devel build requirement (#104341)
- enable recode extension (#106755)
- add workaround for #103982
* Thu Sep 25 2003 Jeff Johnson <[email protected]> 4.3.3-3
- rebuild against db-4.2.42.
* Sun Sep 7 2003 Joe Orton <[email protected]> 4.3.3-2
- don't use --enable-versioning, it depends on libtool being
broken (#103690)
* Sun Sep 7 2003 Joe Orton <[email protected]> 4.3.3-1
- update to 4.3.3
- add libtool build prereq (#103388)
- switch to apache2handler
* Mon Jul 28 2003 Joe Orton <[email protected]> 4.3.2-8
- rebuild
* Tue Jul 22 2003 Nalin Dahyabhai <[email protected]> 4.3.2-7
- rebuild
* Tue Jul 8 2003 Joe Orton <[email protected]> 4.3.2-6
- use system pcre library
* Mon Jun 9 2003 Joe Orton <[email protected]> 4.3.2-5
- enable mbstring and mbregex (#81336)
- fix use of libtool 1.5
* Wed Jun 04 2003 Elliot Lee <[email protected]>
- rebuilt
* Tue Jun 3 2003 Joe Orton <[email protected]> 4.3.2-3
- add lib64 and domxml fixes
* Tue Jun 3 2003 Frank Dauer <[email protected]>
- added conditional support for mssql module (#92149)
* Fri May 30 2003 Joe Orton <[email protected]> 4.3.2-2
- update the -tests and -lib64 patches
- fixes for db4 detection
- require aspell-devel >= 0.50.0 for pspell compatibility
* Thu May 29 2003 Joe Orton <[email protected]> 4.3.2-1
- update to 4.3.2
* Fri May 16 2003 Joe Orton <[email protected]> 4.3.1-3
- link odbc module correctly
- patch so that php -n doesn't scan inidir
- run tests using php -n, avoid loading system modules
* Wed May 14 2003 Joe Orton <[email protected]> 4.3.1-2
- workaround broken parser produced by bison-1.875
* Tue May 6 2003 Joe Orton <[email protected]> 4.3.1-1
- update to 4.3.1; run test suite
- open extension modules with RTLD_NOW rather than _LAZYThe error is :
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
+ with-oci8 enable-sigchild
/var/tmp/rpm-tmp.3167: line 156: --with-oci8: command not found
error: Bad exit status from /var/tmp/rpm-tmp.3167 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.3167 (%build)If i modify spec like this :
# Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
pushd build-cgi
build --enable-force-cgi-redirect \
--enable-pcntl \
with-imap=shared with-imap-ssl \
enable-mbstring=shared enable-mbstr-enc-trans \
--enable-mbregex \
--with-ncurses=shared \
--with-gd=shared \
--enable-bcmath=shared \
enable-dba=shared with-db4=%{_prefix} \
--with-xmlrpc=shared \
--with-ldap=shared \
--with-mysql=shared,%{_prefix} \
--with-mysqli=shared,%{_bindir}/mysql_config \
--enable-dom=shared \
--with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--enable-soap=shared \
--with-xsl=shared,%{_prefix} \
enable-xmlreader=shared enable-xmlwriter=shared \
--enable-fastcgi \
--enable-pdo=shared \
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
--with-pdo-mysql=shared,%{_prefix} \
--with-pdo-pgsql=shared,%{_prefix} \
--with-pdo-sqlite=shared,%{_prefix} \
# --with-pdo-oci=shared,$ORACLE_HOME \
--with-oci8=shared,$ORACLE_HOME/lib \
--enable-sigchild
popdI'm getting :
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
+ with-oci8=shared,/u01/app/oracle/product/10.2.0/db_1/lib enable-sigchild
/var/tmp/rpm-tmp.11885: line 156: --with-oci8=shared,/u01/app/oracle/product/10.2.0/db_1/lib: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.11885 (%build)
Please help.and a bit further :
diff:
12,13c12,13
< %define oci8_test_system_password tiger
< %define oci8_test_connection_string localhost/lhome
%define oci8_test_system_password oracle
%define oci8_test_connection_string localhost/orcl2136,138c136,137
< Requires: php-common = %{version}-%{release}, php-pdo
< # oracle-instantclient-basic = %{ociver} php-pdo
< #BuildRequires: oracle-instantclient-devel = %{ociver}
Requires: php-common = %{version}-%{release}, oracle-instantclient-basic = %{ociver} php-pdo
BuildRequires: oracle-instantclient-devel = %{ociver}339c338
< \$user = "scott";
\$user = "system";487c486,487
< with-oci8 enable-sigchild
--with-pdo-oci=shared,instantclient,/usr,%{ociver} \
--with-oci8=shared,instantclient,/usr/lib/oracle/%{ociver}/client/lib --enable-sigchild496c496
< disable-pdo disable-xmlreader --disable-xmlwriter
disable-pdo disable-xmlreader --disable-xmlwriter506,508c506,508
< #export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
< #export PDO_OCI_TEST_USER=system
< #export PDO_OCI_TEST_PASS=%{oci8_test_system_password}
export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
export PDO_OCI_TEST_USER=system
export PDO_OCI_TEST_PASS=%{oci8_test_system_password}571c571
< pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite pdo_oci; do589c589
< #cat files.pdo_oci >> files.oci8
cat files.pdo_oci >> files.oci8rpmbuild -bi
+ '[' /var/tmp/php-root '!=' / ']'
+ rm -f /var/tmp/php-root/etc/httpd/conf/httpd.conf /var/tmp/php-root/etc/httpd/conf/httpd.conf.bak
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.40673
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd php-5.2.3
+ cd build-apache
+ export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
+ NO_INTERACTION=1
+ REPORT_EXIT_STATUS=1
+ MALLOC_CHECK_=2
+ unset TZ LANG LC_ALL
+ make test
Build complete.
Don't forget to run 'make test'.
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0etc. etc... -
Error installing oracle service registry 10.1.3.1
have installed oracle SOA suite 10.1.3.3.0 (oracle SOA suite 10.1.3.1.0 + patch) in advanced mode.
While installing Oracle service registry(10.1.3.1) , in application server selection page, there is no option to select the Application server for the version 10.1.3.3.0.
Available options are
oc4j standalone 10.1.2.0.2
oracle 10g 10.1.2.0.2.
oc4j standalone 10.1.3.1
oracle 10g 10.1.3.1
I went on with the installation by selecting oracle 10g 10.1.3.1.
Installation stops with a build error.
Prepare the build directory...
Create 'env.properties' demo settings file...
Create the Service Registry configuration file oracle-servletconf.xml...
Prepare Service Registry module...
Copy Service Registry libraries and classes...
Configure Systinet Registry module ..
Configuring Registry...
[java] BUILD FAILED
[java] file:D:/oracle/registry_10_1_3/etc/setup/setupserver.xml:538: A zip file cannot include itself
[java] Total time: 2 minutes 18 seconds
Java returned: 1
Installation failed. If accessible, see "d:\oracle\registry_10_1_3\log\install.log".
To correct installation parameters and resume installation click Recover.
.i am pasting the log file...
#Fri Apr 11 19:40:38 GMT+05:30 2008
olite.database.password.confirmation=***
porting.context=registry
db.system.name.condition=olite
porting.oracle.admin.password=***
porting.oracle.https.port=4443
alldb.create.datasource.name=jdbc/registryDS
porting.oracle.home=E\:\\product\\10.1.3.1\\OracleAS_1
porting.oracle.http.port=7777
alldb.create.datasource.indirect.password=***
install.server.admin.mail=[ admin e-mail ]
install.os.is.win.andcondition=true
create.desktop.icons=yes
porting.oracle.admin.name=oc4jadmin
olite.database.password=***
porting.make.deploy=yes
alldb.create.datasource.indirect.password.username=
porting.https.use=yes
porting.oracle.ormi.port=6003
alldb.install.registry.name=OracleAS Service Registry
install.server.admin.name=admin
account.backend.type.condition=database
alldb.install.demo.data=no
install.server.admin.password.confirmation=***
dist.version=10.1.3.1
olite.database.name=uddinode
alldb.create.datasource=yes
install.type.condition=standalone
olite.database.dir=e\:\\oracle\\registry_10_1_3\\olite
alldb.install.demo.data.settings=
create.menu.items=no
alldb.create.drop.condition=createComplete
porting.oracle.instance.name=home
porting.application.name=registry
install.directory=e\:\\oracle\\registry_10_1_3
install.server.admin.password=***
olite.database.user=uddiuser
porting.oracle.ormi.host=localhost
db.showall.condition=false
porting.server.type.condition=standalone
porting.make.jazn=yes
porting.hostname=hst-pcs3023.corp.satyam.ad
porting.type.condition=oraclefull
install.windows.menu=Oracle Application Server Service Registry 10.1.3
[echo] Expanding E:\AIA\oracle-service-registry-10.1.3.1.jar to e:\oracle\registry_10_1_3 ...
[echo] Building scripts ...
[echo] Platform is Windows
[echo] Preparing 'admin' account ...
[echo] Preparing account_list ...
[echo] Preparing permission_list ...
[echo] Preparing approval management ...
[echo] Creating standalone configuration ...
[java] Buildfile: e:\oracle\registry_10_1_3\etc\setup\setupserver.xml
[java] installprops:
[java] props:
[java] props2:
[java] changeSecurity:
[java] install.security:
[java] install.ssl.transport:
[java] [java] Done.
[java] [java] Done.
[java] [java] Done.
[java] [delete] Deleting: E:\oracle\registry_10_1_3\conf\authToken.crt
[java] changeports:
[java] [echo] Preparing ports ...
[java] [delete] Deleting: E:\oracle\registry_10_1_3\etc\ssl.properties
[java] [style] Processing E:\oracle\registry_10_1_3\conf\serverconf.xml to E:\oracle\registry_10_1_3\conf\serverconf.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\serverconf.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\web.xml to E:\oracle\registry_10_1_3\app\uddi\conf\web.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\web.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\web_ui.xml to E:\oracle\registry_10_1_3\app\uddi\conf\web_ui.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\web.xsl
[java] buichangeports:
[java] [mkdir] Created dir: E:\oracle\registry_10_1_3\tmp
[java] [unjar] Expanding: E:\oracle\registry_10_1_3\app\uddi\bsc.jar into E:\oracle\registry_10_1_3\tmp
[java] [style] Processing E:\oracle\registry_10_1_3\tmp\conf\web.xml to E:\oracle\registry_10_1_3\tmp\conf\web.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\web.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\tmp\conf
[java] [style] Processing E:\oracle\registry_10_1_3\tmp\conf\bsc.xml to E:\oracle\registry_10_1_3\tmp\conf\bsc.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\web.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\tmp\conf
[java] [jar] Building jar: E:\oracle\registry_10_1_3\tmp\bsc.jar
[java] buichangeports_sync_dist:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\dist
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi
[java] [delete] Deleting directory E:\oracle\registry_10_1_3\tmp
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\configurator.xml to E:\oracle\registry_10_1_3\app\uddi\conf\configurator.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\configurator.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\node.xml to E:\oracle\registry_10_1_3\app\uddi\conf\node.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\node.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\security.xml to E:\oracle\registry_10_1_3\app\uddi\conf\security.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\security.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] changeTModelPorts:
[java] changePortsOperationalBE:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\etc\db\data
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\etc\db\data
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\etc\db\data
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\etc\db\data
[java] importOperationalTM:
[java] importOperationalBS:
[java] changePortsOtherTModels:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\etc\db\data
[java] importOtherTModels:
[java] changeDemoDataPorts:
[java] changePortsDemoData:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\demos\conf
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\demos\conf
[java] importDemoData.no:
[java] copyDocDemos:
[java] [echo] Copying data to 'e:\oracle\registry_10_1_3/doc/demos'...
[java] [copy] Copying 13 files to E:\oracle\registry_10_1_3\doc\demos\bsc
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\doc\demos
[java] create.desktop.icons.yes:
[java] create.menu.items.no:
[java] applicationCore:
[java] [echo] Preparing applicationCore ...
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\application_core.xml to E:\oracle\registry_10_1_3\app\uddi\conf\application_core.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\application_core.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [delete] Deleting: E:\oracle\registry_10_1_3\etc\smtp.properties
[java] setup:
[java] [echo] Configuring Registry...
[java] type.standalone:
[java] [delete] Deleting directory E:\oracle\registry_10_1_3\registry_10_1_3
[java] BUILD SUCCESSFUL
[java] Total time: 2 minutes 43 seconds
[java] Buildfile: e:\oracle\registry_10_1_3\etc\setup\install.xml
[java] properties:
[java] license:
[java] [java] License key has been accepted.
[java] BUILD SUCCESSFUL
[java] Total time: 22 seconds
[java] Buildfile: e:\oracle\registry_10_1_3\etc\setup\directory.xml
[java] directory:
[java] [delete] Deleting: E:\oracle\registry_10_1_3\etc\ldap.properties
[java] [echo] Preparing LDAP backend ...
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\directory.xml to E:\oracle\registry_10_1_3\app\uddi\conf\directory.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\directory.xsl
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [delete] Deleting: E:\oracle\registry_10_1_3\app\uddi\conf\directory.xml.new
[java] account_core:
[java] account_core.database:
[java] [echo] Preparing database account backend ...
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\account_core.xml to E:\oracle\registry_10_1_3\app\uddi\conf\account_core.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\account_core_backend.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\group_core.xml to E:\oracle\registry_10_1_3\app\uddi\conf\group_core.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\group_core_backend.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] BUILD SUCCESSFUL
[java] Total time: 2 seconds
[java] Buildfile: e:\oracle\registry_10_1_3\etc\setup\database.xml
[java] database:
[java] database.createComplete:
[java] database.create:
[java] account_core:
[java] account_core.database:
[java] [echo] Preparing database account backend ...
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\account_core.xml to E:\oracle\registry_10_1_3\app\uddi\conf\account_core.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\account_core_backend.xsl
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\group_core.xml to E:\oracle\registry_10_1_3\app\uddi\conf\group_core.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\group_core_backend.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\app\uddi\conf
[java] server.database:
[java] [echo] Copying JDBC drivers ...
[java] db.create.complete:
[java] uddi.class.path.jars_zips:
[java] olite.database:
[java] polite_ini:
[java] [echo] Installing polite.ini into Windows directory ...
[java] [move] Moving 1 files to C:\WINDOWS
[java] [copy] Copying 1 file to C:\WINDOWS
[java] create_db:
[java] debug_print:
[java] [echo]
[java] [echo] UDDI_DB : ;DataDirectory=e:\oracle\registry_10_1_3\olite;Database=uddinode
[java] [echo] UDDI_USER : uddiuser
[java] [echo] java.library.path : E:\product\10.1.3.1\OracleAS_1\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;E:\product\10.1.3.1\OracleAS_1\bin;E:\product\10.1.3.1\OracleAS_1\jdk\bin;E:\product\10.1.3.1\OracleAS_1\ant\bin;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Program Files\Java\j2re1.4.1_05;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program Files\CA\DSM\bin;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;E:\product\10.1.3.1\OracleAS_1\ip\adapters\bin;E:\product\10.1.3.1\OracleAS_1\ip\adapters\lib;C:\Program Files\Samsung\Samsung PC Studio 3\;E:\product\10.1.3.1\OracleAS_1\OPatch;E:\product\10.1.3.1\OracleAS_1;E:/product/10.1.3.1/OracleAS_1/jdk/bin;e:\oracle\registry_10_1_3/etc/olite
[java] [echo]
[java] [echo] Creating new database ...
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\olite
[java] create_input_quiet:
[java] create_input:
[java] [java] Properties:
[java] [java] user:system
[java] [java] password:***
[java] [java] charSet:UTF8
[java] [java] GRANT RESOURCE TO uddiuser;
[java] [java] SQL:GRANT RESOURCE TO uddiuser
[java] create_schema:
[java] [echo] Creating schema ...
[java] create_batch:
[java] [java] Properties:
[java] [java] user:uddiuser
[java] [java] password:***
[java] [java] charSet:UTF8
[java] [java] SQL:CREATE TABLE passwd ( loginName varchar2 ( 255 ) PRIMARY KEY , password varchar2 ( 32 ) NOT NULL , email varchar2 ( 255 ) NOT NULL , fullName varchar2 ( 255 ) NOT NULL , description varchar2 ( 255 ) , languageCode varchar2 ( 26 ) DEFAULT 'en' NOT NULL , businessName varchar2 ( 255 ) , phone varchar2 ( 50 ) , alternatePhone varchar2 ( 50 ) , address varchar2 ( 1024 ) , stateProvince varchar2 ( 128 ) , city varchar2 ( 128 ) , country varchar2 ( 64 ) , zip varchar2 ( 50 ) , enableCode varchar2 ( 41 ) , expiration decimal ( 19 ) DEFAULT 0 , expires char ( 1 ) DEFAULT 'n' , externalAccount char ( 1 ) DEFAULT 'n' , blocked char ( 1 ) DEFAULT 'y' , tModelsLimit decimal ( 10 ) DEFAULT 10 , entitiesLimit decimal ( 10 ) DEFAULT 1 , servicesLimit decimal ( 10 ) DEFAULT 4 , bindingsLimit decimal ( 10 ) DEFAULT 2 , assertionsLimit decimal ( 10 ) DEFAULT 10 , subscriptionsLimit decimal ( 10 ) DEFAULT 0 , lastLoginTime decimal ( 19 ) , currentLoginTime decimal ( 19 ) )
[java] [java] SQL: CREATE TABLE passwdProperty ( loginName varchar2 ( 255 ) NOT NULL REFERENCES passwd ( loginName ) ON DELETE CASCADE , name varchar2 ( 255 ) NOT NULL , value varchar2 ( 255 ) NOT NULL )
[java] [java] SQL: CREATE INDEX idx_passwdProps ON passwdProperty ( loginName )
[java] [java] SQL: CREATE TABLE groups ( groupName varchar2 ( 255 ) PRIMARY KEY , ownerName varchar2 ( 255 ) NOT NULL , description varchar2 ( 255 ) , private char ( 1 ) DEFAULT 'y' , externalGroup char ( 1 ) DEFAULT 'n' )
[java] [java] SQL: CREATE INDEX idx_groupsOwnerName ON groups ( ownerName )
[java] [java] SQL: CREATE TABLE groupMembers ( groupName varchar2 ( 255 ) REFERENCES groups ( groupName ) ON DELETE CASCADE , memberName varchar2 ( 255 ) NOT NULL )
[java] [java] SQL: CREATE INDEX idx_groupMembers ON groupMembers ( groupName , memberName )
[java] [java] SQL: CREATE TABLE permission ( permissionId decimal ( 19 ) PRIMARY KEY , type varchar2 ( 255 ) NOT NULL , name varchar2 ( 255 ) NOT NULL , principalName varchar2 ( 255 ) NOT NULL , principalIsUser char ( 1 ) DEFAULT 'y' )
[java] [java] SQL: CREATE INDEX idx_permission ON permission ( principalName )
[java] [java] SQL: CREATE TABLE permissionAction ( permissionId decimal ( 19 ) REFERENCES permission ( permissionId ) ON DELETE CASCADE , action varchar2 ( 255 ) NOT NULL )
[java] [java] SQL: CREATE INDEX idx_permissionAction ON permissionAction ( permissionId )
[java] [java] SQL: CREATE TABLE tModel ( tModelId decimal ( 19 ) NOT NULL , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , nameText varchar2 ( 255 ) NOT NULL , nameTextLower varchar2 ( 255 ) NOT NULL , lang varchar2 ( 20 ) NULL , deleted decimal ( 10 ) DEFAULT 0 NOT NULL , created decimal ( 19 ) NOT NULL , modified decimal ( 19 ) NOT NULL , modifiedIncluding decimal ( 19 ) NOT NULL , userName varchar2 ( 255 ) NOT NULL , nodeId varchar2 ( 255 ) NOT NULL , systemFlag decimal ( 10 ) DEFAULT 0 NOT NULL , deletedFlag decimal ( 10 ) DEFAULT 0 NOT NULL , publicFind decimal ( 1 ) DEFAULT 1 NOT NULL , publicGet decimal ( 1 ) DEFAULT 1 NOT NULL , PRIMARY KEY ( tModelId ) )
[java] [java] SQL: CREATE INDEX idx_tModelKeyLower ON tModel ( tModelKeyLower )
[java] [java] SQL: CREATE INDEX idx_tModelKeyOld ON tModel ( tModelKeyOld )
[java] [java] SQL: CREATE INDEX idx_tModelSortName ON tModel ( nameText )
[java] [java] SQL: CREATE INDEX idx_tModelSortNameLower ON tModel ( nameTextLower )
[java] [java] SQL: CREATE INDEX idx_tModelSortTime ON tModel ( modified )
[java] [java] SQL: CREATE INDEX idx_tModelSystemFlag ON tModel ( systemFlag )
[java] [java] SQL: CREATE INDEX idx_tModelDeletedFlag ON tModel ( deletedFlag )
[java] [java] SQL: CREATE TABLE aclBagTM ( seqNum INTEGER AUTO INCREMENT , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , userName varchar2 ( 255 ) NULL , groupName varchar2 ( 255 ) NULL , privilegeId decimal ( 19 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_aclTMuser ON aclBagTM ( tModelId , userName , privilegeId )
[java] [java] SQL: CREATE INDEX idx_aclTMgroup ON aclBagTM ( tModelId , groupName , privilegeId )
[java] [java] SQL: CREATE TABLE descriptionTM ( seqNum INTEGER AUTO INCREMENT , ownerId decimal ( 19 ) NOT NULL , subId decimal ( 10 ) NOT NULL , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , description varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_descTMOwner ON descriptionTM ( ownerId , subId )
[java] [java] SQL: CREATE TABLE categoryBagTM ( seqNum INTEGER AUTO INCREMENT , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_cbtmid ON categoryBagTM ( tModelId )
[java] [java] SQL: CREATE INDEX idx_cbtmfind ON categoryBagTM ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbtmfindOld ON categoryBagTM ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbtmrqn ON categoryBagTM ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbtmrqnOld ON categoryBagTM ( tModelKeyOld , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbtmrqs ON categoryBagTM ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE INDEX idx_cbtmrqsOld ON categoryBagTM ( tModelKeyOld , keyValueTrString )
[java] [java] SQL: CREATE TABLE identifierBagTM ( seqNum INTEGER AUTO INCREMENT , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_ibtmid ON identifierBagTM ( tModelId )
[java] [java] SQL: CREATE INDEX idx_ibtmfind ON identifierBagTM ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_ibtmfindOld ON identifierBagTM ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE TABLE keyedReferenceGroupTM ( groupId decimal ( 19 ) NOT NULL , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , PRIMARY KEY ( groupId ) )
[java] [java] SQL: CREATE INDEX idx_krgtmid ON keyedReferenceGroupTM ( tModelId )
[java] [java] SQL: CREATE INDEX idx_krgtmfind ON keyedReferenceGroupTM ( tModelKeyLower , tModelId , groupId )
[java] [java] SQL: CREATE TABLE keyedReferenceTM ( seqNum INTEGER AUTO INCREMENT , groupId decimal ( 19 ) NOT NULL REFERENCES keyedReferenceGroupTM ( groupId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , keyName varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_krtmid ON keyedReferenceTM ( groupId )
[java] [java] SQL: CREATE INDEX idx_krtmfind ON keyedReferenceTM ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_krtmfindOld ON keyedReferenceTM ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_krtmrqn ON keyedReferenceTM ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_krtmrqs ON keyedReferenceTM ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE TABLE overviewDocTM ( overviewId decimal ( 19 ) NOT NULL , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , overviewURL LONG VARBINARY NULL , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( overviewId ) )
[java] [java] SQL: CREATE INDEX idx_overviewTM ON overviewDocTM ( tModelId )
[java] [java] SQL: CREATE TABLE signatureTM ( seqNum INTEGER AUTO INCREMENT , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , signature LONG VARBINARY NULL , created decimal ( 1 ) DEFAULT 0 NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_sigTM ON signatureTM ( tModelId )
[java] [java] SQL: CREATE TABLE businessEntity ( businessId decimal ( 19 ) NOT NULL , businessKey varchar2 ( 255 ) NOT NULL , businessKeyLower varchar2 ( 255 ) NOT NULL , businessKeyOld char ( 36 ) NOT NULL , nameText varchar2 ( 255 ) NOT NULL , nameTextLower varchar2 ( 255 ) NOT NULL , created decimal ( 19 ) NOT NULL , modified decimal ( 19 ) NOT NULL , modifiedIncluding decimal ( 19 ) NOT NULL , userName varchar2 ( 255 ) NOT NULL , nodeId varchar2 ( 255 ) NOT NULL , systemFlag decimal ( 10 ) DEFAULT 0 NOT NULL , deletedFlag decimal ( 10 ) DEFAULT 0 NOT NULL , publicFind decimal ( 1 ) DEFAULT 1 NOT NULL , publicGet decimal ( 1 ) DEFAULT 1 NOT NULL , PRIMARY KEY ( businessId ) )
[java] [java] SQL: CREATE INDEX idx_beKeyLower ON businessEntity ( businessKeyLower )
[java] [java] SQL: CREATE INDEX idx_beKeyOld ON businessEntity ( businessKeyOld )
[java] [java] SQL: CREATE INDEX idx_beSortName ON businessEntity ( nameText )
[java] [java] SQL: CREATE INDEX idx_beSortNameLower ON businessEntity ( nameTextLower )
[java] [java] SQL: CREATE INDEX idx_beSortTime ON businessEntity ( modified )
[java] [java] SQL: CREATE INDEX idx_beSystemFlag ON businessEntity ( systemFlag )
[java] [java] SQL: CREATE INDEX idx_beDeletedFlag ON businessEntity ( deletedFlag )
[java] [java] SQL: CREATE TABLE aclBagBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , userName varchar2 ( 255 ) NULL , groupName varchar2 ( 255 ) NULL , privilegeId decimal ( 19 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_aclBEuser ON aclBagBE ( businessId , userName , privilegeId )
[java] [java] SQL: CREATE INDEX idx_aclBEgroup ON aclBagBE ( businessId , groupName , privilegeId )
[java] [java] SQL: CREATE TABLE descriptionBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , description varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_descBEOwner ON descriptionBE ( businessId )
[java] [java] SQL: CREATE TABLE discoveryURL ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , discoveryURL varchar2 ( 255 ) NULL , discoveryURL2 varchar2 ( 3846 ) NULL , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_urlOwner ON discoveryURL ( businessId )
[java] [java] SQL: CREATE INDEX idx_urlFind ON discoveryURL ( discoveryURL )
[java] [java] SQL: CREATE TABLE identifierBagBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_ibbeid ON identifierBagBE ( businessId )
[java] [java] SQL: CREATE INDEX idx_ibbefind ON identifierBagBE ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_ibbefindOld ON identifierBagBE ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE TABLE categoryBagBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_cbbeid ON categoryBagBE ( businessId )
[java] [java] SQL: CREATE INDEX idx_cbbefind ON categoryBagBE ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbbefindOld ON categoryBagBE ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbberqn ON categoryBagBE ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbberqnOld ON categoryBagBE ( tModelKeyOld , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbberqs ON categoryBagBE ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE INDEX idx_cbberqsOld ON categoryBagBE ( tModelKeyOld , keyValueTrString )
[java] [java] SQL: CREATE TABLE keyedReferenceGroupBE ( groupId decimal ( 19 ) NOT NULL , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , PRIMARY KEY ( groupId ) )
[java] [java] SQL: CREATE INDEX idx_krgbeid ON keyedReferenceGroupBE ( businessId )
[java] [java] SQL: CREATE INDEX idx_krgbefind ON keyedReferenceGroupBE ( tModelKeyLower )
[java] [java] SQL: CREATE TABLE keyedReferenceBE ( seqNum INTEGER AUTO INCREMENT , groupId decimal ( 19 ) NOT NULL REFERENCES keyedReferenceGroupBE ( groupId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , keyName varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_krbeid ON keyedReferenceBE ( groupId )
[java] [java] SQL: CREATE INDEX idx_krbefind ON keyedReferenceBE ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_krbefindOld ON keyedReferenceBE ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_krberqn ON keyedReferenceBE ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_krberqs ON keyedReferenceBE ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE TABLE nameBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , nameText varchar2 ( 255 ) NOT NULL , nameTextLower varchar2 ( 255 ) NOT NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_namebeid ON nameBE ( businessId )
[java] [java] SQL: CREATE INDEX idx_namebefind ON nameBE ( nameText )
[java] [java] SQL: CREATE INDEX idx_namebefind2 ON nameBE ( nameTextLower )
[java] [java] SQL: CREATE TABLE signatureBE ( seqNum INTEGER AUTO INCREMENT , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , signature LONG VARBINARY NULL , created decimal ( 1 ) DEFAULT 0 NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_sigBE ON signatureBE ( businessId )
[java] [java] SQL: CREATE TABLE contact ( contactId decimal ( 19 ) NOT NULL , businessId decimal ( 19 ) NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( contactId ) )
[java] [java] SQL: CREATE INDEX idx_contactOwner ON contact ( businessId )
[java] [java] SQL: CREATE TABLE descriptionCO ( seqNum INTEGER AUTO INCREMENT , contactId decimal ( 19 ) NOT NULL REFERENCES contact ( contactId ) ON DELETE CASCADE , description varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_descCO ON descriptionCO ( contactId )
[java] [java] SQL: CREATE TABLE personalName ( seqNum INTEGER AUTO INCREMENT , contactId decimal ( 19 ) NOT NULL REFERENCES contact ( contactId ) ON DELETE CASCADE , personName varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_persName ON personalName ( contactId )
[java] [java] SQL: CREATE TABLE email ( seqNum INTEGER AUTO INCREMENT , contactId decimal ( 19 ) NOT NULL REFERENCES contact ( contactId ) ON DELETE CASCADE , email varchar2 ( 255 ) NULL , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_email ON email ( contactId )
[java] [java] SQL: CREATE TABLE phone ( seqNum INTEGER AUTO INCREMENT , contactId decimal ( 19 ) NOT NULL REFERENCES contact ( contactId ) ON DELETE CASCADE , phone varchar2 ( 50 ) NULL , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_phone ON phone ( contactId )
[java] [java] SQL: CREATE TABLE address ( addressId decimal ( 19 ) NOT NULL , contactId decimal ( 19 ) NOT NULL REFERENCES contact ( contactId ) ON DELETE CASCADE , lang varchar2 ( 20 ) NULL , useType varchar2 ( 255 ) NULL , sortCode varchar2 ( 10 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyOld varchar2 ( 41 ) NULL , PRIMARY KEY ( addressId ) )
[java] [java] SQL: CREATE INDEX idx_address ON address ( contactId )
[java] [java] SQL: CREATE TABLE addressLine ( seqNum INTEGER AUTO INCREMENT , addressId decimal ( 19 ) NOT NULL REFERENCES address ( addressId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , addressLine varchar2 ( 80 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_addressLine ON addressLine ( addressId )
[java] [java] SQL: CREATE TABLE businessService ( serviceId decimal ( 19 ) NOT NULL , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , serviceKey varchar2 ( 255 ) NOT NULL , serviceKeyLower varchar2 ( 255 ) NOT NULL , serviceKeyOld char ( 36 ) NOT NULL , nameText varchar2 ( 255 ) NOT NULL , nameTextLower varchar2 ( 255 ) NOT NULL , servicePosition decimal ( 19 ) NULL , created decimal ( 19 ) NOT NULL , modified decimal ( 19 ) NOT NULL , modifiedIncluding decimal ( 19 ) NOT NULL , userName varchar2 ( 255 ) NOT NULL , nodeId varchar2 ( 255 ) NOT NULL , systemFlag decimal ( 10 ) DEFAULT 0 NOT NULL , deletedFlag decimal ( 10 ) DEFAULT 0 NOT NULL , publicFind decimal ( 1 ) DEFAULT 1 NOT NULL , publicGet decimal ( 1 ) DEFAULT 1 NOT NULL , PRIMARY KEY ( serviceId ) )
[java] [java] SQL: CREATE INDEX idx_bsBusinesId ON businessService ( businessId )
[java] [java] SQL: CREATE INDEX idx_bsKeyLower ON businessService ( serviceKeyLower )
[java] [java] SQL: CREATE INDEX idx_bsKeyOld ON businessService ( serviceKeyOld )
[java] [java] SQL: CREATE INDEX idx_bsSortName ON businessService ( nameText )
[java] [java] SQL: CREATE INDEX idx_bsSortNameLower ON businessService ( nameTextLower )
[java] [java] SQL: CREATE INDEX idx_bsSortTime ON businessService ( modified )
[java] [java] SQL: CREATE INDEX idx_bsSystemFlag ON businessService ( systemFlag )
[java] [java] SQL: CREATE INDEX idx_bsDeletedFlag ON businessService ( deletedFlag )
[java] [java] SQL: CREATE TABLE projectedBusinessService ( projectedServiceId INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL , businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , businessKey varchar2 ( 255 ) NOT NULL , businessKeyOld varchar2 ( 41 ) NOT NULL , serviceKey varchar2 ( 255 ) NOT NULL , serviceKeyOld varchar2 ( 41 ) NOT NULL , servicePosition decimal ( 19 ) NULL )
[java] [java] SQL: CREATE INDEX idx_pbsBusinesId ON projectedBusinessService ( businessId )
[java] [java] SQL: CREATE INDEX idx_pbsServiceId ON projectedBusinessService ( serviceId )
[java] [java] SQL: CREATE TABLE aclBagBS ( seqNum INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , userName varchar2 ( 255 ) NULL , groupName varchar2 ( 255 ) NULL , privilegeId decimal ( 19 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_aclBSuser ON aclBagBS ( serviceId , userName , privilegeId )
[java] [java] SQL: CREATE INDEX idx_aclBSgroup ON aclBagBS ( serviceId , groupName , privilegeId )
[java] [java] SQL: CREATE TABLE descriptionBS ( seqNum INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , description varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_descBSOwner ON descriptionBS ( serviceId )
[java] [java] SQL: CREATE TABLE categoryBagBS ( seqNum INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_cbbsid ON categoryBagBS ( serviceId )
[java] [java] SQL: CREATE INDEX idx_cbbsfind ON categoryBagBS ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbbsfindOld ON categoryBagBS ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbbsrqn ON categoryBagBS ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbbsrqnOld ON categoryBagBS ( tModelKeyOld , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbbsrqs ON categoryBagBS ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE INDEX idx_cbbsrqsOld ON categoryBagBS ( tModelKeyOld , keyValueTrString )
[java] [java] SQL: CREATE TABLE keyedReferenceGroupBS ( groupId decimal ( 19 ) NOT NULL , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , PRIMARY KEY ( groupId ) )
[java] [java] SQL: CREATE INDEX idx_krgbsid ON keyedReferenceGroupBS ( serviceId )
[java] [java] SQL: CREATE INDEX idx_krgbsfind ON keyedReferenceGroupBS ( tModelKeyLower )
[java] [java] SQL: CREATE TABLE keyedReferenceBS ( seqNum INTEGER AUTO INCREMENT , groupId decimal ( 19 ) NOT NULL REFERENCES keyedReferenceGroupBS ( groupId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , keyName varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_krbsid ON keyedReferenceBS ( groupId )
[java] [java] SQL: CREATE INDEX idx_krbsfind ON keyedReferenceBS ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_krbsfindOld ON keyedReferenceBS ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_krbsrqn ON keyedReferenceBS ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_krbsrqs ON keyedReferenceBS ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE TABLE nameBS ( seqNum INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , nameText varchar2 ( 255 ) NOT NULL , nameTextLower varchar2 ( 255 ) NOT NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_nameBS ON nameBS ( serviceId )
[java] [java] SQL: CREATE INDEX idx_nameBSfind ON nameBS ( nameText , lang )
[java] [java] SQL: CREATE TABLE signatureBS ( seqNum INTEGER AUTO INCREMENT , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , signature LONG VARBINARY NULL , created decimal ( 1 ) DEFAULT 0 NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_sigBS ON signatureBS ( serviceId )
[java] [java] SQL: CREATE TABLE bindingTemplate ( bindingId decimal ( 19 ) NOT NULL , serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , bindingKey varchar2 ( 255 ) NOT NULL , bindingKeyLower varchar2 ( 255 ) NOT NULL , bindingKeyOld char ( 36 ) NOT NULL , accessPointPart1 varchar2 ( 2048 ) NULL , accessPointPart2 varchar2 ( 2053 ) NULL , useType varchar2 ( 255 ) NULL , urlType varchar2 ( 16 ) NULL , hostingRedirector varchar2 ( 255 ) NULL , hostingRedirectorOld char ( 36 ) NULL , bindingPosition decimal ( 19 ) NULL , created decimal ( 19 ) NOT NULL , modified decimal ( 19 ) NOT NULL , modifiedIncluding decimal ( 19 ) NOT NULL , userName varchar2 ( 255 ) NOT NULL , nodeId varchar2 ( 255 ) NOT NULL , systemFlag decimal ( 10 ) DEFAULT 0 NOT NULL , deletedFlag decimal ( 10 ) DEFAULT 0 NOT NULL , publicFind decimal ( 1 ) DEFAULT 1 NOT NULL , publicGet decimal ( 1 ) DEFAULT 1 NOT NULL , PRIMARY KEY ( bindingId ) )
[java] [java] SQL: CREATE INDEX idx_btBusinesId ON bindingTemplate ( serviceId )
[java] [java] SQL: CREATE INDEX idx_btKeyLower ON bindingTemplate ( bindingKeyLower )
[java] [java] SQL: CREATE INDEX idx_btKeyOld ON bindingTemplate ( bindingKeyOld )
[java] [java] SQL: CREATE INDEX idx_btSortTime ON bindingTemplate ( modified )
[java] [java] SQL: CREATE INDEX idx_btSystemFlag ON bindingTemplate ( systemFlag )
[java] [java] SQL: CREATE INDEX idx_btDeletedFlag ON bindingTemplate ( deletedFlag )
[java] [java] SQL: CREATE TABLE aclBagBT ( seqNum INTEGER AUTO INCREMENT , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , userName varchar2 ( 255 ) NULL , groupName varchar2 ( 255 ) NULL , privilegeId decimal ( 19 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_aclBTuser ON aclBagBT ( bindingId , userName , privilegeId )
[java] [java] SQL: CREATE INDEX idx_aclBTgroup ON aclBagBT ( bindingId , groupName , privilegeId )
[java] [java] SQL: CREATE TABLE descriptionBT ( seqNum INTEGER AUTO INCREMENT , ownerId decimal ( 19 ) NOT NULL , subId decimal ( 10 ) NOT NULL , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , description varchar2 ( 255 ) NULL , lang varchar2 ( 20 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_descBTbinding ON descriptionBT ( bindingId )
[java] [java] SQL: CREATE INDEX idx_descBTOwner ON descriptionBT ( ownerId )
[java] [java] SQL: CREATE TABLE categoryBagBT ( seqNum INTEGER AUTO INCREMENT , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_cbbtid ON categoryBagBT ( bindingId )
[java] [java] SQL: CREATE INDEX idx_cbbtfind ON categoryBagBT ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbbtfindOld ON categoryBagBT ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_cbbtrqn ON categoryBagBT ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbbtrqnOld ON categoryBagBT ( tModelKeyOld , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_cbbtrqs ON categoryBagBT ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE INDEX idx_cbbtrqsOld ON categoryBagBT ( tModelKeyOld , keyValueTrString )
[java] [java] SQL: CREATE TABLE keyedReferenceGroupBT ( groupId decimal ( 19 ) NOT NULL , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , PRIMARY KEY ( groupId ) )
[java] [java] SQL: CREATE INDEX idx_krgbtid ON keyedReferenceGroupBT ( bindingId )
[java] [java] SQL: CREATE INDEX idx_krgbtfind ON keyedReferenceGroupBT ( tModelKeyLower )
[java] [java] SQL: CREATE TABLE keyedReferenceBT ( seqNum INTEGER AUTO INCREMENT , groupId decimal ( 19 ) NOT NULL REFERENCES keyedReferenceGroupBT ( groupId ) ON DELETE CASCADE , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , keyValueOld varchar2 ( 41 ) NULL , keyValueTrNum number ( 25 , 6 ) NULL , keyValueTrString varchar2 ( 255 ) NULL , keyName varchar2 ( 255 ) NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_krbtid ON keyedReferenceBT ( groupId )
[java] [java] SQL: CREATE INDEX idx_krbtfind ON keyedReferenceBT ( tModelKeyLower , keyValue )
[java] [java] SQL: CREATE INDEX idx_krbtfindOld ON keyedReferenceBT ( tModelKeyOld , keyValue )
[java] [java] SQL: CREATE INDEX idx_krbtrqn ON keyedReferenceBT ( tModelKeyLower , keyValueTrNum )
[java] [java] SQL: CREATE INDEX idx_krbtrqs ON keyedReferenceBT ( tModelKeyLower , keyValueTrString )
[java] [java] SQL: CREATE TABLE signatureBT ( seqNum INTEGER AUTO INCREMENT , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , signature LONG VARBINARY NULL , created decimal ( 1 ) DEFAULT 0 NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_sigBT ON signatureBT ( bindingId )
[java] [java] SQL: CREATE TABLE tModelInstanceInfo ( instanceId decimal ( 19 ) NOT NULL , bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , serviceId decimal ( 19 ) NOT NULL , tModelKey varchar2 ( 255 ) NOT NULL , tModelKeyLower varchar2 ( 255 ) NOT NULL , tModelKeyOld char ( 41 ) NOT NULL , instanceParms LONG VARBINARY NULL , PRIMARY KEY ( instanceId ) )
[java] [java] SQL: CREATE INDEX idx_TMIIOwner ON tModelInstanceInfo ( bindingId )
[java] [java] SQL: CREATE INDEX idx_TMIIfind ON tModelInstanceInfo ( tModelKeyLower )
[java] [java] SQL: CREATE INDEX idx_TMIIfind2 ON tModelInstanceInfo ( tModelKeyOld )
[java] [java] SQL: CREATE TABLE overviewDocTMI ( overviewId decimal ( 19 ) NOT NULL , instanceId decimal ( 19 ) NOT NULL REFERENCES tModelInstanceInfo ( instanceId ) ON DELETE CASCADE , overviewURL LONG VARBINARY NULL , useType varchar2 ( 255 ) NULL , PRIMARY KEY ( overviewId ) )
[java] [java] SQL: CREATE INDEX idx_TMIIdocOwner ON overviewDocTMI ( instanceId )
[java] [java] SQL: CREATE TABLE publisherAssertion ( publisherAssertionId decimal ( 19 ) NOT NULL , fromId decimal ( 19 ) NOT NULL , toId decimal ( 19 ) NOT NULL , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , keyValueLower varchar2 ( 255 ) NULL , tModelKey varchar2 ( 255 ) NULL , tModelKeyLower varchar2 ( 255 ) NULL , tModelKeyOld char ( 41 ) NULL , flag decimal ( 10 ) NOT NULL , created decimal ( 19 ) NOT NULL , modified decimal ( 19 ) NOT NULL , nodeId varchar2 ( 255 ) NULL , PRIMARY KEY ( publisherAssertionId ) )
[java] [java] SQL: CREATE INDEX idx_PAfromId ON publisherAssertion ( fromId )
[java] [java] SQL: CREATE INDEX idx_PAtoId ON publisherAssertion ( toId )
[java] [java] SQL: CREATE INDEX idx_PAfind ON publisherAssertion ( tModelKeyLower , keyValue , keyName )
[java] [java] SQL: CREATE INDEX idx_PAfindOld ON publisherAssertion ( tModelKeyOld , keyValue , keyName )
[java] [java] SQL: CREATE TABLE signaturePA ( seqNum INTEGER AUTO INCREMENT , publisherAssertionId decimal ( 19 ) NOT NULL REFERENCES publisherAssertion ( publisherAssertionId ) ON DELETE CASCADE , signature LONG VARBINARY NULL , created decimal ( 1 ) DEFAULT 0 NOT NULL , PRIMARY KEY ( seqNum ) )
[java] [java] SQL: CREATE INDEX idx_sigPA ON signaturePA ( publisherAssertionId )
[java] [java] SQL: CREATE TABLE taxonomy ( id decimal ( 19 ) NOT NULL , tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , tModelKeyLower varchar2 ( 255 ) NOT NULL , keyName varchar2 ( 255 ) NULL , keyValue varchar2 ( 255 ) NULL , parentId decimal ( 19 ) NOT NULL , disabled decimal ( 10 ) DEFAULT 0 NOT NULL , idPath varchar2 ( 255 ) NOT NULL , PRIMARY KEY ( id ) )
[java] [java] SQL: CREATE INDEX idx_taxonomy ON taxonomy ( tModelId , parentId )
[java] [java] SQL: CREATE INDEX idx_taxonomyFind ON taxonomy ( keyValue , keyName )
[java] [java] SQL: CREATE INDEX idx_taxonomyKey ON taxonomy ( tModelKeyLower )
[java] [java] SQL: CREATE TABLE transferToken ( transferTokenId decimal ( 19 ) PRIMARY KEY , userName varchar2 ( 255 ) NOT NULL , nodeId varchar2 ( 255 ) NOT NULL , requestExpiration decimal ( 19 ) NOT NULL , opaqueToken varchar2 ( 255 ) NOT NULL )
[java] [java] SQL: CREATE TABLE transferKeys ( transferTokenId decimal ( 19 ) NOT NULL REFERENCES transferToken ( transferTokenId ) ON DELETE CASCADE , itemKey varchar2 ( 255 ) NOT NULL , itemType char ( 1 ) NOT NULL )
[java] [java] SQL: CREATE INDEX idx_transferKeys ON transferKeys ( transferTokenId )
[java] [java] SQL: CREATE TABLE subscription ( subscriptionId decimal ( 19 ) NOT NULL , subscriptionKey varchar2 ( 255 ) NOT NULL , subscriptionKeyLower varchar2 ( 255 ) NOT NULL , userName varchar2 ( 255 ) NOT NULL , bindingKey varchar2 ( 255 ) NULL , expireAfter decimal ( 19 ) NULL , maxEntities decimal ( 10 ) NULL , notificationInterval varchar2 ( 64 ) NULL , isBrief decimal ( 1 ) NULL , lastNotification decimal ( 19 ) NULL , filter varchar2 ( 4000 ) NOT NULL , PRIMARY KEY ( subscriptionId ) , UNIQUE ( subscriptionKey ) )
[java] [java] SQL: CREATE TABLE subscriptionBag ( subscriptionId decimal ( 19 ) NOT NULL REFERENCES subscription ( subscriptionId ) ON DELETE CASCADE , subscribedId decimal ( 19 ) NOT NULL , deletedTime decimal ( 19 ) NULL , subscribedKey varchar2 ( 255 ) NOT NULL , unique ( subscriptionId , subscribedId ) )
[java] [java] SQL: CREATE INDEX idx_subscriptionBag ON subscriptionBag ( subscriptionId , subscribedId , deletedTime )
[java] [java] SQL: CREATE TABLE sequences ( value decimal ( 19 ) )
[java] [java] SQL: INSERT INTO sequences ( value ) VALUES ( 1 )
[java] [java] SQL: CREATE GLOBAL TEMPORARY TABLE keyTemp ( threadId decimal ( 19 ) NOT NULL , id decimal ( 19 ) NULL , ownerId decimal ( 19 ) NULL , entityKey varchar2 ( 255 ) NULL , type decimal ( 10 ) NULL , orderId decimal ( 10 ) NULL , sortName varchar2 ( 255 ) , sortTime decimal ( 13 ) )
[java] [java] SQL: CREATE TABLE approvalManagement ( approver varchar2 ( 255 ) NOT NULL , approverIsUser char ( 1 ) DEFAULT 'y' , requestor varchar2 ( 255 ) NOT NULL , requestorIsUser char ( 1 ) DEFAULT 'y' )
[java] [java] SQL: CREATE TABLE approver ( name varchar2 ( 255 ) NOT NULL , isUser char ( 1 ) DEFAULT 'y' )
[java] [java] SQL: CREATE TABLE approvalRequest ( requestKey varchar2 ( 255 ) PRIMARY KEY , name varchar2 ( 255 ) NOT NULL , requestorName varchar2 ( 255 ) NOT NULL , status varchar2 ( 14 ) NOT NULL , time decimal ( 19 ) NOT NULL , description varchar2 ( 255 ) )
[java] [java] SQL: CREATE INDEX idx_arfr ON approvalRequest ( requestKey , status )
[java] [java] SQL: CREATE TABLE approvalKey ( requestKey varchar2 ( 255 ) NOT NULL REFERENCES approvalRequest ( requestKey ) ON DELETE CASCADE , entityId decimal ( 19 ) NOT NULL , type varchar2 ( 2 ) NOT NULL , mark char ( 1 ) NOT NULL )
[java] [java] SQL: CREATE TABLE approvalRequestRecord ( requestKey varchar2 ( 255 ) NOT NULL REFERENCES approvalRequest ( requestKey ) ON DELETE CASCADE , userName varchar2 ( 255 ) NOT NULL , action varchar2 ( 14 ) NOT NULL , time decimal ( 19 ) NOT NULL , message varchar2 ( 4000 ) )
[java] [java] SQL: CREATE TABLE tModelCache ( tModelId decimal ( 19 ) NOT NULL REFERENCES tModel ( tModelId ) ON DELETE CASCADE , pageId decimal ( 10 ) NOT NULL , object LONG VARBINARY )
[java] [java] SQL: CREATE INDEX idx_tModelCache ON tModelCache ( tModelId )
[java] [java] SQL: CREATE TABLE businessCache ( businessId decimal ( 19 ) NOT NULL REFERENCES businessEntity ( businessId ) ON DELETE CASCADE , pageId decimal ( 10 ) NOT NULL , object LONG VARBINARY )
[java] [java] SQL: CREATE INDEX idx_businessCache ON businessCache ( businessId )
[java] [java] SQL: CREATE TABLE serviceCache ( serviceId decimal ( 19 ) NOT NULL REFERENCES businessService ( serviceId ) ON DELETE CASCADE , pageId decimal ( 10 ) NOT NULL , object LONG VARBINARY )
[java] [java] SQL: CREATE INDEX idx_serviceCache ON serviceCache ( serviceId )
[java] [java] SQL: CREATE TABLE bindingCache ( bindingId decimal ( 19 ) NOT NULL REFERENCES bindingTemplate ( bindingId ) ON DELETE CASCADE , pageId decimal ( 10 ) NOT NULL , object LONG VARBINARY )
[java] [java] SQL: CREATE INDEX idx_bindingCache ON bindingCache ( bindingId )
[java] install:
[java] uddi.class.path.jars_zips:
[java] olite.data:
[java] changeDBParams:
[java] [style] Processing E:\oracle\registry_10_1_3\etc\db\data\operationalBE.xml to E:\oracle\registry_10_1_3\etc\db\data\operationalBE.xml.new
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\operationalBE.xsl
[java] [move] Moving 1 files to E:\oracle\registry_10_1_3\etc\db\data
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\app\uddi\conf
[java] [style] Processing E:\oracle\registry_10_1_3\app\uddi\conf\tmp.xml to E:\oracle\registry_10_1_3\app\uddi\conf\database.xml
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\etc\bin\database.xsl
[java] [delete] Deleting: E:\oracle\registry_10_1_3\app\uddi\conf\tmp.xml
[java] [delete] Deleting: E:\oracle\registry_10_1_3\etc\db.properties
[java] importData:
[java] [echo] Importing system data ...
[java] importGroup:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/groups.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomyTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomiesWithKeysAsValues.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/utilityV2TModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/utilityTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/wsdlCanonicalTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/systinetTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/wsrpTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/oracleTModels.xml
[java] importOperationalTM:
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/operationalTM.xml
[java] importOperationalBE:
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/operationalBE.xml
[java] importOperationalBS:
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/operationalBS.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/comparators.xml
[java] importTaxonomy:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomy/ebxml-org_specifications.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/microsoft-com_geoweb-2000.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/ntis-gov_naics_1997.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/ntis-gov_sic_1997.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_taxonomySystem.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_create-allowed.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_create-denied.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_delete-allowed.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_delete-denied.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_find-allowed.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_find-denied.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_get-allowed.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_get-denied.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_save-allowed.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_acl_save-denied.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_taxonomyCompatibility.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_comparator.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_isTransformedBy.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_isOrderedBy.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_xml_local-name.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-naics02.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-postal_address.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-dnb-com-duns.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-iso-ch-1984-icd.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-categorization-iso3166.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-thomasregister-com-supplierid.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_entityKeyValues.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_general_keywords.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_isReplacedBy.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_nodes.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_owningBusiness.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_resource_reference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_resource_type.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_types.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_validatedBy.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi.org_wsdl_types.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/unspsc-org_unspsc-3_1.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_wsdl_portTypeReference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_wsdl_categorization_protocol.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org_wsdl_categorization_transport.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_dependency.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_resource_location.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_xml_local-name.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_xml_schema_location.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_transformation_output-method.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/ws-i-org_conformsTo_2002_12.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_endpoint_status.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_endpoint_availability.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_interface_status.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_service_certification.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_usage.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_version.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_milestone.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_release-date.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-oasis-open_org-wsrp-service_type.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-oasis-open_org_wsrp_producer_service_reference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-oasis-open_org-wsrp-portlet_handle.xml
[java] importTaxonomy:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomy/unspsc-org_unspsc.xml
[java] importTaxonomy:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomy/uddi-org-ubr-unspsc_v6_0501.xml
[java] importTaxonomy:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/taxonomy/schemas-xmlsoap-org_ws_2003_03_localpolicyreference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/schemas-xmlsoap-org_ws_2003_03_policytypes.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/schemas-xmlsoap-org_ws_2003_03_remotepolicyreference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_avg-byte.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_avg-byte-input.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_avg-byte-output.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_avg-message-throughput.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_avg-response-time.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_errors.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_hits.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_policy-violations.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_median-byte.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_median-byte-input.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_median-byte-output.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_median-response-time.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_metrics_reference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_proxy-reference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_server-reference.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_state.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_state-change-request.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_system.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_type.xml, e:\oracle\registry_10_1_3/etc/db/data/taxonomy/systinet-com_management_url.xml
[java] importOtherTModels:
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/otherTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/ubrTModels.xml
[java] importFile:
[java] [echo] e:\oracle\registry_10_1_3/etc/db/data/ebXmlTModels.xml
[java] importDemo.no:
[java] checkApproval:
[java] importApproval:
[java] install:
[java] database.props:
[java] database.library1:
[java] database.library2:
[java] changeports.database:
[java] db.installDatasourceSetup:
[java] db.addDatasourceXml.yes:
[java] database.driver.props:
[java] olite.driver:
[java] [echo] Copying JDBC driver e:\oracle\registry_10_1_3/app/uddi/services/WASP-INF/lib/olite40.jar to application server
[java] other.driver:
[java] db.copyDatasourceDriverSetup.yes:
[java] database.driver.props:
[java] db.updateDatasourceLibrariesSetup.yes:
[java] database.driver.props:
[java] db.updateDatasourceLibrariesSetup.yes:
[java] BUILD SUCCESSFUL
[java] Total time: 16 minutes 32 seconds
[java] Buildfile: e:\oracle\registry_10_1_3\etc\setup\porting.xml
[java] props:
[java] props2:
[java] Overriding previous definition of reference to uddi.tool.classpath
[java] port:
[java] port.oraclefull.shared.no:
[java] oracle.condition:
[java] oracle:
[java] oraclefull.condition:
[java] oraclefull:
[java] oracle1012.condition:
[java] oracle1012:
[java] oracle1012full.condition:
[java] oracle1012full:
[java] make_ear:
[java] run-build:
[java] server-portation:
[java] http-port-eval-set:
[java] http-port-eval-not-set:
[java] http-port-eval:
[java] https-port-eval-set:
[java] https-port-eval-not-set:
[java] https-port-eval:
[java] wasp-url-eval:
[java] eval-demos-env:
[java] modify-demos:
[java] self-containing-eval:
[java] http-port-eval-set:
[java] http-port-eval-not-set:
[java] http-port-eval:
[java] https-port-eval-set:
[java] https-port-eval-not-set:
[java] https-port-eval:
[java] init:
[java] make_ear:
[java] [echo] Prepare the build directory...
[java] clean:
[java] prepare-build-dir:
[java] [mkdir] Created dir: E:\oracle\registry_10_1_3\conf\porting\oracle\build\_hd_tmp
[java] post-prepare-build-dir1:
[java] post-prepare-build-dir2:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF
[java] post-prepare-build-dir3:
[java] post-prepare-build-dir4:
[java] post-prepare-build-dir:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF
[java] db.createDatasourceXml.yes:
[java] olite.connection.props:
[java] db.createDatasourceXml.internal:
[java] [style] Processing E:\oracle\registry_10_1_3\conf\porting\data-sources.xml to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF\data-sources.xml
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\conf\porting\dataSource.xsl
[java] [mkdir] Created dir: E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\lib
[java] database.driver.props:
[java] olite.driver:
[java] [echo] Copying JDBC driver e:\oracle\registry_10_1_3/app/uddi/services/WASP-INF/lib/olite40.jar to application server
[java] other.driver:
[java] db.copyDatasourceDriver.yes:
[java] database.driver.props:
[java] db.updateDatasourceLibraries.other:
[java] db.updateDatasourceLibraries.olite:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF
[java] [style] Processing E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF\orion-application.xml.tmp to E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF\orion-application.xml
[java] [style] Loading stylesheet E:\oracle\registry_10_1_3\conf\porting\orionApplication.xsl
[java] [delete] Deleting: E:\oracle\registry_10_1_3\conf\porting\oracle\build\wasp_servlet\META-INF\orion-application.xml.tmp
[java] db.updateDatasourceLibraries.yes:
[java] [echo] Create 'env.properties' demo settings file...
[java] copy-demo-env-properties-file.oracle:
[java] copy-demo-env-properties-file.oracle.https.yes:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\conf\porting\oracle\build
[java] replace-demo-env-properties:
[java] [copy] Copying 1 file to E:\oracle\registry_10_1_3\demos
[java] copy-demo-env-properties-file.oraclefull:
[java] [echo] Create the Service Registry configuration file oracle-servletconf.xml...
[java] prepare-config-file:
[java] [style] DEPRECATED - the style attribute should be relative to the project's
[java] [style] basedir, not the tasks's basedir.
[java] [style] Processing E:\oracle\registry_10_1_3\conf\serverconf.xml to E:\oracle\registry_10_1_3\conf\oracle-servletcon -
Oracle 11g SOA-BPM PS3 Installation Help
I'm not a super techie, so installing the latest release from Oracle was a challenge, but I encountered a number of problems and kept notes of what I did to solve it. Many of these hints came from the Forum, but nothing had all of the relevant info under one thread. So here is what I pieced together. If this is helpful to anybody, I'd love to hear it - either on this thread or at my e-mail address of [email protected]. My thanks to Linus Chow of Oracle for some help and allowing me to think I could do this!
Comments/Suggestions on Oracle 11g SOA-BPMN PS3 Installation_
Suggest downloading all files into a common directory. I stuck this folder at the root (C:) drive. At collectively just over 5 GBs, the downloading will take several hours (for me it was a full day, as did the installation). You will need an OTN account to be able to download the software. A good overview of PS3 is at the following link: http://blogs.oracle.com/bpm/2011/01/bpm_suite_11gr1_ps3_released.html.
General comment/suggestion. Be sure to name the aforementioned folder without any spaces (big problems if this is done because of how unzipped files do/don’t work with a path name with spaces in it). As the installs get started, note that an Oracle directory (under the root) with a default name for the middleware directory, named Middleware, is created as the default.
The link with the installation is actually helpful, but it is incomplete (http://www.oracle.com/technetwork/middleware/bpm/downloads/index.html). Some of the detail needed is in the quick installation guide (http://download.oracle.com/docs/cd/E17904_01/install.1111/e14318/toc.htm, and I suggest downloading the PDF version), but the order conflicts with the previous information. I resolved this by using the latter for detail, but the former for the sequence. I also had to turn to several blogs/forums (the main one being: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html) to get help on troubleshooting problems with the installation (see below for others).
I have a Windows 7 Professional 64-bit version, but I ended up following the path for the 32-bit install path (see the main link cited above), mostly because it was unclear to me what the 64-bit path would be. I also already had the 32-bit version of the JRE installed. The following links cover identifying the differences and what you may have installed as well as alternative versions to download: http://www.java.com/en/download/faq/index_general.xml?user_os=Windows%207; http://www.java.com/en/download/faq/java_win64bit.xml; and http://www.java.com/en/download/manual.jsp.
Another general comment/suggestion. I found it useful to reboot after each step. It shut down services that I would otherwise have to search for and shut down manually. Some of the installations require services activated by previous steps to be turned off, so you’re better off doing something like this rather than encountering such an error in a subsequent step.
Step 1: Installing the XE database. The file is an .exe file, and will execute upon a double click. However, the instruction regarding RCU is best saved until the 3rd step, doing it just before you install the RCU. More importantly, there are some things to keep in mind about the database install. First, after installation, you should sign on to the DB, using the Go To DB Home Page option under the Express Edition (XE) folder or set of menu options (created as part of the installation), under the SYSTEM user account. During installation, you’ll have to have given a password for this account, so make sure it is one you can remember. After signing on as SYSTEM, give the SYS user account another (or same) password that you can remember. You will use the SYS account in subsequent steps. Second, there is a parameter for the database that must be changed from the default. This is covered in the links below: http://blogs.oracle.com/tridib_samanta/2010/03/rcu-6107db_init_param_prerequisite_failure_for_processes.html and http://cn.forums.oracle.com/forums/thread.jspa?threadID=1004605. To solve this, select SQL button on the DB home page, then SQL Commands button on the next page, paste/enter into the pane at the top the following command, “ALTER SYSTEM SET processes=300 SCOPE=SPFILE;” (but without the quotes), and then click on the Run button. (The parameter must be greater than or equal to 200, but I found references to setting in equal to 300 or 500.) Then you can log out and close the web page.
At times, the DB might not be started when you are expecting it to be running (e.g., after a reboot), which is covered in this link: Oracle 10g database homepage not working? (You’ll know that it is isn’t running if you try to open the Go To DB Home Page option and it won’t open, displaying an error page instead.) I found that the simplest way to fix this was to go to the Control Panel, Administrative Tools, Services, and then look to see if the OracleServiceXE service is started. If not, then restart by right-clicking on that service listing and choosing the appropriate option to execute.
Step 2: Installing WebLogic Server. Either before or during this process, you will need to set up an Oracle Support Account. However, you need a customer ID to be able to create a profile. I was thus not able to complete a profile, so the WLS installation defaulted to the Anonymous registration option. This still needed an e-mail address though, the same one with which you would create the Oracle Support profile, so you should have one at the ready. (It would not accept the e-mail address for my OTN account.) As far as I can tell, the consequence of this path is that I cannot automatically get patches and such. I figure this is a problem to be solved another day. The Oracle Support links are: https://support.oracle.com/CSP/ui/faq_en.html#SignIn and https://support.oracle.com/CSP/ui/flash.html.
If you go with the default, the middleware directory is just Middleware under the Oracle directory. If you select a different name or location, you will need to remember where it is and what the name is. You should also note the folder name for where the JDK was stuck, which for me was JDK160_21 under the Middleware directory.
Step 3: Installing RCU. The trickiest of the steps. Unlike with the previous two steps, this installation first happens after the downloaded file is unzipped. You MUST unzip into a directory for which the full path name (and not just the one you create upon extraction) is without any spaces. (You can use the underscore symbol instead of a space to indicate separation.) Unzip the folder/files, and then open the Command Prompt window. Using the cd command, work your way to the full path name to where you just unzipped these files. Next, continue to work your way down to subfolders created during the extraction process. You want to end up at the rcuHome\BIN\ subfolder. THEN do the RCU-related command cited in Step 1. Type in at the prompt the following command and hit enter: set RCU_JDBC_TRIM_BLOCKS = TRUE. Then, type in rcu.bat at the prompt and hit enter, which will run the installation and configuration sequence. This is realized through a series of windows that open for you to input information and make selections. Use the document at the following link of specific guidance as to what the configuration screens should have entered on them: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html. This includes things like the service name (XE) and the host name (localhost) to enter, assuming you are installing this on a laptop or PC for local use only. Some other helpful links for troubleshooting the RCU installation are located at: http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14259/rcu.htm#CIHGHDBG; http://oraclebi.blogspot.com/2010/08/rcu-and-what-it-means-for-you.html ; Re: RCU 11.1.1.4 install fails on Oracle XE and http://cn.forums.oracle.com/forums/thread.jspa?threadID=2162409&tstart=0&messageID=9336791.
The RCU sets up DB schemas and the like for the BPMN and SOA stuff. The screenshots in the previously mentioned document should be followed exactly. You can also refer to pp. 5-6 of the Quick Installation Guide. You should use the SYS user account (the default, I think), so have the password handy.
I also found it more comforting to shutdown the RCU installation/configuration via the cancel option than to keep going back a screen to fix something. This may not have been necessary, but it made me feel better. Be prepared for interim screens that pop up to show that the installation/configuration is happening, which will also tell you there are errors. One such screen says that XE isn’t supported for RCU, but you can ignore that (as the supporting guidelines indicate).
Step 4: Installing JDev. This is an executable, and you just install with all of the defaults. This process will start the WLS as part of the installation, so you must turn it off before going to the next step. Again, I just rebooted to do this.
Step 5: Installing SOA Extensions for JDev. Instructions on the page at the main link are clear and correct. The 2 screen shots must be reviewed and adhered to completely in checking off options. The first selection defines the areas where updates are to be sought out, while the second selection is from the available option(s) from those areas. In this case, you are only installing the SOA Composite Editor, though there are several other updates/extensions from which to select (but don’t, at least for now).
Step 6: Installing BPM Extensions for JDev. Same comment as for Step 5, except that the option you want to select is not as what is indicate (the BPM Composite Editor) but the BPM Process Studio! I would advise against doing these as part of the same update sequence. In fact, I closed out JDev completely (though I did not reboot) between Step 5 and Step 6.
Step 7 and 8: Installing SOA Suite. I suggest unzipping both of the downloaded zip files. Again, it is critical that the full path name into which files are extracted contains no spaces. Once unzipped, you should navigate to the Disk1 folder under the directory into which the first zip file was extracted, but you should do this with the Command Prompt window and the cd command. From this prompt, you should type in “setup.exe -jreLoc {location of JDK}” (without the quotes) and hit enter. The {location of JDK} is where the JDK was installed as part of the WLS installation. For me this was in folder JDK160_21 under the Middleware folder in the Oracle directory. Refer to pp. 12-15 of the Quick Installation Guide. This took me a couple of tries before I actually got the installation screen to show up correctly. Some of what this looks like is also in the following link: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html.
What you may eventually figure out is that 5 installation disks are stretched across two zip files. Once the installation of disks 1 and 2 are done, a popup window will ask you to browse to the folder where each of the next 3 disks are, which is in the folder created by the extraction of files/folders from the second zip file for the SOA Suite. As with previous steps, I rebooted after all of this was done.
Step 9: Installing the Business Process Converter. Unzip the downloaded file, and open the Installation Instructions Word file. It will instruct you to point JDev’s update sequence to another zip file extracted during the unzipping of the downloaded zip file for the converter. JDev will install this without much fuss or muss, but this installation is to the Studio and not to BPA. (For installation to BPA, you need to have installed BPA, and followed the other guidance in the instructions.) To get to JDev’s update sequence, follow the same first step as in Step 5, but check the option to browse for and upload from a local file. This local file will be the previously mentioned other zip file.
-------------------------------------------------Create a new user oracle and proceed with the installation
--> useradd -g oinstall oracle
If your are forwarding your GUI using xming or vnc you would need to copy the xauth of root user and set it to oracle
[server1:root] xauth list
bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e
[server1:root] sudo su - oracle
[server1:oracle] export DISPLAY=localhost:10.0
[server1:oracle] xauth add bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e -
Mandrake Linux 8.0 - can't get Oracle Universal Installer to run
Hi all.
I'm having trouble getting Oracle's Universal Installer to run.
I'm trying to become DBA certified, so I went and purchased
(among
other materials) a book titled "Oracle8i for LINUX Starter Kit",
authored by Steve Bobrowski, published by Oracle Press / Osborne
McGraw-Hill, ISBN 0-07-212442-3.
The book includes a CD-ROM with Oracle8i Enterprise Edition,
Release 2, version 8.1.6 for LINUX.
I'm running an Intel P-III 500 MHz with 512MB RAM, 30GB hard disk
exclusively configured for Linux (no other O/S on it) and Oracle
(so LOTS of hard disk space is available), Matrox Millennium G400
video card (32MB).
My hardware exceeds all requirements listed in aforementioned
book, and also in Oracle's own documentation (from their web
site).
I'm running Mandrake's Linux 8.0, PowerPack Edition, with:
kernel = 2.4.3
XFree 4.0.3 (and I've also tried 3.3.6, with identical results
to those listed below)
glibc 2.2.2
I've followed the book's instructions to the letter, and set up
the environment variables, oracle user, and subdirectories as
required.
So far, so good.
OK. Now, here's where the problem appears:
I log in as the oracle user, and try to start the Oracle
Universal Installer (following the instructions in the book)
as follows:
cd /mnt/cdrom
./runInstaller
The computer tries to do some stuff, then spews the information
listed at the bottom of this posting to the screen. I press
<ENTER> after "OK" and get dumped back to the bash prompt.
That's it. I can't go any further. No Oracle Universal
Installer.
By the way, I've also downloaded Oracle8i Enterprise Edition
Release 3, version 8.1.7 from Oracle's website, and tried to
install that, too. Exactly same results.
The nice folks at Oracle have politely told me to get lost,
and not bug them for unpaid support.
I'd really like to get this stuff up and running, so I can
start studying and practicing for DBA, but I need help 'cause
this problem is beyond me.
So... can anyone help??
Thanks in advance.
[email protected]
[email protected]
=================================================================
=========
Here's what shows up when I try to start the Oracle Universal
Installer:
[oracle@localhost cdrom]$ ./runInstaller
[oracle@localhost cdrom]$ Initializing Java Virtual Machine
from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expande
d/linux/bin/jre. Please wait...
SIGSEGV received at bfffedac
in /mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/E
xpanded/linux/lib/linux/native_threads/libjava.so. Processing
terminated
Sat Sep 29 12:58:56 2001
jre full version "JDK 1.1.8 IBM build l118-20000429 (JIT
enabled: jitc)"
Operating Environment
Host : localhost.localdomain.localdomain
OS Level : 2.4.3-20mdk.#1 Sun Apr 15 23:03:10 CEST 2001
glibc Version : 2.2.2
No. of Procs : 1
Memory Info:
total: used: free: shared: buffers: cached:
Mem: 525901824 116862976 409038848 0 6377472
61140992
Swap: 1069244416 0 1069244416
MemTotal: 513576 kB
MemFree: 399452 kB
MemShared: 0 kB
Buffers: 6228 kB
Cached: 59708 kB
Active: 63740 kB
Inact_dirty: 2196 kB
Inact_clean: 0 kB
Inact_target: 1072 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 513576 kB
LowFree: 399452 kB
SwapTotal: 1044184 kB
SwapFree: 1044184 kB
User Limits (in bytes except for NOFILE and NPROC) -
RLIMIT_FSIZE : infinity
RLIMIT_DATA : infinity
RLIMIT_STACK : 2093056
RLIMIT_CORE : 0
RLIMIT_NOFILE : 1024
RLIMIT_NPROC : 16383
Application Environment
Signal Handlers -
SIGQUIT : ignored
SIGILL : sysThreadIDump (libjava.so)
SIGABRT : sysThreadIDump (libjava.so)
SIGFPE : sysThreadIDump (libjava.so)
SIGBUS : sysThreadIDump (libjava.so)
SIGSEGV : sysThreadIDump (libjava.so)
SIGPIPE : ignored
SIGUSR1 : doSuspendLoop (libjava.so)
Environment Variables -
PWD=/mnt/cdrom/install
LTDL_LIBRARY_PATH=/usr/lib
ORACLE_SID=oralin
TMPDIR=/usr/oracle/tmp
XAUTHORITY=/usr/oracle/.Xauthority
mc=
LC_MESSAGES=en_US
HOSTNAME=localhost.localdomain
LD_LIBRARY_PATH=/mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/
1/DataFiles/Expanded/linux/lib/linux/native_threads:/lib:/usr/lib
:/usr/lib
NLSPATH=/usr/share/locale/%l/%N
CLASSPATH=/usr/oracle/tmp/OraInstall:../stage/Components/oracle.s
wd.oui/1.7.0.18.0A/1/DataFiles/Expanded/lib/OraInstaller.jar:../s
tage/Components/oracle.swd.oui/1.7.0.18.0A/1/DataFiles/Expanded/l
ib/InstImages.jar:../stage/Components/oracle.swd.oui/1.7.0.18.0A/
1/DataFiles/Expanded/lib/InstHelp.jar:../stage/Components/oracle.
swd.oui/1.7.0.18.0A/1/DataFiles/Expanded/lib/oracleice.jar:../sta
ge/Components/oracle.swd.oui/1.7.0.18.0A/1/DataFiles/Expanded/lib
/help.jar:../stage/Components/oracle.swd.oui/1.7.0.18.0A/1/DataFi
les/Expanded/lib/ewt.jar:../stage/Components/oracle.swd.oui/1.7.0
.18.0A/1/DataFiles/Expanded/lib/xmlparser.jar:../stage/Components
/oracle.swd.oui/1.7.0.18.0A/1/DataFiles/Expanded/lib/swingaccess.
jar:/mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/
Expanded/linux/lib/rt.jar:/mnt/cdrom/stage/Components/oracle.swd.
jre/1.1.8/1/DataFiles/Expanded/linux/lib/i18n.jar:/mnt/cdrom/stag
e/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/
math.jar:/mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/1/DataF
iles/Expanded/linux/lib/classes.zip
LESSKEY=/etc/.less
LANGUAGE=en_US:en
LESSOPEN=|/usr/bin/lesspipe.sh %s
BROWSER=kfmclient openProfile webbrowsing
LESS=-MM
USER=oracle
LC_TIME=en_US
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;3
3;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;
32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.
tgz=01;31:*.tbz2=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lzh=
01;31:*.lha=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz
2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.jpg=01;35:*.jpeg=01;3
5:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.t
if=01;35:*.tiff=01;35:
THREADS_TYPE=native_threads
MACHTYPE=i586-mandrake-linux-gnu
KDE_MULTIHEAD=f
KDE_MULTIHEAD=false
HELP_BROWSER=kfmclient openProfile webbrowsing
THREADS_FLAG=native
MAIL=/var/spool/mail/oracle
INPUTRC=/etc/inputrc
GTK_RC_FILES=/etc/gtk/gtkrc:/usr/oracle/.gtkrc
XMODIFIERS=@im=none
LANG=en
JAVA_HOME=/mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/1/Data
Files/Expanded/linux
ORACLE_BASE=/usr/oraInventory
LC_NUMERIC=en_US
COLORTERM=
ORACLE_HOME=/usr/oracle
TMP=/usr/oracle/tmp
DISPLAY=localhost:0.0
LOGNAME=oracle
SHLVL=3
LC_CTYPE=en_US
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-
unix/1074
SHELL=/bin/bash
HOSTTYPE=i586
QT_XFT=0
OSTYPE=linux-gnu
HISTSIZE=1000
HOME=/usr/oracle
TERM=xterm
PATH=/bin:/usr/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/u
sr/X11R6/bin:/usr/games:/usr/oracle/bin
SECURE_LEVEL=3
LC_MONETARY=en_US
RPM_INSTALL_LANG=en_US:en
LC_COLLATE=en_US
LIBPATH=/mnt/cdrom/stage/Components/oracle.swd.jre/1.1.8/1/DataFi
les/Expanded/linux/lib/linux/native_threads
Libraries Loaded by the JVM
<main>
libjitc.so
libzip.so
Current Thread Details
"main" (TID:0x4032a2d8, sys_thread_t:0x804de98)
Native Thread State: ThreadID: 00000400 Reuse: 1 USER
PRIMORDIAL RUNNING
Native Stack Data : base: bfffef08 pointer bffdf764 used
(128932) free(-12196)
----- Monitors held -----
----- Native stack -----
Java_java_lang_System_initProperties_stub
invokeNativeMethod
invokeLazyNativeMethod
__irem_trap6
------ Java stack ------ () prio=5 *current
thread*
java.lang.System.initializeSystemClass(System.java)
Total Thread Count: 3
Active Thread Count: 3
JNI Thread Count: 0
Full thread dump:
"Async Garbage Collector" (TID:0x4032a238,
sys_thread_t:0x80dca78)
Native Thread State: ThreadID: 00000803 Reuse: 1 DAEMON
MONITOR WAIT
Native Stack Data : base: bf5ffb20 pointer bf5ff914 used
(524) free(116212)
----- Monitors held -----
----- Native stack -----
sysMonitorWait
sysThreadSleep
threadSleep
SetOrigArgs
sysThread_shell
pthread_detach
__clone
------ Java stack ------ () prio=1
"Finalizer thread" (TID:0x4032a288, sys_thread_t:0x80dc7f8)
Native Thread State: ThreadID: 00000402 Reuse: 1 DAEMON
MONITOR WAIT
Native Stack Data : base: bf7ffb20 pointer bf7ff988 used
(408) free(116328)
----- Monitors held -----
----- Native stack -----
sysMonitorWait - waiting on Finalize me queue lock
finalizeOnExit
sysThread_shell
pthread_detach
__clone
------ Java stack ------ () prio=1
"main" (TID:0x4032a2d8, sys_thread_t:0x804de98)
Native Thread State: ThreadID: 00000400 Reuse: 1 USER
PRIMORDIAL RUNNING
Native Stack Data : base: bfffef08 pointer bffdf758 used
(128944) free(-12208)
----- Monitors held -----
----- Native stack -----
Java_java_lang_System_initProperties_stub
invokeNativeMethod
invokeLazyNativeMethod
__irem_trap6
------ Java stack ------ () prio=5 *current
thread*
java.lang.System.initializeSystemClass(System.java)
System Monitor Status
Thread queue lock: unowned.
Name and type hash table lock: unowned.
String intern lock: unowned.
JNI pinning lock: unowned.
JNI global reference lock: unowned.
Zip lock: unowned.
BinClass lock: unowned.
Class loading lock: unowned.
Java stack lock: unowned.
Code rewrite lock: unowned.
Heap Lock: unowned.
Has finalization queue lock: unowned.
Finalize me queue lock: unowned.
Integer lock access-lock: unowned.
Monitor cache lock: unowned.
Monitor registry: unowned.
Object Monitor Status
OK
[oracle@localhost cdrom]$
=================================================================
=========
[email protected]
[email protected]I have Mandrake 8.0 on PII-600, 256 RAM. I used the downloaded
8.1.7. Edit JRE_LOCATION in Disk1/install/oraparam.ini to point
to your version of JRE 1.1.8 v3 (JRE from
http://www.backdown.org). Then try with NUMLOCK=OFF.
I just clicked the 'typical' installation. It failed at the end
and did not install the database manager. The error message was:
SIGGEV received at bfffea90 in
/u01/app/oracle/jre/1.1.8/lib/linux/native_threads/libjava.so
Process terminated
Writing stack trace to javacore30299.txt... OK
/u01/app/oracle/product/8.1.7/bin/dbassist: line 103: 30229
Segmentation fault $JRE_EXEC -Duser.dir=$USER_DIR -classpath
$CLASSPATH DBCreateWizard $ARGUMENTS
If you get beyond this point, let me know. Good luck! -
Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Hi Guys!
Thanks for your advises. I still working toward a resolution.
But I encountered another issue from Enterp Manager :
ERROR : Please correct the following error: Connection string must be specified.
My connection has this format:
//using connection string attributes to connect to Oracle Database
con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
con.Open();
Console.WriteLine("Connected to Oracle" + con.ServerVersion);
Please tell me what is wrong here. Thanks. Dan.
Hi all !
I need help please for resolving the following :
Problem:
Im having frequent disconnection after abnormal shutdown due to power failure.
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
The alert.log is at the bottom
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
Im having frequent disconnection after abnormal shutdown due to power failure.
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0Hi,
Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1) -
Oracle BPM (former ALBPPM) Hybrid LDAP Support for IDM
So far ALBPM Enterprise (now Oracle BPM) had its best (by far) setup on a hybrid setting. In this case, ALBPM Directory had its own database, but authentication (users & groups) was set against an LDAP server (Sun One or Active Directory).
Are there any plans to extend the hybrid configuration to Oracle IDM LDAP?
Thanks.Create a new user oracle and proceed with the installation
--> useradd -g oinstall oracle
If your are forwarding your GUI using xming or vnc you would need to copy the xauth of root user and set it to oracle
[server1:root] xauth list
bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e
[server1:root] sudo su - oracle
[server1:oracle] export DISPLAY=localhost:10.0
[server1:oracle] xauth add bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e -
Did anyone analyze the Pro's and Con's between BPM Suite & ORACLE BPA+SOA?
Hi,
Did anyone work on the comparison between Oracle BPM Suite which is enhanced version of AquaLogic BPM, and the Oracle BPA Suite+ SOA Suite?
regards,Create a new user oracle and proceed with the installation
--> useradd -g oinstall oracle
If your are forwarding your GUI using xming or vnc you would need to copy the xauth of root user and set it to oracle
[server1:root] xauth list
bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e
[server1:root] sudo su - oracle
[server1:oracle] export DISPLAY=localhost:10.0
[server1:oracle] xauth add bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e -
Oracle BI Scheduler service inactive
Hi all, when I try to save an Ibot, I get the following error:
Oracle BI Scheduler Error: [nQSError: 76012] The Scheduler client connection was closed.
Impactos del error
Códigos de error: GYFPI8RN
I have the Scheduler Service running and the Presentation services is also running. However, when I started the Scheduler Service, I got the following message in the log:
2010-02-24 12:38:30
[68013] Service started.
2010-02-24 12:38:30
Service started.
2010-02-24 12:38:30
[71076] Oracle BI Scheduler localhost:9705 has been changed to an Inactive state.
How can I change the state from Inactive to Active, if this is the problem?
Thanks in advance!hi elena, i am encountering same issue now but when i checked the instanceconfig.xml, there is no tag for PartOfCluster. May I know the format for this tag and where to put it in the instanceconfig.xml?
thanks a lot! -
Oracle 10g ok but after restart can't login.
to all friends
i am using RHLE 4 ( AS)
successfully i installed oracle 10g configured working properly(user as oracle)
i can login to oracle through http://localhost.localdomain:1158/em
successfully i login through mozilla.i created table i can insert data
and i can list it. no problem working properly
but after i restrat i can't login. i got one alert message
the connection was refused when attempting to contact localhost.localdomain:1158/em
pls how i can login ?
also from where i get the option sqlplus.
in terminal sqlplus is not getting( from where i get sqlplus>
option like 8i,9i or 10g in windows)
awaiting your valuable advise
sadiqueplease anybody can tell me how i can configure the following
for a startup ( I AM USING ORA10G , RHEL 4 AS)
i successfully finished installation oracle first time i can login
http:/localhost.localdomain:1158/em ( login successfully,crate table,insert data
but after restart i can not get log in)
pls anybody can x plain me how i can configure the following
for startup
oracle listener
enterprise manager
isqlplus
ur quick response will be highly appreciated -
Windows主机访问虚拟机linux中的oracle实例的安装方法
在学习oracle时一般都会在windows中安装虚拟机,在虚拟机安装linux系统并[安装oracle.
下面是自己的在windows中安装虚拟机并让windows主机能访问虚拟机中oracle实例的安装方法写的不好请大家多多包涵.
一.准备安装所需要的软件:
1.VMware虚拟机的下载和安装在我的博客中已经提到,这里就不再详细阐述。
2.先推荐一个redhat的下载地址,RedHat Linux 5企业版:content.gougou.com/content,
这个比较全面,但是也比较大(2.68G),如果自己有合适的linux安装版本,可以不使用这个。
二.在VMware虚拟机为RedHat Linux创建新的虚拟机就不详述了
三.在新建的虚拟机里安装RedHat Linux就不详述了
四.在linux系统中安装oracle
为了创建一个新的oracle用户输入和以下相似的命令:
# /usr/sbin/useradd -g oinstall -G dba[,oper] oracle
给oralce用户设置密码
# passwd oracle
修改内核参数编辑/etc/sysctl.conf文件
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
当在/etc/sysctl.conf文件中指定这些内核参数后你要重启系统
也可以执行以下命令让内核参数生效
/sbin/sysctl -p
给oracle用户设置shell限制
为了提高数据库软件在linux系统中的性能你必须给oracle用户增加以下shell限制:
shell limit item in limits.confg hard limit
能打开文件的最大数量 nofile 65536
单个用户可用的最大进程数 nproc 16384
在/etc/security/limits.conf文件中增加以下限制:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
在/ect/pam.d/login文件如果下面显示的参数没有就增加到该文件中
session required pam_limits.so
根据oracle用户的默认shell,对默认的shell启动文件进行以下更改:
对于Bourne, Bash, or Korn shell在/etc/profile文件中增加下面的代码
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
对C shell(csh or tcsh)在/etc/csh.login文件中增加以下代码
if ( $USER == "oracle" ) then
limit maxproc 16384
limit descriptors 65536
endif
创建oracle根目录可以输入以下相似的命令:
# mkdir -p /mount_point/app/oracle_sw_owner
# chown -R oracle:oinstall /mount_point/app/oracle_sw_owner
# chmod -R 775 /mount_point/app/oracle_sw_owner
如果oracle根目录的加载点是/u01并且oracle软件使用者用户为oracle那么oracle根目录的路径为:
/u01/app/oracle
[root@weblogic28 ~]# mkdir -p /u01/app/oracle
[root@weblogic28 ~]# chown -R oracle:oinstall /u01/app/oracle
[root@weblogic28 ~]# chmod -R 775 /u01/app/oracle
当你配置oracle用户环境变量时设置ORACLE_BASE时就将oracle根目录的路径赋给ORACLE_BASE
创建存储数据库文件和数据库恢复文件的目录
创建存储数据库文件的目录的命令如下:
# mkdir /mount_point/oradata
# chown oracle:oinstall /mount_point/oradata
# chmod 775 /mount_point/oradata
将存放数据库文件的目录创建在oracle根目录下/u01/app/oracle/oradata
[root@weblogic28 ~]# mkdir /u01/app/oracle/oradata
[root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/oradata
[root@weblogic28 ~]# chmod 775 /u01/app/oracle/oradata
创建oracle Home目录/u01/app/oracle/10.2.0/db
[root@weblogic28 ~]# mkdir /u01/app/oracle/10.2.0/db
[root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/10.2.0/db
[root@weblogic28 ~]# chmod 775 /u01/app/oracle/10.2.0/db
创建存储数据库恢复文件的目录的命令如下:
# mkdir /mount_point/flash_recovery_area
# chown oracle:oinstall /mount_point/flash_recovery_area
# chmod 775 /mount_point/flash_recovery_area
将存放数据库恢复文件的目录创建在oracle根目录下/u01/app/oracle
[root@weblogic28 ~]# mkdir /u01/app/oracle/flash_recovery_area
[root@weblogic28 ~]# chown oracle:oinstall /u01/app/oracle/flash_recovery_area
[root@weblogic28 ~]# chmod 775 /u01/app/oracle/flash_recovery_area
创建一个/tmp目录
[root@weblogic28 ~]# mkdir /u01/tmp
[root@weblogic28 ~]# chmod a+wr /u01/tmp
切换到oracle用户来设置环境变量
[oracle@weblogic28 ~]$
ls -a
查看.bash_profile文件
vi .bash_profile
TEMP=/u01/tmp
TMPDIR=/u01/tmp
export TEMP TMPDIR
export LD_ASSUME_KERNEL=2.6.9
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/10.2.0/db
export ORACLE_SID=jycs
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
export CLASSPATH
[oracle@weblogic28 tmp]$# umask
0022
umask命令将会显示22,022或0022
[oracle@weblogic28 tmp]$# env | more
REMOTEHOST=10.138.135.242
HOSTNAME=weblogic28
SHELL=/bin/bash
TERM=ansi
HISTSIZE=1000
TMPDIR=/u01/tmp
KDE_NO_IPV6=1
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=root
TEMP=/u01/tmp
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
1:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.b
tm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:
*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*
.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;3
5:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
ORACLE_SID=jycs
ORACLE_BASE=/u01/app/oracle
KDEDIR=/usr
MAIL=/var/spool/mail/root
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:
/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
INPUTRC=/etc/inputrc
上面显示了你所设置的环境变量
也可以用下面的命令来查看环境变量
[oracle@weblogic28 tmp]$ echo $ORACLE_HOME[$ORACLE_SID,$ORACLE_BASE]
将数据库软件包拷贝到linux系统中
然后解压文件
$ gunzip filename.cpio.gz
[oracle@weblogic28 tmp]$ gunzip 10201_database_linux_x86_64.cpio.gz
执行上面的命令后会出现在 10201_database_linux_x86_64.cpio文件包
再执行如下命令解压文件
$ cpio -idmv < filename.cpio
[oracle@weblogic28 tmp]$ cpio -idmv <10201_database_linux_x86_64.cpio
database/stage/prereq/db/refhost_Custom.xml
database/stage/prereq/db/refhost.xml
database/stage/prereq/db/db_prereq.xml
database/stage/prereq/db/dbprereq.jar
database/stage/prereq/db
database/stage/prereq/oui/knowledgesrc.xml
database/stage/prereq/oui/rulemap.xml
database/stage/prereq/oui/OraPrereqChecks.jar
database/stage/prereq/oui
database/stage/prereq/common/rulemap.xml
database/stage/prereq/common
会出现以上信息
如果是远程安装可以使用VNC远程连接到linux服务器上来执行界面安装
1、配置并开启vnc服务
[oracle@localhost ~]$ vncserver
You will require a password to access your desktops.
Password: ---这里要求输入vnc客户端登录的密码并重复
Verify:
New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
Creating default startup script. /home/oracle/.vnc/xstartup
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:2.log
----如上告诉你vnc终端已经创建好,用的是第二个终端
2、在创建vnc服务的用户目录下会生成一个.vnc的隐藏目录
[oracle@localhost ~]$ ls -a
. .bash_profile Disk1 .gconfd .gstreamer-0.10 .metacity README.htm .viminfo
.. .bashrc .eggcups .gnome .gtkrc-1.2-gnome2 .mozilla .redhat .vnc
.bash_history .chewing .emacs .gnome2 .ICEauthority .nautilus .scim .Xauthority
.bash_logout Desktop .gconf .gnome2_private .kde p8202632_10205_Linux-x86-64.zip .Trash .zshrc
3、进入.vnc目录,找到xstartup可执行文件,用vi 编辑器打开
[oracle@localhost ~]$ cd .vnc/
[oracle@localhost .vnc]$ ls
localhost.localdomain:2.log localhost.localdomain:2.pid passwd xstartup
[oracle@localhost .vnc]$ vi xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc ---去掉前面的#号即可 --保存退出
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
~
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
"xstartup" 12L, 333C 已写入
[oracle@localhost .vnc]$ vncserver
New 'localhost.localdomain:3 (oracle)' desktop is localhost.localdomain:3
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:3.log
4、清除刚才创建的vnc虚拟终端
[oracle@localhost .vnc]$ vncserver -kill :1
Can't find file /home/oracle/.vnc/localhost.localdomain:1.pid
You'll have to kill the Xvnc process manually
[oracle@localhost .vnc]$ vncserver -kill :2
Killing Xvnc process ID 11889
[oracle@localhost .vnc]$ vncserver -kill :3
Killing Xvnc process ID 11945
[oracle@localhost .vnc]$ vncserver -kill :4
Can't find file /home/oracle/.vnc/localhost.localdomain:4.pid
You'll have to kill the Xvnc process manually
5、重新建立新的vnc虚拟终端
[oracle@localhost .vnc]$ vncserver
New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:2.log --该终端号为 :2
6、在windows客户端用RealVNC软件中的Run VNC Viewer客户端连接。
7、在Run VNC Viewer 只需输入linux服务器的地址和刚才生成的终端号:2
格式:192.168.1.56:2
8、输入刚才配置vnc服务的时候配的即可登录linux服务器图形界面。
如果是本地安装的话执行下面的步骤
用root用户登录
[root@weblogic28 ~]#xhost + 让任何用户都是启用图形界面
切换到oracle用户
[root@weblogic28 ~]su - oracle
[oracle@localhost ~]$ cd /database
[oracle@weblogic28 database]$./runInstaller
设置虚拟机的IP地址让主机可以访问虚拟机
1、 NAT方式
1.1 右键单击主机任务栏上的网络连接图标,选择打开网络连接页面
1.2 启动”VMware Network Adapter VMnet8” 和 “VMware Network Adapter VMnet1”这两个连接
1.3 右键单击“本地连接”,选择属性,打开”本地连接属性”对话框,选择”高级”标签,打开高级标签页面,选中选项”允许其它网络用户通过此计算机的internet连接来连接”,然后在”家庭网络连接”下拉列表中选择VMware Network Adapter VMnet8。
1.4 在虚拟机上右键单击你要设置的虚拟机选“setting”(因为有的不止虚拟一台),打开”Hardware”标签页,单击”device”下的ethernet,此时在右边选中NAT:Used to share the host’s IP address. 然后点击确定。
1.5 打开虚拟机上的Edit菜单,选择virtual network settings打开virtual network editor页面,先打开automatic bridging标签页,关闭automagic bridging,点击应用;再打开DHCP标签页,启动DHCP服务,然后点击应用;最后打开NAT标签页,启动NAT服务,然后点击应用;点击确定后退出
1.9 启动虚拟机中的系统。
1.10 设置虚拟机中的系统的IP地址为192.168.100.200,默认网关为192.168.100.1 (VMware Network Adapter VMnet8的IP地址),DNS服务器设置和主机中的DNS服务器一致。
1.11 重新加载网络参数或者重新启动虚拟机中的系统。
1.12设置静态IP地址.
(1).命令行设置(该方式只是临时设置,系统重启后失效)
[1].设置IP和掩码
ifconfig 接口名(如eth0) IP地址 netmask 子网掩码
[2].设置网关
route add default gw 默认网关
[3].设置DNS服务器地址
echo "nameserver DNS服务器地址">/etc/resolv.conf
实例:假设设置eth0的IP:192.168.1.100,DNS:192.168.1.12
ifconfig eth0 192.168.100.200 netmask 255.255.255.0
route add default gw 192.168.100.1
echo "nameserver=192.168.1.12">/etc/resolv.conf
(2).修改文件来实现配置网络(需要重启网络接口重启后IP不会改变)
[1].修改IP地址,文件:/etc/sysconfig/network-scripts/ifcfg-接口名
这里假设网络接口名为eth0.
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 (注:这里填的是网络接口名)
BOOTPROTO=static
ONBOOT=yes (注:是否随系统启动)
IPADDR=192.168.100.200(注:这里填写的是IP地址)
PREFIX=24 (注:这里填写的是掩码的长度)
NETMASK=255.255.255.0
GATEWAY=192.168.100.1( 注:这里写的是网关)就是VMware Network Adapter VMnet8的IP地址
[2].修改DNS
echo "nameserver DNS服务器地址">/etc/resolv.conf
[3].重启网络接口(假设为eth0)
ifup eth0(注:这里写的是接口名)
关闭linux防火墙
(1) 重启后永久性生效:
开启:chkconfig iptables on
关闭:chkconfig iptables off
(2) 即时生效,重启后失效:
开启:service iptables start
关闭:service iptables stop
linux下Oracle自动启动与停止
1.修改Oracle系统配置文件/etc/oratab
/etc/oratab 格式为: SID:ORACLE_HOME:AUTO
把AUTO域设置为Y(大写),只有这样,oracle 自带的dbstart和dbshut才能够发挥作用。我的为:
$ORACLE_SID:$ORACLE_HOME:Y
这儿的ORACLE_SID和ORACLE_HOME是oracle用户下的环境变量,在不同的电脑上有不同的值.当你打开/etc/oratab的时候,修改一下就行了.
2.编写服务脚本
在/etc/rc.d/init.d目录下创建oracle文件作为启动脚本,内容如下:容如下:
#!/bin/sh
#chkconfig: 2345
#description:oracle_orcl
# /etc/rc.d/init.d/oracle_orcl
# auto start database orcl instance
#set oracle env
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/db_1
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=orcl
ORACLE_USER=oracle
#start or stop script
case $1 in
start)
su - "$ORACLE_USER"<<EOO
lsnrctl start LISTENER
sqlplus /nolog<<EOS
connect /as sysdba
startup
EOS
EOO
stop)
su - "$ORACLE_USER"<<EOO
lsnrctl stop LISTENER
sqlplus /nolog<<EOS
connect /as sysdba
shutdown immediate
EOS
EOO
echo "Usage: $0 {start|stop}"
esac
在oracle用户下输入如上的内容,然后保存退出,由于是启动脚本,需要执行权限;执行命令chmod a+x oracle授予oracle执行权限.
3.建立服务连接
ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc2.d/S99oracle
ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc3.d/S99oracle
ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc5.d/S99oracle
ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc0.d/K01oracle
ln -s /etc/rc.d/init.d/oracle /etc/rc.d/rc6.d/K01oracle
或可以通过执行以下命令来实现
chkconfig --add oracle
chkconfig命令运行成功后,在rc2.d,rc3.d,rc4.d,rc5.d下面建立了S99oracle 连接文件,可以在系统启动的时候,运行脚本启动数据库。在rc0.d、rc1.d和rc6.d目录下面建立了K99oracle文件,用于在系统关闭的时候自动运行脚本关闭数据库。可以使用 chkconfig --list oracle 命令查看服务配置,关于chkconfig更多的用法,可以通过man chkconfig查看
4.测试
启动,运行命令:./oracle_linuxdb start
关闭,执行命令:./oracle_linuxdb stop
可以用sqlplus user/passward@tnsname来测试启动和关闭数据库是否成功。现在重新启动linux主机,看数据库是否自动启动了.
这样主机就能访问虚拟机中的oracle数据库了其实运用Oracle Virtual Box + OEL会使安装数据库变得更加简便。
-
OUT Params in Procedure. Oracle 9
I am new to PL/SQl, and im doing an asp .net site connectin to oracle using ODP
I have written an procedure to take in Params and add a record to a DB, however I now want to use an OUT Param which will return a value to detemine whether the record already exists, this is my procedure, as you can see i have added an INOUT var called pv_exists, i want to check for the input records in my DB, is they exist i want the pv_exists to return a Zero to be site, any ideeas, im at a loss?
CREATE OR REPLACE PROCEDURE HR_USER."SP_ADDPR" (pv_prtype varchar2, pv_team number,pv_year varchar2, pv_month varchar2, pv_alert date, pv_exists IN OUT number )
IS
pv_rowCount number;
pv_tblid number;
pv_text number;
BEGIN
select Count(*) Into pv_rowCount from TBLPR;
if pv_rowCount > 0 then
select Max(ID) + 1 into pv_tblid from TBLPR;
Insert into TBLPR(id,PRType,PRTeamid,PRYEAR,PRMONTH,PRALERTDATE) Values (pv_tblid,pv_prtype,pv_team,pv_year,pv_month,pv_alert);
else
Insert into TBLPR(id,PRType,PRTeamid,PRYEAR,PRMONTH,PRALERTDATE) Values (1,pv_prtype,pv_team,pv_year,pv_month,pv_alert);
end if;
EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL;
WHEN OTHERS THEN
RAISE;
END sp_AddPR;Cheer up, Hughesie
create table tblpr(id number(10) not null
,prtype varchar2(10) not null
,prteamid varchar2(10) not null
,pryear number(4) not null
,prmonth varchar2(12) not null
,pralertdate date not null
,constraint tblpr_pk primary key (id));
/* Not sure about the natural key, but use this to tell "if record exists" */
create unique index tblrpr_ux1 on tblpr(prtype, prteamid);
create sequence tblpr_id_seq;
create or replace package tblpr_te
as
subtype tblpr_rt is tblpr%rowtype;
subtype prtype_t is tblpr.prtype%type;
subtype prteamid_t is tblpr.prteamid%type;
subtype pryear_t is tblpr.pryear%type;
subtype prmonth_t is tblpr.prmonth%type;
subtype pralertdate_t is tblpr.pralertdate%type;
procedure add(po_exists out pls_integer
,pi_prtype in prtype_t
,pi_team in prteamid_t
,pi_year in pryear_t
,pi_month in prmonth_t
,pi_alert in pralertdate_t);
end tblpr_te;
create or replace package body tblpr_te
as
procedure add(po_exists out pls_integer
,pi_prtype in prtype_t
,pi_team in prteamid_t
,pi_year in pryear_t
,pi_month in prmonth_t
,pi_alert in pralertdate_t)
is
begin
insert into tblpr(id
,prtype
,prteamid
,pryear
,prmonth
,pralertdate)
values (tblpr_id_seq.nextval
,pi_prtype
,pi_team
,pi_year
,pi_month
,pi_alert);
po_exists := 0;
exception
when dup_val_on_index
then
po_exists := 1;
end add;
end tblpr_te;
select * from tblpr;
set serveroutput on
declare
l_exists pls_integer;
begin
tblpr_te.add(l_exists, 'A_Type', 'Some_Team', 2008, 'January', sysdate +12);
commit;
dbms_output.put_line('l_exists: ' || l_exists);
end;
select * from tblpr;
drop package tblpr_te;
drop sequence tblpr_id_seq;
drop table tblpr purge
/Regards
Peter
Maybe you are looking for
-
Time Machine Craziness: Way too much data getting backed up
Hello. I'm on a retina MBP running Mountain Lion. Each time that Time Machine does a backup, it's backing up way more data than corresponds to any changes I have made. I'm aware of issues with virtualization software (I'm not using any) and I'm also
-
IDOC to HTTP tutorial and vice versa
Hello all, I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I
-
How to create an own dropdown function in the ALV toolbar?
Dear experts, I follow the sap.help.com and try to create a dropdow as an own fucntion the the toolbar of an ALV. My codes are as following: DATA: lo_dropdown TYPE REF TO CL_SALV_WD_FE_DROPDOWN_BY_IDX, lo_dropdown_func TYPE REF TO CL_SA
-
PO header conditions doubling up.
I am having a problem with the price determination on PO. I have created 19 custom condition types, of these some are header and some are item level. Problem 1. The header level condions are doubling up as per increase in line items. For ex.My Z head
-
Deletion of Total(Aggregated Sum) rows in planning book
I want to get rid of 'Total(Aggregated Sum)' rows in planning book tables. 'Total' line is useful but too many lines are uncomfortable for planners, so we're searching for the method not to use it. If you know how to configure or use macro for it, pl