Thread for a client

I need some quick help, I am changing a program from using sockets to using RMI. How can I accept a connection from a client to assign to a thread. I don't think I explained it well so here's what I am using currently with sockets. I'm new to Java.
private ServerSocket server;
private Socket userA, userB;
server = new ServerSocket(3012);
userA = server.accept(); //How do I to do this with RMI (confused)
userB = server.accept();

RMI is inherently multi-threaded. If twoi users call a remote function, there will automatically be two threads of activity, more-or-less active at the same time.
There is no notion of "connection", and no notion of "accept". If you want these, then you have to write your own - perhaps as synchroinzed methods within the remotely-called server code.

Similar Messages

  • Another process (thread) is applying transactions for this client:

    Has anyone seen this error
    'Another process (thread) is applying transactions for this client: MNEWMAN Try again later.'
    We seem to be getting a few upload transactions put into the error queue for this reason, sometimes just executing the transaction clears it, but more often the data actually looks to have been correctly posted to the server as well as appearing in the error queue, as itf two threads have picked up the same transaction, one has applied it without error and the other failed
    any ideas?

    latest update from Oracle is to
    1.Set MAX_APPLY_TRIES=5
    2.Set APPLY_TRIES_DELAY=10
    Done this, but waiting for sufficient activity to see if it solves the problem.
    I had thought about knocking max_threads down to 1 (and might do this to try and isolate some odd performance issues), but the problem is that this would make the apply and compose process take three times as long (we use 3 threads), and that will not be acceptable for long on the live system

  • Config for Production client

    Dear all,
    I'm a new basis and now I'm working in big project ERP. I have a disturbed about config for Production client.
    In scc4 we must set client role is Production and No change allowed for Objects. But in production some time we need do Open and Close Period, or change following business requirement, ... This is not allowed to do in Production client.
    How do we config for Production client to cover this requirements ?
    Do we need a config client for maintain Production client ? Example: Production client is 500, Config client is 100. When we need Open or Close Period or change anything, we do in 100 and transfer request to 500.
    Thank you very much.
    Regards,
    Thanh.
    Do not use text message language, the next time your thread will be deleted.
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Dec 1, 2010 11:06 AM

    You can customize transaction to be executable although the setting in SCC4 is "productive", this is accomplished by using transaction SOBJ:
    Note 1497640 - Open and close periods in productive client
    You can theoretically put every customizing view there and make it "executable" in a production system.
    Markus

  • Using JSSE : "Invalid Netscape CertType extension for SSL client" Error

    Hi all,
    Im using the sample code given sun site for JSSE with Client Authentication. The sample as such it worked with the testkeys provided in that. But it didn't workout when I tried using other certificates.
    Both client and server certificates I generated from our internal Netscape Certificate Manager.
    Function of the server :
    The server will read a private key from the given keystore and starts listening on a port. This server will server only GET request.
    Function of the client :
    The Client sends a GET request to the server and gets the response back.
    I simply changed the key store name alone in the working sample code.
    It is not working.
    The Exception thrown on client side :
    D:\users\Jp\java\jssesamples\sockets\client\class>java SSLSocketClientWithClientAuth1 localhost 1089 /urls
    localhost
    1089
    /urls
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
    at SSLSocketClientWithClientAuth1.main(SSLSocketClientWithClientAuth1.java:119)
    Exception thrown on server side :
    D:\users\Jp\java\jssesamples\sockets\server\class>java ClassFileServer 1089 . TLS true
    USAGE: java ClassFileServer port docroot [TLS [true]]
    If the third argument is TLS, it will start as
    a TLS/SSL file server, otherwise, it will be
    an ordinary file server.
    If the fourth argument is true,it will require
    client authentication as well.
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    error writing response: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExce
    ption: Invalid Netscape CertType extension for SSL client
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.Certificate
    Exception: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.e(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at java.io.DataOutputStream.writeBytes(DataOutputStream.java:256)
    at ClassServer.run(ClassServer.java:128)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension
    for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    ... 1 more
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    The Client code :
    * @(#)SSLSocketClientWithClientAuth.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.net.*;
    import java.io.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    import java.security.KeyStore;
    * This example shows how to set up a key manager to do client
    * authentication if required by server.
    * This program assumes that the client is not inside a firewall.
    * The application can be modified to connect to a server outside
    * the firewall by following SSLSocketClientWithTunneling.java.
    public class SSLSocketClientWithClientAuth1 {
    public static void main(String[] args) throws Exception {
         String host = null;
         int port = -1;
         String path = null;
         for (int i = 0; i < args.length; i++)
         System.out.println(args);
         if (args.length < 3) {
         System.out.println(
              "USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         host = args[0];
         port = Integer.parseInt(args[1]);
         path = args[2];
         } catch (IllegalArgumentException e) {
         System.out.println("USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         * Set up a key manager for client authentication
         * if asked by the server. Use the implementation's
         * default TrustStore and secureRandom routines.
         SSLSocketFactory factory = null;
         try {
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("clientkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              factory = ctx.getSocketFactory();
         } catch (Exception e) {
              throw new IOException(e.getMessage());
         SSLSocket socket = (SSLSocket)factory.createSocket(host, port);
         * send http request
         * See SSLSocketClient.java for more information about why
         * there is a forced handshake here when using PrintWriters.
         socket.startHandshake();
         PrintWriter out = new PrintWriter(
                        new BufferedWriter(
                        new OutputStreamWriter(
                        socket.getOutputStream())));
         out.println("GET " + path + " HTTP/1.1");
              /* Some internet sites throw bad request error for HTTP/1.1 req if hostname is not specified so the foll line */
              out.println("Host: " + host);
         out.println();
         out.flush();
         * Make sure there were no surprises
         if (out.checkError())
              System.out.println(
              "SSLSocketClient: java.io.PrintWriter error");
         /* read response */
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        socket.getInputStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
              System.out.println(inputLine);
         in.close();
         out.close();
         socket.close();
         } catch (Exception e) {
         e.printStackTrace();
    The Server code :
    * @(#)ClassFileServer.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.io.*;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    /* ClassFileServer.java -- a simple file server that can server
    * Http get request in both clear and secure channel
    * The ClassFileServer implements a ClassServer that
    * reads files from the file system. See the
    * doc for the "Main" method for how to run this
    * server.
    public class ClassFileServer extends ClassServer {
    private String docroot;
    private static int DefaultServerPort = 2001;
    * Constructs a ClassFileServer.
    * @param path the path where the server locates files
    public ClassFileServer(ServerSocket ss, String docroot) throws IOException
         super(ss);
         this.docroot = docroot;
    * Returns an array of bytes containing the bytes for
    * the file represented by the argument <b>path</b>.
    * @return the bytes for the file
    * @exception FileNotFoundException if the file corresponding
    * to <b>path</b> could not be loaded.
    public byte[] getBytes(String path)
         throws IOException
         System.out.println("reading: " + path);
         File f = new File(docroot + File.separator + path);
         int length = (int)(f.length());
         if (length == 0) {
         throw new IOException("File length is zero: " + path);
         } else {
         FileInputStream fin = new FileInputStream(f);
         DataInputStream in = new DataInputStream(fin);
         byte[] bytecodes = new byte[length];
         in.readFully(bytecodes);
         return bytecodes;
    * Main method to create the class server that reads
    * files. This takes two command line arguments, the
    * port on which the server accepts requests and the
    * root of the path. To start up the server: <br><br>
    * <code> java ClassFileServer <port> <path>
    * </code><br><br>
    * <code> new ClassFileServer(port, docroot);
    * </code>
    public static void main(String args[])
         System.out.println(
         "USAGE: java ClassFileServer port docroot [TLS [true]]");
         System.out.println("");
         System.out.println(
         "If the third argument is TLS, it will start as\n" +
         "a TLS/SSL file server, otherwise, it will be\n" +
         "an ordinary file server. \n" +
         "If the fourth argument is true,it will require\n" +
         "client authentication as well.");
         int port = DefaultServerPort;
         String docroot = "";
         if (args.length >= 1) {
         port = Integer.parseInt(args[0]);
         if (args.length >= 2) {
         docroot = args[1];
         String type = "PlainSocket";
         if (args.length >= 3) {
         type = args[2];
         try {
         ServerSocketFactory ssf =
              ClassFileServer.getServerSocketFactory(type);
         ServerSocket ss = ssf.createServerSocket(port);
         if (args.length >= 4 && args[3].equals("true")) {
              ((SSLServerSocket)ss).setNeedClientAuth(true);
         new ClassFileServer(ss, docroot);
         } catch (IOException e) {
         System.out.println("Unable to start ClassServer: " +
                   e.getMessage());
         e.printStackTrace();
    private static ServerSocketFactory getServerSocketFactory(String type) {
         if (type.equals("TLS")) {
         SSLServerSocketFactory ssf = null;
         try {
              // set up key manager to do server authentication
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("serverkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              ssf = ctx.getServerSocketFactory();
              return ssf;
         } catch (Exception e) {
              e.printStackTrace();
         } else {
         return ServerSocketFactory.getDefault();
         return null;
    Could anyone help ?
    thanks in advance
    Jayaprakash

    The same thing.
    I have found the place where the exception throws.
    It is com.sun.net.ssl.internal.ssl.AVA class.
    It has a constructor AVA(StringReader)
    There is a check in this constructor of different certificate extensions
    (if-else). If it sees no familiar extension it throws exception and handshake fails.
    It is not difficult to fix this problem: just ignore unknown extension.
    Everything works fine with this "improved" class (under VA 3.5).
    But the problem is - the using of this class in applets.
    How can I say the browser to use my "improved" class and not the one it downloaded with java plug-in?

  • How to create multiple pof configuration files for c# client

    Is there a way to have multiple pof files for c# coherence client?
    Can I create a file called my-pof-config.xml with the following line...
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    <include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
         <include>file://pof-config.xml</include>
    and here is what pof-config.xml file look like
    <?xml version="1.0" encoding="UTF-8"?>
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    In my C# visual studio project, this is where I load my-pof-config.xml in app.config
    <coherence>
    <cache-factory-config>coherence.xml</cache-factory-config>
    <cache-config>coherence-cache-config.xml</cache-config>
    <pof-config>my-pof-config.xml</pof-config>
    </coherence>
    and this is what I saw in the log...
    2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
    2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?

    Hi,
    Not sure about C# but I would suggest try removing file:// from
    <include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
    Hope this helps!
    Cheers,
    NJ

  • I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    Hi,
    In this scenario, you can share the document with the clients to and provide co-author privileges.
    Co-authors can edit the form design, options, responses, and summary report (everything that you can do).
    Note:- They do not require a paid subscription to view the responses, free subscription users can become co-authors.
    Please refer to the following thread to know how to share a form with others:-How do I share a form I created with others?
    Regards,
    Nakul

  • Throws Core Dump for OCISessionBegin() on Linux for Oracle Client v10.2.0.2

    hi,
    The OCI method, OCISessionBegin() is throwing an core dump on 10g client in Linux on C++, but the same code works fine for 8i and 9i client. Core dumps for 10g Client. 10g tnsnames.ora file is same as of 9i. I just debeggued with the core and says failing in OCISessionBegin() method. I would like to know is there any problem with Oracle Client v10.2.0.2? or how does i can solve the issue? appriciate a quick help in this regard.
    Thanks,
    Sreeni

    Have you looked in the Knowledge Base information at metalink? That would be the place to start.
    If that does not work then the next step would be to remove this thread and post in the OCI - OCCI forum where there are people that can actually help you.

  • Subsite security trimming in the Office365 for Android client

    I just installed the Android Office365 client and noticed that subsite links are not security trimmed. Is this by design or can I influence this by settings in Sharepoint Online? If I click a subsite link I don't have permissions to I get the error "Can't
    complete task. Office Mobile encountered a problem."
    Just noticed this behaviour only applies if you're member at a site, then you'll see the links to all subsites in the Android client, even those you don't have permissions to. In the web interface those links are trimmed. If you only have visitor rights
    at the suprasite you only see the subsite links you have permissions for in the Android client.

    Hi,
    According to your post, my understanding is that you failed to click a subsite link in the Office365 for Android client.
    I rececomend to set a user as administrator and then sign in the site using the account to check whether it works.
    This forum is supproted for SharePoint On-Primse. Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    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

  • Log on Details for new client

    hi experts,
    I created the client  820 by using  scc4 how can i create the password for that client to log in .
    please give me solution asap.
    Thanks ,
    K.Rajesh.

    Rajesh,
    i would suggest you please close this thread and open new one in Basis forum am sure you will get better and good reply there.
    its an ABAP section.
    Amit.

  • ChaRM configuration issue for 2 Clients...

    Dear Friends,
    I have configured ChaRM in Solution Manager 7.0 EhP1 system. It is working fine without any issues. But now I came across a new requirement and finding trouble in configuring the required scenario.
    Currently there is only single client in DEV, QA and PRD system for which ChaRM is configured. Now, I want to configure the ChaRM for 2 clients in each system.
    For example,
    <ZCHARM_1> -- SOL:001 -- > DEV : 100 --> QAS : 200 --> PRD1 : 300
    <ZCHARM_2> -- SOL:001 -- > DEV : 500 --> QAS : 600 --> PRD2 : 700
    (Please note, ZCHARM_X is a project and SOL-001 is a Solution Manager ChaRM client).
    First up all, I would like to understand, is it possible? is it supported by SAP ?
    If yes, how can we configure client specific route for SAP standard transport layer (SAP)? What are the other concerns in using above system landscape in ChaRM?
    Please note, we do not want to use separate hardware for either DEV or QA system.
    Please can someone guide in this case?
    Rajesh Narkhede

    Rajesh,
    I am not aware if you have searched on this issue, but You may want to take a look at this thread.
    Change Request Management for multiple production clients
    This configuration should work fine, because in essence, its a 3 system landscape, so there should not be major issues on the way.
    From the TMS Standpoint you need to define a transport layer for each development client.
    You can create a single project with the logical components or you can create multiple projects with each set of systems. Remember to do the TMS configuration right and you should be set.
    Cheers!
    Edited by: Banerjee Vivek on Mar 29, 2011 1:02 PM

  • Number of threads for imap process

    What is the resonable nimber of threads for imap procerss?
    I have 2 impad procrss and number of threads more then 200!!!
    I think this is to much for 700-900 concurrent impa connection&
    What is the reasons for this big number

    Actually, your configuration sounds pretty close to correct for your load.
    We allocate up to 250 threads, as many clients connect more than one time per session, and open more than one folder at a time.
    I would not mess with the number of threads.
    If most of your users have small numbers of messages and folders, you may be able to get away with a single imap process, but if you have several processors, two is fine, too.
    Is there a problem or error situation you're trying to work around? What exact version of Messaging do you use? (imsimta version gets that)

  • Number of executeThread for WLS Client

              There are two properties in WLS51 whcih can be specified to adjust the number of
              executeThread and the percentage for the reader threads in the client application.
              -Dweblogic.system.executeThreadCount and
              -Dweblogic.system.percentSocketReaders.
              What is the WLS6.0 equivalence for these two parameters? I am facing severe performance
              problems when invoking beans deployed in a cluster.
              

              Sorry, please ignore the previous mail. It was a typo of mine.
              "Dapeng Wang" <[email protected]> wrote:
              >
              >It seems that the parameter weblogic.ThreadPoolPercentSocketReaders doesn't
              >work
              >correctly. Independant of the number the default value of 33 will always
              >be used.
              >Another bug?
              >
              >"Kumar Allamraju" <[email protected]> wrote:
              >>> > What is the WLS6.0 equivalence for these two parameters?
              >>
              >> -Dweblogic.ThreadPoolSize and
              >> -Dweblogic.ThreadPoolPercentSocketReaders.
              >>
              >>--
              >>Kumar
              >>
              >>"Cameron Purdy" <[email protected]> wrote in message
              >>news:[email protected]...
              >>> You can set the number of threads per server in the Weblogic console.
              >>Then
              >>> look at the config.xml to see what the setting is called.
              >>>
              >>> The thread limitation will not cause performance problems -- it will
              >>only
              >>> cause throughput (scalability) problems.
              >>>
              >>> Peace,
              >>>
              >>> --
              >>> Cameron Purdy
              >>> Tangosol, Inc.
              >>> Clustering Weblogic? You're either using Coherence, or you should
              >be!
              >>> Download a Tangosol Coherence eval today at http://www.tangosol.com/
              >>>
              >>>
              >>>
              >>> "Dapeng Wang" <[email protected]> wrote in message
              >>> news:[email protected]...
              >>> >
              >>> > There are two properties in WLS51 whcih can be specified to adjust
              >>the
              >>> number of
              >>> > executeThread and the percentage for the reader threads in the client
              >>> application.
              >>> >
              >>> > -Dweblogic.system.executeThreadCount and
              >>> > -Dweblogic.system.percentSocketReaders.
              >>> >
              >>> > What is the WLS6.0 equivalence for these two parameters? I am facing
              >>> severe performance
              >>> > problems when invoking beans deployed in a cluster.
              >>>
              >>>
              >>
              >>
              >
              

  • There is  problem for every client.

    Dear Experts,
    There is  problem for every client .....
    Their inventory is valuated by FIFO method and they use Serial numbers on each and every transaction for their business.
    As per the system the valuation at Delivery is taking by the FIFO method.
    The customer has a requirement to get the inventory value based on the serial no. Is there any way to get out of this situation.
    The Item FG001 is bought at 100 unit price with Qty 2 by having serial numbers Q1,Q2.
    In the second transaction
    The Item FG001 is bought at 120 unit price with Qty 2 by having serial numbers Q3,Q4.
    As per the system if we create delivery document for the same item with qty 2 by giving serial number selection with qwe3 and qwe4, the system is taking the value for the items as 200.
    But, my customer wants it to be as 240.
    Is there any way to solve this.
    Thanks & Regards
    Manvendra Singh Niranjan
    Edited by: Manvendra Singh Niranjan on May 6, 2009 1:28 PM

    Please check these threads:
    Cost By Seria Number
    Re: Inventory valuation by serial number.
    Thanks,
    Gordon

  • Firewall ports for appv client

    native Appv infrastructure. Apps are published using UNC.
    what ports should be open for the clients sitting behind the firewall?
    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    No, the client does not communicate with the App-V Management Server.
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

  • Help with Threads for a webserver

    That is the main class of my webserver. The problem is that after executing one petition the server closes with exit status 1. Normally that should never happens as it does not happen at the single-threaded server. Any suggestions ??
    Also do i have to impement monitors, meaning syncronized functions to monitor buffers and some static variables ?
    This is my first program impementing threads so really i do not experience over it
    package jhttp_server;
    import java.io.*;
    import java.net.*;
    import java.lang.*;
    * <p>Title: JHTTP_server</p>
    * <p>Description: A simple HTTP server implemented with Java</p>
    * <p>Copyright: Copyright (c) 2004 - Lisenced under GPL</p>
    * <p>Company: Universidad Rey Juan Carlos</p>
    * @author Panayiotis Papadopoulos -> [email protected]
    * @version 0.1
    public class jserver {
    static ServerSocket serverSocket = null;
    static PrintWriter out;
    static BufferedReader in;
    static Socket client = null;
    static short i=0;
    static int port;
    static boolean newSock=true;
    public static void main(String[] args) throws IOException {
    port = Integer.valueOf(args[0]).intValue();
    try {
         serverSocket = new ServerSocket(port);
    catch (IOException e) {
         System.out.println("Must Enter a port number");
    System.out.println("|------------------------------------------------------------------------|");
    System.out.println("|JHTTP Server initialized and accepting connections on port:" +
    serverSocket.getLocalPort()+"\t |");
    System.out.println("|------------------------------------------------------------------------|");
    while(true){
    while (i < 5) {
    i++;
    try {
    //Creating if needed a new socket where the clients listens
    if (newSock) {
    client = serverSocket.accept();
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(client.getOutputStream());
    System.out.println("LOG: Client is listening on port: "+client.getPort());
    //Here the server creates a new thread for the petition
    petition newPet = new petition();
    newPet.T.start();
    } // try- create input and output buffers
    catch (UnknownHostException e) {
    System.err.println("JHTTP Server could establish a connection. Exiting...");
    catch (IOException e) {
    System.err.println("Could not get I/O for the connection to client.");
    } //try - create client sockets, wait and attend connection
    } //while 5 petitions
    System.out.println("Session Closed. 5 continious petitions served.");
    out.close();
    in.close();
    client.close();
    newSock = true;
    System.gc();
    i=0;
    } // while - forever
    }// -------------------main-------------------
    }// jserver - main class of JHTTP server project
    class petition implements Runnable {
    Thread T;
    petition () {
    T = new Thread(this);
    T.start();
    public void run() {
    try {
    //Analyse petition
    Petition_Analysis.Analyse_Petition(jserver.in);
    //Then Attend it
    if (Petition_Analysis.pt.Version.equals("v10"))
    Http_10.Attend_Petition(Petition_Analysis.pt, jserver.out, extra.detectConnectionAlive());
    else if (Petition_Analysis.pt.Version.equals("v11"))
    Http_11.Attend_Petition(Petition_Analysis.pt, jserver.out, extra.detectClose());
    else {
    jserver.out.print("HTTP/1.0 400 Bad Request\r\n\r\n");
    jserver.out.close();
    jserver.in.close();
    jserver.client.close();
    jserver.newSock = true;
    //The following function immediately prints the contents of the PrinterBuffer
    jserver.out.flush();
    System.gc();
    catch (MalformedURLException murle) {
    jserver.out.print("HTTP/1.0 400 Bad Request\r\n\r\n");
    try { jserver.client.close(); }
    catch(IOException ioe) { System.out.println(ioe); }
    jserver.newSock = true;
    catch (NullPointerException npe) {}
    //try - analyse petition & attend it
    catch (IOException ioe){
    System.out.println(ioe);
    } // -- run()
    } // --class: thread

    Use code tags when posting code.
    Given that the code you presented does not call System.exit() I am not sure how it could be exiting with a value of 1.
    When you accept a connection from a client the code should do nothing but pass the client socket off to a thread and then start that thread. It should not extract the streams - do that in the thread.
    The in/out streams of the client socket should be wholly contained within the thread/Runnable. They do not belong to the class that holds the SockerServer.
    Your catch blocks need to be reworked. The first one completely ignores the exception and prints out that a port number is needed. You should be printing the exception message at a minimum and right now you should be be doing a printStackTrace() as well. Additionally you are ignoring a null pointer exception and that is wrong.

Maybe you are looking for

  • Unending connectivity problems -- and Desktop Help...

    I'm wasting so much time on connectivity problems that it's positively wearying. Prior to the installation of BT Infinity here in April, I had a low quality broadband service because of the length of the line from the exchange: if I could get a downl

  • Information about BDS (Business Document Service)

    Hello everyone, I am developing a program to display a report through ALV, and also plot the graphs for the same. I have got a way to do so, through a blog on SDN, "Report with a Graph... An Approach!". The person has showed the report output in ALV,

  • Table header disappearing

    I've been scratching my heads for hours and still can't understand why this is happening. I have two JDialog. One to display the table, let's call it Dialog 1, and the other to display the row details, Dialog 2. When Dialog 2 displays on top of the t

  • Getting started with the flex sdk

    Hi, I have been reading and reading this forum looking for an answer to this question - have found lots of other great info :-) I have installed the Flex Builder 2 trial and didn't get to it before the trial ran out - got busy. So, now I'm down to th

  • Sql loader issue(How to specify a file that exists on remote server)

    In sqlldr infile parameter I'd like to give a data file that exists on remote server.How can I specify???Please help me in the syntax. Any help would be greatly appreciated. Edited by: 792353 on Sep 24, 2010 7:22 AM