Unable to create dynamic JDBC Connections in RMI Server

Hi,
Goal: Using Swing client to connect to a variety of JDBC databases via RMI dynamically....
J2SE : 1.4.2
J2EE: 1.31
Databases: Oracle 9i(R2), MySQL 4.0, MS Access 2000
Platform : Windows 2000 SP4 (Professional and Server)
I have a working client-server application using RMI to connect to a single database. I want the ability
to create JDBC connections dynmically by invoking a RMI method after it has been bound. Presently
I am getting null pointers. Anybody offer any solutions or work arounds?

Goal: Using Swing client to connect to a variety of
JDBC databases via RMI dynamically....Actually what u want from the client swing is to form a Form using the datamodel from the database, invoke query as the client is allowed and wants and update changes. I hope I got it right, thats what u want.
Actually as per my knowledge goes thats what any Database 3-tier program should do.
I have a working client-server application using RMI
to connect to a single database. I want the ability
to create JDBC connections dynmically by invoking a
RMI method after it has been bound. Presently
I am getting null pointers. Anybody offer any
solutions or work arounds?Database connections are only needed as long as the query to the database are being processed. So for ur solution if u have a RMI method that, will invoke first, the database connection and then process the query and then disconnect it , would be enough. When multiple clients will call the method there will be multiple connections to the database as they can have threads working or if u want one process at a time u can sycronize the method. This RMI method will only return the result set of the query and that would be enough for ur solution. Now to be able to say why ur getting null pointers I would need the code u r using.

Similar Messages

  • Unable to create a secure connection to this serve...

    Hello,
    When i try to connect Turkish free wireless network TTnet Wifi, i am having "unable to create a secure connection to this server" error. The network connection trying to open an https log in page to connect internet. (in normally after the push connect button on that page, the network connection becomes available for internet.) All notebook and iphone or other mobile / computer devices can connect to internet with this network, but not nokia 5800 (and maybe other nokia devices with same browser)
    I have tried with other browsers like skyfire or opera but no luck because after the connect ttnet wifi network, device opens default browser for log in page, and it gives error. I have also tried wefi too.
    I think there is a bug or missing features with default browser. If you have any comments or suggestions please write.
    Thanks.

    I have tried to change default browser from default apps. but no chance, it shows only WEB for browsers, but i have all browsers installed (opera, opera mini, skyfire etc...) isnt there any chance to change default browser?

  • Cant create JDBC Connections in RMI Server

    I am having a pretty weird problem which I am struggling with for the last three days. In the main method of the Server object, following three things are supposed to happen:
    1) Creation of a JDBC Connection
    2) Creation of a Remote Object and then publishing the same to Registry.
    3) Creation of another JDBC Connection (exactly same as in step1)
    step 1 and 2 successfully executes and the third one always errors out. I just simply get a NullPointerException.
    If I comment out step 2, step 3 executes successfully. Can someone please tell me the mystery? I need your response really urgently so please help me.
    TIA
    Code Snippet:
     public static void main(String[] args) {
      System.setSecurityManager(new RMISecurityManager());
      try {
       Properties dbProps = new Properties();
       dbProps.put("user", "SDAWOODI");
       dbProps.put("password", "SDAWOODI");
       java.sql.Connection connection =    java.sql.DriverManager.getConnection("jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV", dbProps);
      catch (Exception sqle) {
       System.out.println("[11111]"+sqle.toString());
      Properties props = new Properties();
      props.put("java.rmi.server.codebase", rmiCodeBase);
      System.setProperties(props);
      try {
       SchedulerRImpl schedulerR = new SchedulerRImpl(ssce_sch1);
       String nameStr = "s-sce-scheduler";
       try {
        Naming.bind(nameStr, schedulerR);
        if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler bound with RMI registry!!!");
       catch (AlreadyBoundException abe) {
        if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler is already bound with RMI registry ... trying RE-bind ...");
        try {
         Naming.rebind(nameStr, schedulerR);
         if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Scheduler RE-bound with RMI registry!!!");
        catch (Exception e) {
         if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] Rcheduler RE-binding failed :(((");
      catch (Exception e) {
       if (Scheduler.m_debug_flag) System.out.println("[Scheduler.main] SchedulerR instantiation failed:((( : "+e.toString());
      Properties dbProps2 = new Properties();
      dbProps2.put("user", "SDAWOODI");
      dbProps2.put("password", "SDAWOODI");
      try {
       java.sql.Connection connection2 = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV", dbProps2);
       if (connection2==null) {
       System.out.println("connection is NULL");
      else {
       System.out.println("connection is NOT null");
     catch (Exception sqle2) {
      System.out.println("[22222]"+sqle2.toString());
    }

    In reply to reply #4:
    You can also quote the other part of my reply when it comes to snippets. There are so many pieces of code missing from your snippet that I simply cannot guess what is wrong. (Please do not put your entire class structures here.)
    We get connections in many different classes at many different times. It is after all an application that does user work and the user work involves database accesses. Some of those accesses are before RMI (to establish repositories, etc). Most are after.
    This URL (jdbc:oracle:thin:@wonder.cisco.com:1521:ODSDEV) appears to use a network connection (yes?). Is the 1521 a port? Are you trying to reuse this port? (the first conn uses the same URL). What port does RMI use?
    There is nothing in your snippet that stands out obviously as "this is wrong".
    RMI uses networking. JDBC uses networking.
    Try substituting some other networking code in place of the RMI code and see if you still get a null trying the second connection. As you say, if you leave out the RMI code the second get.conn works.
    Try leaving out the first get.conn. Do the RMI and second get.conn.
    Try this and try that and try some more. I once had this problem with a network printer that would not print. The code was fine. The URL was fine. The response from the network and printer were both fine. The damn thing just wasn't printing. Turns out there was this bit, yes a single bit, in one word of a property called the "start print bit". If this bit wasn't on, nothing happened. I tried every combination until I finally found it.
    I wish you the best.

  • Unable to create BI JDBC connection in JDeveloper

    I'm trying to follow the steps in http://docs.oracle.com/cd/E28271_01/bi.1111/e10545/sql_bi_view_object.htm#BHAFJIHC to create JDBC connection. But when I click on Test, it shows Working.. and never returns with success or failure messages.
    username: morgan.zu
    password: Welcome1
    BI Server Hostname: slcae097.us.oracle.com
    BI Server Port: 10217
    Meanwhile, I'm able to connect to http://slcae097.us.oracle.com:10217/analytics/ using the above credential. Any idea why it doesn't work in JDev?
    Thanks,
    Jing

    How about Oracle BI EE extensions? as mentioned in below link?
    http://docs.oracle.com/cd/E28271_01/bi.1111/e10545/sql_bi_view_object.htm#BHADFIIB

  • Unable to create a secure connection from N-8

    HI,
    When i try to enter to url https://icfescorreo.icfes.gov.co/owa from my nokia n8 i have the follow message:  "Unable to create a secure connection to this server".  But my coworker don't have problem from his nokia c3 to enter this url.
    Which is the problem? i installed the autosigned ssl certificate from this site but don't work.

    I have tried to change default browser from default apps. but no chance, it shows only WEB for browsers, but i have all browsers installed (opera, opera mini, skyfire etc...) isnt there any chance to change default browser?

  • Adapter Framework unable to create outbound JCA connection

    Hi All,
    I have a requirement in which I have to send a request from Siebel to SAP & get a response from it.
    I have deployed my process on Oracle AS BPEL console.
    When I try to initiate my deployed process I get below mentioned error.
    <summary>
    http://127.0.0.1:8888/orainfra/wsil/adapters/applications/GetDetail_invoke.wsdl?wsdl [ GetDetailPortType::GetDetail(input_GetDetail,output_GetDetail) ] - WSIF JCA Execute of operation 'GetDetail' failed due to: Adapter Framework unable to create outbound JCA connection.
    http://127.0.0.1:8888/orainfra/wsil/adapters/applications/GetDetail_invoke.wsdl?wsdl [ GetDetailPortType::GetDetail(input_GetDetail,output_GetDetail) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: javax.resource.spi.EISSystemException: IWAFManagedConnectionFactory:Exception javax.resource.ResourceException: Problem activating adapter. (JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [D:\product\10.1.3.1\OracleAS_1\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\product\10.1.3.1\OracleAS_1\opmn\bin;D:\product\10.1.3.1\OracleAS_1\opmn\lib;D:\product\10.1.3.1\OracleAS_1\bin;C:\WINDOWS;C:\WINDOWS\system32]). Check logs for more information
    ; nested exception is:
         ORABPEL-12511
    Adapter Framework unable to create outbound JCA connection.
    http://127.0.0.1:8888/orainfra/wsil/adapters/applications/GetDetail_invoke.wsdl?wsdl [ GetDetailPortType::GetDetail(input_GetDetail,output_GetDetail) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: javax.resource.spi.EISSystemException: IWAFManagedConnectionFactory:Exception javax.resource.ResourceException: Problem activating adapter. (JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [D:\product\10.1.3.1\OracleAS_1\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\product\10.1.3.1\OracleAS_1\opmn\bin;D:\product\10.1.3.1\OracleAS_1\opmn\lib;D:\product\10.1.3.1\OracleAS_1\bin;C:\WINDOWS;C:\WINDOWS\system32]). Check logs for more information
    Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
    </summary>
    I have installed Oracle Adapter 10.1.3.1 on Oracle SOA Suite 10.1.3.1 & then upgraded my SOA Suite to 10.1.3.3.
    Its a very critical issue.
    Please help me out of it.
    Thanks & Regards,
    Shanty

    I have resolved this error.
    If you are facing the same error then follow the following steps:
    1. Shutdown the Oracle SOA Suite.
    2. Copy sapjcorfc.dll into C:\WINDOWS\system32
    3.Edit oc4j-ra.xml located at below locations
    a. OracleHome\j2ee\home\application-deployments\default\jca-app-adapter
    b. OracleHome\j2ee\home\connectors\jca-app-adapter\jca-app-adapter\META-INF
    by editing the values
    <config-property name="AdapterName" value="SAP"/>
    <config-property name="Config" value="SAP_Target_You_Have_Created_in_iaexplorer"/>
    Cheers,
    Shanty

  • Unable to create a Service Connection Point

    Hi -
    I set up a new SharePoint 2013 environment.  Everything installed successfully.  When I launch Central Admin, it doesn't accept my logon ID/password.  I found the following in the application event logs.    I assume our AD guys will
    need to set up a new SCP as pointed out here:   http://technet.microsoft.com/en-us/library/ff730261.aspx
    I just don't recall having to ever do this before in any of the dozen or environments that I had set up.   
    Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
     Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=cprt,DC=adt,DC=net doesn't exist in the directory.
       at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
       at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.ProvisionAdminVs()
    By the way, when I tried to run PowerShell to create the Admin Content DB, I got this error, even though the install account has sysadmin privileges on all databases: 
    New-SPConfigurationDatabase : Cannot connect to database master at SQL server
    at SP2013Server -AdministrationContentDatabaseName. The database might not
    exist, or the current user does not have permission to connect to it.
    At line:1 char:1
    + New-SPConfigurationDatabase -DatabaseName SharePoint_Config -DatabaseServer
    VMRS ...
    I just went ahead and then ran the Product Config Wizard and it set up everything fine.  Some folks were able to resolve by running config wizard twice? 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/6ae61eb1-9405-4421-9bc7-a0037f4ec29b/sp1-upgrade-failure-service-connection-point?forum=sharepointadminprevious

    Hi,
    According to your post, my understanding is that you were unable to create a Service Connection Point.
    To resolve the “Unable to create a Service Connection Point in the current Active Directory domain”
    error, you need to make sure you have permission to write to this container.
    “You have to grant permission to write to this container to any user accounts or domain accounts that could run the SharePoint Products
    Configuration Wizard. If the account does not have permission to write to this container, the following warning will appear in the log file for the SharePoint Products Configuration Wizard:  Unable to create a Service Connection Point in the current Active
    Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.”
    http://technet.microsoft.com/en-us/library/ff730261.aspx
    The “New-SPConfigurationDatabase : Cannot connect to database master at SQL server”
    error is a common issue and has various resolutions.
    More often than not it is a firewall issue on the SQL server so check that OR it's that SQL server has not been enabled for remote connections.
    I would recommend you follow all the steps and options in
    Cannot connect to database master at SQL server
     and
    SharePoint Install – Cannot connect to database master.
    More information:
    Configuring Service Connection Points for SharePoint 2013:
    http://onpointwithsharepoint.blogspot.in/2013/06/configuring-service-connection-points.html
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Unable to create the JCO connections in webdypro (JAVA) No SLD Connection

    HI All,
    In webdynpro i am unable to create standard JCo connections. create Jco connections and Maintain Jco COnnections are disabled. when i click any of the standard content of the Jco connections it displays error message No sld check. But SLD is running fine. I have checked in Visual Admin there also SLD supplier is running fine.
    But i am unable to create or maintain the Standard content of the JCo Destinations.
    Thank You,
    Mahesh C

    Hi ,
    I am having all admin rights. And also i have checked in Check SLD Connection. It showing the error connection to SLD Could not opened successfully. But SLD is running fine and i have checked in Visual admin SLD datasupplier is running fine.
    When i check in the log of the SLD there it is showing
    #2852 11/18/2008 18:27:18.265 [SAPEngine_Application_Thread[impl:3]_29] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors.
    Thrown:
    com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.
    Is that i need to change the CIM content?
    I could not able to get clue on this.
    Thank You,
    Mahesh C

  • Unable to create SASL client connection for authentication mechanism [PLAIN

    I have problem to use dscc to admin my ds/dps servers, since I the dscc can't contact dscc agent. Though the agent is running on the default port number with network-bind-port of 0.0.0.0, there is nothing I can do to fix it.
    I debug the problem, and found following errors in server.log under dscc (deployed on SUN AS 8.2):
    Message: Unable to create SASL client connection for authentication mechanism [PLAIN]|#]
    [#|2007-08-21T15:28:40.252-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.SASLClientHandler.initialize(SASLClientHandler.java:124)|#]
    [#|2007-08-21T15:28:40.253-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.AdminClient.connectionOpen(AdminClient.java:131)|#]
    [#|2007-08-21T15:28:40.254-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.connect(ClientSynchroMessageConnectionImpl.java:71)|#]
    [#|2007-08-21T15:28:40.256-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.generic.GenericConnector.connect(GenericConnector.java:177)|#]
    [#|2007-08-21T15:28:40.257-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.jmxmp.JMXMPConnector.connect(JMXMPConnector.java:119)|#]
    [#|2007-08-21T15:28:40.258-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)|#]
    [#|2007-08-21T15:28:40.260-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getJmxConnector(NquickClient.java:816)|#]
    [#|2007-08-21T15:28:40.261-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnector(NquickClient.java:519)|#]
    [#|2007-08-21T15:28:40.262-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnectorSystemAuthentication(NquickClient.java:314)|#]
    [#|2007-08-21T15:28:40.263-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool.getSyncServerMBean(NquickPool.java:435)|#]
    [#|2007-08-21T15:28:40.264-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool$1.run(NquickPool.java:320)|#]
    [#|2007-08-21T15:28:40.271-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | java.lang.Thread.run(Thread.java:534)|#]
    [#|2007-08-21T15:28:40.289-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageTitleAlertAndText | Node has no attributes.|#]
    [#|2007-08-21T15:28:40.293-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageActions | Could not obtain pageactions element.|#]
    [#|2007-08-21T15:28:40.295-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageViewsMenu | Could not obtain pageviews element.|#]
    Please help if you could figure out what's going on. Thanks!

    Bug ID: 6551672
    Synopsis: SunAS claims "Unable to create SASL client conn for auth mechanism" and do not talk to Cacao
    Work Around:
    Work arround:
    Change the JVM of used by App Server.
    Edit the file:
         /usr/appserver/config/asenv.conf
    and replace
         AS_JAVA="/usr/j2se"
    by
         AS_JAVA="/usr/java"
    Then restart your AS domain.

  • Possible Solution - Unable to create a secure connection in Windows 7

    Issue: I was unable to create a secure connection to the iTunes store from iTunes, and got a message recommending I check my date and time settings. My date, time, and time zone settings were correct, and iTunes was allowed through Windows firewall. I had no other connection issues.
    Affects: iTunes Store on Windows 7, and possibly Windows Vista, when running Windows Firewall
    Solution: In the Windows Firewall exceptions page (Allow a program through Windows Firewall), there were two entries for iTunes. One allowed iTunes through my private network, and the other through public networks. After I deleted the entry that allowed public networks, I was able to connect. If you have tried everything else and still can't connect to the iTunes store, make sure there is only one entry for iTunes in Windows Firewall.

    try this..
    REP-118: Unable to create a temporary file.
    Case 1: The environment variable that determines in what directory to create temporary files is set to an invalid directory.
    Case 2: There is not enough free space on the disk to create the temporary file.
    Case 3: A temporary file that cannot be modified already exist
    In regedit under branch hkey_local_machine/software/oracle/<oracle home> 
    I have changed the variable REPORTS_TMP. I changed the value for this to c:\reports_tmp
    or you can use something like this where you want Oracle reports to create temp files. Hope this helps

  • Can not deploy a report using JDBC connection on CR2008 Server

    Hi Group,
    I have a report created with JDBC connection. When I tried to add it to CR2008 server, it gives an error - "An unexpected error has occurred ". Basically I want to add a report to a public folder via CMC. I am using adminstrator account.
    Then I thought I need to add JDBC driver into CR2008 server. so I put oracle jdbc jar into CR2008 server classpath and add JDBC connection info into CRConfig.xml. but I still got the same error.
    I also tried:
    - Change the report to use native Oracle driver rather than JDBC. The deployment succeeded (but this is not what I want)
    - Add a data source connection via Business View Manager, but no luck.
    I know how to use/change jdbc connection with programtic way, but I just want to know if I want to use built-in components in CR2008 server without any coding the reports can be deployed and managed.
    Thanks in advance.
    Dennis

    Hello Will,
    Crystal Reports supports connections to JDBC/JNDI out of the box, and have done so for a while, whether stand-alone or published to Enterprise.
    To specify where the server would search for the JDBC driver jar files, you'd change the classpath tag found in the CRConfig.xml file found on the machine where the Crystal Reports Page or Job Server is running. 
    For early Crystal Enterprise 10 and before, it used Java Native Interface (JNI) to start the Java process to retrieve the data from the JDBC connection.
    For later Crystal Enterprise 10 and later, it starts off a "Java Server" process, and communicates to the Crystal Reports process via CORBA TCP/IP connection.
    Commonissues that may arise:  (1) CRConfig.xml not configured properly, (2) unable to start or communicate to the "Java Server" because of permissions or firewall.
    Note that this is a separate connectivity map from using ADO or ADO.NET.
    Sincerely,
    Ted Ueda

  • I can no longer access facebook from my macair and when i try the following error message appears "unable to establish a secure connection to the server.

    I have had no issue accessing Facebook in the past using my MacAir.  Last night each time I would try and access the page, an error message would appear, saying that unable to establish a secure connection to the server "www.facebook.com"".  The problem continues this morning.  I have not updated any software or made any changes.  One minute it was working, the next it was not.  I do not have any parental controls; I have deleted the cookies; and I have reset safari.  I can access all other websites that I have tried.  I am using Version 6.0.4.

    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:  Remove All Website Data
    Then delete the cache.
    Now open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If nothing above helped, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, restart your internet modem and router.  Then quit and relaunch Safari and try Facebook.

  • Unable to create an instance of the Calendar Server after installation

    After installing Calendar Server, I am unable to create an instance of the
    Calendar Server. Instead, I receive the following error:
    <P>
    Error: "Authentication Credentials could not be obtained from the
    Admin Server"
    Check the /users/unison/misc/unison.ini
    file, under the
    [LDAP] section, to
    verify that the correct LDAP host and baseDN are set. The settings
    should appear as follows:
    <P>
    [LDAP]
    basedn=<I>YourBaseDN</I>
    host = <I>YourHostname</I>
    port = <I>Port</I>

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • Creating dynamic jdbc pools in WLS 5.10

    Looking for pointers and/or sample code for creating dynamic connection pool using weblogic 5.10 SP9.
    We are using oracle jdbc thin drivers

    http://www.weblogic.com/docs51/classdocs/conn_pools.html#638923
    Mehul Parikh wrote:
    Looking for pointers and/or sample code for creating dynamic connection pool using weblogic 5.10 SP9.
    We are using oracle jdbc thin drivers

  • APEX fails with Java stored procedure that creates a JDBC connection

    Hello!
    We are facing a strange problem since we have upgraded from Oracle 10g and Apache to Oracle 11g with Embedded Gateway.
    Here is what we do:
    ** APEXX calls a PL/SQL package function "OPEN_CONNECTION" that wraps a Java stored procedure called "openConnection".*
    FILE_READER_REMOTE_API.openConnection(user, password, host, port, service);
    ** The Java stored procedures "openConnection" opens a JDBC connection to an other database:*
    public class FileReaderRemote {
    private static Connection conn = null;
    private static DefaultContext remoteContext = null;
    public static void openConnection(String user, String password, String host, String port, String service) throws SQLException {
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    java.util.Properties props = new java.util.Properties();
    props.put ("user", user);
    props.put ("password", password);
    //props.put ("database", "//" + host + ":" + port + "/" + service);
    props.put ("database", host + ":" + port + ":" + service);
    props.put("v$session.program", "FileReaderRemote2");
    // Connect to the database
    remoteContext = Oracle.getConnection("jdbc:oracle:thin:", props);
    This procedure used to work fine before the upgrade, but now we see the following:
    * It still works when called directly from TOAD or SQL*Plus, even under the user ANONYMOUS.
    * When called from APEX and the target database is Oracle 11g, it still works.
    * When called from APEX and the target database is Oracle 10g, it takes several minutes and we receive this error:
    *"Socket read timed out"*
    We have tested the following workaround:
    We have created a database link to our own database and called the stored procedure through that database link.
    FILE_READER_REMOTE_API.openConnection*@loopback*(user, password, host, port, service);
    This works, but is not really an option.
    I hope some one of you can explain this strange behaviour to me.
    Best regards,
    Matthias

    You wrote
    "Java stored procedures -- by definition - are stored in the 8i rdbms. !!"
    From the Oracle8i Java Stored Procedures Developer's Guide
    Release 8.1.5
    A64686-01
    "If you create Java class files on the client side, you can use loadjava to upload them into the RDBMS. Alternatively, you can upload Java source files and let the Aurora JVM compile them. In most cases, it is best to compile and debug programs on the client side, then upload the class files for final testing within the RDBMS"
    This means that you can create shared classes that are used on both the client and server side. The source does not need to reside within the server (according to their documentation). Please also note the following from the Oracle8i JDBC Developer's Guide and Reference Release 8.1.5 A64685-01 for using the getConnection() method on the server:
    "If you connect to the database with the DriverManager.getConnection() method, then use the connect string jdbc:oracle:kprb:. For example:
    DriverManager.getConnection("jdbc:oracle:kprb:");
    Note that you could include a user name and password in the string, but because you are connecting from the server, they would be ignored."
    So if you're coding a shared class that is to run on both the client and server side, you might do something like this:
    Connection conn =
    DriverManager.getConnection(
    System.getProperty("oracle.server.version") == null
    ? "jdbc:oracle:thin:@hostname:1521:ORCL"
    : "jdbc:oracle:kprb:"),
    "youruserid","yourpassword");
    As stated earlier, the userid and password are supposedly ignored for server connections retrieved in this manner. I haven't tried this yet, but it is documented by Oracle.
    Regards,
    Steve
    null

Maybe you are looking for

  • Error while posting 561 Document

    Dear All             Error while posting document with movement 561. "Account Determination for entry 999 BSA 6000 not possible." Even OBYC setting for that valuation class already assigned. please advice. Regards Kumar.

  • How do i resume a download without a resume button on the purchase section of the app store

    i downloaded a few apps. for some reason they all paused. and i cannot for the life of me figure out how to resume them. could someone possibly help me out

  • Is this a bug in the JDK1.3.1 ?

    I get this error while using this method generated under forte 3.0 CE try {             jInternalFrame1.setIcon(false);         } catch (java.beans.PropertyVetoException e) {             e.printStackTrace();         }java.lang.NullPointerException at

  • When does a selection in a text field in a Finder window lose focus?

    Hello, this problem has emerged on account of an Applescript file that needs to access a text selection (portion of a filename highlighted) in an open Finder window. The bare minimum code to demonstrate the problem is this: *tell application "System

  • Changing TV Apple TV is Connected to?

    I am considering getting an Apple TV unit. Can I move the unit from TV to TV in my house? Also, could we bring it with us to a hotel and stream Netflix?