Problem with starting a sqlplus-process via java.lang.Process

Hi,
I want to start a sqlplus-Process from a java-application via java.lang.Process. Works great with XP. On a W2K-Machine, the process is started (I can see it in the Taskmanager), but it doesn't connect to the db - the OS-process hangs, also the java-application which invoked the process.
If I start a sqlplusw.exe-Process instead of sqlplus.exe, it works as well.
Does anybody know what's going wrong ?
I'm using java 1.5.0_11 and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Thanks in advance
Jens

java.lang.Process can be used to perform an OS Shell to launch specific tasks. But why are you interested in specifically launching sqlplus from here?
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Problem with starting/stopping OPMN

    Hi there,
    i have an problem with starting and stopping the opmn. When i try to start/stop/reload the opm i get this error:
    opmnctl: opmn is not running
    root@klart1:/opt/oracle/product/aserver/opmn/bin>./opmnctl shutdown
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    opmnctl: opmn is not running
    in english this means:
    Communication error at the local port for OPMN-Server.
    More Information about this error, see OPMN-Log-Files.
    opmnctl: opmn is not running
    here is a summary from the opmn.xml file:
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="ajp" range="12501-12600"/>
    <port id="rmi" range="12401-12500"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_island" numprocs="1"/>
    </process-type>
    <process-type id="OC4J_BI_Forms" module-id="OC4J">
    <environment>
    <variable id="DISPLAY" value="localhost:0"/>
    <variable id="LD_LIBRARY_PATH" value="/opt/oracle/product/aserver/lib:/opt/oracle/product/aserver/network/lib:/opt/oracle/product/aserver/lib:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/lib/i386/client:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/lib/i386:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/../lib/i386:/usr/lib::/opt/oracle/product/aserver/jdk/jre/lib/i386"/>
    </environment>
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=/opt/oracle/product/aserver/j2ee/OC4J_BI_Forms/config/java2.policy -Djava.awt.headless=true -Xmx512M -Xms128M "/>
    <data id="oc4j-options" value="-properties -userThreads "/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=/opt/oracle/product/aserver/j2ee/OC4J_BI_Forms/config/java2.policy -Djava.awt.headless=true"/>
    </category>
    <category id="urlping-parameters">
    <data id="/reports/rwservlet/pingserver?start=auto" value="200"/>
    </category>
    </module-data>
    <start timeout="900" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="ajp" range="12501-12600"/>
    <port id="rmi" range="12401-12500"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_island" numprocs="1"/>
    can anybody help me? it is urgent.
    best regards
    Daniel

    Hi, thanks for reply to my problem.
    Now i have an new problem , it's not possible to start opmn. (./opmnctl start) .
    I get this error:
    RCV: Transport endpoint is not connected
    Communication Error for local port at OPMN-Server.
    see log files for more information
    opmnctl: opmn start failed
    I have this logfiles:
    HTTP_Server~1
    ipm.log
    OC4J~home~default_island~1
    OC4J~OC4J_BI_Forms~default_island~1
    ons.log
    opmn.log
    states (FOLDER !)
    WebCache~WebCache~1
    WebCache~WebCacheAdmin~1
    i which can i see a detailled information about this error?

  • SOLMAN 7.0 EHP1 problem with starting SMD instance

    Hello everyone,<br><br>
    i have problem with starting instance SMD in my Solution Manager. After START this instance is status for one-two secend green and then status go to yellow color in SAP Management Console. I dont now where is problem, i try everything, can you help me?<br><br>
    Here is LOG from <b>dev_SMDAgent</b><br><br>
    trc file: "G:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701"
    node name   : smdagent
    pid         : 1136
    system name : SMD
    system nr.  : 98
    started at  : Thu Jul 08 14:49:55 2010
    arguments       :
           arg[00] : G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
           arg[01] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
           arg[02] : -DSAPINFO=SMD_98_server
           arg[03] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\SMD\J98\profile\smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : G:\usr\sap\SMD\J98\..\exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\SMD\J98\profile\smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : G:\usr\sap\SMD\J98\..\exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : G:\usr\sap\SMD\J98\profile\smd.properties
    [Thr 5392] Thu Jul 08 14:49:55 2010
    [Thr 5392] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 5392] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 2068] JLaunchRequestFunc: Thread 2068 started as listener thread for np messages.
    [Thr 220] WaitSyncSemThread: Thread 220 started as semaphore monitor thread.
    [Thr 5392] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 5392] CPIC (version=701.2009.01.26)
    [Thr 5392] [Node: SMDAgent] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_26-x64\
    [Thr 5392] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\SMD\J98\..\exe\jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_26-x64\
    -> java parameters    : -DP4ClassLoad=P4Connection
    -> java vm version    : 1.4.2_26-b03
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ..\SMDAgent
    -> class path         : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> OS libs path       : G:\usr\sap\SMD\J98\..\exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : G:\usr\sap\SMD\J98\..\exe\jstartup.jar;G:\usr\sap\SMD\J98\..\exe\jvmx.jar
    -> shutdown class     : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 5392] JLaunchISetDebugMode: set debug mode [no]
    [Thr 2448] JLaunchIStartFunc: Thread 2448 started as Java VM thread.
    [Thr 2448] Thu Jul 08 14:49:56 2010
    [Thr 2448] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
         Java Parameters: -Xss2m
    JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -DP4ClassLoad=P4Connection
    -> arg[  4]: -Dsys.global.dir=G:\usr\sap\SMD\SYS\global
    -> arg[  5]: -Dapplication.home=G:\usr\sap\SMD\J98\..\exe
    -> arg[  6]: -Djava.class.path=G:\usr\sap\SMD\J98\..\exe\jstartup.jar;G:\usr\sap\SMD\J98\..\exe\jvmx.jar;lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> arg[  7]: -Djava.library.path=C:\j2sdk1.4.2_26-x64
    jre\bin\server;C:\j2sdk1.4.2_26-x64
    jre\bin;C:\j2sdk1.4.2_26-x64
    bin;G:\usr\sap\SMD\J98\..\exe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    -> arg[  8]: -Dmemory.manager=256M
    -> arg[  9]: -Xmx256M
    -> arg[ 10]: -Xms256M
    -> arg[ 11]: -DLoadBalanceRestricted=no
    -> arg[ 12]: -Djstartup.mode=JCONTROL
    -> arg[ 13]: -Djstartup.ownProcessId=1136
    -> arg[ 14]: -Djstartup.ownHardwareId=H1630488451
    -> arg[ 15]: -Djstartup.whoami=server
    -> arg[ 16]: -Djstartup.debuggable=yes
    -> arg[ 17]: -Xss2m
    -> arg[ 18]: -DSAPINFO=SMD_98_server
    -> arg[ 19]: -DSAPSTARTUP=1
    -> arg[ 20]: -DSAPSYSTEM=98
    -> arg[ 21]: -DSAPSYSTEMNAME=SMD
    -> arg[ 22]: -DSAPMYNAME=SAPVSM01_SMD_98
    -> arg[ 23]: -DSAPDBHOST=
    -> arg[ 24]: -Dj2ee.dbhost=
    [Thr 2448] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [SMDAgent]
    -> arg[  0]: run
    -> arg[  1]: jcontrol
    [Thr 2448] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 2448] Thu Jul 08 14:49:57 2010
    [Thr 2448] JLaunchISetState: change state from [Initial (0)] to [Initial (0)]
    [Thr 2448] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 2448] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 3140] JLaunchIExitJava: exit hook is called (rc = -11112)
    [Thr 3140] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 3140] JLaunchCloseProgram: good bye (exitcode = -11112)<br><br>
    LOG  dev_jcontrol<br><br>
    trc file: "G:\usr\sap\SMD\J98\work\dev_jcontrol", trc level: 1, release: "701"
    node name   : jcontrol
    pid         : 840
    system name : SMD
    system nr.  : 98
    started at  : Thu Jul 08 14:49:53 2010
    arguments       :
           arg[00] : G:\usr\sap\SMD\J98\..\exe\jcontrol.exe
           arg[01] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\SMD\J98\profile\smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : G:\usr\sap\SMD\exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\SMD\J98\profile\smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : G:\usr\sap\SMD\exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : G:\usr\sap\SMD\J98\profile\smd.properties
    [Thr 5968] Thu Jul 08 14:49:53 2010
    [Thr 5968] *** WARNING => Key profile parameters not set G:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL:
    j2ee/scs/host=
    j2ee/scs/system= [jcntrxx.c    1459]
    [Thr 5968] *** WARNING => Can't open default profile [G:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL] for migration [jcntrxx.c    1460]
    [Thr 5968] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
    [Thr 5968] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
    [Thr 5968] JControlIBuildProcessList: Maximum error count is set to 4
    [Thr 5968] [Node: SMDAgent] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_26-x64\
    [Thr 384] JControlRequestFunc: Thread 384 started as listener thread for np messages.
    [Thr 5968] Thu Jul 08 14:49:54 2010
    [Thr 5968] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\SMD\exe\jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_26-x64\
    -> java parameters    : -DP4ClassLoad=P4Connection
    -> java vm version    : 1.4.2_26-b03
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ..\SMDAgent
    -> class path         : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> OS libs path       : G:\usr\sap\SMD\exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : G:\usr\sap\SMD\exe\jstartup.jar;G:\usr\sap\SMD\exe\jvmx.jar
    -> shutdown class     : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 5968] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server
    JControlStartJLaunch: program = G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
    -> arg[00] = G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
    -> arg[01] = pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    -> arg[02] = -DSAPINFO=SMD_98_server
    -> arg[03] = -nodeId=0
    -> arg[04] = -file=G:\usr\sap\SMD\J98\profile\smd.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_840
    -> arg[06] = -nodeName=smdagent
    -> arg[07] = -jvmOutFile=G:\usr\sap\SMD\J98\work\jvm_SMDAgent.out
    -> arg[08] = -stdOutFile=G:\usr\sap\SMD\J98\work\std_SMDAgent.out
    -> arg[09] = -locOutFile=G:\usr\sap\SMD\J98\work\dev_SMDAgent
    -> arg[10] = -mode=JCONTROL
    -> arg[11] = pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    -> lib path = PATH=C:\j2sdk1.4.2_26-x64
    jre\bin\server;C:\j2sdk1.4.2_26-x64
    jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    -> exe path = PATH=C:\j2sdk1.4.2_26-x64
    bin;G:\usr\sap\SMD\exe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    [Thr 5968] JControlICheckProcessList: process SMDAgent started (PID:1136)
    [Thr 5968] Thu Jul 08 14:49:59 2010
    [Thr 5968] JControlICheckProcessList: process SMDAgent (pid:1136) died (RUN-FLAG)
    [Thr 5968] JControlIResetProcess: reset process SMDAgent
    [Thr 5968] JControlIResetProcess: [SMDAgent] not running -> increase error count (1)
    [Thr 5968] JControlICheckProcessList: shutdown node from console -> restart off
    THANKS FOR RESPONSE

    Hi Martin,
    Check note 940893 (If this is not done already )
    Regards
    Tobias

  • Problem in Starting a GP Process from Webdynpro Code

    Hi Experts
    I have a problem in starting a GP Process from webdynpro code. I have imported the following used DCs in my Webdynpro DC
    caf/eu/gp/api/wd
    caf/eu/gp/api (external)
    com.sap.security.api.sda
    Once I deploy I get the following error. No Syntax, Build errors in the application.
    java.lang.NoClassDefFoundError: com/sap/caf/eu/gp/process/rt/api/IGPRuntimeManager
    I have used the following code to start the GP Process - getUserDetails Context is of type IUser
              //Starting GP Process
    try {
    IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
    IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
    IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(
         wdContext.currentContextElement().getUserDetails());
    IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate(
                        "00A897714C5A11DE8E33005056A260C3", userContext);
    IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
    IGPProcessInstance prInstance = rtm.startProcess(process,
                        "New User Registration Process",
                        "New User Registration Process",
                        wdContext.currentContextElement().getUserDetails(),
                        roles,
                        params,
                        wdContext.currentContextElement().getUserDetails());
    } catch (Exception e) {
         e.printStackTrace();
    Please do the needful EXPERTS.
    FYI... SP17
    Thank you
    Best Regards
    Ramamoorthy D

    Hi Ram,
    You have to add Library reference to your DC.
    in the context menu of your DC select
    properties->webdynproReferences->LibraryReference
    add sap.com/cafeugp~api as refernce.
    I hope this will solve your problem.
    Regards,
    Rajesh

  • Problem with starting Windows when W510 in docking station

    When I put in my W510 to the docking station, I have usually every second day problems with starting up Windows operation system.
    I make 2 videos, where on the first 100_1060.MOV you can see starting Windows when it is frozen (first 1 minute record, I start record after about 3 minutes frozen), then I have to reboot W510 by on/off button and start ThinkVantage.
    On the second video 100_1061.MOV is starting operating system after ThinkVantage process, this start is OK.
    http://www.licko.cz/w510/100_1060.MOV
    http://www.licko.cz/w510/100_1061.MOV
    Why I have this problems? I have latest Windows and W510 updates.
    Regards,
      Lubomir Licko
    Solved!
    Go to Solution.

    There was some upgrades of Microsoft and Lenovo and I don't have this problem long time.

  • I have problem with starting up my Mac Pro ?

    Dear ,
    I'have a problem with starting up my Mac Pro , please advice me how to start it

    This may help.
    http://support.apple.com/kb/TS1365
    Note: Steps 5 and 6
    Step 5
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • Problem with a stuck yellow process chain

    Hi all,
    I have a problem with a stuck yellow process chain.
    A Meta chain calling a sub chain. The sub chain loads some master data.
    Some months ago one process stopped in yellow, no processes still running.
    So after that day when the meta chain runs the error msg is as follows
    Diagnosis                                                                               
    The previous run of the current subchain, BW_METADATA_MD_ST , is not yet   
         complete. This leads to communication errors with the metachain called,    
         BW_METADATA_MD .                                                                               
    System response                                                                               
    The current run of the metachain is cancelled.                                                                               
    Procedure                                                                               
    1.  End the previous run of the subchain, or wait until the run is         
             complete.                                                              
             It does not matter whether the run was successfully completed or       
             not.                                                                               
    2.  Restart the metachain.                                                 
    How do I end the previous run of the subchain?
    There is no process running, just want to set the flag to ended.
    Thanks in advance.
    BR
    Lars
    Message was edited by:
            Lars Johnsson

    Hi Lars,
       Have a look this web log : Restarting Processchains
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope it Helps
    Srini

  • Problem with starting more than one SwingWorker

    Hello
    I wonder if anyone could tell me if there are known problems with starting more than one SwingWorker thread at once?
    In response to an action the user performs, I need to obtain several lists of things from the server. This includes a couple of server-calls, and I want to do the server calls in a thread outside the awt-event thread. So I start a couple of SwingWorker-threads. This works fine sometimes, but not always. Sometimes code in some of the SwingWorkers finished method does not update the ui. I can see that the correct calls are made, but the ui is still not updated correctly. The problem seems to be related to the sequence of when the different thread are finished. For instance, if the sequence is like this:
    SwingWorker1.construct
    SwingWorker2.construct
    SwingWorker1.finished
    SwingWorker2.finished
    Things go fine, but if the sequence is:
    SwingWorker1.construct
    SwingWorker1.finished
    SwingWorker2.construct
    SwingWorker2.finished
    the ui-updates in SwingWorker1.finished is not done correctly.
    Can anyone help me with this?

    This is the point:
    In one SwingWorker thread you have 1 construct method, and 1 finish method - which are both invoked once.
    Therefore you only have one opportunity to update the gui in that thread. This forces you to use many threads if you want regular updates, which I try to avoid.
    Therefore, the solution!
    Have a loop in the construct method that executes the algorithm accordingly, updating the gui accordingly at regular times, maintaining just the 1 thread - becomes easier and nicer for the programmer and the JVM.
    The finish method in this case is to update the gui when all iterations are finished.
    There is nothing wrong with this. Just because you have a finish method that is called in the event-dispatching thread doesn't mean that all your update code must be in there.
    What you MUST ensure is that ALL your update code is executed in the event-dispatching thread, that is the most important thing. After all, SwingWorker is just a helper class, not the gospel template of how to update a gui.

  • Problem with starting JSPM

    Hi all,
    I have a problem with starting JSPM. We have just upgraded to SAP NWS 2004s SP11 SR2. We are in AIX server. So to execute JSPM, I log on to AIX server using PUTTy with <SID>adm. I go to /usr/sap/<SID>/DVEBMGS00/j2ee/JSPM and i execute the "go" program. But I have the following thing :
    Current log directory is /usr/sap/OWA/DVEBMGS00/j2ee/JSPM/log/log_2007_04_25_14_54_53.
    Waiting for SDTServer to connect on hostname froafbwod1/10.8.134.129 socket 6240 ...
    So what happend, I don't understand anything...Pls, someone can help me?
    Thanks for your reply...

    Hi,
    Hope this helps you - http://help.sap.com/saphelp_nw04s/helpdata/en/42/e7e7cb64ac3ee4e10000000a1553f7/content.htm
    JSPM: Better Know It Now Than Later
    JSPM does not start
    JSPM DIR_EPS_ROOT error during the execution of the JSPM_PROCESS phase
    Bye...

  • Problem with starting OEM-agent on NT (clustered)

    We have problem with starting the OEM-agent (9i) on Windows 2000. The Nt-server is clustered.
    I have started the OracleAgent by the service screen. Everyting looks ok.
    But, from the server where the OEM-console is installed I can't contact the
    agent.
    I stopped then the agent and started it by typing;
    d:\oracle\ora92\bin\agntsrvc.exe
    Than i get the error:
    StartServiceCtrlDispatcher Failed with err 1063
    Anyone an idea?
    Thanks.
    Klaas

    Increate the virtual memory and try to start the service here:
    SELECT START > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES
    Joel Pérez

  • Problem with starting Java IDL HelloClient example

    I have no problems when starting orbd and HelloServer on one Windows machine and HelloClient on other Windows machine. But if I start orbd and HelloServer on linux machine I face the problem: HelloClient doesn't want to start. Here is the stacktrace:
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2172)
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2193)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:205)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:218)
         at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:101)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:172)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:211)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java:73)
         at HelloClient.main(HelloClient.java:21)
    Caused by: java.net.ConnectException: Connection refused: connect
         at sun.nio.ch.Net.connect(Native Method)
         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
         at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
         at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:60)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:188)
         ... 9 moreand more:
    04.12.2006 11:43:26 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.0.1; port: 1049"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2172)
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2193)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:205)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:218)
         at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:101)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:211)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java:73)
         at HelloClient.main(HelloClient.java:21)
    Caused by: java.net.ConnectException: Connection refused: connect
         at sun.nio.ch.Net.connect(Native Method)
         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
         at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
         at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:60)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:188)
         ... 8 more
    04.12.2006 11:43:27 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.0.1; port: 2090"
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2172)
         at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2193)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:205)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:218)
         at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:101)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:172)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:211)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java:73)
         at HelloClient.main(HelloClient.java:21)
    Caused by: java.net.ConnectException: Connection refused: connect
         at sun.nio.ch.Net.connect(Native Method)
         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
         at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
         at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:60)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:188)
         ... 9 moreAre there common and well-known reasons of this problem? Can anyone help me, please?

    The Linux server is bound to the loopback device instead of the network interface. Try one of the following:
    1. Set the ORB's com.sun.CORBA.ORBServerHost Property to the hostname or IP address of the network interface on the Linux machine.
    2. Modify the 'etc/hosts' file on the Linux machine to make sure that the first entry contains the hostname and IP address of the network interface.
    Regards,
    Miran

  • A problem with initiating a BPEL process through its web service interface

    hi,
    i am trying to initiate the helloWorld BPEL process through its web service interface. i use a proxy class that i wrote and i use it from J#.net.
    this is the relevant code part:
    hello.HelloWorldBinding wsProxy = new hello.HelloWorldBinding();
    wsProxy.initiate("Hello");
    and the server shows the following message:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.
    engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Cannot
    decode properties.
    The process domain was unable to decode the properties for message guid 10, whic
    h are stored in column String index out of range: 3094; the exception reported i
    s: {2}.
    sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_ta
    g, operation_name, receive_date, state, priority, properties FROM invoke_message
    WHERE message_guid = ?
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:152)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseSche
    duledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java
    :86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDriven
    BeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome
    .java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:
    928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2006-05-10 21:21:15,171> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaDa
    java.lang.StringIndexOutOfBoundsException: String index out of range: 3094
    at java.lang.String.substring(String.java:1441)
    at com.collaxa.common.util.LVDecoder.decodeElement(LVDecoder.java:152)
    at com.collaxa.common.util.LVDecoder.decodeToMap(LVDecoder.java:45)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersi
    r.java:2186)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistence
    :2112)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvoke(BaseDeliveryPersistenceAd
    079)
    at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadInvoke(DeliveryPersistenceMgr.java:357)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:465)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBe
    java:1796)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHa
    7)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    what is the problem? how come i can't initiate the process?
    i will be happy if i could get help..
    thanks in advance

    can you initate the process from the bpel console successfully?
    if so can you use obtunnel from the installation to trace the soap message (that goes over the wire), my best guess in this case is a problem with a header (holding the wsa information) ..
    after starting obtunnel it will liesten to a custom port, and will forward the request to the engine, so you need to point your client to this new port..
    hth clemens

  • Problem with starting j2ee stack

    We have Netweaver 2004s ABAP+J2EE (Add-in). ABAP stack starts ok, but j2ee stack not :(.
    dev_jcontrol:
    [Thr 6040] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 6040] INFO: Invalid property value [javaVMPath=C:\j2sdk1.4.2_09]
    [Thr 6040] INFO: Invalid property value [javaVMVersion=1.4.2_09-b05]
    [Thr 6040] INFO: Invalid property value [javaVMVendor=Java HotSpot(TM) Server VM (Sun Microsystems Inc.)]
    [Thr 6040] INFO: Invalid property value [javaVMCpu=x86]
    [Thr 6040] INFO: Invalid property value [javaVMLibPath=C:\j2sdk1.4.2_09\jre\bin\server;C:\j2sdk1.4.2_09\jre\bin]
    [Thr 6040] INFO: Invalid property value [javaVMExePath=C:\j2sdk1.4.2_09\bin]
    [Thr 6040] *** ERROR => Main class not specified [jstartxx.c   2592]
    [Thr 6040] *** ERROR => node [bootstrap] not found [jstartxx.c   1593]
    [Thr 6040] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = -18)
    [Thr 6040] JControlCloseProgram: started (exitcode = -18)
    [Thr 6040] JControlCloseProgram: good bye... (exitcode = -18)
    instance.properties
    #bootstrap. : -
    #bootstrap. : generated VM parameters
    #bootstrap. : Thu Apr 20 14:36:35 2006
    #bootstrap. : -
    bootstrap.javaVMPath=C:\j2sdk1.4.2_09
    bootstrap.javaVMVersion=1.4.2_09-b05
    bootstrap.javaVMVendor=Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    bootstrap.javaVMType=server
    bootstrap.javaVMCpu=x86
    bootstrap.javaVMLibPath=C:\j2sdk1.4.2_09\jre\bin\server;C:\j2sdk1.4.2_09\jre\bin
    bootstrap.javaVMExePath=C:\j2sdk1.4.2_09\bin
    And I can't understand what can be problem with java props. Any suggestion?
    Thanks in advance,
    Aliaksandr Kuchar

    Thank you Vladimir for your replies, it's very helpful.
    Actually we managed to restore properties file on our files system. And now sap mmc shows that j2ee server starts well. But we cann't connect it by http neither deafult page of server nor any other (portal f.e.), but can connect Visual Admin.
    std_server0.out
    SAP J2EE Engine Version 7.00   PatchLevel is starting...
    Loading: LogManager ... 1782 ms.
    Loading: PoolManager ... 15 ms.
    Loading: ApplicationThreadManager ... 141 ms.
    Loading: ThreadManager ... 31 ms.
    Loading: IpVerificationManager ... 47 ms.
    Loading: ClassLoaderManager ... 31 ms.
    Loading: ClusterManager ... 453 ms.
    Loading: LockingManager ... 110 ms.
    Loading: ConfigurationManager ... 8281 ms.
    Loading: LicensingManager ... 47 ms.
    Loading: CacheManager ... 125 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service DQE started. (0 ms).
      Service runtimeinfo started. (32 ms).
      Service memory started. (188 ms).
      Service cross started. (172 ms).
      Service file started. (250 ms).
      Service timeout started. (219 ms).
      Service cafeuodi~mnuacc started. (0 ms).
      Service trex.service started. (31 ms).
      Service p4 started. (969 ms).
      Service classpath_resolver started. (78 ms).
      Service cafeucc~api started. (2922 ms).
      Service jmx_notification started. (93 ms).
      Service userstore started. (47 ms).
      Service log_configurator started. (8000 ms).
      Service locking started. (15 ms).
      Service naming started. (1187 ms).
      Service failover started. (78 ms).
      Service appclient started. (140 ms).
      Service javamail started. (641 ms).
      Service ts started. (609 ms).
      Service http started. (1469 ms).
      Service licensing started. (31 ms).
      Service jmsconnector started. (562 ms).
      Service connector started. (546 ms).
      Service iiop started. (656 ms).
      Service webservices started. (3625 ms).
      Service deploy started. (15578 ms).
      Service configuration started. (47 ms).
      Service MobileSetupGeneration started. (47 ms).
      Service MigrationService started. (79 ms).
      Service MobileArchiveContainer started. (63 ms).
      Service bimmrdeployer started. (0 ms).
      Service dbpool started. (2266 ms).
      Service cafeugpmailcf started. (62 ms).
      Service com.sap.security.core.ume.service started. (2578 ms).
      Service security started. (1296 ms).
      Service classload started. (156 ms).
      Service applocking started. (344 ms).
      Service shell started. (328 ms).
      Service tceCATTPingservice started. (78 ms).
      Service telnet started. (78 ms).
      Service webdynpro started. (859 ms).
      Service cafummetadata~imp started. (937 ms).
      Service ejb started. (2219 ms).
      Service servlet_jsp started. (2937 ms).
      Service dsr started. (1500 ms).
      Service developmentserver started. (2687 ms).
      Service keystore started. (3593 ms).
      Service ssl started. (78 ms).
      Service tcsecsecurestorage~service started. (562 ms).
      Service cafumrelgroups~imp started. (3297 ms).
      Service tcsecwssec~service started. (235 ms).
      Service tcsecdestinations~service started. (703 ms).
      Service pmi started. (500 ms).
      Service sld started. (2875 ms).
      Service cafruntimeconnectivity~impl started. (28656 ms).
      Service cafeugp~model started. (375 ms).
      Service tcsecvsi~service started. (1797 ms).
      Service tceujwfuiwizsvc started. (16 ms).
      service tcdisdic~srv ================= ERROR =================
      Service jmx started. (6110 ms).
      Service cafeuer~service started. (1781 ms).
      Service tc.CBS.Service started. (9578 ms).
      Service prtbridge started. (5954 ms).
      Service CUL started. (5703 ms).
      Service com.adobe~DataManagerService started. (6047 ms).
    Jun 7, 2007 3:08:03 PM   ...utilxi.prop.api.PropertySourceFactory [SAPEngine_System_Thread[impl:5]_43] Fatal: XI properties could not be initialized. Check ExchangeProfile (or aii.properties).
    Thrown:
    java.lang.Throwable: dummy Throwable for stack trace
         at com.sap.aii.utilxi.prop.api.PropertySourceFactory.getPropertySource(PropertySourceFactory.java:55)
         at com.sap.aii.utilxi.misc.api.AIIProperties.sync(AIIProperties.java:548)
         at com.sap.aii.utilxi.misc.api.AIIProperties.<init>(AIIProperties.java:319)
         at com.sap.aii.utilxi.misc.api.AIIProperties.getInstance(AIIProperties.java:346)
         at com.sap.aii.af.service.sld.SLDAccess.syncExchangeProfile(SLDAccess.java:43)
         at com.sap.aii.af.service.cpa.impl.util.SLDReader.run(SLDReader.java:89)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
      Service apptracing started. (3125 ms).
      Service basicadmin started. (7422 ms).
      Service com.adobe~LicenseService started. (531 ms).
      Service com.adobe~DocumentServicesConfiguration started. (859 ms).
      Service adminadapter started. (3531 ms).
      Service com.sap.portal.pcd.gl started. (156 ms).
      Service com.adobe~DocumentServicesBinaries2 started. (4156 ms).
      Service com.adobe~DocumentServicesDestProtoService started. (4250 ms).
      Service com.adobe~DocumentServicesLicenseSupportService started. (3391 ms).
      Service com.adobe~TrustManagerService started. (2906 ms).
      Service jms_provider started. (14734 ms).
      Service monitor started. (6047 ms).
      Service com.sap.portal.prt.sapj2ee started. (93 ms).
      Service com.sap.aii.af.cpa.svc started. (18157 ms).
      Service com.sap.aii.af.svc started. (1640 ms).
      Service com.sap.aii.af.security.service started. (515 ms).
      Service com.sap.aii.af.ms.svc started. (672 ms).
      Service com.sap.aii.adapter.marketplace.svc started. (437 ms).
      Service com.sap.aii.adapter.jms.svc started. (765 ms).
      Service com.sap.aii.adapter.xi.svc started. (734 ms).
      Service com.sap.aii.adapter.bc.svc started. (1016 ms).
      Service com.sap.aii.adapter.mail.svc started. (610 ms).
      Service com.sap.aii.adapter.jdbc.svc started. (640 ms).
      Service com.sap.aii.adapter.rfc.svc started. (1063 ms).
      Service com.sap.aii.adapter.file.svc started. (766 ms).
      Service com.sap.aii.af.ispeak.svc started. (437 ms).
      Service com.adobe~FontManagerService started. (19078 ms).
      Service com.adobe~PDFManipulation started. (18281 ms).
      Service com.adobe~XMLFormService started. (4468 ms).
      Service tc.monitoring.logviewer started. (32672 ms).
      Service rfcengine started. (43672 ms).
    ServiceManager started for 81656 ms.
    Framework started for 93172 ms.
    SAP J2EE Engine Version 7.00   PatchLevel is running!
    PatchLevel October 23, 2006 07:41 GMT
    Could it be forced by absence of aii.property or by service tcdisdic~srv ================= ERROR =================? How could I indicate problem in more exact way?

  • Problems with calling a Bat file in java...

    i'm having some issues when i try to call my bat file within java...
    here is the code
    Runtime.getRuntime().exec("cmd.exe C:\\dev\\CMIC\\components\\client\\bin\\startup.bat");
    it starts up the bat file but it seems to only execute the first line in the bat, then it shuts it down... i dont get it. cuz if i call that bat from another bat it works fine.. if i click on it, it works fine why would java have a problem with it?

    After doing some searching around... this is what i came up with.. but i still get the same results.. the dos screen pops up and then poof.. its gone..
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    public class test {
         public static void main(String Args[]){
         System.out.println("About to try and EXecute the Bat");
                   //String retVal = ExecWindows( "cmd.exe C:\\dev\\CMIC\\components\\client\\bin\\startup.bat" );
                   String retVal = ExecWindows( "cmd.exe /C C:\\dev\\CMIC\\components\\client\\bin\\startup.bat" );
                   System.out.println(retVal);     
         private static String ExecWindows(String cmd) {
              try {
                   ByteArrayOutputStream bos = new ByteArrayOutputStream(100 * 1024);
                   Runtime rt = Runtime.getRuntime();
                   Process proc = rt.exec(cmd);
                   StreamGobbler errorGobbler =
                        new StreamGobbler(proc.getErrorStream(), "ERROR");
                   StreamGobbler outputGobbler =
                        new StreamGobbler(proc.getInputStream(), "OUTPUT", bos);
                   errorGobbler.start();
                   outputGobbler.start();
                   int exitVal = proc.waitFor();
                   //if ( DEBUG ) System.out.println( "cmd: '" + cmd + "' -> " + exitVal );
                   errorGobbler.join();
                   outputGobbler.join();
                   //if (DEBUG && exitVal != 0)
                   //     System.out.println(" ExitValue: " + exitVal);
                   if (exitVal != 0)
                        return "";
                   bos.flush();
                   String output = bos.toString();
                   bos.close();
                   return output;
              } catch (Throwable t) {
                   return "";
         } /* * Handle standard I/O streams */
    } // end of class
         class StreamGobbler extends Thread {
              InputStream is;
              String type;
              OutputStream os;
              StreamGobbler(InputStream is, String type) {
                   this(is, type, null);
              StreamGobbler(InputStream is, String type, OutputStream redirect) {
                   this.is = is;
                   this.type = type;
                   this.os = redirect;
              public void run() {
                   try {
                        PrintWriter pw = null;
                        if (os != null)
                             pw = new PrintWriter(os);
                        InputStreamReader isr = new InputStreamReader(is);
                        BufferedReader br = new BufferedReader(isr);
                        String line = null;
                        while ((line = br.readLine()) != null) {
                             //System.out.println( "{" + line + "}" );
                             if (pw != null) {
                                  pw.println(line);
                             } else {
                                  System.out.println(type + ">" + line);
                        if (pw != null)
                             pw.flush();
                   } catch (IOException ioe) {
                        ioe.printStackTrace();
         }

  • Problems with starting App-v packages in Windows 10

    Hello, 
    I am testing some app-v 5 (sp3) packages on windows 10 (Build 9926). But with some packages I get this Error:
    “The application was unable to start correctly (0xc0000142)”. Click OK to close the application"
    This package contains Google Chrome 41.
    This is the error I can find in the Event Viewer:
    Log Name: Application
    Source: Application Error
    Date: 20/03/2015 13:06:42
    Event ID: 1000
    Task Category: (100)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: %computername%
    Description:
    Faulting application name: chrome.exe, version: 41.0.2272.89, time stamp: 0x54fa819a
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x00000000
    Faulting process id: 0x132c
    Faulting application start time: 0x01d06306529e9124
    Faulting application path: C:\Users\%username%\AppData\Local\Microsoft\AppV\Client\Integration\F6864A3D-8FDB-49D4-9E52-062D22FEA3B5\Root\VFS\ProgramFilesX86\Google\Chrome\Application\chrome.exe
    Faulting module path: unknown
    Report Id: 917fe03e-cef9-11e4-ab38-00155d016404
    Faulting package full name:
    Faulting package-relative application ID:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-03-20T12:06:42.000000000Z" />
    <EventRecordID>895</EventRecordID>
    <Channel>Application</Channel>
    <Computer>%computername%</Computer>
    <Security />
    </System>
    <EventData>
    <Data>chrome.exe</Data>
    <Data>41.0.2272.89</Data>
    <Data>54fa819a</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>00000000</Data>
    <Data>132c</Data>
    <Data>01d06306529e9124</Data>
    <Data>C:\Users\%username%\AppData\Local\Microsoft\AppV\Client\Integration\F6864A3D-8FDB-49D4-9E52-062D22FEA3B5\Root\VFS\ProgramFilesX86\Google\Chrome\Application\chrome.exe</Data>
    <Data>unknown</Data>
    <Data>917fe03e-cef9-11e4-ab38-00155d016404</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    </EventData>
    </Event>
    If I start the same package in Windows 8.1, no problems occur. 
    Chrome is not the only package that I have problems with.
    I am still new in working with app-v.
    Has anyone experienced the same problem and found a solution for it?

    Hello,
    Since Windows 10 is in technical preview I would guess that this is not supported by anyone.
    Had one googled this the Three following top-topics would have showed up;
    https://support.microsoft.com/en-us/kb/2777003?wa=wsignin1.0
    https://packnowledge.wordpress.com/2014/04/28/launching-a-network-executable-inside-an-app-v-5-virtual-environment-revised/
    http://blogs.technet.com/b/gladiatormsft/archive/2013/06/11/app-v-5-0-on-these-0xc0000142-errors-and-where-they-are-coming-from.aspx
    Nicke Källén | The Knack| Twitter:
    @Znackattack

Maybe you are looking for

  • Picture not showing up (although somehow present)

    Hello! Iphoto is behaving very strange on older fotos that were imported way long time ago: - Events aren't sorted by date: There's a first block of events with newer pictures which get sorted correctly, then things get messy: 2006 follows 2012, back

  • Displaying non-western characters

    Hi there, I am developing a midlet where I handle some arabic words.. I have a pb, I cannot display arabic character . I used the following code, unfortunately it does not work, unfortunately I got a sequence of question marks displayed in the txtfie

  • Dynamically stating the field name in the WHERE clause

    Hello All, Consider the following select statement. SELECT kunnr INTO TABLE gt_kunnr       FROM kna1       FOR ALL ENTRIES IN gt_table       WHERE kunnr = gt_table-<b>cust_id</b>. Suppose there is a case where I do not know the name of the internal t

  • Minecraft not working??

    hi there apon recently downloading minecraft on my mac, i discover that it doesn't work and has to be moved to the trash, however i took it out of the trash and loaded it up, then after logging into the game, it crashed which is really annoying any s

  • Embedded SQL blues

    I have some embedded SQL in a C program in UNIX (PRO*C). I've been trying to make what I thought was a simple enhancement, but I'm totally stumped at why I'm getting the results (or lack thereof) I'm getting. I added the below statement to the code i