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

Similar Messages

  • HTTP/1.1 302 error while connecting UCM server from ODC Commit profile

    Hi Team,
    We are getting HTTP/1.1 302 error while connecting UCM server from ODC Commit profile.
    Error Code
    oracle.stellent.ridc.protocol.http.HttpProtocolException: Http/1.1 302
    Please note that target UCM is SSO enabled.
    Regards,
    Piyush

    I am having a similar problem.
    Have you been able to figure out what the issue is and/or what the library location should be?

  • 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

  • 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 installing UCM

    Hi All,
    Am getting error while installing the UCM in my system.
    Error description:-
    NOTICE:     Install logging initialized at 2/5/10 3:34 PM.
    NOTICE:     Installing master server.
    NOTICE:     Installing with Java version 1.5.0_11.
    NOTICE:     Install logging initialized at 2/5/10 3:35 PM.
    NOTICE:     Finished install type QueryConfiguration at 2/5/10 3:35 PM.
    NOTICE:     Install logging initialized for D:/UCM/install/2010-02-05-new.txt at 2/5/10 1:08 PM.
    NOTICE:     Unable to connect to database. Installation will fail.
    ERROR:     Unable to create database connection for the database 'InstallerDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:ORACLE'. Please make sure that the connection string, user and password are correct. Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:ORACLE
    NOTICE:     Install logging initialized for D:/UCM/install/2010-02-05-new.txt at 2/5/10 1:09 PM.
    NOTICE:     Successfully installed 'ActiveDirectoryLdapComponent' component
    NOTICE:     Successfully installed 'ArchiverReplicationExceptions' component
    NOTICE:     Successfully installed 'CheckoutAndOpenInNative' component
    NOTICE:     Successfully installed 'CheckSCSHealth' component
    NOTICE:     Successfully installed 'CIS_Helper' component
    NOTICE:     Successfully installed 'ContentFolios' component
    NOTICE:     Successfully installed 'ConfigMigrationUtility' component
    NOTICE:     Successfully installed 'FileStoreProvider' component
    NOTICE:     Successfully installed 'Folders_g' component
    NOTICE:     Successfully installed 'Helper' component
    NOTICE:     Successfully installed 'FormEditor' component
    NOTICE:     Successfully installed 'InboundRefinerySupport' component
    NOTICE:     Successfully installed 'LinkManager8' component
    NOTICE:     Successfully installed 'OracleTextSearch' component
    NOTICE:     Successfully installed 'OracleQueryOptimizer' component
    NOTICE:     Successfully installed 'ProxyConnections8' component
    NOTICE:     Successfully installed 'ThreadedDiscussions' component
    NOTICE:     Successfully installed 'CoreWebdav' component
    NOTICE:     Successfully installed 'WebUrlMapPlugin' component
    NOTICE:     Successfully installed 'WsdlGenerator' component
    NOTICE:     Successfully installed 'DBSearchContainsOpSupport' component
    NOTICE:     Successfully installed 'UserProfileSchemaLoader' component
    NOTICE:     Successfully installed 'FCKEditor' component
    NOTICE:     Successfully installed 'NativeOsUtils' component
    NOTICE:     Successfully installed 'ContentAccess-win32' component
    NOTICE:     Successfully installed 'ComponentTool' component
    NOTICE:     Successfully installed 'CoreUserInterfaceLibrary' component
    NOTICE:     Successfully installed 'Localization' component
    NOTICE:     Successfully installed 'SecurityProviders' component
    NOTICE:     Successfully installed 'PopUpCalendar' component
    NOTICE:     Successfully installed 'YahooUserInterfaceLibrary' component
    NOTICE:     Successfully installed 'iTextComponent' component
    NOTICE:     Installing shortcuts
    WARNING:     Unexpected exception: Unable to initialize the system provider 'SystemDatabase'. Unable to create database connection for the database 'SystemDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:ORACLE'. Please make sure that the connection string, user and password are correct. Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:ORACLE
    WARNING:     Unable to publish user database.
    WARNING:     Unable to register with Administration Server.
    NOTICE:     Finished install type Install with warnings at 2/5/10 1:12 PM.
    Help me on this issue

    Hi Srinath,
    again i am getting same exception ....if you feel free , check once
    NOTICE:     Install logging initialized at 2/5/10 5:06 PM.
    NOTICE:     Installing master server.
    NOTICE:     Installing with Java version 1.5.0_11.
    NOTICE:     Install logging initialized at 2/5/10 5:06 PM.
    NOTICE:     Finished install type QueryConfiguration at 2/5/10 5:06 PM.
    NOTICE:     Install logging initialized for D:/UCM/install/2010-02-05-new.txt at 2/5/10 2:38 PM.
    NOTICE:     Unable to connect to database. Installation will fail.
    ERROR:     Unable to create database connection for the database 'InstallerDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:orcl'. Please make sure that the connection string, user and password are correct. ORA-01017: invalid username/password; logon denied
    NOTICE:     Install logging initialized for D:/UCM/install/2010-02-05-new.txt at 2/5/10 2:38 PM.
    ERROR:     Unable to create database connection for the database 'InstallerDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:orcl'. Please make sure that the connection string, user and password are correct. ORA-01017: invalid username/password; logon denied
    ERROR:     Unable to create database tables. You will have to create them manually.
    NOTICE:     Successfully installed 'ActiveDirectoryLdapComponent' component
    NOTICE:     Successfully installed 'ArchiverReplicationExceptions' component
    NOTICE:     Successfully installed 'CheckoutAndOpenInNative' component
    NOTICE:     Successfully installed 'CheckSCSHealth' component
    NOTICE:     Successfully installed 'CIS_Helper' component
    NOTICE:     Successfully installed 'ContentFolios' component
    NOTICE:     Successfully installed 'ConfigMigrationUtility' component
    NOTICE:     Successfully installed 'FileStoreProvider' component
    NOTICE:     Successfully installed 'Folders_g' component
    NOTICE:     Successfully installed 'Helper' component
    NOTICE:     Successfully installed 'FormEditor' component
    NOTICE:     Successfully installed 'InboundRefinerySupport' component
    NOTICE:     Successfully installed 'LinkManager8' component
    NOTICE:     Successfully installed 'OracleTextSearch' component
    NOTICE:     Successfully installed 'OracleQueryOptimizer' component
    NOTICE:     Successfully installed 'ProxyConnections8' component
    NOTICE:     Successfully installed 'ThreadedDiscussions' component
    NOTICE:     Successfully installed 'CoreWebdav' component
    NOTICE:     Successfully installed 'WebUrlMapPlugin' component
    NOTICE:     Successfully installed 'WsdlGenerator' component
    NOTICE:     Successfully installed 'DBSearchContainsOpSupport' component
    NOTICE:     Successfully installed 'UserProfileSchemaLoader' component
    NOTICE:     Successfully installed 'FCKEditor' component
    NOTICE:     Successfully installed 'NativeOsUtils' component
    NOTICE:     Successfully installed 'ContentAccess-win32' component
    NOTICE:     Successfully installed 'ComponentTool' component
    NOTICE:     Successfully installed 'CoreUserInterfaceLibrary' component
    NOTICE:     Successfully installed 'Localization' component
    NOTICE:     Successfully installed 'SecurityProviders' component
    NOTICE:     Successfully installed 'PopUpCalendar' component
    NOTICE:     Successfully installed 'YahooUserInterfaceLibrary' component
    NOTICE:     Successfully installed 'iTextComponent' component
    NOTICE:     Installing shortcuts
    WARNING:     Unexpected exception: Unable to initialize the system provider 'SystemDatabase'. Unable to create database connection for the database 'SystemDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:orcl'. Please make sure that the connection string, user and password are correct. ORA-01017: invalid username/password; logon denied
    WARNING:     Unable to publish user database.
    WARNING:     Unable to register with Administration Server.
    NOTICE:     Finished install type Install with warnings and with errors at 2/5/10 2:42 PM.
    Regards,
    Vijay

  • 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 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  importing  data through IMPDB

    Hi All ,
    I am getting  below  error  while  importing.
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.POST_MT_INIT [SELECT SYS.KUPM$MCP.GET_ENDIANNESS@STAG_RISKCORE FROM SYS.DUAL]
    ORA-04052: error occurred when looking up remote object SYS.KUPM$MCP@STAG_RISKCORE
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9715
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0xc15928e18 21979 package body SYS.KUPW$WORKER
    0xc15928e18 9742 package body SYS.KUPW$WORKER
    0xc15928e18 2353 package body SYS.KUPW$WORKER
    0xc15928e18 1563 package body SYS.KUPW$WORKER
    0xbef8aa138 2 anonymous block
    Job "SYS"."JOBDASPRD" stopped due to fatal error at Tue Jan 21 16:25:21 2014 elapsed 0 00:05:17
    Thanks,

    It seems you are performing import via network_link  option.
    Ensure that the database link STAG_RISKCORE is valid and works. Also, check the TNS service associated to connect to remote database.

  • Getting Error while creating Project through API:PA_PROJECT_PUB.CREATE_PROJ

    Hi Gurus,
    I'm getting an error while creating a New project.
    My code looks like this:
    APPS.PA_PROJECT_PUB.CREATE_PROJECT
    (p_api_version_number => l_object_version_number --IN Parameter
    ,p_commit => l_commit --IN Parameter
    ,p_init_msg_list => l_init_msg_list --IN Parameter
    ,p_msg_count => l_msg_count --OUT Parameter
    ,p_msg_data => l_msg_data --OUT Parameter
    ,p_return_status => l_return_status --OUT Parameter
    ,p_workflow_started => l_workflow_started --OUT Parameter
    ,p_pm_product_code => g_pm_product_code --IN Parameter
    ,p_op_validate_flag => l_op_validate_flag --IN Parameter
    ,p_project_in => g_project_in --IN Parameter
    ,p_project_out => g_project_out --OUT Parameter
    ,p_tasks_in => g_task_in --IN Parameter
    ,p_tasks_out => g_task_out --OUT Parameter
    The out put params are: p_msg_count => 1
    p_return_status => E
    p_workflow_started => N
    g_project_out.pa_project_id => 170000000000000000000
    g_project_out.pa_project_number => ^
    g_task_out_rec.pa_task_id => 170000000000000000000
    End process record p_proj_insert => 1
    Resetting the task count variable
    when I checked the API code I found this:
    PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := null; --bug 2471668 ( not in the project context )
    PA_PM_FUNCTION_SECURITY_PUB.check_function_security
    (p_api_version_number => p_api_version_number,
    p_responsibility_id => l_resp_id,
    p_function_name => 'PA_PM_CREATE_PROJECT',
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_function_allowed => l_function_allowed
    . I think I am getting the error because of this.
    Now, question.
    Do I need to run the Create Project from a specific Responsibility?
    because when I ran the underlined query, I fpound the final status as 'N'.
    I'm a HR guy and PA is a new world for me. Any help will be appreciated.
    Thanks!!
    Viky

    You need to find any responsibility and userid that lets you create a project using the screen.
    And then in your code, you need to set your context to that resp/userid.
    Hope this helps
    Sandeep Gandhi

  • 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]

  • Getting error while calling reports through form

    Hi I want to call a report from a form i put the following code on when-button-pressed but i am getting the following error.I can generate and run the reports.The object REPORTS is created under forms report object
    FRM-41211: Integration error: SSL Failure running another report
    DECLARE
    repid REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('REPORTS');
    set_report_object_property(repid,report_other,'p1=15 p2=19 paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    rgds
    shyam

    Hi
    I can able to run the reports from the browser there was a syntax error, but not able to call from a form
    I am getting error but i can run another forms without any problem
    FRM-92101: There Was a failure in the FormsServer during startup
    oracle.forms.net.connectionexception:forms session aborted:unable to communicate with the runtime process
    rgds
    rosh

  • Getting error  while importing datapump through attach keyword.

    Hi All,
    I am giving job_name for export :
    expdp scott/tiger dumpfile=scott.dmp logfile=scott.log job_name=ashwin directory=datapump
    Export: Release 10.2.0.1.0 - Production on Wednesday, 23 February, 2011 14:41:58
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SCOTT"."ASHWIN": scott/******** dumpfile=scott.dmp logfile=scott.log job_name=ashwin directory
    =datapump
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 384 KB
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "SCOTT"."PLAN_TABLE" 17.03 KB 3 rows
    . . exported "SCOTT"."DEPT" 5.656 KB 4 rows
    . . exported "SCOTT"."DEPT1" 5.656 KB 4 rows
    . . exported "SCOTT"."EMP" 7.820 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.585 KB 5 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SCOTT"."ASHWIN" successfully loaded/unloaded
    Dump file set for SCOTT.ASHWIN is:
    D:\ORACLE\DATAPUMP\SCOTT.DMP
    Job "SCOTT"."ASHWIN" successfully completed at 14:42:10
    So my job name here is ashwin
    but when I am trying to import through this job I am getting following error
    impdp scott/tiger attach=ashwin
    Import: Release 10.2.0.1.0 - Production on Wednesday, 23 February, 2011 14:51:16
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.KUPV$FT", line 430
    ORA-31638: cannot attach to job ASHWIN for user SCOTT
    ORA-31632: master table "SCOTT.ASHWIN" not found, invalid, or inaccessible
    ORA-00942: table or view does not exist
    I am not able to find out my fault... please help me in this regard.. Thanks...

    user7280060 wrote:
    Hi All,
    I am giving job_name for export :
    expdp scott/tiger dumpfile=scott.dmp logfile=scott.log job_name=ashwin directory=datapump
    Export: Release 10.2.0.1.0 - Production on Wednesday, 23 February, 2011 14:41:58
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SCOTT"."ASHWIN": scott/******** dumpfile=scott.dmp logfile=scott.log job_name=ashwin directory
    =datapump
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 384 KB
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "SCOTT"."PLAN_TABLE" 17.03 KB 3 rows
    . . exported "SCOTT"."DEPT" 5.656 KB 4 rows
    . . exported "SCOTT"."DEPT1" 5.656 KB 4 rows
    . . exported "SCOTT"."EMP" 7.820 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.585 KB 5 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SCOTT"."ASHWIN" successfully loaded/unloaded
    Dump file set for SCOTT.ASHWIN is:
    D:\ORACLE\DATAPUMP\SCOTT.DMP
    Job "SCOTT"."ASHWIN" successfully completed at 14:42:10
    So my job name here is ashwin
    but when I am trying to import through this job I am getting following error
    impdp scott/tiger attach=ashwin
    Import: Release 10.2.0.1.0 - Production on Wednesday, 23 February, 2011 14:51:16
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.KUPV$FT", line 430
    ORA-31638: cannot attach to job ASHWIN for user SCOTT
    ORA-31632: master table "SCOTT.ASHWIN" not found, invalid, or inaccessible
    ORA-00942: table or view does not exist
    I am not able to find out my fault... please help me in this regard.. Thanks...When you run the data pump, in the session of yours, Oracle creates a master table. This table is available only the time till the job is not over and after that , it's also dumped into the dump file. What you have done is, you have got the job completed and this has caused the job table to be dropped. Later on when you are trying to attach to it, it's not happening since the table is not there. So what you should do, if you want to test it out, create a job that would tak esome time to finish. Kill the job or suspend the job and then later, try to reattach to it. See in your schema, what's the job table name that is created and use it.
    HTH
    Aman....

  • Getting error while sending mail through javamail api

    I can able to compile the following code successfully but while executing it showing the error
    C:\Program Files\Java\javamail-1.4\demo>java msgsend -o [email protected] -M 203.112.158.188 [email protected]
    Exception in thread "main" java.lang.NoClassDefFoundError: msgsend
    import java.io.*;
    import java.net.InetAddress;
    import java.util.Properties;
    import java.util.Date;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class msgsend {
    public static void main(String[] argv) {
         String to, subject = null, from = null,
              cc = null, bcc = null, url = null;
         String mailhost = "null";
         String mailer = "msgsend";
         String file = null;
         String protocol = null, host = null, user = null, password = null;
         String record = null;     // name of folder in which to record mail
         boolean debug = false;
         BufferedReader in =
                   new BufferedReader(new InputStreamReader(System.in));
         int optind;
         for (optind = 0; optind < argv.length; optind++) {
         if (argv[optind].equals("-T")) {
              protocol = argv[++optind];
         } else if (argv[optind].equals("-H")) {
              host = argv[++optind];
         } else if (argv[optind].equals("-U")) {
              user = argv[++optind];
         } else if (argv[optind].equals("-P")) {
              password = argv[++optind];
         } else if (argv[optind].equals("-M")) {
              mailhost = argv[++optind];
         } else if (argv[optind].equals("-f")) {
              record = argv[++optind];
         } else if (argv[optind].equals("-a")) {
              file = argv[++optind];
         } else if (argv[optind].equals("-s")) {
              subject = argv[++optind];
         } else if (argv[optind].equals("-o")) { // originator
              from = argv[++optind];
         } else if (argv[optind].equals("-c")) {
              cc = argv[++optind];
         } else if (argv[optind].equals("-b")) {
              bcc = argv[++optind];
         } else if (argv[optind].equals("-L")) {
              url = argv[++optind];
         } else if (argv[optind].equals("-d")) {
              debug = true;
         } else if (argv[optind].equals("--")) {
              optind++;
              break;
         } else if (argv[optind].startsWith("-")) {
              System.out.println(
    "Usage: msgsend [[-L store-url] | [-T prot] [-H host] [-U user] [-P passwd]]");
              System.out.println(
    "\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
              System.out.println(
    "\t[-f record-mailbox] [-M transport-host] [-a attach-file] [-d] [address]");
              System.exit(1);
         } else {
              break;
         try {
         if (optind < argv.length) {
              // XXX - concatenate all remaining arguments
              to = argv[optind];
              System.out.println("To: " + to);
         } else {
              System.out.print("To: ");
              System.out.flush();
              to = in.readLine();
         if (subject == null) {
              System.out.print("Subject: ");
              System.out.flush();
              subject = in.readLine();
         } else {
              System.out.println("Subject: " + subject);
         Properties props = System.getProperties();
         // XXX - could use Session.getTransport() and Transport.connect()
         // XXX - assume we're using SMTP
         if (mailhost != null)
              props.put("mail.smtp.host", mailhost);
         // Get a Session object
         Session session = Session.getInstance(props, null);
         if (debug)
              session.setDebug(true);
         // construct the message
         Message msg = new MimeMessage(session);
         if (from != null)
              msg.setFrom(new InternetAddress(from));
         else
              msg.setFrom();
         msg.setRecipients(Message.RecipientType.TO,
                             InternetAddress.parse(to, false));
         if (cc != null)
              msg.setRecipients(Message.RecipientType.CC,
                             InternetAddress.parse(cc, false));
         if (bcc != null)
              msg.setRecipients(Message.RecipientType.BCC,
                             InternetAddress.parse(bcc, false));
         msg.setSubject(subject);
         String text = collect(in);
         if (file != null) {
              // Attach the specified file.
              // We need a multipart message to hold the attachment.
              MimeBodyPart mbp1 = new MimeBodyPart();
              mbp1.setText(text);
              MimeBodyPart mbp2 = new MimeBodyPart();
              mbp2.attachFile(file);
              MimeMultipart mp = new MimeMultipart();
              mp.addBodyPart(mbp1);
              mp.addBodyPart(mbp2);
              msg.setContent(mp);
         } else {
              // If the desired charset is known, you can use
              // setText(text, charset)
              msg.setText(text);
         msg.setHeader("X-Mailer", mailer);
         msg.setSentDate(new Date());
         // send the thing off
         Transport.send(msg);
         System.out.println("\nMail was sent successfully.");
         // Keep a copy, if requested.
         if (record != null) {
              // Get a Store object
              Store store = null;
              if (url != null) {
              URLName urln = new URLName(url);
              store = session.getStore(urln);
              store.connect();
              } else {
              if (protocol != null)          
                   store = session.getStore(protocol);
              else
                   store = session.getStore();
              // Connect
              if (host != null || user != null || password != null)
                   store.connect(host, user, password);
              else
                   store.connect();
              // Get record Folder. Create if it does not exist.
              Folder folder = store.getFolder(record);
              if (folder == null) {
              System.err.println("Can't get record folder.");
              System.exit(1);
              if (!folder.exists())
              folder.create(Folder.HOLDS_MESSAGES);
              Message[] msgs = new Message[1];
              msgs[0] = msg;
              folder.appendMessages(msgs);
              System.out.println("Mail was recorded successfully.");
         } catch (Exception e) {
         e.printStackTrace();
    public static String collect(BufferedReader in) throws IOException {
         String line;
         StringBuffer sb = new StringBuffer();
         while ((line = in.readLine()) != null) {
         sb.append(line);
         sb.append("\n");
         return sb.toString();
    So please help me to resolve that error.

    The directory that contains msgsend.class (usually the current directory)
    is not in your CLASSPATH setting. Be sure that "." is included as one of the
    entries in CLASSPATH.

  • 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());
    }

  • 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)

Maybe you are looking for

  • Will it DESTROY all the active fields if modified?

    I have a multi-page PDF file (70+ pages) that was programmed by a software tech in India. Unfortunately he can no longer be reached. I have no idea what software was used. The attributes of the files are as follows; It can be opened in Reader ·      

  • Boot camp disaster - need help

    I followed the proceedure exactly as required, including starting with OS X version 10.4.6, downloading and upgrading firmware, printing the pdf manual for Boot Camp etc. But when it came to partitioning the drive I selected 10 GB Windows XP the rest

  • HP dv6000-Scr​een Issues

    So Ive had this laptop for awhile, it was given to me by my brother as a freebie so Ive never really worried about it. Only the top half of the screen works. At times the bottom half will start working but if I move the screen just a little it will s

  • LR5 on desktop but LR4 on laptop?

    Hi I've just switched from Aftershot to LR5 which works great on Mac desktop running 10.8.5. I'm still running 10.6.8 on the laptop because once in a while use legacy s/w which needs Rosetta. Since LR5 wont run on 10.6.8 I tried dowloading LR4 but it

  • Checks voided with FCH9 marked as Issued in outgoing file to Bank

    When we write off outstanding checks, we do not wish to reverse the original payment document. Therefore, we used transaction FCH9 to void the checks. We created a new Void Reason, which identifies the void as part of the periodic writeoff of uncashe