Configurar Bulkloader na obeiros.cit
- Habilitando ssl;
http://paltman.com/2007/11/15/getting-ssl-support-in-python-251/
- Baixado o sqlite3 e instalado;
Download latest sqlite3 from sqlite website. sqlite-autoconf*
Install that in 3 simple steps
./configure
make
make install
Rebuild the python make make install (baixar o python e descompatar e executar esse comando)
- Colocado Oracle na variável de ambiente
nano /home/glassfish/.bash_profile
#############################
export ORACLE_BASE=/usr/local/oracle
export ORACLE_HOME=$ORACLE_BASE/9.2.0
export ORACLE_TERM=xterm
export PATH=$HOME/bin:$ORACLE_HOME/bin:$PATH
export NLS_LANG='AMERICAN_AMERICA.WE8ISO8859P1';
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export PATH=$PATH:$ORACLE_HOME/bin:$JAVA_HOME/bin
export LD_PRELOAD=~/lib/libcwait.so
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$GLASSFISH_HOME/bin:$ORACLE_HOME/bin
###########################
- Baixado o: cx_Oracle-5.1.2.tar.gz
Descompactado, acessado o diretório e rodado:
python setup.py install