How i can Start OC4J Instance as window service

hi ,
How i can Start OC4J Instance as window service ?
Regards
Omar

Omar,
check
http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
Frank

Similar Messages

  • How to start OC4J as a Windows service?

    I installed OC4J standalone version 10.1.3.4.0 so I can configure Apache FOP. The startup/shutdown process is manual and my Windows customers are not liking it at all. Is there a way to make it a Windows service so it starts automatically when the system boots? Otherwise, the system has to stay logged in and the command window that started the process needs to remain open. Windows folks don't like this.
    Thanks,
    Denise

    I had an example here of doing this, way back when I was a young lad:
    [http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html|http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html]
    Don't know if the utility even exists any more but there's likely to be something else that has taken its place if not.
    -steve-

  • How to Keep the "Start OC4J instance" window or Forms Server always up 24*7

    Gurus -
    Can you please tell me how could I have the "Start OC4J instance" always up and running in my server. I want the Forms server ( 10g) up and running all the the time. please advice how could I do that. My DB is 11g and using the Oracle Devsuite 10g. Please advice
    Gurus - Can you please advice on this. Basically have developed a form and couple of users want to access that but get error " page cannot be displayed" and I figured out the "Start OC4J instance" windows gets closed automatically after some hours.
    so I wanted this OC4J instance to run 24*7 ( always) without closing by itself. Please advice how could I do that.
    Thanks
    Sheik

    Thanks a lot Steve,
    Just wanted to find out if there is no other work around on this except to have the Oracle App Forms server to install and up and running?
    I have 11g DB , so do I have to have 11g Oracle Apps Server or 10g Oracle apps server will be sufficient as the installed Devsuite is in 10g. Please advice
    OR
    Is there way we can setup this Oracle Apps forms server from the OEM console? or we have to do a seperate install for this Apps server.
    Other option I thought, which I am not sure will work out is the creat a scheduled task in windows and have this "Start OC4j Instance" scheduled to run always. Any ideas/commments on this.
    Thanks again for your inputs.
    Rgds
    Sheik

  • Unable to start oc4j instance

    Hi,
    My application was running well. But since last two days oc4j instance is not starting up.
    I reinstalled developer suite 10g release 2. But the problem is still there.
    A flash comes when i click start oc4j instance. Even i m not able to read the messages coming on the screen & the oc4j window is closed.
    My report server is not starting. I have tried to make report server up too thru naming service.
    Kindly help it is urgent.
    Thanks in Advance.
    Regards
    Swati

    Have you installed any new software or OS updates lately? It sounds like your OS can't find Java any more because your computer's environment settings have been modified or perhaps Java was uninstalled. A quick test of Java is to open a Command Window (CMD) and type "Java -version" (without the quotes). If you get an error this indicates that your PATH environment variable no longer includes the directory where Java is installed. You may only need to clean up the PATH environment setting to get things working again, or you may need to reinstall Java.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Could not start OC4J instance.. Exception in thread "OC4J Launcher"

    Hi All,
    This is Kumar and I am using Oracle Enterprise Manager 10g which is installed on a Linux box. Recently, I found that I could not start OC4J instance either by giving ./opmnctl startall command or from EM console. Below is the error message from ./opmn/log/ folder.
    11/03/28 10:03:47 Start process
    11/03/28 10:03:49 Error writing server.xml
    11/03/28 10:03:49 Exception in thread "OC4J Launcher" java.lang.OutOfMemoryError: Java heap space
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.readObjBytes(TimerEntry.java:274)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.read(TimerEntry.java:248)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimeBasedEntry.readEntry(TimeBasedEntry.java:253)
    11/03/28 10:03:49      at oracle.ias.container.timer.Timer.readObject(Timer.java:489)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/03/28 10:03:49      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/03/28 10:03:49      at java.lang.reflect.Method.invoke(Method.java:597)
    11/03/28 10:03:49      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.FileTimerStore.readPersistentStore(FileTimerStore.java:191)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimerFactory.readPersistentStore(TimerFactory.java:103)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.schedulePersistedTimers(TimerService.java:655)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.initialize(TimerService.java:473)
    11/03/28 10:03:49      at oracle.ias.container.ContainerServiceManager.addService(ContainerServiceManager.java:209)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.startContainerServices(ApplicationServer.java:911)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:952)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    11/03/28 10:03:49      at java.lang.Thread.run(Thread.java:619)
    11/03/28 10:03:49 Shutting down OC4J...
    To resolve the issue, I have tried changing the opmn.xml file (from $ORACLE_HOME/opmn/conf/opmn.xml) such that, for the failed OC4J instance -XX:MaxPermSize=256m (old value was 128m).
    Though I made the modification and re-start the OC4J instance, I could see the same error and behavior.
    Can anyone help me to resolve this issue please?
    Regards,
    Kumar

    This is bit strange. It should work. I tested and works fine for me.
    Can you remove the entry from opmn.xml and make sure no typo in server.xml and try again. You might want to reload OPMN (opmnctl reload) and then try restarting OC4J (opmnctl startproc ias-component=OC4J).
    Note that value (-DcheckForUpdates) set in opmn.xml overrides the value set in server.xml:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/autodeploy.htm#CHDIBFAH
    Thanks
    Shail

  • Start oc4j instance

    i started oc4j instance so i'll be able to run my forms.
    i run it from start menu.
    what i recieve is ORACLE APPLICATION SERVER CONTAINERS FOR J2EE INITIALIZED.
    BUT STILL I CAN'T RUN MY FORMS.IS THERE ANY ERROR TO OC4J?

    Hello,
    Are you talking about Oracle Forms Server?
    Which version of Oracle Application Server are you using ?
    For me OC4J is up and running -you should be able to see the instance up and running in Enterprise Manager-.
    If it is an Oracle Forms problem I would encourage you to post your question on the Forms
    Regards
    Tugdual Grall

  • How I can download mavericks OS from windows device and install it in my macbook air?

    from my mistake I formated my device (macbook air 2013) when i am trying to install windows by using boot camp
    and now i cant boot my device becuse it doesnt have OS
    how I can download mavericks OS from windows device and install it in my mac?

    hmmmm no need for windows device. simply hold down Command and R at start up it will install recovery HD and then u can install OS, for that u need a stable and good speed internet. so fist connect your Mac with internet and then start it by holding cmd and r after that it will do all the work.

  • HOW i can identify  which instance is associated with which Listener

    Hi all,
    i created one DB instance. suppose named as "B". but there is already another DB instance present. Named as "A".
    Then i created one listener for DB instace "B".
    Now my Que. is that HOW i can identify which instance is associated with which Listener,.
    2) if i create listener then a service also created. if i stopped that service and then can i fire query OR Login again, WHAT will be the expected result.
    I tried by asking people for my answer. but not satisfied.
    Please Help me For this.
    Thanks in Advance

    856376 wrote:
    i want to start my carreer in DBA.
    In what manner i ahve to prepare my self.
    Your guidance will help me lot
    Thank youLike everything else, the answer is "it depends".
    What is your background and experience with computers, networks, operating systems, programming languages?
    What are you currently doing?
    What formal and or on the job training have you had?
    As Aman said, build yourself a test system and play with it. You can do this at no cost by ...
    1) download and install VMplayer (vmware.com). It is legally free. For an investment in your career of about US$185, you can buy VMworkstation, which has the same fundamental capability plus some nice management features.
    2) download and install Oracle Enterprise Linux (oracle.com). It is legally free. If you want a support contract, you pay for that.
    3) using (1) and (2) create a virtual linux server
    4) download and install Oracle Enterprise edition database (oracle.com). It is legally free for personal eduction.
    5) install (4) on (3).
    Beyond the above questions I have some boilerplate replies that fit here . . .
    if people want to be professionals in ANY field, the first knowledge they need to acquire is how to locate AND USE+ the fundamental reference materials for that profession. And the most important trait, the one for which they are really hired, is the ability to do independent research, and having a modicum of curiosity that would drive one to do that research. We don't mind helping newbies, and even the most experienced person on this board will run into something they are not familiar with, or occasionally just require a second set of eyes to look at something. But a professional+ needs, above all, a willingness and capability to check the docs. A professional isn't necessarily someone who has all the answers at their fingertips or has a full understanding about every arcane subject in their field. It certainly isn't someone who has an encyclopedia full of memorized answers but little understanding of how it all fits together. It's someone who knows where to find the answers when needed, how to recognize them when he sees them. It's less about knowing than it is about attitude. Everything you asked can be answered in the Oracle Concepts Manual at tahiti.oracle.com. You should bookmark that site.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • How to create new OC4J instance in AS 10.1.3 with BC4J- and ADF-Libraries

    Hi
    I have done all the steps mentioned in this thread:
    How to create new OC4J instance in AS 10.1.3
    However, the new created OC4J instance obviously misses some libraries. If I deploy my Application to this OC4J I get an internal error: Class not found: oracle.jbo.JboException.
    The same Application runs well in the "home" Instance.
    What is the trick, to create a new OC4J instance, which more or less behaves the same way as the "home" instances (and especially has all the same libraries)?
    Thanks for your help
    Frank Brandstetter

    I encountered this last month. I definitely agree that it is a glaring omission to not have "Create Like" functionality when instantiating new containers. Here's my notes on the manual steps required after using createinstance to create the fresh container. Not too bad. I've been deploying ADF applications to the new container with no problems after this.
    ==============
    The default (home) OC4J container is pre-configured for ADF 10.1.3 applications; however, when $ORACLE_HOME/bin/createinstance is used to create additional containers, these containers are not configured automatically to host ADF 10.1.3 applications.
    I followed these manual steps:
    1. $ORACLE_HOME/j2ee/home/config/server.xml defines three shared libraries that "install" the needed JARs for Oracle ADF applications in your application server instance (container). Note that "install" does not necessarily mean available to applications (see Step 2). Copy the three shared library element definitions to the <application-server> element of your new container (in server.xml).
    <shared-library name="oracle.expression-evaluator" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/jlib/commons-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/oracle-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jsp-el-api.jar"/>
    </shared-library>
    <shared-library name="adf.oracle.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="adf.generic.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/bc4jdomgnrc.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    2. To make the necessary ADF and JSF support libraries available to your deployed ADF application, the default application (that your ADF application and the majority of applications should inherit from) should explicitly import the shared library in the <orion-application> element of $ORACLE_HOME/j2ee/<your container>/config/application.xml.
    <imported-shared-libraries>
         <import-shared-library name="adf.oracle.domain"/>
    </imported-shared-libraries>
    Note: the adf.oracle.domain shared library imports several other shared libraries including oracle.expression-evaluator.

  • How do you create a program in Labview that can be run as a Windows Service?

    I would like to create a Labview program that can be run as a Windows service.  I have read the following Knowlegebase articles and have done what they say. 
    Creating a Windows NT Service Using LabVIEW http://www.ni.com/white-paper/3185/en 
    Running a LabVIEW Application as a Windows NT/2000/XP/Server 2008/7  User-Defined Service http://digital.ni.com/public.nsf/allkb/21BA0F671A63A60386256CB4004DF99B
    When trying to start the service I get an error that says the program didn't respond to the start in a timely manner.  I also set the "run when opened" parameter in the VI.  I am programming in Labivew 2010, proffesional version.  The server is running Windows Server 2008.  Can anyone help?  Is the ini file important in Windows Server 2008?

    I haven't looked through all those links.  But I have created Windows Services from LabVIEW executables way back when WinXP came on the market.
    The problem with services is that they have no UI.  So you can't really see what is going on.  Your EXE might be failing or hanging due to some kind of error (most liklely a security/permissions error), but you can't see the error.  So my advice is to either:
    1.  Have your EXE write lots of info to a log file.  Write info that log every step in the application.  If an error ocurrs, have it write the error info to the log file.  That is a very useful debugging tool.
    2.  Use VI Server functions to monitor the service to see what is going on. 

  • How I can start my career in BI

    Hi frnds,
    Currently I am working as a PL SQL developer.It is a kind of IFS ERP related support.Already we are doing Quick report all those things..How I can start learning this OBIEE I have more interest on that....any specific website is there for learning OBIEE......

    Hi,
    Refer below link
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://obiee101.blogspot.com/2009/07/obiee-how-to-get-started.html
    http://www.rittmanmead.com/blog/
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/index.html
    http://docs.oracle.com/cd/E23943_01/bi.htm
    Thanks
    Deva

  • My i ph 3 does not start only aaple sign coming on my screen when i start my ph,, pls let me know how i can start and use my ph

    how i can start my i ph 3 when only apple sign comes on my ph screen

    If you cannot put it in recovery mode to restore it, you'll have to try putting it in DFU mode to restore it as described in this post: https://discussions.apple.com/thread/2648467?threadID=2648467&tstart=0.  That's the last thing you can try.  If DFU mode doesn't work you probably have a hardware failure and you'll have to have Apple take a look at it.

  • InDesign CS4 Scripting Help how i can start scripting

    Hi all,
    I'm new to Indesign Scripting, and I'm hoping someone can help me with the following Apple/Java_Script which script language (Apple/Java) good for me.
    (1) Adobe InDesign CS4 Apple/JavaScript tutorial (.PDF/Text/ExampleScript)
    (2) How i can start scripting ???
    I'm working Adobe InDesign/QuarkXpress with ETMV2 with (Pearson DTD/IDML) as a Operator last 4 Year. I want learn Scripting.
    Any one Help/Suggest i really appreciated!
    Thank's
    snegig
    email => [email protected]

    Thank you so much!
    Kudos to you.

  • HT1766 Hi Communities ,I am a new user.I want to unlock iphone4s  ios 7.0.4 which is secound hend use.so you help me how i can start for jailbreak&unlocking.

    Hi Communities this is Miah,I am a new user.I want unlock iphone4s ios 7.0.4 softbank carrier,which is i buying from yahoo auction japan.So how i can start for Jailbreak&unlock for use any carrier sim,Please help me.

    Hacking the iPhone is against Apple's license agreement for the iPhone, is not supported by Apple directly or indirectly via these discussions, and removes the built-in security included with iOS making the iPhone as vulnerable as insecure android devices.
    You will get no help with hacking an iPhone here.

  • How do i start using Sharepoint under Windows 8.1 on Surface RT?

    How do i start using Sharepoint under Windows 8.1 on Surface RT?

    On the Surface, open Internet Explorer, navigate to your SharePoint O365 or corporate SP url, login and then browse your sites.
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

Maybe you are looking for

  • F101 - Sort Order

    The report displayed by this Transaction displays Documents from GL, AR and AP. The document display seem to be in no particlar order. May be it showing the AP documents grouped by the Cost Centre? But then what logic for the GL Documents? The dates

  • Direct connection between 2 SPA9000

    I'm considering on buying SPA9000. My question is: is it possible setup a call through 2 different SPA9000 located on different site directly, without using ITSP intermediary. Can a line on one SPA9000 be set to register to a line on another? Can I u

  • Caps lock stuck on

    I can't log onto my macbook air as the caps lock seems to be stuck (even tho its not). Using brand new Macbook Air OS Lion, not technical so need step by step instructions pls

  • Camera view and take a very different color than 1st gen iPhone-Pls advise

    I'm new to the forum. I just recently purchased a 3GS for my wife as a gift. I noticed her photos, especially indoor, appears more orange-tinted than my original 1st gen. iPhone. The difference is very noticeable when you put side by side for view an

  • Adobe reader crashes

    I've installed Adobe reader many times, mainly version X and now XI. It keeps crashing but I've no idea why and the adobe forums don't really shred any light on this. Ideas please oh noble one's