Oci8 and oracle extensions mutually exclusive?
Does anybody know if the following extensions are mutually exclusive.
php_oci8.dll
php_oracle.dll
I can't getting both to load.
They can be uncommented in the php.ini and loaded individually but if both are used this causes a fatal error and apache fails to start and doesn't leave anything in the log file.
I am currently using php4.3.6 / NT / Apache 1.3.12 (Win32)
I am fairly new to php and don't seem to be getting anywhere fast, any help would be appreciated.
thanks
Neil W.
I have them both uncommented and usable. I'm using Apache 1.3.28.
Maybe your four-year old Apache version is the problem?
-- CJ
Similar Messages
-
I am using developer 3.0 on the NT server machine, with oracle 8
First of all when i start my computer one error message raise that is "one of your service is not running please check the event log". I saw the event log that service is oraclestartorc1. who can i start this service. the other oraclelistener service is also give error message in starting.
so next thing is when i click on the connection UI to make a new connection. I click on the oracle oci8 and use localhost = 127.0.0.1 and protocol = TCP and SID = orcl then error message comes that "ocijdbc8 is not in share path" who can i remove this problem also. I also use BEQ protocol to connect but the error message is same. When i use oracle thin driver then it raise message "could not establish the connection with adapter". Who can i remove this also. when i use the jdbc-odbc bridge it success the connection in test. But it does not show in connection. Who can i get driver for oci8, oci7 or for thin. Simply i want to connect my computer local database. my oracle directory is "orant" please help me thanks..
nullJawada,
Try the following:
1. Make sure your ORACLE_HOME directory is in your PATH (JDeveloper needs this so it can find the OCI driver's client-side DLL).
2. Make sure you have an alias set up for your database in your TNSNAMES.ORA file (usually located in ORACLE_HOME\network\admin). I believe previous posts to your other questions provided instructions for this.
3. Within JDeveloper, select Tools | IDE Options... from the menu. Choose the Environment Tab, and in the Oracle Home section, choose the name of your Oracle Home or choose Default Home from the Select an Oracle Home list. (this isn't really required unless you have multiple Oracle Home's installed on your machine).
4. When creating your connection within JDeveloper:
a. Choose Oracle JDBC OCI-8 from the Select a JDBC Driver list.
b. Choose Existing TNS Names from the Select a Connection Method list.
c. Choose the alias for your database from the TNS Service list (this list will not appear until you choose Existing TNS Names from the Connection Method list.
null -
Are "Back to my MAC" and "Port Forwarding" mutually exclusive?
I have been using APExtreme and Port Forwarding successfully for several weeks now. The PF is to allow access to game players on a PC which acts as a server on the web. All Good.
One more thing, I have a ISP provided wireless modem/router to talk to the cable and the world. It seems to work either bridged or un-bridged.
I have disabled the wireless on the ISP's modem/router. (Actually the ISP's device doesn't hold a candle to the APE.)
Still all good.
So the firewall is on in the APExtreme and none on the modem router, and I have a port defined for my gamers to get access to my server in the APExtreme.
I now want to implement Back to my MAC on my MBP and my other Apple devices. I believe these use iCloud for which I have an account and it seems to be working well with my iPhone.
In Properties, when I select BtmM, iCloud says communications will be slow if I have port forwarding on. Also I will not be able to use the router function in my Modem/router.
I'd really like to have the modem/router firewall up, and do the port forwarding there, but the BtmM will likely not get through.
So what does anyone suggest?
Can I use BtmM and port forwarding without too much degradation?
Please advise.
Thanks
BarryTo best answer your question on whether the two are "mutually exclusive," let take a look at how Back to My Mac (BTMM) basically works.
BTMM - General Requirements
OS X Leopard 10.7.3+
Active iCloud account. Each Mac & the AirPort router, that will be relying on BTMM, needs to be configured with the same account.
A publicly reachable IP address for your router.
A router that supports either NAT-PMP or UPnP. For AirPorts, be sure it is running 7.6.1+ firmware.
BTMM uses TCP port 5354 and UDP ports 4500 & 5353 for communications.
BTMM - Basic Communication Flow
For a computer connected to the Internet via a router, BTMM "asks" the router for its configuration information. For a router, like your AirPort, that uses NAT-PMP, BTMM will ask the router to assign arbitrary public ports. In turn, the router will provide these port assignments (& the router's Public IP address) back to BTMM.
BTMM then sends this information to the iCloud account. In background iCloud updates a special set of DNS entries to be used by BTMM. These entries are then made available to all BTMM clients using your iCloud account. When a computer, with BTMM enabled, uses your iCloud credentials, it automatically retrieves a list of all other computers/routers that are registered with the same account. All these devices should then appear under the SHARED section of the Finder.
When attempting to connect to a remote computer (or router), BTMM creates a secure connection to that remote device using the information from the iCloud account.
Once the connection is established, the devices can then communicate with each other.
So potentially, unless you are using Port Mapping for any of the ports BTMM uses, they should not conflict. -
Waveform streaming and waveform scripting - Mutually exclusive?
Hello All,
I was looking at doing some tricks with the streaming capabilities of the new PXIe-5442 plus NI RAID extension. Is there a way to script multiple waveforms together if the total sample size exceeds the hardware capacity of the AWG (in other words can one of the waveforms be stremed to the memory) ?
If not are there any scripting or sequence "type" abilities that allows multiple waveforms be stored off board and let each waveform be hardware triggered (load, wait for ext trig, run waveform1, loop through first/last eight samples, wait ext trig, run waveform2, etc..)?
The looping functionalities are less of an issue with what is essentially a 1TB AWG but the triggering still poses a problem.
CVI examples are preferred but any example that shows the hardware feasibility exist should point me in the right direction.
Note: In a perfect world, I would to see a scripting solution that would allow different our experiment types to be more easily executed within the same project.
Thanks in advance.
Solved!
Go to Solution.Hi,
You can do Waveform Streaming and Scripting in the same session.
To Stream to a waveform in script, you would need the streaming waveform name.
An example scenario is where you want to configure your board for 3 different waveforms (WfmA, WfmB and Streaming Waveform).
You can download WfmA and WfmB using "niFGEN Write Named Waveforms" and name the waveforms accordingly.
e.g., niFgen_WriteNamedWaveformI16 (vi, "0", wfmA, numPoints, wfmData)); /**Notice that these names will be used in script******/
We cannot assign name directly to a streaming waveform, however we can get information from the driver about the name it set to the streaming waveform.
Streaming Waveform:
1) Allocate Streaming Memory using niFgen_AllocateWaveform function
2) Pass the "Waveform Handle" output of niFgen_AllocateWaveform function to "niFGEN Streaming Handle" attribute
e.g.,
checkErr(niFgen_AllocateWaveform(vi, VI_NULL, streamingWaveformSize, &wfmHandle));
checkErr(niFgen_SetAttributeViInt32(vi, VI_NULL, NIFGEN_ATTR_STREAMING_WAVEFORM_HANDLE,
streamingwfmHandle));
3) Fill the Streaming Memory Buffer with data using niFgen_WriteBinary16Waveform and Streaming Waveform Handle
4) Then read the attribute "Streaming Waveform Name". You can use this name now in script.
niFgen_GetAttributeViString (vi, "0", NIFGEN_ATTR_STREAMING_WAVEFORM_NAME, 512, streamingwfmname);
To generate these sequence of waveforms, a sample script would be:
script myscript
generate wfmA
generate wfmB
repeat <repeat count>
generate <streamingwfmname>
end repeat
5) Download the script using niFgen_WriteScript function
6) After you start the generation, inside a while loop continuously monitor the "Space Available in Streaming Wfm" and transfer the data using "niFgen_WriteBinary16Waveform and Streaming Waveform Handle.
I have a sample application in LabVIEW, I can post it if it would help. Let me know if I am not clear on anything....
Thanks,
Kalyan
Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments -
Dual monitor and hw accel mutually exclusive (using Awesome WM)
Hi I've been using Arch for some months now and I have laptop (Lenovo x220 with integrated intel graphics) with an occasional dual monitor setup. Things were smooth, but I was having issues with video tearing, so I went trough the intel graphics arch wiki page and I was able to turn on hw acceleration and get rid of the video tearing by putting this in my /etc/X11/xorg.conf.d
# /etc/X11/xorc.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
The problem is that I add that file I no longer have proper dual monitor with extended desktop, the second monitor kind of mirrors the main one.
kind of, because I can move the pointer between the two monitors and is not duplicated, but the desktop (widows and awesome menu) is duplicated on the second monitor, but I can only interact with the windows using the mouse from the main monitor.
I usually do `$ xrandr --mode 1920x1080 --output HDMI1 --right-of LVDS1` to output to the second monitor, and it was working allright.
I've been trough arch and gentoo wiki looking for dual monitor/xorg config stuff to no avail yet.
Last edited by vermelho (2012-08-01 20:18:50)I found a fix in this thread: http://forums.gentoo.org/viewtopic-p-71 … c9ec76f8b8
Adding `i915.semaphores=1` to my boot params allows me to use the TearFree option in xorg config, without X crashing and with a dual monitor setup. -
MSSQL driver: getInt() and getResultSet() are mutually exclusive?
Hello,
I have a problem with a stored procedure which returns out
parameter (integer) and a result set produced by "select" sql. If i'm
doing
sth.registerOutParameter(1, Types.INTEGER);
sth.execute();
sth.getInt(1);
following
while (true) { ResultSet rsh = sth.getResultSet; if (rsh != null)
break; sth.getMoreResults(); }
never leaves the cycle. If i'm trying to sth.getInt() as i scrolled to
ResultSet (and even if next() if issued to ResultSet), the last is
immediately closed (each following operation with ResultSet throws
exception).
Is there way to use ResultSet and out parameters simultaneously?
Indeed i need that badly.
Thank you in advance
ArtiomWhose MS SQLServer driver are you using?
When SQLServer executes a stored procedure, it
sends the output parameter values after all the
result set data and/or update counts. With our
driver, you should be able to get the result set
first, and then get the output parameter.
Here is a code example that shows how to handle
the returns from an arbitrarily complex procedure.
boolean isResultSetFirst = cstmt.execute();
while (true)
int updateCount = cstmt.getUpdateCount();
rs = cstmt.getResultSet();
// If there are no more results or counts, we're done.
if (rs == null && updateCount == -1)
break;
// Check to see if there is a ResultSet
if (rs != null) {
while (rs.next()) {
System.out.println("Get first col by id:" + rs.getString(1));
rs.close();
} // Otherwise, there will be an update count
else {
System.out.println("Update count = " + cstmt.getUpdateCount());
cstmt.getMoreResults();
// Best to retrieve status after all result sets and update counts
// have been retrieved.
System.out.println( "Output status: " + cstmt.getInt(1));
System.out.println( "Output param: " + cstmt.getString(2));
Artiom wrote:
Hello,
I have a problem with a stored procedure which returns out
parameter (integer) and a result set produced by "select" sql. If i'm
doing
sth.registerOutParameter(1, Types.INTEGER);
sth.execute();
sth.getInt(1);
following
while (true) { ResultSet rsh = sth.getResultSet; if (rsh != null)
break; sth.getMoreResults(); }
never leaves the cycle. If i'm trying to sth.getInt() as i scrolled to
ResultSet (and even if next() if issued to ResultSet), the last is
immediately closed (each following operation with ResultSet throws
exception).
Is there way to use ResultSet and out parameters simultaneously?
Indeed i need that badly.
Thank you in advance
Artiom -
When you configure hierarchical queueing on an enhanced services port, should one also configure the egress queue chararcteristics such as buffer space and thresholds, shaped/shared weights, egress priority queue, etc., that is all of those characteristics that one would configure if one were configuring a port for standard QOS. In other words, on an enhanced services port, are the hierarchical queueing features using the modular QOS CLI and the standard egress queueing features supposed to be used together or are they mutually exclusive?
Hi Christine,
Answer to your confusion is in the following document.
http://www.cisco.com/en/US/docs/switches/metro/catalyst3750m/software/release/12.1_14_ax/release/notes/OL464603.html#wp58682
On an ES port, you can use LLQ (enabled with the priority policy-map class configuration command) and the egress priority queue (enabled with the priority-queue out
interface configuration command). By using these two features, you can
give priority to a class of traffic and avoid losing traffic when the
switch is congested. In previous releases (before the egress priority
queue was supported), you could put a traffic class into the
strict-priority queue, but congestion at the egress queue-sets could
result in the dropping of that priority traffic. The priority-queue out
interface configuration command enables you to prioritize the same
traffic class at the egress queue-sets, ensuring that priority traffic
reaches the hierarchical queues and is processed with priority.
you can also fine tune the Queue-sets for your desired results.
http://www.cisco.com/en/US/docs/switches/metro/catalyst3750m/software/release/12.2_50_se/configuration/guide/swqos.html#wp1162303 -
Struts and Oracle JDBC extension
hi all,
When I try to use the Oracle JDBC extension to take advantage of the Oracle batch update feature, I got an
exception "org.apache.commons.dbcp.DelegatingPreparedStatement"
It happens when I try to cast a PrepareStatement to OraclePreparedStatement. (It works fine without the cast)
Any idea why?
Here is the code snippet:
ServletContext context = servlet.getServletContext();
DataSource ds = (DataSource) context.getAttribute(Action.DATA_SOURCE_KEY);
try {
Connection conn = ds.getConnection();
String sql = "SELECT username FROM users";
OraclePreparedStatement ps = (OraclePreparedStatement) conn.prepareStatement(sql);
ResultSet rset = ps.executeQuery();
} catch ( Exception e ) {
System.out.println( e.getMessage() );
struts_config.xml:
<data-sources>
<data-source>
<!-- set-property property="driverClass" value="oracle.jdbc.driver.OracleDriver"/ -->
<set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
<set-property property="url" value="jdbc:oracle:thin:@hostname:1522:db"/>
<set-property property="maxCount" value="5"/>
<set-property property="minCount" value="1"/>
<set-property property="user" value="xxx"/>
<set-property property="password" value="xxx"/>
</data-source>
</data-sources>
Thanks for any help!Hi scsi-boy:
I have no trouble reading a Timestamp from Oracle...it's trying to write or update one (and unfortunately, I have to do as I said to get it done).
you shouldn't have to import the oracle sql package
That's precisely the point -- I am not trying to use any Oracle specific stuff.. It wouldn't be all that difficult for them to do the casting inside of the driver, instead they just add the following comments to their example:
// Writing data to Lobs:
// There are no methods to do this with java.sql.Clob/Blob.
// For oracle.sql.CLOB there is getAsciiOutputStream() to write via
// an ascii stream and getCharacterOutputStream() to write via a
// unicode one, plus putChars() to write a char array and putString()
// to write a String - both at a given position within the Clob. For
// oracle.sql.BLOB there is getBinaryOutputStream() and putBytes().
// There are also oracle.jdbc.driver classes to do similar that
// take oracle.sql.CLOB/BLOB as appropriate, namely:
// OracleBlobOutputStream()
// OracleClobOutputStream()
// OracleClobWriter()
// (Note all three classes have corresponding input/reader classes.)
// Hence to write data to the lobs here it is necessary to cast the
// Clob and Blob to oracle.sql.CLOB and oracle.sql.BLOB respectively
// and use one of the methods listed above. E.g. to append to the
// clob column:
((oracle.sql.CLOB)c_lob).putString( (int)c_lob.length()+1, "\nBye!" );The example can be found at the link shown below (you may have to do a free sign-up to view it):
http://www.experts-exchange.com/Databases/Oracle/Q_20358143.html
;o)
V.V. -
Please help to connect to oracle through php.
OS=Windows Server 2008 R2(x64)= is working correctly
PHP ver=PHP 5.3.2= is working correctly
ORACLE = Oracle Database 11gR2= is working correctly
Since the PHP and Oracle on the same machine, I did not install install client(but even with instan client I could not connect to oracle).
phpinfo does not show oci section
in Environment section shows these values
PHPRC = C:\Program Files (x86)\PHP\
LD_LIBRARY_PATH = D:\ipardb\ora_base\product\11.2.0\orahome\lib
NLS_LANG = AMERICAN_AMERICA.WE8MSWIN1252
ORACLE_HOME = D:\ipardb\ora_base\product\11.2.0\orahome
ORACLE_SID = iparbio
Path= C:\Program Files (x86)\PHP\;D:\ipardb\ora_base\product\11.2.0\orahome\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin;
TNS_ADMIN= D:\ipardb\ora_base\product\11.2.0\orahome\network\admin
Loaded Configuration File C:\Program Files (x86)\PHP\php.ini
uncommented extension in php.ini
[PHP_OCI8_11G]
extension=php_oci8_11g.dll
extension dir is set ok, since other extensions are working properly
when i execute php.exe, in error_log file appears
[11-Jun-2010 10:37:34] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_oci8_11g.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
Please help me.I'm guessing the cause is probably the same as that article: PHP is 32bit but your Oracle libraries are 64bit.
You will need to install 32bit instant client and make sure they are used for Apache. Does Windows 2008 have sym links? Perhaps the note mentioned at the end of OCI8 IN WINDOWS SERVER 2008 x64 will help. Otherwise try creating some batch scripts to set PATH appropriately before starting Apache. -
Help with SL Server PHP and Oracle ?
(my apologies for post to wrong forum first)
I'm attempting to add oci8/instantclient to the "out-of-the-box" php distribution w/o recompiling (if at all possible)
have installed instantclient in /usr/local
installed oci8 from pecl and built w/instantclient
I THINK my main issue is adding the DYLIB- envt variables because I cannot find a reference to the required XML syntax
Has anyone got this bad boy working?Assuming you installed the Oracle Instant Client correctly, then try this as root (or issue sudo -s before):
mkdir -p /SourceCache
cd /SourceCache
curl -O http://www.opensource.apple.com/source/apachemod_php/apache_modphp-53/php-5.3.0.tar.bz2
tar xjf php-5.3.0.tar.bz2
cd /SourceCache/php-5.3.0/ext/oci8
phpize
MACOSXDEPLOYMENTTARGET=10.6 CFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" CXXFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch i386 -arch x86_64 -bindatload" ./configure
make
make install
When done, edit/create /etc/php.ini and add:
extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so
next issue:
sudo apachectl graceful
with a little luck you are all set.
HTH,
Alex -
Problem with Linus Ubuntu 7.04 and Oracle-Xe debian package
Hi all,
Installed Oracle 10g XE on my Ubuntu 7.04 using universal Debian Package : oracle-xe-universal_10.2.0.1-1.0_i386.deb. No problem during the installation . After finished the installation, I configured the database to use port 6000 and its password (Listener port set to default).
But when I tried to access the database home page using "http://127.0.0.1:6000/apex", it cannot be accessed. Then I tried to verify my database server using /etc/init.d/oracle-xe status and here's the output:(before it, I make user the database was realy online by typing /etc/init.d/oracle-xe start)
###########################333###
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-AUG-2007 22:45:07
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=wks-082)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 110: Connection timed out
then I tried to open the log in /usr/lib/oracle/xe/app/oracle/admin/xe/bdump/alert_XE.log and here is the output
Thu Aug 9 14:54:14 2007
Starting ORACLE instance (normal)
Cannot determine all dependent dynamic libraries for /proc/self/exe
Unable to find dynamic library libocr10.so in search paths
RPATH = /ade/aime1_build2101/oracle/has/lib/:/ade/aime1_build2101/oracle/lib/:/ade/aime1_build2101/oracle/has/lib/:
LD_LIBRARY_PATH is not set!
The default library directories are /lib and /usr/lib
Unable to find dynamic library libocrb10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Shared memory segment for instance monitoring created
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Thu Aug 9 14:54:27 2007
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
sga_target = 146800640
control_files = /usr/lib/oracle/xe/oradata/XE/control.dbf
compatible = 10.2.0.1.0
db_recovery_file_dest = /usr/lib/oracle/xe/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
background_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/bdump
user_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/udump
core_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/cdump
audit_file_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/adump
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 41943040
Thu Aug 9 14:54:33 2007
Errors in file /usr/lib/oracle/xe/app/oracle/admin/XE/udump/xe_ora_7532.trc:
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
USER: terminating instance due to error 600
Instance terminated by USER, pid = 7532
Thu Aug 9 14:54:35 2007
Starting ORACLE instance (normal)
Cannot determine all dependent dynamic libraries for /proc/self/exe
Unable to find dynamic library libocr10.so in search paths
RPATH = /ade/aime1_build2101/oracle/has/lib/:/ade/aime1_build2101/oracle/lib/:/ade/aime1_build2101/oracle/has/lib/:
LD_LIBRARY_PATH is not set!
The default library directories are /lib and /usr/lib
Unable to find dynamic library libocrb10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Thu Aug 9 14:54:46 2007
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
sga_target = 146800640
control_files = /usr/lib/oracle/xe/oradata/XE/control.dbf
compatible = 10.2.0.1.0
db_recovery_file_dest = /usr/lib/oracle/xe/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
background_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/bdump
user_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/udump
core_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/cdump
audit_file_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/adump
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 41943040
Thu Aug 9 14:54:51 2007
Errors in file /usr/lib/oracle/xe/app/oracle/admin/XE/udump/xe_ora_7551.trc:
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
USER: terminating instance due to error 600
Instance terminated by USER, pid = 7551
Thu Aug 9 14:54:53 2007
Are there anyone who can help me? I really have no idea since I'm a newbie here, both linux and oracle. Any hint are welcome, thanks in advance.
Regards,
Rudi SadriaThx for the help, I already verify the /etc/hosts and these are the output:
127.0.0.1 localhost
127.0.0.1 wks-082
127.0.0.1 localhost.localdomain localhost localhost.domain
127.0.0.1 hostname hostname.domain
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I check the listener status and here's the output:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-AUG-2007 15:14:45
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 10-AUG-2007 15:14:39
Uptime 0 days 0 hr. 0 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wks-082)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
and here's the alert_XE.log
Fri Aug 10 15:30:59 2007
Starting ORACLE instance (normal)
Cannot determine all dependent dynamic libraries for /proc/self/exe
Unable to find dynamic library libocr10.so in search paths
RPATH = /ade/aime1_build2101/oracle/has/lib/:/ade/aime1_build2101/oracle/lib/:/ade/aime1_build2101/oracle/has/lib/:
LD_LIBRARY_PATH is not set!
The default library directories are /lib and /usr/lib
Unable to find dynamic library libocrb10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 41943040
__large_pool_size = 0
sga_target = 146800640
control_files = /usr/lib/oracle/xe/oradata/XE/control.dbf
__db_cache_size = 96468992
compatible = 10.2.0.1.0
db_recovery_file_dest = /usr/lib/oracle/xe/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
background_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/bdump
user_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/udump
core_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/cdump
audit_file_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/adump
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 41943040
PMON started with pid=2, OS id=7328
PSP0 started with pid=3, OS id=7330
MMAN started with pid=4, OS id=7332
DBW0 started with pid=5, OS id=7334
LGWR started with pid=6, OS id=7336
CKPT started with pid=7, OS id=7338
SMON started with pid=8, OS id=7340
RECO started with pid=9, OS id=7342
CJQ0 started with pid=10, OS id=7344
MMON started with pid=11, OS id=7348
MMNL started with pid=12, OS id=7350
Fri Aug 10 15:31:00 2007
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Fri Aug 10 15:31:01 2007
ALTER DATABASE MOUNT
Fri Aug 10 15:31:01 2007
ORA-00202: control file: '/usr/lib/oracle/xe/oradata/XE/control.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Fri Aug 10 15:31:01 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
and then I open the SQL* plus and type some command
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 10 15:32:38 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected.
SQL> select status from v$instance
2 ;
STATUS
STARTED
But I'm still cannot accessed my "http://localhost:6000/apex". Are there any possibilities that my browser block it? or I need to change the port?
Thx a lot for your help
Regards,
Rudi Sadria -
Differences between BEA's and Oracle's own drivers
I am trying to understand the various ways and technical differences to
connect to an Oracle database from WLS 6.1. As far as I can tell, here
is the list of drivers:
THIN:
1. the bundled, old Oracle thin driver in weblogic.jar
2. the latest Oracle thin driver to prepend to my classpath
OCI:
3. the bundled, old Oracle OCI driver in weblogic.jar
(+ matching Oracle DLL in PATH)
4. the latest Oracle OCI driver to prepend to my classpath
(+ latest Oracle DLL in PATH)
5. Weblogic's own OCI driver in weblogic.jar
(+ WebLogic's own DLL in PATH)
I understand that (1) and (3) are 'obsolete'. But what about the others?
Especially, what are the advantages of (5) over (4) or (2) ?
Can Joe^H^H^H anybody share some light on this? ;-)
Thanks,
ChristopheHi Christophe!
Basically, weblogic bundles 817 thin driver from oracle in 6.1
For using oracle oci driver, you have to add ocijdbc8.dll in your path.
Weblogic has its own set of jDrivers(OCI Drivers)
You need to install oracle client for that. You should use the same driver
as your client install from weblogic. As per say, if you have 817 oracle
client installed then you can use weblogic 817 driver. It is OCI driver,
hence ultimately all calls are diverted to oracle DB thorugh their oracle
oci API from weblogic driver.
If you use lots of oracle extensions in your application it is recommended
to use oracle thin driver.
However, weblogic jDrivers perform better and more XA compliant then oracle
thin driver.
Thanks,
Mitesh
Christophe Warland wrote:
I am trying to understand the various ways and technical differences to
connect to an Oracle database from WLS 6.1. As far as I can tell, here
is the list of drivers:
THIN:
1. the bundled, old Oracle thin driver in weblogic.jar
2. the latest Oracle thin driver to prepend to my classpath
OCI:
3. the bundled, old Oracle OCI driver in weblogic.jar
(+ matching Oracle DLL in PATH)
4. the latest Oracle OCI driver to prepend to my classpath
(+ latest Oracle DLL in PATH)
5. Weblogic's own OCI driver in weblogic.jar
(+ WebLogic's own DLL in PATH)
I understand that (1) and (3) are 'obsolete'. But what about the others?
Especially, what are the advantages of (5) over (4) or (2) ?
Can Joe^H^H^H anybody share some light on this? ;-)
Thanks,
Christophe -
CachedRowSet problem in Weblogic 6.1 and Oracle thin driver 9.0.1
Has anyone used the CachedRowSet class successfully? (this classes are
new and from the JDBC extension pack)
I am experiencing "Not in a transaction" errors when executing
cachedrowset.populate(resultset), even though I'm inside a correct
ut.begin and ut.commit transaction.
Note I don't have these problems when I don't use the CachedRowSet
classes.
If I remove the setFetchSize(50) line, then I receive the ORA-01002:
fetch out of sequence error, which is discussed in another post on
this newsgroup.
I don't have any of these problems at all, if I use the Oracle Thin
Driver directly (i.e. not using Weblogic 6.1).
-H
Example of code:
stmt = getConnection().createStatement();
stmt.setFetchSize(50);
stmt.executeQuery("SELECT * FROM ASSET");
rs = stmt.getResultSet();
crs = new CachedRowSet();
crs.populate(rs);Hi Arturo,
What kind of a problem do you have? Any stacktraces?
Regards,
Slava Imeshev
"Arturo Fernandez" <[email protected]> wrote in message
news:[email protected]..
Hi! I have a problem with CLOB column in Oracle 8.1.7. My enviroment
is:
Windows 2000, BEA WLS 6.1 and Oracle 8.1.7. I'm trying to use
'classes12.zip' provided by Oracle. I added 'classes12.zip' to
CLASSPATH after than 'weblogic.jar' in my startup server script, but
it fails when trying to retrieve a CLOB data from database. Script
includes:
setCLASSPATH=.\classes12_01.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
>
But this driver and the code runs sucessfully with the same database
and weblogic 5.1. I'm interesting in use this driver and this code
because i'm trying to migrate two applications from WLS 5.1 to WLS 6.1
I cannot find a solution.
Can everybody help me, please? It's urgent for me... -
How can I change the slide to 8 Radio buttons mutually exclusive?
How can I change the slide to 8 Radio buttons mutually exclusive?
I saw the example in Labview. but it only contains upto 5 radio
buttons. I need 8. How can I change it? Is there any shortcuts?I made this with NI's radio button control found in the boolean palette. Just resize the cluster border, and move the buttons to where you want. To add a button, select one of them, hold down Control and Shift keys, then drag the button to a new location. The button gets duplicated. Do this until you have enough buttons.
Message Edited by tbob on 10-31-2005 01:07 PM
- tbob
Inventor of the WORM Global
Attachments:
RadioButtons.PNG 2 KB -
Assign the name of a file and its extension when using DESTYPE=MAIL
Hello,
I've developed a report running Oracle Reports 10g that is being emailed to a user. I would like to specify the name of the file and it's extension that is attached. Are there variables or parameters in Oracle Reports that I can use to accomplish this?
It looks like by default that the file name is using the Name value found in the Property Inspector for the report. I have not been able to find a way to re-assign this value with a value from either the input or select values in the data model.
Will Oracle Reports 10g allow me to define the name of the file and the extension?
Any help or direction would be greatly appreciated.
Thanks in advance
Jesse
Message was edited by:
SutherlandThank you for the quick reply and information. I almost thought you had solved my problem until I found out that distribution and bursting do not support delimited and spreadsheet output. One of the two files I need to email has a desformat of SPREADSHEET.
Is there any other way to manipulate the file name and extension when using destype of MAIL?
Maybe you are looking for
-
UILoader Component's coordinate( Movement) problem
Hi All In my program I am allowing user to drag and drop Video thumbnails on the main stage. The UIComponent is loading external SWF as soon as user drops video on the main screen. Also the user can successfully drag and drop the opened video pane (w
-
Performance Tuning Certification for Application Developer
Hi, Can you please advise if there is any Oracle Performance Tuning certification for an Application Developer and Oracle 9i to 10G migration certification? If yes, can you please let me know its Oracle examination number? I have already passed 1Z0-0
-
Okay, fairly simply I'm using Flash MX 2004 (v7.2) and have used it to draw a piece of vector artwork incorporating a lot of nice shading and a really beautiful blood-red colour. I now want to export the image to Photoshop for printing off in a large
-
I am trying to authorize my new DELL computer to i tunes, which I updated today.Under the instructions it says: under store menu choose Authorize this computer. When I get to store there is no menu and no"authorize this computer."
-
BAPIs for populating Industry Sector and Material Type dropdowns
Hi all, I have a requirement to create WebDynpro appliation, which is the replica of MM01 Transaction page. In the first page i want to populate Industry sector values and Material Type values in 2 dropdowns. Can anyone please tell me what are the BA