Java api to start/stop J2EE apps

Hi
Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
applications programmatically?
I know weblogic deployer provides the means to start and stop the J2EE applications
through scripts. What I want to know if the apis for the scripts are exposed to
be used within java code.
Thanks

http://edocs.bea.com/wls/docs81/deployment/tools.html#998698
That is the API you need to what the weblogic.Deployer tool does.
Sam
Amir wrote:
Hi
Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
applications programmatically?
I know weblogic deployer provides the means to start and stop the J2EE applications
through scripts. What I want to know if the apis for the scripts are exposed to
be used within java code.
Thanks

Similar Messages

  • Any JAVA Api to start/stop dhcp server?

    Hello,
    Does JAVA has any API to start/stop DHCP server.
    thanks,
    shimsha

    http://edocs.bea.com/wls/docs81/deployment/tools.html#998698
    That is the API you need to what the weblogic.Deployer tool does.
    Sam
    Amir wrote:
    Hi
    Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
    applications programmatically?
    I know weblogic deployer provides the means to start and stop the J2EE applications
    through scripts. What I want to know if the apis for the scripts are exposed to
    be used within java code.
    Thanks

  • API to Start / Stop Applications or to perform NWA like operations

    Hello,
    is there an API available that enables me to start and stop deployed ears programmatically?
    Or more generally asked, is there a way to perform the same actions that are possible with the NWA, e.g. modify web service ports, deploy applications and so on.
    Thanks in advance.
    ciao,
    Elmar

    Yes there is. I am trying to use it right now.
    It is the DeplyService interface (com.sap.engine.services.deploy.DeployService) which is contained in the deploy.sda.
    You can use it to start/stop applications, remove applications, deploy applications, etc.

  • Can I use Jolt start/stop Tuxedo apps ??

    Hi,
    I am a newbie to Jolt....we need a way to stop/start Tuxedo
    application with Java...can we use the Jolt API ??
    Thankx a million
    Aidan
    Munich, Germany

    There is a mode that mix both start and stop trigger but it doesn't explain if i can re-use easily these 2 triggers one after the other.
    user manual 653xcard  part 2-9:
    "When you use a start and stop trigger, data transfer starts upon receiving a trigger on the start trigger line (ACK/STARTTRIG pin) and ends upon
    receiving a trigger on the stop trigger line (STOPTRIG pin), and ..."
    thanks awaiting your insight answers.
    Hari

  • Connecterra API to Start/Stop readers.

    Hello,
    Is there API support by connecterra to start and stop the readers?
    I googled but couldnt find any usefull stuff. If some one has worked on it, can you please tell em know where can i get the same..
    We are working on bea rfid_edge21 .
    API and also if possible sample examples.
    your help would be highly appreciated.
    Thanks in Advance.

    Hi Shridhar,
    RFID API guidline
    PIOS RFID API Guidelines
    Definition
    This document explains several guidelines for the PIOS RFID API, part of the MI Client API. Each of the guidelines is discussed below.
    Use
    These guidelines are intended for all the developers working on the SAP NetWeaver Developer Studio in a mobile application with RFID peripheral requirements. It helps the developer get the most out of the PIOS architecture. The developer can access these features provided by PIOSthrough the MI Client API.
           1.      Tag Configuration File
    The RFID API programs, reads, and/or writes tag types that have been predefined in the tag configuration file. The tags can be edited, added to, or removed from the file using the tag configuration manager, part of the RFID API.
    The RFID reader can only work (read, write, and so on) those tag types defined in the tag configuration file and supported by the hardware. Supported tag types depend on the RFID reader make and model.
    Tags that are not defined in the tag configuration file will be ignored by the API even if they are supported by the RFID reader.
           2.      List Tag Types method
    This method returns all the tag types that have been configured in the API. An array of tag types is returned. The configured tag types are returned in an array. This method must be called before an identify by tag type is called, this assures using a valid tag type when calling the identify.
           3.      Tag configuration manager
    To receive a list of all the configured tag types for a specific RFID reader, use the listTagTypes method. To edit the list by adding or removing a tag type, or to edit a particular tag type use the TagConfigurationManager class.
           4.      Identify method
    To get a list of all the tags (that are defined in the API) inside the RFID reader's range, use the identify method with no parameters. To get a list of all the tags in range of a specific tag type, pass the tag type as a parameter to the identify method.
           5.      Read and write operations
    The API can read from or write data to one tag at any given time. The tag to be accessed must be inside the RFID reader's range. To accomplish this, call the identify method before invoking either the read or the write. This guarantees the use of a valid (in range) tag.
           6.      Tag structure awareness
    An RFID tag may be divided in several areas. These areas can be one the following:
                                a.      Reserved - This data is written by the tag manufacturer. The data in this area may be used internally by the tag.
                                b.      Read only - A portion of the data that was both written and locked, or was written in a single-use tag. The information in this area is accessible but cannot be changed.
                                c.      Writable - This area may be written and read using the API.
    It is important to be aware of the different areas and to avoid trying to write to reserved or read-only areas. Otherwise an exception will be thrown.
           7.      Writing without exceptions
    The following procedure is recommended to write to a tag without raising an exception:
                                a.      Identify the tags in the RFID reader's range, either with a tag type as a parameter or without a tag type. It depends on what needs to be done. A list of available tags is returned.
                                b.      Select the tag that will be written to from the list and get its tag type.
                                c.      Use the tag type writable areas for the tag to determine what section or sections of the tag can be written to.
    Hope this helps
    Thanks N Regards
    Santosh
    Reward if helpful !!!

  • Usage of Object Cache for Java in J2EE apps

    Hi,
    we are investigating on whether we can use the Object Cache for Java
    (OCS4J) for our requirements. The question we have come across is:
    What is the designated way of integration for the Object cache to fit
    into the J2EE environment? Unfortunately, although the current manuals
    group OCS4J into the "Oracle Containers for J2EE Services Guide" and the
    suggested package name for the whole thing in JSR 107 seems to be
    javax.util.jcache, there is very little documentation on how the
    designers would like J2EE programmers to use the cache from within a
    J2EE app and all examples given are not from within a J2EE environment.
    We are in particular thinking about a hierarchy of several cache
    "compartments" (Region->Subregion->group) for different topics and using
    the hierarchical name of the cache (region.subregion.group) as the
    primary key for BMP Entity beans, each of them having their own
    CacheAccess object. Then we would have an API of stateless Session beans
    on top of that, which would be determining the cache "compartment", get
    the appropriate Entity Bean with the Cache Access object and then do the
    required operations on the cache.
    But then we immediately run into the question of how the mapping between
    Cache Objects and CacheAccess objects will be done etc.
    So is there anybody that can give us any hints how to use the OCS4J in
    an EJB scenario?
    Thanks in advance for any help!
    Andreas Loew
    [email protected]

    We have Java client requesting over HTTP to application server. We would like to cache some of the objects created by the servlet while serving the request. Can I use the OCS4J for caching the Java objects. Do I require any software or just copying the JAR file and importing the class would serve the purpose?
    Regards
    Arun

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • Music spontaneously starts, stops, stutters at random and I'm not even using that app. Repeated attempts to pause the song and close the app have no affect. Just keeps popping on and off randomly no matter what I'm doing at the time.

    How do I eliminate this glitch?  Music spontaneously starts, stops, stutters at random and I'm not even using that app. Repeated attempts to pause the song and close the app have no affect. Just keeps popping on and off randomly no matter what I'm doing at the time. I tried double-clicking the Home button which brings up all of the active apps, touched and held the Music icon until all the icons started wiggling, tapped the Close icon in the upper left corner of the Music app to close the app completely, but the app is still open and still randomly stuttering. I did notice that the play button icon flashes in the upper right corner of the screen when this happens and it appears and disappears in concurrence with the Music app stuttering. When the music starts, the icon appears and when it stops, the icon disappears again. When the music stutters on and off, the icon appears and disappears rapidly and in sync with that random glitch. This just started today for no apparent reason. I turned the iPad off, waited 30 seconds and turned it back on. As soon as it was finished starting up, the same music glitch began again immediately. I'm using iOS 6.1.3.

    Well, no one seems to have any answers or ideas for me, I'll update what I've been able to accomplish.
    I reloaded all 14 disks in the time frame of watching Lord of the Rings on Fri. nite.
    Funny thing is, the first disk pulled the info from the online store! Hooray!
    Wait-then all the next 13 could find no information online...what the heck is up with that? So I MANUALLY assign each disk a new track # to co-inside with each disk, spent about 2 hours doing that.
    But still, itunes tells me my playlist is too large, there's not enough space on the ipod. so I unchecked 1 1/2 disks (I'd listen to 1/2 of disk 1 previously) and voila! there's my ipod full of my book. Finally. But what a lot of bother just to keep things in order!

  • How to make Quick java Doc to works for j2ee APIs (CTRL+D)

    Hi
    Thank you for reading my post
    i find that jdeveloper can show a quick java doc for java API , but i do not know why it does not show any document for j2ee stuff.
    can some one tell me the solution ?
    Thanks

    Hi
    Thank you for reply ,
    where i can find source codes for java ee stuff ?
    I want all of APIs to have quick java doc as it is very usefull.
    thanks

  • Any http/telnet API to activate camera to start/stop recording?

    Hi all,
    The function is involved in a IoE(Internet of Everything) project for customer.
    A. The action of 'start to record': will be triggered by event, such as when a sensor has detected some smoke in one room. The platform will activate camera by sending telnet/https command.
    B. The action of 'Stop to record and Save': will be used based on duration: After recording for 5 mins, the camera will stop to record and save video into local disk automatically.
    Of course, if VSOM is needed, that will be OK! The question will be: How to start/stop camera recording by VSOM API(http/telnet.)?
    Thanks!
    Ziwei

    Hi! I've tried and I believe your Finesse Workflow is correct.
    The trick is that on AQM you need to have your WFO Workflow Allowing to Record all calls.
    Then to exclude all calls from being recorded, you can use the Inclusion List and make * for Exclude all Patterns for being recorded. Then your Finesse Workflow will work:
    1) All calls are sent to AQM, but are not recorded because of the Excluded Pattern = *
    2) Finesse Workflow only has the power to overwrite the Inclusion List configuration
    3) Finesse Workflow cannot overwrite the AQM Workflow configuration.
    Hope it helps,
    Rui

  • I started downloading an App last night and it seems to have jamed my Pad it just keeps scrolling, how do I stop this.

    I started downloading an App last night and it appears to have jammed up in the process and it just keeps scrolling, how can I stop this?

    Did you try to reboot the iPad?
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How to stop an app from auto starting when signing on?

    how to stop an app from auto starting when signing on?

    Several point :
    1st : do you select "auto relaunch" application when you close ML last time? don't do that next time
    2nd : in system preferences/Users and Groups look at applications that are selected for automatic opening. You can remove application. Tab called "Open At Login"
    3rd : have a look at /Library/LaunchDeamons/
    4th : buy Lingon
    Hope it can help

  • Music Start/Stop Times with iTunes Match causes iOS Music App to glitch

    I set Start Time and Stop Time values for my music in iTunes to crop off non-music parts of tracks, but the Start/Stop Times cause the iOS Music app to glitch out when the track streams via iTunes Match. If a track has a Start Time set, the track will get stuck, and repeat the first fraction of a second of the track over and over, seemingly for the amount of the Start Time. And if the Stop Time is set, the NEXT track will glitch out. For example, if a track has a Start Time of 0:10, the track will glitch out for at least 10 seconds before the track actually starts playing. Sometimes the track never stops advances beyond 0:00.
    I think the problem caused by the fact that iTunes Match is streaming the entire track so the Music app just freaks out for the duration of the Start/Stop Times.
    Has anybody else experienced this? Is there a workaround?
    For now, I've just been searching my 22,000 song library for tracks with Start/Stop Times and exporting new hard-cropped files, but this is tedious, takes up hard drive space, and degrades the audio with lossy-to-lossy double-compression.

    I'm having the exact same problem and from my research I believe that the old process of being able to turn ITM off, sync your music to your iPad, and then turn ITM back on no longer work.  You are correct that going through this process wipes out your music.  It's only on IOS 6.0 on my Gen 3 ipad because on my gen 1 iPad, I can't upgrade to IOS 6.0 and the old process still works fine under IOS 5.0. 
    In order to get around this I created a massive playlist (a superset of all my other playists) that I downloaded by using the download button in order to get local copies of my music on my ipad 3.0. 
    It seems to be working for now but I can't force my ipad to keep all that music local anymore.  If I download other music or movies in the future (and become low on space) Apple makes the decision about what to remove from my local copy in order to fit the new content on the device. 

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

Maybe you are looking for

  • Help needed in Process Orders

    Dear All I have to track changes made in Process order in transaction COR2. I have the user exit, but I dont know which field would hold the changed value. Can anybody help. Points for sure.. Regards Dinesh

  • Windows 7 installation problems Thinkpad X220 (4291-4BG)

    Hello I just bought a new laptop a Lenovo ThinkPad x220 (4291-4BG). I want to do a clean windows install on it. I have downloaded the windows 7 professional ISO from MSDN. For installation i do as fallows. 1. Pressing F12 at boot to start from my ext

  • Dvd burn interrupted

    I can't get my video to burn to a DVD.  It keeps giving me the message that the DVD Burn has been interrupted.  This is getting very frustrating. I am using a HP computer, Windows 8, Core i7, Adobe Premier Elements 13.  I download QUICKTIME 7 onto my

  • Advice on small VC set-up

    Hi,  I need advice to set-up the best but affordable VC set-up using Skype.  Requirements:  - Set-up for conference table for 6 people - Main screen on 42inch monitor on the wall - Group calls possible - Ability to do screen/application sharing durin

  • IOS8 Multi Folio - Error message "Cannot install item"

    We're a UK publisher using Enterprise Editions to produce multi folios. We publish v27, to target iOS6+7. On updating to iOS8 and opening our app in Newsstand, and trying to download an edition, we get the Error Message "Cannot Install Item". I've re