Incompatibility axis and oracle libraries
Hi,
I have built an application with JDeveloper 10.1.3.4. Include several Web Services Clients generated with JDeveloper. Besides, I have to include a several "jars" to realize an invocation to axis web service. These "jar" posses an embedded Web Service client axis.
I have read that a single application (EAR) cannot contain one Web service that uses Axis, and another that uses Oracle. Specifically, an Axis Web service calling out to another Web service via a Web services client created using JAX-RPC implementation is not support.
http://oracledoc.boyko.biz/web.1013/b14433/opensrc.htm
The problematic classes are:
Oracle Axis
jaxrpc-api.jar jax-rpc.jar
saaj-api.jar saaj.jar
orawsdl.jar wsdl4j-1.5.1.jar
In JDeveloper, I have not included the jar from axis (jax-rpc.jar, saaj.jar, wsdl4j-1.5.1.jar) and the application realize all invocations (Oracle an Axis) in a right way.
When I deploy de application in OAS 10.1.2 or OAS 10.1.3.4, application fails in any invocation. I have tested several posibilities but at the end deployed application failed.
a) Including only "jaxrpc-api.jar", "saaj-api.jar", "orawsdl.jar"
b) Including only "jax-rpc.jar", "saaj.jar", "wsdl4j-1.5.1.jar"
c) The six jars (axis and oracle)
¿Could you say me as the way to avoid this problem in an OAS? ¿Why runs perfectly in JDeveloper althoug I haven't set the jar required by axis?
Thank you,
yes we have a standalone version of 10g being converted to RAC mode..
old version
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
converted to
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
i understand the binaries would be different, but are the libraries different too?
Similar Messages
-
Question about dependent projects (and their libraries) in 11g-Oracle team?
Hello everyone,
I have a question about dependent projects. An example:
In JDeveloper 10.1.3.x if you had for instance 2 projects (in a workspace): project 1 has one project library (for instance a log4j library) and project 2 is a very simple webapplication which is dependent on project 1. Project 2 has one class which makes use of log4j.
This compiles fine, you can run project 2 in oc4j, and the libraries of project 1 (log4j) are added on the classpath and everything works fine. This is great for rapid testing as well as keeping management of libraries to a minimum (only one project where you would update a library e.g.)
However in 11g this approach seems not to work at all anymore now that weblogic is used, not even when 'export library' is checked in project 1. The library is simply never exported at all - with a noclassdeffound error as result. Is this approach still possible (without having to define multiple deployment profiles), or is this a bug?
Thanks!
Martijn
Edited by: MartijnR on Oct 27, 2008 7:57 AMHi Ron,
I've tried what you said, indeed in that .beabuild.txt when 'deploy by default' is checked it adds a line like: C:/JDeveloper/mywork/test2/lib/log4j-1.2.14.jar = test2-view-webapp/WEB-INF/lib/log4j-1.2.14.jar
Which looks fine, except that /web-inf/lib/ is empty. I presume its a sort of mapping to say: Load it like it in WEB-INF/lib? This line is not there when the deploy by default is not checked.
I modified the TestBean as follows (the method that references Log4j does it thru a Class.forName() now only):
public String getHelloWorld() {
try {
Class clazz = Class.forName("org.apache.log4j.Logger");
System.out.println(clazz.getName());
catch(Exception e) {
e.printStackTrace();
return "Hello World";
In both cases with or without line, it throws:
java.lang.ClassNotFoundException: org.apache.log4j.Logger
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at nl.test.TestBean.getHelloWorld(TestBean.java:15)
Secondly I added weblogic.xml with your suggested code, in the exploded war this results in a weblogic.xml which looks like:
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
<jsp-descriptor>
<debug>true</debug>
<working-dir>/C:/JDeveloper/mywork/test2/view/classes/.jsps</working-dir>
<keepgenerated>true</keepgenerated>
</jsp-descriptor>
<library-ref>
<library-name>jstl</library-name>
<specification-version>1.2</specification-version>
</library-ref>
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
</library-ref>
</weblogic-web-app>
The only thing from me is that container-descriptor tag, the rest is added to it during the deployment. Unfortunately, it still produces the same error. :/ Any clue? -
Using Notes and Oracle Client in the same application on Linux crashes
This thread is copied from a thread of the same name under Database - General, since I cannot get any replies there.
Could someone from Oracle PLEASE comment on this.
Our application on Linux loads the Notes client libraries and then the Oracle client libraries. The application will crashes when connectimg to an Oracle server. This is because the T_* symbols in libnnz11.so get fixed up into libnotes.so rather than locally into libnnz11.so where the functions are defined.
#10 0xb4779ea6 in T_malloc () from /opt/ibm/lotus/notes/libnotes.so
#11 0xae7ca050 in CMP_reallocNoCopy ()
from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
#12 0xae7ccf7b in CMP_OctetStringToCMPInt ()
from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
#13 0xae7c91fd in A_X931RandomInit ()
from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
#14 0xaec09e0d in ztcriv ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#15 0xaec09cef in ztcrbp ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#16 0xaec09ca4 in ztcr2seed ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#17 0xaec09c54 in ztcrseed3 ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#18 0xaeb40683 in ztcsh ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#19 0xaea631c4 in kpusattr ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#20 0xaea7847e in OCIAttrSet ()
from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
#21 0xb081cb9f in COCIObject::Connect ()
from /opt/criticalpath/common/bin/libor9i.so
We have circumvented the problem for the time being by making sure that we load the Oracle libraries before Notes, but we cannot go with that as a long term solution.
In my opinion the Oracle library is wrongly linked since all the T_* functions are defined in libnnz11.so. When we load Oracle first, the loader debug trace shows the correct fixups. When we load Notes first, the loader trace shows the incorrect fixups. We are using dlopen(libor9i.so, RTLD_LOCAL) for Oracle and dlopen(libnotes.so, RTLD_LOCAL) for Notes. libor9i.so has a dependency on libclntsh.so.10.1.
An opinion would really be appreciated.
Thanks,
John UnsworthThanks again.
We don't have an Oracle support contract because we do not use Oracle ourselves. We supply an application that synchronises data between multiple data servers and server types, of which Oracle is one and Notes is another, as well as LDAP servers and many other types.
Producing a full resolved binary is therefore not an option since the types of data server are configured when the apploication is installed, and then the client software for each server is loaded as required.
The end user of the application supplies the client libraries and has a support contract for the servers, in particular Oracle and Notes in this case. So the other option is for the end user to raise a ticket using his support contract, but he is reluctant to do that since he considers that this is our problem as we supply the application that is having the problem. So we are in a dead water area. We do not want to take out a support contract just to get what is an Oracle product problem resolved. I imagine that this problem is something that has not been encountered before, because our use of the client library in conjunction with other client libraries is probably unusual.
So that is why I am hoping, without any success so far, that someone from Oracle will pick this up. -
Hello,
I have oracle 8.1.6 64 bit and oracle 10.2.0.2.0 64 bit
running on the same hp UX 11i 64-bit machine
I have installed Tuxedo 8.0 32bit on the same machine.
I have a working tuxedo 8.0 environment running against the 8.1.6 oracle
database
in the Tuxedo .../udataobj/RM file I have for the 8.1.6 environment the string
Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
In oracle 8.1.6 home there are directories lib and lib64
but in oracle 10.2.0.2.0 home there are directories
lib and lib32
what string should I use for the oracle 10.2.0.2.0?
Oracle_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh maybe???
Must the string in the RM file for oracle always begin with the string
Oracle_XA?
If so is, possible at all to run the the binaries of one Tuxedo installation
against two different databases versions because the RM strings are similar in
the beginning but in 8.1.6 refer to the lib directory and in 10.2.0.2.0 refer
to the lib32 directory ?
Or do I need to have two installations of tuxedo8.0 binaries on the machine?
I have tried to for 10.2.0.2.0 the line (the Ora10_XA is only a try...)
Ora10_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh
in the RM file but when starting tuxedo I get:
$ cat /mnt04/edu/ressu/bin/xa_NULL06092006.trc
ORACLE XA: Version 10.2.0.1.0. RM name = 'Oracle_XA'.
111035.16584.0:
xaogetmod: XAER_INVAL; Invalid xa_info string.
Any comments on the matter appreciated.
rgds,
JyriJyri,
The information before the first colon in the $TUXDIR/udataobj/RM file is
only used by the buildtms, buildserver, and buildclient programs to find the
line corresponding to the value of the -r option, so it should be OK to
specify different values for Oracle 8.1.6 and Oracle 10.2.0.2.0.
The information specfied in the OPENINFO string in the *GROUPS section of
the TUXCONFIG file must be of the form
OPENINFO="ORACLE_XA:Oracle_XA+...."
The strings ORACLE_XA and Oracle_XA cannot be changed, except for case. The
"...." can be replaced with parameters such as
SqlNet=NAMESesTm=100+LogDir=.+MaxCur=5 or whatever is used in your
applicatino. The "xaogetmod: XAER_INVAL: Invalid xa_info string" error you
are getting is due to an incorrect OPENINFO parameter.
If you are running a 32-bit version of Tuxedo you must link with the
${ORACLE_HOME}/lib32 library on 10gR2; if you are using a 64-bit version of
Tuxedo you must link with ${ORACLE_HOME}/lib library. The procedure is
similar for Oracle 8 except that it seems that the lib directory may be the
32-bit library in that version of Oracle.
32-bit and 64-bit binaries cannot be mixed under a single TUXDIR, but it is
possible to use multiple RMs or multiple versions of the same RM on the same
machine.
The syntax of the open string and the list of libraries to link with is
specified in the "Oracle Database Application Developer's Guide -
Fundamentals" in the "Developing Applications with Oracle XA" chapter.
<Jyri Elomaa> wrote in message news:[email protected]...
Hello,
I have oracle 8.1.6 64 bit and oracle 10.2.0.2.0 64 bit
running on the same hp UX 11i 64-bit machine
I have installed Tuxedo 8.0 32bit on the same machine.
I have a working tuxedo 8.0 environment running against the 8.1.6 oracle
database
in the Tuxedo .../udataobj/RM file I have for the 8.1.6 environment the
string
Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
In oracle 8.1.6 home there are directories lib and lib64
but in oracle 10.2.0.2.0 home there are directories
lib and lib32
what string should I use for the oracle 10.2.0.2.0?
Oracle_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh maybe???
Must the string in the RM file for oracle always begin with the string
Oracle_XA?
If so is, possible at all to run the the binaries of one Tuxedo
installation
against two different databases versions because the RM strings are
similar in
the beginning but in 8.1.6 refer to the lib directory and in 10.2.0.2.0
refer
to the lib32 directory ?
Or do I need to have two installations of tuxedo8.0 binaries on the
machine?
I have tried to for 10.2.0.2.0 the line (the Ora10_XA is only a try...)
Ora10_XA:xaosw:-L${ORACLE_HOME}/lib32 -lclntsh
in the RM file but when starting tuxedo I get:
$ cat /mnt04/edu/ressu/bin/xa_NULL06092006.trc
ORACLE XA: Version 10.2.0.1.0. RM name = 'Oracle_XA'.
111035.16584.0:
xaogetmod: XAER_INVAL; Invalid xa_info string.
Any comments on the matter appreciated.
rgds,
Jyri -
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 -
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. -
I have a jar that runs in Linux32, with a JDK that includes Oracle JDK.
I then tried it in Windows32. I don't have a Windows32 JDK, so I got error:
java.lang.NoClassDefFoundError: oracle/javatools/util/CommandParser
When can I get Oracle libraries that include CommandParser, and some other Oracle classes? I think If I install JDev for Windows32, it will bring the libraries. But don't know what path I should add to classpath.
Can anyone please advise? Thanks!Thanks, Frank!
You can do the same using JDeveloper: - Open project properties
- Select Libraries node
- press New
- type class into Search Field>
JDeveloper has so many useful features, so I could not observe all of them and I have missed this one. It is great that this forum is supported by highly experienced Oracle employees, who are familiar with the tools and frameworks in details. I started wathcing the forum thoroughly quite recently and I am amazed of how many useful things I have learned for a short period of time thanks to the forum.
Thank you again. -
GNU gcc and Oracle 10g/11g on Solaris x86-64- examples?
We are looking at developing an Oracle database app on the above platform. We have the Solaris Studio 12.2, but one of the programmers has a visual impairment which makes using the GUI difficult.
I "think" one might be able to use the GNU gcc series compilers ( which she is familiar with) to develop an app that runs on Solaris, and accesses the database on the same server using the Oracle libraries, but I am unclear on the details. Can someone point me in the right direction to get the information needed, or sample code for using the gcc compilers for database access????I believe you can use gcc for developing Oracle database programs on Solaris. But the best place to ask about database development is in an Oracle database forum:
http://forums.oracle.com/forums/main.jspa?categoryID=84
and look under the Database entry. -
How integrating AXIS in oracle AS9i
i installed AXIS under Oracle AS9i and it works except for WSDL creation.
it inserts an attribute that i suppose it's not necessary.
the attribute is xmlns:="" inside the tag wsdl:definitions.Using AXIS with OC4J 903
Apache AXIS can be installed on OC4J.
Installation steps:
1. add the following in the application.xml:
<web-module id="axis" path="../../home/applications/axis" />
2. Add the following in the http-web-site.xml:
<web-app application="default" name="axis" root="/axis" />
3.
Set AXIS=C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib;
Set CLASSPATH=%AXIS%\axis.jar; %AXIS%\axis-nt.jar; C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\jaxrpc.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\ commons-discovery.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\commons-logging.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\log4j-1.2.4.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\saaj.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\wsdl4j.jar
java org.apache.axis.client.AdminClient -lhttp://hostname:8888/services/AdminService deploy.wsdd -
Problems installing TCL 7.5 and Oracle Intelligent Agent
All
Has anyone had any success in installing TCL 7.5 and Oracle
Intelligent Agent? If so could you please provide a step by step
summary of the installation process. I keep getting error
messages when I run gmake for TCL. I commented out the lines
specified in the instructions. Does one have to use TCL 7.5? I
even tried to run version 8.2 and it restarted my machine while
running gmake test. Maybe it is how I commented the lines. I
used the # character to comment out the lines. Please help. IFve
got everything else running I can even use Net8 and SQL plus
from my Windows NT Client. I now need to be able to use Oracle
Enterprise Manager, which requires TCL 7.5 and Oracle
Intelligent Agent.
Many thanks
nullThor Erik Jelstad (guest) wrote:
: I am using Oracle 8.0.5.0 and Red Hat 5.2/i386
: When I try to start Oracle Intelligent Agent I receive the
: following error message:
: "DBSNMP: error in loading shared libraries /usr/lib/libtcl.so:
: undefined symbol: stat"
: I have installed TCL package 8.0.3-20.
: Thor Erik Jelstad
I ran into "stat" symbol issues during some builds. I don't
recall if the subject program had to be built, but if so, adding
"-shared" to the cc (for linking) command helps. I think the make
variable is LDCCOM.
-Later.
null -
Any proprietory Oracle libraries need to build & deploy JDev's JSF app?
Hi, I'm very new to JSF.
I wish to use Oracle JDeveloper for RAD of java web application. I notice JSF probably is what i'm looking for, but I'm also concern about proprietory issue.
So, my question is by using Oracle JDeveloper (a free IDE tool as what I know) to build JSF application and deploy to nonOracle J2EE app server, does it involve any proprietory Oracle libraries or jar file that we still need to in order get the JSF application we build using JDeveloper to be working?
Please advise.
Thank you.Thanks for the info.
I'm really new to JSF so before seriously use it for development, would like to get as much advice as possible from the those familiar with it first.
To be more specific, as long as I only have adf-faces-impl.jar & jsf-impl.jar in my web-inf\lib, that means we are not using any proprietory libraries right?
So, if I use plain JSF or ADF Faces, will I be able to make use of the data binding to other Open Source database like MySql? If yes, does this data binding (mapping text fields to database fields) requires use of proprietory oracle libraries like bc4j? or for JSF there's alternative? cos I saw in JSF HTML got something call dataTable. RAD is one of my major concern, but I don't want to tie up using proprietory oracle libraries.
Actually I want to use mysql as the database and JDeveloper as the IDE, but i need a RAD environment. So, currently looking into JSF.
Thank you. -
Is my configuration correct? PHP and Oracle HTTP server
Hi all,
I have a single server running RHEL5 x86-64 and Oracle 11.1. I also have the Oracle HTTP Server which purportedly has "PHP support".
I am trying to do a basic test connect to my database, but I'm getting an error.
My test is the following:
<html>
PHP Test with Oracle<head>
<body>
<pre>
<?php
$conn = oci_connect('scott', 'tiger', 'myserver/MYDBSERVICE');
if (!$conn) {
trigger_error("Could not connect to database", E_USER_ERROR);
?>
</pre>
</body>
</html>When I open the page, I see the following:
PHP Test with Oracle
Fatal error: Call to undefined function: oci_connect() in /u01/app/oracle/product/HTTP_Server/ohs/htdocs/phptest/dtest4.php on line 6
I've also tried phpinfo() and get the following:
oci8
OCI8 Support enabled
Revision $Revision: apache_modules/mod_php/4.3.9/ext/oci8/oci8.c#0 $
Oracle Version 10.1
Compile-time ORACLE_HOME /ade/svadugur_mjoyphp4311/oracle
Libraries Used no value
Any idea what may be going on? I've looked through much documentation already before posting to no avail.
Thank you for any insight.The oci_* names were introduced in PHP 5. In PHP 4 the equivalent connection command is ocilogon(). For other mappings see Appendix C of the free book http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
I'd recommend you upgrade PHP. See "Installing OCI8 with Oracle Application Server on Linux" on p 76 of that book. Note the warnings. -
Hi list,
I saw that oracle has taken classes from sun and bundled them to new libraries.
For example orasaaj.jar or orajaxr.jar.
Why did they do this? Were changes necessary?
What is about the licences of these and further oracle libraries like soap.jar?
Are they free for use and distribute?
greetings
FlorianHi,
I don't think you have anything to fear, actually. If your Oracle license gives you the right to create redistributable applications, then those applications can rely on the Oracle versions of SAAJ, JAXR and anything else in our distribution. The fact that some of the code in these libraries may be licensed by Oracle from Sun is irrelevent. You only need to refer to your Oracle license agreement to understand your rights for this code.
Cheers,
Bill -
I have been storing my Aperture and IMovie Libraries on an external hard drive that recently died. Fortunately I've been using Time Machine to back up to a 2nd external drive. How do I restore my libraries to a new external hard drive?
This is a tricky one.
Open up Time Machine and go back to a date using the timeline on the right side of the window when you know the drive was working and was backing up as part of Time Machine backups.
Click on the name of your Mac under the Devices heading on the left side of the window in Time Machine, and if things are working correctly you will see Macintosh HD (or whatever you have named it) and the name of the external hard drive that was backing up in the past.
Right-Click on the name of the external hard drive and then click on "Restore (name of drive) to....." You may be asked for your adminstrator password at this point.
It might be easier to restore the drive contents to your desktop if you have room on your Mac, and then copy things over to the new external drive where you want to store the Aperture and iMovie Libraries.
Once the libraries have been moved over the new external hard drive, you will likely need to "point" Aperture and iMovie to the location of the libraries on the new external hard drive. -
Select query differences between oracle 9 and oracle 8.
Hi,
I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
ex:
With oracle7
SQL> select 'champ1','champ2' from DUAL;
'CHAMP 'CHAMP
champ1 champ2
With Oracle 9
SQL> select 'champ1','champ2' from DUAL;
'CHAMP1' 'CHAMP2'
champ1 champ2
So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
Thanx.Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
My suggestion is -> First Go through the basics Of SQL in general.
Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
And, finally learn the advanced commands of that DB.
You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
Anyway,
You can get the quite familier output by first type the following command ->
set lin 310Regards.
Satyaki De.
Maybe you are looking for
-
How can I allow multiple users on XP pro to use the same itunes files
I'm new to this iPod/iTunes stuff and i would like to allow my family to use all the songs that I have on the computer. I installed iTunes 7.0 and loaded all 1800 songs using my user profile. I then let my wife signon and when i opened iTunes she cou
-
Lost all my bookmarks in safari (fixed)
When I last looked (Dec 23), all my many bookmarks were in Safari. I looked this morning, and they're all gone I checked on my iPhone and that's the same - FIXED IT I ended up restoring from a Christmas Day backup of my iPad.....a rather convoluted w
-
How to use a Work Repository when type is set to 'Execution' ?
Hi All, I was just trying my hand at importing and exporting work repositories , I need to know how we can use a certain work repository when its type is set to 'Execution' I want to import some packages (which are in some other Work repository ) int
-
Background rendering when iMac is in standby mode
After I have imported a video file from my Sony HDR Z1 FCP X starts to render in background mode, when I am using the iMac all is fine but if I leave it overnight and the iMac "goes" to sleep" the rendering also stops. Is there a way to stop this so
-
I'm currently running MatrixX 6.2.2 on Windows XP SP2. When I try an run a simulation I get an error message, "Can't find nmake.exe" or something like that. I've viewed some previous posts and the suggestions where dealing with VC compiler and runni