Trouble with vb server understanding a Java client

Hey
I'm creating coding a Java client for a game. We already have the game running with a vb server and client.
But we are going to convert over to Java.
Now the problem is that the vb server is unable to understand the Java client.
The vb server uses Asc (to convert characters to numbers) in the encoding/decoding which I'm unable to figure a Java version of this...
Currently using (int) to convert the characters in Java for its encoding/decoding but its not the same above numbers of 128.
This is the message using vb:
���������������������������������������
This is the same message using Java:
���?�?�????????????�????????�?����?���
So how would I have the same characters in Java?
Edited by: zammbi on Feb 29, 2008 9:18 PM

So I was just wondering if there is anyway to for the client to understand the vb server.Undoubtably. The question is " _What_ is/are the way(s) to for the client to understand the vb server."
Permit be to extrapolate some software design requirements from the stated business requirements.
1. The new java client must speak VB'eese to the existing VB server, because there are lots of VB clients in the wild, and we're (too lazy / not smart enough) to rewrite the whole shebang using a sane architecture, and what da 'ell, it's only some poxy game anyways.
2. You're unable to talk sense to the management, and if you did they'd just fire you and hire someone who makes the right noises at the appropiate times, and probably has a bra size to boot.
So the pragmatic question is: WTF is "VB'eese"?
A question one might reasonably ask MSDN or associate forums, as apposed to a java forum.
Dude, this ain't really a java question, though you might fluke and find a java programmer who can tell you exactly where to go.
</what-bluddy-bitterness>
Cheers. Keith.

Similar Messages

  • Can't create a new account at ePrintCenter - trouble with the server for 2 weeks.

    Hi. I'm trying to create an account at ePrintCenter and all the time getting mesage 'Возникла проблема с сервером. Проблема будет устранена в ближайшее время. Приносим извинения за неудобства.' (A trouble with the server, wait, bla bla bla). When will it be fixed?

    For those who are experiencing ongoing issues with their web services, you can attempt to try the following steps that may help resolve your problems.
    1.) Completely shut down your printer and restart it
    2.) If you have prints that have not printed, log into ePrint Center (or create an account if you do not have one) and then look for your printer status. If printer status is green but you still have pending jobs, delete the pending jobs one at a time (Starting with the oldest first). There may be a print job stuck in the queue that further restricts other jobs from completing.
    a. If option 1 or 2 above still doesn’t work, removing web services and re-adding web services will cause the printer to reattach to the cloud.
    b. Please note that if you attempt option 3, you will get a new eprint email address (and lose your custom one with no ability to get it back) furthermore, you will need to re-add your printer back to your ePC account.
    I am an HP employee

  • Need to communicate c server on linux & java client on windows

    Hi!! I am new to socket programing in both C and Java.
    From let I downloaded some client server example for c and java and tried that to link !! (I allways learn this way , and I need to do that little urget )
    though cient server in linux is working perfectly fine and same for java. But problem is when I tried to communicate C server on linux and java client on windows, I end up with getting some junk characters. Though they are connected successfully.
    Here goes code for java client:
    package whatever;
    import java.io.*;
    import java.net.*;
    public class Requester{
         Socket requestSocket;
         ObjectOutputStream out;
         ObjectInputStream in;
         String message;
         Requester(){}
         void run()
              try{
                   //1. creating a socket to connect to the server
                   requestSocket = new Socket("192.168.72.128", 2006);
                   System.out.println("Connected to localhost in port 2004");
                   //2. get Input and Output streams
                   out = new ObjectOutputStream(requestSocket.getOutputStream());
                   out.flush();
                   in = new ObjectInputStream(requestSocket.getInputStream());
                   System.out.println("above do");
                   //3: Communicating with the server
                   do{
                        try{
                             System.out.println("in do");
                             //message = (String)in.readObject();
                             System.out.println("in try");
                             //System.out.println("server>" + message);
                             System.out.println("server>" + "message");
                             sendMessage("Hi my server");
                             message = "bye";
                             sendMessage(message);
                             System.out.println("try completed");
                        catch(Exception e){
                             e.printStackTrace();
                   }while(!message.equals("bye"));
              catch(UnknownHostException unknownHost){
                   System.err.println("You are trying to connect to an unknown host!");
              catch(IOException ioException){
                   ioException.printStackTrace();
              finally{
                   //4: Closing connection
                   try{
                        in.close();
                        out.close();
                        requestSocket.close();
                   catch(IOException ioException){
                        ioException.printStackTrace();
         void sendMessage(String msg)
              try{
                   String stringToConvert= "hello world";
                   byte[] theByteArray = stringToConvert.getBytes();
                      System.out.println(theByteArray.length);
                   out.writeObject(theByteArray);
                   out.flush();
                   System.out.println("client>" + msg);
              catch(IOException ioException){
                   ioException.printStackTrace();
              catch(Exception ex){
                   ex.printStackTrace();
         public static void main(String args[])
              Requester client = new Requester();
              client.run();
    And for C server
    / server
        #include <stdio.h>
            #include <sys/socket.h>
            #include <arpa/inet.h>
            #include <stdlib.h>
            #include <string.h>
            #include <unistd.h>
            #include <netinet/in.h>
            #define MAXPENDING 5    /* Max connection requests */
            #define BUFFSIZE 32
            void Die(char *mess) { perror(mess); exit(1); }
        void HandleClient(int sock) {
                char buffer[BUFFSIZE];
                int received = -1;
                /* Receive message */
                if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                    Die("Failed to receive initial bytes from client");
                /* Send bytes and check for more incoming data in loop */
                while (received > 0) {
                /* Send back received data */
                    if (send(sock, buffer, received, 0) != received) {
                        Die("Failed to send bytes to client");
    //            fprintf("%s",buffer);
                fprintf(stdout, "message Recieved: %s\n", buffer);
                    //Die("was not able to echo socket message");               
                /* Check for more data */
                    if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                        Die("Failed to receive additional bytes from client");
                close(sock);
        //     A TCP ECHO SERVER
        int main(int argc, char *argv[]) {
                int serversock, clientsock;
                    struct sockaddr_in echoserver, echoclient;
                    if (argc != 2) {
                      fprintf(stderr, "USAGE: echoserver <port>\n");
                    exit(1);
                /* Create the TCP socket */
                    if ((serversock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
                      Die("Failed to create socket");
                /* Construct the server sockaddr_in structure */
                    memset(&echoserver, 0, sizeof(echoserver));      /* Clear struct */
                    echoserver.sin_family = AF_INET;                  /* Internet/IP */
                    echoserver.sin_addr.s_addr = htonl(INADDR_ANY);  /* Incoming addr */
                    echoserver.sin_port = htons(atoi(argv[1]));      /* server port */
        // A TCP ECHO SERVER ENDS
        // A TCP ECHO SERVER BINDING AND LISTNING
      /* Bind the server socket */
                  if (bind(serversock, (struct sockaddr *) &echoserver, sizeof(echoserver)) < 0) {
                        Die("Failed to bind the server socket");
              /* Listen on the server socket */
                  if (listen(serversock, MAXPENDING) < 0) {
                  Die("Failed to listen on server socket");
        // A TCP ECHO SERVER BINDING AND LISTNING
        // SOCKET FACTORY
    /* Run until cancelled */
                while (1) {
                        unsigned int clientlen = sizeof(echoclient);
                          /* Wait for client connection */
                        if ((clientsock =
                          accept(serversock, (struct sockaddr *) &echoclient, &clientlen)) < 0) {
                            Die("Failed to accept client connection");
                          fprintf(stdout, "Client connected: %s\n", inet_ntoa(echoclient.sin_addr));
                          HandleClient(clientsock);
        // SOCKET FACTORY ENDSI know that it is not C forum but I found no better place to post it
    Thanks

    kajbj wrote:
    ManMohanVyas wrote:
    hii!! just trying to make it a little more explinatory
    1) what I am trying to accomplish by the above code is: - just need to echo/print from the Server , message send by the Client. I know code is not that good but should be able to perform this basic operation( according to me ).You are wrong. I told you that it won't work as long as you are using ObjectOutputStream and ObjectInputStream. You shouldn't write objects.
    2) Message sent by the client is "hello world"(hard coded).No, it's not. You are writing a serialized byte array.
    3) what I am getting at the client end is "*message recieved: ur*" (before that It shows the Ip of client machine)
    It should print "hello world ".See above.
    You are having a problem, and I have told you what the problem is.hey I dont know what went wrong but . I posted all this just next to my first post ...before you posted !!
    And hard coded byte array includes "hello world"...may be I am not able to explain properly.

  • Is there a multi-authoring solution with RH Server apart from RH client?

    Greetings:
    Is Adobe looking to price itself out of the HAT market?
    Just got the pricing on RH Server 8 ($2000) and then another $1000 per RH 8 client (as I write this I am still verifying the pricing, because they first told me each user will need a full RH Server 8 license, meaning $10K for 5 authors). For five authors, that's $7000 (unless its $10,000 ;-), and about 99% overkill on the multi-authoring side, since we only need one RH 8 client for management and publishing, and a simple WYSIWYG for additional authors is all that is needed, and indeed the learning curve for RH versus a WYSIWYG makes this paying a lot of money for a huge training burden & support headache. Is this for real?
    I'm researching HAT's and I've got the same or better featured server/multi-author scenario going with HelpServer for $4000 (unlimited additional authors), Doc-To-Help Enterprise for a mere $1500 (also unlimited authors), and Flare complete with Feedback Server and 5 X-Edit author/users for less than $3500, not including support packages. Considering the fact that there is virtually nothing RH does the others don't, and quite a bit the others do that RH does not, I have to wonder -- why is there no simple to learn, inexpensive to buy WYSIWYG (something like Contribute) for multi-authoring in RH Server?
    Since it's all HTML, we could in fact go with Contribute, but direct changes would not be reflected back in the RH client files. That's about the only thing that would have to be automated beyond a Contribute-like WYSIWYG, or what am I missing?
    Just occurred to me, could have Contribute users make changes to RH shared directory, then they could be published from there. Hmmmn.
    Anyone have a workaround or other solution here?
    Shame, shame, Adobe.
    regards,
    Steven
    "I am but an egg."
    --Stranger in a Strange Land

    Hi Steven
    Dems the breaks I suppose. One way past it would be to have one RoboHelp Server license and one RoboHelp Office license. Then have the other authors simply use Microsoft Word to maintain their content. The person that uses the RoboHelp Office (Client part) could then import and link the Word documents managed by the other authors. If you worked that way you would only be looking at a total outlay of $3,000 instead of $7,000. But I suspect that you might get a better deal than $7,000 if you worked with Sales.
    Keep in mind that RoboHelp Server relies upon the content created by RoboHelp. There is no "limited WYSIWYG editor". All it does is provide reporting as well as project merging. There is nothing about it that lends itself to a simple WYSIWYG editor that provides a window into the server content.
    I cannot speak to the other tools you cited. Maybe they do work in that manner and maybe they don't. And maybe you are misunderstanding the actual capabilities. I cannot say.
    Additionally, it's helpful to keep in mind that the way RoboHelp works today was initially designed and maintained by the folks now known as MadCap. Because of that, I'd be surprised to find that the MadCap products operate in a totally different manner. Maybe they do. Adobe acquired the product by virtue of acquiring macromedia. So they didn't design the way it works. Although they have enhanced it. I see no reason to shame Adobe.
    Can you expound on your claim that " there is virtually nothing RH does the others don't, and quite a bit  the others do that RH does not". What ios the "quite a bit" that others are doing that RoboHelp isn't? RoboHelp seems fairly competitive with its feature set to me.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Trouble with Content Server connection

    I am having an issue with content server on Unix.  I'm finished with content server install and need to connect my ABAP system to it via CSADMIN. But when I first enter CSAdmin, I give it my host and port. What is the unix http script name for the default install???  Only the Windows name - ContentServer.dll - is populated? What is the web address to get to the content server?
    http://<host>:<port>/???????
    Do I need to do something with OAC0 and SICF first, before going to CSADMIN.  The guide does not mention anything?
    Thanks for your replies!
    Jeff

    Hi. I dont know obout CS on UNIX, on windows  CS uses port 1090 and HTTP script ContentServer/ContentServer.dll
    The web page is
    http://server:1090/ContentServer/ContentServer.dll?serverInfo.
    It's on Windows....
    Also read this Note 586895. -->
          New access paths and compatibility with Windows systems
                  The "/ContentServer/ContentServer. dll" and "/Cache/CSProxyCache.dll" paths have since been established as fixed default values for the Content Server/Cache Servers for Windows.
                  The module access in the Apache Web server is not restricted to actual paths for program files. Using <location> tags, you can determine any (sub)paths that are to be used to access a module. These tags are entered in the "httpd.conf" file within the relevant module configurations. You can also define the clients allowed to access this "location" within a <location> tag with an Allow/Deny clause.
                  To be able to continue using the Windows paths proposed in the SAP system, these Windows paths are installed as compatibility tags.
                  In addition to this, you can use the new, essentially shorter paths "/sapcs" and /sapcsc" to access the SAP Content Server and the SAP Cache Server.
                  The "Modifications to httpd. conf" attachment to the installation manual contains a list of all of the access paths delivered.
    Regards.. Award if helpful.
    Edited by: Sergo Beradze on Mar 11, 2008 4:37 PM

  • Why cant download the cc trial? When I try the site said is having trouble with the server

    Why cant download the cc trial? When I try the site said is having trouble with the server

    Some links that may help
    -http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    -http://forums.adobe.com/community/download_install_setup
    -http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    -http://helpx.adobe.com/x-productkb/global/errors-or-unexpected-behavior-websites.html
    -http://helpx.adobe.com/creative-cloud/kb/unknown-server-error-launching-cc.html
    -Server won't connect https://forums.adobe.com/thread/1233088

  • No contact with DHCP server when using VPN Client

    Pretty weird problem I discovered recently.
    We use the VPN Client to connect to a 1841 router. Everything works fine except for one small thing.
    The client do not send out _any_ traffic if the destination is the ip-address of the DHCP-server the client got its original ip-address from.
    This is verified by Wireshark. A ping on the client do not produce any ESP packets towards the VPN concentrator. No matter what traffic you try actually.
    Discovered this when wanting to use Remote Desktop towards the Windows Server that is the local DHCP server and was not able to connect. Then tested ping and still no response. That made me look closer and found out that I could not communicate at all with the DHCP server.
    As I said, pretty weird.
    Anyone else have seen this? Anyone have a solution? Right now I use OpenVPN instead when I need to control that server.
    - Roger

    Hi and thanks for responding.
    Nothing here apart from being unable to send any packets to the dhcp-server. No problem sending to any other system on the same subnet. The same happens when I connect my pc to another subnet that is served by another dhcp-server. Then I can not connect to _that_ dhcp-server. I can then of course connect to the previous dhcp-server.
    I mean _no_ packets are generated out the client at all if the destination are your dhcp-server. No problem with the packet being blocked by a firewall or anything like that. Ping another system on the same subnet as the dhcp-server and the client happily generates ESP packets and sends them to the vpn-concentrator.
    I do not know if it was clear enough in the first post so I am saying it here: the vpn-concentrator gives out the ip for the vpn connection. The dhcp-server I can not connect to is the server that gives the client its ip-address _before_ starting up the vpn client.
    We use this vpn system so the IT personell will be able to connect to restricted resources from their laptops anywhere in the network, also when using wireless.
    This was discovered when one admin wanted to connect from his laptop to a server that also happened to be the dhcp-server that had given his laptop his ip address before he used vpn.
    Should be easy enough for anyone else to test. Just ping your dhcp-server after starting the vpn connection. No RFC 1918 addresses of course, there must be a route from your vpn-concentrator to your dhcp-server and at least icmp echo must be open through any firewall/acl.
    The vpn version is 4.8.00.0440 on Windows XP configured to not allow local LAN access. I might test this with other versions/OS'es when I have the time.
    Regards,
    - Roger

  • Query trouble with DI Server

    Hello everybody,
    I'm trying to execute SQL with DI Server. This is my SOAP-command:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Header>
        <SessionID>63089993-AC37-4225-845D-D9722A50D5A7</SessionID>
      </env:Header>
      <env:Body>
        <dis:ExecuteSQL xmlns:dis="http://www.sap.com/SBO/DIS">
          <DoQuery>SELECT NULL AS Cat1Name, NULL AS Cat2Name, NULL AS Cat3Name, NULL AS Cat4Name,
              NULL AS Cat1Code, NULL AS Cat2Code, NULL AS Cat3Code, NULL AS Cat4Code
              FROM OITM
              WHERE 0 = 1 /* Dummy query to circumvent problems with XML-tag */
              UNION
              SELECT Cat1Name, Cat2Name, Cat3Name, Cat4Name, Cat1Code, Cat2Code, Cat3Code, Cat4Code
              FROM (
                SELECT cat1.Name AS Cat1Name, cat2.Name AS Cat2Name, cat3.Name AS Cat3Name, cat4.Name AS Cat4Name,
                cat1.Code AS Cat1Code, cat2.Code AS Cat2Code, cat3.Code AS Cat3Code, cat4.Code AS Cat4Code
                FROM @CATEGORY_4 cat4
                JOIN @CATEGORY_3 cat3 ON cat3.Code = cat4.U_Category_3
                JOIN @CATEGORY_2 cat2 ON cat2.Code = cat3.U_Category_2
                JOIN @CATEGORY_1 cat1 ON cat1.Code = cat2.U_Category_1
              UNION
                SELECT cat1.Name AS Cat1Name, cat2.Name AS Cat2Name, cat3.Name AS Cat3Name, NULL AS Cat4Name,
                  cat1.Code AS Cat1Code, cat2.Code AS Cat2Code, cat3.Code AS Cat3Code, NULL AS Cat4Code
                FROM @CATEGORY_3 cat3
                JOIN @CATEGORY_2 cat2 ON cat2.Code = cat3.U_Category_2
                JOIN @CATEGORY_1 cat1 ON cat1.Code = cat2.U_Category_1
              UNION
                SELECT cat1.Name AS Cat1Name, cat2.Name AS Cat2Name, NULL AS Cat3Name, NULL AS Cat4Name,
                  cat1.Code AS Cat1Code, cat2.Code AS Cat2Code, NULL AS Cat3Code, NULL AS Cat4Code
                FROM @CATEGORY_2 cat2 JOIN @CATEGORY_1 cat1 ON cat1.Code = cat2.U_Category_1
              UNION
                SELECT cat1.Name AS Cat1Name, NULL AS Cat2Name, NULL AS Cat3Name, NULL AS Cat4Name,
                  cat1.Code AS Cat1Code, NULL AS Cat2Code, NULL AS Cat3Code, NULL AS Cat4Code
                FROM @CATEGORY_1 cat1
              ) TMP
              WHERE ISNULL(Cat1Code, '') = '101'
              OR ISNULL(Cat2Code, '') = '101'
              OR ISNULL(Cat3Code, '') = '101'
              OR ISNULL(Cat4Code, '') = '101'
              OR '101' = ''</DoQuery>
        </dis:ExecuteSQL>
      </env:Body>
    </env:Envelope>
    When I run the SQL-bit in SQL Server 2005, all is fine. When I run this with DI Server, I get this response:
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Body>
        <env:Fault>
          <env:Code>
            <env:Value>env:Receiver</env:Value>
            <env:Subcode>
              <env:Value>229</env:Value>
            </env:Subcode>
          </env:Code>
          <env:Reason>
            <env:Text xml:lang="en">Failed to execute command</env:Text>
          </env:Reason>
          <env:Detail>
            <Statement>..The Query..</Statement>
            <Command>ExecuteSQL</Command>
            <SessionID>63089993-AC37-4225-845D-D9722A50D5A7</SessionID>
          </env:Detail>
        </env:Fault>
      </env:Body>
    </env:Envelope>
    Is this query too complex for the DI server to handle? Is it the subquery? Is it the unions?
    Thanks for your time!
    Vincent

    I have tried other queries in my application and they all don't seem to work anymore.
    I recently upgraded from PL39 to PL42. Has there been a change in the SOAP schema again?

  • Mail now having trouble with exchange server

    Hi There,
    We use a hosted exhange server for email which has been working fine for the last year but all of a sudden we seem to be having issues copnnecting - Mail just sits there with the spining animation and the Activity window displaying a variety of messages such as:
    "Syncing Inbox"
    "Requesting latest information"
    "Traversing mailbox hierarchy"
    "Adding messages"
    I've talked to our provider and they say nothing's changed their end but we're seeing this issue several times a day accross both 10.7 and 10.6 macs and in different locations (work, home and when traveling).
    Normally a restart will fix the issue but I know have a Mac that is just stuck - and a restart doesn't work.
    Does anyone know how I might trouble shoot this issue and how I can help our provider to understand what might be happening on the Mac side?
    Any help would be much appreciated.
    Cheers
    Ben

    So it looks like the issue was an untrusted certificate as overnight, all my email is back.
    However, any messages that came in during that time can't be filed or even deleted - I see this error:
    The message “Re:message subject"” could not be moved to the mailbox “Actioned — [email protected]
    An error occurred while moving messages to mailbox “Actioned — [email protected]
    Does any one know what the problem might be?
    Cheers
    Ben

  • Trouble with submit button working for some clients

    I have an interactive order form on-line http://www.naspairshow.com/seating%20form. pdf and most people aren't having a problem with it. A few say it goes nowhere when they push the email button. I've suggested they save it as a renamed pdf and they say it won't let them do anything but print it. At this point I'm having them give me the info over the phone, but what needs to be done on their end or mine to make it work?
    Operating System: Windows XP Adobe pro 7

    Graffiti is pointing out one of the major problems of using e-mail submission (Adobe says little about this major drawback - same type of problems as often found with HTML forms, but for a different reason). To use e-mail with PDF forms, the client generally has to have a MAPI e-mail client that they can use. Many folks do not have such and that is the hang up. You have 3 choices in that case. 1. As Graffiti mentions you can activate Reader Rights to allow them to save the file with data and e-mail it to you (a manual process and limited to 500 in the use aspect). 2. You can set up a web script on a server that the clients submit to (the best way). 3. You can set the form to submit HTML data and submit to a cgimail or formmail script on a server (many servers have this option available). You can even go as far as saying there is a forth option to convince the customers to activate a MAPI client on their machine - probably a bad idea.

  • Trouble with Application Server connection/deployment

    This is the output I get when testing the remote connection I set up:
    C:\Program Files\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Program Files\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://costanza:1810/Oc4jDcmServletAPI/ ias_admin handmodel1 listApplications F:\ora9ias
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications F:\ora9ias UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = b3e9da25826746e393a2ab6e17c30b9b
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=b3e9da25826746e393a2ab6e17c30b9b
    Checking command status
    HTTP response code = 500, HTTP response msg = Internal Server Error
    #### HTTP response is NOT ok
    Waiting for 30 seconds and trying again...
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=b3e9da25826746e393a2ab6e17c30b9b
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    Command output:
    BC4J
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    BC4J
    Does this look normal? When I try to then use this connection for deployment of War file I get this output:
    ---- Deployment started. ---- Oct 30, 2002 11:27:05 AM
    Wrote WAR file to C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.war
    Wrote EAR file to C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear
    Invoking DCM servlet client...
    C:\Program Files\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Program Files\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://costanza:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Command = INVALID_COMMAND
    #### Invalid command: redeploy F:\ora9ias C:\Program Files\JDeveloper\jdev\mywork\Workspace1\Project1\deploy\webapp1.ear webapp1 Oc4j_home
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    #### Could not send command to Oc4jDcmServlet
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-6)
    #### HTTP return code was -6
    Exit status of DCM servlet client: -6
    Elapsed time for deployment: 5 seconds
    #### Deployment incomplete. #### Oct 30, 2002 11:27:09 AM
    Anybody know why this thing doesn't work.

    Hi. I dont know obout CS on UNIX, on windows  CS uses port 1090 and HTTP script ContentServer/ContentServer.dll
    The web page is
    http://server:1090/ContentServer/ContentServer.dll?serverInfo.
    It's on Windows....
    Also read this Note 586895. -->
          New access paths and compatibility with Windows systems
                  The "/ContentServer/ContentServer. dll" and "/Cache/CSProxyCache.dll" paths have since been established as fixed default values for the Content Server/Cache Servers for Windows.
                  The module access in the Apache Web server is not restricted to actual paths for program files. Using <location> tags, you can determine any (sub)paths that are to be used to access a module. These tags are entered in the "httpd.conf" file within the relevant module configurations. You can also define the clients allowed to access this "location" within a <location> tag with an Allow/Deny clause.
                  To be able to continue using the Windows paths proposed in the SAP system, these Windows paths are installed as compatibility tags.
                  In addition to this, you can use the new, essentially shorter paths "/sapcs" and /sapcsc" to access the SAP Content Server and the SAP Cache Server.
                  The "Modifications to httpd. conf" attachment to the installation manual contains a list of all of the access paths delivered.
    Regards.. Award if helpful.
    Edited by: Sergo Beradze on Mar 11, 2008 4:37 PM

  • TROUBLE  with get server cookie method

    hi you all,
    i have a question, i what scenario could the get server cookie method be call without the explicit calling in the source code???. I have an bsp app within the portal, and when i enter to the portal with an user i see the data of the last user i try before (not current), and i found out that the get_server cookie method its call just before the on_request begins. If i don't call it from the source code...why this method its call anyway???...could be this because a parameter in the iview??? . Any ideas to solve my problem??? Thanx in advance
    Mariana

    Hello Pterobyte,
    Thanks for your help (particularly the org.amavis.amavisd.plist file contents). Mine didn't have the foreground option set.
    I fixed it, unloaded and loaded.
    Mail and SA seem to start-up ok now (at least it looks that way in Server Admin) but I am still having problems (more problems in fact).
    1. System continues to respawn org.amavis.amavisd
    From System.log:
    Feb 9 12:58:41 server com.apple.launchd[1] (org.amavis.amavisd[496]): Exited with exit code: 1
    Feb 9 12:58:41 server com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 10 seconds
    Feb 9 12:58:51 server com.apple.launchd[1] (org.amavis.amavisd[497]): Suspicious setup: User "clamav" maps to user: _clamav
    Feb 9 12:58:51 server com.apple.launchd[1] (org.amavis.amavisd[497]): posix_spawn("/usr/local/bin/amavisd", ...): No such file or directory
    There it is trying to run /usr/local/bin/amavisd again, which doesn't exist, and the reference to clamav.
    2. Mail clients can nolonger connect to the server.
    The Mail Access log shows:
    Feb 9 12:45:51 server ctl_cyrusdb[239]: DBERROR db4: unable to join the environment
    Do I need to repair/rebuild the database?
    Please note, I followed your instructions in other postings and moved the .SpamAssassin directory and change the user and group of specified files to _amavisd.
    Also it look like amavisd is no longer running (before it was running and trying to be respawned by launchctl).
    ps U _amavisd
    PID TT STAT TIME COMMAND
    46 ?? Ss 0:04.29 clamd
    Any suggestions most appreciated.
    Cheers,
    Ashley.

  • Vdi 3.1 troubles with sunray server

    hi
    i'm not able to restart (warm or cold) sunray services from the webui (logged in as root) and the sunray server itself react not as expected (the sunray client stands on 26 D)
    i found access denied messages in the log but i dont know why they occur i've not changed access rights or something like that
    Feb 4 09:38:57 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2981] from 172.27.35.16 33120
    Feb 4 09:38:57 vdi in.utrcmdd[2981]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:02 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2990] from 172.27.35.16 33126
    Feb 4 09:39:02 vdi in.utrcmdd[2990]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:02 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2992] from 172.27.35.16 33134
    Feb 4 09:39:02 vdi in.utrcmdd[2992]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:05 vdi java[2037]: [ID 521130 user.info] utadt:: username={root} hostname={vdi} service={Admin} cmd={} message={Services restart using warm restart failed for host(s) vdi} status={0} return_val={0}
    Feb 4 09:39:05 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[3001] from 172.27.35.16 33139
    Feb 4 09:39:05 vdi in.utrcmdd[3001]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    could you help me to solve this issue?
    thank you
    br
    Andre

    Would probably need to see your VDI instance cacao log file to see why this is failing, but you might need to add the following to [libdefaults] section of your krb5.conf file, for 2008R2 AD server:
    default_tkt_enctypes = rc4-hmac
    default_tgs_enctypes = rc4-hmac
    And then restart VDI services (/opt/SUNWvda/sbin/vda-service restart)
    Note that VDI will actually try to query individual AD servers as defines as part of your AD Global Catalog when it tries to lookup AD domain data. This means you need to verify that your global calalog referenced servers are valid and having matching forward and reverse DNS information:
    For example:
    $ *nslookup -querytype=any gc.tcp.vdi.com.*
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    gc.tcp.vdi.com     service = 0 100 3268 win2008.vdi.com*.
    $ nslookup win2008.vdi.com.
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    Name:     win2008.vdi.com
    Address: _192.168.1.100_
    r$ nslookup 192.168.1.100
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    100.1.168.192.in-addr.arpa     name = win2008.vdi.com.*
    You'd want to verify that every record returned by the *nslookup -querytype=any gc.tcp.yourdoamin.com* command refers to a server that can be reached and has matching forward and reverse DNS. Otherwise, this may trigger VDI to have failures or delays in performing directory queries.
    Beyond that, you need to look in the cacao.log file for errors that you can find and post.
    Edited by: DoesNotCompute on Oct 13, 2012 11:48 AM

  • Eem on cisco 877, trouble with mail server action and smtp auth

    hello all,
    i'm using a router 877 at home and i really need to check out what this router do during the day.
    So some time ago i configured it using some eem actions and sending to me email, without any problems.
    Yesterday I changed my internet provider and now i need to use smtp autheticantion to send emails.
    I read about how to authenticate, like username:password@host and also made a fast search here, without solve my problem.
    I need to put as username the email of the provider like: [email protected]:[email protected]
    So, i want to know if someone had the same problem and solved it. Of course i couldn't use @ two times or eem would think that host.com is my smtp server! And right now is going in this way!
    My IOS version is 15.1(2)T2, eem version is 3.1.
    Hope someone could help me!
    Thank you in advance.
    Sandro

    Hello,
    Thank you very much in advance for any help you can offer. Debugging I get this but stunnel.conf is edited and started
    %HA_EM-3-FMPD_SMTP: Error occured when sending mail to SMTP server: smtp.gmail.com : error in reply from SMTP server
    Router Cisco 877 with IOS version is 12.4(15)T16
    Router Config:
    ip host gmail.com pc_host*
    track 1 rtr 1 reachability
    delay down 10 up 60
    ip route 0.0.0.0 0.0.0.0 Dialer0 track 1
    ip sla 1
    icmp-echo 8.8.8.8 source-interface Dialer0
    timeout 2000
    frequency 4
    ip sla schedule 1 life forever start-time now
    event manager environment to@gmail
    event manager environment [email protected]
    event manager environment smtp.gmail.com*
    event manager applet TRACK-1-OK
    event track 1 state up
    action 1.0 mail server "smtp.gmail.com" to "[email protected]" from "[email protected]" subject "E2E up/down" body "DSL is UP"*
    * I use several possible key combinations:
    ip host smtp.gmail.com pc_host
    event manager environment [email protected]:[email protected]
    action 1.0 mail server "[email protected]:[email protected]" to "[email protected]" from "[email protected]" subject "E2E up/down" body "DSL is UP"*
    stunnel.conf config:
    cert = stunnel.pem
    socket = l:TCP_NODELAY=1
    socket = r:TCP_NODELAY=1
    client = yes
    options = NO_SSLv2
    [pop3s]
    accept  = 110
    connect = pop.gmail.com:995
    [imaps]
    accept  = 143
    connect = pop.gmail.com:993
    [ssmtp]
    accept  = 25
    connect = smtp.gmail.com:465
    Greetings,
    Guiller

  • Error connection to Telnet Server from a Java client GUI

    Hi,
    I have developed a GUI in Swing to get the server ip address, user is and password and then connect to the telnet server. When I enter the above details and hit the "Connect" button, The application hangs. I am ot sure, if the application conencts to the server and then hangs or hanging for some other reason. I have given some System.out.printl statements to keep track.
    Below is my code. I would appreciate any help in this regards.
    Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class Login
    private JFrame frm;
    private JTextField serField;
    private JTextField idField;
    private JPasswordField pwdField;
    public static void main(String[] str)
    new Login();
    public Login()
    frm = new JFrame("Login Screen");
         frm.setSize(500,200);
         frm.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent we)
              System.exit(0);
         frm.getContentPane().setLayout(new FlowLayout());
         addLoginFields();
         frm.setVisible(true);
    private void addLoginFields()
    JPanel idPanel1 = new JPanel();
    JPanel idPanel2 = new JPanel();
    JPanel serverPanel1 = new JPanel();
    JPanel serverPanel2 = new JPanel();
    JPanel pwdPanel1 = new JPanel();
    JPanel pwdPanel2 = new JPanel();
    JPanel connectPanel = new JPanel();
    JPanel cancelPanel = new JPanel();
    JPanel labelPanel = new JPanel(new GridLayout(3,1));
    JPanel fieldPanel = new JPanel(new GridLayout(3,1));
    JPanel buttonPanel = new JPanel();
    JButton connectButton = new JButton("Connect");
    JButton cancelButton = new JButton("Cancel");
    serverPanel1.add(new JLabel("Server "));
    serField = new JTextField("rhosp035",10);
    serverPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    serverPanel2.add(serField);
    idPanel1.add(new JLabel("User ID"));
    idField = new JTextField(30);
    idPanel2.add(idField);
    pwdPanel1.add(new JLabel("Password"));
    pwdPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    pwdField = new JPasswordField(10);
    pwdPanel2.add(pwdField);
    labelPanel.add(serverPanel1);
    labelPanel.add(idPanel1);
    labelPanel.add(pwdPanel1);
    fieldPanel.add(serverPanel2);
    fieldPanel.add(idPanel2);
    fieldPanel.add(pwdPanel2);
    connectPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    connectPanel.add(connectButton);
    cancelPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
    cancelPanel.add(cancelButton);
    buttonPanel.setSize(500,50);
    buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    buttonPanel.add(connectPanel);
    buttonPanel.add(cancelPanel);
    JPanel infoPanel = new JPanel();
    infoPanel.setSize(500,100);
    infoPanel.add(labelPanel);
    infoPanel.add(fieldPanel);
    frm.getContentPane().add(infoPanel);
    frm.getContentPane().add(buttonPanel);
    connectButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectToUnix();
    cancelButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    System.out.println("Connection to Unix cancelled");
    System.exit(0);
    private void connectToUnix()
    System.out.println("Connection to Unix to be added");
    Socket clientSocket = null;
    PrintWriter writer = null;
    BufferedReader reader =null;
    int code = 0;
    try{
         clientSocket = new Socket(InetAddress.getByName(serField.getText()),23);
    reader = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
    writer = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream()));
    while((code = reader.read()) != 243)
    System.out.println("Server Response : " + code);
    switch(code)
    case 37:
    //System.out.println("user id : " + idField.getText());
         writer.print(idField.getText());
    break;
    case 24:
              //System.out.println("password : " + pwdField.getText());
    writer.print(pwdField.getText());
              System.out.println("code : " + code);
    break;
         case 251:
              System.out.println("********* Login required again code : " + code);
    break;
    default:
    System.out.println("--------------Default option code : " + code);
    break;
    writer.print(132);
    catch(IOException ie)
    System.out.println(ie.toString());
    catch(Exception e)
         System.out.println("Exception : " + e.toString());
    finally
         try{
    reader.close();
    clientSocket.close();
         catch(IOException ie)
    System.out.println("While closing : " + ie.toString());

    Also,
    I would like to know I to check if the user id and password are valid.
    How to disconnect from the client GUI?
    Thanks.

Maybe you are looking for