Need urgent help. Execution of .exe files by calling from java program

This program can execute small .exe files which donot take inputs. But does not work for exe files that take input and just hangs. What could be the problem. If anyone helps me I would be very grateful.
Server code :-
import java.io.*;
import java.net.*;
public class Server1 {
     private Player[] players;
     private ServerSocket server;
     private ExecHelper exh;
     String command = null;
     String message = null;
     public Server1() {
          players = new Player[5];
          try {
               server = new ServerSocket( 12345, 5 );
               System.out.println("Server started...");
               System.out.println("Waiting for request...");
          catch( IOException ioe ) {
               ioe.printStackTrace();
               System.exit( 1 );
     } //end Server constructor
     public void execute() {
          for( int i = 0; i < players.length; i++ )
          try {
               players[i] = new Player( server.accept() );
               players.start();
          catch( IOException ioe ) {
               ioe.printStackTrace();
               System.exit( 1 );
     public static void main( String args[] ) {
          Server1 ser = new Server1();
          ser.execute();
          System.exit( 1 );
     private class Player extends Thread {
          private Socket connection;
          private ObjectOutputStream output;
          private ObjectInputStream input;
          public Player( Socket socket ) {
               connection = socket;
               try {
                    input = new ObjectInputStream( connection.getInputStream());
                    output = new ObjectOutputStream( connection.getOutputStream());
                    output.flush();
               catch( IOException ioe ) {
                    ioe.printStackTrace();
                    System.exit( 1 );
          public void run() {
               try {
                    message = "Enter a command:";
                    output.writeObject( message );
                    output.flush();
                    do {
                         command = ( String ) input.readObject();
                         String osName = System.getProperty( "os.name" );
                         String[] cmd = new String[3];
                         if( osName.equals( "Windows 2000" )) {
                              cmd[0] = "cmd.exe";
                              cmd[1] = "/c";
                              cmd[2] = command;
                         else if( osName.equals( "Windows NT" ) ) {
                         cmd[0] = "cmd.exe" ;
                         cmd[1] = "/C" ;
                         cmd[2] = command ;
                         Runtime rt = Runtime.getRuntime();
                         Process proc = rt.exec( cmd );
                         exh = new ExecHelper( proc, output, input);
                    } while( !command.equals( "TERMINATE" ) );
               catch( Throwable t ) {
                    t.printStackTrace();
     } //end class Player
     public class ExecHelper implements Runnable {
     private Process process;
     private InputStream pErrorStream;
     private InputStream pInputStream;
     private OutputStream pOutputStream;
     private InputStreamReader isr;
     private InputStreamReader esr;
     private PrintWriter outputWriter;
     private ObjectOutputStream out;
     private ObjectInputStream in;
     private BufferedReader inBuffer;
     private BufferedReader errBuffer;
     private Thread processThread;
     private Thread inReadThread;
     private Thread errReadThread;
     private Thread outWriteThread;
     public ExecHelper( Process p, ObjectOutputStream output, ObjectInputStream input ) {
          process = p;
          pErrorStream = process.getErrorStream();
          pInputStream = process.getInputStream();
          pOutputStream = process.getOutputStream();
          outputWriter = new PrintWriter( pOutputStream, true );
          in = input;
          out = output;
          processThread = new Thread( this );
          inReadThread = new Thread( this );
          errReadThread = new Thread( this );
          outWriteThread = new Thread( this );
          processThread.start();
          inReadThread.start();
          errReadThread.start();
          outWriteThread.start();
     public void processEnded( int exitValue ) {
          try {
               Thread.sleep( 1000 );
          catch( InterruptedException ie ) {
               ie.printStackTrace();
     public void processNewInput( String input ) {
          try {
               out.writeObject( "\n" + input );
               out.flush();
               catch( IOException ioe ) {
               ioe.printStackTrace();
     public void processNewError( String error ) {
          try {
               out.writeObject( "\n" + error );
               out.flush();
     catch( IOException ioe ) {
               ioe.printStackTrace();
     public void println( String output ) {
          outputWriter.println( output + "\n" );
     public void run() {
          if( processThread == Thread.currentThread()) {
               try {
                    processEnded( process.waitFor());
               catch( InterruptedException ie ) {
                    ie.printStackTrace();
          else if( inReadThread == Thread.currentThread() ) {
               try {
                    isr = new InputStreamReader( pInputStream );
                    inBuffer = new BufferedReader( isr );
                    String line = null;
                    while(( line = inBuffer.readLine()) != null ) {
                              processNewInput( line );
               catch( IOException ioe ) {
                    ioe.printStackTrace();
          else if( outWriteThread == Thread.currentThread() ) {
               try {
                    String nline = null;
                    nline = ( String ) in.readObject();
                    println( nline );
               catch( ClassNotFoundException cnfe ) {
               //     cnfe.printStackTrace();
               catch( IOException ioe ) {
                    ioe.printStackTrace();
          else if( errReadThread == Thread.currentThread() ) {
               try {
                    esr = new InputStreamReader( pErrorStream );
                    errBuffer = new BufferedReader( esr );
                    String nline = null;
                    while(( nline = errBuffer.readLine()) != null ) {
                         processNewError( nline );
               catch( IOException ioe ) {
                    ioe.printStackTrace();
Client code :-
// client.java
import java.io.*;
import java.net.*;
public class Client {
     private ObjectOutputStream output;
     private ObjectInputStream input;
     private String chatServer;
     private String message = "";
     private Socket client;
     public Client( String host ) {
          chatServer = host;
     private void runClient() {
          try {
               connectToServer();
               getStreams();
               processConnection();
          catch( EOFException eofe ) {
               System.err.println( "Client terminated connection ");
          catch( IOException ioe ) {
               ioe.printStackTrace();
          finally {
               closeConnection();
     } //end method runClient
     private void connectToServer() throws IOException {                                                                 
          System.out.println( "Attempting connection...\n");
          client = new Socket( InetAddress.getByName( chatServer ), 12345);
          System.out.println( "Connected to : "+ client.getInetAddress().getHostName());
     private void getStreams() throws IOException {
          output = new ObjectOutputStream( client.getOutputStream());
          output.flush();
          input = new ObjectInputStream( client.getInputStream());
     private void processConnection() throws IOException {
     while( true ){
               try {
                    message = ( String ) input.readObject();
                    System.out.print( message );
                    InputStreamReader isr = new InputStreamReader( System.in);
                    BufferedReader br = new BufferedReader( isr );
                    String line = null ;
                    line = br.readLine();
                         output.writeObject(line);
                         output.flush();
               catch( ClassNotFoundException cnfe) {
                    System.out.println( "\nUnknown object type received");
     } //end processConnection
     private void closeConnection() {
          System.out.println( "\nClosing connection");
          try {
               output.close();
               input.close();
               client.close();
          catch( IOException ioe ) {
               ioe.printStackTrace();
     public static void main( String args[] ) {
          Client c;
          if( args.length == 0 )
               c = new Client( "127.0.0.1" );
          else
               c = new Client( args[0] );
          c.runClient();

pay close attention to the comments in this thread
http://forum.java.sun.com/thread.jspa?threadID=769142&messageID=4383764#4383764

Similar Messages

  • Downloading unix archive file (.Z extension) from java program

    Hi,
    I am trying to download unix archive files with .Z extension from java program. When I use
    BufferedReader zReader = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    and then read line by line and write it to file, downloaded file can't be decompressed. I tried to open it with winZip which supports .Z files but I get the message : Cannot open file, it does not appear to be a valid archive.
    How can I download file correctly?
    Any help would be appreciated.

    Hi,
    I am trying to download unix archive files with .Z
    extension from java program. When I use
    BufferedReader zReader = new BufferedReader(new
    InputStreamReader(urlConn.getInputStream()));
    and then read line by line and write it to file,How are you writing the file? Since it is binary data you need to be careful about using Reader/Writers, which are meant for character data. Look at using classes from the InputStream/OutputStream hierarchy.
    - N

  • Problems running bat file with calls to java programs (.jar)

    I created a bat file with calls to jar programs. In each line,
    I put a call to the programs with parameters, but bat only
    executes the first line and ends execution.
    All lines of my bat file must be executed.
    What should I do?
    Best Regards,
    Pedro Felipe
    [http://pedrofao.blogspot.com|http://pedrofao.blogspot.com]
    [http://viajantesmundo.blogspot.com/|http://viajantesmundo.blogspot.com/]

    user8730639 wrote:
    I realized that the problem isn`t my bat file. I made tests calling another jar files and then all the lines of the batch file were executed. So, the jar file called on my previous bat is finnishing the execution. I verified and the jar apps worked without error.
    I would like to know if exists any command in Java that can cause this effect (close a batch), to modify the open source code of the application.Not that I know of.
    Is prism a bat file?
    If you are invoking bat files from your bat file without using call that would explain it
    :: mymain.bat file
    :: call the first bat file
    call prism.bat arg1 arg2 arg3
    :: call the other bat file
    call prism.bat arg4 arg5 arg6
    ::

  • How to access database file on CDROM from Java Programe??

    Hello friends,
    I am making online exam application.
    I want my question database to be reside on CDROM.
    but i am not getting any idea how to make DSN or static path that resolute the path that i have mentioned for CDROM.
    basically i want to know how to access CDROM from Java Programe????
    Thanks in advance
    Navik Pathak

    Once you mounted the CDROM (something maybe as /media/cdrom) as a file system (or assigned a drive letter to it like D: or F: or whatever), the files are accessible normally.

  • Need urgent help with creating .war file ...

    My boss gave me one day to create an app. that runs on Apache Tomcat 4.0.6. I managed to get it done, but now I'm trying to move it from my machine to the web server. Each time I try to create a .war file I get an error saying "no such file or directory". Am I missing a step here??
    What I do is: go to the webapps/<appname> directory where the app. is located, type in jar cvf * path/to/application/appname.war.
    I then get the "no such file..." message, then a message that says "added manifest" then lines on the screen that say adding: blah blah file. It goes through all the files in my app directory but I get no resulting .war file.
    I'm so frustrated and confused at this point, any help would be greatly appreciated.

    >
    What I do is: go to the webapps/<appname> directory
    where the app. is located, type in jar cvf *
    path/to/application/appname.war. No need to create an intermediate zip file, or to use JDeveloper to create a simple war file.
    You just need to put the WAR name before the list of files.
    jar cvf appName.war *

  • Convert FrameMaker to PDF file format called from Java

    I need to convert a FrameMaker file to PDF format using a Java plugin program (Windows environment). Is there a way to do it by calling a routine in FrameMaker or Adobe from a Java program that would lets say provide a path+file name (FrameMaker v8.0 or before) and expect a path+file name (PDF)?
    Any information would be great!
    We are currently upgrading our EMC Documentum from 5.2.1 to 5.3.6 and the Content Transformation Service that was doing it builtin before is not doing it anymore for FrameMaker files. They provided us with plugin tools to create one in Java.

    You could use Java to call a command line routine like Datazone's
    DZbatcher (see http://www.datazone.com/english/overview/download.html
    ) that would allow you to create PDF output from existing FM
    documents/books.

  • Need urgent help with service and file removal

    Hi,
    I need a powershell script that would stop a windows service ,wait for 2 mins, delete a particular file from C:\documents&settings and then start the service again.Is this possible ?
    Thanks

    Thanks for the reply chen. May be i was not clear in my query
    I plan this because a particular file of configmgr is corrupt on workstations. So the service has to be stopped first before the deletion. I need to run this on many computers remotely. The import file will have the machines that need the script to be run.
    The script has to run all the four steps on the machines based on the import file and export to a file with the results.How can i modify ?
    The sequence will be as follows
    Stop-Service -Name BITS -Verbose
    Start-Sleep -Seconds 120
    Remove-Item -Path C:\documents&settings\***** -Force -Verbose
    Start-Service -Name BITS -Verbose
    Regards
    Sd

  • Need urgent help on Special  function 8..not working custom program to NACE

    Hi gurus,
    We wrote one custom program for billing automation(VF01)...scenario is like this....
    once PGI is issued system has to create billing document automatically in background using the delivery number.....
    we wrote program like this....
    DATA:   IT_BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
    FORM DELIVERY_OUTPUT USING RC US_SCREEN.
    DATA V_VBELN LIKE MKPF-XBLNR.
    DATA V_DELIVERY LIKE V_VBELN.
    DATA:V_MBLNR LIKE LIKP-VBELN.
    DATA OBJKY(10).
    DATA: VAR(15).
    RC = 1.
    DATA:   IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    GET PARAMETER ID 'VL' FIELD V_MBLNR.
    CONCATENATE V_MBLNR '%' INTO VAR.
    SELECT SINGLE OBJKY FROM  NAST INTO OBJKY WHERE OBJKY LIKE VAR.
    CHECK SY-SUBRC EQ 0.
    V_MBLNR = NAST-OBJKY+0(10).
    SELECT SINGLE XBLNR FROM MKPF INTO V_VBELN WHERE XBLNR = V_MBLNR.
    V_DELIVERY = V_VBELN.
         PERFORM F_DYNPRO USING :
         'X' 'SAPMV60A' '0102',
         ' ' 'BDC_CURSOR' 'KOMFK-VBELN(01)',
         ' ' 'KOMFK-VBELN(01)' V_DELIVERY,
         ' ' 'BDC_OKCODE' '/00'.
         PERFORM F_DYNPRO USING :
         'X' 'SAPMV60A' '0104',
         ' ' 'BDC_OKCODE' '=SICH'.
         CALL TRANSACTION 'VF01' USING IT_BDCDATA MODE 'N'
              MESSAGES INTO IT_MESSAGES.
    DATA MSG_LOG LIKE MSG_LOG.
    DATA MSG_TEXT LIKE MSG_TEXT.
    CLEAR:MSG_LOG,MSG_TEXT.
    LOOP AT IT_MESSAGES.
      MSG_LOG-MSGID = IT_MESSAGES-MSGID.
      MSG_LOG-MSGNO = IT_MESSAGES-MSGNR.
      MSG_LOG-MSGTY = IT_MESSAGES-MSGTYP.
    CALL FUNCTION 'MESSAGE_TEXTS_READ'
    EXPORTING
       MSG_LOG_IMP           = MSG_LOG
    IMPORTING
       MSG_TEXT_EXP          = MSG_TEXT.
    IF MSG_LOG-MSGTY EQ 'S'.
      MESSAGE S398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '0'.
    ELSEIF MSG_LOG-MSGTY EQ 'I'.
      MESSAGE I398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '0'.
    ELSEIF MSG_LOG-MSGTY EQ 'E'.
      MESSAGE E398(00) WITH MSG_TEXT-MSGTX.
    RETCODE = '4'.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    FORM F_DYNPRO USING P_DYNBEGIN P_NAME P_VALUE.
      IF P_DYNBEGIN EQ 'X'.
        MOVE : P_NAME TO IT_BDCDATA-PROGRAM,
               P_VALUE TO IT_BDCDATA-DYNPRO,
               'X' TO IT_BDCDATA-DYNBEGIN.
      ELSE.
        MOVE: P_NAME TO IT_BDCDATA-FNAM,
              P_VALUE TO IT_BDCDATA-FVAL,
              ' ' TO IT_BDCDATA-DYNBEGIN.
      ENDIF.
      APPEND IT_BDCDATA.
    ENDFORM.        
    when we assign this program to NACE  for output type <b>V2</b> , this program not creating billing documents....
    Guide us to resolve this issue....

    Hi Hari,
    I think that the logic needs to be build up in the DISP part of the Search help exit.
    What you can do is also get the Plant in the search help as an export parameter.
    Then in the Return Tab you can check if the plant = 'AA', delete the data.
    e.g.
          LOOP AT record_tab.
            IF RECORD_TAB-STRING+22(2) = '90'.
              DELETE record_tab INDEX sy-tabix.
            ENDIF.
          ENDLOOP.
    Hope this helps.
    Regards,
    Himanshu
    Message was edited by:
            Himanshu Aggarwal

  • Java and Batch File Issue - need urgent help

    I have a java program which calls a batch file. This batch file calls another java program. I want an option so that I can close this java program from main program.
    If i try process.destroy then it will call batch file and not java program.
    I can't go away with batch file.
    I will appreciate if someone can help me.

    khannap wrote:
    Hi, Thanks for the help but this doesn't seem solving my problem completely. I will appreciate if you can help more.
    I will explain you the scenario -
    1. There is java program provided as an external program to me.Only changes things slightly.
    2. This java program is called using batch file. When batch file is started this java program starts and listens on a socket for incoming data.I would want to wrap the launch of this java program in another JVM so we can use process.destroy().
    3. I am writing a program to check performance of the above java program. I want to call this java program from my program in a loop having some varying config data. When I run the loop first time I create a batch file at run time which executes the batch file provided by vendor. This batch file starts the socket. Once my message list is over then my loop goes to executing the batch file again with different config parameters. But this time I run into issue because my previous java program is not killed after message sending was over.Would it be acceptable to mung the 3rd party batch file to insert a wrapper JVM?
    Even if i use threads I don't think I can get rid of batch file.I did not suggest getting rid of batch files.
    So, I need to find a way so that when any iteration of loop is over then this socket program is killed. These 3rd party java programs - do they not have a "terminate" command you can put at the end of your message list?
    Even if i closed the socket from my client program that doesn't help because server is still listening and waiting for new client.
    I need to kill server which was started by batch file.On Linux it would be fairly simple to modify your batch file to determine what the process id is and send the process a signal to terminate it.
    Not sure what you can do on Windows.

  • I need urgent help to remove unwanted adware from my iMac. Help!

    I need urgent help to remove unwanted adware from my iMac. I have somehow got green underline in text ads, pop up ads that come in from the sides of the screen and ads that pop up selling similar products all over the page wherever I go. Its getting worse and I have researched and researched to no avail. I am really hestitant to download any software to remove whatever it is that is causing this problem. I have removed and reinstalled chrome. I have cleared Chrome and Safari cookies. Checked extensions, there are none to remove. I need to find an answer on how to get rid of these ads. Help please!

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Application Support/VSearch
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchAgents/com.vsearch.agent.plist
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    Restart and empty the Trash. Don't try to empty the Trash until you have restarted.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. It must be said that this failure of oversight is inexcusable and has seriously compromised the value of Gatekeeper and the Developer ID program. You cannot rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • I am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help

    i am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in  applications) i decide to delete it. I could not remove it from launchpad . i need urgent help from your side.

    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    I never install system modifications myself, and I don't know how to uninstall them. You'll have to do your own research to find that information.
    Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmyrmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button.
    You generally have to reboot in order to complete an uninstallation.
    If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    You may be advised by others to try to remove complex system modifications by hunting for files by name, or by running "utilities" that purport to remove software. I don't give such advice. Those tactics often will not work and maymake the problem worse.

  • Need Urgent Help: Solaris fails to come up after applying patch 120012-14

    Hello All,
    I really need urgent help , as I am in really big problem. Today I applied patches , the last patch I applied was 120012-14.
    After this I rebooted Solaris and it is not coming up now. It is giving me following error, it reboots again and again
    nel/misc/sparcv9/hook: undefined symbol 'netstack_unregister'
    WARNING: mod_load: cannot load module 'hook'
    /kernel/misc/sparcv9/hook: undefined symbol 'netstack_register'
    /kernel/misc/sparcv9/hook: undefined symbol 'netstack_unregister'
    WARNING: mod_load: cannot load module 'hook'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_register'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_event_remove'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_register'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_unregister'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_family_add'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_family_remove'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_unregister'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_find_by_stackid'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_event_add'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_rele'
    WARNING: mod_load: cannot load module 'neti'
    WARNING: neti: unable to resolve dependency, module 'misc/hook' not found
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_register'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip_config'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_impl'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_delete_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip'
    /kernel/drv/sparcv9/ip: undefined symbol 'hook_run'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_cred'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstackid_to_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_create_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_stackid'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_rele'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_hold'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_init'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_fini'
    WARNING: mod_load: cannot load module 'ip'
    WARNING: neti: unable to resolve dependency, module 'misc/hook' not found
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_register'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip_config'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_impl'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_delete_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip'
    /kernel/drv/sparcv9/ip: undefined symbol 'hook_run'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_cred'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstackid_to_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_create_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_stackid'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_rele'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_hold'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_init'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_fini'
    WARNING: mod_load: cannot load module 'ip'
    WARNING: ip: unable to resolve dependency, module 'misc/hook' not found
    strplumb: can't install module drv/ip, err -1
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'cons_tem_disable'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_inverses'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'consmode'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_hide_cursor'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_pos'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_term_font_size'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_size'
    WARNING: mod_load: cannot load module 'consconfig_dacf'
    /kernel/misc/sparcv9/consconfig: undefined symbol 'dynamic_console_config'
    WARNING: mod_load: cannot load module 'consconfig'
    WARNING: consconfig: unable to resolve dependency, module 'dacf/consconfig_dacf' not found
    panic[cpu3]/thread=180e000: mod_hold_stub: Couldn't load stub module misc/consconfig
    000000000180b890 genunix:mod_hold_stub+1f0 (0, 185fc00, 18acbf8, 60002cff370, 1817328, 0)
    %l0-3: 0000000001843b18 0000060003308000 0000000001811ce8 0000000000000000
    %l4-7: 0000000000000000 0000000000000064 ffffffffffffffff 0000000000000000
    000000000180b940 unix:stubs_common_code+30 (1f037ce7fb0, e164, 64000000, 0, 1ef800, 0)
    %l0-3: 000000000180b209 000000000180b2e1 000000337e000000 0000000000000001
    %l4-7: 0000000000000000 0000000001817338 0000000000000000 0000060002ccf6c0
    000000000180ba10 genunix:main+134 (18ad050, 18a8c00, 1836500, 1861800, 183b400, 1814000)
    %l0-3: 0000000070002000 0000000000000001 0000000000000000 0000000000000002
    %l4-7: 00000000018b0280 00000000018b0000 00000000018ad060 00000000018ad000
    syncing file systems... done
    skipping system dump - no dump device configured
    rebooting...
    Please help me what should I do. I have gone through all forums and mailing lists but couldnt find pin point solution.
    Thanks,
    Farhan
    Edited by: rozzx on Jul 5, 2008 1:48 AM

    Solve this. Patch just screwed the meta devices, changed vfstab in single user mod and it booted fine.

  • Need Urgent help, I have made partition hard drive in my mac book and using OS mac

    Need Urgent help, I have made partition hard drive in my mac book and using OS mac & Window8 seperately... for couple of days it works great for both window & OS mac But nowadays, my pc gets restart automatically while using window & even I cant access to my Mac OS...........  I got some error in window (error80070003) ...>>>>> Now how can I format whole drive & recover my Mac book OS.without boot disk.

    I can't find that model. If you open System Profiler in the Utilities folder look for the Model Identifier over in the right hand display. What do you find for the model ID? If your computer supports Internet Recovery here's what to do:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    This should restore the version of OS X originally pre-installed on the computer. If Mavericks is not installed, then you can reinstall it by re-downloading the Mavericks installer.
    You will need to use Boot Camp Assistant in order to create a new Windows partition, then reinstall Windows.

  • Need urgent help with Ifs1.1 on Solaris

    We have installed IFS 1.1 with Oracle 8.1.7 on a three tier System (two Suns). We use JWS as WebServer. When we start IFS and JWS everything seems to work fine. But after some time (irregulary) we are not able to contact the JSP-Sites via a bowser. After restarting JWS, everything works fine for some time.
    Sometimes it happens (about one times a day), that the whole JWS crashes (JWS-Admin doesn't work). So we have to restart the whole IFS.
    What can be the problem? We need urgent help, because the deadline for our project is Wednesday.
    By the way:
    Where do I have to start CTX on the IFS- or the Oracle-Side?
    null

    Yes, we tried the Oracle HTTP - Server, but we weren4t able to get it to work. We didn4t get our JSP-Files to work with it. But that is another issue. I think it4s not a problem of JWS, but IFS.
    Additionally it is strange, that we are still able to connect to the database via SqlPlus.
    IFS works fine for about 15 minutes, than it crashes, nothing works anymore. We found following errors in the IfsAgents.log:
    maybe it can help?!
    Mon Dec 04 23:12:20 CET 2000
    Server STARTED: IfsAgents(19944) not managed
    Attempting to load agent EventExchangerAgent
    Agent EventExchangerAgent loaded
    Server STARTED: IfsProtocols(19945) not managed
    Attempting to start agent EventExchangerAgent
    EventExchangerAgent: Start request
    Agent EventExchangerAgent started
    Attempting to load agent ExpirationAgent
    Agent ExpirationAgent loaded
    EventExchangerAgent: starting timer
    Attempting to start agent ExpirationAgent
    ExpirationAgent: Start request
    Agent ExpirationAgent started
    Attempting to load agent GarbageCollectionAgent
    Agent GarbageCollectionAgent loaded
    ExpirationAgent: computed initial delay (in ms) is: 10024504
    ExpirationAgent: starting timer
    Attempting to start agent GarbageCollectionAgent
    GarbageCollectionAgent: Start request
    Agent GarbageCollectionAgent started
    Attempting to load agent ContentGarbageCollectionAgent
    Agent ContentGarbageCollectionAgent loaded
    GarbageCollectionAgent: computed initial delay (in ms) is: 11816890
    GarbageCollectionAgent: starting timer
    Attempting to start agent ContentGarbageCollectionAgent
    ContentGarbageCollectionAgent: Start request
    Agent ContentGarbageCollectionAgent started
    Attempting to load agent DanglingObjectAVCleanupAgent
    Agent DanglingObjectAVCleanupAgent loaded
    ContentGarbageCollectionAgent: starting timer
    Attempting to start agent DanglingObjectAVCleanupAgent
    DanglingObjectAVCleanupAgent: Start request
    Agent DanglingObjectAVCleanupAgent started
    Attempting to load agent OutboxAgent
    Agent OutboxAgent loaded
    DanglingObjectAVCleanupAgent: computed initial delay (in ms) is: 5500105
    DanglingObjectAVCleanupAgent: starting timer
    Attempting to start agent OutboxAgent
    OutboxAgent: Start request
    Agent OutboxAgent started
    Attempting to load agent ServiceWatchdogAgent
    Agent ServiceWatchdogAgent loaded
    OutboxAgent: Done processing
    Attempting to start agent ServiceWatchdogAgent
    ServiceWatchdogAgent: Start request
    Agent ServiceWatchdogAgent started
    Attempting to load agent QuotaAgent
    Agent QuotaAgent loaded
    ServiceWatchdogAgent: Initializing ServerWatchdogTable with 9 entries
    ServiceWatchdogAgent: starting timer
    Server STARTED: FtpServer(20082) managed by IfsProtocols(19945)
    ServiceWatchdogAgent: New Server being watchdogged
    Attempting to start agent QuotaAgent
    QuotaAgent: Start request
    Agent QuotaAgent started
    QuotaAgent: starting timer
    Server STARTED: CupServer(20124) managed by IfsProtocols(19945)
    ServiceWatchdogAgent: New Server being watchdogged
    Server STARTED: ImapServer(20130) managed by IfsProtocols(19945)
    ServiceWatchdogAgent: New Server being watchdogged
    Server STARTED: SmtpServer(20150) managed by IfsProtocols(19945)
    ServiceWatchdogAgent: New Server being watchdogged
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server Detected in checkServer
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Unlocked Server being investigated
    ServiceWatchdogAgent: Freeing unlocked server 19687
    ServiceWatchdogAgent: Freeing unlocked server 19666
    Server STOPPED: CupServer(19687) managed by IfsProtocols(19519)
    ServiceWatchdogAgent: Freeing unlocked server 19723
    ServiceWatchdogAgent: Freeing unlocked server 19520
    Server STOPPED: FtpServer(19666) managed by IfsProtocols(19519)
    Server STOPPED: SmtpServer(19723) managed by IfsProtocols(19519)
    ServiceWatchdogAgent: Freeing unlocked server 19519
    Server STOPPED: IfsAgents(19520) not managed
    ServiceWatchdogAgent: Freeing unlocked server 19712
    Server STOPPED: IfsProtocols(19519) not managed
    Server STOPPED: ImapServer(19712) managed by IfsProtocols(19519)
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    ServiceWatchdogAgent: Freed Server removed from watchdog list
    QuotaAgent: Timer event: 0 active; 0 exceeded
    ContentGarbageCollectionAgent: Freed 5 unreferenced ContentObjects
    QuotaAgent: Timer event: 0 active; 0 exceeded
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-11012: Unable to get events from other services
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException in checkForDeadServices():
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException in handle loop; continuing:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    ServiceWatchdogAgent: IfsException publishing timer details:
    ServiceWatchdogAgent: oracle.ifs.common.IfsException: IFS-10651: Unable to begin transaction
    oracle.ifs.common.IfsException: IFS-10603: Unable to set database savepoint
    java.sql.SQLException: ORA-03114: not connected to ORACLE
    null

  • BW error. Need urgent Help( I will give out full points).

    We have BW version 3.1 and content 3.3.
    We are doing loads to ODS and getting oracle partition error. It gives Oracle partition error ORA-14400. inserted partition key doesn't map to any parititon.
    The exception must either be prevented, caught within the procedure               
    "INSERT_ODS"                                                                     
    (FORM)", or declared in the procedure's RAISING clause.                          
    o prevent the exception, note the following:                                     
    atabase error text........: "ORA-14400: inserted partition key does not map to   
    any partition"                                                                   
    nternal call code.........: "[RSQL/INSR//BIC/B0000401000 ]"                      
    lease check the entries in the system log (Transaction SM21).                                                                               
    ou may able to find an interim solution to the problem                           
    n the SAP note system. If you have access to the note system yourself,           
    se the following search criteria:                                                
    The termination occurred in the ABAP program "GP3WRFMGVS1D8IW16LLGSL4QQKH " in       
    "INSERT_ODS".                                                                       
    he main program was "SAPMSSY1 ".                                                                               
    he termination occurred in line 41 of the source code of the (Include)              
    program "GP3WRFMGVS1D8IW16LLGSL4QQKH "                                              
    f the source code of program "GP3WRFMGVS1D8IW16LLGSL4QQKH " (when calling the       
    editor 410).                                                                        
    rocessing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in      
    the                                                                               
    rocedure "INSERT_ODS" "(FORM)" but was not handled locally, not declared in         
    the                                                                               
    AISING clause of the procedure.                                                     
    he procedure is in the program "GP3WRFMGVS1D8IW16LLGSL4QQKH ". Its source code      
    starts in line 21                                                                   
    f the (Include) program "GP3WRFMGVS1D8IW16LLGSL4QQKH ".                                                                               
    Please help me guys. I will award points for good answers.

    Dear Sir,
    Now I have got the problem like yours (load to ODS and ORACLE partition error ORA-14400 with INSERT_ODS). Tell me, please - did you solve this problem?
    Can you recommend me something? What did you do with partitions?
    Help me, please - I need urgent help too.
    GLEB ([email protected])
    P.S. Sorry for my English, I haven’t got any language practice for a long time.

Maybe you are looking for