NullPointerException in Nokia when creating socket connection

I need a socket connection, The following code works well in simulators.
But in my nokia it throws a NullPointerException,
st.setText("Trying To Connect");
try{
client = (StreamConnection)Connector.open("socket://example.com:6040",Connector.READ_WRITE,true);
st.setText("Connection Estableshed");
is = client.openInputStream();
rt = new ReaderThread(this,is);
rt.start();
os = client.openOutputStream();
wp = new WriterProgram(os);
}catch(IOException ex){
st.setText(st.getText()+ex.getMessage());
I can see "Trying to connect".
But I never see "Connection Established".
NullPointerException thrown says nokia.

Hi,
     If all the users belong to the same role (like all users are Publishers or Writers), then, you can send a single connection key for all the users. But, if users belong to different roles, then, you will have to create connection keys for each role and then send it to the users.
Hope this helps.

Similar Messages

  • Timeout when creating socket in EJB

    What is the best way to solve the problem when creating sockets and being dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds. But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in EJB's...
    Dows anyone have a solution for this?
    Mala

    Hello Tor,
    Try the following:
    Socket s = new Socket();
    s.connect(socketAddress, timeOut);
    These features are available in J2SE 1.4 and above.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Tor Mala" <[email protected]> wrote:
    >
    What is the best way to solve the problem when creating sockets and being
    dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds.
    But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in
    EJB's...
    Dows anyone have a solution for this?
    Mala

  • Creating socket connection error

    My problem is when I have router in local host, my client works fine, but when I move router to an other computer, then creating topic connection gives me error like: error creating socket connection to 127.0.0.1:14001, message: Connection refused: no further information
    (I use port 14001, in local host it works). Why does it dry to connect to localhost? If I put up router in localhost too, it starts sending messages to this one!?
    Anyway maybe this problem might have something to do with changeing the router version (swiftmq1.0 to 2.1.2)?
    Could anyone help me with this one, I'm in big hurry, router and client should work on monday :-(
    Thank You!

    Thanx 4 answer :) neville
    I have the answer allready - just I had to add 1 row in routers properties file, like:
    swiftlet.sys$jms.listeners.plainsocket.bindaddress=192.168.0.1
    It was in the SwiftMQ documentation, but I was to lazy to read all of it. My fault.
    But thanks again for trying to help! And I WILL read that jndi doc.

  • Error while obtaining JCO connection when creating JCO connection

    Hey,
    im having a problem when creating a JCO connection in the Web Dynpro Content Administrator.  Creating the Modeldata (Application Data Data type) JCO Worked but when creating the JCO for the RFC Metadata (Dictionary Meta data) there is a problem:
    In step 3.2 Msg server connection I cannot specify a system name and logon group, only the message server can be selected with the dropdown box.
    After pushing the finish button i get the following stacktrace:
    Failed to create new JCO client connection WD_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150) at
    com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:356) at
    com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at
    com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at
    com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
    com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at
    com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at
    com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649) at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59) at
    com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248) at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154) at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116) at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at
    com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at
    java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95) at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160) Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for WD_RFC_METADATA_DEST at
    com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:664) at
    com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:508) at
    com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248) at
    com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:222) at
    com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:101) at
    com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:148) ... 30 more Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:558) ... 35 more
    We are running WebAS 640 SP 14 on Unix.
    Greetings,
    Hannes
    Message was edited by: Hannes Defloo

    Hi
      Please configure your SLD. Your SLD holds the system definition. Define a SAP WebAS abap system and then try to create a Metadata connection using WebDynpro content administrator. Now you will be able to see the msg server defined in the dropdown. Also ensure that you have the message server entry in your services file.
    Refer these links for SLD
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/dc37520bdf4b48bb8f6d4329f073d5/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/24/8fa93e08503614e10000000a114084/content.htm
    Hope that helps.
    regards
    Ravi

  • Weird OCCI crash when creating a connection

    Hi Forum Users,
    I wonder if anyone experienced weird occassional crashes deep inside the OCCI / OCI like the one described below, and have any clues how to avoid them?
    I work in a environment where my backend server connects to a load-balanced cluster built on Oracle 11.
    The server uses OCCI to connect to that cluster, the connection is resolved by service name and tnsnames.ora. The OS is RHEL5.2 running on kernel 2.6.18-92.el5 #1 SMP.
    The Oracle version is: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    My server uses libraries (an excerpt from ldd's output):
    libclntsh.so.11.1 => /(...)/lib/oracle_v11.1/instantclient/lib/libclntsh.so.11.1 (0x00002b4e793a8000)
    libnnz11.so => /(...)/lib/oracle_v11.1/instantclient/lib/libnnz11.so (0x00002b4e7b94a000)
    libocci.so.11.1 => /(...)/lib/oracle_v11.1/instantclient/lib/libocci.so.11.1 (0x00002b4e7bd9d000)
    libociei.so => /(...)/lib/oracle_v11.1/instantclient/lib/libociei.so (0x00002b4e7bfcd000)
    Normally the server runs fine, connecting to the database every couple of minutes.
    Occassionally however, I see crashes deep inside the OCCI while creating a connection; all parameters passed to the createConnection are fine, and this crash occurs usually after a couple of days of running and hundreds of connections made; the server is a multi-threaded application so the Oracle environment object is created with the THREADED_MUTEXED type. But threads do not contribute to the issue as I have once seen the same crash at the very beginning, with the 1st connection, when there were no threads yet.
    The pattern for the crash is always the same, and the application logs the parameters used in a call to createConnection before calling it and they are always OK.
    Nevertheless I made several tests, passing garbage there and it never gave a crash - always an error message (even tried messing the string and using a deleted environment - always without a crash).
    Weird thing is it happens so deep in the call chain, that's why I kind of doubt it is my server's failure.
    Now the crash stack trace:
    (signal handler calls stripped; sorry for the formatting, it's the only one I have - taken from the Oracle incident report of the ADR DIAG feature; best copy & paste to an editor that uses fixed-width font):
    000000365FE0DE70 call skgesig_sigactionHa 00000000B ? 04355ABF0 ?
    ndler() 000000000 ? 2AAAAC0E5BC0 ?
    000000000 ? 000000000 ?
    memcpy()+210 signal 000000365FE0DE70 01EED7F50 ? 2AAB300BB000 ?
    000000130 ? 000000000 ?
    000000011 ? 000000000 ?
    intelfast_memcpy. call memcpy() 000000029 ? 2AAB300BB000 ?
    A()+6 000000130 ? 000000000 ?
    000000011 ? 000000000 ?
    nsdo()+1296 call intelfast_memcpy. 000000029 ? 2AAB300BAF00 ?
    A() 000000130 ? 000000000 ?
    000000011 ? 000000000 ?
    nscon()+2104 call nsdo() 2AAB300BAF00 ? 000000000 ?
    2AAB300BAF00 ? 04355FF98 ?
    04355ED2C ? 000000002 ?
    nsdo()+1585 call nscon() 01EF74878 ? 000000043 ?
    2AAB300BAF00 ? 04355FF98 ?
    000000011 ? 2B5700000000 ?
    nsfull_sd()+47 call nsdo() 01EF74878 ? 000000043 ?
    2AAB300BAF00 ? 04355FF98 ?
    04355FF20 ? 000000000 ?
    nssend()+95 call nsfull_sd() 01EF74878 ? 2AAB300BAF00 ?
    04355FF20 ? 04355FF98 ?
    000000000 ? 000000000 ?
    nscall2()+185 call nssend() 01EF74878 ? 000000000 ?
    04355FF20 ? 04355FF98 ?
    000000011 ? 000000000 ?
    nsevdcall()+431 call nscall2() 01EF74878 ? 000000000 ?
    000000000 ? 04355FF98 ?
    000000000 ? 000000000 ?
    nsevrec()+747 call nsevdcall() 01E07A240 ? 2AAB3009BBC0 ?
    043560F58 ? 000000000 ?
    01EF748F0 ? 000000000 ?
    nsevwait()+3111 call nsevrec() 01E07A240 ? 2AAB3009BBC0 ?
    000000020 ? 043561988 ?
    000000011 ? 100000000 ?
    nsevwtsg()+3185 call nsevwait() 01E07A240 ? 043561980 ?
    043561988 ? 000000000 ?
    000000000 ? 100000000 ?
    niotns()+5611 call nsevwtsg() 000000000 ? 01EF74878 ?
    12200000000 ? 000000000 ?
    000000000 ? 100000000 ?
    nigcall()+57 call niotns() 0435645E8 ? 000000000 ?
    2B571C1444A0 ? 000000FA0 ?
    01E1E2DE8 ? 01E1DEF58 ?
    osncon()+1106 call nigcall() 0435645E8 ? 000000000 ?
    2B571C1444A0 ? 000000FA0 ?
    01E1E2DE8 ? 01E1DEF58 ?
    kpuadef()+55 call osncon() 0435645E8 ? 000000000 ?
    2B571C1444A0 ? 000000FA0 ?
    01E1E2DE8 ? 01E1DEF58 ?
    upiini()+779 call kpuadef() 0435645E8 ? 000000000 ?
    2B571C1444A0 ? 2B571C1444A0 ?
    000000FA0 ? 0435645E8 ?
    upiah0()+36 call upiini() 000001803 ? 01EECEED8 ?
    000000122 ? 000000000 ?
    01E20CC90 ? 000000001 ?
    kpuatch()+1399 call upiah0() 000001803 ? 01EECEED8 ?
    000000122 ? 000000000 ?
    01E20CC90 ? 000000001 ?
    kpuspsessionget()+2 call kpuatch() 01E1DEDD8 ? 01E1ED348 ?
    539 01E5C7098 ? 000000000 ?
    000000000 ? 000000000 ?
    OCISessionGet()+280 call kpuspsessionget() 01E20CB80 ? 01E1ED348 ?
    01E50A6F0 ? 01E25F858 ?
    01E5C7098 ? 00000000A ?
    _ZN6oracle4occi14Co  call     OCISessionGet()      01E20CB80 ? 00000000A ?
    nnectionImpl14openC 1E25F85800000000 ?
    onnectionEP6OCIEnvP 000000000 ? 01E5C7098 ?
    8OCIErrorPvjS6_jS6_ 00000000A ?
    jS6_jjS6_jNS0_10Con
    nection6PurityE()+1
    012
    ZN6oracle4occi14Co  call     ZN6oracle4occi14Co 00000000A ? 01E20CB80 ?
    nnectionImplC9EPNS0 nnectionImpl14openC 01E1ED348 ? 01EF740A8 ?
    _15EnvironmentImplE onnectionEP6OCIEnvP 00000000B ? 01E60EE38 ?
    RKSsS5_S5_()+295 8OCIErrorPvjS6_jS6_
    jS6_jjS6_jNS0_10Con
    nection6PurityE()
    ZN6oracle4occi14Co  call     ZN6oracle4occi14Co 01E50A6D8 ? 01E60EE38 ?
    nnectionImplC1EPNS0 nnectionImplC9EPNS0 00000000B ? 01E5C7098 ?
    _15EnvironmentImplE _15EnvironmentImplE 043569E80 ? 01E60EE38 ?
    RKSsS5_S5_()+6 RKSsS5_S5_()
    ZN6oracle4occi15En  call     ZN6oracle4occi14Co 01E50A6D8 ? 01E50A7A0 ?
    vironmentImpl16crea nnectionImplC1EPNS0 00000000B ? 01E5C7098 ?
    teConnectionERKSsS3 _15EnvironmentImplE 043569E80 ? 01E60EE38 ?
    S3()+111 RKSsS5_S5_()
    (some application code follow)

    I am seeing the exact same behavior. Did you get a solution / explanation to your problem?
    Please respond

  • Error when creating Pool Connection

    "Hi,
    I have reviewed a lot of postings for this type of error and nothing mentioned in replies have helped me to get over this issue.
    I am trying to create a pool via the admin console in WL6.0sp1. Using Oracle Thin driver. The config information is as follows:
    Name: MydbPool
    url: jdbc:oracle:thin@pavilion:1521:star
    driver classname: oracle.jdbc.driver.OracleDriver
    Properties: user=bentley; password=flyaway
    Initial Capacity: 1
    Max Capacity: 2
    When I startup WL, I get the following error message:
    <Nov 28, 2001 1:36:21 AM EST> <Error> <JDBC Connection Pool> <Cannot startup con
    nection pool "MerlinJdbcPool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid Oracle URL specified: OracleDriver.connect
    My PATH is defined as:
    PATH=F:\oracle\ora81\lib;f:\oracle\ora81\jdbc\lib;f:\jdk1.3.1_01\bin;F:\oracle\o
    ra81\bin;f:\Program Files\Oracle\jre\1.1.7\bin;D:\WINNT\system32;D:\WINNT;D:\WIN
    NT\System32\Wbem;f:\Program Files\Symantec\pcAnywhere\;F:\PROGRA~1\SYMANTEC\PCAN
    YW~1\;C:\WINDOWS;C:\WINDOWS\COMMAND
    And my CLASSPATH is defined as:
    classpath=f:\bea2\wlserver6.0sp1\lib\weblogic.jar;f:\oracle\ora81\jdbc\lib\classes12.zip
    And my startWeblogic.cmd file correctly appends %PATH% an

    actually, no, the thin driver reacts badly to being told a server. It tries to
    become the type-2 driver and use the Oracle OCI stuff. If the customer can
    make a standalone program connect to the DBMS with that driver and URL,
    then maybe they need to alter the classpath of the server to have that
    driver come before any weblogic stuff. We ship an older version of the
    driver, and that may be being used because it's ahead in the classpath.
    Joe
    Deepak Vohra wrote:
    >
    Set property
    server=
    in the Properties box.
    Deepak
    Vasu wrote:
    "Hi,
    I have reviewed a lot of postings for this type of error and nothing mentioned in replies have helped me to get over this issue.
    I am trying to create a pool via the admin console in WL6.0sp1. Using Oracle Thin driver. The config information is as follows:
    Name: MydbPool
    url: jdbc:oracle:thin@pavilion:1521:star
    driver classname: oracle.jdbc.driver.OracleDriver
    Properties: user=bentley; password=flyaway
    Initial Capacity: 1
    Max Capacity: 2
    When I startup WL, I get the following error message:
    <Nov 28, 2001 1:36:21 AM EST> <Error> <JDBC Connection Pool> <Cannot startup con
    nection pool "MerlinJdbcPool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid Oracle URL specified: OracleDriver.connect
    My PATH is defined as:
    PATH=F:\oracle\ora81\lib;f:\oracle\ora81\jdbc\lib;f:\jdk1.3.1_01\bin;F:\oracle\o
    ra81\bin;f:\Program Files\Oracle\jre\1.1.7\bin;D:\WINNT\system32;D:\WINNT;D:\WIN
    NT\System32\Wbem;f:\Program Files\Symantec\pcAnywhere\;F:\PROGRA~1\SYMANTEC\PCAN
    YW~1\;C:\WINDOWS;C:\WINDOWS\COMMAND
    And my CLASSPATH is defined as:
    classpath=f:\bea2\wlserver6.0sp1\lib\weblogic.jar;f:\oracle\ora81\jdbc\lib\classes12.zip
    And my startWeblogic.cmd file correctly appends %PATH% an

  • "The key 'LocalizedPerfCounter' does not exist in the appSettings" when creating Socket

    Hi all,
    Some time ago, I've installed the nuGet package for self-hosted signalR applications on a project. Today, I went to start a completely unrelated project, one that does not have that package (or any package at all), and has absolutely nothing to do with owin,
    asp.net, signalR or anything else related to that package.
    Now in this project, when I try to create a Socket, I get an InvalidOperationException: "The key 'LocalizedPerfCounter' does not exist in the appSettings".
    The exception seems to be handled and the program proceeds, but it's annoying.
    Also, I'm seriously concerned. Here I'm not trying to create some arcane ASP.NET thing that calls down into a dozen layers and six different configuration frameworks before actually getting to the TCP stack. I'm doing a plain straight new Socket(AddressFamily.InterNetwork,
    SocketType.Stream, ProtocolType.Tcp).
    How is it possible for a nuGet package that installs unrelated DLLs to another solution entirely to affect something that resides in the basic System.dll? What business does it have interfering with very low-level network calls?

    Hello Zappo,
    For this InvalidOperationException, please check this hotfix to see if you are under those scenario:
    http://support.microsoft.com/kb/2784156
    >> How is it possible for a nuGet package that installs unrelated DLLs to another solution entirely to…
    For this, since it is related with the NuGet, I suggest that you could post it to the NuGet forum,
    https://nuget.codeplex.com/workitem/list/basic
    The current forum is specifical for .NET Framework Class Libraries.
    Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Discuss and ask questions
    about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    Thanks&Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Question about  SAP client setting when create new connection in CR2008

    Dear All,
    I have a question about SAP client setting in Crystal Report 2008 when I try to create a new connection use SAP OpenSQL(SAP Table,Cluster,or Function).
    I have a SAP IDES environment with 5 clients.
    While I try to create a CR standard report use SAP OpenSQL, I entered 800 into Client field in u201CUser logon credentialsu201D. The connection can be created and I can get table list. After I built a report ,I can not get data from IDES client 800, but I can get data from client 000.
    I am sure client 800 has data.I checked client 800 table with Tcord se16.
    I also did other tests and felt confused a lot.
    Even inexistent client, such as u201C00u201Dand u201C8000u201D can be used for creating connection.
    I just want to know how can I get data from client 800.
    Thanks for your kindly help!
    Wayne

    Dear Ingo,
    Thanks for your reply!
    I am not sure about your suggestion clearly. What's your mean all the authorizations to use CR?
    Maybe I should clarify my operations.
    I logon CR2008 as administrator and created two SAP connections with different client.
    There is a table named "/BEV3/CHBALLG" be showed in these connections.
    I checked  clients "000" and "800" both have data in the table.
    I can use client 000 connection create report and get right data, but the report base on client 800 connection could not get data.
    If change to another table,such as "/SAPDMC/LSOFIL", I can get data both form these connections.
    I found one thing is very weird. Client "00" and "8000" do not exist in my IDES environment, but I can use them for creating connection.
    May I have your further suggestions?
    Wayne

  • Crystal Crashes when Creating a Connection to MySQL 5.0 through ODBC

    Post Author: [email protected]
    CA Forum: Data Connectivity and SQL
    I am using a MS Server to run BO Server.  I open Crystal Reports, create a new connection to my MySQL Database through ODBC (that is set up as a System DSN).  After i put in the log in credentials the dang thing crashes... Anyone?

    Now the problem has gone from bad to worse.
    I previously had a connection to my database but just couldn't see the tables.
    Now after I added another user I can't even make a connection. Instead I get an error message that says "An unidentified error has occured"
    My server and database are actually running. I can loginto my database through the MySQL workbench. It says it's running. The apache server also says it's running and if I key in localhost in my internet explorer it says "It works!"
    I have now deleted the new user in MySQL  that I added and now I can't even connect to the database in Dreamweaver.
    Any suggestions?
    Thank you,
    Blain

  • Financial Reporting Error when creating grid/connecting to database

    Hi,
    This is new installation of EMP 11.1.1.2 and we are having issues with FR studio. We can open the studio and create a new report, but when trying to insert a grid we get following error:
    "DatasourceIDLogin.LoadDatasourceNames Error: -2147467259 Error Loading DatasourceList to Repository" from which I cannot get out, I have to shut down FR Studio.
    The only entry in the host file on the client machine I have is for localhost. If I try to add FR server host I get following error:
    "You are not authorized to use this functionality. Contact your administrator"
    Any help i.e. if I need to perform any configuration tasks on the client machine, changes in host files, changes on servers, etc will be very appreciated.
    Thank you.

    Hi,
    Does this prob occur in specific environment or all the three?
    You need to make sure that your print server,web server and report server are configured properly.
    Try to ping each of them and if still the problem persists make an entry in your host file of these servers with their complete names.
    Thanks.

  • When creating a connection key in cs5, does each user need a separate connection key?

    I am setting up multiple users to access a site in contribute (cs5).   Does each user need their own connection key or can 1 key be sent to multiple users?

    Hi,
         If all the users belong to the same role (like all users are Publishers or Writers), then, you can send a single connection key for all the users. But, if users belong to different roles, then, you will have to create connection keys for each role and then send it to the users.
    Hope this helps.

  • Problem when create connection to SQl Server ( charecter set cp1255 not found ))

    Hello my name is Ron ,
    i want to connect to SQL SERVER with the microsoft driver
    from Java ( with jDeveloper ) .
    then i did the following steps:
    1) i download and install the jdbc driver for Sql server
    on my machine ( windows XP with , JDK 1.3 )
    2) i update my classpath with the .Jar lib file of the driver .
    3) when creating the connection
    i'm using the
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    this is Ok , the driver was loaded .
    4) when trying the GetConnction
    Connection conn = DriverManager.getConnection
    ("jdbc:microsoft:sqlserver://server1:1433","username","secret");
    i get the following error:
    [Microsoft][SQLServer 2000 Driver for JDBC]Character set CP1255 not found in com.microsoft.util.transliteration.properties.
    please help me with this . any idea ?
    thanks in advance
    Roni

    Ron,
    Try following this document
    http://otn.oracle.com/products/jdev/howtos/bc4j/bc_psqlserverwalkthrough.html
    from the how-tos archive.
    Also, try to change the compiler encoding to UTF-8. you do this in the project setting window.
    http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode.gif
    http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode2.gif
    good luck

  • SSL and RMI: Client hangs when trying to connect

    Hi all,
    Sorry for the cross-posting (I first posted to the RMI forum) but I thought someone here might be able to shed some light. The original message follows.
    I have a very simple client/server model implemented using RMI. Previously I used the default socket factories for creating sockets/connections and everything worked fine, but now I want to use SSL to encrypt all the traffic and I'm running into some trouble. The client is able to get the correct remote registry on the correct port, but when it tries to do registry.lookup("ServerName") to get a reference to the server object, it hangs indefinitely.
    Briefly, here are the changes from default RMI:
    As the docs suggested, I created a pair of custom socket factory classes (one for the client and one for the server) that create SSL sockets, and I put the following line in my server's constructor:
    super(0, new CustomClientSocketFactory(), new CustomServerSocketFactory());
    [my server extends UnicastRemoteObject].
    The custom factories are quite simple; the client consists of:
    public class CustomClientSocketFactory implements RMIClientSocketFactory, Serializable {
    public Socket createSocket(final String iHost, final int iPort) throws IOException {
    return SSLSocketFactory.getDefault().createSocket(iHost, iPort);
    and the server:
    public class CustomServerSocketFactory implements RMIServerSocketFactory {
    public ServerSocket createServerSocket(final int iPort) throws IOException {
    return SSLServerSocketFactory.getDefault().createServerSocket(iPort);
    Everything else is the same as before. I start the server on the remote machine, which starts its own registry on a certain port; then I start the client on the local machine. The client gets the registry and then ... nothing happens.
    I know this is somewhat vague, but the changes are small from the working code so I must be doing something wrong in creating SSL sockets. Is there something I can do to trace the process or figure out what's causing the hang? Am I missing some required authentication or other code in the server socket factory (my understanding from the docs is that authentication is optional)? Any other ideas about what's going on?
    Thanks,
    - Matt

    Matt, did you ever determine anything about your Strange Behavior #2. I'm running int the exact same issue. We've been using JSSE without problem for more than 2 years now. I'm currently trying to connect to a new SSL server and the connections setup is taking about 4 minutes (not the SecureRandom seeding) (see my comment in the trace: "this is where it sits for about 3 minutes")
    Trace:
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755098 bytes = { 7, 203, 184, 206, 249, 120, 35, 155, 160, 131, 72, 68, 12, 35, 64, 75, 63, 202, 161, 95, 42, 130, 74, 248, 145, 108, 49, 189 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9B DA 07 CB B8 CE F9 78 ...7..<........x
    0010: 23 9B A0 83 48 44 0C 23 40 4B 3F CA A1 5F 2A 82 #...HD.#@K?.._*.
    0020: 4A F8 91 6C 31 BD 00 00 10 00 05 00 04 00 09 00 J..l1...........
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9B .............<..
    0030: DA 07 CB B8 CE F9 78 23 9B A0 83 48 44 0C 23 40 ......x#...HD.#@
    0040: 4B 3F CA A1 5F 2A 82 4A F8 91 6C 31 BD K?.._*.J..l1.
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    !!! This is where it sits for about 3 minutes !!!!
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755287 bytes = { 8, 151, 45, 75, 86, 164, 141, 52, 216, 145, 81, 24, 157, 215, 246, 206, 87, 83, 153, 41, 88, 38, 3, 119, 190, 13, 0, 28 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9C 97 08 97 2D 4B 56 A4 ...7..<.....-KV.
    0010: 8D 34 D8 91 51 18 9D D7 F6 CE 57 53 99 29 58 26 .4..Q.....WS.)X&
    0020: 03 77 BE 0D 00 1C 00 00 10 00 05 00 04 00 09 00 .w..............
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9C .............<..
    0030: 97 08 97 2D 4B 56 A4 8D 34 D8 91 51 18 9D D7 F6 ...-KV..4..Q....
    0040: CE 57 53 99 29 58 26 03 77 BE 0D 00 1C .WS.)X&.w....
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    SbATAOutAdapter, READ: SSL v3.1 Handshake, length = 74
    *** ServerHello, v3.1
    RandomCookie: GMT: 1005755466 bytes = { 145, 7, 69, 98, 152, 52, 222, 159, 96, 162, 220, 85, 77, 107, 82, 203, 25, 94, 208, 124, 2, 245, 96, 208, 224, 254, 139, 206 }
    Session ID: {68, 7, 167, 168, 236, 202, 48, 147, 191, 204, 208, 122, 24, 43, 132, 50, 65, 220, 172, 189, 17, 18, 197, 11, 150, 59, 201, 103, 86, 176, 115, 68}
    Cipher Suite: { 0, 5 }
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    ** SSL_RSA_WITH_RC4_128_SHA
    Anybody have any ideas?
    Thanks,
    Marcel

  • Can't Create TNS-connections for different Oracle Homes

    I've installed Oracle 9.2 client and also the Oracle XE 10g Database on my computer. So there are two files "tnsnames.ora"
    (C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN, C:\Programme\ORA92\network\ADMIN). By creating a new connection with
    "TNS" option there is only the content of the XE-tnsnames.ora file. How can I choose the tnsnames.ora in Oracle 9.2 Home?
    Edited by: @chris on 15.05.2009 15:54
    Is there a preference for SQL-Developer to choose any installed Oracle Client?
    Is there a file where I can configure a different Oracle Client for SQL Developer?
    Remark: My "Windows XP - Path" settings are: C:\Programme\ORA92\BIN;C:\oraclexe\app\oracle\product\10.2.0\server\bin;...
    Edited by: @chris on 03.06.2009 19:12
    No comments since 2 weeks :-(
    So I think there is no possibility to select an installed Oracle client when creating "connections" in SQL Developer.
    Would anybody else like to have this feature in future releases of SQL Developer?
    PS: In "SQL Navigator" (by Quest Software) you can select your Oracle Client when creating a connection.

    I had this same issue only with SSMS 2005 x86.
    I unchecked the "Allow inprocess" and I was able to connect.
    You will need the security "Be made using this security context" with the U/P that you mention
    "+same userid and pwd which I use in SQL* Plus to connect to same oracle database+"
    Hopefully you will get pass that issue. The issue I have now is that I can't do a select on
    one of the linked tables.

  • Establishing Socket Connection to a slow or busy server

    Currently, I'm developing an AIM-based BOT application in Java and it requires establishing a socket connection to their free and public server (host: toc.oscar.aol.com, port: 9898).
    About 75% of the time a connection will be successfully established using this:
    oConnection = new Socket("toc.oscar.aol.com", 9898);
    25% of the time when a connection fails (timeout) is due to the server being too slow or busy to respond to the connection request; however, the server will eventually response within 40 to 60 seconds.
    Let me go into details with my findings when attempting to connect to the slow/busy server:
    For experimental purposes, I used the telnet command (via the DOS command prompt: "telnet toc.oscar.aol.com 9898"), the connection will be established usually within 40 to 60 seconds.
    As I said before, the BOT application is developed in a Java environment and when attempting to establish a connection (using Java's Socket), a timeout exception gets raised when it hits the 20-seconds mark. It tells me that the Java Socket has the timeout defaulted to 20-seconds.
    I am aware that we can define the timeout settings using Socket's "setSoTimeout(x)" method; however, it's only good for AFTER a connection is established.
    Now, to sum up my findings � it clearly shows that the DOS' telnet prompt has longer "wait time" before raising any exceptions. As far as Java Socket is concerned, if a connection is not established within 20 seconds, it raises the timeout exception.
    Is there a way to stretch the "wait time" or "timeout" to be longer than 20 seconds for when a socket connection is being attempted?
    Millions of thanks in advance,
    Chad W. Taylor

    Yes, I also tried that option but no cigar. That
    timeout value is an alternative way of using
    setSoTimeout(int).
    I don't think so.
    First the Java documentation would not make sense:
    public void connect(SocketAddress endpoint, int timeout)
    throws IOException
    Connects this socket to the server with a specified timeout value. A timeout of zero is interpreted as an infinite timeout. The connection will then block until established or an error occurs.
    Parameters:
    endpoint - the SocketAddress
    timeout - the timeout value to be used in milliseconds.
    Throws:
    IOException - if an error occurs during the connection
    SocketTimeoutException - if timeout expires before connecting
    IllegalBlockingModeException - if this socket has an associated channel, and the channel is in non-blocking mode
    IllegalArgumentException - if endpoint is null or is a SocketAddress subclass not supported by this socket
    Since: 1.4
    Second my tests indicate otherwise:
    public class Main {
    public static void main(String[] args) {
    try {
         Socket conn = new Socket();
         conn.connect(new InetSocketAddress(InetAddress.getByName("toc.oscar.aol.com"),9898), Integer.parseInt(args[0]));
         System.out.println("connected under " + args[0] + " seconds");
         conn.close();
    } catch (Exception e) {
         System.out.println("not connected in " + args[0] + " seconds");
         e.printStackTrace();
    Different runs show:
    connected under 120 seconds
    and
    not connected in 20 seconds
    java.net.SocketTimeoutException: connect timed out
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at Main.main(Main.java:21)
    I speculate that the "Connection Request Timeout"
    value is platform dependent because when I use a
    different machine, the request timeout is either
    longer or shorter than 20 seconds.
    That could well be the case.
    So the proper question would be -- where is the Java
    Socket borrowing the timeout value from? The settings
    in Winsock?
    That I don't know.
    Andreas
    Chad

Maybe you are looking for