Oc4j restart problem.

Hi ,
By using controller i am running my script ,the script is taking to OHS and OHS is routing the request to OC4J .It was working fine for the first time .i need to stop the oc4j and again bring back the oc4j server,this time OHS is routing the request to OC4J but the OC4J is not able to handle the user requests. We found the below error repeatedly in the application log file.
" Caused by: java.lang.ClassCastException: narrow () failed for class:com.siebel.nexus.repository.runtime.helper.RepositoryServiceRemoteHome
Check classpath to _iiopClient.jar containing stub classes "
Thanks
Ramesh

To restart Oc4J it has be be up and running.
1) So please start the Oc4J server as follows in one window:
java -jar orion.jar --> starts
2) Go to another command window:
Now try to restart Oc4j as follows:
java -jar admin.jar ormi://localhost admin password -restart
Hope this helps !!
regards
Debu panda
Oracle
I have problem to restart my oc4j in following format:
<<<<<<<<<
C:\oracle\iASHome817\j2ee\home>java -jar admin.jar
ormi://sf003dell admin quentinhu -restart
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
>sf003dell is Oracle 8.16 server, I also tried to point to my 9iDB got the same message. Before each trial, I did modification on datasource.xml file under my j2ee container.I can start OC4J in a basic format "java -jar orion.jar" without error displayed.
I can also setup connention to both DBs from jDev5.0 very easily. Anyone in this forum can give me a clue what is going wrong?
Thanks a lot,

Similar Messages

  • Oracle Application Server 10.1.3.3.0 OC4J Restarting

    Oracle ADF application is deployed to the AS from JDeveolper 10.1.3.3.0 and runs fine initially but after continual use the OC4J returns a runtime exception and restarts.
    1. This instance is not associated with an infrastructure but it is on a server with 10.1.2.2.0 Infra and middle tier instances.
    2.The error occurs while using a web app. It all works fine at first, can nav pages, view records from the db just fine. Then after say 15mins the page returns Internal Server Error message at which time I check the Oracle app server ctrl to find the error below. That error is displayed in the actual app server ctrl page.
    After a few minutes I can refresh the web app page and it returns to the home page working fine again until the next exception and restart. Sometimes as a result of this issue the server will not OC4J will not restart and the page will stop working altogether. At this point I cannot ever restart the OC4J. I have to Restart the entire server machine.
    An error has occurred.
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    Exception thrown in RequiredModelMBean while trying to invoke operation invoke
    Object reference no longer valid (disconnected)
    Object reference no longer valid (disconnected)
    Hide Additional Trace Information
    oracle.j2ee.admin.jmx.exception.config.ConfigMBeanException:
    Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:204)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:129)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invokeSingle(OpmnProxyUtil.java:99)
    at oracle.oc4j.admin.management.farm.mbeans.OpmnConfigAgr.getNotificationServerAttrs(OpmnConfigAgr.java:200)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.management.farm.util.OpmnProxyUtil.invoke(OpmnProxyUtil.java:202) ... 50 more
    Caused by: java.io.IOException: Object reference no longer valid (disconnected)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:820)
    at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.invoke(JVMAgr.java:1481)
    at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071) ... 58
    more Caused by: com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (disconnected)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:60)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:38)
    at __Proxy8.invoke(Unknown Source) at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:144)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.invoke(RemoteMBeanServer.java:816) ... 68 more

    Greetings,
    First I would recommend turning up your logging level to FINEST to glean more informatin regarding the error that is occurring. Please post these data along with any related Messaging service configuration information. It is possible that two services are attempting to make the same connection and it is causing one or the other to fail. You might also review the information in your opmn config file. Does the 10.1.2.2 instance remain running during the OC4j restart?
    OPMN Configuration:
    10.1.20 How to Specify Ports for State Replication in OPMN
    When you deploy an application utilizing state replication in a managed Oracle Application Server, OPMN dynamically allocates the ports that are used to propagate state across the cluster. You can restrict this allocation to a range of ports for an application that has peer-to-peer replication enabled. Specifying ports for state replication might be necessary in an installation with a firewall or network that uses a well-defined port range.
    To specify a range of ports for peer-to-peer state replication
    Add a <port> element to an OC4J instance configuration in the opmn.xml file.
    Specify the name of an application that has peer-to-peer replication enabled as the value of the id attribute of the <port> element.
    Specify a range of ports in the range attribute of the <port> element.
    For example, for deployment of an application named rac-web that is set up for peer-to-peer replication, the line labeled <port id=rac-web .../> in the following OC4J instance configuration tells OPMN to use ports 15213 to 15214 for state replication:
    <port id="default-web-site" range="80-100" protocol="http"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <port id="rac-web" range="15213-15214"/>
    For more information about state replication, see Chapter 9, "Application Clustering in OC4J," in the Oracle Containers for J2EE Configuration and Administration Guide.Quoted from:
    http://download.oracle.com/docs/cd/B32110_01/relnotes.1013/b32199/oc4j.htm#CEGICDEF-Michael

  • K7N2G-L restart problem

    Hi
    If I do a cold start my system will boot up ok,but if I have to do a "restart" after installing something it boots up and the gets to the part where it says "Searching for IDE devices" and it will hang.If I power off and then on again it will boot up normaly.Apart from that it runs well...any ideas  ?(
    Athlon xp 1800+

    Running The K7N2G-ILSR  
    Antec Case, with 360 Watt power Supply.
    Dual SATA Raptor 37.5 Gig WD Drives Raided
    Dual WD 80 Gig 7200 RPM Drives
    Single Maxtor 120 Gig 7200 RPM Drive
    52x24x52x CDRW
    16X DVD Rom Drive
    Athlon XP2500+ Barton Core CPU w/Full Copper Heat Sink
    dual 512meg DDR 333 in slots 1 and 3
    Radeon 9700 Pro 8x AGO 128 Meg Video Card
    4 80mm Cooling Fans Throughout the case.
    CPU Temp runs on average between 50c - 60c
    Case Temp runs on average about 89f - 100f
    When I set this thing up I had a 300 Watt supply and it did not fully run things and did have some problems with the HD lights staying on, my guess was due to not enough power. So beefing it up to 360 Watts fixed that.
    Also had restart problems quite often, at least 3 or 4 times a day it would just reboot on its own, I run and operate a computer store , so I had the ability to try different things to fix this. Turns out the memory on the nForce chipset boards is VERY important. Brand new sticks from a variety of sources had different affects, including not counting all the memory properly, restarting randomly and not booting at all. Believe it or not, one of the cheapest memory makers on the market seems to have been the best for use in the machine and that would be the Kingston Value Ram. So, if at all possible try getting some of them and see what happens. The worst??? All Components Memory.
    You guys should also look at the 4 lights that are or should be in the back of your machine provided by MSI for your troubleshooting aids.. They do work and are quite helpful.
    Sorry for the lengthy message post, but thought maybe I could be of some help to somebody.

  • 10.4.11 update - restart problem

    Hi everyone,
    Sorry if someone else has posted this, but I couldn't find a similar problem on the forum.
    Since updating a few days ago, my mac no longer stays permanently shutdown, but restarts itself around 30min after shutdown.
    I have run the combo update, verified disk (no problems), verified and repaired permissions, checked all the energy saver preferences were correct etc., but the problem is still occurring.
    Can anyone advise what might be done to remedy this?
    Thanks very much.
    Mike

    i just installed the update 10.4.11. i don't have a restart problem but now these applications wont start:
    mail
    itunes
    ichat
    safari
    apple/software update
    i try from the dock, from the apps folder, nothing. they bounce once and thats it.
    please help!
    just found this is the crash report log:
    Command: Mail
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Parent: WindowServer [65]
    Version: 2.1.1 (752.3)
    PID: 399
    Thread: Unknown
    Link (dyld) error:
    Library not loaded: /usr/lib/libgcc_s.1*dylib
    Referenced from: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Reason: image not found
    and:
    Command: Safari
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Parent: WindowServer [65]
    Version: 3.0.4 (523.12)
    PID: 388
    Thread: Unknown
    Link (dyld) error:
    Library not loaded: /usr/lib/libgcc_s.1*dylib
    Referenced from: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Reason: image not found
    Message was edited by: skrauntor

  • Bold 9930 restarting problem

    hi,
    Inspite of updating the device software several times the restarting problem still prevails.
    Kindly advise,
    Regards
    Sunny

    Hi sunny3788
    If even after updating your device software your device is still having the same problem then can you confirm a few things like how many third party application you are having on your device, or are you still having any of those third party application that you are having before this update? If it is then I prefer Uninstall all those applications to see it reboot stops.
    If problem disappear then install one application at a time to see which application is responsible .Also as you mentioned on your previous thread that you brought your device recently so I think your device is still under warranty and you can approach your carrier because it might be an hardware issue.And in that situation you can ask for a replacement.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • My Iphone Has a Restart Problem Again and Again wot To do?

    MY Iphone Has a restart problem again and again wot to do please tell me

    Basics from the user guide are restart, reset, restore from backup, restore as new.  If you go through ALL of those steps and you still have issues, you need to get your phone checked out by Apple.

  • HT1222 Will this update hjelp the periodic restart problem on iPhone 4S

    Will IOS6.1 update improve the restart problem that occurs with iPhone 4s?

    I tried all of the suggested solutions mentioned in this thread, and finally did a full reset according to Apple's instructions, step by step (as an engineer and 40 year computer user I am good at that stuff).
    Sorry to say after the several hour process, not one of the problems I have experienced have been solved. 
    IPad 2 is still running slow and choppy.
    Some Apps do not even load.
    Website pages will not load and result in error messages. One particularly annoying Safari error on loading a new web page is:  "a problem occurred with this webpage so it was reloaded".
    MY iPad  2 worked perfectly for the last couple of years through several updates that performed seamlessly, but this one and the two most recent corrected updates have rendered my iPad so degraded that I don't think I will be using it much anymore. I originally bought the tablet because of it's smooth GUI and fast performance, the reliability and error free environment, and Apple's proven record for effective updates. That's all gone now.

  • Delta Platinium restarting problem

    Hi, first time posting a problem here (why.....)
    my board: K7n2 Delta Platinium (bought a month ago)
    All worked fine untill...Yesterday i installed heatsinks to the mofsets, run super PI and Prime with 1.425 of voltage, all good, then turn off the computer. An hour after, i turn on the pc again, pressed the Del key quickly and the pc didnt want to start, cut off the power and turned it on again, seemed ok and i thought all because of the DEL key, after entering windows i decided to make sure of things: restar, then the same problem, the pc hang on at the initial stage. I tried serverl times and got the same problem again, need to cut off the power to star the pc, a notable thing: no memory checking at the start, sometimes does but so random...the Dbracket: all red except the top left (1).
    For people that dont want to read above:
    I am having restarting problem, hang on at the early initialization.

    Quote from: [T-A]_Super_10 on 19-March-05, 01:17:11
    What CPU?
    At first glance it looks as your underclocking your CPU in voltage. Put your Vcore back on auto.
    CPU: Sempron 2400+ oc 2800+
    Thanks I´ve solved the problem...

  • WINXP RESTART PROBLEM(ADVANCED USERS)

    DOES ANYBODY KNOW HOW TO DISABLE AUTOMATIC RESTART IN ERRORS  IN WINXP WITHOUT ENTERING WINXP? FROM DOS?

    You have to be more specific if u want better replies..
    It might be a cooling problem.. Wheck wether the CPU cooler is installed properly.. Defective memory might also cause problems..
    If u mean restarting problems then try this link out (by Assaf)
    It would also be a good idea to post your compleate specs
    Regards
    Rasika

  • Restart Problem Fix for Mega 865

    Just letting people know how I fixed my Mega 865 restart problems
    my quick story
    I built my 865 with 512RAM and installed XP MCE2005. The next day I installed a 1 GIG RAM chip and the system would not boot into XP. It would get to the windows boot screen and crash when loading the hard drive drivers.... or somewhere around there. couldnt even get into safe mode. I removed the Radeon 9800 and it booted. oh no could it be the AGP Card?
    well I put it back in and tried every thing,
    removed the new 1 GIG RAM, same problem
    reset BIOS
    reset to Safe Settings BIOS
    reset to Optimal BIOS
    repair XP recovery console, fix MBR ...etc
    then I the BIOS I tried dropping the AGP Aperature size from 64MB down to 8MB. It fixed the problem.
    I'm guessing the issue is really one of power. the PSU is only 230w and with the extra ram stick, it had problems putting out enough power.
    so I dropped the agp aperature down to 8MB (shouldnt matter as the card has 128MB and hopefully shouldnt need system RAM)
    I also turned off the serial port (set it to disabled - who uses the serial port anyway)
    and disabled the modem and network card (dont need the modem and I'm using the wireless card instead of the ethernet one)
    hopefully turn these things off will prevent furthur power issues when running games and stuff.

    the prescott core P4s are hot enough as it is, without squeezing a 3.2ghz in there, along with a hot GPU
    i would recommend the northwood core P4, as they run cooler and are just as good as prescott P4s as tests have shown
    and i would also advise you to search through this forum for topics about mega 180 heat issues; the issues will apply to all mega series, just seems to cause more of a problem with the 180, but most ideas will apply to 865
    first thing to check is airflow, make sure that there are no cable looms in front of heatsink, obstructing airflow to the fan. bear in mind too that by default, the fan is already blowing hot air off the AGP card onto the heatsink (yes, poor design by MSI but it can be resolved apparently by "reversing" fan airflow).

  • Ipod restarting problem

    Hi guy, I'm new to ipod and this 20GB 3G something ipod is unused given by a friend. I've only put in 5 tracks to try.
    I having this restarting problem(apple thing appearing) every time when I start to play a track. This happen only when playing w/o ac adaptor.
    Tried restoring and resetting but still the same. Battery is fully charged.
    Please kindly help. Thanks in advance

    I am having this same issue. I have the 80gb ipod with video. I also own an ipod nano that I gave to my wife when I bought the bigger ipod, and that one never gave me any trouble at all.
    thanks.
    edit: After reading you might want to check out this post ->>http://discussions.apple.com/thread.jspa?threadID=751045&tstart=0
    also read this help article
    http://docs.info.apple.com/article.html?artnum=304490
    I realize yours is not a 5th generation, but it might be the problem.
    chikinz.

  • N73 restart problem

    hi!!!guys
    i've bought n73 & having restart problem...it restarts 2 to 3 times a day even if tis power saver mode...i've tried using the cell without memory card but still the problem is there...i've given the phone to "nokia care" thrice, but still they r not able to sort it out....plz help me to solve the problem.

    04-Jan-2008 03:51 PM
    hborda wrote:
    i m using 4.0736.3.2.1 FW
    this was supposed to have sorted out the re-start problem, have you tried taking it back to where you bought it. It is still in it's waranty so i would get them to sort out, if not demand a new phone.
    your running the latest F/W

  • Strange Restart Problem

    For several years, I've been using AW 6.0.4 (running under Classic) and 6.2.9 on my 1GZ Power PC G4, OS 10.4.0. (Yes, I know 6.0.4 is supposed to be "unstable" but it works fine for me; let's not pursue that.) I recall that at first I had a problem opening 6.0.4; when I clicked on either icon, I got AW 6.2.9. Somewhere along the way, the problem disappeared (who knows why?) and everything has been working fine for a long time. Then, one day last week I was having a problem with a graphics program (unrelated), and decided to restart my computer to see if that would solve the problem. Alas, when the 'puter came back to life, everything was screwed up -- dock repositioned, desktop icons scrambled, preferences back to default. Worse yet, two apps that I bought years ago now said I was on trial and would have to pay to keep using them. I've taken up the restart problem with my mac.group; still awaiting an answer.
    For this forum, my problem is that I'm again having a problem opening AW 6.0.4; all I get is AW 6.2.9. Does this perhaps have something to do with where the folders are stored? Anything else I might try? I'm most grateful for any suggestions.
    One further question: I seem to recall that when responses to my questions are posted, I will be notified by e-mail. Now I don't find that option.
    Nolan

    "For this forum, my problem is that I'm again having a problem opening AW 6.0.4; all I get is AW 6.2.9. Does this perhaps have something to do with where the folders are stored? Anything else I might try? I'm most grateful for any suggestions."
    The most likely cause of this is that the icon for 6.0.4 on your Dock has become disconnected from 6.0.4 and now points to 6.2.9. No idea how that happened, but the cure should be easy.
    Drag the icon off the Dock and drop it on the Desktop. It should disappear in a puff of virtual smoke.
    Open the folder containing AW 6.0.4.
    Control-Click on the AppleWorks 6 icon in that folder.
    • If the pop up menu shows "Show package contents":
                  - choose that, Open the Contents folder, then the Mac OS (Classic) folder.
                  - Drag the AppleWorks 6 icon to the Dock.
    • If the menu does not show "Show package contents":
                  - Release the mouse button to close the menu
                  - Drag the AppleWorks 6 icon to the Dock.
    The new icon should launch AW 6.0.4.
    Regards,
    Barry
    PS: The AppleWorks 6.2.9 application IS a package, which contains both AW 6.2.9 (for OS X) and AW 6.2.8 (for Mac OS 9.x). You may want to put 6.2.8 on the Dock rather than 6.0.4.
    B

  • Hot Deploy of Toplink requires OC4J restart

    Hi
    I have encountered the issue where redeploying an EAR containing Toplink references requires a restart of the OC4J instance.
    I understand that the Toplink session manager is not re-initialized within this deployment, and therefore an execption is thrown - "missing descriptor".
    Is there any way round this; i.e. having to execute an oc4j restart following each EAR file deployment?
    Thanks
    Marc

    Marc,
    Here is a sample method I use that leverages the new API.
         * Helper method to lookup the singleton server session using the sessions
         * configuration location and session name. It ensure that the session is
         * logged in but will not refresh it if it already exist. It also checks to
         * ensure that the class-loader has not changed. If it has the SessionManager
         * will force the session to be refreshed.
         * @param sessionsXML Resource name for the sessions.xml configuration file.
         *                    Typically this is 'META-INF/sessions.xml'
         * @param sessionName Name of the session. This method assumes it is a server
         *                    session
         * @return The server session already logged in
        private Server lookupSession(String sessionsXML, String sessionName) {
            XMLSessionConfigLoader loader =
                new XMLSessionConfigLoader(sessionsXML);
            ClassLoader cl = Thread.currentThread().getContextClassLoader();
            return
                (Server) SessionManager.getManager().getSession(loader,
                                                                sessionName,
                                                                cl,
                                                                true, // login
                                                                false, // refresh
                                                                true); // check loader
        }Doug

  • K7N2G-ILSR MS-6570 Restart Problems!

    K7N2G-ILSR MS-6570 Restart Problems!
    Has anybody else had a problem like this . . .
    Ive got this problem with two machines now!!!!
    Say for example you boot your machine and go into the bios to change whatever. Then save and exit. It should reboot and carry on to go into windows (or whatever). BUT . . . both of my machines restart and then just sit there and give a long beep which then repeats.
    If I turn the machine off completely then back on it starts up ok with any changes to the bios kept from last time.
    Can anybody help?!?!??!  ;(
    I have updated to the latest bios (which is 7.2)

    I now have the MSI K7N2 Delta-ILSR (601-6570-030).;
    On the box:- NVIDIA nForce 2 Ultra 400 Chipset Based.
    K7,nFORCE2 Ultra400/SPP,MCP2-T,FSB400,D-Bracket2,Round cable,2*SATA&power cables,1394 cable,S-Bracket,WinDVD4.
    I have 2x256 PC3200 Corsair DDR and a XP2800 Barton, tried and tested at 240fsb(237fsb Totally stable), And I get the same thing happening to me..Also this board and the last one will NOT do the claimed 400fsb..
    And dont say it's the ram because it's not, the ram and CPU are fine.... It's the Motherboard that is incompatable with the Ram & CPU
    why because my Ram is Corsair(the name speaks for itself) and works in every system to date!.. The CPU is AMD also works in every system to date!
    Soon as i get around 193+(fsb) it starts to do the same thing wont reboot, and does the beep thing! at 200x7 200x7.5 200x8 200x8.5 200x9 200x9.5 200x10 200x10.5 200x11 200x11.5= NOTHING NOTHING NOTHING NOTHING NOTHING NOTHING NOTHING NOTHING but BEEP ......BEEP.......BEEP.
    I also bought a brand new Antec TRUEPower550Watt with front voltage control (£100+) and that still does,nt do it
    this is my second board, and im totaly fed up with there crap board. I spent good money for this TOP Class Ram and dont expect to be told the Rams wrong when it works in every other system i have had my hands on!!!!!!!
    MY advice is send it back and get an other and if thats no use send it back again and get a refund and buy an ABIT NF7-S.. with exactly the same components i get a fsb of anything(100) upto 240fsb abit..
    SIG is old board

Maybe you are looking for