JDev TP4 - Test Database Connection without password

Hi,
I create a new database connection for an application,
if I specify that password is not saved and press Test Connection button with an empty password, the "connection information" dialog for username and password is displayed behind the "connecting" dialog. It is not possible to switch to "connection information" dialog.
Although there is a Cancel button on the "connecting" dialog, it is also not possible to press it. To close JDeveloper, it is killed from Task Manager.
If Save Password on the create database connection is checked and an empty password is given pressing Test Connection button, "Test failed: Password cannot be null or empty" error message is given.
Without testing the connection, I can save the connection in both situations.
regards,
Bahar

Bahar,
indeed this is annoying ;-( I checked with a later build and the bug is fixed meanwhile.
Thanks for posting this
Frank

Similar Messages

  • Database connectivity without using Class.forName()

    Hi,
    Can anyone please tell how we can connect to a database without in java without using the Class.forName() method , and then how the database driver gets loaded.
    Regards,
    Tanmoy

    Hi,
    I recently wrote code that connects to a database without using Class.forName() in order to be compatible with Microsoft's JVM. I read about it here:
    http://www.idssoftware.com/faq-e.html#E1
    Basically, you create a new Driver object and use its connect method.
    Here's what my particular code ended up being:
    String url = "jdbc:mysql://localhost:3306/test?user=root&password=mypass";
    Driver drv = new org.gjt.mm.mysql.Driver();
    Connection con = drv.connect(url,null);

  • Jdev 10g Preview Database Connection Error

    HI,
    I'm trying to create a database connection in Jdev 10.1.3.0.2 .
    When i press "Test Connection" i receive the following error.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    I used previous versions or JDev and never had this problem.
    Thank You. JP.

    I'm using the Jdev 10.1.3 default installation.
    I didn't change anything.
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production (AIX)
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    This is the jdev.conf file. I don't know what is wrong.
    I tried deleting the lines where is "AddVMOption -Doracle.translated.locales=ja ", but i receive the same error.
    Thank you. JP.
    # Oracle JDeveloper 10g Launcher Configuration File
    # Copyright 2000-2004 Oracle Corporation.
    # All Rights Reserved.
    # The format of this file is:
    # "Directive Value" (with one or more spaces and/or tab characters
    # between the directive and the value) This file can be in either UNIX
    # or DOS format for end of line terminators. Any path seperators must be
    # UNIX style forward slashes '/', even on Windows.
    AddJavaLibPath ../lib/patches
    AddJavaLibFile ../../../classes
    AddJavaLibFile ../../ide/lib/javax-ide.jar
    AddJavaLibFile ../../ide/lib/javatools.jar
    AddJavaLibFile ../../ide/lib/ide.jar
    AddJavaLibFile ../lib/looks-1.2.1.jar
    AddJavaLibFile ../../jlib/jewt4.jar
    AddJavaLibFile ../../jlib/share.jar
    AddJavaLibFile ../../jlib/help4.jar
    AddJavaLibFile ../../jlib/inspect4.jar
    AddJavaLibFile ../../lib/xmlparserv2.jar
    AddJavaLibFile ../lib/jdev-ep.jar
    SetUpdateMainClass oracle.ideimpl.webupdate.DeferredUpdater
    SetUpdateClassPath ../../../classes:../lib/jdev.jar:../../ide/lib/ide.jar:../../ide/lib/javatools.jar:../../lib/xmlparserv2.jar:../../jlib/jewt4.jar:../../jlib/share.jar
    # Extensions in jdev/lib/ext may require native libraries
    AddNativeCodePath ../lib/ext
    # Oracle9i Lite Settings
    # Enable these lines (and modify the directories)
    # to suit your Oracle Lite installation
    # AddNativeCodePath C:/Oracle/lite5/mobile/sdk/bin
    # AddJavaLibFile C:/Oracle/Lite5/mobile/classes/olite40.jar
    # Directive SetJavaHome is not required by default, except for the base
    # install, since the launcher will determine the JAVA_HOME. On Windows
    # it looks in ..\..\jdk, on UNIX it looks in the PATH by default.
    # SetJavaHome c:\jdk1.4.2_03
    # The Windows launcher will attempt to use client (hotspot) by default,
    # unless a VM is specified below with the following directive. On UNIX
    # we use whatever is listed first in the $(JAVA_HOME)/jre/lib/jvm.cfg file.
    SetJavaVM hotspot
    # JDK 1.4.2 specific setting, to properly run JDeveloper under JDK 1.4.2,
    # the following property needs to be enabled and set to false. The bug
    # (Sun bug #4895132) has been fixed in JDK 1.5.
    # AddVMOption -Dsun.io.useCanonCaches=false
    # This will enable a "virtual" file system feature within JDeveloper.
    # This can help performance for projects with a lot of files,
    # particularly under source control. For non-Windows platforms however,
    # any file changes made outside of JDeveloper, or by deployment for
    # example, may not be picked by the "virtual" file system feature. Do
    # not enable this for example, on a Linux OS if you use an external editor.
    # AddVMOption -DVFS_ENABLE=true
    # Turn off verifications since the included classes are already verified by the
    # compiler. This will reduce startup time significantly. On some Linux
    # Systems, using -Xverify:none will cause a SIGABRT, if you get this, try
    # removing this option.
    AddVMOption -Xverify:none
    # Set the maximum heap to 512M
    AddVMOption -Xmx512M
    # MaxPermSize is required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server). The default value is 64M, which isn't enough
    # to run JDeveloper successfully. With the default value, JDeveloper will
    # end up running out of memory at some point in time. This option is ignored
    # by OJVM (-ojvm).
    # This option is documented at:
    # http://java.sun.com/docs/hotspot/gc1.4.2/faq.html
    AddVMOption -XX:MaxPermSize=128M
    # Option used by OJVM client on Windows, This option will turn on line numbers
    # in the stack traces by disabling the optimizing compiler.
    # AddVMOption -XOd
    # Enabling this option will cause OJVM client on Windows to only use 1 CPU on
    # a multi-processor system, on single-cpu systems, this option has no effect.
    # AddVMOption -Xsinglecpu
    # Disable Direct Draw, on some Windows 2000/XP base computers,
    # Direct Draw is cause excessive screen refreshes and slows down drawing.
    # Disabled by default for all Windows platform.
    AddVMOption -Dsun.java2d.noddraw=true
    # If true, prevent laucher from handle -help command line argument and
    # passes -help to the java application.
    # Disabled by default
    # AddVMOption -Dapplication.handle.help=true
    # If set to true, prevent laucher from checking/setting the shell
    # integration mechanism.
    # The shell integration feature is enabled by default
    # AddVMOption -Dno.shell.integration=true
    # Disable the forced GC for the ICE browser.
    AddVMOption -Dice.browser.forcegc=false
    # Reduce the tile threshold for the ICE browser.
    AddVMOption -Dice.pilots.html4.tileOptThreshold=0
    # Prepend patches to the bootclasspath. Currently, rtpatch.jar contains a
    # patch that fixes the javax.swing.JTree accessibility problems.
    # Uncomment the line below if you need to run JDeveloper under JAWS.
    # AddVMOption -Xbootclasspath/p:../../jdk/jre/lib/patches/rtpatch.jar
    # Replace heavyweight AWT controls with lightweight implementations.
    AddVMOption -Xbootclasspath/p:../lib/lwawt.jar
    # This setting must not be changed.
    SetMainClass oracle.jdeveloper.JDeveloper
    # SetUserHomeVariable is used to define an environment variable
    # that overrides the default user home location. The directory
    # pointed to by the environment variable defined here will be
    # used to store user settings and the "mywork" directory.
    # On UNIX platforms the default setting is $HOME/jdevhome
    SetUserHomeVariable JDEV_USER_DIR
    # If you run into problems related to relocation errors of system dll's, use
    # this option to resolve them. This option only works under ojvm.
    # AddVMOption -Xheapbase10000000
    # A list of filenames that are reserved
    AddVMOption -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$
    # Indicates which version of the jdk to use for editor syntax
    # highlighting and code explorer. Valid values are: "1.3", "1.4", "1.5".
    AddVMOption -DEDITOR_J2SE_VERSION=1.5
    # Whether Code Insight will omit types and members that have been
    # denoted with the @hidden tag.
    AddVMOption -DINSIGHT_OMIT_HIDDEN=true
    # Text buffer deadlock detection setting (OFF by default.) Uncomment
    # out the following option if encountering deadlocks that you suspect
    # buffer deadlocks that may be due to locks not being released properly.
    # AddVMOption -Dbuffer.deadlock.detection=true
    # If you use JDeveloper in a multibyte environment the embedded browser
    # may display all multibyte characters as squares. If this happens you
    # can use the following option to avoid the problem.
    # AddVMOption -Dice.pilots.html4.ignoreNonGenericFonts=true
    # Put the xml parser into 9.0.4 compatability mode (3116160)
    AddVMOption -Doracle.xdkjava.compatibility.version=9.0.4
    # Specify the set of extant translations for resources loaded via
    # BundleLoader. The format is a comma separated list of locales, for
    # example ja,fr_CA. A translation will only be found if included in
    # the list.
    # Comment out the option to force BundleLoader to use the default
    # locale. This is different to giving the property no value,
    # meaning there are no translations.
    # Note that this has no impact on ResourceBundle, which will continue
    # to try to load locale specific resources even if they are certain not
    # to exist.
    AddVMOption -Doracle.translated.locales=ja
    # Temporary internal flag to enable trace messages for the IDE
    # controller stack.
    AddVMOption -Dide.debug.controller.stack=false
    # If you need to connect to OC4J 10.1.2 from JDeveloper, uncomment the
    # following option. Note, however, that enabling this option will prevent
    # JDeveloper from connecting to OC4J 10.1.3.
    # AddVMOption -Drmi.disablePropagation=true
    AddVMOption -Doracle.translated.locales=ja

  • Database connection without username

    Hello,
    Using JDeveloper Database connection wizard, can we create
    a connection to the database without using user name and
    password? That is, I need to login with a "/".
    Murali

    The thick drivers need a client side install of SQL*Net and the relevant oracle /bin directory containing that the ocijdbc9.dll will need to be in your library path.
    So the question is - do you want OPS$ functionality enought to do a client side SQL*Net install on each machine?

  • Database Connection loosing password

    Hi there,
    have HFR documents with a connection to Essbase 9.3
    Problem is the database connection seems to loose the password everytime I log off.
    After relogin the connection fails and I have to reenter the password.
    When I reenter the password for the connection it works perfect and is retrieving the data from essbase into the report.
    Also tried the approch to rebuild the connection but did not help.
    In essbase the authentification type is external in an AD.
    The essbase application is NOT registered in Shared Service.
    Is this the reason? From where is the Userid/password gets passed through?
    Thanks,
    Bernd

    Bahar,
    indeed this is annoying ;-( I checked with a later build and the bug is fixed meanwhile.
    Thanks for posting this
    Frank

  • Creating database connection without administrator

    I need to create a new database connection for coldfusion mx
    7 on winblows 2003 but coldfusion administrator is broken. Is there
    any way to create a new JDBC connection without it? Perhaps some
    registry or ini file editing? How about for ODBC?

    You can code a template to create a datasource using the
    adminAPI. The examples do just that. View the MSSQL example on this
    page,
    Administrator
    API.
    However, you might just want to fix you CFAdmin. Got to a
    working CFMX7 server of the same version. Zip up all of CFIDE
    (usually under wwwroot of cfusion or your docroot). Delete the
    'broken' one on your server. Unzip the CFIDE zip to replace.

  • Why is the data source not getting database connection without  exception?

    experts,
    I am trying to config server.xml to get database connection. i am now getting no exception duing the connection, but the returned connection is NULL, why? thanks/ this is my codes:
    public synchronized Connection getConnection()
    try{
    Context ctx = new InitialContext();
    if (ctx == null)
    throw new Exception("Context is null");
    Context initContext = new InitialContext();
    Context envContext = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("test");
    Connection conn = ds.getConnection();
    }catch(Exception ex)
    ex.printStackTrace();
    return conn;
    }

    Remove the first slash after "java:".
    Context envContext =(Context)initContext.lookup("java:comp/env");

  • Can I use OCI driver to test database connection in JDeveloper9.0.3

    When using JDeveloper 3.2.3, I can use oci8 driver to test the databse connection.
    Then I want oci8 driver work in JDeveloper9.0.2 or JDeveloper 9.0.3. However, it cannot work.
    (Note: but thin driver works fine)
    First, I read the help file and setup ORACLE_HOME environment variable and install
    OCI client driver ocijdbc9.dll on my compuetr. Then some exception is happening when I test again.
    So I want to know, does anyone succeed in testing the connection via oci driver
    and how to fix this problem.
    Thanks a lot.

    Hi !
    You MUST use jdbc library supplied with Oracle client ( so classes12.zip from $ORACLE_HOME/jdbc/lib ), not with JDeveloper - this one might be incopatible with oci native libraries.
    I hope , this helps.
    Michal

  • Test Database Connection "Unable to connect to DB" using Oracle 10g Express

    DB is up and running fine pls help
    Connection test failed.
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
    oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
    oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
    oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
    com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
    com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    ...

    After installing the JDBC driver and selecting the test configuration i am getting the below erro:
    Connection test failed.
    Message icon - Error Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
    oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
    oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
    oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
    com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
    com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    The Steps i followed to install the JDBC Driver are mentioned below:
    1. JDBC Data Source Properties:
    Name: testSample
    JNDI Name: abc.xyz.testSample
    Database Type: Oracle
    Database Driver: Oracle’s (Thin XA) for Instance
    connections; Versions: ... 11
    Database Name: orcl
    Host Name: wls-sysadm
    Port: 1521
    Database User Name: weblogic
    Password and Confirm Password: Welcome1
    Before that i started the database from start menu
    and both the services
    ORACLE service XE
    and ORACLELISTNERSERVICE is up and running fine.
    C:\Users\satish>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-JUN-2013 10:18
    :51
    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 04-JUN-2013 09:35:25
    Uptime 0 days 0 hr. 43 min. 26 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=SATISH-PC)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    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...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Can anyone pls help...urgent

  • Restricting SYS connection without password

    Normally, if we want to connect to the SYS user of an oracle database from the server side we can connect it without giving a password and like this:
    cmd> sqlplus /nolog
    SQL> conn / as sysdba;
    This will connect the database as SYS user. Also from the client side or even from the server side connecting to SYS user can be done like :
    cmd> sqlplus /nolog
    SQL> conn sys@db_name as sysdba;
    This connection will prompt password of SYS user.
    Now my requirement is that wherever any one wants to connect to the database as SYSDBA/SYSOPER privileged user s/he must have to input the password that means s/he can't connect to the database using: CONN / AS SYSDBA but can connect using like CONN SYS@DB_NAME AS SYSDBA which will require password to authenticate.
    So is there any way to restrict the SYS user connection from server side using CONN / AS SYSDBA.
    --Bazlur                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    @ emre baransel: Thanks for the solution!. This solution I have used in previous time also. It disables the OS authentication through SQL> conn / as sysdba. Changing to the SQLNET.ora file with SQLNET.AUTHENTICATION_SERVICES=(NONE) disable the OS authentication.
    But the situation is that the SYSADMIN who will have the root user password can easily the SQLNET.ora file and can change this file causing again the OS authentication enabled.
    If we are the owner of both the products and system ourselves and we are running the system ourselves then we might make faith with our employees who are SYSADMIN and DBA.
    But we are the vendor and we are implementing our solution to the customer side where the owner of the platform is customer but as a vendor we have to restrict access to database from the customer. That means, customer will have access to platform as a system admin but we have to protect accessing to our database which is installed there.
    @ asifkabirdba: Thanks for the reference but I need the above solution.
    @ damorgan: Database: Oracle 11g Enterprise Edition Release 1 Linux x86 64 bit
    OS: Redhat Enterprise Linux AS 5
    --Bazlur                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Database connection without driver? pl. help

    Hello there
    is it possible connecting databases without having jdbc or jdbc-odbc driver? anybody has any idea or thought?
    mortoza

    Use JNI. This requires that an native interface to the database exists (what a jdbc driver would use.)
    Use RunTime.exec(). Although that would not really be a 'connection'. This requires that command line tools exist for OS that can provide whatever functionality you need.
    Use a socket. This requires that the database provides some sort of socket interface, and that you can get the documentation for it, and then can write the code to use it. For example Oracle and MS SQL Server both have a socket interface. I am not sure if Oracle provides docs and the MS SQL Server interface is probably documented only in fragmented terms (there is probably more than one.)

  • B1iSN 9.0 Installation Failed. Database connection Failed: Password Validation failed

    Hello All:
      Installing a new copy of B1iSN 9.0 PL05. And having this problem that I can't seem to find any mentioning.
      SQL connection parameter validate the password ok and this is almost immediately after I press install at the final step. When it give you the summary before installation happens.
      A bit of background this is on a server where system requires very long and complex password. The password that I use to log on to the window environment is 17 characters long. But I have tried to use the long password for both B1iadmin default password as well as creating a SQL user with long password. Nothing seem to work.
      Any direction would be greatly appreciate it!

    Hello Bo Peng,
    I had in 8.82 a bug with the password and somes special characters ('@').
    Try to use only a-z, A-Z and numbers.
    You should create a support message for this.
    Best Regards Teun

  • HELP- MY PC WILL NOT CONNECT WITHOUT PASSWORD

    I JUST INSTALLED THE ROUTER WITH ENCRYPTION.  MY OTHER COMPUTERS WITH WIRELESSS CARDS WILL NOT ACCESS WIRELESS NETWORK WITHOUT A PASSWORD-- I THOUGHT I ENTERED IT, BUT IT KEEPS TELLING ME WRONG PASSWORD--PLEASE HELP

    Just change the key in the router again.

  • Error when testing database connection

    Hi,
    I've downloaded v 3.0 and when i enter the basic data and test conection, it gives me following error:
    nosuchmethoderror oracle.i18n.text.oraboot.getcharsetmaxcharlen (Ljava/lang/string;)Ljava/lang/string;
    What can i do?
    v2 worked well, but i deleted it...

    Try to create a batch file (datamodeler.bat) under Data Modeler installation folder and put the following two lines in it:
    set ORACLE_HOME=%CD%
    start datamodeler.exe
    Then double click on this file to start Data Modeler.
    Ivan

  • I can't get a database connection.

    Background: I've already built two sites with databases using DW CS6, PHPMySQL, and the same hosting company, so I know they allow remote connections. (I'm developing using the remote host because I've never found a tutorial for how to move it all from local XAMPP to my host - but hey, it's been working fine so far.)
    I set up the database using CPanel Databases, added the user and password, no problem. Went into PHP MySQL and added a table, logged out and back in, the table is there as defined.
    In DW, I double-checked the testing server, tested the connection, and it connected successfully.
    Then I opened a page for editing and added a database connection (all as I had done on the previous two sites that work fine). I named the connection, entered the user, the password and tried to SELECT a database. No luck. HTTP Error 404. I manually added the database (the only one) and clicked test. Again no luck. HPPT Error 404.
    I double checked the testing server, double checked the DB information, and nothing seems to work.
    Any clue what I'm doing wrong? Thanks so much if you can help.

    UPDATE:
    Okay, this is really getting weird. As a typcial computer nerd, I know there are many roads to success, so if one doesn't work, try another.
    Trying a different solution, I opened a test.php page and wrote the following code:
    <?php
    echo "<p>Now testing database connection.</p>\n";
    $db_server = "localhost";
    $db_username = "mcsb831_mbradmin";
    $db_password = "***(redacted)***";
    $link = mysql_connect($db_server, $db_username, $db_password);
    if (!$link) {
        echo "Could NOT connect.<br />\n";
    }else{
        echo "Connected Successfully.<br />\n";
        mysql_close($link);
    I loaded the page to the server and guess what? I got the message "Connected Successfully."
    Hooray! Now I know the database server is running, and the database and user name and password are valid.
    I went to the DW MbrConnect01.php file (the name of the CONNECTION file that Dreamweaver creates when I tried to make the connection through DW), and verified the database name, user name, and password were correct -- I copied and pasted them from the code above to make absolutely certain there were no transcription errors. Here's that file:
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_MbrConnec01 = "localhost";
    $database_MbrConnec01 = "mcsb831_members";
    $username_MbrConnec01 = "mcsb831_mbradmin";
    $password_MbrConnec01 = "***(redacted)***";
    $MbrConnec01 = mysql_pconnect($hostname_MbrConnec01, $username_MbrConnec01, $password_MbrConnec01) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    And guess what?
    I GOT THE STINKING ERROR MESSAGE AGAIN!!
    (See previous post for the full text of the message.
    Yes, I checked the server using an FTP browser for the presence of the required files, and they are there.
    Does anyone have a clue what's going on here? I would absolutely love to use DW's DB automation tools, but none of them will work if I can't get a DW connection to work.
    I notice that my code uses mysql_connect while the DW-generated code uses mysql_pconnect (which is deprecated), could that be the culprit? How do I fix it if so?
    PLEASE, can someone help?

Maybe you are looking for

  • Bind variable is not defined

    Hi, it is my first attempt to modify a rdf file. I run into a problem while trying to add an additional user parameter in an existing rdf file. While I am successful in adding a new FREQUENCY user parameter and I am able to update the form to show th

  • Download error in creative cloud, won't let me install updates.

    download error in creative cloud, won't let me install updates. Evert time I hit reload, It keeps saying download error. I uninstalled the cloud, and Re installed it, and still have issues

  • How to dump data in file from inetrnal table.

    LOOP AT I_KEYROLEUSERS. READ TABLE I_USERS WITH KEY UNAME = I_KEYROLEUSERS-UNAME INTO WA_USERS. IF sy-datum > WA_USERS-DFROM and sy-datum < WA_USERS-DTO. Concatenate 'SAPP40' '001305900' I_KEYROLEUSERS-UNAME 'GID'              WA_USERS-LNAME WA_USERS

  • How to clear local currency balance in foreign currency account

    hi, i have a bank account in EUR but local currency is USD. in the account balance, it has 0 in EUR but has balance in USD.  i need to clear the amount in USD. i tried f-02 to post EUR 0 and balance which in USD i enter in amount in local currency fi

  • T43 Vertical Scrolling Problem (not just Firefox)- Any official response from Lenovo

    After searching the forum, i have not been able to find any response from Lenovo as to how to correct this problem. Incidentally, my "occasional" vertical scrolling problem occurs in any browser,  IE7, Firefox3, Opera9 (at least those 3) as well as W