JDeveloper, PostgreSQL on Linux ?

Hi,
I am wondering whether the JDeveloper can connect to the PostgreSQL, running on linux?
and how to connect them.
Thanks a lot
Peter

Hi,
I am wondering whether the JDeveloper can connect to the PostgreSQL, running on linux?
and how to connect them.This isn't a configuration we've tried ourselves, however the steps for all 3rd party JDBC drivers are essentially the same.
In short:
1) Put your .jar or .zip file for your JDBC driver in the $JDEV_HOME/jdev/lib/ext directory
2) Restart JDeveloper
3) Create a connection
3a) choose 3rd party JDBC driver
3b) on page 3: enter the full class name and then URL for your connection. The postgres documentation for the jdbc driver should have information as to the format of the URL and the class name which implements java.sql.Driver
4) Also, you'll want to make a library also which contains this JDBC driver and add this newly created library to each project which will be using the postgres jdbc driver.
Hope this helps,
Rob

Similar Messages

  • Jdeveloper applications on Linux

    - is it possible?
    I know Java applications can run on Linux and I hope that it is
    possible to run JDeveloper apps on Linux. Any experiences?
    Also: Does JDeveloper 3.0 run under Wine?
    null

    Jan (guest) wrote:
    : - is it possible?
    Yes, it's possible.
    I use WinNT and Linux.
    I make application by Jdeveloper 2.0 under WinNT and successful
    rut it on Linux (SuSE 6.2). Also I use Apache+JServ and so I run
    jservlet developed under JDev2.0.
    You need all requered to application jar and zip files from
    jdeveloper 2.0 in your CLASSPATH.
    Can be any troubles to install jservlet under Apache but it
    resolve easy. All depend from your configuration Apache.
    : I know Java applications can run on Linux and I hope that it is
    : possible to run JDeveloper apps on Linux. Any experiences?
    : Also: Does JDeveloper 3.0 run under Wine?
    JDev 2.0 run under Wine?
    BR Andrew
    null

  • JDBC for Postgresql(on Linux): java.lang.NullPointerExceptio--Please HELP!

    I'm trying to build a JSP web application with Apache Tomcat 4.0 on Linux, using PostgreSQL database.
    The test page for building a connection to the database is very simple.
    However, unfortunately, I always get the following error message from the web server.
    The code is also show below.
    I have another Tomcat server working on Window2000 with Oracle. So I change the JDBC driver to Oracle on that machine, and it works fine.
    I guessed I might have some problem with the Tomcat setting, but I'm not sure what I need to change.
    The directory of my web application is built under the webapps.
    And I've added JAVA_HOME, JAVA_HOME/lib/tool.jar, and JDBC for PostgreSQL to my CLASSPATH.
    Is there any other configuration that I missed?
    Please help if you see the problem.
    Thanks a lot in advance.
    Error message:
    type: Exception report
    message: Internal Server Error
    description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         at org.apache.jsp.index$jsp._jspService(index$jsp.java:231)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Here's my code:
    <%@ page language="java" import="java.io.*, java.sql.*, java.util.*, java.lang.*" %>
    <HTML>
    <HEAD>
    <TITLE>TEST</TITLE>
    </HEAD>
    <BODY>
    <b> City </b><br>
    <%
         Class.forName("org.postgresql.Driver");
         String sqlurl = "jdbc:postgresql://localhost:5432/customer";
         String username = "guest";
         String passwd = username;
         Connection conn = DriverManager.getConnection(sqlurl, username, passwd);
         Statement st = conn.createStatement();
         String queryStr = "select CITY from WEATHER";
         ResultSet rs = st.executeQuery(queryStr);
         if (rs != null){
              while(rs.next()){
                   String strCity = rs.getString(1);
    %>
    -- <%=strCity %> --<br>
    <%
         st.close();
         conn.close();
    %>
    </BODY>
    </HTML>

    Error is not there in the code what you are showing. Can you edit index$jsp.java and see what is there in line 231?
    You may find it in tomcat_home\work\your_application directory.
    Sudha

  • JDeveloper and SuSE linux

    Hi all
    Does anybody else use JDeveloper 10.1.3 with SuSE linux ? I currently have SUSE linux 10.0, (kernel 2.6.13-15.8-smp), JDev version 10.1.3.0.4 SU2I with jdk 1.5.4 and I am facing various problems where JDeveloper hangs or behaves unexpectedly. For example if I create a JSF page as a jspx document then the visual editor does not display data correctly.
    My machine is 2.8 GHz P4 CPU with 2 GB of RAM so I do not think that I am having any problem with my system resources.
    I have also read somebody else complain about the debugger being very slow on SuSE linux so I want to know if anybody else is facing similar problems.
    Thanassis
    \

    Hi Guys,
    I no problem running jdev 10.1.3 on my latest SuSE ;). however, i got problem in running the debugger. the problem is the debugger stepping so slow. each step takes about 5-10 seconds . i have no idea how to solve this problem. but it has no problem on kubuntu 5.10 at all. i wonder i could be the kernel. but just my guess only.
    please let me know how to solve it. thz guys.
    -T

  • Executing "jdeveloper.exe on Linux CENTOS

    I'm new to both Linux and Oracle. I've installed "jdeveloper" on an CENTOS 5.2 Linux. The installation went well with not issues. However, I'm unable to execute jdeveloper.exe. When i type "./jdeveloper.exe" I get the following message:
    bash: ./jdeveloper.exe: cannot execute binary file
    The attributes of the file is as follows:
    -rwxr-xr-x 1 root root 45056 Feb 8 15:04 jdeveloper.exe
    Why do I get the above message?
    How do I fix it?
    Thanks

    Well, .exe files are for Windows based systems only. On Linux and Unix systems you can start JDeveloper by calling $JDEV_HOME/jdev/bin/jdev (adjustment of the execution rights might be needed).
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                       

  • What is the command to run Jdeveloper 12 in Linux?

    After installing JD12 in Fedora Linux with KDE there are no new menu items that I could use to start the program.
    There don't seem to be programs that start with 'jd' in the path either.
    How can I run JD that I just installed?

    Refer
    Next Steps After Installing Oracle JDeveloper Studio - 12c (12.1.2)

  • JDeveloper disk from linux expo

    I received a jDeveloper disk from the linux expo in
    NYC 2 weeks ago. The win.zip file (jdev905preview.zip)
    requires a password.
    I've been a member of OTN for 5 years and could not
    find the password anywhere on the oracle site.
    I view the index.html file on the CD and re-resister
    and still was unable to obtain a password to unlock
    the winzip file.
    Does anyone have this password or know how to obtain it?
    Thanks
    James Tuan

    You can also get the password by going [url http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_dlg_id=2651094&p_ext=N&src=1651310&act=1]here.
    OTN

  • PKIX path building failed Jdeveloper Windows vs Linux

    Dear all
    I developed an application using Jdeveloper 11.1.1.3.0. This application has a WS client (developed using the Jdeveloper wizard).
    The strange part is that in Linux I get a "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error, but in Windows the client works perfectly. The complete error message is below.
    I did some research, and I found that I should import some certificates for this to work, but then again in Windows I did nothing like that.
    Any idea?
    Thanks a lot
    com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:138)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:174)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:111)
         at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
         at com.sun.xml.ws.client.Stub.process(Stub.java:259)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)

    Being a total novice on the https/SSL configuration side of things, I've finally managed to dig down to the fact that our external partner of course needs to have a certificate installed in order to run https.
    I guess the browser did not prompt and ask for acceptance of this, because it was already verified through one of the standard issuers - VeriSign.
    So was then able to export the certificate through IE's Properties>Certificate>Details>Copy To File...
    Will then try to import this into the correct domain on the WebLogic server.
    (A quick test of the web service from the EM console worked fine. Strange then that executing the service through a partner link in bpel does not work, but I guess it may have to do with a local bpel being exposed as a web service in itself, and that security on both sides is called for... maybe... :-) )
    -Haakon-

  • Jdevelop 10g production, linux , bc4j and cvs

    I have a problem with redhat 9, if i try to check out bc4j from the cvs (not scm, the one that comes with linux)
    The association end(s) do not specify an attribute
    yet when they are checked out in Windows Xp this error does not appear.
    They have been checked in originally with Windows Xp, is this a setup issue with jdeveloper on redhat as the attributes are clearly visible in the xml file. This happened with the preview as well but not with 9i

    Try closing the Project and reopening it and see if that makes it pick up the changes.
    Rob
    Team JDev

  • Installing JDeveloper 10g on Linux

    I am installing JDeveloper 10g base_installation on Fedora Core 2.
    I am using Sun J2SDK 1.4.2_05 which is work well with other applications. I have P4 with 512MB of Memory.
    I fellowed the intallation procedure in http://www.oracle.com/technology/products/jdev/htdocs/9.0.5.2/install.html#installnonwindows
    when i start jdev (even when i log as a root) the jdev start ok.
    But when i choose new from the short cut menue of the "Application Navigator" nothing happen.
    *the same copy works fine with Windows XP.
    Help me please!!

    For step-by-step instructions see here
    http://www.puschitz.com/InstallingOracle10g.shtml

  • JDeveloper 11g for linux.

    I saw packages for windows and mac, the Base Install is for linux?

    it's ...i don't know... a rendering problem...
    e.g:when I do a right click on a webservice( Application navigator) it displays the contextual menu until the 3rd separator than the rest.Same thing on web.xml displays untill 1st separator...then the rest.There are also some delays in switching tabs(about 0.5-0.25 sec)
    In rest...I like the annotation styles of ws...but I woder my self is there a way to inspect the wsdl except downloading it from oc4j...perhaps you want to edit it...
    best regards...
    Message was edited by:
    kquizak

  • JDeveloper 11.1.2 install on Oracle Linux 6 U1 64 bit

    I am trying to install jDeveloper on Oracle Linux 6 U1 (6.1) and keep getting a variety of errors. I know that jDeveloper does not support 64 bit Operating Systems very well. However with the majority of new systems being 64 bit and the memory limitations of 32 bit is jDeveloper going to move into the next century and support 64 bit jvm's and operating systems natively? When will this happen?

    StuartSimpson wrote:
    I am trying to install jDeveloper on Oracle Linux 6 U1 (6.1) and keep getting a variety of errors. I know that jDeveloper does not support 64 bit Operating Systems very well. However with the majority of new systems being 64 bit and the memory limitations of 32 bit is jDeveloper going to move into the next century and support 64 bit jvm's and operating systems natively? When will this happen?JDeveloper supports 64-bit operating systems just fine as well as the JDK is also a 64-bit JDK. I've been running JDev using 64-bit JDKs on OS X and Linux for a few years without issue.
    You might be having issues with JDeveloper on Oracle Linux 6, however - the WebLogic install scripts, etc. do not include support for Oracle Linux 6 as of yet, nor Java 7.
    Take a look at the certification matrix for operating systems and Java versions in JDeveloper:
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Operating_Systems

  • How to Access External PostgreSQL Database from SAP On Linux?

    Hi all!
    I have Linux-Orale11-ERP6.0. I need connect to an external database PostgreSQL on Linux. I installed the driver ODBC on Linux-Oracle11-ERP6.0 and command isql-v<alias> connect to PostgreSQL:
    root@sap etc# isql -v <alias>
    Connected!
    sql-statement
    help tablename
    quit
    SQL>
    How do I now configure the Oracle DB Link?

    I installed DG4ODBS.
    Configured initH2P.ora, listener.ora and tnsnames.ora.
    /oracle/DEV/112_64/hs/admin/initH2P.ora:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = H2P
    HS_FDS_TRACE_LEVEL = OFF
    #HS_FDS_SHAREABLE_NAME = /usr/pgsql-9.0/lib/psqlodbc.so
    # ODBC specific environment variables
    #set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    /oracle/DEV/112_64/network/admin/listener.ora
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#1 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = DEV.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = DEV)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = sap-dev)
              (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = SUPPORT
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = DEV)
          (ORACLE_HOME = /oracle/DEV/112_64)
    #########I inserted###########
        (SID_DESC =
          (SID_NAME = H2P)
          (ORACLE_HOME = /oracle/DEV/112_64)
          (PROGRAM=dg4odbc)
    /oracle/DEV/112_64/network/admin/tnsnames.ora
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/701-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#1 $
    DEV.WORLD=
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = sap-dev)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = DEV)
           (GLOBAL_NAME = DEV.WORLD)
    #########I inserted###########
    H2P.WORLD  =
      (DESCRIPTION=
         (ADDRESS=
           (PROTOCOL=tcp)
           (HOST=77.120.107.XXX)
           (PORT=5432)
         (CONNECT_DATA=(SID=H2P))
         (HS=OK)
    And when I run: tnsping H2P,  I get an error:
    [root@sap admin]# tnsping H2P
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 29-AUG-2011 15:37:00
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    /usr/sap/DEV/SYS/profile/oracle/sqlnet.ora
    TNS-03505: Failed to resolve name
    Although:
    [root@sap admin]# tnsping DEV
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 29-AUG-2011 16:38:07
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    /usr/sap/DEV/SYS/profile/oracle/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = sap-dev) (PORT = 1527))) (CONNECT_DATA = (SID = DEV) (GLOBAL_NAME = DEV.WORLD)))
    OK (10 msec)
    what am I doing wrong?

  • JDeveloper on Mac

    Hi
    when i tried to download JDeveloper i got three options 1 for windows, 1 for Linux and 3 for other platforms so if i use Mac should i download the
    third option ?
    and does it have same features ? does it have UML Features, data base Engineering Features ?
    and the applications developed by it will it work on all platforms ?
    im new in JDeveloper and Java
    Regards

    Java is platform independent. It will work in all platforms
    jdeveloper is based on Java. So It also works in all platforms..
    Jdeveloper for windows, linux and mac looks same and got same features.
    So you can download mac version and use it..
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JDeveloper/OAF in our EBS R12 (12.1.3) web server. Solaris Sparc 64bit mach

    Problem Description
    Am trying to setup and use the JDeveloper/OAF in our EBS R12 (12.1.3) web server. Solaris Sparc 64bit machine.
    Followed the metalink document 416708.1 and took the zip p9879989_R12_GENERIC.zip as instructed in the training class. The readme does not mention about installing in UNIX. I am getting all shorts of errors when invoking "jdev".
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Error: JDeveloper can't recognize the JDK version
    Please let me know the steps.

    Hi ,
    Normally the Jdeveloper setup will be done in Windows (32bit or 64 bit) for development of new pages, or extension.
    I understand that you are trying to setup the Jdevelopment for your development in a Solaris Sparc 64bit machine, it should be possible because Oracle Development use Unix machine to run the Jdeveloper for development.
    Please try
    To work around this you should edit the $JDEV_HOME/jdev/bin/jdev.conf -file and comment out the line that shows:
    SetJavaVM hotspot
    After this you should be able to start JDeveloper 10.1.2.
    You might get some weird sticky startup screen showing in front of the initial questionnaire windows. After passing these (either try moving the windows or just pressing Enter) you should be fine with JDeveloper.
    If that didnt work,
    And check the below thread helps,
    http://kaukovuo.blogspot.com/2005/07/jdeveloper-1012-and-linux-x8664-with.html
    JDeveloper On Ubuntu Linux running Java 6
    http://www.ensode.net/jdeveloper_linux.html
    http://focusthread.com/blog/oracletraining/developertechnical/oaframework/jdev-installer-giving-error-as-could-not-create-the-java-virtual-machine-error-jdeveloper-cant-recognize-the-jdk-version/
    Jdeveloper on solaris: an option for mutualized development env ?
    Thanks,
    With regards,
    Kali.
    OSSi.

Maybe you are looking for

  • Zen Touch No Longer Recognized By Windows Media Pla

    <SPAN>My Zen Touch stopping being recognized by Windows Media Player today.<SPAN> I still see the MTP connected icon in the task tray and I still it listed without a warning in Device Manager, but WMP doesn?t recognized that it is attached.<SPAN> I?v

  • Help with printing in Java

    Hi, I am making a simple printing application. I need to print the contents of a JTextArea, I have the following class: (I won't put the whole class code because is very long) public class PrintExampleClass implements Printable { this class has the f

  • Audio: Realtek AC97? Audigy?? Catalina??? Please discuss.

    I have an MSI K8T Neo FiS2R (MS-6702) motherboard and I tried using the onboard audio chip - Realtek AC'97. I have the latest motherboard BIOS and I installed the latest Windows drivers for Realtek audio. I noticed the following problems: -It stutter

  • Change - Display Parameters (ABAP)

    Hello everyone ^^. Is this possible? To have the parameters initialize in display mode an when i want put in change mode? ABAP of course LOL! Thx in advance, regards to all

  • Adobe Programs Crashing Upon Opening / libc++abi.dylib

    Hello, I have CS3 (old, I know) running on a Mac Lion OS X 10.7.5. It has worked for years, and after I cleaned up my Mac last week, the Adobe programs suddenly decided to stop opening (I have not downloaded any fonts recently or possibly even ever).