Connecting Database with Oracle WebDB
Hi Guys,
Can somebody please help how I can startup webDB with my database instance. The DAtabase has been created and the Web DB has been installed. both on Solaris.How can I connect the two of them and start it up.
Thanks
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Can somebody please help how I can startup webDB with my database instance. The DAtabase has been created and the Web DB has been installed. both on Solaris.How can I connect the two of them and start it up.
<HR></BLOCKQUOTE>
Write an rc script to start ONE after the OTHER:
su - oracle -c "dbstart"
su - oracle -c "lsnrctl start"
su - oracle -c "nohup wdblsnr hostname port &"
Or something like that.
null
Similar Messages
-
CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS
pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
now pls tell how to start listner and how to chage runtime preferences.
though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
thank you, you may be thinking such a long question.....sir
By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
all the clients are using same internet explorer as browser.
no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
thank you for your patience for reading the question -
Connecting MS-Access database with Oracle Forms
Hai,
Can any one suggest as to how I can connect MS-Access database
with Oracle Developer Forms. What is the procedure ? Suggest me
if I need to install any drivers. Waiting for an early reply.
Warm Regards,
Raghav.
email:[email protected]Not possible as far as I know.
Probably because ODBC itself (the defined interface) doesn't support it.
There is a commercial MS Access (java only) driver that might support it. -
How to CREATE a DATABASE with ORACLE?
Hello
Can somebody please just tell me, how do i create a Database with Oracle 10g(Express Edition)? I find it very disturbing that not in one of the dozen Orcale books i have, they explain to you on how to create a DATABASE. They begin with how to create Table, can a table exist without a database?
I have tried the command line, but it tells me im not connected or some kind of error. I have tried SQL Commands and then it gives me this Error:*ORA-01501: CREATE DATABASE failed*
ORA-01100: database already mounted
How come Oracle dont have just a simple button:CREATE DATABASE?
Somebody please help!Duplicate thread ?
Creating a DATABASE with ORACLE!
Srini -
Problem in connecting JSP with Oracle 9i.
Hi,
I am having problem in connecting JSP with Oracle 9i.
I am using windows XP and my JDK version is 1.4. For executing JSP I am using
"jakarta-tomcat-5.5.4-preconfigured". My database name is global.
I have set java_home, j2ee_home, oracle_home, path, classpath as follows:
j2ee_home=c:\sun\appserver
java_home=c:\sun\appserver\jdk
oracle_home=C:\oracle\ora92
path=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\oracle\ora92\bin
classpath=C:\Sun\AppServer\lib\j2ee.jar;C:\oracle\ora92\jdbc\lib\ojdbc14.jar;C:\oracle\ora92\jdbc\lib\nls_charse
t12.zip
My code is as follows:
<%@ page language="java" %>
<%@ page import ="java.sql.*"%>
<%
try
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@global", "scott", "tiger");
catch(SQLException e)
out.println(""+e);
out.println("Connected");
%>
I tried other program:
<%@ page language="java" %>
<%@ page import ="java.sql.*"%>
<%
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:global","scott","tiger");
out.println("Connected");
%>
I am getting following error:
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /jsp/oracle.jsp
Generated servlet error:
oracle.jdbc.OracleDriver cannot be resolved or is not a type
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanking you in advance,
Anuragmaneesh108 wrote:
hi this is maneesh1) Read the thread it has been answered.
2) The thread is very old. Don't resurrect old threads.
I'm locking this zombie thread.
Kaj -
How to connect java with oracle
can any body show me the code of how to connect java with oracle database.
thank youTo configure Oracle JDBC:
1. Add Oracle JDBC JAR file classes12.zip or ojdbc14.zip to classpath.
2. Load and register the JDBC driver.
Class.forName("oracle.jdbc.driver.OracleDriver");
3. Obtain a connection:
String url="jdbc:oracle:thin:@<host>:1521:<database>
Connection con = DriverManager.getConnection(url,
"myLogin", "myPassword");
4. Create a SQL statement.
Statement stmt = con.createStatement();
5. Obtain a result set.
ResultSet rs = stmt.executeQuery(
"SELECT ..."); -
Unable to connect forms6i with oracle 10g
hi:
i am facing a problem to connect forms6i with oracle 10.2 g. i already make a entry in TNSNAMES.ora file in forms folder.
while i am trying to connect it dispaly "ORA-12203: TNS:unable to conect to destination" error.
please help. Thanks in advance.
Regards,
AbhishekHi
i already make a entry in TNSNAMES.ora Another option...
1. Pls Verify that the net service name you entered was correct including no spaces.
2.Verify that the ADDRESS portion of the connect descriptor which corresponds to the net service name is correct.
3.Ensure that the destination process (for example the listener) is running at the remote node and the cabel of ur local net work connecting to ur server is well connected and working well.
4. Test ur local network cabel and try to make the connection to another computer set.
5.u can check from Start > control panel > administrative tools > services that the service name is started or not if it is Started Restarted or refresh it.
6. Ensure that the listener is running at the remote node and that the ADDRESS parameters specified in TNSNAMES.ORA are correct.
and the more ....
Hope this helps...
Regards,
Abdetu... -
Creating a new database with oracle express
how to create a database with oracle express. the web based interface for managing oracle sucks and it is too slow, they'd bet better of developing a rich client application for managing XE. Oracle XE comapraed to SQL Express is very poor.
Try to post it Oracle Database Express Edition (XE)<br>
<br>
Nicolas. -
Creating a Database with Oracle 10 Express Edition
Hello,
I had installed Oracle Database 10g Express Edition whith linux, fedora core 4.
I want to create a new database with Oracle 10g Express Edition. How can i do this?
I know that Orcale 10g express edition have only one Database which is installed by default sid 'XE', but my database must have another name.
Thanks.Really you need to change database name ?
Oracle 10g Espress Edition and change ORACLE_SID -
Error in connecting webdynpro with oracle
Hi
while connecting webdynpro with oracle, i am getting this type of error. I imported the classes12.jar file also.
<b>Error:</b>
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
The <b>coding</b> which i used to connect is as follows,
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@entegdt36:1521:dbserver",
"scott","tiger");
pst=conn.prepareStatement("select * from Test");
rs=pst.executeQuery();
while(rs.next())
res=res+rs.getString(1);
wdThis.wdGetContext().currentContextElement().setName(res);
Please help me to solve this problem.
It's very urgent.
Thanks in advance.Hi,
Go to technical landscapes and create a technical landscape for your ECC backend system.
This should solve the problem.
Regards
Bharathwaj. -
To find SCN number in standby database with Oracle 9i.
Hi all,
1.how to find SCN number in standby database with Oracle 9i.
note:
1.it is in mount stage.
2.oracle 9i.
regards,
Jayaprakash.Hello;
I have no Data Guard 9 to review. However I might try this :
select * from "_DBA_APPLY_PROGRESS";
OR
select time_mp,time_dp, scn_wrp, scn_bas, scn from smon_scn_time;Also found this: ( almost certainly NOT a physical Standby )
SELECT APPLIED_SCN, NEWEST_SCN FROM DBA_LOGSTDBY_PROGRESS;Best Regards
mseberg
Not worth another post but I think v$database on Oracle 9 has these columns only :
v$database on Oracle 9
DBID
NAME
CREATED
RESETLOGS_CHANGE#
RESETLOGS_TIME
PRIOR_RESETLOGS_CHANGE#
PRIOR_RESETLOGS_TIME
LOG_MODE
CHECKPOINT_CHANGE#
ARCHIVE_CHANGE#
CONTROLFILE_TYPE
CONTROLFILE_CREATED
CONTROLFILE_SEQUENCE#
CONTROLFILE_CHANGE#
CONTROLFILE_TIME
OPEN_RESETLOGS
VERSION_TIME
OPEN_MODE
PROTECTION_MODE
PROTECTION_LEVEL
REMOTE_ARCHIVE
ACTIVATION#
DATABASE_ROLE
ARCHIVELOG_CHANGE#
SWITCHOVER_STATUS
DATAGUARD_BROKER
GUARD_STATUS
SUPPLEMENTAL_LOG_DATA_MIN
SUPPLEMENTAL_LOG_DATA_PK
SUPPLEMENTAL_LOG_DATA_UI
FORCE_LOGGING ."_DBA_REGISTERED_ARCHIVED_LOG" has a "NEXT_SCN"
Edited by: mseberg on Dec 19, 2011 10:03 AM
Edited by: mseberg on Dec 19, 2011 10:29 AM
Much later
Also found this :
select dbms_flashback.get_system_change_number scn from dual;
Edited by: mseberg on Dec 19, 2011 11:06 AM -
Connect to a mysql database with Oracle 9i
Hello,
how can I connect to a non_oracle-database in "Oracle 9i".
I created a ODBC data source. In Oracle8 I needed OCA. But in 9i I believe the OCA is replaced by another thing.
I wanted to connect in SQL*PLUS with:
username/password@odbc:mysql
But I get the error: ora-03121 "no interface driver connected - function not performed".
How can I connect to another database?I've solved the DW problem by changing the site folders from
'db' to 'wwwroot' e.g. 'C:\CFusionMX\db\' is now
'C:\CFusionMX\wwwroot\
However I'm now back to my original problem. I've lost my
mqysql connection in CF Adminstrator. Before I made these changes I
could connect to my mysql databases using the following settings:
JDBC URL: jdbc:mysql://localhost:3306/test
Driver Name: MySQL Connector J
using the following Java path and file:
C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar
Now these settings give me the following error:
"Connection verification failed for data source: javaserver
[]java.sql.SQLException: SQLException occurred in JDBCPool
while attempting to connect, please check your username, password,
URL, and other connectivity info.
The root cause was that: java.sql.SQLException: SQLException
occurred in JDBCPool while attempting to connect, please check your
username, password, URL, and other connectivity info"
Any suggestions on this would also be welcome.
Thanks again to everyone for their help.
Sincerely,
Graham A. Kerby -
Connect to oracle database with Oracle.DataAccess.Lite_wce.dll
With Oracle.DataAccess.Lite_wce.dll i want to ceonnect to oracle database.
I try like:
OracleConnection conn = new OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=baza1)));User Id=xx;Password=xx;");
conn.Open();
but it said "S1000[POL-3023] the database does not exist".
What i am doing wrong?what client are you using if you are using windows mobile then
use
Oracle.DataAccess.Lite.dll on the handheld
connection string is "dsn=databasename;uid=SYSTEM;pwd=userpassword"
the username is always system, the passw0rd the the user password of the specific user that the handheld is created for, the database name depends you can see it in the device->orace->odbc.txt file
if your re on c# then you should write
using Oracle.DataAccess.Lite;
LiteConnection OraCon;
OraCon = new LiteConnection(connectionstring);
OraCon.Open(); -
Problem in connecting netbeans with oracle 10g express edition
hi friends... i need help in connecting the database with netbeans..... in netbeans, under services option... i have a option for database... but am not getting any drop-down while right clicking to add a new database... i tried in both netbeans6.9 and netbeans7... what should i do to connect netbeans7 to oracle 1og express edition.... pls help me friends.... pls do reply
First of all, I think your dot... button is broken, it keeps repeating which makes it SO much harder to read your post.
Secondly, I suggest you take your question to the Netbeans mailing lists. This is a Java programming forum, not a technical support forum for the hundreds of tools available to support Java programming.
http://netbeans.org/community/lists/index.html -
Unable to connect JAVA with Oracle
I have jdk1.6 and oracle installed on my machine but unable to connect java with database
have classes12.jar and ojdbc14.jar
my environmental variables in respect to this are :
JAVA_HOME= C:\Java\jdk1.6.0_04
JRE_HOME=C:\Java\jdk1.6.0_04
PATH=J:\oracle\ora92\lib;
J:\oracle\ora92\bin;
C:\Program Files\Oracle\jre\1.3.1\bin;
C:\Program Files\Oracle\jre\1.1.8\bin
CLASSPATH=J:\oracle\ora92\jdk\jre\bin\JdbcOdbc.dll;
J:\oracle\ora92\jdbc\lib\classes12.jar;
J:\oracle\ora92\jdbc\lib\ojdbc14.jar
The code is
import java.sql.*; public class dat1 { public static void main(String[] args)throws SQLException,ClassNotFoundException { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Class.forName("com.oracle.jdbc.OracleDriver"); } catch (ClassNotFoundException e) { System.out.println("unable to load driver"); return; } } }
the error message is
Error in thread "main" java.lang.NoClassDefFoundError
Please Help Me
Thanks For Reading
Thanks a lot in Advance For your ANSWERSmaybe if you asked nicely instead of ordering people around we might tell you.
As it is all you're going to hear is that you don't need both those jars, as they contain different versions of the same driver.
I'm not going to tell you which you need, as you should have the documentation to tell you that. But then you also should have the documentation to tell you how to set your classpath properly and you failed to read that too.
Maybe you are looking for
-
or gaming youtube, while call or voice recording playing - all works fine, so speakerphone is working but not on all apps. hard reset done - no changes. iphone 4 SOLVED plugin to charger solved it - so problem was with contacts -- no idea why - phone
-
IMac won't complete restart after upgrade to 10.5.6
I recently ran Mac OS upgrade 10.5.6, but iMac won't complete restart. After the apple appears, script appears across screen and a box appears in the middle telling me to restart my computer by "holding power button until shut down, then press on/off
-
Can't convert songs in iTunes. I have iTunes 7.02. I've followed the process as detailed in iTunes help as well as in a "missing manuals" book. Here's what I've done to try to change a song from AIFF file to MP3: 1) In iTunes, chose iTunes > Preferen
-
Merge two iTunes Libraries? From Windows Desktop PC to Mac Laptop?
I have just bought a new Mac laptop and would like to move all my iTunes stuff over onto the laptop from my old Windows desktop PC. While this situation is problematic enough, I also happen to have some 100+ songs on the laptop that need to stay, so
-
[Locked] Link colors work in Firefox but not Internet Explorer
http://zenfotoz.com I have changed the link colors by setting a CSS class to a non default color a:link to the div containing thumbnails. The site behaves as designed in Firefox, but uses default colors in Internet Explorer and no colors in Safari fo