Cannot mount database after force server restart.
The server is hung. After forced reboot all databases was successfully mounted except one public folder, that gives an error:
MapiExceptionSearchEvaluationInProgress: Unable to mount database. (hr=0x80004005, ec=1177)
The error ocured on Exchange Server 2010 SP3 Standard Update Rollup 5.
Update to Rollup 7 does not solve the problem.
Eseutil 14.03 shows no errors.
Move all the log files include all other files to another location and try to mount it.
Post the update
Cheers,
Gulab Prasad
Technology Consultant
Blog:
http://www.exchangeranger.com Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Similar Messages
-
ORA-01102: cannot mount database in EXCLUSIVE mode
Hello,
I am working with an Oracle VM Template: Oracle Application Server 10g Release 3 WebCenter (x86 32-bit). In this template exists an Oracle database (version: 10.2.0.3.0), I am trying to do something operation (ie create a new user, query a system template, etc) but I can't because I have ORA-01102 error.
I have DB and listener up :
$ORACLE_HOME/bin
lsnrctl status
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 18-MAR-2011 08:25:04
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_ORCL)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.3.0 - Production
Start Date 18-MAR-2011 08:09:45
Uptime 0 days 0 hr. 15 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
+/u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora+
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_ORCL)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=haovm007)(PORT=1521)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=haovm007)(PORT=8080))(Presentation=HTTP)(Session=RAW))+
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
I have export environment variables:
export ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1/
export ORACLE_SID = orcl
+export PATH = ${ORACLE_HOME}bin:${PATH}+
Then I connect to DB:
sqlplus> connect / as sysdba
+sqlplus> shutdown {abort/immediate}+
ORA-01507: database not mount+
ORACLE instance shutdown
+sqlplus> startup {mount}+
ORACLE instance startup
ORA-01102: cannot mount database in EXCLUSIVE mode+
So, I have checked listener.ora and tnsnames.ora and they are OK, so I don't know why I can't access to the DB.
Any idea/suggestion is welcome!
Thank you in advance and regards,
Mónica.Mónica wrote:
Hi Kamran Agayev A.,
thank you so much, I have solve the issue!!
I have executed your command, and after I startup the DB and it works!!!
Regards,
MónicaWell done! :)
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
ORA-011-2 cannot mount database in Exclusive mode
This is brand new both Oracle 10g and SUSE 9.3 install. The installation went fine, no errors. At the end I tried to verify the installation:
sqlplus /nolog
SQL>connect / as sysdba
Connected to an idle instance
SQL>startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/10g/dbs/initmydb.ora'
SQL>
So, I figured the missing initmydb file must be in different directory so I looked for it, started new shell session and entered this:
ln -s @ORACLE_BASE/admin/orcl/pfile/initmydb.ora
$ORACLE_HOME/dbs/initmydb.ora
Now I get the following error:
SQL>startup
ORA-011-2 cannot mount database in Exclusive mode
This is third time that I am triyng to install both SUSE and Oracle from scratch and I always run in the same problem, so you can only imagine how I feel.Now after reading many documents I am even more confused. The thing is, now I can connect to EM and manage database, create tables, etc, which means the database is up, right? However, I am unable to verify the database existance in sqlplus.
First after I connect as sysdba in sqlplus, the console says "Connected to an idle instance". When I enter show sga sqlplus, the sqlplus displays 0. Startup comand will display error in the above post.
So, the bottom line is, according to the EM the database is up and running (I can use isqlplus too) but not according to sqlplus on the server itself. What'sgoing on here? I've been reading every single paper on Oracle's and Novell SUSE web sites and couldn't find anything about it. -
Error message in Command line (cannot mount database in EXCLUSIVE mode)
Hello Experts
I'm new in Oracle and trying to connect to my database though SQL command line. After I login as SYS I user I get the message that 'connected to idle instance'. Then I use “STARTUP” to connect to database. Now from my understanding it should mount the database and open it as well. But it does'nt happens.Instead I get the message 'cannot mount database in EXCLUSIVE mode' . I'm not sure why it can't mound the database and what should I do to make it working. Please can somebody show me how to make it working again. Here are the details about my problem
Enter user-name: SYS as SYSDBA
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 595591168 bytes
Fixed Size 1220748 bytes
Variable Size 301993844 bytes
Database Buffers 285212672 bytes
Redo Buffers 7163904 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
Thanks a lot in advance.Thank you so much for both of you. I've checked everything. All looks fine to me and then i tried to connect though SQL and it worked. Now what I've notice that this time I didn't start Enterprise Manager only I started the listner and then start sql it worked. Does this means that I can't use both SQL and EM at a time together?
-
PMON and ORA-01102: cannot mount database in EXCLUSIVE mode error
hello all
I have been asked to look into a problem server with the following details
OS: sunOS 5.8
Oracle: 10.2.0.1
sys user password is not available !
backgrround processes for the instance(sid=test) are running
only schema credentials available and with that user is able to connect.
verified all oraenv parameters(ORACLE_SID is same as the running instance(test)).
only one instance is configured in this server(verified all tnsnames.ora, data files etc).oratab is empty
the issues are,
when I tried to connect to the server using "oracle" user using conn / as sysdba
1. Tried to shutdown using , shutdown immediate
ORA-01507:database not mounted
ORACLE instance shut down
still able to see the background processes and user is able to connect
2. Tried startup command,
In the nomount state I can see more than one PMON process with the same sid
when tried to mount/open
ran into the error,
ORA-01102: cannot mount database in EXCLUSIVE mode
Eventhough the background processes for the "test" instance are running I am not able to shutdown the instance using "oracle" user
please help
newbiehi
i renamed lk* file but the issue still remains,
with the oracle user
1./ as sysdba
2. shutdown immediate
this leads to
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
still not able to identify the running oracle instance.
there is only one oracle home and the oraenv details are set with the correct values
verified the alert log(ora home details are matching with the env details), details of the oracle processes which are active are in the alert log along with the startup failures(mount errors) at the tail end
oracle sysdba is not able to identify the already running instance?
please help
newbie -
Oracle ORA-01102故障: cannot mount database in EXCLUSIVE mode
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
出现这个问题,可能是由于断电的问题,解决方法是
出现1102错误可能有以下几种可能:
一、在HA系统中,已经有其他节点启动了实例,将双机共享的资源(如磁盘阵列上的裸设备)占用了;
二、说明 oracle 被异常关闭时,有资源没有被释放,一般有以下几种可能,
1、 oracle 的共享内存段或信号量没有被释放;
2、 oracle 的后台进程(如SMON、PMON、DBWn等)没有被关闭;
3、 用于锁内存的文件lk<sid>和sgadef<sid>.dbf文件没有被删除。
首先,虽然我们的系统是HA系统,但是备节点的实例始终处在关闭状态,这点通过在备节点上查数据库状态可以证实。
其次、是因系统掉电引起数据库宕机的,系统在接电后被重启,因此我们排除了第二种可能种的1、2点。最可疑的就是第3点了。
查$ORACLE_HOME/dbs目录:
$ cd $ORACLE_HOME/dbs
$ ls sgadef*
sgadef* not found
$ ls lk*
lkORA92
果然,lk<sid>文件没有被删除。将它删除掉
$ rm lk*
再启动数据库,成功。
如果怀疑是共享内存没有被释放,可以用以下命令查看:
$ipcs -mop
IPC status from /dev/kmem as of Thu Jul 6 14:41:43 2006
T ID KEY MODE OWNER GROUP NATTCH CPID LPID
Shared Memory:
m 0 0×411c29d6 –rw-rw-rw- root root 0 899 899
m 1 0×4e0c0002 –rw-rw-rw- root root 2 899 901
m 2 0×4120007a –rw-rw-rw- root root 2 899 901
m 458755 0×0c6629c9 –rw-r—– root sys 2 9113 17065
m 4 0×06347849 –rw-rw-rw- root root 1 1661 9150
m 65541 0xffffffff –rw-r–r– root root 0 1659 1659
m 524294 0×5e100011 –rw——- root root 1 1811 1811
m 851975 0×5fe48aa4 –rw-r—– oracle oinstall 66 2017 25076
然后它ID号清除共享内存段:
$ipcrm –m 851975
对于信号量,可以用以下命令查看:
$ ipcs -sop
IPC status from /dev/kmem as of Thu Jul 6 14:44:16 2006
T ID KEY MODE OWNER GROUP
Semaphores:
s 0 0×4f1c0139 –ra——- root root
s 14 0×6c200ad8 –ra-ra-ra- root root
s 15 0×6d200ad8 –ra-ra-ra- root root
s 16 0×6f200ad8 –ra-ra-ra- root root
s 17 0xffffffff –ra-r–r– root root
s 18 0×410c05c7 –ra-ra-ra- root root
s 19 0×00446f6e –ra-r–r– root root
s 20 0×00446f6d –ra-r–r– root root
s 21 0×00000001 –ra-ra-ra- root root
s 45078 0×67e72b58 –ra-r—– oracle oinstall
根据信号量ID,用以下命令清除信号量:
$ipcrm -s 45078
如果是 oracle 进程没有关闭,用以下命令查出存在的 oracle 进程:
$ ps -ef|grep ora
oracle 29976 1 0 Jun 22 ? 0:52 ora_dbw0_ora92
oracle 29978 1 0 Jun 22 ? 0:51 ora_dbw1_ora92
oracle 5128 1 0 Jul 5 ? 0:00 oracleora92 (LOCAL=NO)
然后用kill -9命令杀掉进程
$kill -9 <PID>
总结:
当发生1102错误时,可以按照以下流程检查、排错:
1.如果是HA系统,检查其他节点是否已经启动实例;
2.检查 oracle 进程是否存在,如果存在则杀掉进程;
3.检查信号量是否存在,如果存在,则清除信号量;
4.检查共享内存段是否存在,如果存在,则清除共享内存段;
5.检查锁内存文件lk<sid>和sgadef<sid>.dbf是否存在,如果存在,则删除No, its still not helping..even after trying to kill the semaphores:
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 oracle 640 538968064 1 dest
0x00000000 32769 oracle 600 192 1 dest
0x00000000 65538 oracle 600 1474564 8 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcrm -m 32769
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcrm -m 65538
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 oracle 640 538968064 1 dest
0x00000000 32769 oracle 600 192 1 dest
0x00000000 65538 oracle 600 1474564 8 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ps -e f|grep emrep
3273 ? Ds 0:00 ora_ckpt_emrep
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> -
Starts up but ORA-205 cannot mount database
I dont seem to understand. I run windows 98 and installed oracle 8i Personal Edition.
First,I cannot get scott and tiger to log me Senond, going in as Database Administrator to start database, it starts but does not mount - 'ORA-205, CANNOT MOUNT DATABASE,
Could a 64 meg ram machine not be enough as it recommends 96 meg.
or
Could it be because at a certain stage duirng installation, it detects there is an older database which it wants me to migrate, but which i bypassed as I prefer to start anew. I see it is not by force to migrate if you do not want to.
Could someone be of help please.
nullI think you could identify the database ALERT file to find what might cause the error.
The alert file is default located in:
$ORACLE_HOME/admin/bdump
Try to find it, and see what happened. -
Pls need your help!! ORA-01102: cannot mount database in EXCLUSIVE mode
I really appreciate if you can help me.
In the test environment Oracle 10g r2, I was trying to change some init.ora parameters and some flashback database parameters. Flashback required to start in mount exclusive, and the init parameters only start mount. I do not know the difference between mount and mount exclusive. i used start mount exclusive to alter all the parameters. At the end, I used ALTER DATABASE OPEN. Now, I can't start the database. The following is the error that I am getting. Can you explain the difference between start mount and start mount exclusive.
Thanks, Terry
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 1980616 bytes
Variable Size 230688568 bytes
Database Buffers 377487360 bytes
Redo Buffers 2211840 bytes
ORA-01102: cannot mount database in EXCLUSIVE modesidney$ ps -ef| grep ora_
oracle 13663 1 0 16:39:46 ? 0:00 ora_mmon_orcl
oracle 13150 1 0 14:46:07 ? 0:00 ora_q000_orcl
oracle 13105 1 0 14:45:29 ? 0:02 ora_dbw0_orcl
oracle 13107 1 0 14:45:29 ? 0:01 ora_lgwr_orcl
oracle 13117 1 0 14:45:30 ? 0:04 ora_mmon_orcl
oracle 13099 1 0 14:45:28 ? 0:01 ora_pmon_orcl
oracle 13119 1 0 14:45:30 ? 0:05 ora_mmnl_orcl
oracle 13113 1 0 14:45:30 ? 0:00 ora_reco_orcl
oracle 13115 1 0 14:45:30 ? 0:01 ora_cjq0_orcl
oracle 13136 1 0 14:45:51 ? 0:00 ora_arc0_orcl
oracle 13152 1 0 14:46:07 ? 0:00 ora_q001_orcl
oracle 13126 1 0 14:45:36 ? 0:01 ora_rvwr_orcl
oracle 13680 13615 0 16:46:00 pts/6 0:00 grep ora_
oracle 13667 1 0 16:39:46 ? 0:00 ora_d000_orcl
oracle 13101 1 0 14:45:28 ? 0:01 ora_psp0_orcl
oracle 13142 1 0 14:45:56 ? 0:00 ora_qmnc_orcl
oracle 13138 1 0 14:45:52 ? 0:00 ora_arc1_orcl
oracle 13121 1 0 14:45:30 ? 0:00 ora_d000_orcl
oracle 13655 1 0 16:39:45 ? 0:00 ora_ckpt_orcl
oracle 13103 1 0 14:45:28 ? 0:01 ora_mman_orcl
oracle 13669 1 0 16:39:46 ? 0:00 ora_s000_orcl
oracle 13653 1 0 16:39:45 ? 0:00 ora_lgwr_orcl
oracle 13649 1 0 16:39:44 ? 0:01 ora_mman_orcl
oracle 13123 1 0 14:45:31 ? 0:00 ora_s000_orcl
oracle 13647 1 0 16:39:44 ? 0:00 ora_psp0_orcl
oracle 13659 1 0 16:39:45 ? 0:00 ora_reco_orcl
oracle 13111 1 0 14:45:29 ? 0:04 ora_smon_orcl
oracle 13109 1 0 14:45:29 ? 0:04 ora_ckpt_orcl
oracle 13665 1 0 16:39:46 ? 0:00 ora_mmnl_orcl
oracle 13678 1 0 16:45:05 ? 0:00 ora_j000_orcl
oracle 13651 1 0 16:39:45 ? 0:00 ora_dbw0_orcl
oracle 13657 1 0 16:39:45 ? 0:00 ora_smon_orcl
oracle 13645 1 0 16:39:44 ? 0:00 ora_pmon_orcl
oracle 13661 1 0 16:39:46 ? 0:00 ora_cjq0_orcl
sidney$ -
Problem with Dataguarg ORA-01102: cannot mount database in EXCLUSIVE mode
Hi,
I'm trying to create a physical standby database on my Oracle9i DB runing
on WinXP.
Note: I have both Primary and Standby on the same system.
Actually everything went well .... I did created the standby DB but the problem
is I can not start my primary DB if my standby DB is mounted.
I get this error:
ORA-01102: cannot mount database in EXCLUSIVE mode
And when I read about the error message I learnt that I should start my DB in
compatible mode ... please how do I do that?
Or possibly how can I make this work.
Regards,
CherishActually, I remember doing that in the Pry pfile but cannot really remember if I do that in the standby pfile.
I'll check and get back to you.
I'm very grateful for that.
Regards,
Cherish -
POL-4104 cannot mount database with a duplicate volume
Using a Oracle Lite database when performing a seond sync... I get this error
POL-4104 cannot mount database with a duplicate volume
Also changed the database id values in ODBC.ini still enountering the same problem
Please help!!! urgent!!!
ThanksI have used DBINFO and also made sure that my id values are different in ODBC.ini but still encountering the same problem,
Second sync is nothing but in our project we use the oracle9ilite for synchroniztion of multiple databases at different locations so we do a sync process at different locs.
Now at my local system iam doing this sync for multiple databases asuming my box is at different locations....Then, iam encountering this problem of POL 4104. I made sure in my C:/WINDOWS/ODBC.ini that the database ids are different but no use..Pls help -
Composite with dependency not working after soa server restart
Hello,
I have composite application that invokes another composite application. After deploying those work fine. But after restarting soa server the one having dependency does not work any more. To soa server log I get following:
<Jul 1, 2010 11:45:29 AM EEST> <Error> <oracle.integration.platform> <SOA-20003> <Unable to register service.
oracle.fabric.common.FabricException: Error in getting XML input stream: http://Yacico:8001/soa-infra/services/default/validationForCC/getStatusByCC?WSDL: Response: '503: Service Unavailable' for url: 'http://Yacico:8001/soa-infra/services/default/validationForCC/getStatusByCC?WSDL'
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
Caused By: java.io.FileNotFoundException: Response: '503: Service Unavailable' for url: 'http://Yacico:8001/soa-infra/services/default/validationForCC/getStatusByCC?WSDL'
<Jul 1, 2010 11:45:30 AM EEST> <Error> <oracle.integration.platform> <SOA-20020> <Deployment of composite "POProcessing" failed: Unable to find a WSDL that has a definition for service {http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO}receivePO and port execute_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..>
So POProcessing does not work any more after server restart. validationForCC works fine also after server restart. Url http://...validationForCC/getStatusByCC?WSDL points to wsdl file and is visible by browser.
I use soa suite 11g patch set 2 (11.1.1.3) running on redhat enterprise linux 5.
Any idea what is the problem?
Is it somehow possible to configure which composites are started first during server startup?
regards, Matti
Edited by: user10197965 on Jul 1, 2010 2:28 AMYes, I did that. I'm not all that happy about this as a solution either, but it's better than making multiple copies.
We have since found out that his is a known bug and that it is fixed in some, but not all, deployments.
-------- see below -------------
Composites With WSDL Dependencies Fail To Deploy Following SOA Server Restart [ID 1272070.1]
Modified:Jul 19, 2012 Type:PROBLEM Status:MODERATED Priority:3
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
Applies to:
Oracle SOA Platform - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
Symptoms
A SOA Project has an external reference to a Web Service or a reference to another Composite.
When the SOA Server is started, the Composite is trying to access the WSDL of it's referenced Web Service in order to load data structures. If SOA can not find the WSDL then the Composite fails to load/deploy.
Once this happens the Composite can not be started, or shutdown, from Enterprise Manager Fusion Middleware Control Application.
Related Error Messages:
[ERROR] [SOA-20020] ... Unable to find a WSDL that has a definition for service ... Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.]
javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of oramds
Cause
When SOA Server is restarting the Composite can not access the WSDL of it's referenced Web Service (it is not available).
In the first scenario there are two Composites on the same server: CompositeA and CompositeB.
In SOA Suite 11g there is no possibility to specify the load order for the composites. If CompositeA references CompositeB and if CompositeA is firstly loaded then it can not access the WSDL from CompositeB and the issue occurs.
In the second situation there is one Composite on the server (CompositeA) which references an external WebService (ExternalWS). If the ExternalWS is not available when the SOA Server is starting then this issue occurs.
Solution
Solution 1
Redeploy the affected Composite into the SOA Server.
You can do that but it is not advisable in a production environment and in a development environment it will take a lot of time to redeploy the composite manually
Solution 2
Copy the abstract WSDL locally into the project.
This is documented in these articles in our Knowledge base:
• Document:1155033.1 Node Restart Cause Composites To Become Unavailable. Response: '503: Service Unavailable'
• Document:1151973.1 Boot Order Of The Composites Upon Soa Suite Restart
Steps:
o a. Copy and use the WSDL file in the Project
o b. Edit the WebService Adapter
o c. Change the "WSDL URL" to point to the WSDL copied into the project
o d. Redeploy the Project
o e. Make this configuration with all the Projects that have a references with other Web Services
Solution 3
Use shared artifacts in Metadata Service (MDS). A WSDL used by more than one composite is a shared artifact per definition. If the WSDL structure is changed (that is not happening frequently in a production environment), you will normally deploy a composite with a new version because overwriting it will break your production environment. Moreover, in a development environment you will need a proper process in place where different developers access the same artifacts within MDS. In addition, when you use external WSDLs (owned by third parties), you will have a proper process/agreement in place to be notified about modifications affecting your applications.
1. In order to use shared artifacts a MDS connection must be configured in jDeveloper:
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_lifecycle.htm#SOASE85488
2. Deploy the shared artifacts:
o a. Create a JAR profile and include the artifacts to share
o b. Create a SOA bundle that includes the JAR profile
o c. Deploy the SOA bundle to the application server
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_lifecycle.htm#SOASE85472
If the shared artifacts (WSDLs) needed are from other composites this step can be skipped
3. Create a new WebService
o a. When completing the "WSDL URL" click on "Find existing WSDL's"
o b. Select "Resource Palette"
o c. Go to the SOA-MDS
o d. Select a WSDL from a Composite or the one deployed at step 2.
Known Restriction 1
The port and the location for the WSDL reference is not completed automatically by jDeveloper in the composite.xml file. This information must be inserted manually. In Bug:10287325 is raised this issue and it is available for SOA 11gPS2+.
Known Restriction 2
Another issue regarding MDS caching is raised in Bug:10218147 - the MDS cache is not refreshed when an artifact is deployed or deleted.
In order to refresh this cache the server must be restarted. This Bug resolves the issue but in a production environment the server restart will be the preferred option. The reason for that is because in a production environment you never deploy single composites under the same version after artifacts (WSDLs) have been modified.
The fix for the Bug:10218147 can be an acceptable solution in development environment where redeployment would be quicker than restarting the server.
Bug:10218147 is available for SOA 11gPS2+.
To find out more information about how to use Shared Metadata check the following documentation:
Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite 11g
41 Deploying SOA Composite Applications
41.7.3 Deploying and Using Shared Metadata Across SOA Composite Applications in Oracle JDeveloper
URL:
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_lifecycle.htm#CACFEAJJ
Solution 4
The last solution is to use an UDDI (Universal Description Discovery and Integration).
Oracle recommends Oracle Service Registry 11g (OSR). The advantage is that you can use OSR and SOA Suite in a Shared WebLogic Domain.
http://www.oracle.com/technetwork/middleware/registry/overview/index.html
http://blogs.oracle.com/governance/2010/05/oracle_service_registry_11gr1.html
To find out more information about Oracle Service Registry check the following documentation:
Oracle Fusion Middleware Administrator's Guide for Oracle SOA Suite 11g
33 Configuring Service and Reference Binding Components
33.1.3 Changing the Endpoint Reference and Service Key for Oracle Service Registry Integration
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10226/bc_config.htm#SOAAG37248
Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite 11g
A BPEL Process Activities and Services
A.4 Publishing and Browsing the Oracle Service Registry
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_appx_ref.htm#SOASE85561
Oracle Fusion Middleware Service Registry 11g
http://download.oracle.com/otndocs/tech/soa/OSR11gR1ProductDocumentation.pdf
Solution 5
In case you have BPM Components in the Composites deployed check the following note:
Document 1317803.1 Soa Suite Composite Fails To Deploy Upon Restart Of Managed Server
The issue is caused by the Bug:11822470 SOA SUITE COMPOSITE FAILS TO DEPLOY UPON RESTART OF MANAGED SERVER
References
BUG:10218147 - WSDL CHANGES NEED SOA SUITE SERVER RESTART
BUG:10278478 - WHEN SOA SERVER IS RESTARTED, SOME SOA COMPOSITES COULD NOT LOAD/BE DEPLOYED
BUG:10287325 - ABSTRACT WSDL NOT AVAILABLE WHEN COMPOSITE STARTED
BUG:10311698 - WHEN SOA SERVER IS RESTARTED, SOME SOA COMPOSITES CAN NOT BE STARTUP / SHUTDOWN
BUG:11822470 - SOA SUITE COMPOSITE FAILS TO DEPLOY UPON RESTART OF MANAGED SERVER
@ BUG:9267312 - MDS ARTIFACTS ARE STILL CACHED AFTER DELETING
@ BUG:9708488 - AFTER SOA RESTART, ALL PROCESSES HAVE TO BE REDEPLOYED
@ BUG:9749845 - SCHEMA CACHE STARTS EMPTY AFTER RE-START, BUT NOT AFTER DEPLOYMENT
NOTE:1151973.1 - Boot Order Of The Composites Upon Soa Suite Restart
NOTE:1155033.1 - Node Restart Cause Composites To Become Unavailable. Response: '503: Service Unavailable'
NOTE:1317803.1 - Soa Suite Composite Fails To Deploy Upon Restart Of Managed Server
Bug 11822470 : SOA SUITE COMPOSITE FAILS TO DEPLOY UPON RESTART OF MANAGED SERVER
Bug Attributes
Type B - Defect Fixed in Product Version 11.1.1.6
Severity 2 - Severe Loss of Service Product Version 11.1.1.4
Status 80 - Development to QA/Fix Delivered Internal Platform 912 - Microsoft Windows (32-bit)
Created Mar 1, 2011 Platform Version 2003
Updated Oct 12, 2012 Base Bug N/A
Database Version N/A Affects Platforms Generic
Product Source Oracle
Abstract: SOA SUITE COMPOSITE FAILS TO DEPLOY UPON RESTART OF MANAGED SERVER
*** 03/01/11 08:07 am ***
Customer has a project consists of two services for interaction with the
process and one reference to an external service.
On deployment of the process to an Enterprise Environment, the process works
as expected. However, upon a restart of the managed server, the process will
then fail to deploy.
Workaround used is to redeploy the project again.
Bug 10278478 : WHEN SOA SERVER IS RESTARTED, SOME SOA COMPOSITES COULD NOT LOAD/BE DEPLOYED
Bug Attributes
Type B - Defect Fixed in Product Version
Severity 2 - Severe Loss of Service Product Version 11.1.1.3.0
Status 92 - Closed, Not a Bug Platform 226 - Linux x86-64
Created Nov 10, 2010 Platform Version RED HAT ENTERPRISE LINUX 5
Updated Dec 10, 2010 Base Bug N/A
Database Version N/A Affects Platforms Generic
Product Source Oracle
Abstract: WHEN SOA SERVER IS RESTARTED, SOME SOA COMPOSITES COULD NOT LOAD/BE DEPLOYED
Detailed Problem Description
====================
When a SOA composite get dependencies with other SOA composites located on the same server, if the dependency is still not loaded, the SOA composite will not be loaded, and there is no possibilities for Entreprise Manager console to restart it (EM crash). The only way to make it working is to redeployed the SOA composite from jDeveloper that is not acceptable in a production environment.
The composite that has the issue cannot be start-up or shut-down, although the Enterprise Manager do not show any errors with it. -
JDBC Connection pool recovery after DB server restart
I am finding that Kodo is throwing the following exception after I restart
my database server (mysql). I am doing the database server restart while my
application server is idle, so it is not during a transaction.
Communication link failure: java.net.SocketException [code=0;state=08S01]
NestedThrowables:
com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
This is presumably due to the JDBC connection pooling. Is there a
configuration setting that allows Kodo to detect such failures and reconnect
to the database server without exposing this problem to the application
code? For example, WebLogic Server's JDBC connection pool has a setting that
enables testing a connection and recovering from such failures before
allocating it from the pool.
BenThis is presumably due to the JDBC connection pooling. Is there a
configuration setting that allows Kodo to detect such failures and reconnect
to the database server without exposing this problem to the application
code?Not right now. You can log an enhancement request with our bug database:
http://bugzilla.solarmetric.com/ -
Best Practice to troubleshoot a Crawler Issue after SQL Server restarts
Hi Everyone
I am after some general advice or a suggested place to start when troubleshooting crawler issues after an unplanned, out-of-sequence server restart.
Specifically, the SQL Database in the SharePoint 2010 farm. Better yet, is there a standard practice way of resolving such issues?<o:p></o:p>
So far articles I have found suggest options from reviewing the crawl logs, creating a new crawl component, right through to using fiddler to monitor the crawler.
Are these sufficient places to start / methodologies to follow, what else should be considered?
Any advice greatly appreciated.
Thanks,
MikeWell, as I said before, there are lots of different potential issues & resolutions for crawlers. It really depends on the issue. I would say that the base troubleshooting steps start the same no matter which service/feature you are looking
at. So, I'll try to keep this sort of generic, but beyond finding the details of the problem, the SOP or process will vary greatly based on what the error is. I hope this helps, and sorry if it's not specific enough.
1 - check the ULS logs
2 - check the windows application logs
3 - verify related services are running (get-spserviceinstance), possibly stop/start them to reprovision the instance on the affected server
4 - clear the config cache (this alone will clear about 30% of your basic problems)
6 - verify disk space & resource consumption on affected server (& SQL, SQL is always the potential to be the true "affected" server)
7 - iisreset
8 - verify connectivity between all servers in the farm and SP
9 - verify requir3ed features activated
10- check if any changes were made to environment recently (new hardware, updates to OS or apps, updates to GPOs, new solutions, etc)
11- check if the issue is reproducible in another environment (only reliable if this is a similar environment, i.e. same patch level test farm or dr farm). see if it occurs in other site collections within the web app, different web apps, different
servers/browsers, etc, basically just try to nail down the scope of the problem
There is a whole slew of thiings you could check from verifying certificates & perms, to rerunning psconfig, to checking registry keys, again I go back to it depends. hopefully this can get you started though. in the end ULS is where all
the real info on the issue is going to be, so make sure you check there. don't go in with tunnel vision either. if you see other errors in ULS, check them out, they may or may not be related; SharePoint is an intricate product with way more moving
parts than most systems. fix the little quick ones that you know you can handle, this will help to keep the farm clean and healthy, as well as crossing them off the list of potential suspects for your root cause.
Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com -
Cannot mount database in exclusive mode
Hi guys
for practice Ive installed oracle 10g on centos 4, when i try to start the db it showed no pfile(it created the spfile while installing oracle but fails to recognize that) I created the pfile and when I tried to start the db it is throwing the error ORA-01102 cannot mount the database in exclusive mode. I didnt start any databases but it is throughing this error
any one please help.venkata_sudheer wrote:
for practice Ive installed oracle 10g on centos 4, when i try to start the db it showed no pfile(it created the spfile while installing oracle but fails to recognize that)
I created the pfile and when I tried to start the db it is throwing the error ORA-01102 cannot mount the database in exclusive mode. I didnt start any databases
but it is throughing this error You can try to create pfile:
SQL> create pfile from spfile;How you tryed to mount?
Like this?
SQL> STARTUP EXCLUSIVE MOUNT dbnameExclusive mode is usually needed when SYSTEM tablespace is being migrated. -
BPEL process instance doesn't restart execution after BPEL server restart
I am using Oracle BPEL server 10.1.2 on Windows with the Oracle lite 10G dehydration datastore.
I have a one BPEL process (proc1) that invokes another BPEL process (proc2) synchronously. proc1 also invokes proc3 (also a BPEL process, but probably doesn't matter) synchronoulsy in parallel with proc2.
proc2 has a wait of ~30seconds in it. As soon as proc1 invokes proc2, I shutdown BPEL. Now, when I restart the BPEL server, proc2 instance finishes its execution. But, I don't see instances of proc1 and proc3 in the BPEL console.
Here are my questions:
1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
2. Why doesn't proc1 resume its execution after BPEL server is restarted?
Any pointers appreciated.1. If proc1 invokes proc2 and proc3 in parallel, shouldn't I see instances of proc2 and proc3 at the same time? I only see proc2 not even proc1.
Please read this thread:
ParallelFlows + sync flow
Maybe you are looking for
-
How to reset my MacBook Pro os mountainlion with out a disk
How cAn I reset my act without the. Disks
-
How to find the search help for the parameters stmt in a report
hi how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statement
-
I'm running windows vista and can't download ps cc.Do I need to install windows 7?
-
Album art downloaded by iTunes shows in iPod, not iPod Library in iTunes
I had iTunes add artwork to the songs in iTunes. The art shows up in the "Selected Item" windows when I click on one of the songs in the iTunes Library. I added those songs to the iPod. When the iPod plays one of those songs, the artwork shows up fin
-
NoClassDefFoundError: O2
Not many helpful responses on the beginner junk, file is O2.java Getting error: Exception in thread "main" Java.lang.NoClassDefFoundError: O2 CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> import java.util.*; public class O2 { public void Comm