Please help me on installing OC4J as windows Service

Hi, Guys:
Could anyone help me on installing OC4J service as a windows service in my computer? I always got the following error message when I tried to start OC4J service:
The Oracle BI: OC4J Service service on local computer started and then stopped. Some services stop automatically if they are not in use by other servies or programs.
I am using Windows server 2008, service pack 1, 64 bit operating system.
OC4J has been successfully installed and I can see enterprise manager from http://localhost:8888/em.
I set envionment parameters as follows:
ORACLE_HOME: C:\OC4J\oc4j_extended_101350
JAVA_HOME: C:\java\JDK7u7 (I use jdk-7-windows-i586)
J2EE_HOME: %ORACLE_HOME%\j2ee\home
and I run cmd as administrator, cd to javaservice subdirectory, use javaservices to install OC4J as follows:
javaservice -install "Oracle BI: OC4J Service" "C:\java\JDK7u7\jre\bin\server\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=C:\OC4J\oc4j_extended_101350\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap
I was told it is installed successfully. But I got the problem as I said before. It was strange though I did it on my local computer which is a windows7, service pack 1, 64 bit operating system successfully. I struggleed for 3 weeks with the same problem on my local PC and suddenly it worked without problem. I did not remember I changed anything. Is there anything that I missed?
Any suggestion would be appreciated!
Sam

Well, I added two lines in OC4J.cmd
set ORACLE_HOME=C:\OC4J\oc4j_extended_101350
set JAVA_HOME=C:\JAVA\JDK7u7
before
set J2EE_HOME=%ORACLE_HOME%\j2ee\home
and I restarted the windows. It looks try to run OC4J but failed, as I open services window, it shows OC4J is "stopping". When I try to run it manually, I got the same problem again. is there anything I missed? What is your OC4J, JDK and javaservice version?
Sam

Similar Messages

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • Help for downloading/installing PSE13 with window 8.1?

    I get this message after intall attempts ..."Installer has detected that a machine restart may be pending. Its recommended that you quit the installer, restart your machine and try installing again,"  Lightroom, however, installed fine.

    Thank you for responding.  I got some advice from a Microsoft forum....it worked.  Thanks again.
          From: Pat Willener <[email protected]>
    To: kathryn kramar <[email protected]>
    Sent: Saturday, January 3, 2015 10:56 PM
    Subject:  help for downloading/installing PSE13 with window 8.1?
    help for downloading/installing PSE13 with window 8.1?
    created by Pat Willener in Downloading, Installing, Setting Up - View the full discussion
    pwillener wrote: What is your operating system?
    Sorry, you specified Windows 8.1 in the subject line. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7063274#7063274 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7063274#7063274 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • Can someone please help me re-install my Creative Design 5.5 on my Mac?  My MacBook Pro recently crashed and had to have the hard drive replaced.  The back up from Time Machine is not reinstalling the program.  Since I have the download paid, and codes, I

    Can someone please help me re-install my Creative Design 5.5 on my Mac?  My MacBook Pro recently crashed and had to have the hard drive replaced.  The back up from Time Machine is not reinstalling the program.  Since I have the download paid, and codes, I need direction on how to reinstall -- HELP?

    Hi bodegakc,
    If you have the serial number then please use the below mentioned link to download the product you are looking for .
    CS5.5
    Also before installing Please go to Applications-->Utilities--> Adobe installers and if there is any uninstaller for CS5.5 , you can remove it and do a fresh install.
    You can also use creative cloud cleaner tool before installing.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Thanks
    Nikhil Gupta

  • I am having iPod touch 4g with ios 6.1.3 and can you please help me in BBM install when I click on install button it says that you need GPS please help me To install my BBM

    Apple inc. can you please help me to install BBM in iPod touch 4g

    BBM is only compatible with devices that have cellular/GPS radios. The iPod does not have these.
    The BBM app says:
    Compatibility: Requires iOS 6.0 or later. Compatible with iPhone, iPad 2 Wi-Fi + 3G, iPad Wi-Fi + Cellular (3rd generation), iPad Wi-Fi + Cellular (4th generation), iPad mini Wi-Fi + Cellular, iPad Air Wi-Fi + Cellular, and iPad mini with Retina display Wi-Fi + Cellular. This app is optimized for iPhone 5.
    https://itunes.apple.com/us/app/id690046600?mt=8

  • I did not find facetime in iphone5. How to install please help me to install facetime

    I did not find facetime in iphone5. How to install please help me to install facetime

    What country did you buy the phone in?
    What iOS version does it have?
    As has been said, Facetime is banned in some coutnries and so is not available on iPhones and cannot be insatlled.
    Also, before iOS7, the iPhone had no Facetime icon, it was built into the Contacts App.

  • My iphone doesn't conect with my computer. He says you can't use it you softwear is not up to date please uninstall itunes and install itunes for windows 64bit. I do that but it doesn't work. So what can i do?

    my iphone doesn't conect with my computer. He says you can't use it you softwear is not up to date please uninstall itunes and install itunes for windows 64bit. I do that but it doesn't work. So what can i do?

    It won't pass 10.3.
    What does this mean?
    I figured it out. Thanks!!!
    What did you figure out? How about posting how you resolved it?

  • HT2129 I successfully installed my iPhoto but I can't see I accidentally deleted my "Photo Booth", Can you please help me to install it?

    I successfully installed my iPhoto but I can't see I accidentally deleted my "Photo Booth", Can you please help me to install it?

    Hi BDAqua,
    I tried to install Pacifist, THEN the Choices are:
    -Open Package
    -Open URL
    -Open Apple Install Discs
    -Search Receipts
    so i choose " OPEN APPLE INSTALL DISC"
    THEN I inserted one of the DVD, the "APPLICATION INSTALL DVD"
    THEN this what came up in the
    Package Contents
    > Contents of Install Bundled Software
    > Contents of InstallBundledSoftware.mpkg
    > Contents of CPUHelpFiles.mpkg
    > Contents of iWeb.pkg
    > Contents of GarageBand.mpkg
    > Contents of iDVD.mpkg
    > Contents of iPhoto.mpkg
    > Contents of iMovie.pkg
    > Contents of AppleIntermediateCodec.pkg
    > Contents of iLifeCookie.pkg
    > Contents of iLifeSoundEffects_Loops.pkg
    I open everything just to see the one you send me but I can not find it,
    Do I have to insert Mac OS X Install DVD too?
    The Application Install DVD was installed twice already,
    Does that affect the memory of my Macbook?
    Thanks again,
    Waden

  • Install a c# windows service

    How to install a c# windows service onto a machine that doesn't have Visual Studio installed?

    It is simple, you only need framework installed. Visual Studio is not required..
    If suppose it is framework 4.0 then 
    1)Open cmd prompt
    2) move to below directory
    cd C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 
    3) Then use installutil
    -i "windows service exe path"
    4) Thats it
    C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>installutil -i "c:\ABC.exe"
    To uninstall the service, 
    C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>installutil -u
    "ServiceName"
    To Delete service 
    C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>sc
    delete "servicename"
    Note : Service name is you name of service which you can get it from services
    Run> type services.msc
    Hope this helps you. Mark
    it answered if so.

  • Please help. my computer is hp with windows vista 32 bit. I can't installe itunes . not the new one or and old one. i have try to uninstalle itunes and reinstall itunes again but it didn't work. please help

    please help. my pc is a hp with windows vista 32 bit. I can't install itunes 10,5. I have try to remove my old itunes and reinstall but it didn't help. I have install itunes 9.1.1 but the itunes library can't be read because it is on a new itunes. I hope someone can help. I'm lost.

        Deauthorize all of your computers and authorize the computers you use.
        http://support.apple.com/en-us/HT6283
      A new Mac comes with 90 days of free tech support from AppleCare.
      AppleCare: 1-800-275-2273
    Best.

  • Please help!!! Cannot run Windows Update in Win 7 Pro after changing new hard-drive. (X201s)

    Hi everyone,
    I have been using my thinkpad x201s for more than one year by now. And recently I change a new and larger hard drive for my laptop. When I tried the thinkpad rescue and recovery disc on the new hard drive, everything works fine except that I cannot run Windows Updates after the installation was finished.  The recovery DVDs were burned directly from the original image stored in the computer when the first I received my laptop last year.
    Every time when I try to run the Windows Update, it shows the following: "Windows Update cannot currently check for updates, because the service is not running, you may need to restart your computer."
    I restarted my computer later but nothing changed. Can't run Windows Updates and can't even install IE9.
    I then moved back to my old hard drive and everything is normal, no problem with Windows Updates. I also tried to create a back-up image by running win 7 Backups and Restore. Later when I changed back to the new drive and followed the instructions to restore my system from the image I created earlier in a USB drive, it worked except that still the system can't run Windows Updates program.
    I'm now getting very confused and upset, is it something to do with the software copyright? It's been a week now and I tried to Google the similar problem but no solutions work here. All I want to do is moving my current system to the new hard drive so that I can continue to use my laptop but it just failed updating every time.
    Could anyone kindly tell me what to do when changing hard drive in order to avoid the problem I'm dealing with? Sorry I'm not a pro type user and just want my laptop to work appropriately.
    My warranty has already expired so I guess the Lenovo Technical Hotline wouldn't answer my questions anymore. Please help!! Much appreciated.
    Thanks so much in advance!!

    I'm not sure this is the issue, but from your description, it seems as though all you have to do is activate the windows update service. If I were you, I'd search for "Services" in the start menu, open it and look for "Windows Update". Check in its properties that it is set to "Automatic (Delayed)", if it isn't, set it, and start the service, you should then be able to check for updates, be careful though that none of your other programs aren't stopping the service, usually these programs are there to "optimize your performance" or "boost your system",...
    Hope this helps.

  • Please Help.  Cannot Install Itunes 8.0.1..."Ipod Service" Error.

    Can someone please help. I cannot update to Itunes 8.0.1. Ever since I first tried it has given me the "iPod Service" Error. Now it won't let me update my iPhone either. I have tried rebooting my PC and still no luck. Any help would be hugely appreciated.

    Below are the instructions to clean up iTunes installer from the apple website. It worked great for me at first. Now all the songs have ! next to them. Ugh. Any ideas?
    Clean up iTunes installer files on the computer
    You can download the Windows Installer Cleanup Utility from Microsoft, which will clean up any leftover installer files that may be causing issues with your current installation. To do this:
    Click here first, and read the important information about the software.
    Click the "Download the Windows Installer Cleanup Utility package now" link on that page to download a file titled msicuu2.exe.
    Open the msicuu2.exe file and follow the prompts to install it.
    On the Start menu, point to All Programs and then click Windows Install Cleanup; the Windows Installer Clean Up Utility window appears, listing software that is currently installed on your computer.
    Select iTunes from the list and click Remove.
    Click OK in the confirmation dialog that appears.
    Repeat steps 5 and 6 if you have multiple iTunes entries listed.
    Select QuickTime from the list and click Remove.
    Click OK in the confirmation dialog that appears.
    Repeat steps 8 and 9 if you have multiple QuickTime entries listed.
    Click Exit.
    Restart the computer.
    Install the latest version of iTunes from http://www.apple.com/itunes/download.

  • Please help! I have pixilated program windows and functions on my recent installation throughout all programs?

    Just installed my software on a new mac (second installation). The program functions and windows are all pixilated. I can't work with this! It needs to be crisp quality! There was no installation issues! Please help!

    version 10.10.3
    Adobe Creative Suite 6
    Design & Web Premium
    Please please please help me fix this!

  • Please help! (factory installed) SBlaster 64V PCI isn't instal

    I hope someone can help me. I bought my computer in 2000. (Dell) My Audio was already installed.
    I have a SoundBlaster 64V PCI sound card installed. All of a sudden it quit working and now says I
    don't have any Audio Driver installed? Can someone please tell me what happened? If it isn't even
    installed anymore and it was factory installed do I buy another Sound Card and install? Please help!
    Thanks,
    Dana

    i'm sorry i cannot help i am having the same problem for months i have tried all different drivers and still no luck.i am runnung in windows xp. I hope someone has a solution?gina

Maybe you are looking for

  • Mac OSX does not recognise MFP 1213nf

    Reposting here since I have recently upgraded from Mountain Lion to Mavericks. Original post (what I did when this machine was running Mountain Lion) This is probably an obsolete system support problem. This LaserJet Pro M1213nf is an old product fro

  • Driver issue with BB Curve on a XP pro

    I know this has been asked to death but none of the previous solutions seem to work for my client. He got a new BB curve. I install the latest Desktop Manager from BB site, 5.01 xxx and it installs ok but the Desktop manager will not load correctly.

  • Why does Firefox 33 keep crashing at startup?

    As soon as I start Firefox, It immediately crashes. The only way I have found to gain access to it is through starting in safe mode. I have uninstalled and reinstalled Firefox, to no effect. From reading through the error logs, it looks as if there i

  • AWT Popup Menu in Fullscreen Exclusive + JOGL

    Our application runs in Fullscreen Exclusive mode and uses JOGL. We want the user to be able to access right-click Popup menus like in other applications. (Obviously, this isn't a game; but I figured I'd post here because game developers are the only

  • ITunes Match Subscription- what is this?

    Hello, aprarently we have an iTunes Match subscription and need to pay 24.95 Euros soon to renew this. I have no idea what this is for or what it does. If this is to use the iTunes store, then I would be unpleasantly surprised but maybe someone can a