How to connect to 8i Lite from Jdeveloper ?
Hi,
is it possible to use 8i Lite as Database Server within Jdeveloper environment ?
We plan to use a three tier architecture with:
Client : thin client
Middle tier : JSP+BC4J
Database Server : Oracle 8i ( for the central environment ) and 8i Lite for satellite systems (about 100).
The Central system use Oracle Replication technology to refresh data on Satellite environemnt.
Does it make sense to use 8i Lite ?
thank you for your suggestions.
You can also mail to [email protected]
Jean B. Mvuyekure
You can uses the latest version of the 8i Lite driver to connect from within JDev, but only using straight JDBC. None of the wizards nor the BC4J will yet work with anything other than a real Oracle RDBMS.
Similar Messages
-
How to: Call a Report (9i) from JDeveloper
Hi,
how can i call a Report from JDeveloper and how can i create a PDF File from an available report.
I have created both, a jsp file and a rdf file.
Thanks
AchimHello Achim,
You do not need to create multiple files:
- you can create a single file from the Builder and specify 'Paper anfd Web Layout'
- save the files as JSP
In this case the JSP file contains the both layout Paper and Web, in this case you can:
- edit the web source (JSP) from JDeveloper
- use Reports Builder to edit the Paper Layout -that you can format as PDF-.
Regards
Tugdual -
How to connect to Oracle database from webdynprojava application
Hi
How to connect to Oracle database from webdynprojava application. where can we provide the code to connect to database.?
Thank You.Hi,
You need to create Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
However you need to configure the connection and create JNDI using visual administrator before writing the code.
You can also consider writing Session EJB with oracle and using them in WD.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
Srini -
How to connect iseries green screen from java program
how to connect iseries green screen from java program to get the data in the DB files ,here the DB is DB2/400
Just some Friday fun. Use the telnet program that comes with Windows and supports VT escape sequences.
import java.io.*;
import java.net.*;
public class AutoTelnet {
private static Socket s;
public static void main(String[] args) throws Exception {
Thread t = new Thread() {
@Override public void run() {
try {
s = new ServerSocket(5555).accept();
} catch (IOException ex) {
ex.printStackTrace();
t.start();
Process p = new ProcessBuilder("cmd", "/C", "start", "telnet", "127.0.0.1", "5555").redirectErrorStream(true).start();
t.join();
PrintStream ps = new PrintStream(s.getOutputStream());
ps.println("Screen will be cleared in 5 seconds");
ps.println("5");
Thread.sleep(1000);
ps.println("4");
Thread.sleep(1000);
ps.println("3");
Thread.sleep(1000);
ps.println("2");
Thread.sleep(1000);
ps.println("1");
Thread.sleep(1000);
ps.println("\u001b[2J");
Thread.sleep(5000);
} -
Impossible to connect to BPEL server from Jdeveloper
We have installed the soa suite in the following way
- oracle home 1 on server 1: http server
- oracle home 2 on server 1: apps server with two oc4j, one for the jsso and em and another one for bpel.
I want to deploy the bpel process from jdeveloper.
I first do a server connection to the server 1. When I try to test the connection I get an error
Error getting OC4J Process for: opmn-home+oc4j-oraclesoa.smartwavesa.com-6004-default:
Error connecting to OPMN (is it running?): Connection refused: connect
So I tried to modify the opmn.xml of oracle home 2 by adding the following line
<ipaddr remote=”0.0.0.0” request=”0.0.0.0”/>
After this modification I am able to connect to oracle home 2 from jdeveloper BUT the http URL of enterprise manager and bpel console are no more available.
So my question is how can I enable the deployment of bpel process from Jdeveloper to the server 1?
Thanks for your helpYes admin instance is running on home 2 and more precisely on oc4j_home.
BPEL and ESB is also running on home 2 but on another oc4j oc4j_soa
If I use the standard configuration (the one that has been created during the installation) I am able to reach all the consoles BPEL, ESB or Enterprise Manager.
Here the output of opmnctl status of http server oracle home
ias-component | process-type | pid | status | uid | memused | uptime | ports
HTTP_Server HTTP_Server | 6434 | Alive | 974986920 | 146956| 0:52:13 | https1:4443,http2:7200,http1:7777
Here the output of opmnctl status of soa server oracle home
ias-component | process-type | pid | status | uid | memused | uptime | ports
ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
OC4JGroup:default_group | OC4J:oc4j_soa | 6524 | Alive | 1632905918 | 304852 | 0:54:15 | jms:12602,ajp:12502,rmis:12702,rmi:12402
OC4JGroup:default_group | OC4J:home | 6525 | Alive | 1632905917 | 179788 | 0:54:15 | jms:12601,ajp:12501,rmis:12701,rmi:12401
Thanks for your help -
How to do debugging in WebLogic from JDeveloper
Hi All,
We in our project are just starting to use JDeveloper instead of Visual Cafe with Weblogic as App. Server. However i am facing this problem while debugging an EJB deployed from JDeveloper 9i to Weblogic 6.1.
On Clicking Debug|Debug <Project-name> brings up a dialog. After leaving the address field blank(Weblogic running on localhost, and as per your documentation, localhost is default) and port as 5000 (transport_dt_socket set as 5000), the following message comes:
Debugger attempting to connect to remote process at LocalHost 5000.And it doesn't do anything more.
Awaiting for your reply on this.
regards,
HiamnshuHi,
The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
1. You need to replace WebLogic's JSP engine with OJSP and you need to
setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
Here are some tips:
A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
xmlparserv2.jar
ojc.jar
jdev-rt.jar
ojsp.jar
ojsputil.jar
B. Add these jar files to the VM's classpath
C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
debu[i]Long postings are being truncated to ~1 kB at this time. -
How to connect to discoverer plus thru jdeveloper 10
Hi,
Actually i have to generate reports using Discoverer ,And i'm using jDeveloper ,so i want to call Discoverer from jdeveloper,so for that do i want to have any class libraries to be ?..
And the tool discoverer plus and viewer r working Fine....
Suppose from my application i have a link of reports from there i will pass parameters from my jsp and then as soon as i submit my page i have to connect to discoverer plus to generate the reports...
So plz guide me how actuallly i get to discoverer plus with my jdevloperer...Is there any procedure in this way,from jdeveloper i have to connect to my discoverer.....Hi,
Actually i have to generate reports using Discoverer ,And i'm using jDeveloper ,so i want to call Discoverer from jdeveloper,so for that do i want to have any class libraries to be ?..
And the tool discoverer plus and viewer r working Fine....
Suppose from my application i have a link of reports from there i will pass parameters from my jsp and then as soon as i submit my page i have to connect to discoverer plus to generate the reports...
So plz guide me how actuallly i get to discoverer plus with my jdevloperer...Is there any procedure in this way,from jdeveloper i have to connect to my discoverer..... -
How to connect to oracle ebs from an external software
Hi!
I want to develop an integration for oracle EBS. Therefor I'm looking for ways how to connect to the EBS and for a repository of functions which can be called from an external program. I'm not quite sure if this is the right place to ask but I could not find anything yet so I'm trying here.
Are there any standard connectors for the EBS provided by Oracle?
Thanks,
KonradOracle Applications Architecture is a framework for multi-tiered, distributed computing that supports Oracle Applications products. In this model, various servers are distributed among multiple levels/tiers as follows:
- The Desktop Tier --> Web browser with Jinitiator or Sun JRE
- The Application Tier --> Web, Forms, Reports, Admin, and Concurrent servers
- The Database Tier --> Oracle Enterprise Edition Database
The Application tier is the layer which is responsible for:
- Hosting the various servers that process the business logic
- Managing communication between the desktop tier and the database tier
So, in order to connect to the database, you can either access the application tier, or connect directly to the database. I do not think it is possible to communicate with the application services from some other application. Therefore, you would need to connect to the database directly which can be achieved as explained in my previous reply. There is no such API which can be used to open/close a database connection. Oracle E-Business Suite is just a database with number of schemas and objects which are tightly integrated.
More details about Oracle E-Business Architecture can be found in:
Oracle Applications Concepts
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf -
How to connect to SQL Server from Forms 10g?
Hello all,
How do we connect to SQL Server database from Forms 10g?
In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
without installing anything on the database server?
Pls help!
Regards,
SamHello all,
I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
Transparent gateway was not required.
Followed metalink note 109730.1
So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
"ORA-02070 - ROWID is not supported in this context."
This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
no Rowid is fetched since SQL Server table doesn't have one.
Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
Pls suggest.
Regards,
Sam -
How to connect two different tables from different server?
Dear all expert,
I need to develop a report where i need to connect 2 different tables from 2 different servers. For examples:
BUT000 tables from CRM and KNKK from R3.
Is it possible to do so? Because i try to link these 2 tables together and when i preview the report, it run very slow and sometime it hang. I did not get any result.
Thank You.Moved to SAP Integration kit forum
Appears you are using SAP data sources.
And yes you can but the linked field types must match and be able to be converted into the WHERE portion of the SQL. Click on Database, Show SQL... and see if there is one. If not CR can't figure out how to so it brings all data client side and filters on the second pass.
Thank you
Don -
How to connect to a Unix from Crystal Reports running on windows?
<p>Any idea on how to connect from windows Crystal Reports X1 client to a Unix box
file directoriesu2026<br>
<br>
Any suggestions would be much appreciatedu2026<br>
</p>
Edited by: DarkNight on Nov 13, 2009 10:42 AMHi Darknight,
What is it you want to find once you are connected? Since you posted this in the Database Connectivity forum I assume you want to connect to some DB or flat file on that server? If it's a DB then use the client to connect from windows. If it's a flat file then you should be able to use whatever connection utility you use to see the file system from windows. I don't know Unix so not sure but need more details.
Thank you
Don -
How to connect to oracle database from visual basic 2010 express edition
I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?
Hello,
I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
look at the list of datasource options.
In here you can make ODBC connections via the Microsoft .net Data Provider .
If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
Once you created a server connection then you should see it in the server explorer.
You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
** I suspect this is only for VS 2010 and I didn't see that Express was supported.
http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
Let me know if that helps.
John -
Exception while connecting to Content server from JDeveloper
I am getting following exception while connecting from jDeveloper
java.lang.NullPointerException
at oracle.stellent.wcm.jdev.shared.connection.ConnectionContext.<init>(ConnectionContext.java:53)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.testAndLogin(IdcConnectionPanel.java:344)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.access$000(IdcConnectionPanel.java:75)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel$1.doInBackground(IdcConnectionPanel.java:505)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
please Help
~HariOk. I found out why it is happening.
If I follow the section 3.1.2 and setup the site studio connection then everything is fine
3.1.2 Creating a Content Server Connection
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/ssxa_creatingsites.htm#CIHJGHFC
If I try to create a content server connection from file->new->content server connection then I get a null pointer exception.
I am sure someone from Oracle will fix it soon. For now all is well with Site Studio. -
How to connect to Oracle 11gR2 from CF9
Hi,
how to connect to Oracle 11gR2 64 bit Database from CF9?
In CF Administrator no Oracle Driver is available.
Do I have to install Oracle Client Software on Server Hardware where CF9 Server is installed?
If yes, is Oracle Instant Client is enough or do I have to install full oracle client?
Any idea?
regards ClaudiaExcellent, glad to hear it's sorted. Just be careful if you use any of the "advanced" features such as returning querysets from stored procedures or BLOBs, apparently there are differences between the JDBC and full DataDirect drivers in those cases.
However in 99% of cases you won't notice the difference. -
How to connect to UNIX OS from oracle stored procedure
Hi,
I need to connect to UNIX OS from oracle stored procedure.
Curently working in Oracle9i.
I tried in google but I could'nt get any.
Can you send me pointers on how to do this.
Thanks,
Kavitha.Can use Java Stored Proc, or an External Proc.
Java method:
create or replace and compile Java Source named "OSCommand" as
-- java: OS COMMAND
-- descr: Executes an Operating System Command using the JAVA RTS
-- IN parameter: os command to execute (including fully qualified path names)
-- OUT parameter: returncode [\nstring]
-- where string a max of 32000 chars of the output of the command
-- (note that \n is used as separators in the string)
-- returncode=-1 Java RTS error occurred (e.g. command does not exist)
-- returncode=255 o/s command failed (e.g. invalid command params)
import java.io.*;
import java.lang.*;
public class OSCommand{
public static String Run(String Command){
Runtime rt = Runtime.getRuntime();
int rc = -1;
try{
Process p = rt.exec( Command );
int bufSize = 32000;
int len = 0;
byte buffer[] = new byte[bufSize];
String s = null;
BufferedInputStream bis = new BufferedInputStream( p.getInputStream(), bufSize );
len = bis.read( buffer, 0, bufSize );
rc = p.waitFor();
if ( len != -1 ){
s = new String( buffer, 0, len );
return( s );
return( rc+"" );
catch (Exception e){
e.printStackTrace();
return( "-1\ncommand[" + Command + "]\n" + e.getMessage() );
show errors
create or replace function osexec( cCommand IN string ) return varchar2 is
-- function: OS EXEC
-- descr: Executes an Operating System Command
language JAVA
name 'OSCommand.Run(java.lang.String) return java.lang.String';
show errors===
This can then be used from PL/SQL and even SQL. e.g.
SQL> select osexec( '/bin/date' ) from dual;
OSEXEC('/BIN/DATE')
Wed Nov 9 13:30:13 SAST 2005
SQL>Note the Java permissions required - replace FOO with the name of applicable Oracle schema
==begin
dbms_java.grant_permission(
'FOO',
'SYS:java.io.FilePermission',
'<<ALL FILES>>',
'execute'
dbms_java.grant_permission(
'FOO',
'SYS:java.lang.RuntimePermission',
'writeFileDescriptor',
dbms_java.grant_permission(
'FOO',
'SYS:java.lang.RuntimePermission',
'readFileDescriptor',
commit;
end;
/==
Last thing... note that opens a potential giant size security hole into the Oracle Server Platform. So implement it properly using a proper Oracle security model.
Maybe you are looking for
-
Error in function call when passing timestamp as parameter
Hi All, I have created a function in database "Calulate_Wegs" whcih takes two parameter one "number" and other is "timestamp". I am able to get the output from function when running in database. But when i tries to call the function in OBIEE as EVALU
-
ITunes 9 install issues, now iTunes won't install at all. (Vista 64-bit)
I tried to upgrade to iTunes 9 today but it failed to install using the auto-update tool, so as the tool suggested, I tried going manual. It installed, but gave me the "iTunes requires a newer version of Apple Mobile Device Support." error every time
-
IOS 6.1.3 WIFI button disable problem on iPhone4S - It is definitely a BUG
Hi Apple Fans I have a full house of Apple products from iPhone -> iPAD -> iPod -> Mac -> AirPort, and I am suffering from WIFI button disable problem after upgrade to iOS 6.1.3, without any clue after calling Apple Support, factory reset and reload
-
My emails on Mail on my macbook are not updating
Meaning if I have read or deleted an email on another device its still showing as new on my macbook . How can I set it up so it updates on my macbook?
-
How to save contents of JPanel to an image file
Hi, I am using a JPanel to display some primitive shapes(line, circle,etc.) and I need to save the contents of this panel to disk as an image file (JPEG, bitmap, TIFF, etc.). Have searched jdc but've found no feasible results. I would really apprecia