Oracle net config files
hello to everyone,
Which oracle networking configuration files are optional and which are compulsory on the client side, and the same thing, which files are optional or compulsory on the server side?
For example, is sqlnet.ora optional on the server side?
If this makes difference regarding the Oracle version, then it's about 9i and 10g.
Many thnx for any input.
Cheers,
Hiruya
listener.ora is must in server
tnsnames.ora is must in client and in server (if multiple servers are integrated through database by application)
sqlnet.ora is optional in both client and server (is must if domain naming is used)
Similar Messages
-
Oracle Net config assistant not opening on windows.
Hi,
I installed Oracle 9i server on a windows XP machine on Friday, 2nd December. I configured the listener service, netconfig name and my application was up and running.
Today I wanted to make some changes in the listener service; but the net config assistant window is not coming up. New processes launch.exe and jrew.exe are starting in the background with each attempt to launch.
I made sure I am logged in as the same user which installed Oracle on the machine(having ORA_DBA privilages), gave the full control privilages to this user. But the net config assistant is still not opening up.
Could anyone help in this regard.
Thanks
PuneetHas anyone of you seen this problem before??
Kindly reply asap.
Thanks -
the follwing error is occuring while installing the oracle 9.2 on True 64 5.1b unix OS
error in invoking target ntcontab.o of make file
/oracle/app/product/9.1.2/orahome/network/lib/ins_net_client.mkhttp://www.puschitz.com/InstallingOracle9i.shtml#OracleInstallationErrors
Search for "ins_net_client.mk" on that page. -
Changing the Crystal Report dependency from 10.2 to 11.5 using config file
Hi,
We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
Then I changed the .net config files to change the dependency assembly as follows
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Now the application launched with out any issues. I thought the problem was sorted out.
But when I tried to generate the report, there comes the problem
During the report generation, I am getting the following error
Crystal Reports
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
OK
I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
Is there any way to achieve this ?
Any help is much appreciated.
Thanks
Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PMNo way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
Ludek -
Hi All,
Our prod db is 2 nodes RAC 10g in MS window 2003 servers. It is located in a remote place. Recently one of our local app servers lost connection to this db although we can tnsping it but got ORA3113 error when we tried to logon using sql plus. Most of our local PCs did not have problem logon at all. We enabled the sql net trace on this app server and network administrators spent a lot of time on this and finally shutdown one of the app servers in the same remote location which seemed cause a lot of network traffic with a local app server. So the problem went away and the app server can logon to the db now. I (I know nothing about network) tried to read the sql net trace file generated during the trouble time using the help outlined in the “Examining Oracle Net Trace Files” written by Kevin Reardon. The error happened after client sending server character set and conversion graph it supports and before receiving character set and conversion graph from the server. It took a minute in this step and finally gave up. Following is a section of the trace file where error happens. My question is: even we know when the error happens and at what step how can we use this info to further identify the root cause: Is this because we have too much network traffic which caused timeout or other reason(s)? By the way our db servers have “INBOUND_CONNECT_TIMEOUT=180" (3 minutes) in the sqlnet.ora file and whole trace file starts at [06-NOV-2009 14:50:23:352] and ends at [06-NOV-2009 14:51:24:758] which is a little over 1 minute. Greatly appreciate your insights and thoughts.
Shirley
[06-NOV-2009 14:50:23:836] nsdo: normal exit
[06-NOV-2009 14:50:23:836] nsdo: entry
[06-NOV-2009 14:50:23:836] nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
[06-NOV-2009 14:50:23:836] nsdo: rank=64, nsctxrnk=0
[06-NOV-2009 14:50:23:836] nsdo: nsctx: state=8, flg=0x400d, mvd=0
[06-NOV-2009 14:50:23:836] nsdo: gtn=127, gtc=127, ptn=10, ptc=32730
[06-NOV-2009 14:50:23:836] nsdo: switching to application buffer
[06-NOV-2009 14:50:23:836] nsrdr: entry
[06-NOV-2009 14:50:23:836] nsrdr: recving a packet
[06-NOV-2009 14:50:23:836] nsprecv: entry
[06-NOV-2009 14:50:23:836] nsprecv: reading from transport...
[06-NOV-2009 14:50:23:836] nttrd: entry
[06-NOV-2009 14:51:24:742] nttrd: exit
[06-NOV-2009 14:51:24:742] ntt2err: entry
[06-NOV-2009 14:51:24:742] ntt2err: Read unexpected EOF ERROR on 644
[06-NOV-2009 14:51:24:742] ntt2err: exit
[06-NOV-2009 14:51:24:742] nsprecv: error exit
[06-NOV-2009 14:51:24:742] nserror: entry
[06-NOV-2009 14:51:24:742] nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
[06-NOV-2009 14:51:24:742] nsrdr: error exit
[06-NOV-2009 14:51:24:742] nsdo: nsctxrnk=0
[06-NOV-2009 14:51:24:742] nsdo: error exit
[06-NOV-2009 14:51:24:742] nioqer: entry
[06-NOV-2009 14:51:24:742] nioqer: incoming err = 12151
[06-NOV-2009 14:51:24:742] nioqce: entry
[06-NOV-2009 14:51:24:742] nioqce: exit
[06-NOV-2009 14:51:24:742] nioqer: returning err = 3113
[06-NOV-2009 14:51:24:742] nioqer: exit
[06-NOV-2009 14:51:24:742] nioqrc: exit
[06-NOV-2009 14:51:24:742] nioqrs: entryI am certainly not an expert in this area, but these lines are of interest
>
06-NOV-2009 14:51:24:742 ntt2err: Read unexpected EOF ERROR on 644
06-NOV-2009 14:51:24:742 nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
06-NOV-2009 14:51:24:742 nioqer: incoming err = 12151
>
The TNS 12537, 12560 and 12151 codes indicate network errors.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/tnsus.htm#sthref14851
Is this a consistently reproducible error ? Do other applications on this network operate without error ?
HTH
Srini -
INS-20802 Oracle net configuration assistant failed on windows server 2003 R2
Hi all,
I have windows server 2003 r2 installed on VM and tried installing oracle database 11g r2.
But got Oracle net configuration assistant failed. Below is the log
INFO: This variable JRE_HOME is not added to the global context map
INFO: This variable ISQLPLUS_PROTOCOL is not added to the global context map
INFO: This variable ISQLPLUS_PORT is not added to the global context map
INFO: This variable HOST_SID_OFFSET_ENABLED is not added to the global context map
INFO: This variable HOSTNAME is not added to the global context map
INFO: This variable EM_UPLOAD_DISABLE is not added to the global context map
INFO: This variable EM_UIX_DEBUG_FLAG is not added to the global context map
INFO: This variable EMPRODVER is not added to the global context map
INFO: This variable CONSOLE_MODE is not added to the global context map
INFO: This variable CONSOLE_CFG is not added to the global context map
INFO: This variable sl_oraclehomes is not added to the global context map
INFO: This variable s_oc4jDir is not added to the global context map
INFO: This variable s_oc4jAppsDir is not added to the global context map
INFO: This variable s_jreHome is not added to the global context map
INFO: This variable s_configcommand is not added to the global context map
INFO: This variable b_isRAC is not added to the global context map
INFO: This variable b_UNIX is not added to the global context map
INFO: This variable OJSP_JAR_LOC is not added to the global context map
INFO: This variable OJSPUTIL_JAR_LOC is not added to the global context map
INFO: This variable LDAP_JAR_LOC is not added to the global context map
INFO: This variable JAVA_HOME is not added to the global context map
INFO: This variable ISQLPLUS_HOST is not added to the global context map
INFO: This variable EM_UIX_LOCATION is not added to the global context map
INFO: This variable EM_REPOS_HOST is not added to the global context map
INFO: This variable EM_PING_COMMAND is not added to the global context map
INFO: This variable EM_OC4J_HOME is not added to the global context map
INFO: This variable EM_EAR_LOC is not added to the global context map
INFO: This variable EMDROOT is not added to the global context map
INFO: Adding the variable s_oc4jAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_oc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable s_launchBrowserClasspath is not added to the global context map
INFO: This variable s_javapOracleHome is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
INFO: passing params to cf done
INFO: done saving info by cf
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
INFO: Checkpoint:Index file written and updated
INFO: Checkpoint:Transfer of file done from remote node
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = C:\oracle\product\11.2.0\dbhome_1\install\chainedInstall\globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Number of root scripts to be executed = 0
INFO: isSuccessfullInstallation: true
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus SUCCESS to the exit status set
INFO: Completed setting up InstallDB
INFO: Performing Configuration
INFO: Entering ConfigClient.init method
INFO: ConfigClient.init sOracleHomeLoc=C:\oracle\product\11.2.0\dbhome_1, sTopAggId=oracle.server
INFO: Entering ConfigClient.initClientAndSession method
INFO: ConfigClient.initClientAndSession status : connected to the config framework
INFO: ConfigClient.initClientAndSession session begun oracle.sysman.emCfg.client.CfwSession@c0d228
INFO: ConfigClient.initClientAndSession m_oAggregate=[Loracle.sysman.emCfg.common.IAggregate;@1257f0e
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO: Exiting ConfigClient.init method
INFO: Calling event ConfigSessionInitialized
INFO: ConfigClient.registerOutErrStream method called
INFO: Entering ConfigClient.getToolsList method
INFO: Created config job for Oracle Net Configuration Assistant
INFO: Created config job for Oracle Database Configuration Assistant
INFO: Updating Transient Parameters in the Aggregates
INFO: Updating Transient Parameters for oracle.server
INFO: Updating Transient Parameters for oracle.assistants.netca.client
INFO: Updating Transient Parameters for oracle.assistants.server
INFO: Setting value to transient variable s_dbcaArgs
INFO: Setting value to transient variable S_SYSMANPASSWORD
INFO: Setting value to transient variable s_systemPasswordFlag
INFO: Setting value to transient variable s_sysmanPasswordFlag
INFO: Setting value to transient variable S_HOSTUSERPASSWORD
INFO: Setting value to transient variable s_dbcaArgsOverride
INFO: Setting value to transient variable windows_commandline_prefix
INFO: Setting value to transient variable s_sysPasswordFlag
INFO: Setting value to transient variable S_SYSPASSWORD
INFO: Setting value to transient variable s_asmsnmpPasswordFlag
INFO: Setting value to transient variable S_DBSNMPPASSWORD
INFO: Setting value to transient variable s_dbsnmpPasswordFlag
INFO: Setting value to transient variable S_ASMSNMPPASSWORD
INFO: Setting value to transient variable S_SYSTEMPASSWORD
INFO: Setting value to transient variable s_hostUserPasswordFlag
INFO: Updating Transient Parameters for OuiConfigVariables
INFO: Updating Transient Parameters for oracle.sysman.ccr
INFO: Updating Transient Parameters for oracle.sysman.console.db
INFO: Successfully updated Transient Parameters in the Aggregates
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=true $*
INFO: Created a new file C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands.bak
INFO: Entering ConfigClient.executeToolsInAggregate method
INFO: ConfigClient.executeToolsInAggregate oAggregate=oracle.server:oracle.server:11.2.0.1.0:common
INFO: Entering ConfigClient.assignAction method
INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@1ae9cec
INFO: ConfigClient.assignAction action is of type :configuration
INFO: Exiting ConfigClient.assignAction method
INFO: ConfigClient.executeToolsInAggregate action assigned
INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: UnsatisfiedLinkError exception loading native library: oranjni11
INFO: java.lang.UnsatisfiedLinkError: C:\oracle\product\11.2.0\dbhome_1\BIN\oranjni11.dll: Can't find dependent libraries
WARNING: java.lang.UnsatisfiedLinkError: jniGetOracleHome
WARNING: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
WARNING: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
WARNING: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
WARNING: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
WARNING: at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
WARNING: at oracle.net.ca.NetCA.main(NetCA.java:408)
INFO:
INFO: Error: jniGetOracleHome
INFO: Oracle Net Services configuration failed. The exit code is 1
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.
INFO: ConfigClient.executeToolsInAggregate action performed
INFO: Exiting ConfigClient.executeToolsInAggregate method
INFO: Calling event ConfigToolsExecuted
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=false $*
INFO: Created a new file C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands.bak
WARNING: readme.txt file doesn't exits
INFO: ConfigClient.saveSession method called
INFO: Calling event ConfigSessionEnding
INFO: ConfigClient.endSession method called
INFO: Completed Configuration
INFO: Shutting down OUISetupDriver.JobExecutorThread
INFO: Cleaning up, please wait...
INFO: Dispose the install area control object
INFO: Update the state machine to STATE_CLEAN
INFO: All forked task are completed at state setup
INFO: Completed background operations
INFO: Moved to state <setup>
INFO: Performing Configuration
INFO: Entering ConfigClient.init method
INFO: ConfigClient.init sOracleHomeLoc=C:\oracle\product\11.2.0\dbhome_1, sTopAggId=oracle.server
INFO: Entering ConfigClient.initClientAndSession method
INFO: ConfigClient.initClientAndSession status : connected to the config framework
INFO: ConfigClient.initClientAndSession session begun oracle.sysman.emCfg.client.CfwSession@140de18
INFO: ConfigClient.initClientAndSession m_oAggregate=[Loracle.sysman.emCfg.common.IAggregate;@1b52041
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO: Exiting ConfigClient.init method
INFO: Calling event ConfigSessionInitialized
INFO: ConfigClient.registerOutErrStream method called
INFO: Entering ConfigClient.getToolsList method
INFO: Selecting job named 'Oracle Net Configuration Assistant' for retry
INFO: Selecting job named 'Oracle Database Configuration Assistant' for retry
INFO: Updating Transient Parameters in the Aggregates
INFO: Updating Transient Parameters for oracle.server
INFO: Updating Transient Parameters for oracle.assistants.netca.client
INFO: Updating Transient Parameters for oracle.assistants.server
INFO: Setting value to transient variable s_dbcaArgs
INFO: Setting value to transient variable S_SYSMANPASSWORD
INFO: Setting value to transient variable s_systemPasswordFlag
INFO: Setting value to transient variable s_sysmanPasswordFlag
INFO: Setting value to transient variable S_HOSTUSERPASSWORD
INFO: Setting value to transient variable s_dbcaArgsOverride
INFO: Setting value to transient variable windows_commandline_prefix
INFO: Setting value to transient variable s_sysPasswordFlag
INFO: Setting value to transient variable S_SYSPASSWORD
INFO: Setting value to transient variable s_asmsnmpPasswordFlag
INFO: Setting value to transient variable S_DBSNMPPASSWORD
INFO: Setting value to transient variable s_dbsnmpPasswordFlag
INFO: Setting value to transient variable S_ASMSNMPPASSWORD
INFO: Setting value to transient variable S_SYSTEMPASSWORD
INFO: Setting value to transient variable s_hostUserPasswordFlag
INFO: Updating Transient Parameters for OuiConfigVariables
INFO: Updating Transient Parameters for oracle.sysman.ccr
INFO: Updating Transient Parameters for oracle.sysman.console.db
INFO: Successfully updated Transient Parameters in the Aggregates
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=true $*
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands.bak.1
INFO: Entering ConfigClient.executeSelectedToolsInAggregate method
INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.server:oracle.server:11.2.0.1.0:common
INFO: Entering ConfigClient.assignAction method
INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@b970f5
INFO: ConfigClient.assignAction action is of type :configuration
INFO: Exiting ConfigClient.assignAction method
INFO: ConfigClient.executeSelectedToolsInAggregate action assigned
INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: UnsatisfiedLinkError exception loading native library: oranjni11
INFO: java.lang.UnsatisfiedLinkError: C:\oracle\product\11.2.0\dbhome_1\BIN\oranjni11.dll: Can't find dependent libraries
WARNING: java.lang.UnsatisfiedLinkError: jniGetOracleHome
WARNING: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
WARNING: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
WARNING: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
WARNING: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
WARNING: at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
WARNING: at oracle.net.ca.NetCA.main(NetCA.java:408)
INFO:
INFO: Error: jniGetOracleHome
INFO: Oracle Net Services configuration failed. The exit code is 1
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.
INFO: ConfigClient.executeSelectedToolsInAggregate action performed
INFO: Exiting ConfigClient.executeSelectedToolsInAggregate method
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=false $*
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands.bak.1
WARNING: readme.txt file doesn't exits
INFO: ConfigClient.saveSession method called
INFO: Calling event ConfigSessionEnding
INFO: ConfigClient.endSession method called
INFO: Completed Configuration
INFO: Performing Configuration
INFO: Entering ConfigClient.init method
INFO: ConfigClient.init sOracleHomeLoc=C:\oracle\product\11.2.0\dbhome_1, sTopAggId=oracle.server
INFO: Entering ConfigClient.initClientAndSession method
INFO: ConfigClient.initClientAndSession status : connected to the config framework
INFO: ConfigClient.initClientAndSession session begun oracle.sysman.emCfg.client.CfwSession@969e08
INFO: ConfigClient.initClientAndSession m_oAggregate=[Loracle.sysman.emCfg.common.IAggregate;@6155e3
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO: Exiting ConfigClient.init method
INFO: Calling event ConfigSessionInitialized
INFO: ConfigClient.registerOutErrStream method called
INFO: Entering ConfigClient.getToolsList method
INFO: Selecting job named 'Oracle Net Configuration Assistant' for retry
INFO: Selecting job named 'Oracle Database Configuration Assistant' for retry
INFO: Updating Transient Parameters in the Aggregates
INFO: Updating Transient Parameters for oracle.server
INFO: Updating Transient Parameters for oracle.assistants.netca.client
INFO: Updating Transient Parameters for oracle.assistants.server
INFO: Setting value to transient variable s_dbcaArgs
INFO: Setting value to transient variable S_SYSMANPASSWORD
INFO: Setting value to transient variable s_systemPasswordFlag
INFO: Setting value to transient variable s_sysmanPasswordFlag
INFO: Setting value to transient variable S_HOSTUSERPASSWORD
INFO: Setting value to transient variable s_dbcaArgsOverride
INFO: Setting value to transient variable windows_commandline_prefix
INFO: Setting value to transient variable s_sysPasswordFlag
INFO: Setting value to transient variable S_SYSPASSWORD
INFO: Setting value to transient variable s_asmsnmpPasswordFlag
INFO: Setting value to transient variable S_DBSNMPPASSWORD
INFO: Setting value to transient variable s_dbsnmpPasswordFlag
INFO: Setting value to transient variable S_ASMSNMPPASSWORD
INFO: Setting value to transient variable S_SYSTEMPASSWORD
INFO: Setting value to transient variable s_hostUserPasswordFlag
INFO: Updating Transient Parameters for OuiConfigVariables
INFO: Updating Transient Parameters for oracle.sysman.ccr
INFO: Updating Transient Parameters for oracle.sysman.console.db
INFO: Successfully updated Transient Parameters in the Aggregates
INFO: Configuration log directory - C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=true $*
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands.bak.2
INFO: Entering ConfigClient.executeSelectedToolsInAggregate method
INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.server:oracle.server:11.2.0.1.0:common
INFO: Entering ConfigClient.assignAction method
INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@1e976fd
INFO: ConfigClient.assignAction action is of type :configuration
INFO: Exiting ConfigClient.assignAction method
INFO: ConfigClient.executeSelectedToolsInAggregate action assigned
INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: UnsatisfiedLinkError exception loading native library: oranjni11
INFO: java.lang.UnsatisfiedLinkError: C:\oracle\product\11.2.0\dbhome_1\BIN\oranjni11.dll: Can't find dependent libraries
WARNING: java.lang.UnsatisfiedLinkError: jniGetOracleHome
WARNING: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
WARNING: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
WARNING: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
WARNING: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
WARNING: at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
WARNING: at oracle.net.ca.NetCA.main(NetCA.java:408)
INFO:
INFO: Error: jniGetOracleHome
INFO: Oracle Net Services configuration failed. The exit code is 1
WARNING:
INFO:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.
INFO: ConfigClient.executeSelectedToolsInAggregate action performed
INFO: Exiting ConfigClient.executeSelectedToolsInAggregate method
INFO:
The Runconfig command constructed is C:\oracle\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=false $*
INFO: Since the option is to overwrite the existing C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands.bak.2
WARNING: readme.txt file doesn't exits
INFO: ConfigClient.saveSession method called
INFO: Calling event ConfigSessionEnding
INFO: ConfigClient.endSession method called
INFO: Completed ConfigurationHi Srini,
The issue is resolved. Thanks for your response.
The issue is, windows 2003 server is 32 bit and I am trying to install 64 bit 11g database. I tried installing 32 bit 11g database. Before that I have cleared the traces of virtual box in my host system and reinstalled it and tried. It worked out.
Thanks
Sunil -
I am about to had enough of this moronic container call OC4J that's compatible to to itself.
I did a
1. clean unzip and installation.
2. setup admin account.
3. config the autodeploy in server.xml (Who in their right phreakin mind design a container with no hot deploy nowaday).
4. configure the data source.
5. test data source using a webapp with one page jsp do a JSF jdbc connection.
When try and deploy the error-free webapp (tested in tomcat) using both frontend and autodeploy,a cryptic error occur: could not read mime.types.
I have never see this error before in my life. its in oracle.oc4j.admin.internal.ApplicationDeployer.addApplication
This error happened after I configure my webapp to do phreakin orion-application.xml disable toplink, orion-webapp xml prefer local class file. If I don't get this resolve within couple days, I'll put my career on the line with full force and request we do not use OC4J anywhere in this group.
A M$FT .NET project looks very promising and efficient compare this deployment hell they call OC4J
2007-06-20 13:22:50.500 NOTIFICATION Application Deployer for norm STARTS.
2007-06-20 13:22:50.546 NOTIFICATION Copy the archive to C:\oc4j101320_SA\j2ee\home\applications\norm.ear
2007-06-20 13:22:50.890 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear begins...
2007-06-20 13:22:50.890 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear...
2007-06-20 13:22:50.890 NOTIFICATION Unpacking norm.ear
2007-06-20 13:22:50.890 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm.ear in C:\oc4j101320_SA\j2ee\home\applications\norm
2007-06-20 13:22:53.625 NOTIFICATION Done unpacking norm.ear
2007-06-20 13:22:53.625 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm.ear
2007-06-20 13:22:53.640 NOTIFICATION Auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war...
2007-06-20 13:22:53.640 NOTIFICATION Unpacking norm.war
2007-06-20 13:22:53.640 NOTIFICATION Unjar C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war in C:\oc4j101320_SA\j2ee\home\applications\norm\norm
2007-06-20 13:22:59.828 NOTIFICATION Done unpacking norm.war
2007-06-20 13:22:59.828 NOTIFICATION Finished auto-unpacking C:\oc4j101320_SA\j2ee\home\applications\norm\norm.war
2007-06-20 13:22:59.906 NOTIFICATION Initialize C:\oc4j101320_SA\j2ee\home\applications\norm.ear ends...
2007-06-20 13:22:59.906 NOTIFICATION Starting application : norm
2007-06-20 13:22:59.906 NOTIFICATION Initializing ClassLoader(s)
2007-06-20 13:22:59.906 NOTIFICATION Initializing EJB container
2007-06-20 13:22:59.906 NOTIFICATION Loading connector(s)
2007-06-20 13:23:00.062 NOTIFICATION Starting up resource adapters
2007-06-20 13:23:00.078 NOTIFICATION Initializing EJB sessions
2007-06-20 13:23:00.078 NOTIFICATION Committing ClassLoader(s)
2007-06-20 13:23:00.078 NOTIFICATION Initialize norm begins...
2007-06-20 13:23:00.187 NOTIFICATION application : norm is in failed state
07/06/20 13:23:00 WARNING: Application.setConfig Application: norm is in failed state as initialization failed.
java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
07/06/20 13:23:00 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/06/20 13:23:00 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/06/20 13:23:00 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
07/06/20 13:23:00 at java.lang.Thread.run(Thread.java:595)
07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:497)
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:340)
07/06/20 13:23:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
07/06/20 13:23:00 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
07/06/20 13:23:00 ... 6 more
07/06/20 13:23:00 Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
07/06/20 13:23:00 at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
07/06/20 13:23:00 at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
07/06/20 13:23:00 at com.evermind.server.Application.initHttp(Application.java:1345)
07/06/20 13:23:00 at com.evermind.server.Application.setConfig(Application.java:451)
07/06/20 13:23:00 ... 9 more
2007-06-20 13:23:00.218 NOTIFICATION Application Deployer for norm FAILED.
2007-06-20 13:23:00.218 NOTIFICATION Application UnDeployer for norm STARTS.
2007-06-20 13:23:00.281 NOTIFICATION Removing all web binding(s) for application norm from all web site(s)
07/06/20 13:23:00 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: norm is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Application: norm is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:497)
at com.evermind.server.Application.setConfig(Application.java:340)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
... 6 more
Caused by: java.lang.InstantiationException: Error loading web-app 'norm' at C:\oc4j101320_SA\j2ee\home\applications\norm\norm: Could not read mime-mappings config file: ./mime.types
at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:155)
at com.evermind.server.Application.getHttpApplicationConfig(Application.java:593)
at com.evermind.server.Application.initHttp(Application.java:1345)
at com.evermind.server.Application.setConfig(Application.java:451)
... 9 moreThank you Steve for your help. I really do appreciate ppl taking the time to answer questions from n00b like me.
I tried and disable global.libraries and global.tag.libraries when deploy, and at one point the login page (its Spring 1.2.8 + hibernate 3.1.3 + Myface 1.1.4 + acegi 1.0.1 ) came out, but cannot login and without exceptions, so I was guessing acegi poblem. But the spring and hibernate is working, I can see the conn and other activities. And after a couple tries, cannot even get the login page display now in MyFace, with exceptions:
include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
And then after some googling found out there will be code change for this webapp as well.
- change webapp.listener for double instantiation in OC4J (Code Change)
- create new class OrionSessionListener implements HttpSessionListener for session invalidation (Code Change) NEW JAVA CLASS
- acegi j_security_check URL reference change (Code Change, but minor)
I think the container has great performance, but I just wish they can look more to the compatabilities/common practices issues
full stacktrace:
2007-06-22 14:12:04.437 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: Errors compiling:C:\oc4j101320_SA\j2ee\home\application-deployments\norm\norm\persistence\_pages\\_login.java
[jsp src:line #:13] include(java.lang.String) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.String,boolean)
pageContext.include( __url,false);
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) -
Net config troubles...
We just set up a RHEL5 (Linux x86) server with Oracle 10GR2 (10.2.0.4). New database woriking fine.
Everything had been working fine until this morning when our SA made some network config changes on the server and bounced the server. It's also possible he may have made some changes in the dns.
Now, I can not get my listener to start or work since the server rebooted.
I get errors such as:
$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 22-MAY-2008 13:47:30
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/oracle/product/10.2/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
Then, I check the HOSTNAME and can not ping it as the FQDN, but I can ping it by using just the abbreviated name.
Next, I checked the /etc/hosts file and it is nearly empty. Our SA has taken everything out of it except one line:
::1 localhost.localdomain localhost <ourservername>
Next, suddenly when I attempt to use GUI tools such as netca or even dbca, I am getting what look like java related errors.
$ netca &
[1] 12839
$
Oracle Net Services Configuration:
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x007729b3, pid=12841, tid=3086448848
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x6e9b3] index+0x63
# An error report file with more information is saved as hs_err_pid12841.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
/u01/oracle/product/10.2/bin/netca: line 190: 12841 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
Does anyone have any ideas? I think the first place that needs to be fixed is the /etc/hosts file, especially to include a line such as:
127.0.0.1 <ourserver.domain.com> <ourservername> localhost.localdomain localhost
Thanks in advance...
Ji liSeems as though the problem was with the /etc/hosts file.
Everything is working now after I asked my SA to put the basic information back into the /etc/hosts file. But strange thing is that he said he never took anything out of it. He used some kind of GUI tool that apaprently comes with our Redhat Linux.
I would give a lot of appreciation to have a good network and sys admin... but I guess that's not something our company values enough. Of course, maybe that's why our IT department has the highest turnover I've ever seen in my entire working career. -
Failed to start Oracle Net Listener
Hi ,
can any body help me regarding failing of listener.
Starting Oracle Database 10g Express Edition Instance.
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
iam using Fedore core4 installing oracle10g Express editon ,on standalone system,Below are the logs
sqlplus system
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 31 13:21:39 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Enter user-name:
/etc/init.d/oracle-xe restart
Shutting down Oracle Database 10g Express Edition Instance.
Stopping Oracle Net Listener.
Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
[root@localhost ~]#
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 31-AUG-2009 13:26:27
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(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: 11: Resource temporarily unavailable
Listener failed to start. See the error message(s) above...
Please helpI need help please:
I have installed Oracle 10g Express Edition without struggles ( Little curious about the fact
that the directory /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/ is empty).
% /etc/init.d/oracle-xe configure --> worked good without default settings.
% /etc/init.d/oracle-xe start --> is silent : No verbose or messages in term.
I can't connect to server http://localhost:8080/htmldb or http://localhost:8080/apex.
I uninstalled and re-installed Oracle 10g... Now the command:
% /etc/init.d/oracle-xe configure --> Oracle is already configured.
But the connection to the server always fails.
My environment has all the following:
% uname -r
2.6.30.5-43.fc11.i686.PAE
% echo $ORACLE_HOME
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
% echo $ORACLE_SID
XE
% echo $PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin.....
BUT I also had the responses:
% /etc/init.d/oracle-xe restart
Shutting down Oracle Database 10g Express Edition Instance.
Stopping Oracle Net Listener.
Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
%sqlplus
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
% /etc/init.d/oracle-xe status
/bin/su: user oracle does not exist
% lsnrctl start { Messages below are my translations into english, sorry ;-) }
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 21-FEB.-2010 18:31:24
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Launch /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
NL-00280: Erreur de création de la chaîne de journalisation /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
NL-00278: Impossible to open journalisation file
SNL-00016: snlfohd : File opening error
Listening process failure. Read error messages above...
I wish someone here gives some tips (with the commands, I am an apprentice); I dont know
where to begin my checks.
Thx. -
How to start a cache config file with proxy-scheme
Hi all,
The below is my cache-config file taken from coherence extend example.
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>dist-default</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>example-remote</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>dist-default</scheme-name>
<lease-granularity>member</lease-granularity>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<distributed-scheme>
<scheme-name>example-remote</scheme-name>
<lease-granularity>member</lease-granularity>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>5</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9009</port>
</local-address>
</tcp-acceptor>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
In order to start the proxy cache server on localhost:9009 should i use the DefaultCacheServer program only/ I tried to use a SimpleCacheExplore program with the above config and it didnt start the proxy-scheme on localhost. is there anything i am missing?
Regards
SHello,
I ran the following with your cache configuration:
java -cp coherence.jar -Dtangosol.coherence.cacheconfig=coherence-cache-config.xml com.tangosol.net.DefaultCacheServer...and got the following output:
2010-01-04 10:23:54.363/5.477 Oracle Coherence GE 3.5.2/463p2 <Info> (thread=Proxy:ExtendTcpProxyService:TcpAcceptor, member=1): TcpAcceptor now listening for connections on 10.149.189.62:9009
Services
TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=10.149.189.62:8088}, Connections=[]}
ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.5, OldestMemberId=1}
InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
DistributedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
ProxyService{Name=ExtendTcpProxyService, State=(SERVICE_STARTED), Id=3, Version=3.2, OldestMemberId=1}
)The proxy service appears to be running using DefaultCacheServer and this configuration. Does your output look any different?
Thanks,
Patrick -
Search for a specific string in web.config file
Hi
Is there a way we can search a specific word in web.config using powershell.
I have an entry of "user name" in the connection string. I want to find what the user name is and whether its a correct user name or not based on the criteria set in the script.
i believe its a simple matter of if statement but due to connection string i am unable to do this.
this is my connection string from web.config
<connectionStrings>
<add name="Membership" connectionString="Data Source=testdb;Initial Catalog=test;user
name=testUser;password=123456;MultipleActiveResultSets=true"
providerName="System.Data.SqlClient"/>
</connectionStrings>
My criteria is. if user name -eq testUser write-host "correct user name" else "user name is incorrect"
This is the script which i am using
$webConfig = 'C:\Users\test\web.config'
$cfg = [xml](gc $webConfig)
Not sure how the if statement will work in searching the document and applying criteraHere is the full web.config file. i just modified the credentials.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection,
EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
<sectionGroup name="common">
<section name="logging" type="Common.Logging.ConfigurationSectionHandler,
Common.Logging" />
</sectionGroup>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468
-->
</configSections>
<connectionStrings>
<add name="Membership" connectionString="Data Source=TestDB;Initial Catalog=Test;user
id=TestUser;password=1234556;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
<add name="Administrator" connectionString="Data Source=TestDB;Initial Catalog=Test;user
id=TestUser;password=1234556;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory,
EntityFramework" />
</entityFramework>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
throwExceptions="true">
<targets>
<target name="f1" xsi:type="File" fileName="test.log.txt"
layout="${threadname} ${longdate}
${callsite} ${logger}[${level}] ${message}" />
<target name="console" xsi:type="Console" layout="${threadname}
${longdate} ${callsite}
${logger}[${level}] ${message}" />
</targets>
<rules>
<!--<logger name="Quartz.*" level="Warn" />-->
<logger name="*" writeTo="f1" minlevel="Info" />
<logger name="*" writeTo="console" minlevel="Debug"
/>
</rules>
</nlog>
<common>
<logging>
<factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20">
<arg key="configType" value="INLINE" />
</factoryAdapter>
</logging>
</common>
<appSettings>
<add key="V3Import.Import.TestMode" value="true" />
<add key="MSMQ.QueueName" value="TestQueue" />
<add key="MSMQ.ErrorQueueName" value="TestQueue" />
<add key="AdminSignaturePath" value="C:\user\test\myfolder" />
<add key="SyncQueueJobCRON" value="0 0/2 * 1/1 * ? *" />
</appSettings>
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="5000000" />
</authentication>
<membership defaultProvider="AspNetMembershipProvider">
<providers>
<add connectionStringName="Membership" enablePasswordRetrieval="false"
enablePasswordReset="false" requiresQuestionAndAnswer="false" applicationName="/Test" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
<profile>
<providers>
<add name="AspNetProfileProvider" connectionStringName="Membership"
applicationName="/Test" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</profile>
<roleManager>
<providers>
<add name="AspNetRoleProvider" connectionStringName="Membership"
applicationName="/Test" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
</system.web>
<system.net>
</system.net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.1.0" newVersion="1.3.1.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"
/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> -
Read from a config file in File Adapter in SOA Suite 11g
I want to read from a config file in order to determine whether to archive or delete the file after processing using file adapter in SOA Suite 11g. How do i do that.
only part i replied on was the part of how to read a file
but i think in your case you could do the next
use the sync file adapter to read in the file during your process
based on this content you set a variable "myOutputDirectory"
then create a file adapter (write) which will store the file on file system
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIACICFD
4.3.2.2.5 Specifying a Dynamic Outbound File Name
and use that (jca.file.Directory) property to store the file either on the archive location or the delete location -
[SOLVED] Pacman "config file could not be read" error during Arch ins
I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump. While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
btw: I'm typing this on a laptop next to my computer
[root@McArch~]# pacman -Syu
error: config file /etc/pacman.d/core could not be read
error: config file /etc/pacman.d/extra could not be read
error: config file /etc/pacman.d/community could not be read
:: Synchronizing package databases . . .
error: failed to updated core (unexpected error)
error: failed to updated extra (unexpected error)
error: failed to updated community (unexpected error)
error: failed to synchronize any databases
Any tips as to whats going on? I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
Last edited by Windfinder (2008-09-29 20:43:29)Glad you got it working.
I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot. The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist. You must have messed up an initial config file somehow as I couldn't get the same errors you got. It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly. I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare. NB* these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
/etc/pacman.d/mirrorlist
# Arch Linux repository mirrorlist
# North America
# - United States
Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
Server = http://archlinux.unixheads.org/$repo/os/x86_64
Server = ftp://ftp.archlinux.org/$repo/os/x86_64
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
# - Canada
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
Well it was an interesting way to kill 30+ minutes. -
Unable to check config files through EM in 10.1.3.3.0
Hi All,
I have OAS (10.1.3.3.0) webserver and appserver in installed on different machines.
as we all know earlier release ie 10g(10.1.2) we can check all he config files like httpd.conf, ssl.conf etc through EM, but can we check config files in this relase ie.(10.1.3.3.0) through EM.
Regards
KumarKumar,
Oracle HTTP Server (OHS) in 10.1.3.x can not be managed using AS Control (EM), like you could do it in 10.1.2.x. Not just viewing OHS's config files you can't also start/stop it, make config changes (server properties, performance directives, log configuration etc.), view performance metrics and log entries etc. This is mainly due to AS Control in 10.1.3.x is changed to be JMX based and OHS doesn't have any MBeans in 10.1.3.x. So OHS can't be managed and monitored (except seeing its up/down state) via AS Control in 10.1.3.x.
FYI, OHS in next major release of Oracle Fusion Middleware (i.e. 11gR1) can be fully managed and monitored in AS Control but for now you will have to do it manually.
Thanks
Shail -
Hi guys,
I have updated my AS and DS to 10.1.2.3 and downloaded Wbutil 1.6 update 10.
I configured all the .cfg files as mentioned in the documentation when I launch a test form with config=webutil and a webutil functionality in it then i am getting following error -
oracle.forms.webutil.file.FileFunctions bean not found.
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
Java console shows following -
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/file/FileFunctions.class
java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/host/Host.class
java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/session/SessionFunctions.class
and so on..
Some how my java console too has stopped showing up after mistakingly clicked Hide Console.
So can any one help me to get out of this error.
Its sort of driving me crazy.
Thanks in advance.
Av.Hi Av, Can you let me know what you did to fix this issue? We are facing a serious issue with the same error and we can't get around it.
Thanks
Sam.
Maybe you are looking for
-
Video podcast is showing in the store but not downloading or streaming
I've been able to upload the video podcast (~345MB, 50 minutes, 480x272, .m4v) and it will appear in iTunes, but when clicked to download there is no file downloading. It says the length is 0:00. We've tried everything to get this to work and it seem
-
Mac mini Core Duo as HTPC...please post links.
Pretty self explanatory. Thanks in advance, SX
-
TemSe consistense check - Fault datarows in TST03
Hello Sappies - I get the error - SPOOL0000020713 1 Incorrect number of data lines in the TST03. In the TST03 is not apparent where the error is. What can I do, to Fix bugs. regards Michael
-
If I did not find photo stream within iphoto , What's the problem ?
I have followed all steps help to show photo stream, but that does not work with me searching for a solution I live in the Middle East Is property the flow of images only in certain countries? Which allows the flow of information or there is a proble
-
Mail has been doing some funky things this week. It shows outgoing mail being sent but they are actually not being received by the recipients. Also, even though preferences is set to "never" for emptying sent mail the out folder actually self emptied