Ready to send my application to clients

Hello All,
Using VB2012, Installshield LE, and deploying method is ClickOnce.
I am done testing my app and ready to send it to my clients. But, I'm not sure about the Debug & Release section in the VS2012 IDE.
I'm thinking that I should select Release and then re-compile. Is this all I have to do?
Right now I have Configuration set to: Debug (Active Debug) and I have Platform set to: x86 (Active x86).
Do I need to select any of the options in the 'Enable Debugger' section? - mine has 'Enable the Visual Basic hosing process' checked.
Thanks,
ADawn
ADawn

Hi ADawn,
Although Installshield LE is supported to be installed from Visual Studio IDE, it is actually a third party tool.  Do you mean you are using InstallShield LE or ClickOnce technology?
Debug/Release difference 
http://msdn.microsoft.com/en-us/library/kkz9kefa(v=vs.110).aspx
I think it is better for you to publish under Release mode, which is suggested here:
http://stackoverflow.com/questions/6136758/visual-studio-publish-in-debug-vs-release-mode
Regards,
Barry Wang
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.

Similar Messages

  • Sending java applications to clients

    Hi
    After developing and launching a java application from the command prompt with java classname, how do I deliver the application to end users etc so that they won't have to
    a. install jre (i guess it would have to determine if they have a jre already installed)
    b. launch it from the command prompt and see the dos window
    stev

    Hi Quick question if I may.
    You said " So if they double-click the JAR file and its set to execute, "
    Is there something that I as the programmer have to do to make it "set to execute" ?
    Also I noticed on your web site you launch your programs with javaw -jar JEditor.jar
    I'm guessing that's what the shortcuts should point to right.
    Thanks in advance
    stephen

  • Sending msgs to certain clients

    All I have blazeds setup and messages being send to the frontend consumers. How do I do an async message and send it to only 1 of the 3 connect client frontend channels. Is there a way to subscribe or select msgs from certain clientId's?

    Hi Dave,
    As usual, an interesting question..
    For this one, you have to have the source code to the Xtra to
    know exactly
    how it handles socket communication.
    For tcp sockets in general, it's the system that handles i/o,
    and each
    socket works independently.
    So, long as the app (the xtra) makes sure that data are
    copied to the
    socket's buffer soon as the system informs the app that it
    can send more
    data, then you have optimal performance - at least for the
    type of sockets
    the muXtra uses.
    As for your question, I'd say neither.
    When you send a message, it is converted to binary data and
    stored in the
    object's (not socket's) send buffer.
    Soon as all data are sent, and long as more messages exist in
    the sendque,
    then the next message is copied to the send buffer.
    So, if you send 2 messages to two users, it is possible that
    both messages
    are delivered to one of them, while the other is still
    receiving the first.
    "Dave C" <[email protected]> wrote in message
    news:fktrnq$cvh$[email protected]..
    > In a p2p application, when a message is being sent to
    multiple clients,
    > how does the instance performing the server function
    accomplish this?
    > Specifically, if the message is a large amount of data
    broken into
    > multiple packets, does it send all packets to client 1,
    then all packets
    > to client 2, etc? Or does it send packet 1 to all
    clients, then packet 2
    > to all clients, etc?

  • Proc_getObject with nolock causes "read operation on a large object failed while sending data to the client"

    SharePoint 2013 code for the SharePoint Config database stored procedure dbo.proc_getObject has been changed from SharePoint 2010 with the difference of select with nolock.
    I am seeing numerous Error 7886, Severity-20 errors nightly:
    "A read operation on a large object failed while sending data to the client. A common cause for this is if the application is running in READ UNCOMMITTED isolation level. This connection will be terminated."
    Here I have commented out "with (nolock)" to 'fix' the error and to align the store proc with SharePoint 2010 code : 
    ALTER PROCEDURE [dbo].[proc_getObject]
    @Id uniqueidentifier,
    @RequestGuid uniqueidentifier = NULL OUTPUT
    AS
    SET NOCOUNT ON
    SELECT
    Id,
    ParentId,
    ClassId,
    Name,
    Status,
    Version,
    Properties
    FROM
    Objects --with (nolock)
    WHERE
    Id = @Id
    RETURN 0
    How is this stored procedure called and for what use?
    Why did Microsoft make this change to SharePoint 2013 - some performance gain through dirty reads at the cost of stability? Or what could be a reason for this to happen that can be fixed?

    GetObject retrieves any farm object that is selected (by ID). Changing this is obviously not supported, and NoLock was used to (help) prevent locks when performing a select query.
    I've never seen this issue, and would guess it is unique to your environment given this is such a core piece of the SharePoint infrastructure.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Avoid send stack trace to client

    I understand for system error, I should throw EJBException to notify EJB container and EJB Container (EJB 3) in turn throw EJBException to client.
    I don't want client know what cause the exception, in another word, I don't want stack trace send to client, it will be beeter just send a string like "process failed" to client.
    I did
    throw EJBException("process failed" );
    but still client got all of stack trace.
    how do I avoid send stack trace to client?
    Thanks

    Hi John,
    The exact contents of the exception are an implementation detail and not mandated by the spec.
    From the spec perspective all that matters is the contract for what exception type the client should
    code to. Some Java EE implementations include more detail in the exception object, some less.
    It's certainly possible for an implementation to provide configuration that controls the level of detail
    propagated in EJB exceptions, but I'm not aware of any such instances. We don't have any such
    feature in Glassfish / Java EE SDK / SUN Java System Application Server.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Deployment of JavaFX Web application on client machine(Windows OS.)

    Problem Statement:
    Deployment of JavaFX Web application on client machine(Windows OS.)
    Error: unable to load the native libarary(JNI Windows dll) i.e. throws java.lang.UnsatisfiedLinkError exception.
    Problem Description:
    I have create the JavaFX application which have dependency on Native library written in Java Native Interface(JNI).
    When the application is deployed on Apache 6.0 Tomcat Server(Copied .html file *.jnlp file and .jar file) and when client machine hit the html page in internet explorer version 8.0 its throws the following error(java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path)
    Note:
    I have created the jar file which have my "JNIHelloWorld' native library dll in root directory. I have signed the jar with same signature which i have used for signing for my application Jar file.
    I have mentioned the native library jar in JNLP file resource keyword as follows:
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    The complete jnlp file content is in "JavaFXApplication.jnlp file:" section below.
    The description of error is as follows:
    Match: beginTraversal
    Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_07
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.1 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true
         Match: ignoring maxHeap: -1
         Match: ignoring InitHeap: -1
         Match: digesting vmargs: null
         Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
         Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
         Match: digest LaunchDesc: http://10.187.143.68:8282/KPIT/JavaFXApplication20.jnlp
         Match: digest properties: []
         Match: JVM args: [JVMParameters: isSecure: true, args: ]
         Match: endTraversal ..
         Match: JVM args final:
         Match: Running JREInfo Version match: 1.7.0.07 == 1.7.0.07
         *Match: Running JVM args match: have:<> satisfy want:<>*
    *java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path*
    *     at java.lang.ClassLoader.loadLibrary(Unknown Source)*
    *     at java.lang.Runtime.loadLibrary0(Unknown Source)*
    *     at java.lang.System.loadLibrary(Unknown Source)*     at javafxapplication20.JavaFXApplication20.<clinit>(JavaFXApplication20.java:41)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.sun.javafx.applet.FXApplet2.init(FXApplet2.java:63)
         at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(FXApplet2Adapter.java:207)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Java Plug-in 10.7.2.11
    Using JRE version 1.7.0_07-b11 Java HotSpot(TM) Client VM
    User home directory = C:\Users\io839
    Please find my native library code and JavaFX application code:
    Native library JNI Code:
    JavaFXApplication.java:
    JNIEXPORT jstring JNICALL Java_javafxapplication_SampleController_printString(JNIEnv *env, jobject envObject)
         string str = "hello JNI";
         jstring jniStr = env->NewStringUTF(str.c_str());
         return jniStr;
    JavaFX Application code:
    JavaFXApplication.java:
    package javafxapplication;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    public class JavaFXApplication extends Application {
    @Override
    public void start(Stage stage) throws Exception {
    Parent root = FXMLLoader.load(getClass().getResource("Sample.fxml"));
    Scene scene = new Scene(root);
    stage.setScene(scene);
    stage.show();
    * The main() method is ignored in correctly deployed JavaFX application.
    * main() serves only as fallback in case the application can not be
    * launched through deployment artifacts, e.g., in IDEs with limited FX
    * support. NetBeans ignores main().
    * @param args the command line arguments
    public static void main(String[] args) {
    launch(args);
    static{
    System.loadLibrary("JNIHelloWorld");
    SampleController.java file:
    package javafxapplication;
    import java.net.URL;
    import java.util.ResourceBundle;
    import javafx.event.ActionEvent;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.Label;
    public class SampleController implements Initializable {
    @FXML
    private Label label;
    private native String printString();
    @FXML
    private void handleButtonAction(ActionEvent event) {
    System.out.println("You clicked me!");
    String str = printString();
    label.setText(str);
    @Override
    public void initialize(URL url, ResourceBundle rb) {
    // TODO
    //String str = printString();
    JavaFXApplication.jnlp file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFXApplication.jnlp">
    <information>
    <title>JavaFXApplication20</title>
    <vendor>io839</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
    </information>
    <resources>
    <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
    </resources>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="JavaFXApplication.jar" size="20918" download="eager" />
    </resources>
    <resources os=Windows>
    <nativelib href="JNIHelloWorld.jar" download="eager" />
    </resources>
    <security>
    <all-permissions/>
    </security>
    <applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFXApplication" >
    <param name="requiredFXVersion" value="2.2+"/>
    </applet-desc>
    <jfx:javafx-desc width="800" height="600" main-class="javafxapplication.JavaFXApplication" name="JavaFXApplication" />
    <update check="always"/>
    </jnlp>

    No problem.
    Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
    Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
    When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
    You can change specification by adapting the build.xml file.
    Of course lot of different possibilities are available for deployment!
    You can find lot of info here:
    [http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
    Important to know is if you want to work with
    - a standalone application (self-contained or not)
    - with webstart
    - or with applets
    (In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!)

  • Adobe photoshop cc 2014 crashes at startup / GC driver up to date (nvidia 740M) / windows 8 / uninstalled software reinstalled disconnected creative cloud and reconnect /  nothing solved /error report ready to send

    Help
    in this for 3 and a half hours now and really nervous bout it.
    adobe photoshop cc 2014 crashes at startup /
    solely photoshop : lightroom illustrator indesign okay /
    GC driver up to date (nvidia 740M) /
    windows 8 /
    uninstalled software and reinstalled from creative cloud app /
    disconnected profil creative cloud and reconnect /
    moved preferences out /
    I just have installed a fresh OS windows 8 and nothing but the adobe apps /
    nothing solved /error report ready to send
    (edit)
    funny cannot send the image of the errors because i DO NOT have a photoshop working version !)
    (did the screen copy, exported in jpeg srgb  from illustrator)

    exported the error log from lightroom still not working as it seems like the file (it's a screenshot) is more than a 8mo size file !
    i ignored i was using a 8k screen till now
    please help
    Cheers,
    Arnaud.

  • I'm looking for a scheduling app that will send reminder emails to clients

    I'm looking for an iPad appointment app that will send reminder emails to clients & synch with my iMac. Suggestions?

    Voicemail is through your carrier and on their equipment.
    It's function and features is set by them, not your phone.

  • Sending an object from client to server always on button press

    What I need is to send an object from client to server but I need to make server wait until another object is sent. What I have is the JFrame where you put the wanted name and surname, then you create a User object with these details and on button press you send this object to the server. I just can't hold the connection because when I send the first object, server doesn't wait for another button click and throws EOFexception. Creating the while loop isn't helpfull as well because it keeps sending the same object again and again. The code is here
    public class ClientFrame extends JFrame {
        private JButton btnSend;
        private JTextField txfName;
        private JTextField txfSurname;
        public ClientFrame() {
            this.setTitle(".. ");
            Container con = this.getContentPane();
            con.setLayout(new BorderLayout());
            txfName = new JTextField("name");
            txfSurname = new JTextField("surname");
            btnSend = new JButton(new AbstractAction() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    SSLSocketFactory f =
                            (SSLSocketFactory) SSLSocketFactory.getDefault();
                    try {
                        SSLSocket c =
                                (SSLSocket) f.createSocket("localhost", 8888);
                        c.startHandshake();
                        OutputStream os = c.getOutputStream();
                        ObjectOutputStream oos = new ObjectOutputStream(os);
                        InputStream is = c.getInputStream();
                        ObjectInputStream ois = new ObjectInputStream(is);
                        boolean done = false;
                        while (!done) {
                            String first = txfName.getText();
                            String last = txfSurname.getText();
                            User u = new User();
                            u.setFirstName(first);
                            u.setLastName(last);
                            oos.reset();
                            oos.writeObject(u);
                            String str = (String) ois.readObject();
                            if (str.equals("rcvdOK")) {
                                System.out.println("received on the server side");
                            } else if (str.equals("ERROR")) {
                                System.out.println("ERROR");
                        //oos.writeObject(confirmString);
                        oos.close();
                        os.close();
                        c.close();
                    } catch (ClassNotFoundException ex) {
                        Logger.getLogger(ClientFrame.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (IOException ex) {
                        System.err.println(ex.toString());
            btnSend.setText("send object");
            con.add(btnSend, BorderLayout.PAGE_START);
            con.add(txfName, BorderLayout.CENTER);
            con.add(txfSurname, BorderLayout.PAGE_END);
            this.pack();
            setSize(200, 150);
            setVisible(true);
    public class TestServer {
        public static void main(String[] args) {
            try {
                KeyStore ks = KeyStore.getInstance("JKS");
                ks.load(new FileInputStream(ksName), ksPass);
                KeyManagerFactory kmf =
                        KeyManagerFactory.getInstance("SunX509");
                kmf.init(ks, ctPass);
                SSLContext sc = SSLContext.getInstance("TLS");
                sc.init(kmf.getKeyManagers(), null, null);
                SSLServerSocketFactory ssf = sc.getServerSocketFactory();
                SSLServerSocket s = (SSLServerSocket) ssf.createServerSocket(8888);
                printServerSocketInfo(s);
                SSLSocket c = (SSLSocket) s.accept();
                InputStream is = c.getInputStream();
                ObjectInputStream ois = new ObjectInputStream(is);
                OutputStream os = c.getOutputStream();
                ObjectOutputStream oos = new ObjectOutputStream(os);
                boolean done = false;
                User u;
                  while(!done){
                    u = (User) ois.readObject();
                    String confirmString = "rcvdOK";
                    String errorString = "ERROR";
                    if (u != null) {
                        System.out.println(u.getFirstName() + " " + u.getLastName());
                        oos.writeObject(confirmString);
                    } else if (u == null) {
                        oos.writeObject(errorString);
                is.close();
                s.close();
                c.close();
            } catch (Exception e) {
                    System.err.println(e.toString());
    }Thanks for any help, btw this doesnt need to be via ssl, the problem would be the same using only http. Please anyone help me:)
    Edited by: Vencicek on 7.5.2012 2:19
    Edited by: EJP on 7/05/2012 19:53
    Edited by: Vencicek on 7.5.2012 3:36

    Current code fails because it's sending still the same entity again(using while loop)No it's not. You are creating a new User object every time around the loop.
    which makes the system freezeWhich means that you are executing network code in the event thread. Don't do that, use a separate thread. At the moment you're doing all that sending inside the constructor for ClientFrame which is an even worse idea: you can never get out of there to the rest of your client program. This is a program design problem, not a networking problem.
    and doesn't allow me to set new parameters of the new entityI do not understand.
    I need to find a way to keep Server running even when the client doesn't send any data and wait until the client doesnt press the send button again to read a new object.That's exactly what happens. readObject() blocks until data is received.

  • How do I Send a xml to client?

    Hi friends:
    It is possible to send a xml to client without a xml file in the server?
    I create a Document in the server and the code is :
                                                                   DocumentBuilderFactory df=DocumentBuilderFactory.newInstance();
                   DocumentBuilder db=df.newDocumentBuilder();
                   Document  doc=db.newDocument();
                   Element el=doc.createElement("root");
                   doc.appendChild(el);
                   Comment co=doc.createComment("This is a comment");
                   el.appendChild(co);I want to write the Document to a Stream and send the XML stream to client ,so the client can display a xml.
    The code is:
                                                                   resp.setContentType("text/xml");
                   resp.setContentLength(200);
                   resp.setHeader("Content-Disposition","inline;filename=address.xml");
                   ServletOutputStream so=resp.getOutputStream();
                   PrintStream ps=new PrintStream(so);
                   System.out.println(doc);
                   ps.print(doc);
                   so.flush();
                   ps.close();I don't want to create a xml in the server so I can do this only use stream .But what client get is a momery address! It is org.dom.xml....@sd7fs87d What wrong with my code ? How to send the xml to client without create the xml file in server?
    Thks in advanced!

    Yashnoo,
    What XML package that you used?
    It should have a class for outputing xml
    example using JDOM
    XMLOutputter writer = new XMLOutputter(Format.getPrettyFormat());
    OutputStream out = new FileOutputStream("dummy.txt");
    writer.output(doc, out);
    //this case it write to a file but in your case you can pass in ServletOutputStream
    or ByteArrayOutPutStream then use method writeTo() to send it to ServletOutputStream
    another thing, make sure to set your content length corretly,
    resp.setContentLength(200);
    how do you know its length is 200
    if you are going to use ByteArrayOutPutStream, it will give you the correct length
    for instance
    ByteArrayOutPutStream out = new ByteArrayOutPutStream ();
    XMLOutputter writer = new XMLOutputter(Format.getPrettyFormat());
    writer.output(doc, out);
    int len = out.size();
    now you can do this
    resp.setContentLength(len);
    finally,
    out.writeTo(resp.getOutputStream());
    it should send a stream out to the client.
    bottom line is, find out your package API or you can post the package you use, I can take a look
    here is a sample of using JDOM to create a document then output it out to System.out
    good luck
    public static void createXMLFile()
              Element root = null;
              Document doc = new Document();
              try
                   String[] arr = {"MainElement ","SubElement1","SubElement2","SubElement2"};
                   String[] arr1 = {"MainElement ","SubElement111","SubElement22","SubElement332"};     
                   root = new Element("root");
                   doc.setRootElement(root);
                   //for each array do the following
                   Element e = new Element(arr[0].trim());
                   root.addContent(e);     //<MainElement>
                   for (int i = 1; i < arr.length; i++)
                        e.addContent(new Element(arr.trim()));     //<SubElement1>
                   //finally output to a file as your choice
                   XMLOutputter writer = new XMLOutputter(Format.getPrettyFormat());
    //               OutputStream out = new FileOutputStream("dummy.txt");
                   writer.output(doc, System.out);
    //               out.flush();
    //               out.close();
              catch (Exception e)
                   e.printStackTrace();

  • Option Activate Applications in Client not found in GRC 10.0

    Hi Experts,
    Have installed SAP GRC NW Plug-in and I was not getting options to activate access Controls. 
    I am only getting options for Access Controls are Maintain Plug-in Exits Settings and Maintain Plug-in Configuration Settings.
    As per the installation document I should get the following options :
    Governance, Risk and Compliance > General Settings node
                                                                                    1.Activate Applications in Client
                                                                                    2. Maintain Languages Supported
                                                                                    3. Setup Transport Connection
    Can you please let me know if I am doing anything wrong on installation.
    Thanks
    Mani

    Hi Mani,
    Please have a look at the pre and post installation guides available here:
    SAP Access Control 10.0 [original link is broken]
    Regards,
    Luis

  • EDI output message for Outbound Deliv send with application own transaction

    Dear All,
    I encountering a problem with the output message "WSOR" via EDI.
    What i want:
           I would to configure this message output without the Dispatch time " 3: Send with application own transaction".
    What is encountering now:
          I have done the setting in "VV22" or VV21, with the conbination of Delivery type and Shipping point. and the setting is EDI with dispatch time 3: Send with application own transaction.
    But When i use ME2O to create the outbound delivery for subcontractor, the message output "WSOR" process automatically and the dispatch time is 4: Send immediately (When application save).
    Can anyone please advice me what are the setting or area that i need to check!!
    Thank you very much,
    Regards,
    Chee Wee

    Hi
    Try here...
    Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries
    Regards
    Eduardo

  • How to send echo msg to client after regular time to verify the client

    Hi
    I have socket program which used for communicating information. tow part client and server.
    I am having problem. that is I want to send a msg to client (like echo) after some time duration. so how to do that?
    help
    Kapila

    This is the run method of inner class. when the sever is ideal, the sever has to send the msg to client. I think that I want to declare the this part "byte[] b = byteConcatenate(header, responsefornac,response.length); and out.write(b);" elsewhere. first I want to check the server is ideal then if it is ok, send the msg to client.
    problem is how to recognise the client?
              * Description : This inner class is used for handling the client session
         protected class SessionPda implements Runnable
    //********************************** DECLARATION OF COMMON VARIABLES ******************************************
         protected     byte[]      request;
         protected     byte[]      response;
         protected      byte[]      header;
         protected      byte[]      requestforserver;
         protected      byte[]      responsefornac;
         protected      Socket      client               ;
    //********************************** DEFINE CONSTRACTOR********************************************************
              * Description : This method is using for getting the opening client socket
              * @param e
         public SessionPda(Socket client)
         try
         this.client      =      client;
         catch (Exception e)
              System.out.println(">>>>>>>>>>>>>> This is error is occured when getting the opened clint socket at the inner sessionpda class in serve.>>>>>>>>>>>>>>>>>");
                   SysLog.logError(java.util.logging.Level.SEVERE, this.toString(), "Sessionpda()", StackTraceUtil.getStackTrace(e));
         header                     =      new byte[HEADER_SIZE];
         request                =      new byte[PACKET_SIZE];
         response                =      new byte[PACKET_SIZE];
         requestforserver      =      new byte[PACKET_SIZE];
         responsefornac           =      new byte[PACKET_SIZE];
    //********************************** OVERRIDING THE RUN METHOD IN JAVA LANG THREAD ****************************************************
              * Description : The proccessing the cliet sessionpda
              * @param request
              * @param respons
              public void run()
              try
                   while (true)
                        in     =     new     DataInputStream(client.getInputStream())     ;
                        out     =     new DataOutputStream(client.getOutputStream())     ;
                   //PRINTING THE REQUEST INFO-----------------------------------
                        int     len     =     in.read(request,0,PACKET_SIZE)                    ;
                        String recvString = "";
         for (int i = 0; i < len; i++)
              recvString +=adjustString(Integer.toHexString( (int) (request)));
         // System.out.println("Request Information :"+recvString);
         //PEPARING TO TO PRCESS--------------------------------------
         for (int j = 0; j < PACKET_SIZE - 3 ; j++)
                   requestforserver[j] = request[j + 3];
         Process p = ProcessFactory.getProcess(request);
         boolean redo = p.doProcess();
         ISOMsg m = new ISOMsg();
    m = p.getResponse();
    m.setPackager(new ISO87BPackager());
    response = m.pack();
    //PEPARATRING TO SEND BACK THE RESPOND----------------------
    header[1] = (byte) (response.length + 5);
              header[3] = (byte) 00;
              responsefornac[0] = (byte) Integer.parseInt(NII.substring(1,3),16); //17;
              for (int k = 0; k < response.length; k++)
                   responsefornac[k + 1] = response[k];
              byte[] b = byteConcatenate(header, responsefornac,response.length);
              out.write(b);
              out.flush();
    String sendinString = "";
    for (int i = 0; i < response.length + 5; i++)
         sendinString +=
              adjustString(Integer.toHexString( (int) (b[i])));
    SysLog.logInfo(java.util.logging.Level.INFO,"Response \n"+ sendinString);

  • How can Webservice manage client sections and send back messages to clients

    Hi all.
    I am starting working with Webservice (jax-ws). Now i can make a good server side and on client side i can use method interface on webservice server side.
    But i want to make a advance feature as Server side manage client section and can send back message to client when Server change status...
    I know RMI and Corba can seems to support to send back messages to sections of cliens right ?
    So Webservice can do it ? Please help me !
    Thanks
    Diego
    Edited by: ThuCT on Sep 14, 2010 1:57 AM

    Hi all.
    I am starting working with Webservice (jax-ws). Now i can make a good server side and on client side i can use method interface on webservice server side.
    But i want to make a advance feature as Server side manage client section and can send back message to client when Server change status...
    I know RMI and Corba can seems to support to send back messages to sections of cliens right ?
    So Webservice can do it ? Please help me !
    Thanks
    Diego
    Edited by: ThuCT on Sep 14, 2010 1:57 AM

  • Can any one help me sending Oracle application server Cloning  document 9.0.4 version

    Can any one help me sending Oracle application server  Cloning document 9.0.4 version (Mail id removed by moderator)
    Many Thanks in advance
    Deepak

    Hi Deepak,
    In first place application server 9.0.2 is desupported since 30th June 2007.So oracle would always recommend its customer to be on the latest versions.
    Please follow the below URL for cloning Appplciation Server 9.0,.4
    Cloning Application Server Middle-Tier Instances
    Regards,
    Prakash.

Maybe you are looking for

  • Nokia N8 Can not see who's calling / display won't...

    Hi, I have the problem that when I get a call my phone will ring but there is nothing seen onto the display. When I use the unlock button on the side of the phone it unlocks and then I can see who's calling and take the call. When I want to hang-up,

  • Account disabled

    I had an un-authorized purchas on my account a couple of moths ago. I disputed it and we're good. Now when I try to make another authorized purchase the iTunes store tells me my account is disabled even though I reset my password. please help

  • I am unable to download the latest version of adobe reader

    I have widows vista and use internet explorer 8.and have clear out the old one what is wrong. It is ok to 59% and then nothing more happend

  • Is it possible to convert � to a hex character?

    I'm looking for a character that represents the hex value of � I've been looking through the internet but haven't found any encouraging leads or clues. I'm thinking it may not even be possible. Any help will be appreciated. Thanks in advance

  • Reverse ML Close

    Hi Experts, The users in my company they could not able to tally the ammounts (the beginning Inventory of Actual value) in CKM3 and Profit center accounting line time report. So we suggested to adjust the difference amount and Reverse the Material Le