Oracle GL/APPS Database Connection Information
Hi
I have just resfreshed our GL Test DB from our Production DB for the first time. The DB restore and recover went smoothly with no problems. Getting the GL application working is another thing!
I realised that the problem had to be related to the data I had just transferred in, ie different port numbers, hosts, etc, and so thought that running Autoconfig would fix it. I first tried the adchkcfg and it appeared that it would do what I wanted. As you experienced APPS people probably have guessed by now, when I ran Autoconfig it did not configure my test installation, it configured the production installation! Oops! I have fixed that issue but the original still remains - I have test installation with data that points to the production install.
Does anyone know where the parameters are in the DB so that I can change them manually, or does anyone know of the correct method to use to configure the installation without screwing up the production install?
Thanks in advance
Simon.
Hi Sandeep
I am sorry I havent made myself clear.
I have two machines - a production and a test machine. Both have a complete install of the Oracle GL application - so the application and the oracle database, along with their own ASM instances, listeners, etc.
I have restored the test database from the production database without touching any of the other components, including tnsnames, so there must be a reference somewhere in the database itself that indicates that it came from the production server. Its that reference that I need to change either manually, if possible, or through an Oracle tool that I, as an apps newbie, dont know about.
Thanks
Similar Messages
-
Problem in using context param for storing database connection information
Hello Friends,
I am new to struts & jsp.I am developing a project in struts.I have 1 jsp page called editProfile.jsp.On submitting this page it will call 1 action class.The action class in turn will call the Plain old java class where I have written the logic for updating User Profile.
I have created context-param in web.xml for database connection information like dbURL , dbUserName , dbPassword , jdbcDriver.Now I want to use these connection information in my Business logic(Plain Old Java Class).As we can use context parameter only in jsp & servlets , I am setting the variables of my business logic class with these context param in jsp itself.
now when I am calling the updateProfile method of Business logic class from Action class it is giving error as all the connection variables which I set in jsp for my business logic class has become null again.
I am not getting.If once I have set those variables how come they are becoming null again???Please help me.Any Help will be highly appreciated.Thanx in advance.This is the code I have written
web.xml file
<context-param>
<param-name>jdbcDriver</param-name>
<param-value>oracle.jdbc.driver.OracleDriver</param-value>
</context-param>
<context-param>
<param-name>dbUrl</param-name>
<param-value>jdbc:oracle:thin:@localhost:1521:gd</param-value>
</context-param>
<context-param>
<param-name>dbUserName</param-name>
<param-value>system</param-value>
</context-param>
<context-param>
<param-name>dbPassword</param-name>
<param-value>password</param-value>
</context-param>
EditProfile.jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="java.sql.*" %>
<jsp:useBean id="EditProfile" scope="application"
class="com.myapp.struts.EditProfile"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Edit My Profile</title>
</head>
<body>
<form action="submitEditProfileForm.do" focus="txt_FirstName" method="post">
<%
EditProfile.setjdbcDriver(application.getInitParameter("jdbcDriver"));
EditProfile.setdbURL(application.getInitParameter("dbURL"));
EditProfile.setdbUserName(application.getInitParameter("dbUserName"));
EditProfile.setdbPassword(application.getInitParameter("dbPassword"));
-----------more code goes here------------
EditActionProfile.java
package com.myapp.struts;
import javax.servlet.jsp.jstl.core.Config;
import org.apache.struts.action.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class EditProfileAction extends Action {
public EditProfileAction()
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception
try
if (isCancelled(request))
return mapping.findForward("mainpage");
EditProfileForm epf = (EditProfileForm)form;
EditProfile ep = new EditProfile();
String temp = ep.updateProfile(epf.getTxt_FirstName(),epf.getTxt_MiddleName() , epf.getTxt_LastName() , epf.getTxt_Address() , epf.getTxt_Email() );
if(temp.equals("SUCCESS"))
return mapping.findForward("success");
else
return mapping.findForward("failure");
catch(SQLException e)
System.out.println("error" + e.getMessage());
return mapping.findForward("failure");
EditProfile.java class (My Business Logic Class)
package com.myapp.struts;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.*;
public class EditProfile {
private String dbURL;
private String dbUserName , jdbcDriver;
private String dbPassword;
private Connection con;
private Statement stmt;
public EditProfile()
public void setdbURL(String s )
this.dbURL = s;
public void setdbUserName(String s )
this.dbUserName = s;
public void setdbPassword(String s )
this.dbPassword = s;
public void setjdbcDriver(String s )
this.jdbcDriver = s;
public String updateProfile(String firstname , String middlename , String lastname , String address , String email)
throws SQLException, ClassNotFoundException , java.lang.InstantiationException , IllegalAccessException
try
String s1 = new String("update usr set first_name='" + firstname + "' , middle_name='" + middlename + "' , last_name='" + lastname +"' , address='" + address + "' , email_id='" + email + "' where usr_key=1" );
con = this.init();
System.out.println("after init");
stmt = con.createStatement();
int rslt = stmt.executeUpdate(s1);
System.out.println("after excute update");
stmt.close();
if(rslt>=1)
return "SUCCESS";
else
return "Failure";
finally
if (null != con)
con.close();
public Connection init() throws SQLException, ClassNotFoundException
Class.forName(jdbcDriver);
con = DriverManager.getConnection(dbURL, dbUserName, dbPassword);
return con;
public void close(Connection connection) throws SQLException
if (!connection.isClosed())
connection.close();
} -
Database Connection Information for OAS SOA suite 10.1.3.1.0
Hi!
I'm having a bit of trouble that I hope you can please help with...
I've just installed oracle database and am now attempting to install oracle application server.
Unfortunately everytime I attempt the install I receive a:
"Install cannot connect to the database located at:
localhost:1522
Please ensure tha tthe hostname, port and service name are correct and that the database and its listener at this location are up and running."
I have tried every possible combination I can think of for the Database Connection Information, including:
127.0.0.1:1522:orasusdb
localhost:1522:orasusdb
127.0.0.1:1521:orasusdb
localhost:1521.orasusdb
127.0.0.1:1522:orasusdb.DOMAIN
localhost:1522:orasusdb.DOMAIN
127.0.0.1:1521:orasusdb.DOMAIN
localhost:1521.orasusdb.DOMAIN
and even all the combinations above with "10.6.0.74" in place of 'localhost' as when I compelted the database installation I was given the following url to access isqlplus:
http://10.6.0.74:5560/isqlplus
Which doesn't work...
But this address:
http://localhost:5560/isqlplus/
does work...
My tnsnames.ora file:
ORASUSDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orasusdb)
LISTENER_ORASUSDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
My Listener.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.2/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
The results of tnsping localhost:1522:
Used parameter files:
/opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=localhost.domain))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1522)))
OK (0 msec)
The results of lsnrctl start:
TNS-01106: Listener using listener name LISTENER has already been started
Edited by: user11150264 on 23-Aug-2009 22:16Okay, I updated everything but it's still not working:
Database Connect Information: 10.6.0.138:1522:PLSExtProc
/etc/hosts/
127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
10.6.0.138 asw082.DOMAIN
127.0.0.1 localhost
10.6.0.74 asw082.DOMAIN asw082
Listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.2/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
tnsnames.ora
ORASUSDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orasusdb)
#LISTENER_ORASUSDB =
# (ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = null))
LISTENER_ORASUSDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
) -
IR web client server(0):Database connection information not accessible.
Hi,
We upgraded our system from Hyperion 9.3 to EPM 11.1.2.2. We mainly use the reporting tools SQR production and Interactive reporting.
Using workspace as an admin if I run a BQY everything works fine but when I try to do the same as other users I get the error "server(0):Database connection information not accessible. Processing is disabled" from the
I have migrated everything form the old version and haven't changes anything since. It looks like a provisioning issue and I tried looking and comparing everything from the present production(old 9.3 system).
Did anyone else face the same issue before? Any suggestions on where to look into.
Thank you in advance.Hi ,
You have to go to my oracle support website link is : https://support.oracle.com/epmos/faces/MosIndex.jspx?_afrLoop=7929796452543&_afrWindowMode=0&_adf.ctrl-state=113hdvh7xd_4
login with your oracle ID and password you have for your company and search for the document number in the "search knowledge base" which will show up on the top right corner of the page.
The search will show you the document and you can access it.
Hope this helps. -
Win7 and now Server Error [2007]: "Database connection information not acce
I support a 8.3.x server with Insight plugin in use. This has worked for some time now with WinXP. The issue comes into play when the company is upgrading users to Win7 stations. First, the zero-admin (download and install setup launch) is failing. The Install window opens but doesn't seem to be able to complete. Then, when we do get the plugin installed via the manual download and install, we then reach a point where the bqy will not connect with the Server Error [2007]: "Database connection information not accessible. Processing is disabled." If we proceed from there, we'll get Server Error [6] PUB_NullArgument errors and empty "Show Values" limit boxes. So it's like the .oce information is not received on the Win7 platform - it still works fine on WinXP installations.
And, I know it can work, as the PC Support personnel were able to get this working on one PC.
Any suggestions?
Thanks,
KeithI assume that there has been no reply to this thread. The problem still persists, with intermittent success. I hope that someone can shed some light onto the Server Error [2007]: "Database connection information not accessible. Processing is disables." message.
Thanks again,
Keith -
Applet - Oracle 8.0 database connectivity failing in Netscape Browser
I have written a Java Applet to connect to the Oracle (8.0) database. My Applet is residing in a remote server. The Applet connected to the database when run in Internet Explorer, but failed to connect to the database using Netscape Navigator (4.08) and resulted in the following error
java.lang.NullPointerException
at oracle.jdbc.driver.OracleStatement.get_column_index(Compiled Code)
at oracle.jdbc.driver.OracleResultSet.findColumn(Compiled Code)
at oracle.jdbc.driver.OracleResultSet.getInt(Compiled Code)
at EmpActivityApplet.getActivityData(Compiled Code)
at EmpActivityApplet.paint(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
* at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
I have zipped the my Java Applet program with the Oracle Thin Driver classes (EmpActivityApplet.zip) and coded the following HTML page to load the Applet:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<TITLE>untitled</TITLE>
</head>
<body>
<applet code="EmpActivityApplet" CODEBASE="." ARCHIVE="EmpActivityApplet.zip"
WIDTH = 1000
HEIGHT = 300>
</applet>
</body>
</html>
Please somebody help me in resolving this problem. This is urgent.
Please reply to [email protected]
Regards,
Raju.Hi,
If ur Applet Needs to Access the System Resouces(JDBC API calls) u have to Make ur Applet trusted.U can Use the Keytool utility Bundled with JDK to Achecive this.The Actual Problem u may get is a Security Exception Due to which u cannot create a Connection Object which results in a Null Pointer Exception
thankx,
A.Md Abubacker -
Dynamically Changing Database Connections Information
Post Author: Robert Flaherty
CA Forum: .NET
USing Crystal 2008 and Visual Studio 2008 in C#:
Below is the code that I am using to set the database connection at runtime. This does not work when the Server/Database is different from the Server/Database that was used when the report was generated. What happens is a dialog box appears with the original connection information, The textbox for the server and the database are disabled.
public partial class ViewOrder : Form
string sqlStmt;
public ViewOrder(string SqlStmt)
InitializeComponent();
GlobalVaribles gv = GlobalVaribles.Instance;
sqlStmt=SqlStmt;
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = gv.Server;
connectionInfo.DatabaseName = gv.Database;
connectionInfo.UserID = gv.UserID;
connectionInfo.Password = gv.Password;
crystalReportViewer1.SelectionFormula = sqlStmt;
string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
crystalReportViewer1.ReportSource = reportPath;
crystalReportViewer1.ShowGroupTreeButton = true;
crystalReportViewer1.EnableDrillDown = false;
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;Post Author: Robert Flaherty
CA Forum: .NET
USing Crystal 2008 and Visual Studio 2008 in C#:
Below is the code that I am using to set the database connection at runtime. This does not work when the Server/Database is different from the Server/Database that was used when the report was generated. What happens is a dialog box appears with the original connection information, The textbox for the server and the database are disabled.
public partial class ViewOrder : Form
string sqlStmt;
public ViewOrder(string SqlStmt)
InitializeComponent();
GlobalVaribles gv = GlobalVaribles.Instance;
sqlStmt=SqlStmt;
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = gv.Server;
connectionInfo.DatabaseName = gv.Database;
connectionInfo.UserID = gv.UserID;
connectionInfo.Password = gv.Password;
crystalReportViewer1.SelectionFormula = sqlStmt;
string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
crystalReportViewer1.ReportSource = reportPath;
crystalReportViewer1.ShowGroupTreeButton = true;
crystalReportViewer1.EnableDrillDown = false;
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo; -
Where does Omniportlet keep it's database connection information?
Where in the infrastructure database does Omniportlet keep the database connections it asks for when setting up an SQL query? Occasionally we clone our production portal into our development portal and I'd like to programatically change what SID my omniportlet connections are pointing at in Dev.
I'm looking for the same thing, did you ever get an answer?
-
Oracle-sql developer database connection problem
hi all,
i tried creating a new connection in SQL developer but unable to create.
i tried with all the combinations such as
connection name:hr_orcl
username:hr
password:hr
connection tyrpe:basic,Role:default
hostname:localhost/ip address of my system
port:1521
SID:xe/orcl
But still it is hsowing as " network adapter could not establish the connection".
So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
Thanks,
Rajesh P.
9949254433Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rajesh>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
:08
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 28-DEC-2012 08:20:36
Uptime 0 days 0 hr. 0 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\rajesh> -
Oracle TopLink Workbench - database connection
Hello all
I'm new at Toplink... I installed toplink 11.1.1.3.0
I'm trying to connect to a oracle database 10g, but I always get a message saying
"The class oracle.jdbc.driver.OracleDriver was not found.
Please ensure that the JDBC driver is on the System Classpath"
I have a system variable called JAVA_HOME, which makes part of the CLASSPATH variable also.
I read that I need to change the setenv.cmd file, but don't know for sure which changes to make?...
Thanks for any helpHello,
Looks like you are using the mapping workbench, which needs to have the driver jar file added to its classpath in order to use it to access your database. The documentation at
http://download.oracle.com/docs/cd/E14571_01/web.1111/b32441/mw.htm#insertedID2
describes setting the DRIVER_CLASSPATH and other variables needed to get the workbench running.
Best Regards,
Chris -
Bc4j.xcfg, database connections and deploying ADF apps to oc4j
I'm trying to understand how to enable custom database connections on a JDeveloper ADF application deployed to a stand-alone instance of OC4J.
All entity objects were created as ADF Business Components.
I looks like the db connection information used by the application is stored in a file named "bc4j.xcfg".
How would I change the database connection information between different environments, changing the server, port and password information from an OC4J instance?
I'd like to use an OC4J defined data-sources.xml file, but am looking for the simplest approach for now.Tomato tomaato, call it what you will, we now have to spend time (money) figuring out how to change from using the recommended use of a "connection" from Oracle tutorials and in Oracle Press books.
Plus, neither I nor our client can get JDeveloper ADF 10.1.3 to work on OAS 10.1.2.
Oracle has been of little help, other than stating to follow documentation. We followed the documentation at least a dozen times and on three different install of OAS 10.1.2.
Why doesn't JDeveloper have a check-box or button that reconfigures the application to run on 10.1.2 (J2EE 1.3), there is a check-box to change JDK versions (1.4)? This is suspect to me.
We are going to be speaking with the client this week, and have to state the ADF application works, but NOT on OAS 10.1.2.
Does ADF work on OAS 10.1.3, absolutely, but the client is in 10.1.2 and can not upgrade at this time.
I've read in blogs where lots of developers have the same issues without resolution and Oracle should just come out and state that 10.1.3 does not work on 10.1.2.
So my experience has been a mixed bag with ADF, both in terms of the software and customer support from Oracle. -
Oracle 64-bit and database connectivity toolkit
Hello- I am attempting to connect to an Oracle database by interfacing the databse connectivity toolkit with the Oracle 10.2.0.3 64-bit that my customer uses. I am running LV13 32-bit on their machine. I am unable to connect to the database. Are there any known issues with this type of setup?
There's some discussion about an unsupported method to use the Database Connectivity Toolkit with 64-bit Windows here: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/64-bit-Database-Toolkit/idi-p/2170088
That may help with the problem you're seeing. Something else to consider is the manual (page 1-2):
The Microsoft ODBC driver for Oracle and the Microsoft OLE DB
Provider for Oracle do not support BLOB (binary) data types. You
cannot use Oracle with the Database Connectivity Toolkit for binary
data with these drivers. Instead, use the OLE DB Provider and ODBC
driver that Oracle provides. Refer to the Oracle Web site at
www.oracle.com for more information about the OLE DB Provider
and the ODBC driver that Oracle provides
Jeff B.
Applications Engineer
National Instruments -
Migrate Oracle apps database from AIX to Linux
Hello,
We are planning to move oracle 11i apps database from AIX to Linux. If anyone done recently please share your knowledge.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
Thanks
Princeuser12094010 wrote:
Hello,
We are planning to move oracle 11i apps database from AIX to Linux. If anyone done recently please share your knowledge.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production Hi Prince,
To move/migrate the 11i Apps Database alone means you need to follow the export/import method.
Please refer the note: 362205.1 "10g Release 2 Export/Import Process for Oracle Applications Release 11i"
In general steps to follow the DB migration is :
1. create the complete export file in source database
2.create a new DB in the target instance
3.perform the import
4.create the new auto-config and sync with apps tier
-Rk -
Changing Database connection on webservice deployment
Hi All,
I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
Everytime I deploy to our production platform I keep getting the development data sources created.
Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
Anyone got any ideas????
Thanks and Regards
NeilWhen you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
dai
JDev devt. team -
New database connection failed with oepe
Hi everybody,
@http://docs.oracle.com/cd/E27086_02/help/oracle.eclipse.tools.common.doc/html/install.html#install_oepe
Oracle Enterprise Pack for Eclipse Installation Guide says:
"You can install OEPE using any of the following ways:
Download, and then unzip OEPE plugins directly into the Eclipse dropins folder and restart Eclipse."
This is what I have done,
then when I create a new database connection, and I press the button "test connection" i got a pop up saying "Ping failed" giving details:
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConn(OracleJDBCConnection.java:198)
at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConnection(OracleJDBCConnection.java:149)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnectionFactory.createConnection(OracleJDBCConnectionFactory.java:26)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Did I miss something?The documentation is out of date. The unzip to dropins method is no longer supported. The OEPE zip you downloaded is actually an archived repository. You can follow the instruction for installing using Eclipse Update Manager and point to the downloaded zip instead of the online repository.
I will follow up to get the docs updated.
- Konstantin
Maybe you are looking for
-
I have uninstalled and installed the latest Flash Player 17 many times. I am currently working on a yearbook site that gets locked every time I try to add photos. I have also received a plug in error even though the plug in box is checked. I have
-
Crop Marks don't appear in pdf (Illustrator CS4)
Hi everyone, I've used the crop marks command (under the effects menu) on a rectangle that is the size of the artboard. I then created a pdf of the document and made sure there was enough bleed to encompass these crop marks, ie. 20mm all round. When
-
RSD : a try to explain how the SMC firmware update works
Hi everybody, In another thread i read this post (there's only a part here) from fancontrol : "Before the update, the fans started to speed up at about 75°C. Now they already start at about 64°C and then increase with CPU load and temperature. Before
-
How do you turn off the bottom left info bar?
The bar keep popping up when you move over a link.
-
Crash Dump Analysis, application cannot execute
Welcome, my question regarding to dump crash. I have problem with application. When I run application, I see first intro, second intro and later application crash and return to the desktop with error stop working. I created dump file of error and pas