Error creating connection tool instance. ODDC
Oracle distributed Document Capture installed on the server, everything seems fine, but what connection I get the following errorError creating connection tool instance. [ActiveX component cannot create object]
ODDC vercion is 10g
It will install on Server 2008 R2 64-bit
You are using version ODDC: 10.1.3.5.1? From this version, Windows 2008 R2 is supported. However, a 32-bit Java Virtual Machine (1.6.0_10 or later) must be installed and in the path, otherwise you won't be able to open the WebCaptureAdmin.html page. Client side, you can open ODDC Capture customer only in the browser of 32 bits (due to 32-bit only supported ActiveX).
Kind regards
Boris
Tags: Fusion Middleware
Similar Questions
-
Error creating connection Weblogic 10.3
Hello
I get the following error message when you try to run this code. Any idea of what could be the cause of this?
java.lang.ClassCastException: weblogic.jdbc.common.internal.ConnectionEnv
Connection c = null;
GlobalVariables gv = GlobalVariables.Instance ();
Context ctx = null;
try {}
Hashtable ht = new Hashtable();
HT.put (Context.INITIAL_CONTEXT_FACTORY, "WebLogic.JNDI.WLInitialContextFactory");
HT.put(Context.PROVIDER_URL,"T3://localhost:7001");
HT.put (Context.SECURITY_PRINCIPAL, "weblogic");
HT.put (Context.SECURITY_CREDENTIALS, "webadmin");
CTX = new InitialContext (ht);
obtain the data source
javax.sql.DataSource xaDS = (javax.sql.DataSource) ctx.lookup (gv.get ("DATASOURCE"));
Error on next line
c = xaDS.getConnection ();
Statement s = c.createStatement ();
ResultSet rs = s.executeQuery ("select * [user]");
While (RS. Next System.out.println ("got a line");
} catch (Exception e) {}
System.out.println ("e:" + try ());
}
Thank you
KeithTry to remove wlclient.jar and by ensuring that the weblogic.jar
is identical in the classpath of weblogic server. -
Received ERROR exception creating connection to pool "HRConn":
Hello
When I download the application in the development of rich Web Applications with Oracle ADF, and then try to run this application I had under Journal, my JDeveloper Version is 11.1.2.1.0
Please help,10:54:23 AM] Deploying Application... <Jun 28, 2012 10:54:30 AM AST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "HRConn": IO Error: The Network Adapter could not establish the connection> <Jun 28, 2012 10:54:31 AM AST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1340870064764' for task '0'. Error is: 'weblogic.application.ModuleException: ' weblogic.application.ModuleException: at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) Truncated. see log file for complete stacktrace Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the >connection at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166) at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249) at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154) Truncated. see log file for complete stacktrace <Jun 28, 2012 10:54:31 AM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'HRSystem'.> <Jun 28, 2012 10:54:31 AM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) Truncated. see log file for complete stacktrace Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the >connection at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166) at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249) at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154) Truncated. see log file for complete stacktrace [10:54:31 AM] Deployment cancelled. [10:54:31 AM] ---- Deployment incomplete ----. [10:54:31 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) #### Cannot run application HRSystem due to error deploying to IntegratedWebLogicServer. [Application HRSystem stopped and undeployed from Server Instance IntegratedWebLogicServer]
Hello
Could not create connection pool. With the exception of the DBMS driver: IO error: the network adapter could not establish the > connection
His free explationary...
Check the connection settings in the Application-> connections resources... -
"Error: current connection" while creating the debugtoken
I tried to create a debugtoken for my Webworks app. I used the following code:
BlackBerry-debugtokenrequest - storepass
devicepin-But the execution fails with the error message: "error: current connection.
Anyone know the reason for this message?
Well I fixed it. The reasons were the firewall settings...
-
Error creating socket to host: reason: Connection refused: connect
I'm moving an old x 32 server for a new 64-bit server x. With the help of Adobe support, I finally got CF8.0.1 running on the new server: http://forums.adobe.com/thread/470337?tstart=0.
I'm now trying the CF8.0.1 standard on the x 64 new machine to connect to SQLServer 2005 x 64 bit. All of the databases I try installation on the new server running on an x 32 with CF8.0.1 and SQLServer 2005 x 32.
Using the type of SQL Server disk I get the following error:
"Connection verification failed for data source: PHREDsevenSQL.
java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] Error establishing socket to host and port: DELLx64Server:1433. Reason: Connection refused: connect
The root cause was that: java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] Error establishing socket to host and port: DELLx64Server:1433. Reason: Connection refused: connect. »Using the ODBC Socket type I don't get an ODBC DSN name in the selection box so I can not actually try this type of connection. I tried the x 32 and x 64 bit ODBC system configurations.
I checked the following:
SQLServer configuration: the port is set to 1433.
Password and user name are correct.
I looked for a x 64 bit SQLServer for CF8 on Adobe, but could not find one. Perhaps one is already installed.
If anyone has a suggestion or a solution, I would appreicate your help. Thanks in advance for your help.
:-}}}
Len
Things to check
1. is the SQL authentication is enabled on the new SQL Server? This is disabled in the default installation.
2. no SQL server accepts remote TCP/IP connections?
a. This article may help:
"How to configure SQL Server 2005 to allow remote connections"
http://support.Microsoft.com/kb/914277b. check that the connections are not blocked by a firewall.
-
The TNS service name gives preference to connect the instance that is in a mount
OS: HPUX
Oracle version: 11.1.0.7
Why TNS service name give preference to connect the instance that is in a mode of installation and the dsiaply ' ORA-01033' as mentioned below.»
I wanted to connect the single instance that are OPEN (no EDITING) using connection string and want to know the status of all instances using SQL query "select instance_name, status of gv$ instance. How can I achieve this?
I have four-node rac and instance cluster four, one instance on each node and the State of the instances are as shown below
SQL > select instance_name, status of gv$ instance;
STATUS INSTANCE_NAME
---------------- ------------
dtrac1 OPEN
Dtrac4 ROAD
dtrac3 OPEN
dtrac2 FORCE
I tried to connect using the name of the service "dtrac" (the tnsnames Details give below) any node, it gives priority to the instance that is set up and shows the sequence of error messages
SQL > conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in the process ID: ID of Session 0: serial number 834: 139
WARNING: You are more connected to ORACLE.
SQL > conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in the process ID: ID of Session 0: serial number 834: 139
SQL > conn system/vcs@dtrac
ERROR:
ORA-01033: ORACLE initialization or shutdown in the process ID: ID of Session 0: serial number 834: 139
SQL >
When I change dtrac2 instance in NOMOUNT or OPEN State, then connection correctly goes to instances that are open.
TNSNAME.ora file:
==================
tnsnames.ora # Network Configuration file: /oracle/db11g/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DTRAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal05-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal06-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal07-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal08-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
)
)
DTRAC4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal08-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac4)
)
)
DTRAC3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal07-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac3)
)
)
DTRAC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal06-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac2)
)
)
DTRAC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal05-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dtrac)
(INSTANCE_NAME = dtrac1)
)
)
LISTENERS_DTRAC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal05-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal06-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal07-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal08-vip)(PORT = 1521))
)
LISTENER_DTRAC4 =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal08-vip)(PORT = 1521))
LISTENER_DTRAC3 =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal07-vip)(PORT = 1521))
LISTENER_DTRAC2 =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal06-vip)(PORT = 1521))
LISTENER_DTRAC1 =
(ADDRESS = (PROTOCOL = TCP) (HOST = slpal05-vip)(PORT = 1521))Too bad, I was hoping that it would work with srvctl
[email protected] wrote:
As you say a different way of configuring the service by referring to the favorite and attributes available for instances, but its not useful to know the instances that are open. Its helpful to separate the work to specific nodes by creating different services for different applications.Certainly, it only would be logical if you know in advance that you want to start an instance in editing mode and you want to bypass the connection failure. But when you know you're going to just mount a database he used to try to find later.
I searched a bit on metalink and found notes 69546.1 which States that PMON will record with listeners the and remote start the instance, same no editing is required. Which is obviously stupid because of the error message you get when you try to connect.
797713.1 note describes your exact problem and a solution. I'd love to quote, but I'm not sure if this is allowed or not. So instead I'll summarize what I learned: the default service that you create during the installation of first CARS behave as in one instance. As soon as the instance starts, it will register with the other. This is actually intended for you can perform administration. When you create additional services via srvctl or crs, they will somehow managed by crs and only you sign up once the instance is 'up' (I guess they mean open).
So the solution would be to create another service through srvctl and use it for your connections.Bjoern
-
Error creating socket to host and port: EPM11:1433
Hi intend to Experts,
I try to configure EMP 11.1.2.1 (Planning)
DBMS: SQL server 2005 (Express Edition)
OS: 2008 R2 x 64
I get the error message after providing credentials of RDBMS ' error creating socket to host and port: Reson EPM11:1433: connection refused: connect ".
Help, please...
Concerning
KumarYou may need to enable tcp/ip
SQL Server Express to listen on the named pipes and shared memory. With a default installation, you can not connect remotely to SQL Server Express. You'll need to enable TCP/IP and check if the firewall is enabled.
To enable TCP/IP:
On the start menu, choose all programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.Optionally, you can open the computer by right click on Desktop Manager then choosing manage. In computer management, expand Services and Applications, SQL Server Configuration Manager.
Expand SQL Server 2005 Network Configuration, and then click protocols for InstanceName.
In the list of protocols, right-click the protocol you want to enable and then click Enable.
The icon for the Protocol change to indicate that the Protocol is enabled.
See you soon
John
http://John-Goodwin.blogspot.com/ -
I tried to create the new instance using the oradim utility
oradim-new - sid MUM01
but got the following error in oradim.log
ORA-01012: not connected
DB version is 11.2.0
on windows server 2008 R2Hello
If the database does not already exist, it may be normal.
You may need to use the option -STARTMODE MANUAL as below:
http://download.Oracle.com/docs/CD/E11882_01/server.112/e17120/create003.htm#ADMIN12481
Hope this helps.
Best regards
Jean Valentine -
Network error IOException: connection refused
Hello everyone,
I have a SQL Server 2005 database on a server and Oracle SQL Developer on my computer.
I'm trying to connect to the SQL Server 2005 database with Oracle SQL developer, but I have this error:
Status: failure-network error IOException: Connection refused: connect_ *.
However, on my computer, I have SQL Server 2008 and the connection to the SQL Server 2005 SQL Server Management Studio database server is a success...
I have already tried:
(1) close SQL Developer
(2) create a sqldeveloper.cmd file in the root directory of SQL Developer
(3) with the following content
SET CD = % ORACLE_HOME
Start sqldeveloper.exe
(4) run sqldeveloper.cmd
I downloaded [this driver: http://sourceforge.net/project/showfiles.php?group_id=33291 & package_id = 25350 & release_id = 534076] and I chose it in Tools - Preferences - Database - Third Party JDBC Driver but the connection is not successful.
You have an idea?Connection refused tends to involve the wrong port. Can you check the configuration of your connection in SS Management Studio and check the port?
-
Consolidation of the connection by Instance name strings
With the help of SQLD 4.0.2 / RDBMS 11 G r2
I have a lot of connections defined through multiple oracle instances. I would like to consolidate all connections per instance (or somethings similar) name for MISTLETOE. I know that I can color each connection (for all connections in instance1, blue green for all connections to the instance 2, etc.), but I would like to be able to use the sign more to reduce / enlarge each instance together, eliminating the need to view all of the defined connections available on the screen.
I did a little research in the forum but no luck. Any ideas?
Thanks in advance.
You can create the connection folder, "add to the file.
There is no automatic grouping of the instance at this time.
-
Error: 1051293: connection fails due to invalid login credentials
Hi Experts
I use Hyperion 11.1.2.3. I want to create an application of Essbase. I'm trying so add Essbase server in Essbase Administration Services on the Essbase server. I used the admin account to create this new essbase application with uncheck two checkboxes "Use Single Sign On" and "use SSL". Finally, the error will appear as below. The same error for Essbase node selections 'EssbaseCluster-1' cluster and server port: "*." ***. ***. : 1423 ". We provide solutions to solve it, thanks.
Admin 28 may 2014 10:24:57 CEST com.essbase.eas.admin.defs.AdminCommands.AddServerToUserList Succeeded
Essbase Server: EssbaseCluster-1 com.essbase.eas.essbase.defs.ServerCommands.Connect 28 may 2014 10:24:57 CEST
Error: 103: unexpected error Essbase 1051293
Error: 1051293: connection fails due to invalid login credentials
The reason is that my password is wrong. Here is the description of the Oracle documentation.
If you log in for the first time after installation, use the default user name (admin) and password (password).
-
Create the new instance to a diferent project
Im trying to create a new instance in a project, I use an interactive global activity to do this, when trying to create the reception that this message in the BPM 'JavaLangNullPointerException', the global comprehensive interactive activity log is in a different project that I want to create the instance.
This is the code I used in BPM
args ['argPrueba'] = 1234
Result2 = ProcessInstance.create (processId: "/ Test", arguments: args, argumentsSetName: "BeginIn")
in the other project, I configure the beginIn of this way activity:
idPrueba = argPrueba
I used BPM 10g
If you cannot create instances of processes in the same project, you need to double check your logic.
1. check that 'args' is an array of associative strings (Any [String]). Believe that the default value to a variable called "argsIn" (you have "args" in your logic).
This means that Begin activity has two variables of the arguments
named 'nameArg' and 'amountArg' and you're implementation in
for variables 'name' and 'amount' respectively
argsIn ['someArgVarName'] = 'Hello '.
argsIn ['someBpmObject'] = myBpmObject2. check your other settings in logic.
Instance.Create (processId: "/" + idOfProcess, arguments: argsIn, argumentsSetName: "BeginIn")
The processId parameter is the thing I most often used to screw up with that. This is the text that you see when you process in the project right-click browser tab-> "Properties". Look at the value in the field 'Id' and not the field 'Name' (the name without a space). Prefix with "/" as presented here and if you have deployed this using a unit of Organization (UO) then prefix this chain also.
The third parameter is almost always "BeginIn". Start of activities in a process can have several incoming argument mappings, the default value is "BeginIn". See your, double-click the process Begin activity and seek on behalf of mapping in the upper left corner of the dialog box.
"argsIn" is the set of variables of incoming arguments you want to spent in the process. A common error is to type the names of the variables argument entering without the double quotes, as follows:
. . .
This will * NOT * work
argsIn [someArgVarName] = 'Hello '.
argsIn [someBpmObject] = myBpmObject
. . .Here is the correct syntax:
. . .
This * WILL * work
argsIn ['someArgVarName'] = 'Hello '.
argsIn ['someBpmObject'] = myBpmObject
. . .In this example, the process has two argument variables. It doesn't matter if the incoming arguments are arguments of primitive type (e.g. String, Integer, Decimal...) or objects of BPM, it is always in the same way. In this example, there is an incoming string argument, called "someArgVarName" and an argument entering BPM object called "someBpmObject".
Dan
-
SEVERE: Error creating the repository
Ugh, help, stayed in it for hours! I messed up my oracle dbconsole, and now service dbconsole itself disappeared! (I checked services.msc on my windows xp pro) I'm on oracle 11 g 2
So I gave up and recreate repo em but got the error msg ff:
C:\Documents and Settings\abigail > emca-rest create
EMCA STARTED on 11 October 2013 05:17:51
Configuration MS Assistant, Production of the Version 11.2.0.0.2
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
SID of the database: orcl
Listener port number: 1521
User SYS password:
SYSMAN user password:
Do you want to continue? [yes (Y) (N) /no]: y
11 October 2013 05:18:08 oracle.sysman.emcp.util.EMCALogManager addLogFileInterna
l
WARNING: Adding file E:\app\abigail\cfgtoollogs\emca\SP2-0640 journal: not connected
\emca_2013_10_11_05_17_51.log failed. Messages will not be saved in this file.
11 October 2013 05:18:08 oracle.sysman.emcp.EMConfig perform
INFO: This operation is currently logged in E:\app\abigail\cfgtoollogs\emca\SP2-0640
: Not connected\emca_2013_10_11_05_17_51.log.
11 October 2013 05:18:08 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creation of the EM repository (this may take a while)...
05:18:08 oracle.sysman.emcp.EMReposConfig rely on 11 October 2013
SEVERE: Error creating the repository
05:18:08 oracle.sysman.emcp.EMReposConfig rely on 11 October 2013
NEWS: Check the log to E:\app\abigail\cfgtoollogs\emca\SP2-0640 file: no con
nected\emca_repos_create_ < date > .log for more details.
11 October 2013 05:18:08 oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Check the log to E:\app\abigail\cfgtoollogs\emca\SP2-0640 file: not connected
\emca_2013_10_11_05_17_51.log for more details.
Unable to complete the configuration. Check the log to E:\app\abigail\cf file
gtoollogs\emca\SP2-0640: not connected\emca_2013_10_11_05_17_51.log for more det
ails.
My Log file
CONFIG: queue E:\app\abigail\cfgtoollogs\emca\orcl\emca_repos_create_2013_10_11_05_13_56.log
11 October 2013 05:13:56 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creation of the EM repository (this may take a while)...
11 October 2013 05:13:56 oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists...
ORA-06512: at line 17 level
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists...
ORA-06512: at line 17 level
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1005)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:511)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:229)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
05:13:56 oracle.sysman.emcp.EMReposConfig rely on 11 October 2013
SEVERE: Error creating the repository
05:13:56 oracle.sysman.emcp.EMReposConfig rely on 11 October 2013
NEWS: Check the log to E:\app\abigail\cfgtoollogs\emca\orcl\emca_repos_create_ file < date > .log for more details.
11 October 2013 05:13:56 oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
See the log file at E:\app\abigail\cfgtoollogs\emca\orcl\emca_2013_10_11_05_13_31.log for more details.
11 October 2013 05:13:56 oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: error creating the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:241)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
11 October 2013 05:13:56 oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoration of oracle.installer.oui_loc to E:\app\abigail\product\11.2.0\dbhome_1\oui
ALTER YOUR_TEMPORARY_TABLESAPCE add tempfile XXXXX reuse;
-
Need help: error creating record
Hi refugees,
Gud morning...
I get this error during the creation of the new record twice (for the first record, it works fine...)
As master details page, I am Manager differently which... first of all I save the details of masters and while saving the level of detail, I will assingn the id of the header to the attribute display... when I create the first new record and save it works fine... but when I try to create a record more it shows error... This is the code... AMImpl
It is showing the error in the createRecord() method only... it runs until the row.setNewRowState (Row.STATUS_INITIALIZED) after that only it is throwing error (assigning values for the attributes of display...) But for the first record it works fine...
Please... give your valuable suggestions...
' Public Sub createRecord (pageContext OAPageContext, OAWebBean webBean)
{
saveMasterDtls (pageContext, webBean);
String vunitid = pageContext.getParameter ("ctrlUnitId");
String vapproval_id = pageContext.getParameter ("ctrlApprovalId");
OAViewObject vo = getcapexApprovalHierarchyVO1();
Try
{
String ctrl_headerId = null;
Conn connection = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
String query = "select header_id OF XXNH_CAPEX_APPROVALS where unit_id =: 1 and APPROVAL_id =: 2;
PreparedStatement stmt = conn.prepareStatement (query);
stmt = conn.prepareStatement (query);
stmt.setString(1,vunitid);
stmt.setString(2,vapproval_id);
ResultSet rs = stmt.executeQuery ();
RS = stmt.executeQuery ();
While (RS. Next())
{
ctrl_headerId = rs.getString (1);
System.out.println ("id of the header in all new record:" + ctrl_headerId);
}
If (! vo.isPreparedForExecution ())
{
searchRecords (pageContext, webBean);
}
Line line (Row) = vo.createRow ();
vo.insertRow (row);
row.setNewRowState (Row.STATUS_INITIALIZED);
System.out.println ("before assigning values id...");
vo.getCurrentRow () .setAttribute ("HeaderId", ctrl_headerId);
vo.getCurrentRow () .setAttribute ("UserUnitId", vunitid);
}
catch (System.Exception e)
{
throw new OAException ("error creating record:" + OAException.ERROR, e);
}
}
=======================
' Public Sub saveMasterDtls (pageContext OAPageContext, OAWebBean webBean)
{
/ * checking already Masters details existed or not for unity & approval * /.
System.out.println ("master dtls start");
String v_unitid = pageContext.getParameter ("ctrlUnitId");
String v_unitName = pageContext.getParameter ("ctrlUnitName");
String v_approval_name = pageContext.getParameter ("ctrlApprovalName");
String v_approval_id = pageContext.getParameter ("ctrlApprovalId");
OAApplicationModule am = pageContext.getApplicationModule (webBean);
int cnt = 0;
Try
{
Connection pconn = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
String pquery = "select count (*) FROM XXNH_CAPEX_APPROVALS where unit_id =: 1 and APPROVAL_id =: 2;
PreparedStatement stmt = pconn.prepareStatement (pquery);
stmt.setString(1,v_unitid);
stmt.setString(2,v_approval_id);
ResultSet rs = stmt.executeQuery ();
While (RS. Next())
{
CNT = rs.getInt (1);
}
System.out.println ("count is:" + cnt);
If (cnt == 0)
{
System.out.println ("If condition start");
Tran OADBTransaction = getOADBTransaction();
Number v_header_id;
v_header_id = am.getSequenceValue ("XXNH_CAPEX_APPROVAL_SEQ");
capexApprovalVOImpl vo = getcapexApprovalVO1();
If (!) VO.isPreparedForExecution ())
{
vo.executeQuery ();
}
Line = vo.createRow ();
row.setNewRowState (rank. STATUS_INITIALIZED);
row.setAttribute ("UnitId", v_unitid);
row.setAttribute ("UnitName", v_unitName);
row.setAttribute ("ApprovalName", v_approval_name);
row.setAttribute ("ApprovalId", v_approval_id);
row.setAttribute ("HeaderId", v_header_id);
vo.insertRow (row);
getTransaction () .commit ();
System.out.println ("unless condition end");
}
on the other
{
capexApprovalVOImpl vo = getcapexApprovalVO1();
vo.executeEmptyRowSet ();
}
}
catch (System.Exception e)
{
throw new OAException ("error in recording: master Dtls prepare Stmt query:" + OAException.ERROR, e);
}
}
============================================
' Public Sub searchRecords (pageContext OAPageContext, OAWebBean webBean)
{
String v_unitid = pageContext.getParameter ("ctrlUnitId");
String v_approval_id = pageContext.getParameter ("ctrlApprovalId");
OAViewObject vo = getcapexApprovalHierarchyVO1();
vo.setMaxFetchSize(-1);
vo.setWhereClause (null);
vo.setWhereClauseParams (null);
int v_header_id = 0;
Try
{
Connection pconn = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
String query = "select header_id from xxnh_capex_approvals, including 1 = 1 and = unit_id: 1 and APPROVAL_ID =: 2;
PreparedStatement stmt = pconn.prepareStatement (query);
stmt.setString(1,v_unitid);
stmt.setString(2,v_approval_id);
ResultSet rs = stmt.executeQuery ();
While (RS. Next())
{
v_header_id = rs.getInt (1);
vo.setWhereClause ("HEADER_ID =" + v_header_id);
}
vo.executeQuery ();
}
catch (System.Exception e)
{
throw new OAException ("error in query records...") Prepare the query Stmt: "+ OAException.ERROR, e);
}
}
============================================================
Best regards and thanks,
Jaya...
Jaya,
could you please check if the Id of the header is marked as primary key in database level or the level of the view object.
Concerning
GYAN
-
Error FDM connects 11.1.2.2
Hello
Where do we find error FDM connects 11.1.2.2 otherwise that in the tools - view error logs
ConcerningThank you very much
Maybe you are looking for
-
No sound on the computer after having accidentally deleted audio drivers.
Original title: help! I acidentally deleted SoundMax my computer turned off, then reinstalled and still my sound does not work. I made each update and suggestions that I saw online and nothing works! Help?
-
Problem starting Windows 2008 R2
I've restored a backup BackupExec (State of data and system) to a server running Windows 2008 R2 to new hardware. New material contains PERC H710P RAID controller and Windows installation media does not contain a driver for it. So my freshly installe
-
BCCode: 50 / BCCode: d1 Ntoskrnl.exe
111111
-
Hello world hope you can help us with a problem. We try to create a tunnel vpn site-to-site between offices in different countries. We create 4 vpn tunnel, 3 of them are working right now, but there is an ASA which does not allow the connection. On o
-
ButtonField is not visible in the Simulator after adding to the HorizontalFieldManager?
Hi iam trying to view an EditField and and a 'go' button beside it in the same line. So I added them to horizontal FieldManager but in sumulatro only the search is coming and button is not visible. If I add the button to directly _mainscreen that i