VM not started if invoke is used in a C++ Daemon

Hi,
I'm trying to load the VM (JDK 1.4) in a C++ program which is using fork() to create a new process. The JNI_CreateJavaVM Call is working as long as it is used in the main process, if I do it in the forked background proc it is failing without any message or dump.
Since this JDK there is a new lib structure. There is a libjvm.so in a subdir named client and another one in a subdir named server. I have not found any documentation on why this is so or what lib I need to load for what purpose.
Any help is appreciated.
Thanks,
J-P

Hi J-P,
Thanks for the clarification. Guess I went on about something that turned out not to be your situation. But this is good - we've cleared things up now.
However
threading is not always the solution for everything, I
need a fork to spawn a child process first and this
child process should be able to cleanly load and start
a full VM from scratch.This is actually just what the daemons I have inherited now do. Each starts running, forks off a child which will be set up to actually be the daemon process, and then the child continues by loading and creating the JVM via the JNI invocation calls. Then the child can make calls into Java.
Crashing
1. Start Process
2. Fork
3. Continue parent without Java
4. Load VM in childOk, so the only difference in the overall process model that I have is that my parent processes don't continue on. They are terminated immediately after the child is off and running.
I used -verbose:jni to see what happens and it crashes
away immediately when the first call to
RegisterNatives comes up. Ah - now I just realized that my daemons don't actually call RegisterNatives, though I've used that method in other non-daemon processes...
As for differences with forked processes versus those created from your typical shell process, yes, I think there are some, but I can't say what they are offhand. Have you tried reading the man pages for "fork" on your OS? Which OS are you using by the way? I am running my stuff on HP-UX 11 and Solaris 8, and someone else has done a Linux port. All are working now except that we have some other elusive problems only on Solaris 8, ironically... we are using JRE 1.3.1.
in my opinion it is a bug somewhere in the VMWell, maybe, but I've learned to always second guess myself with JNI, because there are so many things that can go wrong in your native code, it's incredible. Nonetheless it does seem odd that the same thing runs fine when the fork factor is removed.
I think there's another option you can give the JVM to check all the arguments of your JNI calls... if only I could remember what that was. Try hunting for the Hotspot VM options; a search term on java.sun.com I've used before is 'Hotspot VM documentation'. Also check out any documentation of the supplier of the JVM and/or OS you are running to see if there are any special compiler switches you need - sometimes there are.
Finally, here's a real silly question... you've got any environment vars that need to be exported (to the child process)? I don't know what, maybe something like LD_LIBRARY_PATH.
- Chris

Similar Messages

  • Can not start the cluster database using srvctl

    Created a RAC database with CRS.
    When i start the cluster database with srvctl, it appears that the database is started (i made sure using srvctl status), but when i try to login to the database using sqlplus, i get a message 'connected to idle instance'. if i try to start the database from sqlplus, i get message 'requested INSTANCE_NUMBER is busy!.
    any thoughts why i can not connect to the database using sqlplus after i start the database using srvctl?
    I stop the database using srvctl and started using traditional sqlplus, it will start with out any problem.
    what am i missing?

    check ur oracle_sid,also try to connect as sqlplus sys/****@prod as sysdba
    may be this is due to improper setting of init.ora file.
    and post ur sqlplus output here.
    Thanks
    Kuljeet Pal Singh

  • ITunes and Quicktime will not start on new PC using Vista

    Hi everyone,
    I just bought a new PC using Vista "Home Premium" edition. No previous version of iTunes on PC. I downladed iTunes 7.6. When I try to start iTunes Windows error msg says "iTunes has stopped working check on-line for a solution and close the program". When I click on the link provided it just brings me back to the same page where I already downloaded iTunes 7.6! When I try to start Quicktime I get the same error msg.
    Any suggestions on how to fix the problem?
    Thank-you in advance for your help.
    Nat

    I had the exact same problem. Just use this article:
    http://support.apple.com/kb/TS1717
    What ended up happening for me was that it was a user-specific problem. For that, just follow these steps (taken from the above article):
    Remove iTunes Plug-ins
    third-party iTunes plug-ins can cause many issues, particularly if the plug-in has not been updated to be compatible with new versions of iTunes. iTunes plug-ins are located in the following location:
    C:\Users\username\AppData\Roaming\Apple Computer\iTunes\iTunes Plug-ins
    Remove iTunes Preference files
    Some of the files that iTunes uses to store settings and preferences may be corrupt and cause issues. iTunes has two folders where preferences are saved. Move one of them to the desktop and test to see if the issue persists. If it does, move it back and remove the second folder. The location for the two preference folders are:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Hope this helps.

  • Addon not starting - help needed in using ExtensionPackage tool

    Hi,
    I have deployed my addon using Lightweight Deployment in 9.1 PL00.
    When starting my addon, I get the error: SapProject1 has stopped working.
    What may be the issue?
    I packaged my addon using ExtensionPackage tool. In the SBO compatibility tab, we need to give the  version like 910.000.00. How should I check I my exact version number? In SAP application->Help->About SAP Business One, it shows version as 9.10.105, but in ExtensionPackage tool, I am supposed to write as nnn.nnn.nn. So how should I mention there?
    Secondly, in the Register 32-Bit Microsoft COM DLLs tab, should I select the DLLs: Interop.SAPbobsCOM.dll and Interop.SAPbouiCOM.dll ?
    Please guide me. I am trying to do it for first time.
    Thanks.

    I have never ran the DocCheck from the command prompt, so I really don't know how to do it, but I do run it succesfully using ant (build tool from apache - jakarta, if you use tomcat you already have it installed).
    So.. if you do use ant.. this will help:
    <target name="doccheck" depends="prepare">
         <javadoc
              packagenames="${packages}"
                    destdir="${doccheck.home}"
              doclet="com.sun.tools.doclets.doccheck.DocCheck"
              docletpath="${doccheck.path}" >
              <classpath refid="project.classpath"/>
              <sourcepath refid="project.classpath"/>
         </javadoc>
    </target>If you don't use it.. I guess I was of no help, sorry.
    Ylan

  • SAP R/3 Installation : Dispatcher not starting up.

    Hi,
       I'm trying to Install SAP R/3 Enterprise ABAP on Windows: Oracle. Central Instance, Database Instance & Gateway Instance Installation went smoothly without any problems.
       But when I tried to start the SAP system the Dispatcher is not starting.
       I'm getting following error which is listed below from various files like dev_wx, dev_ms, stderrx & dev_rfc.
    <u><b>dev_rfc.trc file</b></u>
    >TS> Fri Jun 03 14:02:41 2005
    T:5268 ======> Connect to SAP gateway failed
    Connect_PM  TPNAME=IGS.C01, GWHOST=wipro, GWSERV=3300
    ERROR       partner not reached (host 10.119.2.66, service 3300)
    TIME        Fri Jun 03 14:02:41 2005
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8593
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     2
    <u><b>dev_ms file</b></u>
    [Thr 5884] Fri Jun 03 17:51:27 2005
    [Thr 5884] systemid   560 (PC with Windows NT)
    [Thr 5884] relno      6400
    [Thr 5884] patchlevel 0
    [Thr 5884] patchno    12
    [Thr 5884] intno      20020600
    [Thr 5884] pid        5816
    [Thr 5884] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 5816) [msxxserv.c   1655]
    [Thr 5884] MsHttpInit: full qualified hostname = wipro.hobbits
    [Thr 5884] HTTP logging is switch off
    [Thr 5884] set HTTP state to LISTEN
    [Thr 5884] MsHttpOwnDomain: own domain[1] = hobbits
    [Thr 5884] *** I listen to port sapmsC01 (3601) ***
    [Thr 5884] *** HTTP port 8101 state LISTEN ***
    [Thr 5884] CUSTOMER KEY: >P1811225457<
    [Thr 5884] Fri Jun 03 17:51:47 2005
    [Thr 5884] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from wipro_C01_00 [msxxserv.c   4190]
    [Thr 5884] Fri Jun 03 17:52:44 2005
    [Thr 5884] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from wipro_C01_01 [msxxserv.c   4190]
    [Thr 5884] Fri Jun 03 17:52:49 2005
    [Thr 5884] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from wipro_C01_00 [msxxserv.c   4190]
    [Thr 5884] ***LOG Q0I=> NiPRead: recv (10054: WSAECONNRESET: Connection reset by peer) [ninti.c 777]
    [Thr 5884] *** ERROR => MsSRead: NiBufReceive (rc=NIECONN_BROKEN) [msxxserv.c   9101]
    [Thr 5884] *** ERROR => MsSClientHandle: MsSRead C2 (wipro_C01_00), MSEINTERN [msxxserv.c   3765]
    [Thr 5884] Fri Jun 03 18:03:09 2005
    [Thr 5884] *** ERROR => MsSCheckConnections: no response from client C1 (10.119.2.66) after 300 secs received [msxxserv.c   2913]
    [Thr 5884] *** ERROR => MsSCheckConnections: disconnect now [10.119.2.66] [msxxserv.c   2917]
    [Thr 5884] *** ERROR => MsSCheckConnections: no response from client C0 (10.119.2.66) after 300 secs received [msxxserv.c   2913]
    [Thr 5884] *** ERROR => MsSCheckConnections: disconnect now [10.119.2.66] [msxxserv.c   2917]
    <u><b>stderr file</b></u>
    <u><b>stderr2 file</b></u>
    C:\usr\sap\C01\D00\work>echo WHENEVER SQLERROR exit SQL.SQLCODE  1>v9start.sql
    C:\usr\sap\C01\D00\work>echo connect / as sysdba  1>>v9start.sql
    C:\usr\sap\C01\D00\work>echo startup  1>>v9start.sql
    C:\usr\sap\C01\D00\work>echo exit  1>>v9start.sql
    SQL*Plus: Release 9.2.0.5.0 - Production on Fri Jun 3 17:51:27 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    ORA-01081: cannot start already-running ORACLE - shut it down first
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    <u><b>stderr4</b></u>
    work process W0 died => tskh_init: db_connect
    work process W3 died => tskh_init: db_connect
    work process W4 died => tskh_init: db_connect
    work process W5 died => tskh_init: db_connect
    work process W6 died => tskh_init: db_connect
    work process W7 died => tskh_init: db_connect
    work process W2 died => tskh_init: db_connect
    work process W1 died => tskh_init: db_connect
    ICM up and operational (pid: 4100) ***
    Shutdown ICM server ......
    ICM shutdown completed (pid: 4100) ***
    DISPATCHER EMERGENCY SHUTDOWN => DpWPCheck: no more work processes
    <u><b>stderr6</b></u>
    [Thr 3668] Fri Jun 03 17:51:27 2005
    [Thr 3668] *** ERROR => SncPDLInit(): DlLoadLib("sncgss32.dll")=DLENOACCESS
    [sncxxdl.0340][Thr 3668] *** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss32.dll not loaded
    [sncxxdl.0604][Thr 4144] Fri Jun 03 17:51:28 2005
    [Thr 4144] *** ERROR => SncPDLInit(): DlLoadLib("sncgss32.dll")=DLENOACCESS
    [sncxxdl.0340][Thr 4144] *** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss32.dll not loaded
    [sncxxdl.0604][Thr 3680] Fri Jun 03 17:51:28 2005
    [Thr 3680] *** ERROR => SncPDLInit(): DlLoadLib("sncgss32.dll")=DLENOACCESS
    [sncxxdl.0340][Thr 3680] *** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss32.dll not loaded
    [sncxxdl.0604]
        From the above log, it says that there is problem in database connection. But I am not able to figure out where the problem lies & what are the changes that needs to be done.
       Kindly suggest me what needs to be done.
    Cheers,
    Jeetu

    Hi Jeetendra
    I have the same problem of dsipatcher not starting up, i am using XP as operating system , pinning hope that u have got the solutions for the problem
    Here are the below
    1)dev_wo
    trc file: "dev_w0", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Oct 19 09:23:41 2005
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll' ...

    M Wed Oct 19 09:23:42 2005
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        3660

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3660) [dpxxdisp.c   1016]

    I Wed Oct 19 09:23:43 2005
    I  MtxInit: -2 0 0

    X Wed Oct 19 09:23:44 2005
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Wed Oct 19 09:23:50 2005
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll' ...

    M Wed Oct 19 09:23:55 2005
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\PRD\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sap_PRD_00 on host sap (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Wed Oct 19 09:23:55 2005
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3660) [dpnttool.c   345]
    2)stder
    C:\usr\sap\PRD\DVEBMGS00\work>echo WHENEVER SQLERROR exit SQL.SQLCODE  1>v9start.sql
    C:\usr\sap\PRD\DVEBMGS00\work>echo connect / as sysdba  1>>v9start.sql
    C:\usr\sap\PRD\DVEBMGS00\work>echo startup  1>>v9start.sql
    C:\usr\sap\PRD\DVEBMGS00\work>echo exit  1>>v9start.sql
    'sqlplus' is not recognized as an internal or external command,
    operable program or batch file.
    3)dev_rfc
    ERROR file opened at 20060207 010848 India Standard , SAP-REL 620,0,252 RFC-VER 3 500897 MT-SL
    T:2608 Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1360
    T:2608 <* RfcDispatch [1] : returns 1:RFC_FAILURE
    4)dev_ms
    trc file: "dev_ms", trc level: 1, release: "620"
    [Thr 2316] Wed Oct 19 09:23:36 2005
    [Thr 2316] MsSSetTrcLog: trc logging not active
    [Thr 2316] relno      6200
    [Thr 2316] patchlevel 0
    [Thr 2316] patchno    125
    [Thr 2316] intno      20020600
    [Thr 2316] pid        2328
    [Thr 2316] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2328) [msxxserv.c   1515]
    [Thr 2316] MsHttpPortInsert: set HTTP state to LISTEN
    [Thr 2316] *** I listen to port sapmsPRD (3600) ***
    [Thr 2316] *** HTTP LISTEN ***
    [Thr 2316] *** I listen to HTTP port 8100 ***
    [Thr 2316] CUSTOMER KEY: >B0642345523<
    [Thr 2316] Wed Oct 19 09:24:27 2005
    [Thr 2316] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from sap_PRD_00 [msxxserv.c   3957]
    [Thr 2492] Wed Oct 19 09:27:02 2005
    [Thr 2492] MsSExit: received SIGINT (2)
    [Thr 2492] ***LOG Q02=> MsSHalt, MSStop (Msg Server 2328) [msxxserv.c   4786]
    5) dev_disp
    trc file: "dev_disp", trc level: 1, release: "620"
    Wed Oct 19 09:23:38 2005
    ERROR => DlLoadLib: LoadLibrary(dboraslib.dll) Error 126 [dlnt.c       226]
            Error 126 = "The specified module could not be found."
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    251
    intno      20020600
    pid        2120
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2120) [dpxxdisp.c   966]
         shared lib "dw_xml.dll" version 252 successfully loaded
         shared lib "dw_xtc.dll" version 252 successfully loaded
         shared lib "dw_stl.dll" version 252 successfully loaded
    MtxInit: -2 0 0
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 268 MB
    <ES> 267 blocks reserved for free list.
    ES initialized.
    Wed Oct 19 09:23:39 2005
    ***LOG Q0K=> DpMsAttach, mscon ( sap) [dpxxdisp.c   8832]
    Wed Oct 19 09:23:40 2005
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    Wed Oct 19 09:23:42 2005
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   940]
    DpMsgAdmin: Set patchno for this platform to 251
    Release check o.K.
    Wed Oct 19 09:24:21 2005
    ERROR => W0 (pid 3660) died [dpxxdisp.c   11210]
    ERROR => W1 (pid 3728) died [dpxxdisp.c   11210]
    ERROR => W2 (pid 3716) died [dpxxdisp.c   11210]
    ERROR => W3 (pid 4048) died [dpxxdisp.c   11210]
    ERROR => W4 (pid 3704) died [dpxxdisp.c   11210]
    ERROR => W5 (pid 3700) died [dpxxdisp.c   11210]
    ERROR => W6 (pid 3684) died [dpxxdisp.c   11210]
    ERROR => W7 (pid 3692) died [dpxxdisp.c   11210]
    ERROR => W8 (pid 3896) died [dpxxdisp.c   11210]
    ERROR => W9 (pid 3672) died [dpxxdisp.c   11210]
    ERROR => W10 (pid 2620) died [dpxxdisp.c   11210]
    ERROR => W11 (pid 3628) died [dpxxdisp.c   11210]
    ERROR => W12 (pid 3620) died [dpxxdisp.c   11210]
    ERROR => W13 (pid 3580) died [dpxxdisp.c   11210]
    ERROR => W14 (pid 3612) died [dpxxdisp.c   11210]
    ERROR => W15 (pid 380) died [dpxxdisp.c   11210]
    ERROR => W16 (pid 3624) died [dpxxdisp.c   11210]
    my types changed after wp death/restart 0xbf --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    ERROR => DpMBufRead: state MBUF_PREPARED, opmode MBUF_USE [dpxxmbuf.c   503]
    ERROR => DpModState: DpMBufRead failed (-1) [dpxxdisp.c   13129]
    Wed Oct 19 09:24:27 2005
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9058]
    MBUF state OFF
    MBUF component DOWN
    Wed Oct 19 09:24:28 2005
    ***LOG Q05=> DpHalt, DPStop ( 2120) [dpxxdisp.c   7637]
    kindly help me to solve and able to connect to server
    and please let me know step by step solutions as i am very much new
    Thanking you my emial id ([email protected])

  • Mac OS 10.4.4 Application Server Will Not Start

    Installed Mac 10.4.4 last night. The Applicaton Server worked for all my projects. Now I cannot start the Application Server in Creator or Creator 2 ea2.
    Another possible problem is that I was running both Creator and Creator 2 ea2 at the same time, but neither will launch the App Server now with the other not running.
    Has anyone successfully launched the App Server in Mac OS 10.4.4?
    Any other ideas?
    Thanks,
    Bill

    Hello Sakthi,
    Thanks for the help. I got the server running again by finding yet another instance of Creator and started up the Server successfully. Strangely enough, all the other instances of Creator then were able to start up (now one at a time). Another thing, when the server was not starting up it was using different port numbers than normal.
    Error:
    [#|2006-01-11T17:12:10.079-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=17;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-01-11T17:12:36.979-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=18;|RAR5038:Unexpected exception while creating resource|#]
    [#|2006-01-11T17:12:36.980-0500|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=18;|RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: SQL-server rejected establishment of SQL-connection. Pointbase Server may not be running on localhost at port 29093.|#]

  • Why does Vine Server not start with this script and work with the other?

    I have the preferences of Vine Server set to start/run automatically when opening the programme.
    If I double click the icon it works. Opens and starts.
    If I use
    activate application "Vine Server"
    it opens but does not start.
    If I use:
    tell application "Finder"
    activate
    open application file "Vine Server.app" of folder "Vine Server 3" of folder "Applications" of startup disk
    end tell
    it opens and starts.
    Anybody any idea as to why?
    This seems to happen since I upgraded form 10.4 to 10.5.

    Hello
    Do you have multiple versions of Vine Server application, perhaps?
    If so, that might cause the described behaviour.
    You may try using full path to the current Vine Server application such as -
    activate application "/Applications/Vine Server 3/Vine Server.app"
    or -
    tell application "/Applications/Vine Server 3/Vine Server.app" to activate
    H

  • Sharepoint 2013 workflow does not start when item is created by another workflow

    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when
    de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when de workflow
    in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that
    creates a new item in List B. The problem is that when de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?

    Hi Courfeyrak,
    Here is another similar post with a workaround, you can try using the event receiver on listB item to start the workflow, when the listB item is created or updated by the workflow associated with listA.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/19f71e38-7c04-430e-aa6b-764cbbf18c1c/2013-workflow-does-not-start-on-item-created-by-a-different-worklow?forum=sharepointcustomization
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Workflow not starting in QA

    Hi,
    I have created and tested WF in DEV but after transporting to QA, WF in not starting in QA. I ran SWU_OBUF and WF_BATCH is also available in QA.
    I checked SWETYPV and link is active there.
    I have used SAP_WAPI_CREATE_EVENT for the WF. This FM is also giving success message but WF is not starting.
    I have used 2 versions of workflow in DEV (version 0000 and 0001, with version 0001 as active) and after transport, in QA as version 0000. The WF is same in QA and DEV.
    Please help me with the issue.
    Thanks
    Aamir

    Hi,
    The screenshot shows there is some issue with WF-BATCH user. Please check if it is locked because of incorrect login attempts.
    Check if there are any stucked entries for WF-BATCH user in SM58. Also check if all the mandatory settings of SWU3 are in place.
    Regards,
    Ibrahim

  • My MacBook Pro will not start up - it was just on last night - what do I do?

    My MacBook Pro will not start up. I used it last night and it was fine.  What should I do?

    Try a SMC reset.
    http://support.apple.com/en-us/HT201295
    Do you get anywhere in the startup sequence?
    Ciao.

  • When the new version will correct the error 10.0.0? program constantly hangs. will not start!

    when the new version will correct the error 10.0.0? program constantly hangs. will not start!

    Are you using any VST plug-ins or audio units? Then check, if they are still compatible. You may need to uninstall them.
    See this support document: 
    Unexpected behavior with Audio Unit plug-ins http://support.apple.com/kb/TS5249

  • Could not start java - I dont know what ishappening

    I tried reading the early post regarding this problem and also tried some of the solutions provided but still does not start. I am using windows XP.
    1. I tried going to the regedit and changed the version to 1.5 still it does not start.
    2. Even my path is : C:\jdk1.5.0\bin;[WORKSHOP].
    $ javac
    Error opening registry key 'Software\JavaSoft\Java Runtime Environment\1.5'
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    The only change from the last time that I used java is I restarted the machine that is the only change that I did. So could somebody help me with this please.
    I also updated my JRE from java update now still nothing is changing. I would definetly appreicate some hlep in this respect please.
    PK

    First, a question: You are showing a prompt of a dollar sign, which is not the default Windows prompt. Please explain - are you using a shell program of some sort, or ?
    Try this:
    Verify that your Test.java source file exists and is correctly named, with the extension of "java". Change the current directory to that directory. Compile using the full path to the javac.exe file - it appears that the command should be:
    C:\Program Files\Java\jre1.5.0_01\bin\javac Test.javaIf that compiles, then run the program like this, from the same directory - include the period after classpath and the surrounding spaces:
    C:\Program Files\Java\jre1.5.0_01\bin\java -classpath . TestIf these commands work, either the command shell or the Windows path environment variable have a problem.
    The path variable in your original post and reply #2 are both wrong. The only Java entry that belongs in the path variable is the path to the javac.exe file, which appears to be the default:
    C:\Program Files\Java\jdk1.5.0_01\bin
    Also, clean up your classpath, none of the bold entries should be there:
    .;C:\Program Files\Java\jdk1.5.0_01\bin;C:\javamyprograms\Privacy-PolicyStudy;C:\javamyprograms;C:\jdk1.5.0\bin;C:\jdk1.5.0\Myprograms;C:\aima;C:\Downloads\junit3.8.1\junit 3.8.1\junit.jar

  • Urgent-Application server 9 will not start

    The Sun Java System Application System could not start. I am using Netbeans 5.5. The following was displayed.
    More information about the causes is in the Server log file.
    Possible reasons include;
    - IDE timeoout: refresh the server node to see if its running now.
    - Port conflicts. (use netstat - a to detect possible port numbers already used by the operating system.)
    - Incorrupt server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start. (This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    I would like to reset the domain.xml file as though no project has ever been deployed to the server how can this be done. Please help.

    domain.xml :
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!--
    Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!-- Generated from default-domain.xml.template -->
    <!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.--><!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">
    <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
    <applications>
    <web-module availability-enabled="false" context-root="/web1" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="/__wstx-services" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/wstx-services" name="WSTXServices" object-type="system-all"/>
    <lifecycle-module class-name="com.sun.jbi.framework.sun.SunASJBIBootstrap" classpath="${com.sun.aas.installRoot}/jbi/lib/jbi_framework.jar" enabled="true" is-failure-fatal="false" name="JBIFramework" object-type="system-all">
    <description>"JBI Framework LifecycleModule"</description>
    <property name="com.sun.jbi.home" value="${com.sun.aas.installRoot}/jbi"/>
    </lifecycle-module>
    <lifecycle-module class-name="com.sun.xml.ws.transport.tcp.server.glassfish.WSTCPLifeCycleModule" classpath="${com.sun.aas.installRoot}/lib/webservices-rt.jar" enabled="true" is-failure-fatal="false" name="WSTCPConnectorLCModule" object-type="system-all"/>
    </applications>
    <resources>
    <jdbc-resource enabled="true" jndi-name="jdbc/sample" object-type="user" pool-name="SamplePool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-admin" pool-name="__TimerPool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__CallFlowPool" object-type="system-all" pool-name="__CallFlowPool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__default" object-type="user" pool-name="DerbyPool"/>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="__CallFlowPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
    <property name="connectionAttributes" value=";create=true"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="PortNumber" value="1527"/>
    <property name="Password" value="APP"/>
    <property name="User" value="APP"/>
    <property name="serverName" value="localhost"/>
    <property name="DatabaseName" value="sun-appserv-samples"/>
    <property name="connectionAttributes" value=";create=true"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="SamplePool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="DatabaseName" value="sample"/>
    <property name="User" value="app"/>
    <property name="Password" value="app"/>
    <property name="URL" value="jdbc:derby://localhost:1527/sample"/>
    <property name="PortNumber" value="1527"/>
    <property name="serverName" value="localhost"/>
    </jdbc-connection-pool>
    </resources>
    <configs>
    <config dynamic-reconfiguration-enabled="true" name="server-config">
    <http-service>
    <access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
    <property name="proxiedProtocols" value="ws/tcp"/>
    </http-listener>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-2" port="8181" security-enabled="true" server-name="" xpowered-by="true">
    <ssl cert-nickname="s1as"/>
    </http-listener>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="4848" security-enabled="false" server-name="" xpowered-by="true"/>
    <virtual-server hosts="${com.sun.aas.hostName}" http-listeners="http-listener-1,http-listener-2" id="server" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    <property name="sso-enabled" value="false"/>
    </virtual-server>
    <virtual-server hosts="${com.sun.aas.hostName}" http-listeners="admin-listener" id="__asadmin" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    <property name="sso-enabled" value="false"/>
    </virtual-server>
    <request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="5" thread-increment="1"/>
    <keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
    <connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
    <http-protocol default-response-type="AttributeDeprecated" default-type="text/html; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="AttributeDeprecated" forced-type="text/html; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
    <http-file-cache file-caching-enabled="false" file-transmission-enabled="false" globally-enabled="false" hash-init-size="0" max-age-in-seconds="30" max-files-count="1024" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576"/>
    <property name="accessLoggingEnabled" value="false"/>
    </http-service>
    <iiop-service client-authentication-required="false">
    <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="3820" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="3920" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    </iiop-service>
    <admin-service system-jmx-connector-name="system" type="das-and-server">
    <!-- The JSR 160 "system-jmx-connector" -->
    <jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false">
    <ssl cert-nickname="s1as"/>
    </jmx-connector>
    <!-- The JSR 160 "system-jmx-connector" -->
    <das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
    </admin-service>
    <web-container>
    <session-config>
    <session-manager>
    <manager-properties/>
    <store-properties/>
    </session-manager>
    <session-properties/>
    </session-config>
    </web-container>
    <ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru">
    <ejb-timer-service max-redeliveries="1" minimum-delivery-interval-in-millis="7000" redelivery-interval-internal-in-millis="5000"/>
    </ejb-container>
    <mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
    <jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
    <jms-host admin-password="admin" admin-user-name="admin" host="USER2" name="default_JMS_host" port="7676"/>
    </jms-service>
    <log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" log-to-console="false" retain-error-statistics-for-hours="5" use-system-logging="false">
    <module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" group-management-service="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" management-event="INFO" mdb-container="INFO" naming="INFO" node-agent="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" self-management="INFO" server="INFO" synchronization="INFO" util="INFO" verifier="INFO" web-container="INFO"/>
    </log-service>
    <security-service activate-default-principal-to-role-mapping="false" anonymous-role="AttributeDeprecated" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
    </auth-realm>
    <jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
    <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
    </jacc-provider>
    <audit-module classname="com.sun.enterprise.security.Audit" name="default">
         <property name="auditOn" value="false"/>
    </audit-module>
    <message-security-config auth-layer="SOAP">
         <!-- turned off by default -->
    <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="dynamic.username.password" value="false"/>
         <property name="debug" value="false"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="dynamic.username.password" value="false"/>
         <property name="debug" value="false"/>
         <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="debug" value="false"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="debug" value="false"/>
         <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
    </provider-config>
    </message-security-config>
    </security-service>
    <transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="65536" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
    <monitoring-service>
         <module-monitoring-levels connector-connection-pool="OFF" connector-service="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" jms-service="OFF" jvm="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
    </monitoring-service>
    <diagnostic-service capture-app-dd="true" capture-hadb-info="true" capture-install-log="true" capture-system-info="true" compute-checksum="true" max-log-entries="500" min-log-level="INFO" verify-config="true"/>
    <java-config classpath-suffix="" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" system-classpath="">
    <!-- various required jvm-options -->
    <jvm-options>-XX:MaxPermSize=192m</jvm-options>
    <jvm-options>-client</jvm-options>
    <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
    <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
    <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
    <jvm-options>-Xmx512m</jvm-options>
    <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
    <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
    <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
    <jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</jvm-options>
    <jvm-options>-XX:NewRatio=2</jvm-options>
    <!--
    Use the following jvm-options element to disable the quick startup:
         com.sun.enterprise.server.ss.ASQuickStartup=false
    --></java-config>
    <thread-pools>
    <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
    </thread-pools>
    <management-rules enabled="true">
    </management-rules>
    </config> <!-- config model with name "server-config" ends -->
    </configs>
    <servers>
    <server config-ref="server-config" lb-weight="100" name="server">
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="adminapp" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="admingui" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="JBIFramework"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTXServices"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTCPConnectorLCModule"/>
    <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
    <resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
    <resource-ref enabled="true" ref="jdbc/__default"/>
    <resource-ref enabled="true" ref="jdbc/sample"/>
    </server>
    </servers>
    <property name="administrative.domain.name" value="domain1"/>
    </domain>
    PLEASE HELP
    Edited by: cokskiblue on Feb 9, 2008 8:33 PM

  • Unable to use Datasource.cfc in Admin API - The current user is not authorized to invoke this method

    Hi Everyone,
    I am having some issues accessing the methods in the datasource.cfc in the adminAPI.
    I can successfully load the administrator CFC and am told that I have successsfuly logged in;
    But when I try to subsequently load the datasource.cfc I get an error that the current user is unable to access the method.
    /* Create an Admin API object and call the login method */
                                                      var local = {};
                                                      local.adminObj = createObject("component", "cfide.adminapi.administrator");
                                                      /* Enter your password for the CF Admin */
      /* if you dump this - TRUE is returned */
                                                      local.adminObj.login(adminPassword="my_admin_user_password");
                                                      /* Create an object of datasource component */
                                                      local.dsnObj = createObject("component", "cfide.adminapi.datasource");
      writeDump(local.dsnObj.getDataSources());
    I tried creating separate admin users and passwords - yhinking that perhaps a revent hotfix had stopped the "admin" user from being allowed to use the adminAPI - but changing to a new adminuser yielded the same results.
    I could login to the admin API with the new username and passsword - but could not access the datasource.cfc after that.
    Here is the debug output from the error...
    The current user is not authorized to invoke this method.
    The error occurred in accessmanager.cfc: line 48
    Called from datasource.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 155
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 45
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 1
    -1 : Unable to display error's location in a CFML template.
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    22-Apr-13 01:09 PM
    Stack Trace
    at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:/cf10_final/cfusion/wwwro ot/CFIDE/adminapi/accessmanager.cfc:48) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:/cf10_final/cfusion/wwwroot/ CFIDE/adminapi/datasource.cfc:52) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:/inetpub/wwwroot/projectD ir/trunk/Application.cfc:155) at cfApplication2ecfc498167235$funcINIT.runFunction(C:/inetpub/wwwroot/projectDir/trunk/Appl ication.cfc:52) at cfApplication2ecfc498167235._factor5(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: 45) at cfApplication2ecfc498167235.runPage(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc:1 )
    coldfusion.runtime.CustomException: The current user is not authorized to invoke this method. at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799) at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\accessmanager.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\datasource.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:155) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235$funcINIT.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235._factor5(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:45) at cfApplication2ecfc498167235.runPage(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:538) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:234) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:120) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:84) at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:232) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    And here is the listed exceptions, beneath the stack trace;
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - java.io.FileNotFoundException - in C:/ColdFusion10/cfusion/wwwroot/WEB-INF/exception/errorcontext.cfm : line 44
             E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc (The system cannot find the path specified)
    This perspn seems to be having the same issue;
    http://forums.adobe.com/message/5051892
    and I agree I don't have "E" drive either!

    I've found a solution to my plight - I don't know if it'll work for you or help you try something that MAY fix it.
    I use a common code set which includes the Application.cfc from a CF Mapping - So, in the application.cfc in the actual website I do this:-
    <cfinclude template="/UberDirectory/Application.cfc">
    Then, in the /UberDirectory/Application.cfc, I was initialising a CFC which checks if the datasource was created for the website. The datasource checking code attempts to log into the Admin API and check & create if necessary the datasource.
    This has previously worked without fail for me - But in this instance it failed!! I was doing two things wrong - Firstly, the CFC should only be called in the Application.cfc in the onRequestStart section as the Application had to be initialised first - This is maybe because I've invoked the application.cfc in a "non-standard" manner.
    Secondly, once I'd moved the CFC invocation into oNRequestStart I saw the following error:-
    The string COOKIE.CFAUTHORIZATION_uber-directory is not a valid ColdFusion variable name.
    I had this as the app name .... <cfset this.name = 'uber-directory'>
    Changedthe dash to an underscore and I was away and could once again check the datasources
    Hope it helps
    Martin

  • I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    You need to contact the developer/manufacturer directly to determine if their product is compatible w/Yosemite.  It is not listed on their system requirement website:
    Mac OS X 10.9 Mavericks
    Mac OS X 10.8 Mountain Lion
    Mac OS X 10.7 Lion
    Mac OS X 10.6 Snow Leopard*
    Note: ArchiCAD 17 is the last version of ArchiCAD to support Mac OS X 10.6
    Only case insensitive file-system volumes are supported.
    http://www.graphisoft.com/support/system_requirements/archicad17.html

Maybe you are looking for

  • How to configure sso with SSL step by step

    Purpose In this document, you can learn how to configure SSO with SSL. After user have certificate installed in browser, he can login without input username and password. Overview In this document we will demonstrate: 1.     How to configure OHS supp

  • ICal and iPod calendar not syncing times

    My iCal on my iPod and my iCal on my Mac sync dates but not the correct times. For instance, I type in a time for an appointment at 6pm on my iPod and sync to my Mac.  The appointment will show up at the correct date but with a different time. All ca

  • How to send a variable from one class to another?

    hello, i have "One.as", which is the document class for one.swf. i also have "two.swf", with "Two.swf" entered as its document class... One loads two into it. two is basically a 10 frame movieClip with a variable at the beginning called "var endFrame

  • GL account against Material group- For service procurement

    Hi, I have created a Service master, and assigned some material group. At entry aids settings in customization i have linked this material group with a Valuation class. At OBYC settings I linked this valuation class for GBB VBR combination to GL acco

  • Center patterns

    We have some patterns that our customers can choose from to put sandblast film on their windows. Not sure about the english term for it, but this is what i mean: We are looking for a flexible way to make the vector file from a predefined pattern. Lik