Datasource username/password

Hi,
I've been trying to put my site online, and I could do what I need to, but I have a feeling that there is an easier and quicker way to do what I need to.
The pages of my site don't work unless I go back and add a username and password to all my queries/bindings one query/binding at a time... but I'm thinking that there might be a way to do this more efficiently using Application.cfc.  Is there a quicker way?

You could either set variables that are used in all your queries and bindings and then set those variables someplace global, such as an appropriate method in the Applicaiton.cfc file.
OR
You can define all the database connectivity information in the data source name section of the ColdFusion Administrator control panel.  Then you would just need to use the datascouce name in your quries and bindings.

Similar Messages

  • Datasource.getConnection(username, password)

    I was able to setup the bookstore example in the Webservices tutorial. In this example they make use of a JDBC connection, using JNDI contexts.
    I am using Tomcat 4.1.18 as Web container and I have a configuration file with the JDBC parameters. The problem is that username and password are included in this xml file. I want to leave these out and use the getConnection(username, password) method instead.
    When I do this I get an UnsupportedException. The stacktrace is mentioning something about PoolingDataSource. I am missing something or is it just not possible using this method in this configuration??
    java.lang.UnsupportedOperationException
    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo
    urce.java:125)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
    .java:329)
    at database.BookDBAO.<init>(Unknown Source)
    at listeners.ContextListener.contextInitialized(Unknown Source)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3269)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    598)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:821)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe
    ployer.java:529)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
    a:228)
    ...

    The getConnection(username, password) method in apache DBCP (Data Base Connection Pool) implementation always returns a java.lang.UnsupportedOperationException. In fact this is the only thing it does.
    You must use the getConection() method instead.
    If you use a framework that calls the getConnection(username, password)
    method and you don�t have any way of changing that call try to compile yourself the tomcat dbcp jar file changing the method code to:
    public Connection getConnection(String uname, String passwd)
    throws SQLException
    //OLD CODE: throw new UnsupportedOperationException();
    return getConnection();
    So it works in the same way that getConnection();

  • Using SSO username/password in java portlet for Database Connection

    Hi all,
    We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4
    At present we are picking the database username and password and connect string in properties and our
    java class is reading the properties file and connecting to database to fetch the records.
    Our idea is to not to pick the username/password and connect string from the properties file or
    not to configure the datasource in data_source.xml.
    Our Requirement is who ever login to the Portal(SSO) our java class should pick the sso username/password and
    connect to database to fetch the record(s).
    Because our database users are one to one mapped to sso user(s) of portal.
    We request anyone to guide us how can we do it or suggest any suitable solution for our requirement.
    Thanks
    Dan Tey

    I think this is a no-go, since you cannot retrieve a cleartext password from the OID if I'm correct.

  • Save pdf output into db WITHOUT hardcoding username password in desname

    We are trying to use pluggable destination (Blobdestination) to save our reports in pdf format into the database. Our security policies dictate that we cannot hardcode
    the database username password in the URL or in the code.
    What are our options? Can we use the OC4J datasources?
    Thanks

    We tried using utl_http, but face two issues.
    1. When we used https and provided wallet, failure
    happened.Why would you want the overhead of https between your db and your report server? The db should be inside a firewall and ideally, your report server would be too.
    2. When the report runs for a long time time out
    issues were happening.The default for utl_http is 60 seconds. You just have to change it:
    utl_http.set_transfer_timeout(60); -- default
    utl_http.set_transfer_timeout(3600); -- 1 hour

  • Configuring usernames/passwords in Oracle DB

    Hi,
    I have the latest Weblogic 8.1. The usernames/passwords are stored in a table
    in Oracle database.
    Can someone explain to me (point me in the right direction in documentation) how
    to configure Weblogic to look up those usernames/passwords/roles in the Oracle
    DB?
    Currently, we have a web application that uses declarative security and I want
    Weblogic to look up the usernames/passwords/roles automatically.
    I know in Tomcat you can specify the datasource JNDI and tell it (in the xml DD)
    which table/column to user for usernames/passwords and which table/column to use
    to look up roles of those users. There has got to be something like this in Weblogic.
    I was a bit scared when I read in one of the documents that RDBMS is being deprecated.
    I must not be understanding the context of this properly.
    Could someone help?
    Thanks,
    Yaakov.

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Browser + Version: internet explorer
    - O/S + Version: windows 98
    - Error Msg: shared memory does not exist/cannot connect to oracle server
    Compared to all of you, I'm a very naive computer user. I've successfully downloaded the oracle 8i personal version. When I try to get into sql+, I can't seem to figure out a username and password. I loooked up some sort of usernames/passwords in a document about this thing and have tried all of the following many different times, in many different ways, for several hours now: scott/tiger, system/manager, sys/change_on_install. The scott/tiger works just fine at the university I attend, of course. If anybody has any suggestions, ideas for a dummy, thank you soooooooooooooooooooooooooooooooooooooooooooo much! Hi,
    I suspect, there is no database that is running for you to get connected to. You can try this.
    From dos prompt
    c:\> set oracle_sid = your_db_name
    c:\> sqlplus scott/tiger
    HTH

  • How to hide username/password in JDBC program.

    hi All,
    The support tat I get here is simply gr8.
    Can someone suggest or send me a link as to how I hide the username /password ....i.e database connection in the jdbc program so as to avoid changing the program everywhere in case username and passwd changes ?????
    I simply want to change the following code
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName).newInstance();
    // Create a connection to the database
    Sring serverName = "127.0.0.1";
    String portNumber = "1521";
    String sid = "oratest";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "scott";
    String password = "tiger";
    connection = DriverManager.getConnection(url, username, password);
    Ta,
    sunny

    well i kind of support what my fellow poster neeelima.srtidhar said..
    Use of Connection Pooling via JNDI which is either provided by appln server or using custom built frameworks is the best method which i can think of instead of reinventing the wheel by creating a Properties file and then writing a Utility Class which ultimately endup in creating connection Object without any sort of optimal usage.
    checkout the below articles for reference of how to do it.
    http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
    http://www.informit.com/articles/article.asp?p=352320&rl=1
    http://www.codeproject.com/useritems/pool_client_jboss.asp
    http://edocs.bea.com/wls/docs81/jdbc/programming.html
    http://www.castor.org/jdo-pooling.html
    http://homepages.nildram.co.uk/~slink/java/DBPool/
    and if you are thinking of reinventing those that could be possible using the below article
    http://www.javaworld.com/javaworld/jw-05-2002/jw-0517-jdbcdriver.html?page=1
    Hope that might help:)
    REGARDS,
    RaHuL

  • ORA-01017: invalid username/password; logon denied on Weblogic 9.0 cluster

    I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
    Ashkan
    Error on dequeuing requests
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
         at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
         at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
         at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
         at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

    Hi, I can tell you that you're not using any WebLogic
    JDBC code. You're getting a connection directly from
    the Oracle drive, and you can change the vesion of the
    drive if you want by changing the ojdbc14.jar in the
    weblogic server\lib directory.
    However, I believe the problem is an inherent weakness
    at the DBMS. The DBMS listener process can sometimes
    be temporarily swamped if it gets too many connection
    requests at one time, and will fail some of them even if
    they are all identical and correct.
    This is one of the major reasons you should use WebLogic
    connection pools so you always get already-made and
    tested connections.
    Another huge danger is that you are using DriverManager
    calls. These are very bad in multithreaded applications
    like WebLogic, because all DriverManager calls (including
    some internal ones that all JDBC drivers call all the time,
    are class-synchronized! This means that one call to
    getConnection() will probably bolock all other running
    JDBC in the whole JVM. If you can change the springframework
    code to use WebLogic DataSources to pools, you'll be much
    better off.
    Joe
    Ashkan Gholam-Zadeh wrote:
    I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle database that the backend system connects to is 9.0.2.6. I am using the ocjdbc14.jar jdbc driver that comes with the Weblogic 9.0 on the client side to connect. I really appreciate any help or clue.
    Ashkan
    Error on dequeuing requests
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.O3log.receive2nd(O3log.java:496)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:278)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
         at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
         at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:857)
         at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDequeue.dequeue(ServiceProviderDequeue.java:32)
         at com.rwi.wam.dao.serviceprovider.ServiceProviderDAO.dequeueRequest(ServiceProviderDAO.java:48)
         at com.rwi.wam.ejb.WAMRequestMessageBean.onMessage(WAMRequestMessageBean.java:168)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:425)
         at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3069)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2989)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:3448)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

  • System copy : ORA-01017: invalid username/password; logon denied

    Hello SAPiens,
    I have to perform a system copy of Bank analyzer 6, NW7.1, ABAP stack only on AIX 5.3, MCOD oracle 10.2.0.4 DB. I'm arriving to the sapinst parameters screen asking for the securestore key. The key is accepted, then it asks for the JAVA components DVD. An issue occurs after this step (JVM is uncompressed then tries to access the DB). Here is th UTL_load_usage :
    cat UTL_load_usages.log
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[1.5.7.1006]/-->
    <!--NAME[UTL_load_usages.log]/-->
    <!--PATTERN[UTL_load_usages.log]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %7s: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Aug 20, 2010 5:51:50 PM  Info   : Successfully parsed!
    Aug 20, 2010 5:51:50 PM  Info   : Executing command Export...
    Aug 20, 2010 5:51:50 PM  Info   : Establishing DB connection...
    Aug 20, 2010 5:51:53 PM  Path   : Exception : The DataBase is down or the connection parameters are wrong: -sid=BA3 -dsn=jdbc/pool/BA3 -ssprops=/usr/sap/BA3/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/BA3/SYS/global/security/data/SecStore.key -keyphrase=null
    java.lang.Exception
            at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
            at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:457)
            at com.sap.exception.BaseException.<init>(BaseException.java:303)
            at com.sap.sl.ut.infoprovider.exceptions.UTInfoException.<init>(UTInfoException.java:99)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:373)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
            at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:790)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
            at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:677)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:626)
            at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:105)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:202)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connectViaSecureStore(DBConnection.java:159)
            at com.sap.sl.ut.manager.persistence.db.DBConnection.connect(DBConnection.java:171)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.connect(DataBaseInfoFactory.java:371)
            at com.sap.sl.ut.manager.persistence.db.DataBaseInfoFactory.constructSystemInfo(DataBaseInfoFactory.java:776)
            at com.sap.sl.ut.manager.command.Export.executeExportKDB(Export.java:57)
            at com.sap.sl.ut.manager.command.Export.execute(Export.java:81)
            at com.sap.sl.ut.manager.command.Command.exec(Command.java:88)
            at com.sap.sl.ut.manager.UtlMain.exec(UtlMain.java:59)
            at com.sap.sl.ut.manager.UtlMain.main(UtlMain.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    Aug 20, 2010 5:51:53 PM  Info   : Severe (database) error. Return code: 64
    I guess sapinst retreives the connection data from the securestore, but fails using it...
    The DB is up and running. I checked Oracle users, none of them are locked.
    Can anyone kindly advice or provide a search path for shooting this issue ?
    Thank you already,
    Eric

    Hello Kiran,
    Thank you for your advice.
    the password is correct :
    #/sapmnt/BA3/global/sltools> ./checkKeyPhrase.sh -f /sapmnt/BA3/global/security/data/SecStore.properties
       INFO: Loading tool launcher...
       INFO: [OS: AIX] [VM vendor: SAP AG] [VM version: 5.1.015] [VM type: SAP Java 64-Bit Server VM]
       INFO: Main class to start: "com.sap.inst.checkKeyPhrase.CheckKeyPhrase"
       INFO: Loading 27 JAR files: [./sharedlib/checkKeyPhrase.jar, ./sharedlib/jdbc.jar, ./sharedlib/jload.jar, ./sharedlib/jload_core.jar, ./sharedlib/jperflib.jar, ./sharedlib/jsizecheck.jar, ./sharedlib/sap.com~sl.ut.infoprovider_lib.jar, ./sharedlib/sap.com~sl.ut.manager.offline.jar, ./sharedlib/sap.com~tc~antlr.jar, ./sharedlib/sap.com~tc~bl~iqlib~impl.jar, ./sharedlib/sap.com~tc~bl~jdsr~jdsr.jar, ./sharedlib/sap.com~tc~bl~offline_launcher~impl.jar, ./sharedlib/sap.com~tc~bl~opensql~implStandalone.jar, ./sharedlib/sap.com~tc~bl~sl~utility.jar, ./sharedlib/sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar, ./sharedlib/sap.com~tc~exception.jar, ./sharedlib/sap.com~tc~je~configtool.jar, ./sharedlib/sap.com~tc~je~offlineconfiguration~impl.jar, ./sharedlib/sap.com~tc~logging~java~impl.jar, ./sharedlib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./sharedlib/sap.com~tc~sdt~cvl~impl.jar, ./sharedlib/sap.com~tc~sec~secstorefs~java~core.jar, ./../security/lib/tools/iaik_jce.jar, ./../security/lib/tools/iaik_jsse.jar, ./../security/lib/tools/iaik_smime.jar, ./../security/lib/tools/iaik_ssl.jar, ./../security/lib/tools/w3c_http.jar]
       INFO: Start
    Key phrase::::::::::::
    The key phrase is correct.
    I guess sapinst is retrieving the DB  password from the securestore, tries to connect but gives back the incorrect password error message. But how can that DB password be incorrect if the system is up and running?
    What is the DB user name sapinst retreives from the securestore ?
    Kind regards,
    Eric

  • Invalid username/password; logon denied in Hyperion Planning

    Hi Folks,
    We are running hyperion planning 9.3.1 with essbase and the planning application running on two separate servers. Today I tried deploying an application but it would abort the deployment after giving the 550 error. On looking through the logs I found that the server_messages_UsageService.log in the <hyperion home> \ logs \ BI Plus directory is growing in size like anything. It grew up from a few KB in size to a GB in a few hours.
    The error that keeps repeating itself in the file is as follows:
    Dec 01 14:55:13.859
    1000165
    com.brio.one.common.DatabaseConnectionException: 1000165
         at com.brio.one.services.impl.database.BaseDBManager.throwDatabaseException(Unknown Source)
         at com.brio.one.services.impl.database.BaseDBManager.getUpdateableConnection(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.database.UsageServiceDBManager.deleteEvents(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.database.UsageServiceDBManager.deleteMessages(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.GCThread.execute(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.GCThread.run(Unknown Source)
    ]]></throwable>
    </event>
    <event logger="com.brio.one.services.mgmt.usage.impl.GCThread" timestamp="1291197313859" level="WARN" thread="GCThread0" sequence_no="517">
    <time>01 Dec 2010 14:55:13,859</time>
    <context originator_type="UsageService" host="HYPERION"/>
    <message><![CDATA[1000165]]></message>
    <throwable><![CDATA[Dec 01 14:55:13.859
    Database Server error: DBConnectionPool::get: [Hyperion][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
    com.sqribe.transformer.DBConnectionException: Database Server error: DBConnectionPool::get: [Hyperion][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
         at com.sqribe.transformer.DBConnectionPool.get(Unknown Source)
         at com.brio.one.services.impl.database.BaseDBManager.getUpdateableConnection(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.database.UsageServiceDBManager.deleteEvents(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.database.UsageServiceDBManager.deleteMessages(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.GCThread.execute(Unknown Source)
         at com.brio.one.services.mgmt.usage.impl.GCThread.run(Unknown Source)
    [1000165]:
    DBConnectionPool::get: [Hyperion][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
    I tried searching through the forums but got on real help on this one. I have checked usernames and passwords on all datasources and the main planning db and they are all correct and none of the hyperion related accounts are locked.
    This error is on production and I would really appreciate any help.
    Thanks.
    Imran

    more from the same file:
    2010-12-01 22:25:45,000 [TP-Processor3] DEBUG com.hyperion.awb.web.appmanager.Action - - create action appMgrCallbackUrl
    2010-12-01 22:25:45,000 [TP-Processor3] DEBUG com.hyperion.awb.web.appmanager.Action - - create action data
    2010-12-01 22:27:00,718 [TP-Processor3] DEBUG com.hyperion.awb.web.appmanager.Action - - create action url
    2010-12-01 22:27:00,718 [TP-Processor3] DEBUG com.hyperion.awb.web.appmanager.Action - - post action to product
    2010-12-01 22:27:00,750 [TP-Processor3] INFO com.hyperion.awb.web.appmanager.Action - Posting:http://HYPERION:8300/HyperionPlanning/servlet/HspAppManagerServlet?action=deploy&lang_id=en&app_name=hrdb
    2010-12-01 22:27:00,843 [TP-Processor3] INFO com.hyperion.awb.web.appmanager.Action - Post response: 550
    2010-12-01 22:27:00,843 [TP-Processor3] ERROR com.hyperion.awb.web.appmanager.Action - <html><head><title>Apache Tomcat/5.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 550 - Application hrdb already exists!</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Application hrdb already exists!</u></p><p><b>description</b> <u>Cannot find message associated with key http.550</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.0.28</h3></body></html>
    2010-12-01 22:27:00,843 [TP-Processor3] INFO com.hyperion.awb.web.common.BaseServiceException - BaseServiceException() - start
    2010-12-01 22:27:00,843 [TP-Processor3] INFO com.hyperion.awb.web.common.BaseServiceException - BaseServiceException() - end
    2010-12-01 22:27:00,843 [TP-Processor3] ERROR com.hyperion.awb.web.appmanager.Action - com.hyperion.awb.web.common.BaseServiceException: <html><head><title>Apache Tomcat/5.0.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 550 - Application hrdb already exists!</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Application hrdb already exists!</u></p><p><b>description</b> <u>Cannot find message associated with key http.550</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.0.28</h3></body></html>

  • RDMSRealm And wlpsadmin invalid username/password

    I've using wlpsadmin servlet and the default RDBMSRealm in "out-of-box
    configuration" .
    For adding new users , anybody knows if this uses an
    weblogic.jdbc.Datasource to access to database ?
    I have in weblogic.properties this configuration :
    weblogic.jdbc.DataSource.weblogic.jdbc.jts.commercePool=commercePool
    weblogic.jdbc.connectionPool.commercePool=\
    driver=oracle.jdbc.driver.OracleDriver,\
    url=jdbc:oracle:thin:@tameza.ces.com:1521:devel,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    testConnsOnReserve=true,\
    props=user=gadisa;password=elcdh1,\
    testTable=WLCS_IS_ALIVE,\
    refreshMinutes=5
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.commercePool=everyone
    weblogic.security.realmClass=\
    com.beasys.commerce.axiom.contact.security.RDBMSRealm
    And in weblogiccomerce.properties i have the configuration of RDBMSRealm
    assigned to this pool.
    commerce.usermgmt.RDBMSRealm.driver=oracle.jdbc.driver.OracleDriver
    commerce.usermgmt.RDBMSRealm.dbUrl=jdbc:oracle:thin:@tameza.ces.com:1521
    :devel
    commerce.usermgmt.RDBMSRealm.dbUser=gadisa
    commerce.usermgmt.RDBMSRealm.dbPassword=elcdhl
    the problem is that when i try to add a new user throws an error
    An error occurred:
    javax.transaction.TransactionRolledbackException: Transaction:
    '967541141897_1' rolled back due to EJB exception:
    java.sql.SQLException: ORA-01017: invalid username/password; logon
    denied
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.sql.SQLException.(SQLException.java:43)
    at oracle.jdbc.ttc7.TTIoer.processError(Compiled Code)
    at oracle.jdbc.ttc7.O3log.receive2nd(Compiled Code)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java)
    at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:106)
    at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate.init(RDBMSDelegate
    ..java:191) at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate.(RDBMSDelegate
    .jav a:136 at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:977)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57) at
    com.beasys.commerce.axiom.contact.security.RDBMSRealm.getDelegate(RDBMSRealm.java:142)

    Solved :
    The cause of this was cause of passwords in weblogic.properties and weblogiccommerce.properties entrys
    didn't match.
    (1!=l) => ( elcdh1 != elcdhl)
    Mig wrote:
    I've using wlpsadmin servlet and the default RDBMSRealm in "out-of-box
    configuration" .
    For adding new users , anybody knows if this uses an
    weblogic.jdbc.Datasource to access to database ?
    I have in weblogic.properties this configuration :
    weblogic.jdbc.DataSource.weblogic.jdbc.jts.commercePool=commercePool
    weblogic.jdbc.connectionPool.commercePool=\
    driver=oracle.jdbc.driver.OracleDriver,\
    url=jdbc:oracle:thin:@tameza.ces.com:1521:devel,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    testConnsOnReserve=true,\
    props=user=gadisa;password=elcdh1,\
    testTable=WLCS_IS_ALIVE,\
    refreshMinutes=5
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.commercePool=everyone
    weblogic.security.realmClass=\
    com.beasys.commerce.axiom.contact.security.RDBMSRealm
    And in weblogiccomerce.properties i have the configuration of RDBMSRealm
    assigned to this pool.
    commerce.usermgmt.RDBMSRealm.driver=oracle.jdbc.driver.OracleDriver
    commerce.usermgmt.RDBMSRealm.dbUrl=jdbc:oracle:thin:@tameza.ces.com:1521
    :devel
    commerce.usermgmt.RDBMSRealm.dbUser=gadisa
    commerce.usermgmt.RDBMSRealm.dbPassword=elcdhl
    the problem is that when i try to add a new user throws an error
    An error occurred:
    javax.transaction.TransactionRolledbackException: Transaction:
    '967541141897_1' rolled back due to EJB exception:
    java.sql.SQLException: ORA-01017: invalid username/password; logon
    denied
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.sql.SQLException.(SQLException.java:43)
    at oracle.jdbc.ttc7.TTIoer.processError(Compiled Code)
    at oracle.jdbc.ttc7.O3log.receive2nd(Compiled Code)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java)
    at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:106)
    at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate.init(RDBMSDelegate
    ..java:191) at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate.(RDBMSDelegate
    .jav a:136 at
    com.beasys.commerce.axiom.contact.security.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:977)
    at weblogic.utils.reuse.Pool.getInstance(Pool.java:57) at
    com.beasys.commerce.axiom.contact.security.RDBMSRealm.getDelegate(RDBMSRealm.java:142)

  • Problem with USERNAME & PASSWORD creation--JDBC connection with MYSQL

    How to connect to JDBC with Mysql Connector
    i installed mysql & created table, it works fine
    During Password---> I gave it as tiger , no username
    i installed mysql connector
    i saved the .jar file path in class path
    HOW TO CREATE USERNAME & PASSWORD & DATASOURCE NAME ---> Is it the password -tiger or something else like (ADMinstrative tools-ODBC-services--etc )
    Pl, help,
    tks
    Xx

    How to connect to JDBC with Mysql Connector
    i installed mysql & created table, it works fine
    During Password---> I gave it as tiger , no usernameTiger? This ain't Oracle.
    I think you should give a username and password. How can it look up a password without a username? Better GRANT the right permissions, too.
    Read the MySQL docs a bit more closely. Your path isn't the way to go.
    %

  • Error when starting Firefox 3.6. "Javascript Application error. Invalid username/password combination. If you continue to get this error, try entering your email address as your username." Any suggestions on what to look for to resolve this?

    When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
    "Javascript Application"
    followed with :
    "Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
    Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • How do I setup Forms not to ask RAD username/password when opening a form

    Good day
    I have setup oid and sso and they work I can sign on to database with an oid user using sqlplus.
    If I set SsoDynamicResourceCreate=true and enter the user id and password in at the popup it works correct and won’t even ask it again
    What I want to know how can set portal to use a RAD/DAS without prompting for a username password.
    We need to do this for all +/- 30000 users and if so how do we do it pragmatically.
    I think because I don’t have much APPS experience I basically don’t know where this must be set globally
    APPS is version 10.1.2
    Regards
    Cliff
    Message was edited by:
    cliffnel

    Got solution in metalink note 262686.1
    Goto <infrastructure :port>/oiddas
    Click Configuration Tab
    Click Preference Tab
    Create Default RAD for database

  • How do I use my WET54g with a wireless system that asks for username & password

    Hotels and other systems let you use theiur wireless for a fee.  You go onto your wireless laptop, and it automatically goes to a page where you pay and sign up (or it asks for a username and password), once that is done, you can use the network.
    How do I allow my WET54g to know this password information, and work on the network?
    thanks
    Michael

    The WET54g allows you to accept a wireless signal and connect it to a wired hub.  I want to intercept the wireless signal and use it on my hub.
    I know I can use one computer if I connect to the signal using my laptop's wireless card, but I want the WET54g to accept the signal.
    For example, currently at my office, I use the WET54g to intercept a wireless signal from the front of my building, to the back of my building about 300ft away (this way I didnt have to run wires).  The WET54g then is hooked up to a hub/switch where I have a bunch of other computers/servers.  Everything from the front of my building and back of the building are joined using this WET54g.  The WET54g is set up to find the signal from the front of my building, and therefore it works fine.
    I want to use the hotel signal, the same way, except there is no way to enter in the username/password into the WET54g, or maybe there is..  Does this make sense to you? 

  • A1 returning "username/password incorrect" messages on websites

    I can't find other posts with this problem so I hope I don't show my ignorance here, but I can't believe I am the only one...
    I recently purchased an IdeaPad A1-07 running Android 2.3.4. I attempted to update the system right out of the box, but the updater reported that I was up to date, so that should be set (I would think...). I downloaded the Netflix app from the Andriod app store (the A1 did not include it preloaded), and attempted to launch it. It launched fine into the login screen, but when entering the login info, the app returned a incorrect username/password error. I confirmed the info by logging in on through my PC to the Netflix site. I un-installed then re-installed the app with the same result. I then attempted to go to the website through the A1 browser and login there. Same result. Panicking, I attempted to use the A1 browser to login to FaceBook. Same result.
    Here is the strangest part: I attempted to login to the same websites using the browser on my HTC Android Incredible 2 running Android 2.3.4, and was able to login in successfully to both sites.
    Does anyone know what is going on here and how to fix it? This is a real deal breaker for me since I purchased this tablet specifically to use  with sites like Netflix and FaceBook, and I really don't know what else to do other than to try to return it and get a refund. Please help!
    Solved!
    Go to Solution.

    Success! The GO keyboard app pre loaded by Lenovo wasn't the problem, but the input settings (Auto Capitalization, display suggestions, auto complete, auto space and key correction) were. Display suggestions probably wasn't part of the issue, but its just plain annoying, so I turned that off as well. I suspect that one of the other "auto" features was slipping in a character or space or two behind my back. I turned them all off, and no longer have an issue. I suspect that it was only one of them, but I would have had to run multiple experiments to narrow down the culprit, and I really don't want to bother. None of those things help me more than they hinder me anyway.
    Find the settings under: settings/language & ketboard settings/Go keyboard for Lenovo/input setting. Good luck!

Maybe you are looking for

  • Problem with NEO2 and sata controller card

    1.Product Type: MSI K8N Neo2 Platinum (MS-7025) and the controller card is a InnoVision DM-8301 and the hard drive is a Seagate ST3320620AS 2.BIOS version: The newest one, 1C0 or something. 3.External VGA Type: Geforce 6800 GT 4.CPU Type: AMD 64 3500

  • Quiz results not appearing in email body

    Using Captivate 2, I set up a quiz that is supposed to send its results to e-mail. In the Quiz Manager, on the Reporting tab, I have the following settings: Enable resporting for this project (checked) LMS: email Report Pass or Fail: report status as

  • My Ipad is locked saying Icloud back

    My Ipad is locked showing Icloud not backed up in last 2 weeks & willnot let me in

  • Menu to be included

    I want a menu to be included in my website after the menu   Alumni http://sjvas.ac.in/ If include some another menu it comes down like this. Here is my code: <div id="Nav"> <div class="menu-button">Navigation</div>     <nav>           <ul data-breakp

  • Problem with QUERY MANAGER

    Hello all, I'm using sap 2005 SP01 PL36. I wrote this SQL instruction : SELECT * FROM (SELECT     'FAT_ACQ' AS TipoDoc, NNM1.SeriesName AS Serie, CONVERT(char(12), OPCH.DocDate, 3) AS DataDiRegistrazione, OPCH.DocNum AS Num,                       OPC