Then it should work if I use your Witango startup script but it does not. Only the one variable is not present...
Jon On Monday, May 5, 2003, at 05:13 PM, Phil Wade wrote:
This is a bug in OSXs implementation of setenv. It works if you use sh as
your shell and use the export command.
We have reported this to apple but it does not seem to be high on their
priority list. It may get more attention if a few more people log it as a
bug.
On 6/5/03 12:23 AM, "Jon van der Raadt" <[EMAIL PROTECTED]> wrote:
Phil,
This is still not working... Something is trashing the
DYLD_LIBRARY_PATH -- when I type the setenv in the terminal it is there
but empty
Jon On Sunday, May 4, 2003, at 10:46 PM, Phil Wade wrote:
Jon,
I am assuming that the OCI is installed in /Library/Oracle/OCI/8.1.7.1/
If you have Oracle installed in another location make sure you correct
the
paths.
You must have the following environment variable set for the OCI driver to function:
ORACLE_HOME=/Library/Oracle/OCI/8.1.7.1
export ORACLE_HOME
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORA_NLS33
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
DYLD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/Library/Oracle/OCI/ 8.1.7.1/
lib
export DYLD_LIBRARY_PATH
OCILIBPATH in the witango.ini file should be also be set and should be
the
path to where the dylib file is located and not the dylib file itself.
Set
it to:
/Library/Oracle/OCI/8.1.7.1/lib/
I have attached a Startup script that will ship with the next OS X
preview
that has the Oracle environment variables set along with the JVM, ODBC
and
others. You can replace the default script in your
/Library/StartupItems/WitangoAppSvr directory. Comment out the lines
in the
InitWitangoEnv () procedure that you do not need such as the lines for
"Set
up environment for Java Virtual Machine"
Phil
On 5/5/03 7:49 AM, "Jon van der Raadt" <[EMAIL PROTECTED]> wrote:
In the browser I am getting:
error An error occurred while processing your request:
Position: Look_in_inspection_db
Class: Internal
error: -100 Data source client library not found.
0
Position: Look_in_inspection_db
Class: Internal
error: -4 Unable to connect to the specified data source.
0 Verify that data source is properly configured and that database server is online.
The Witangoevents log gives the following:
[ 427] 2003-05-04 16:05:51 START WARNING Cannot initialize Oracle Call Interface (OCI) environment
I can connect to the oracle datasource with the development studio and
have included the correct path in the witango.ini file... The oracle
database is on a windows box...
Jon
--- Jon van der Raadt
TeamOnly Web Solutions
412, Alastair Ross Technology Centre 3553 - 31 Street NW Calgary, Alberta Canada T2L 2K7
http://www.teamonly.com
Office: (403) 286-5586 Fax: (403) 286-5576
Cell: (403) 863-6304 Email: [EMAIL PROTECTED]
____________________________________________________________________ __
__
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
_____________________________________________________________________ __
_
TO UNSUBSCRIBE: Go to
http://www.witango.com/maillist.taf<WitangoAppSvr.txt>--- Jon van der Raadt
TeamOnly Web Solutions
412, Alastair Ross Technology Centre 3553 - 31 Street NW Calgary, Alberta Canada T2L 2K7
http://www.teamonly.com
Office: (403) 286-5586 Fax: (403) 286-5576
Cell: (403) 863-6304 Email: [EMAIL PROTECTED]
______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
--- Jon van der Raadt
TeamOnly Web Solutions
412, Alastair Ross Technology Centre 3553 - 31 Street NW Calgary, Alberta Canada T2L 2K7
http://www.teamonly.com
Office: (403) 286-5586 Fax: (403) 286-5576
Cell: (403) 863-6304 Email: [EMAIL PROTECTED]
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
