Getting error while connecting to database

while i try to connect to the database i'm getting the foollowing error
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
the part of my code which is used to connect to the database is as follows
<applet code="Part1" width=500 height=500>
</applet>
public class Part1 extends Applet implements ActionListener
     public void init()
               try
                    //Class.forName ("oracle.jdbc.driver.OracleDriver");
                    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
               catch(ClassNotFoundException e)
                    System.out.println("EXCEPTION--"+e.getMessage());
                    System.out.println("DRIVER NOT FOUND");
          Connection conn=null;
               try
                    //Making the database connection
                    conn= DriverManager.getConnection("jdbc:odbc:xyz");
               catch(Exception e)
                    System.out.println("EXCEPTION IN CONNECTION::"+e.getMessage());
                    System.exit(-1);
               }

public class Applet1 extends JApplet {
private JButton DbConnect = new JButton();
private JTextArea empValues = new JTextArea();
private Connection con;
private JLabel jLabel1 = new JLabel();
public Applet1() {
public void init() {
try {
jbInit();
} catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
this.getContentPane().setLayout(null);
DbConnect.setText("Click to Connect to DB");
DbConnect.setBounds(new Rectangle(90, 225, 175, 40));
DbConnect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
connectToDB(e);
empValues.setBounds(new Rectangle(40, 50, 310, 150));
jLabel1.setText("Emp Records :");
jLabel1.setBounds(new Rectangle(45, 20, 155, 20));
this.getContentPane().add(jLabel1, null);
this.getContentPane().add(empValues, null);
this.getContentPane().add(DbConnect, null);
private void connectToDB(ActionEvent e) {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:ora9202","scott","tiger");
empValues.setText("Connected to the Database.
Fetching Values from DEPT Tables.\n");
fetchValues();
} catch (SQLException ex) {
System.out.println("Connection Error = " + ex.toString());
}

Similar Messages

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • Error while connecting MYSQL Database

    Hi,
    I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
    The database is 4.1GB large and there is 10GB free space on the database.
    Anybody can tell me what to do?

    Hi Tom,
    As I understand the error while connecting to database is
    u201CFailed to retrieve data from databaseu201D
    There could be some could be multiple reasons for this.
    If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
    If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
    When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
    For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
    Please let us know if this helps
    Regards,
    Aditya Joshi

  • Getting error while connecting Utility Customer E-Services

    I am getting the following error while connecting to Utility Customer E-Services through the browser.
    Error:       Your user master has not been created correctly. Contact your system administrator.
    Please advise some fix for this problem.
    Thanks in advance.
    Regards,
    Nitin

    Hi Mattia,
    yes, I had resolved this problem. It requires some configuration in ume database of the WebAS, where UCES application is hosted.
    1) Create a user in ume.
    2) Assign group "Everyone" and "Authenticated Users" to the user
    3) Within Customized Information tab, create the mapping between your web user, reference user and business partner.
    fscm_refuser: Use reference user id. ( user id to login to ISU system )
    objtype_0: BUS1006
    objkey_0: User business partner details ( business partner number in ISU)
    If there is no customized Information tab, then open visual administrator and do the following.
    1) Navigate to Services->Configuration Adapter
    2) Click on Runtime tab -> Display configuration
    3) Navigate to cluster_data -> server -> cfg -> services -> Propertysheet com.sap.security.core.ume.service
    4) Add the following in ume.admin.addattrs.
    com.sap.security.core.user.refuser:fscm_refuser;com.sap.security.core.user.references:objtype_0;com.sap.security.core.user.references:objkey_0;com.sap.security.core.user.references:objtype_1;com.sap.security.core.user.references:objkey_1;com.sap.security.core.user.references:objtype_2;com.sap.security.core.user.references:objkey_2;com.sap.security.core.user.references:objtype_3;com.sap.security.core.user.references:objkey_3;com.sap.security.core.user.references:objtype_4;com.sap.security.core.user.references:objkey_4;com.sap.security.core.user.references:objtype_5;com.sap.security.core.user.references:objkey_5;com.sap.security.core.user.references:objtype_6;com.sap.security.core.user.references:objkey_6;com.sap.security.core.user.references:objtype_7;com.sap.security.core.user.references:objkey_7;com.sap.security.core.user.references:objtype_8;com.sap.security.core.user.references:objkey_8;com.sap.security.core.user.references:objtype_9;com.sap.security.core.user.references:objkey_9;com.sap.security.core.useces:objtype_10;com.sap.security.core.user.references:objkey_10;com.sap.security.core.user.references:objtype_11;com.sap.security.core.user.references:objkey_11;com.sap.security.core.user.references:objtype_12;com.sap.security.core.user.references:objkey_12;com.sap.security.core.user.references:objtype_13;com.sap.security.core.user.references:objkey_13;com.sap.security.core.user.references:objtype_14;com.sap.security.core.user.references:objkey_14;com.sap.security.core.user.references:objtype_15;com.sap.security.core.user.references:objkey_15;com.sap.security.core.user.references:objtype_16;com.sap.security.core.user.references:objkey_16;com.sap.security.core.user.references:objtype_17;com.sap.security.core.user.references:objkey_17;com.sap.security.core.user.references:objtype_18;com.sap.security.core.user.references:objkey_18;com.sap.security.core.user.references:objtype_19;com.sap.security.core.user.references:objkey_19;
    5) Save the changes, exit visual administrator and restart the server.
    Now. your application will work perfectly fine.

  • Getting error while connecting to AS400 DB through Jdeveloper

    I am using Jdeveloper 11.1.2.4.0 and Connecting AS400 DB using the Driver com.ibm.as400.access.AS400JDBCDriver and I put the jt400.jar in classpath : :\JDeveloper\system11.1.2.4.39.64.36.1\DefaultDomain\lib\jt400.jar.
    Now I am able to test the connection through IDE and it is connected successfuly. But the Issue is I am not able to run the Business Component thtough Application Module and Run the UI pages.
    I am getting the following Error:
    [1112] DBTransactionImpl.initTransaction: Login failed
    [1113] java.sql.SQLException: No suitable driver found for jdbc:as400://host/database
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
    at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
    at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
    at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
    at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
    at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    [1114] A dead application module instance was detected
    [1115] The application module instance was removed from the pool
    [1116] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1122] oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
    at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
    at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
    at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
    at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.sql.SQLException: No suitable driver found for jdbc:as400://host/database
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
    at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
    ... 32 more
    ## Detail 0 ##
    java.sql.SQLException: No suitable driver found for jdbc:as400://host/database
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
    at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
    at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
    at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
    at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
    at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
    at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
    at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
    at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    [1123] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [1124] UIMessageBundle (language base) being initialized
    18-Jul-2013 10:12:44 oracle.jbo.jbotester.MainFrame exit
    INFO: BC4J Tester exit code(-3)
    Process exited with exit code -3.
    Please explain me why I am getting this error: java.sql.SQLException: No suitable driver found for jdbc:as400://host/database
    Do we really able to connect to As400 through this driver? Please tell me if i am doing wrong configuration like Classpath and wrong jar usage and need some more jar... ?
    This is very very urgent issue..pls reply me asap.

    Hi Vijaya,
    Thanks for your quick reply. After I change my JDBC URL with  : instead of /  jdbc:as400://<hostname>:<Database>
    I am able to run the page and getting the UI in browser. But I am not getting the Databindings ui like table/ form with data.
    <20-Jul-2013 15:41:47 o'clock GST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 20-Jul-2013 15:41:47 o'clock GST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 20-Jul-2013 15:41:47 o'clock GST SERVER = DefaultServer MESSAGE = [ServletContext@24114406[app:CasthouseInspectionPOC module:CasthouseInspectionPOC-ViewController-context-root path:/CasthouseInspectionPOC-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=java.lang.NoClassDefFoundError, 1=com/ibm/as400/access/AS400JDBCDatabaseMetaData}
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4739)
    Caused By: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDatabaseMetaData
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at weblogic.jdbc.wrapper.DatabaseMetaData_com_ibm_as400_access_AS400JDBCDatabaseMetaData.getDatabaseProductVersion(Unknown Source)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1198)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
    at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
    at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2743)
    at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2791)
    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1473)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
    at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3319)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:514)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:465)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:541)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:531)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.<init>(JUCtrlValueBinding.java:4104)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:4211)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2564)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2389)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:329)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
    at com.sun.el.parser.AstValue.getValue(Unknown Source)
    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.getLabel(LabelLayoutRenderer.java:929)
    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:213)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelLabelAndMessageRenderer.encodeAll(PanelLabelAndMessageRenderer.java:96)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1599)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:263)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
    at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
    at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1275)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1677)
    at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
    at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
    at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:233)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1035)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = WS51403 TXID =  CONTEXTID = b895c2ee669b5f03:200689b7:13ffbe1b109:-8000-0000000000000036 TIMESTAMP = 1374320507333 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <20-Jul-2013 15:41:50 o'clock GST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in d:\jdeveloper\system11.1.2.4.39.64.36.1\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_5 with a lockout minute period of 1.>
    <20-Jul-2013 15:42:57 o'clock GST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1" set up for pool "As400POCDB" failed with exception: "java.sql.SQLException: [SQL0104] Token <END-OF-STATEMENT> was not valid. Valid tokens: + - AS <IDENTIFIER>.".>
    <20-Jul-2013 15:43:26 o'clock GST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1" set up for pool "AS400DBConn" failed with exception: "java.sql.SQLException: [SQL0104] Token <END-OF-STATEMENT> was not valid. Valid tokens: + - AS <IDENTIFIER>.".>
    Could you please update me what is going wrong here. Please update me any of you come across the same issue?
    This is stopping my entire work and please give me the solution.
    Thanks,
    Raj

  • Getting error while connect ucm through JAX-WS protocal

    HI All ,
    please help me to come out form this problem.
    I have written the following code in my servlet and when I am trying to call the servlet I am getting following error.
    I tried to access 'http://localhost:16200/cs/idcnativews/IdcWebRequestPort?WSDL' urs but I am unable to access it through browser.
    Even I went to weblogic console  deployment where these webservicess are deployed in mystem when tired to chage the ws plocy for ws I am getting messeg  like*This page lists the policy files that are attached to the endpoints and operations of this Web service. The operations are listed below the endpoint; click on the + sign to view them. Click on the endpoint or operation name to attach a policy file. For example, you can specify that the policy file applies only for inbound (request) SOAP messages, and so on.*
    You must start the Web Service to be able to view its associated WS-Policy file.
    my servlet code is :+
                   // create the manager
                   IdcClientManager manager = new IdcClientManager();
                   // build a client that will communicate using the JAXWS protocol
                   JaxWSClient jaxwsClient = (JaxWSClient)manager.createClient("http://localhost:16200/cs/idcnativews");
                   JaxWSClientConfig jaxwsConfig = jaxwsClient.getConfig();
                   /// set the property
                   jaxwsConfig.setServerInstanceName("http://localhost:16200/cs/");
                   jaxwsConfig.setJpsConfigFile("config/fmwconfig/jps-config.xml");
                   IdcContext userContext = new IdcContext("weblogic");
                   // create an identity with a password
                   IdcContext userPasswordContext = new IdcContext("weblogic", "Accenture123");
                   // get the binder
                   DataBinder serverBinder = jaxwsClient.createBinder();
                   // populate the binder with the parameters
                   serverBinder.putLocal ("IdcService", "GET_SEARCH_RESULTS");
                   serverBinder.putLocal ("QueryText", "");
                   serverBinder.putLocal ("ResultCount", "20");
                   // execute the request
                   ServiceResponse cmsResponse = jaxwsClient.sendRequest(userContext, serverBinder);
                   // get the binder
                   serverBinder = cmsResponse.getResponseAsBinder();
                   DataResultSet resultSet = serverBinder.getResultSet ("SearchResults");
    **Erorr:**
    <Dec 29, 2010 10:46:22 AM IST> <Error> <Default> <BEA-000000> <Error while readi
    ng from WSDL
    java.io.FileNotFoundException: Response: '404: Not Found' for url: 'http://local
    host:16200/cs/idcnativews/IdcWebRequestPort?WSDL'
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
    java:474)
    at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLCon
    nection.java:37)
    at java.net.URL.openStream(URL.java:1010)
    at oracle.stellent.ridc.protocol.jaxws.JaxWSClient.initialize(JaxWSClien
    t.java:68)
    at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:135)
    at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    java.lang.IllegalArgumentException: local part cannot be "null" when creating a
    QName
    at javax.xml.namespace.QName.<init>(QName.java:246)
    at javax.xml.namespace.QName.<init>(QName.java:190)
    at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.authenticateUser(Ja
    xWSProtocol.java:189)
    at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.writeRequest(JaxWSP
    rotocol.java:106)
    at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:149)
    at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks in advance,
    Kishore

    The Site Studio designer that you are using to connect to content sever is not compatible with the SiteStudio component that you have installed.
    Install the designer that is inside the site studio component zip and try.
    regards,
    deepak

  • Getting error while connect to Site Studio

    Hi All,
    While i am connecting UCM from Site Studio, I'm getting error like *"the Site Studio component is from an older version of the product"*.
    Please give me advise to solve this problem.

    The Site Studio designer that you are using to connect to content sever is not compatible with the SiteStudio component that you have installed.
    Install the designer that is inside the site studio component zip and try.
    regards,
    deepak

  • Getting error while connecting Sharepoint WFE to another Sql Server 2008

    Hello All,
    I am trying to connect a sharepoint wfe to another Sql server 2008 and getting error. This is what I am trying to do.
    #Disconnecting present database serer
    Disconnect-SPConfigurationDatabase
    #Connecting to another database server
    Connect-SPConfigurationDatabase -DatabaseServer "ServerName" -DatabaseName "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase
    Getteing below error
    Connect-SPConfigurationDatabase : Cannot open database "SharePoint_Config_nameabcd" requested by the login. The login failed.
    Login failed for user 'domain\username'.
    At line:1 char:32
    + Connect-SPConfigurationDatabase <<<<  -DatabaseServer "ServerName" -Database
    Name "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase  + CategoryInfo : InvalidData:(Microsoft.Share... urationDatabase:SPCmdletConnectSPConfigurationDatabase) [Connect-SPConfigurationDatabase], SqlException+ FullyQualifiedErrorId
    : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabaffsadss FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabase
    Please advise to resolve the error.

    Hi,
    We have not heard from you in a couple of days.
    Just checking in to see if the information was helpful. Whether your issue is solved.
    Have a great day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while connecting to Database after Database upgradation

    Hi All,
    I installed and worked with BAM and used Oracle Database 9i previously. After the Database
    was upgraded to 10g (10.2.0.4.0 which is compatible for BAM), I am trying to ReInstall BAM
    which is throwing me an error.
    It accepts the Database Login Information but at the step of building Repository for
    Enterprise Link it gives up the following error:
    ' A connection with the database cannot be made '
    Can anyone please help me to figure out this one.
    Thanks,
    Vishal

    Hi,
    I also have the same problem.Could you plz tell us what configuration I need to add in tnsnames.ora file.
    content of my tnsnames.ora file is below
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_2\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Rahul-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    )

  • Getting error while creating standby database

    I am creating standby database in oracle 10.2 on windows (same machine)and getting following error.Could any one please suggest me on this.
    on primary database alert log file
    ================================================
    Error 1031 received logging on to the standby
    Fri Jul 17 18:09:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_4512.trc:
    ORA-01031: insufficient privileges
    PING[ARC0]: Heartbeat failed to connect to standby 'IDR'. Error is 1031.
    ================================================
    my LISTENER file is as below
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Orcl)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = Orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = idr)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = idr)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    and tns file is as below
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    IDR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IDR)
    )

    recreate the instance at standby database without password file
    oradim -new -IDR standby -startmode manual recreate password file at primary database , copy the same password file from primary database to standby database,also make sure primary database started with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE parameter.
    Check also the primary database is able to tnsping to standby database.
    Khurram

  • I am getting error while accesssing Oracle database

    i am trying to learn by playing around with '
    MORTGAGE LOAN APPLICATION.
    in database i have taken oracle.
    when i try to fire following query:
    select * from customer where custId={$ /process_data/@custId $}
    i am getting following error:
    Exception: Internal error.. Cause: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.

    Mehul
    I've not worked with Oracle but I'll give this a shot. Try the following:
    1) If the database you are querying is transcational, add the text (without quotes) "WITH (NOLOCK)" as part of your FROM clause. It may be possible for your DBAs to have set that any queries run without this to be rejected since it would result in locking the table.
    2) I assume, by your query, that custId is of an integer type but if it is varchar (String) then make sure to put your single quotes around the parameter afte the '='.
    I would ask the following:
    Where are you firing the query from? Are you doing it as part of a webservice the form is connected to or are you doing it inside Workbench using one of the JDBC services (or another means)?
    Josh Boyle
    [email protected]
    Cardinal Solutions Group

  • Using DI API, getting error when connecting to database:

    The server is 2003. The sqlserver is 2005.
    We have a button that calles the DIapi function Connect().  He gets the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'N' to data type int.
    We then tried to connect into another database in SAP we got the following error:
    1).[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'UDOXX_Contract to data type int.
    There is a user-defined object called 'UDOXX_Contract', but our Add-On does not use any user-defined data object, so that must be from another add-on.  I really dont know anything about these user-defined objects.  Anyone have any idea what can be causing this problem, or what i can look at concerning this?
    thanks
    Bill

    Hi Bill,
    I am not sure why it is giving you the error messages and I have never seen these errors before. What you can possibly try is to see what SQL statements it is trying to execute. You can accomplish this with the SQL Profiler.
    Are you sure you're connecting correctly? Please post your code for the connection here.
    Hope it helps,
    Adele

  • Error while connecting to database

    I have deployed an asp.net web application on a windows server2003 ,the database is oracle10g and the servers .net framework is version 1.
    the application runs correctly on windows xp with .net framework version 1.1 ,but when I run the application on the server it returns this error:
    System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.]
    System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) +207
    System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString, OracleConnectionString options, OracleConnection owningObject, Boolean& isInTransaction) +165
    System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString parsedConnectionString, Object transact) +600
    System.Data.OracleClient.OracleConnection.Open() +32
    BusinessLayer.DbLayer.DAL.Select(String selectStr) in e:\mansouri\voisual studio projects\rims\businesslayer\dblayer\dal.cs:45
    RIMS.Common.Public.FillGrid(UltraWebGrid grid, String cmdStr) in E:\Mansouri\Voisual Studio Projects\RIMS\Common\Public.cs:135
    RIMS.MainInitialInfo.FrmSemat.Page_Load(Object sender, EventArgs e) in E:\Mansouri\Voisual Studio Projects\RIMS\MainInitialInfo\FrmSemat.aspx.cs:52
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Page.ProcessRequestMain() +750
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
    I have changed the permissions to the Oracle_home folder to read & execute for everyone and restarted the server but still recieve the error msg.
    Can AnyOne Help Me With This Problem?

    Hi
    DId you end up resolving this as I am getting a similar error and not sure how to fix it.
    Thanks
    Alex

  • Getting error while connecting to DB in PL/SQL developer.

    Hi Experts,
    I am able to connect to the DB in TOAD ,
    but I am not able to connect to the DB in PL/SQL developer.
    PL/SQL developer
    Version 8.0.1.1498
    01.61091 - Unlimited user license
    Windows 7 6.1 Build 7601 (Service Pack 1)
    Oracle 11g
    I am getting the below error
    ORA-12154: TNS could not resolve the connect identifier specified.
    Please help me why I am able to connect in TOAD
    not able to connect in PL/SQL developer.
    Thanks in advance.

    973205 wrote:
    Hi Experts,
    I am able to connect to the DB in TOAD ,
    but I am not able to connect to the DB in PL/SQL developer.
    PL/SQL developer
    Version 8.0.1.1498
    01.61091 - Unlimited user license
    Windows 7 6.1 Build 7601 (Service Pack 1)
    Oracle 11g
    I am getting the below error
    ORA-12154: TNS could not resolve the connect identifier specified.
    Please help me why I am able to connect in TOAD
    not able to connect in PL/SQL developer.
    Thanks in advance.Also note that PL/SQL Developer is not an Oracle product, so this is not the place to ask for support for that product. You should go to the vendors website (http://www.allroundautomations.com/plsqldev.html)

  • Getting error while rebuilding master database in cluster environment

    I am testing a disaster recovery scenario in one of our test MS SQL server with 2 node cluster.  I am executing below rebuild command using MS SQL server setup.
    C:\U_Soft\SW_CD_SQL_Svr_Enterprise_Edtn_2005_64Bit_X64_English_1_x64_MLF_X11-57796>start /wait C:\U_Soft\SW_CD_SQL_Svr_Enterprise_Edtn_2005_64Bit_X64_English_2_x64_MLF_X11-57797\setup.exe /qb VS=DMZSQLTST REINSTALL=SQL_Engine REBUILDDATABASE=1
    ADMINPASSWORD=abcd1234$ SAPWD=abcd1234$
    I am getting the blow alert / error  the during setup execution
    “An installation package for the product Microsoft SQL Server 2005 (64-bit) cannot be found. Try the installation again using a valid copy of the installation package ‘SqlRun_SQL.msi’
    I have checked the package is available in the setup.

    Hello,
    Did you copy the setup file from a different place? The issue may occurs if you don't have access to the original media location of where the RTM bits where installed from.
    To resolve this issue, please try to use the  REINSTALLMODE with option V to re-cache the media from the new location. For example:
    C:\U_Soft\SW_CD_SQL_Svr_Enterprise_Edtn_2005_64Bit_X64_English_2_x64_MLF_X11-57797\setup.exe /qb VS=DMZSQLTST  REINSTALL=SQL_Engine REINSTALLMODE=v ADMINPASSWORD=abcd1234$ SAPWD=abcd1234$
    And then run the normal command to rebuild the database.
    Reference:
    http://ms-abhay.blogspot.in/2010/11/error-1706-installation-package-for.html
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for