LISTENER: Service/SID Aliases
Hi,
I have this db instance that answer correctly to DEVDB from a service DEVDB
Now, I would like to have it accept connection to TESTDB as well.
I know it is possible to use some sort of aliases but not sure how to setup the .ora files
here are the files;
# listener.ora Network Configuration File: /usr/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = DEVDB.DEV)
(ORACLE_HOME = /usr/app/oracle/product/10.2.0/db_1)
(SID_NAME = DEVDB)
(SID_DESC =
(GLOBAL_DBNAME = DEVDB.DEV)
(ORACLE_HOME = /usr/app/oracle/product/10.2.0/db_1)
(SID_NAME = TESTDB)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
~
# sqlnet.ora Network Configuration File: /usr/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
NAMES.DEFAULT_DOMAIN = DEV
~
# tnsnames.ora Network Configuration File: /usr/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
#DEV =
# (DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
# (CONNECT_DATA =
# (SERVER = DEDICATED)
# (SERVICE_NAME = dev)
DEVDB.DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEVDB)
DEVDB.DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TESTDB)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
~
each name must be in single quotes and the list is separated by commas.Not necessarily :
SQL> sho parameter service
NAME TYPE VALUE
service_names string
SQL> alter system set service_names='devdb, testdb';
System altered.
SQL> sho parameter service
NAME TYPE VALUE
service_names string devdb, testdb
SQL> alter system set service_names='devdb','testdb';
System altered.
SQL> sho parameter service
NAME TYPE VALUE
service_names string devdb, testdb
SQL>
How can I make this alias work so I can connect to the short name;
testdb and it will connectd by default to the dev domain but if I specify testdb.prod it will go the the production database??Not sure to understand... you'd want to simultaneously use two different domains for the same database ?
Similar Messages
-
Oracle 10g on Windows Server 2003
One Listener Service with Two instances
I understand you, the reader, may have some experience working with Oracle Servers and I am hoping you may be able to shed some light on my current issue.
I have Oracle 10g Version 10.1.0.2.0 Standard running on Windows Server 2003 SP2. There are multiple database instances; as you know each instance has a SID, its own service “OracleService<SID>”, memory space, files, configurations, etc.
Each database runs though the same listener with an individual listener service.
There are now six databases on the system (mastsch1, indosch1, bathsch1, bathsch2, bathsch3, and bathsch4)
The most recent database, bathsch4, is a clone/copy of bathsch3.
I chose to use the Database Administrator Console to Clone an existing database (bathsch3) to create a new database (bathsch4).
What I ended up with was a single listener service “bathsch4” reporting two instances “bathsch4” READY and “bathsch3” BLOCKED.
I’ve checked lsnrctl services and status to gather this information, validated the PATH, and registry settings, and tested resolution of TNSPING which all report the same issue.
Issue 1:
I need assistance in understanding how exactly to alter “bathsch3” so it runs again in its own listener service “bathsch3” and is no longer BLOCKED.
Thankfully, all of the other databases (mastsch1, indosch1, bathsch1, bathsch2, and bathsch4) are running correctly.
I walked through many scripts and diagnostics to get were I thought stopping and starting the service would bring me back to completion, but ended up after a system cycle back to the same problem, so I’ve clearly missed something.
In the process of researching this issue, I found that my listener.log had grown exponentially and was at 700 MB already. The majority of this log was the windows service “OracleServicebathsch3” attempting to connect to the database.
I shutdown the database and stopped the service which drastically reduced the rate of growth.
Issue 2:
I need assistance in understanding how exactly to set up the listener.log to either rollover or truncate after 20 MB.
If you believe you are capable of provide me with any helpful guidance? Please do so, I am happy to answer any question and provide every bit of information you feel would be of assistance.
Thank you,
James10/16/2009 12:11:27 PM EST
Thank you for your response - I will definitely attempt your suggestion for item 2.
With regards to item 1, it appears that I'm not explaining the listener issue well enough.
On Windows Server 2003 R2 with Oracle 10.1.0.2.0 Standard running if you were to check the listener status, I appear to have only one listener with the correct endpoint.
If you check the listener services you will see that one listener service, with the name of the new database, is listed as having two dependent instances, the original database, bathsch3, and the new database, bathsch4.
The original database, bathsch3, is blocked.
I need guidance on how to uncouple the original database, bathsch3, from the “bathsch4” service and get it back on its own service.
To follow is a run of the listener status in case it helps to “see” what I am saying.
e.x. ===============
cmd> lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 15-OCT-2009 14:34
:51
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.0.75)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
Start Date 14-OCT-2009 20:17:13
Uptime 0 days 18 hr. 17 min. 38 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
Listener Log File c:\oracle\product\10.1.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.0.75)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "BATHSCH4XDB" has 1 instance(s).
Instance "bathsch4", status READY, has 1 handler(s) for this service...
Service "MASTSCH1" has 2 instance(s).
Instance "MASTSCH1", status UNKNOWN, has 1 handler(s) for this service...
Instance "mastsch1", status READY, has 1 handler(s) for this service...
Service "BATHSCH1XDB" has 1 instance(s).
Instance "bathsch1", status READY, has 1 handler(s) for this service...
Service "BATHSCH2XDB " has 1 instance(s).
Instance "bathsch2", status READY, has 1 handler(s) for this service...
Service "indosch1" has 1 instance(s).
Instance "indosch1", status READY, has 2 handler(s) for this service...
Service "bathsch4" has 2 instance(s).
Instance "bathsch4", status READY, has 1 handler(s) for this service...
Instance "bathsch3", status BLOCKED, has 1 handler(s) for this service...
Service "mastsch1XDB" has 1 instance(s).
Instance "mastsch1", status READY, has 1 handler(s) for this service...
Service "bathsch1" has 1 instance(s).
Instance "bathsch1", status READY, has 1 handler(s) for this service...
Service "bathsch2" has 1 instance(s).
Instance "bathsch2", status READY, has 1 handler(s) for this service...
The command completed successfully -
Windows listener service will not start automatically
I just installed 11.2.0.3 Standard Edition One and when I reboot the server, the listener service is not started. The service is set to start Automatically. I have to login, open services and then push start.
The oraceServiceSId does start automatically,
The listerner service does not start automatically,
The dbconsole service does not start automatically,
The processManger1 service (from middleware) does not start automatically
This is Windows 7 64 bit.
Any ideas?
Edited by: brian.mcginity on Dec 10, 2011 11:25 AMI found where the services logs are recorded in the event viewer. Funny thing just happened, I was just about to do another reboot so I could check the logs when I noticed there were window updates in q.
So after running the updates, the os requested to reboot . For the first time, the services started automatically.
These are the updates which fixes the probem:
Security Update for Windows 7 for x64-based Systems (KB2639417)
Cumulative Security Update for Internet Explorer 9 for Windows 7 for x64-based Systems (KB2618444)
Security Update for Windows 7 for x64-based Systems (KB2620712)
Cumulative Security Update for ActiveX Killbits for Windows 7 for x64-based Systems (KB2618451)
Edited by: brian.mcginity on Dec 13, 2011 9:52 PM
Edited by: brian.mcginity on Dec 13, 2011 9:53 PM -
Unable to start EIM 9.0 Listener service
I have installed EIM 9.0 in distributed architecture. In the listener service, the PG's are not listed. Please find the attached screenshot.
Agent PG server is not yet installed. Is it required to have agent Pg service started before starting listener service.
Able to see following error in the listener log.
2013-08-06 12:37:40.151 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dsm.BatchExecutor <@> main() <@> ProcessName = Listener-process <@>
2013-08-06 12:37:42.616 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_answerset_release_details <@>
2013-08-06 12:37:42.631 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_case_release_details <@>
2013-08-06 12:37:42.768 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_cluster_created_by <@>
2013-08-06 12:37:42.768 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_author_releaseid <@>
2013-08-06 12:37:42.768 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_author_release_details <@>
2013-08-06 12:37:42.769 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_case_release_id <@>
2013-08-06 12:37:42.769 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQueryDB <@> processQuery() <@> Duplicate query definition : author::get_case_cluster_id <@>
2013-08-06 12:37:42.804 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQuery <@> preProcess() <@> I18N_EGPL_DATAACCESS-ATTRIB_DETAIL_NOT_FOUND_FOR_QUERY: author::get_question_release_details I18N_EGPL_DATAACCESS-ATTRIB_NOT_FOUND_IN_OBJECT: dept_id --> author::cbr_question <@>
2013-08-06 12:37:42.805 GMT-0400 <@> ERROR <@> [1:main] <@> ProcessId:2944 <@> PID:0 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.dataaccess.queryprocessor.StaticQuery <@> preProcess() <@> I18N_EGPL_DATAACCESS-ATTRIB_DETAIL_NOT_FOUND_FOR_QUERY: author::get_question_release_details I18N_EGPL_DATAACCESS-ATTRIB_NOT_FOUND_IN_OBJECT: dept_id --> author::cbr_question <@>
2013-08-06 12:41:24.218 GMT-0400 <@> ERROR <@> [20:RMI TCP Connection(5)-10.153.254.81] <@> ProcessId:2944 <@> PID:50 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.cache.cacheimpl.CacheResponse <@> waitForResponse(int timeout) <@> TimeoutException thrown <@>
2013-08-06 12:41:24.219 GMT-0400 <@> ERROR <@> [20:RMI TCP Connection(5)-10.153.254.81] <@> ProcessId:2944 <@> PID:50 <@> UID:12 <@> HttpSessionId: <@> com.egain.platform.framework.cache.cacheimpl.CacheInetAddress <@> addEntriesOfServiceJVMs(String selfAddr) <@> The thread that was waiting on response timed out. <@>
2013-08-06 12:41:32.500 GMT-0400 <@> ERROR <@> [20:RMI TCP Connection(5)-10.153.254.81] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.cmb.ProviderInitiator <@> <@> PROVIDER_CONFIG_LIST is empty. No CMB server configured: List size= 0listenerInstanceId=2000 <@>
2013-08-06 12:41:33.111 GMT-0400 <@> ERROR <@> [20:RMI TCP Connection(5)-10.153.254.81] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.cmb.ProviderInitiator <@> <@> PROVIDER_CONFIG_LIST is empty. No CMB server configured: List size= 0listenerInstanceId=2001 <@>
2013-08-06 12:41:53.537 GMT-0400 <@> ERROR <@> [30:ARMSessionCreatorThread] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.arm.communication.ARMChannelConnector <@> connect() <@> ConnectException occured..... Connection from Listener to ARM can not be established.............. <@>
2013-08-06 12:41:54.147 GMT-0400 <@> ERROR <@> [36:ARMSessionCreatorThread] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.arm.communication.ARMChannelConnector <@> connect() <@> ConnectException occured..... Connection from Listener to ARM can not be established.............. <@>
2013-08-06 12:42:14.541 GMT-0400 <@> ERROR <@> [30:ARMSessionCreatorThread] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.arm.communication.ARMChannelConnector <@> connect() <@> ConnectException occured..... Connection from Listener to ARM can not be established.............. <@>
2013-08-06 12:42:14.541 GMT-0400 <@> ERROR <@> [30:ARMSessionCreatorThread] <@> ProcessId:2944 <@> PID:1 <@> UID:12 <@> HttpSessionId: <@> com.cisco.ipcc.listener.arm.ARMConnRecoveryHandler <@> <@> Exception during ARM socket re-connection................ armConnRevoveryConst=1 listenerInstanceId = 2000 <@>I just got to know that to start listener and EAAS service, the agent PG and CTI service has to bbe in active state.
-
Problem removing Listener Service in Clusterware 11g
It appears that I already have a listener service as shown below, and I am having problem removing this service so that I can create another. I know that I can just add a new listener service for each node, though if anyone would share some insight on how I can remove this listener service ofr Oracle 11g Clusterware with two node cluster, I would appreciate your insight. Thanks
rac1.respecti.com>./crs_resources.sh
HA Resource Target State
ora.rac1.gsd ONLINE ONLINE on rac1
ora.rac1.ons ONLINE ONLINE on rac1
ora.rac1.rac1.lsnr ONLINE ONLINE on rac1
ora.rac1.vip ONLINE ONLINE on rac1
ora.rac2.gsd ONLINE ONLINE on rac2
ora.rac2.ons ONLINE ONLINE on rac2
ora.rac2.rac2.lsnr ONLINE ONLINE on rac2
ora.rac2.vip ONLINE ONLINE on rac2
rac1.respecti.com>srvctl remove listener -n rac1 -l rac1
PRKO-2203 : Listener is running on node: rac1
rac1.respecti.com>srvctl stop listener -n rac1
CRS-0210: Could not find resource 'ora.rac1.LISTENER_RAC1.lsnr'.
rac1.respecti.com>Hi, Is there any tnslsnr process running on the node. To understand the problem better, enable the debug trace for the .lsnr resource. You can enable trace by executing the following command as root.
crsctl debug log res "ora.rac1.LISTENER_RAC1.lsnr:5"
crsctl debug log crs "CRSRTI:1,CRSCOMM:2,OCRSRV:4"
Try to stop the listener.
Examine the log files under CRS_HOME/log/$HOST/crsd/* and CRS_HOME/log/$HOST/racg/*
Thanks & Regards
-Harish Kalra -
Per-service SID's are not being granted correct permissions
Hi,
I had posted this here :
https://connect.microsoft.com/SQLServer/feedback/details/770984/per-service-sid-s-are-not-being-granted-correct-permissions, but no response as yet.
When installing SQL 2012 (on a VMWare VM), based on the following article :
http://msdn.microsoft.com/en-us/library/ms143504(v=sql.110), I have noticed that the SQL per service SIDs are not being granted the correct permissions. From the initial install, the following is what was observed (the red x's being permissions that
should have been granted but were not).
When re-installing and changing from specifying a domain account, to the default values, during set-up, the 4 service SIDs that were not added to 'Log on as a Service' initially were then correctly granted permission, but the other 4 in 'Bypass traverse
checking', 'Adjust Memory Quotas for a process' and 'Impersonate a Client after authentication' were still not added.
When running a repair on this install, 'NT Service\MSSQLFDLauncher' was then granted the correct permissions, but 'NT SERVICE\MsDtsServer110' was still missing 'Bypass traverse checking' and 'Impersonate a Client after authentication'.
This also resulted in the installation of Reporting Services - Native failing in the original installation with 'Attempted to perform an unauthorized operation'.
If anyone has recently installed SQL 2012, can you check (via gpedit.msc) that the correct 'User Right Assignment' was granted to the per Service SIDs as per
http://msdn.microsoft.com/en-us/library/ms143504(v=sql.110) ?Have you resolved this yet? Group policy for the OU with my desktop removes all SQL per-service rights. If group policy is your issue, I'd be interested in how some are retained.
Randy in Marin -
Where is this listener service Originated from?
I appreciate any input on where the listener service is originated from for the following scenario :
===========================
Listener.ora File
===========================
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\12c\product\12.1.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\12c\product\12.1.0\dbhome_1\bin\oraclr12.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
=======================
---End of Control File
=======================
=======================
Listener Services
=======================
LSNRCTL> SERVICE
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl.Racki-PC" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orclXDB.Racki-PC" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: RACKI-PC, pid: 1860>
(ADDRESS=(PROTOCOL=tcp)(HOST=Racki-PC)(PORT=49285))
Service "racki.racki-pc" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
========================================
Services Originated from........
========================================
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
=======================================================
SID_NAME = CLRExtProc <--- The above is originated from Listener file Entry
=======================================================
Service "orclXDB.Racki-PC" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
========================================================================
dispatchers=(PROTOCOL=TCP) (SERVICE=orclXDB) <--- The above is originated Control file Entry
========================================================================
Service "orcl.Racki-PC" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
==========================================================
service_names=orcl.Racki-PC <--- The above is originated Control file Entry
==========================================================
Service "racki.racki-pc" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
=================================
Where is this service Originated from?
==================================
I have PDB named racki running
SQL> select name from v$services;
NAME
racki.racki-pc
orclXDB
orcl.Racki-PC
SYS$BACKGROUND
SYS$USERS
Thank you very much for your input in advance.
RackiIt looks like your database is using automatic service registration (most do these days) in which case entries in the listener.ora aren't generally needed.
Justin -
Problem With Listener Service: Long Delay Starting Listener, Intermittent Connections
I am having trouble connecting to my Oracle database. I'm not sure what the cause was, but now when I connect to a database that has been working fine for the past two years, I usually get a ORA-12541 error.
I run lsnrctl status on the server and get a prinout like this:
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dqaswn02)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
I've also tried manually stopping the service via services.msc and then restarting via lsnrctl start, but when I do this I get a really long delay (10+ minutes) before it returns with something like:
TNS-01153: Failed to process string: 0í≈♥
I'm pretty lost as to what is wrong. I've been messing around with listener.ora, but I don't see anything problematic in there. Here's a copy:
# listener.ora Network Configuration File: E:\app\myc0714\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\myc0714\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\myc0714\product\11.2.0\dbhome_1\BIN\OraClr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dqaswn02)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
# ADR_BASE_LISTENER = E:\app\myc0714
LOG_FILE_LISTENER = LISTENER
TRACE_LEVEL_LISTENER = SUPPORT
TRACE_FILE_LISTENER = LISTENER
However, a few times during this I've been able to connect to the server, via sqlplus, but it has taken 10 minutes before the connection comes online. Once I'm connected, I can query my tables as expected, but I need an application to connect.
If anyone has any ideas on what could be wrong, please let me know.When I opened up netca, I didn't have any listeners configured, which seems very strange. When adding it, I get this message in the cmd window:
Oracle Net Services Configuration:
Configuring Listener:LISTENER
ServiceAliasException: Could not save Service Alias: TNS-04406: Object already e
xists
Default local naming configuration complete.
Listener configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
E:\app\myc0714\product\11.2.0\dbhome_1\bin\lsnrctl start LISTENER
Listener Control complete.
Listener start failed.
I killed the service via services.msc again and tried starting the lsnrctl. This time I've got a new listening service going:
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is E:\app\myc0714\product\11.2.0\dbhome_1\network\admin\li
stener.ora
Log messages written to e:\app\myc0714\diag\tnslsnr\DQASWN02\listener\alert\log.
xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DQASWN02.petroleumplace.
com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DQASWN02.petroleumplace.
com)(PORT=1521)))
TNS-01153: Failed to process string: X☺∙♥
I just tried starting the trace. I'm waiting for it to connect, I guess. I'll post anything I get out of it when it returns. -
Service SID and setup account for DB engine service
SQL supports service isolation of access control through granting permissions to the service SID. However, we also can give the privileges to service account. Which one of the service
SID and service account has higher priority? If we give the conflicting permissions to service SID and service account, which one will work?Hi smileahpu,
In short, for account rights/privileges, there are two general types Allow and Deny. The "Allow" rights/privileges are combined, and the "Deny" rights/privileges are exclused. The DENY(SE_DENY) rights override the corresponding account
rights. In this case, either the service account or the service sid is denied on a right, the service is denied on the right.
To be more detailed, we need to go through the following topics:
How does system validate a process's privileges while accessing securable objects
How does per-service SID work while accessing securable objects
How does Access Control work
How a process accesses securable objects:
The system uses an access token to identify the user when a thread(or a process) interacts with a securable object or tries to perform a system task that requires privileges.
An access token is an object that describes the security context of a process or thread.
Access token contains lots of information. Two of them are:
•The security identifier (SID) for the user's account
•A list of the privileges held by either the user or the user's groups
Please review the following article for more information:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa374909(v=vs.85).aspx
How does per-service SID work while accessing securable objects
For a service without per-Service SID enable, we can image the security context is just from the user(service account). With per-Service SID enabled, we can make a security context that is not just a user, but a user AND a particular process.
Actually, the per-Service SID's SID and privilege are included the access token directly.
By checking with Windbg, we can see the service SID was included.
0:072> !token
Thread is not impersonating. Using process token...
TS Session ID: 0
User: S-1-5-21-3485830563-343820118-176642512-1008
User Groups:
00 S-1-5-21-3485830563-343820118-176642512-513
Attributes - Mandatory Default Enabled
01 S-1-1-0
Attributes - Mandatory Default Enabled
02 S-1-5-21-3485830563-343820118-176642512-1009
Attributes - Mandatory Default Enabled
03 S-1-5-32-545
Attributes - Mandatory Default Enabled
04 S-1-5-6
Attributes - Mandatory Default Enabled
05 S-1-2-1
Attributes - Mandatory Default Enabled
06 S-1-5-11
Attributes - Mandatory Default Enabled
07 S-1-5-15
Attributes - Mandatory Default Enabled
08 S-1-5-113
Attributes - Mandatory Default Enabled
09 S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003 < -- service SID
Attributes - Default Enabled Owner
10 S-1-5-5-0-274023807
Attributes - Mandatory Default Enabled Owner LogonId
11 S-1-2-0
Attributes - Mandatory Default Enabled
12 S-1-5-64-10
Attributes - Mandatory Default Enabled
13 S-1-16-12288
Attributes - GroupIntegrity GroupIntegrityEnabled
Primary Group: S-1-5-21-3485830563-343820118-176642512-513
Privs:
00 0x000000003 SeAssignPrimaryTokenPrivilege Attributes -
01 0x000000005 SeIncreaseQuotaPrivilege Attributes -
02 0x000000013 SeShutdownPrivilege Attributes -
03 0x000000017 SeChangeNotifyPrivilege Attributes - Enabled Default
04 0x000000019 SeUndockPrivilege Attributes -
05 0x00000001d SeImpersonatePrivilege Attributes - Enabled Default
06 0x00000001e SeCreateGlobalPrivilege Attributes - Enabled Default
07 0x000000021 SeIncreaseWorkingSetPrivilege Attributes -
08 0x000000022 SeTimeZonePrivilege Attributes -
Auth ID: 0:105545a6
Impersonation Level: Anonymous
TokenType: Primary
Is restricted token: no.
SandBoxInert: 0
Elevation Type: 1 (Default)
Mandatory Policy: TOKEN_MANDATORY_POLICY_VALID_MASK
Integrity Level: S-1-16-12288
Process Trust Level: (null)
Token Virtualized: Disabled
UIAccess: 0
IsAppContainer: 0
Device Groups:
How does Access Control work
Please check from the following article for more information:
http://technet.microsoft.com/en-us/library/cc740104(v=ws.10).aspx
In addition, the following articles are helpful for understanding the concepts discussed in this reply:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb545671(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684880(v=vs.85).aspx
http://technet.microsoft.com/en-us/library/cc781716(v=ws.10).aspx
http://blogs.technet.com/b/voy/archive/2007/03/22/per-service-sid.aspx
Thanks,
Jinchun Chen -
Homegroup Listener Service Will Not Start
The Homegroup Listener Service on one of my machines will not start. It
shows an error code of -2147467262 (0x80004002). Does anyone know what
might be causing this?Hi,
Please try the following steps to troubleshoot the issue.
1. Leave HomeGroup completely
a. Click the Start Button, type "cmd" (without quotation marks), in the search result list, right click on Cmd.exe and select Run as administrator.
Note: If you are prompted for an administrator password or confirmation, type your password, or click Continue.
b. In the popup window, type the following commands and press Enter one by one:
Net stop p2pimsvc
c. Access t he following folder and clear all files inside:
C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\PeerNetworking
d. Click the Start Button, type "cmd" (without quotation marks), in the search result list, right click on Cmd.exe and select Run as administrator.
Net start p2pimsvc
After that, please check whether the service can be started or not. If not, please proceed to the next steps.
2. Verify the Server service and assure the status is started.
3. Replace the system file and registry key. Please copy the following files on another Windows 7 machine which HomeGroup Listener service can start normally and import them to the problematic one.
a. Locate the ListSvc.dll file under the folder C:\Windows\System32. Remove the old one and paste the new one.
b. Navigate the following registry key on another Windows 7 machine and export it. Then, please copy and import it on the problematic machine.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HomeGroupListener
If the issue persists after performing above suggestions, I suggest you run System File Checker (SFC) to verify whether any system file is corrupted.
Thanks,
Novak -
Workflow Agent Listener Service - Performance tuning for high volume
We have AR and Collection which initiate thousands of workflows. We also have various other workflows that run parallell activities. We have workflow backgrond engine schedule as Y,N,N for each of the item types.
It takes many hours for the workflows to progress. In some cases the background engine stays running on the current manager for hours when it reaches flow steps that take longer. It looks like the Workflow Agent Listener Service processes a single flow at one time which is killing us when longer running processes are running. We run 1 Workflow Agent Listener Service with 30 threads assuming it would pick up and process 30 items. It is very hard to tell if we have improvement.
Does anyone have any information on the following-
1) is it better to have more than 1 Workflow Agent Listener Service or is 1 sufficient?
2) is there a benefit to having multiple threads?Please mention the details of the application release, database version and OS.
Can you find any errors in the workflow/database log files?
Any locks in the database?
Please see these doc.
Troubleshooting WF_DEFERRED Agent Listeners Performance [ID 468650.1]
Autoadjustment Business Events Blocking Wf_deferred Queue [ID 1120818.1]
Performance Caused By Lock On WF_EVENT.LISTEN [ID 579471.1]
Thanks,
Hussein -
Workflow Agent Listener Service is Down
Hi,
EBS version 12.0.4
While starting Workflow notification mailer , Workflow Agent Listener Service state is activated but status is Down.Also same status for Workflow Document Web Services Service.
Acual process showing 0 and Target as 1.
whereas Workflow Mailer Service is Activated with status UP
We tried steps from 559388.1 note bouncing apache,starting container but same error.
Please advice.
Thanks & Regards--DhanashreeHi,
Pls find the log.
GC 12413K->7696K(16984K), 0.0069343 secs]
[Sep 4, 2010 12:27:18 AM BST]:1283556438150:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:ANONYMOUS(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:14:ERROR:[fnd.wf.bes.PLSQLQueueHandler]:dequeue() :Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:27:18 AM BST]:1283556438150:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:15:ERROR:[fnd.wf.bes.PLSQLQueueHandler]:dequeue() :Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:36:01 AM BST]:1283556961887:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:15:ERROR:[SVC-GSM-WFALSNRSVC-177852-10022 : oracle.apps.fnd.cp.gsc.SvcComponentProcessor.read()]:Error occurred while dequeueing -> oracle.apps.fnd.wf.bes.QueueHandlerException: Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:28:34 AM BST]:1283556514169:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556514169:19:ERROR:[SVC-GSM-WFALSNRSVC-177852-10003 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:Could not executeUpdate() on { CALL WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 )} -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:27:27 AM BST]:1283556447537:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556447537:17:ERROR:[SVC-GSM-WFALSNRSVC-177852-10004 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:Could not executeUpdate() on { CALL WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 )} -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:28:59 AM BST]:1283556539358:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556539358:20:ERROR:[SVC-GSM-WFALSNRSVC-177852-10002 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:Could not executeUpdate() on { CALL WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 )} -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:35:53 AM BST]:1283556953006:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:14:ERROR:[SVC-GSM-WFALSNRSVC-177852-10021 : oracle.apps.fnd.cp.gsc.SvcComponentProcessor.read()]:Error occurred while dequeueing -> oracle.apps.fnd.wf.bes.QueueHandlerException: Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[GC 12432K->8231K(16984K), 0.0214131 secs]
[Sep 4, 2010 12:27:47 AM BST]:1283556467428:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556467428:18:ERROR:[SVC-GSM-WFALSNRSVC-177852-10005 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:Could not executeUpdate() on { CALL WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 )} -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:27:18 AM BST]:1283556438150:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:16:ERROR:[fnd.wf.bes.PLSQLQueueHandler]:dequeue() :Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:36:01 AM BST]:1283556961937:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:16:ERROR:[SVC-GSM-WFALSNRSVC-177852-10040 : oracle.apps.fnd.cp.gsc.SvcComponentProcessor.read()]:Error occurred while dequeueing -> oracle.apps.fnd.wf.bes.QueueHandlerException: Could not execute() the CallableStatement or retrieve OUT parameter -> java.sql.SQLException: Io exception: Connection timed out
[Sep 4, 2010 12:36:01 AM BST]:1283556961959:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556467428:18:ERROR:[SVC-GSM-WFALSNRSVC-177852-10005 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[Sep 4, 2010 12:36:02 AM BST]:1283556962038:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556514169:19:ERROR:[SVC-GSM-WFALSNRSVC-177852-10003 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[Sep 4, 2010 12:36:02 AM BST]:1283556962041:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556539358:20:ERROR:[SVC-GSM-WFALSNRSVC-177852-10002 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[Sep 4, 2010 12:36:18 AM BST]:1283556978393:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[ComponentMonitor,5,main]:10.32.97.435:23133:1282813541517:1:EXCEPTION:[SVC-GSM-WFALSNRSVC-177852 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10002
[Sep 4, 2010 12:36:18 AM BST]:1283556978632:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[ComponentMonitor,5,main]:10.32.97.435:23133:1282813541517:1:ERROR:[SVC-GSM-WFALSNRSVC-177852 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.process()]:Monitoring failed this iteration -> oracle.apps.fnd.cp.gsc.ProcessorException: Could not start automatic component -> oracle.apps.fnd.cp.gsc.server.GenericSvcComponentEOException: The Service Component Container is not running.
[Sep 4, 2010 12:37:01 AM BST]:1283557021942:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:15:ERROR:[fnd.wf.bes.PLSQLQueueHandler]:prepareDequeueStatement() : Could not prepare dequeue CallableStatement or set IN parameters 1, 3, or 4 or register OUT parameter -> java.sql.SQLException: Closed Connection
[Sep 4, 2010 12:37:01 AM BST]:1283557021943:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:15:ERROR:[SVC-GSM-WFALSNRSVC-177852-10022 : oracle.apps.fnd.cp.gsc.SvcComponentProcessor.read()]:Error occurred while dequeueing -> oracle.apps.fnd.wf.bes.QueueHandlerException: Could not prepare dequeue CallableStatement or set IN parameters 1, 3, or 4 or register OUT parameter -> java.sql.SQLException: Closed Connection
[Sep 4, 2010 12:37:02 AM BST]:1283557022071:-1:-1:STFPROJAPP001.fna.pbpo.com:10.32.97.435:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:10.32.97.435:23133:1283556438150:14:ERROR:[fnd.wf.bes.PLSQLQueueHandler]:prepareDequeueStatement() : Could not prepare dequeue CallableStatement or set IN parameters 1, 3, or 4 or register OUT parameter -> java.sql.SQLException: Closed Connection
Regds, -
WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
제품 : AOL
작성날짜 : 2005-11-28
WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
========================================
PURPOSE
신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
Problem Description
증상
1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
2. 기동될때 "Activating" status 로 남아 있습니다.
3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
(a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
(b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
Workflow Deferred Agent Listener
Workflow Deferred Notification Agent Listener
Workflow Error Agent Listener
Workflow Inbound Notifications Agent Listener
Workflow Notification Mailer
(c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
Solution Description
이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
위 sql이 먹지 않을때
다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
그리고 확인차 wfver.sql를 돌려주세요.
(Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
Please reference:
Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
Reference Documents
Note 278428.1제품 : AOL
작성날짜 : 2005-11-28
WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
========================================
PURPOSE
신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
Problem Description
증상
1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
2. 기동될때 "Activating" status 로 남아 있습니다.
3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
(a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
(b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
Workflow Deferred Agent Listener
Workflow Deferred Notification Agent Listener
Workflow Error Agent Listener
Workflow Inbound Notifications Agent Listener
Workflow Notification Mailer
(c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
Solution Description
이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
위 sql이 먹지 않을때
다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
그리고 확인차 wfver.sql를 돌려주세요.
(Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
Please reference:
Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
Reference Documents
Note 278428.1 -
Hi,
According to the lessons in my book, I inserted a service-side file in
my HTML-code.
It seems to work fine in the Design Mode and in the Live-View.
But when starting a browser, no matter which one, the service side
file is not visible.
What can be the problem?
Thanks in advance.
PR.Sorry, you're right, I'm talking about server-side. And I think I found the answer as well, in my book ("classroom in a book").
At the end of the chapter it says: "You won't be able to see the SSI in a browser without a testing server as long as it's stored
only on your local hard drive."
And I'm not using a test-server yet.
Thanks for your attention anyway! -
Listener service not starting after installation (10g on WinXP)
Hi!
I installed 10.2.0.1 on a Windows XP machine, but for some reason the listener service does not start up. If I start the service from the Windows service control panel I get:
The service "OracleOraDB10g_home1TNSListener" on "Local Computer" could not be started. Error 3: The system could not find the specified path."
The path for the servicing exe is "G:\oracle\product\10.2.0\db_1\BIN\TNSLSNR", which is the correct path.
Executing "lsnrctl status" I get:
{code}
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-MAI-2009 09:53:37
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xpdeveloper)(PORT=1521)))
TNS-12541: TNS: No Listener
TNS-12560: TNS: Error with protocol adapter
TNS-00511: No Listener
32-bit Windows Error: 61: Unknown error
{code}
Executing "lsnrctl start" I get:
{code}
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-MAI-2009 10:02:10
Copyright (c) 1991, 2005, Oracle. All rights reserved.
tnslsnr is getting started: Please wait...
Failed to start service, error 3.
TNS-12560: TNS: Error with protocol adapter
TNS-00530: Error with protocol adapter
{code}
When I open a another command shell and run the servicing exe "G:\oracle\product\10.2.0\db_1\BIN\TNSLSNR" directly and executing "lsnrctl status" I get:
{code}
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-MAI-2009 10:10:27
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xpdeveloper)(PORT=1521)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Startdatum 27-MAI-2009 10:10:17
Uptime 0 Tage 0 Std. 0 Min. 10 Sek.
Trace-Ebene off
Sicherheit ON: Local OS Authentication
SNMP OFF
Parameterdatei des Listener G:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Log-Datei des Listener G:\oracle\product\10.2.0\db_1\network\log\listener.log
Zusammenfassung Listening-Endpunkte...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpdeveloper)(PORT=1521)))
Der Listener unterst³tzt keine Services
Der Befehl wurde erfolgreich ausgef³hrt.
{code}
I can also successfully tnsping the listener.
Any ideas why the listener service fails to start?
Thanks a lot for your help,
MarcusHi Florian,
my understanding was that on Windows ORACLE_HOME is stored in the registry.
I have a correct path to my Oracle home directory under "HKLM\Software\Oracle\KEY_OraDB10g_home1\ORACLE_HOME".
Following your suggestion, I added a Windows environment variable "ORACLE_HOME" that points to the Oracle home directory, rebooted and tried to start the service again, but nothing changed.
Marcus
Maybe you are looking for
-
Hi frds, I have fetched the TXT files through FTP from different location.All the file got loaded in my Local drive into single folder And in that Folders i will have these kind of Files ACTEST00001_20141028_0405_INV.TXT ACTEST00001_20141029_0405_SL
-
Can't drag and drop photos in iphoto version 6.0.5
for some reason iphoto won't let me drag and drop photos into albums. i tried restarting, checking fonts etc but it still won't work. can anyone help? it used to work fine
-
Power adapter plugged or unplugged when using an external display?
What is the best practice if the Macbook is connected with an external display , keyboard and mouse...Power adapter plugged or unplugged? And how will it affect the Battery Capacity?
-
How to reset the security questions
I tried to solve my problem.. shows to go manage ID > Password and Security and I dont see send a email to rescue email adress to reset the answer help my apple ID is blocked now!!!!
-
I have PDF files that I need to open in Illustrator (CS4). When I open it the type is "chunked out" so instead of a paragraph being one block of text it is a bunch of different text paths. Is there a way to combine these into one text block so I can