[SOLVED]start a service *AFTER another one has executed completely

How can i make "test.service" to start after "customstartup.service" has been fully executed?
As you can see, even if test.service Requires customstartup and customstartup.service is "oneshot", test.service is started while customstartup is still starting!
The following is in a linux container:
[root@archiso ~]# cat /etc/systemd/system/customstartup.service
[Unit]
Description=customstartup
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/sleep 100
[Install]
WantedBy=multi-user.target
[root@archiso ~]# cat /etc/systemd/system/test.service
[Unit]
Description=test
Requires=customstartup.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/sh -c "echo hi all"
[Install]
WantedBy=multi-user.target
# systemctl status customstartup
● customstartup.service - customstartup
Loaded: loaded (/etc/systemd/system/customstartup.service; enabled)
Active: activating (start) since gio 2014-07-03 16:30:10 CEST; 12s ago
Main PID: 32 (sleep)
CGroup: /machine.slice/machine-root\x2dimage.scope/system.slice/customstartup.service
└─32 /usr/bin/sleep 100
[root@archiso ~]# systemctl status test
● test.service - test
Loaded: loaded (/etc/systemd/system/test.service; enabled)
Active: active (exited) since gio 2014-07-03 16:30:10 CEST; 23s ago
Process: 26 ExecStart=/usr/bin/sh -c echo hi all (code=exited, status=0/SUCCESS)
Main PID: 26 (code=exited, status=0/SUCCESS)
CGroup: /machine.slice/machine-root\x2dimage.scope/system.slice/test.service
lug 03 16:30:10 archiso sh[26]: hi all
lug 03 16:30:10 archiso systemd[1]: Started test.
Any hints? Is there a way to enforce the wait?
Thanks.
Last edited by kokoko3k (2014-07-03 15:59:37)

From systemd.unit:
Requires=
           Configures requirement dependencies on other units. If this unit gets activated, the
           units listed here will be activated as well. If one of the other units gets
           deactivated or its activation fails, this unit will be deactivated. This option may be
           specified more than once or multiple space-separated units may be specified in one
           option in which case requirement dependencies for all listed names will be created.
           Note that requirement dependencies do not influence the order in which services are
           started or stopped. This has to be configured independently with the After= or Before=
           options. If a unit foo.service requires a unit bar.service as configured with
           Requires= and no ordering is configured with After= or Before=, then both units will
           be started simultaneously and without any delay between them if foo.service is
           activated. Often it is a better choice to use Wants= instead of Requires= in order to
           achieve a system that is more robust when dealing with failing services.

Similar Messages

  • HT3986 How do I start up Mac after the Windows has been installed.

    How do I start up Mac after the Windows has been installed? And after I installed the Windows, my Audio is gone. How can I get it back?

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

  • Start Database Service with another user

    Hi Everyone ,
    i've a little problem with the Oracle 10 Console Service on a W2K3 server.
    I want to start that Service with another user as "Local System"
    I created a local user that is member in the "ORA_DBA" group and in the local Admin Group. But the Service won't start. When i start the service with the "local system" account it starts.
    Is there another possibility to start the service this way or where is my error ?
    Greetz Byte

    Hi
    I searched metalink and came across a note that mentioned following actions. I hope it works in your situation.
    1. Launch locally on the windows host the Local Security Policy tool
    2. For the domain user or local user starting the Management Agent service
    Give the following Advanced Privileges
    - Log on as a batch job
    - Act as part of the operating system.
    - Adjust memory quotas for a process
    or (for windows 2000 and Windows NT)
    - Increase memory quotas"
    - Replace a process level token.
    3. Ensure that the same local user or domain user starts all the other Oracle Windows services monitored by the Management Agent
    The same fix must be applied for the standalone dbconsole service on windows.
    Rgds
    Adnan

  • Apple TV 3 doesn't start Bonjour services after sleep since firmware upgraded to 6.0.2 (6646.81.1 build)

    I have upgraded my AppleTV 3 to firmware 6.0.2 for five weeks but always getting problem in Airplay my ipad2 and wired iMac to Apple TV3. Before that, the Apple TV3 in firmware 5.0 was fantastic in everything. Now, the all-time-sympton of my Apple TV3 waking up from sleep is:
    1) iPad2 in IOS6..1.3 can't find any airplay icon, same as my new iPhone 5s
    2) The wired iMac can't connect to AppleTV3 through Airplay, neither from Maverick's airplay icon nor from iTune's airplay icon.
    3) Further than that, the home sharing from AppleTV3 is found to be disconnected from iTune in iMac
    My port-scan towards ApplTV3 at this scenario is found all the Bonjour services are missing, including:
    *  Remote Audio Output  (port 5000)
    *  _airplay (port 7000)
    * _touch-able (port 3689)
    * Sleep Proxy Server  (port 57206)
    * _appletv-v2 (port 3689)
    My walk around at the moment is to restart AppleTV3, then all the Bonjour services come back and airplay, home sharing work again. However, this requires me to restart the box everytime I bring up the box from sleep. That means I have to turn on TV... quite fustrated.
    I'm wondering if there is any similar problem encounted and any fix.  Well, I can't find any formal description from Apple but their trouble-shooting document keeps saying to "restart Apple TV" as last resort.
    Tks in advance!

    I finally found the like-symptom causing the issue of missing airplay services on ATV box.
    Well, I have one airport express installed in my study room, which connects to the same LAN as ATV3 in living room. Today, I reset airport express to factory setting and reconfigured everything on AirportExpress, including its SSiD, wifi network key and device password. All of a sudden, my iPad, iPhone, iMac lost their airplay connection to ATV3. Port scanning found no airplay services on ATV3 box. It needed box restart to bring up airplay as my earlier walk around solution. I still performed reset -> restore for a "permanent fix".
    That said we might have airplay icon disappeared again if there were more than one airplay device on the same LAN that would interfere to each other. Working on one airplay device from ground start would cause airplay service of another box malfunction.
    My experience showed this twice. The first was happened when I put an airport express on the same LAN and I posted a thread here for help. The second was in this morning when i reset airport express to factory setting

  • Can't start OLAPServer service after installing patches #9.0.1.3

    I had a running OLAPServer service before I installed the 9i latest patches (#9.0.1.3) yesterday.
    I have tried to use either Windows Service Manager or OLAP Services Instances Manager to start that service.
    When I tried to use OLAP OSIM, I got error message like this :
    XPINSMGR - 10565 Cannot access olap service from this database. Cause : an attempt was made to access OLAP services on a database on which it is not installed (?). Action: Install OLAP Service in the database...
    I have tried to create a new database and set all the OLAP configuration, but it is still not working..
    Is there someone can help me to figure out what happened ?
    thanks, Sjarif

    Thank's for your suggestion. But my problem occured after I installed the 9.0.1.3.1 patch on my 9i database server (in run on XP Pro machine). I have checked OLAPDBA,OLAPSYS,and OLAPSVR security status, they are NOT LOCKED and NOT EXPIRED.
    I have checked the content of OLAPServicesAgent.log file and I find ORA-03113 error.
    This is the content of OLAPServicesAgent.log file:
    [08-Apr-2002, 12:47:28PM] Finished waiting for init thread to finish; wait result: 0
    [08-Apr-2002, 12:47:28PM] Waiting for serviceDoneEvent to be triggered.
    [08-Apr-2002, 12:47:28PM] Filtering output using VERBOSE DEBUG (level 3 of 3) mode.
    [08-Apr-2002, 12:47:28PM]
    [08-Apr-2002, 12:47:28PM] Retrieving privilege information from registry and RDBMS.
    [08-Apr-2002, 12:47:28PM] New RDBMSInstance() allocated.
    [08-Apr-2002, 12:47:28PM] ztcsr failed with error code -1013
    [08-Apr-2002, 12:47:28PM]
    [08-Apr-2002, 12:47:37PM] GetRDBMSConnection(): setConnection() failed.
    [08-Apr-2002, 12:47:37PM] Was trying to connect to tns listener, OLAPDATA, with user id, olapsvr
    [08-Apr-2002, 12:47:37PM] Error message was: ORA-03113: end-of-file on communication channel
    [08-Apr-2002, 12:47:37PM]
    [08-Apr-2002, 12:47:37PM] Error code was: 4294967295, Function was: TxsRdbOCIConnection::connect
    [08-Apr-2002, 12:47:37PM] RDBMSInstance() destructor called.
    [08-Apr-2002, 12:47:37PM] New RDBMSInstance() allocated.
    [08-Apr-2002, 12:47:37PM] ztcsr failed with error code -1013
    [08-Apr-2002, 12:47:37PM]
    [08-Apr-2002, 12:47:37PM] GetRDBMSConnection(): setConnection() failed.
    [08-Apr-2002, 12:47:37PM] Was trying to connect to tns listener, OLAPDATA, with user id, olapsvr
    [08-Apr-2002, 12:47:37PM] Error message was: ORA-03113: end-of-file on communication channel
    [08-Apr-2002, 12:47:37PM]
    [08-Apr-2002, 12:47:37PM] Error code was: 4294967295, Function was: TxsRdbOCIConnection::connect
    [08-Apr-2002, 12:47:37PM] RDBMSInstance() destructor called.
    [08-Apr-2002, 12:47:37PM] New RDBMSInstance() allocated.
    [08-Apr-2002, 12:47:37PM] ztcsr failed with error code -1013
    [08-Apr-2002, 12:47:37PM]
    [08-Apr-2002, 12:47:38PM] GetRDBMSConnection(): setConnection() failed.
    [08-Apr-2002, 12:47:38PM] Was trying to connect to tns listener, OLAPDATA, with user id, olapsvr
    [08-Apr-2002, 12:47:38PM] Error message was: ORA-03113: end-of-file on communication channel
    [08-Apr-2002, 12:47:38PM]
    [08-Apr-2002, 12:47:38PM] Error code was: 4294967295, Function was: TxsRdbOCIConnection::connect
    [08-Apr-2002, 12:47:38PM] RDBMSInstance() destructor called.
    [08-Apr-2002, 12:47:38PM] New RDBMSInstance() allocated.
    [08-Apr-2002, 12:47:38PM] ztcsr failed with error code -1013
    [08-Apr-2002, 12:47:38PM]
    [08-Apr-2002, 12:47:38PM] GetRDBMSConnection(): setConnection() failed.
    [08-Apr-2002, 12:47:38PM] Was trying to connect to tns listener, OLAPDATA, with user id, olapsvr
    [08-Apr-2002, 12:47:38PM] Error message was: ORA-03113: end-of-file on communication channel
    [08-Apr-2002, 12:47:38PM]
    [08-Apr-2002, 12:47:38PM] Error code was: 4294967295, Function was: TxsRdbOCIConnection::connect
    [08-Apr-2002, 12:47:38PM] RDBMSInstance() destructor called.
    [08-Apr-2002, 12:47:38PM] Done retrieving privilege information.
    [08-Apr-2002, 12:47:38PM] Starting IOR listener on port: 7051
    [08-Apr-2002, 12:47:38PM] ServiceManager Constructor called.
    [08-Apr-2002, 12:47:38PM] ScmEnumServicesStatus()***ret = 234***m_hServiceManager = 1417944***bufsize = 10180***numServices = 0
    [08-Apr-2002, 12:47:38PM] ScmEnumServicesStatus()***ret = 0***m_hServiceManager = 1417944***bufsize = 0***numServices = 98
    [08-Apr-2002, 12:47:39PM] An access provider was found reading the Security/AuthenticationProviderPath registry key (C:\OraHome1\bin\xsapdbms.dll) for the service name, OLAPServer
    [08-Apr-2002, 12:47:39PM] New RDBMSInstance() allocated.
    [08-Apr-2002, 12:47:39PM] ztcsr failed with error code -1013
    [08-Apr-2002, 12:47:39PM]
    [08-Apr-2002, 12:47:39PM] GetRDBMSConnection(): setConnection() failed.
    [08-Apr-2002, 12:47:39PM] Was trying to connect to tns listener, OLAPDATA, with user id, olapsvr
    [08-Apr-2002, 12:47:39PM] Error message was: ORA-03113: end-of-file on communication channel
    [08-Apr-2002, 12:47:39PM]
    [08-Apr-2002, 12:47:39PM] Error code was: 4294967295, Function was: TxsRdbOCIConnection::connect
    [08-Apr-2002, 12:47:39PM] RDBMSInstance() destructor called.
    [08-Apr-2002, 12:47:39PM] ExecuteRDBMSCommand() failed, command = select * from ALL_OLAP_os_child_instances
    [08-Apr-2002, 12:47:39PM] Unable to add Olap child instance, OLAPServer, to the Oracle ALL_OLAP_os_child_instances table.
    [08-Apr-2002, 12:47:39PM] Check to see if the usernames and passwords within olap.key associated with
    [08-Apr-2002, 12:47:39PM] this instance are correct. If not, use the /CreateKeyval option of xsdaemon to reset the values, or use
    [08-Apr-2002, 12:47:39PM] the script provided for that purpose.
    [08-Apr-2002, 12:47:39PM] xsdaemon process is terminating abnormally.
    It seems to me there is a problem in OCI connection ...
    Thanks.
    Sjarif

  • Can't  start oracle8i service after installing successfully

    Hello
    i have already install oracle8.1.5 on solaris intel 7
    after installing, i want to start oracle service,
    using oracle accout, i log in , i go to $ORACLE_HOME/bin and execute 'dbstart'
    it is said 'cat can't open /etc/oratab'
    my ipc parametr is:
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=10
    set semsys:seminfo_semmni=100
    set semsys:seminfo_semmsl=200
    set semsys:seminfo_semmns=420
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767
    .profile is
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/8.1.5
    ORACLE_SID=o815
    PATH=$ORACLE_HOME/bin:/bin:/usr/bin
    can anyone help me?
    thanks a lot
    liu fang

    Hi,
    check the file oratab under /etc and the permission on that.if oratab is not under etc make a search for oratab and copy that to under /etc.
    try ps -ef |grep oracle
    see what happened.
    Yogi
    [email protected]

  • Starting a movie after another movie is finished

    hello
    i have a series of movie clips that I want to play
    sequentially. For some I would like them to play one right after
    another and others that have a pause in between. I have the first
    part worked out but it is sloppy and there is code all over the
    place. is there a set, clean way to accomplish this?
    peace

    Yeah that's what I have been doing. I guess I should have
    been clearer. Is there anyway to consolidate the code so that it
    stays on the _root timeline?
    I have also used this method, shown in the attached code. I
    have tried to do other things with that code but it hasn't worked.
    Can anything else be done w/ the attached code or is that the most
    it can do?

  • Unable to start ifs service after database is restarted

    Hi All,
    I am getting this weird problem with iFS. I have web application where I connect to iFS to read some of the documents. The problem is when the database is stopped and started with App server still running (ifs is also up and running)... I am getting the following error message.
    Any help will be greatly appreciated. I have also attached the java class which I am using to get connection...
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
    oracle.ifs.common.IfsException: IFS-11013: Unable to start inter-service event exchanger
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:857)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
         at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:103)
         at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:466)
         at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:413)
         at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java:470)
         at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:379)
         at oracle.ifs.server.S_LibraryServiceRdbmsEventExchanger.start(S_LibraryServiceRdbmsEventExchanger.java:243)
         at oracle.ifs.server.S_LibraryService.addSession(S_LibraryService.java:2695)
         at oracle.ifs.server.S_LibrarySession.<init>(S_LibrarySession.java:1961)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.ifs.server.S_LibraryService.constructSession(S_LibraryService.java:2566)
         at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:2359)
         at oracle.ifs.beans.LibraryService.connect(LibraryService.java:977)
         at com.comp.test.utils.iFSSession.getIfsConnection(iFSSession.java:73)
         at com.comp.test.controller.ReportRequestAction.processRequest(ReportRequestAction.java:95)
         at com.comp.test.controller.ReportRequestAction.execute(ReportRequestAction.java:64)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    --java code
              if(!LibraryService.isServiceStarted(serviceName)) {
              service = LibraryService.startService(serviceName,servicepasswd);
              } else {
              service = LibraryService.findService(serviceName);
                   //CredentialManager to authenticate a user
              CleartextCredential cred = new CleartextCredential(name, password);
              ConnectOptions connectOpt = new ConnectOptions();
                   //Sets and gets the Locale of the new session.
              connectOpt.setLocale(Locale.getDefault());
                   //Connects to iFS, establishing a new LibrarySession
              ifsSession = service.connect(cred, connectOpt);
                   //Set the administrator mode state for this session
                   ifsSession.setAdministrationMode(true);
                   return ifsSession;

    I am using the following class to get ifs session from IfsHttpLogin
    public class TestIfsSession implements IfsHttpLogin {
    * The <code>LibrarySession</code>.
    private LibrarySession m_session;
    * The <code>FolderPathResolver</code>.
    private FolderPathResolver m_resolver;
    * Default constructor required by the jsp spec for the USEBEAN tag
    * @exception IfsException
    public TestIfsSession() throws IfsException {
    public void init(LibrarySession libSession)
         this.m_session = libSession;
    * Return the login's session object.
    * @return The <code>LibrarySession</code> object.
    public LibrarySession getSession() {
    return m_session;
    * Return the login's path resolver.
    * @return The <code>FolderPathResolver</code> object.
    public FolderPathResolver getResolver() {
    return m_resolver;
    * Called when this object is bound to the HTTP session object.
    * @param event
    * The event when the object is bound to the Http session.
    public void valueBound(HttpSessionBindingEvent event) {
    // do nothing
    m_category.debug("value bound : ");
    * Called when this object is unbound from the HTTP session object.
    * @param event
    * The event when the object is unbound to the Http session.
    public void valueUnbound(HttpSessionBindingEvent event) {
    m_resolver = null;
    try {
    if (m_session != null) {
    m_category.debug("removing connection: valueUnbound " + m_session);
    m_session.disconnect();
    } catch (IfsException e) {
    e.printStackTrace();
    } finally {
    m_session = null; // release the resources
    System.gc();

  • Start recording video AFTER touch block has been activated - is it possible?

    So I'm in the camera app, I've enabled touch block. But i can only take pictures, either with the hardware camera button or the volume rockers. How do i engage the video recording function AFTER touch block has been activated?

    That seems strange since i can take pictures after having enabled touch block. As it is now i have to edit out the first seconds if I want to film underwater. Very unnecessary

  • [Solved] SystemD, how to start a service after network is up.

    Hello,
    I'm recently involved to set up a daemon which should be ready after boot (aria2). Then it fails, as it fails minidlna as well.
    The reason is that they try to come up but there's no host to talk to. See this page.
    For my purposes, it should be good when the daemons find the necessary to stay alive (even they won't have a network fully ready, that may happen in less than a minute later). For minidlna is needed a valid IP which could be 127.0.0.1 or localhost, for aria2 it may be same or just looking for a RPC binding.
    This what the logs are telling me.
    I was trying to set more dependencies in the service, but even to set
    After=wpa_supplicant.service
    it doesn't have effect.
    I don't find a solution, as far as my knowledge spans. Another chance would take to set a systemD timer and when that will be gone to start the daemon. Sorry but I don't know much about that.
    Looking for someone here to guide to right direction.
    TIA
    Last edited by TheSaint (2013-07-15 03:12:37)

    WonderWoofy wrote:It depends on what network management utility you use and therefore also how you connect.  If you are using an ethernet connection, you could just use dhcpcd@<interface>.service.  This is a very simple service, and the network.target will not be reached until the IP address and connectivity is established.
    Meanwhile some good suggestion (like yours) came up, I've tried a couple of recipes. But  dhcpcd.service didn't get it right. Maybe dhcpcd@<interface>.service, would work, I'll see later.
    I got this working:
    [Unit]
    Description=aria2 Service
    Requires=network.target
    After=dhcpcd.service
    [Service]
    Type=forking
    User=aria2
    Group=aria2
    EnvironmentFile=/etc/conf.d/aria2.conf
    WorkingDirectory=/var/aria2
    ExecStart=/usr/bin/aria2c $ARIACMD
    ExecReload=/usr/bin/kill -HUP $MAINPID
    RestartSec=1min
    Restart=on-failure
    [Install]
    WantedBy=multi-user.target
    You may note the After=dhcpcd.service, but it doesn't work. I found RestartSec=1min ,Restart=on-failure more effective and perhaps less blocking to wait for the network to be ready. As a server this  should be a small issue, very seldom compared with the running time. We (family members) can accept a little wait for the service to be on.
    Exactly I don't know which of the two is the right solution, maybe the delay is the right one.
    I was doing a cron scheduled job, before using systemd  boot, which was kicking minidlna every 5 minutes, since it was dieing often. I didn't discover what was the reason.
    I think I'll have to study another recipe which sets up a timer and keep an eye on these two services, for the long term service. But even cron would suffice, I think.
    WonderWoofy wrote:if you are using wireless, the only two real solutions would be to use netctl@<profile>.service, which too won't reach the network.target until a conplete connection is made
    Yes I'm on wireless network and the interface plugged on USB . My intent should go beyond any particular configuration. Maybe because I'd like to show a working setup, which may fit for all configuration (90 % )
    I have to admit that the actual solution do not care much whether the network is found, so I hope to get a smarter setup that counts on the necessary tools before try something. However it's proved that they fail when no connection to the router is done. But I'm preferring that they succeed. 
    WonderWoofy wrote: NetworkManager gets around this by implementing an additional service called (unimaginatively) NetworkManager-wait-online.service, which is pulled in automatically when you enable NetowrkManager.service.
    As I stated above I'm expecting a solution that won't pull in so much dependencies. Even NM is my connection manager, on the server.
    WonderWoofy wrote:
    You probably also want to use Requisite=aria2c.service on the minidlna.service as well.  This too means that it will be started after aria2c, but that it will not start at all if it is not running or fails.
    Additionally, you could try using the Requisite configuration on the minidnla, while setting the aria2c to restart itself on failure.  So that it will keep trying, and once it does, then minidlna will start.
    looks like a dog biting the tail . It's much preferable a separated failure, just in case.
    WonderWoofy wrote:Edit: Also, it is not SystemD.  It is systemd (like other "daemon" binaries in *nix).
    I'm quite sure I saw it somewhere, none of my inventions
    Last edited by TheSaint (2013-07-13 07:10:33)

  • ClassCastException while calling Java based Sca Service by another one

    When a java based sca service is called by another java based sca service and the return
    value of the service method is complex type there is allways a ClassCastException like the
    following thrown:
    weblogic.sca.api.ScaException: java.lang.ClassCastException: de.a.b.c.TransferObj cannot be cast to de.a.b.c.TransferObj
    at weblogic.sca.engine.WlsScaService.handleServiceException(WlsScaService.java:145)
    at weblogic.sca.engine.WlsScaService.invokeTargetBeanMethod(WlsScaService.java:132)
    Same Soa Suite at the same server.
    Even if the return type is not used by the lets say "serviceB" and so the type has not to be known
    by the "serviceB" like this.
    serviceA.anyMethod();
    Anyone an idea?
    Further findings: Meanwhile we found out that this only happens for local calls. But the decision
    to use a remote or a local call is container managed and one of the main benefits of Sca. For remote
    calls everything is working fine. A work around solution is to use a Mediator. But by the performance
    point of view this is an overkill.
    Is there nobody who has the ability to help us? Here quasi at the root?
    Edited by: 794126 on 17.09.2010 07:06

    Delegate definition:
    public xyz[] getCount(String accessType,long orgId,Date fromDate,Date toDate)
              return lmsServiceImpl.getCount(accessType,orgId,fromDate,toDate);
    Calling code in client:
    xyz[] so     =     lmsDel.getCount("group",l,calendar,calendar);
    Do i need to add anything to the wsdd file for the xyz bean type??

  • How do I use my Ipod/Ipad on a new computer after old one has broke without removing everthing from them

    My laptop has recently broke and is not able to use in any way. I had an Ipod and an Ipad both connected to the itunes on this computer and have purchased a new laptop. However, after downloading itunes i tried to sync my devices with it but it told me that all my contents was going to be erased and could only be connected to one computer... I was wondering if there was any way of of keeping all of my data and allowing my new laptop to replace my old one in account of itunes? Any help will be most appricated !!!
    Thanks

    Hello again and sorry to bother you. I was hoping you could help me with iTunes 10.5. This update has been a pain. When I first installed it, my entire library was gone. Luckily, I saved the "iTunes Library" file before updating and copied it in place and my library appeared. But now the problem I'm having is that the iTunes can't find any of the "original" files, even though my iTunes Media file location has not changed (it's on an external network drive". When I click on the "Do you want to find the original file" I can find it in the appropriate folder. I checked the "Preferences" and under "Advanced" I re-mapped it to the appropriate location and already had the 2 boxes for iTunes organizing files checked. Then went to "File" and "Organize Library" and clicked the first check box and then got the "Copying Files" bar. When this was completed, I thought it would be able to find the original files. But I'm still getting the same error message about not being able to find the "original" files. Do you have any suggestions? Thanks again for your help.

  • Cannot start BI services after configuring LDAP integration

    Hi all,
    After configuring LDAP integration with OBIEE , I have stopped all BI services and started again. It throws following error:
    <Nov 24, 2012 2:05:16 PM AST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see th
    ption stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to
    ore information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>
    <Nov 24, 2012 2:05:16 PM AST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializatio
    tion: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root c
    If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps
    ception: [PolicyUtil] Exception while getting default policy Provider
    weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception
    trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more in
    ion. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1398)
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
            at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
            at weblogic.security.SecurityService.start(SecurityService.java:141)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provid
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)
            at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
            at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)
            at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)
            at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
            at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)
            at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)
            at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-00056: Failed to create identity store service instance idstore.ldap.
    er:idstore.ldap. Reason: oracle.security.jps.JpsRuntimeException: JPS-00027: internal error You configured a generic WLS LDAPAuthenticator.
    The identity store type cannot be determined. Please choose an LDAP Authentication provider that matches your LDAP server.
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getIdStoreConfig(LdapIdentityStoreProvider.java:195)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.access$300(LdapIdentityStoreProvider.java:70)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider$NoLibOvd.getInstance(LdapIdentityStoreProvider.java:242)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:114)
            at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:70)
            Truncated. see log file for complete stacktrace
    >
    <Nov 24, 2012 2:05:16 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Nov 24, 2012 2:05:16 PM AST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Nov 24, 2012 2:05:16 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    D:\OraHome\Middlleware>I was not able to login to console since admin server not getting started.
    Kindly help me to overcome this issue.
    Thanks,
    Haree

    Thanks for the reply Veeravalli.
    I have stoped the services and delete the config.lok file then edited the config.xml file under *%MW_HOME%\user_projects\domains\bifoundation_domain\config* . Then started the BI services. Now its working fine.
    Thanks,
    Haree

  • Flashing folder start up...another one

    I have tried all the suggestions below but interestingly resetting PRAM makes no difference, and holding the option key doesnt bring up disc options just leaves a white screen with a cursor.
    This has happened twice now about 4 weeks apart and on both occaisions I have gone to bed frustrated with it only to find that next morning the option key works , I select the disc and everything is fine.I have since run the disc utiity check and runs fine.
    When its failing I have left off for 30 mins or so but it still fails - it needs a night sleep !!!  Is this a heating problem or somewhere I read there is an internal battery that can need replacement, or is it just the hard disc starting to fail ???
    Its an Imac 24 Early 2008 and I have recently upgraded to Maverick but I dont think thats relavent.
    Any thoughts ???

    Wired or wireless keyboard?
    The process for using keyboard startup shortcuts can be slightly different for each type.
    With a wired keyboard, you can hold down the startup shortcut keys before you restart your Mac.
    But with a wireless keyboard you have to wait until after the startup sond occurs, and be quick enough to get the keys pressed before the boot process is much further along.

  • How do I reduce playback choppiness? And why did my magnetic timeline feature disappear? Clips no longer fall into place 'magnetically' fill in before/after another one like they used to.

    I'm wondering why final cut pro x runs as slow as it does. Isn't it touted to be the best, fastest software out there? I'm running a 2011 model macbook pro 15", version 10.6.8 with the 2GHz intel core i7 and 4gb of ram. Anything I can do to make it buffer and just overall run faster? Clean out my hard drive maybe? And when I first got fcpx, the magnetic timeline feature worked as expected but now clips move freely wherever I drag them to, and if I try to put one clip between 2 different ones, it doesn't go in between magnetically but rather sits below the 2 clips and doesn't get played. I'm very confused. It's kinda nice to be able to put clips wherever I want and not in set locations due to the magnetic feature, but I also hate moving the entire lineup of clips just to squeeze an extra one in there, because (this is another weird issue i've been having) when I do that, the clips don't stay perfectly aligned like they were before I move them, they get all jumbled and such, i.e. some clips will move and be overlapped with other ones).
    thanks a bunch,
    Colin

    You probably inadvertently switched from the "arrow" tool to the "position" tool .
    Note the little button on the left above your timeline.
    When the position tool is selected (just by pressing 'p'), whenever you drag items in the timeline they are positioned right where you drop them. The magnetic timeline is not "turned off". Indeed, a "gap" clip is automatically created to fill the, er..., gap. Notice the gap clip in the picture below:
    Just press 'a' to select the arrow tool. And delete any gap clips that you don't want.
    I agree that you can probably benefit from a number of tutorials that are available online. My favorite is at izzyvideo.com (it is free).

Maybe you are looking for