OC4J shuts down servlet in web-app A during deployment of web-app B ?!

Hey all,
We have a web-app A deployed to OAS 10g that contains a servlet with <load-on-startup> set to 2.
This servlet loads fine when the app is deployed.
However, when we deploy web-app B to our server, we notice in the logs that the destroy() method on the above servlet is invoked in web-app A! After web-app B is finished deploying, the init() method on the above servlet in web-app A is fired again.
What's going on?
Thanks.

I have posted this on the JDeveloper forum and been pointed in the direction of this discussion as it seems I am experiencing the same problem.....
I currently have an instance of the OC4J 10.1.2 standalone (current production version) server running, and am deploying 5 servlets to the same server. Once they are all deployed they all run fine without any problems at all.
However, if I need/want to make an update to one of these 5 servlets and then redploy it the server, the server effectively restarts terminating any open sessions that users may have on any of the other four servlets as well (i.e. users are forced to login again to the particular servlet they are using).
Is this a bug in the OC4J 10.1.2 standalone (current production version) server? or have I not set something in the deployment profile for each of these servlets/applications to prevent this from happening?
All advice/suggestions would be gratefully appreciated as soon as possible.
Thanks in advance
David

Similar Messages

  • Embedded OC4J shuts down every time I close a Jasper Viewer window

    I have created a basic application using ADFBC, one component of the application requires reports which have been made using iReport.
    Now the reports are displayed fine via the application, no problems in passing of params and stuff.
    My program returns the control back to the page after displaying the report using a backing bean. The control does come back, but the moment I close the Jasper Viewer window in which the report is displayed, the embedded oc4j shuts itself down...
    I did check my code to see, if I have mistakenly written any code to cause such an action, but there's none.
    If anyone had encountered a similar scenario, do let me know. Also, would I need to search through the Jasper classes themselves to see if such a situation is handled???
    Thanks,
    Regards,
    zoheb..

    Hello,
    I sincerely apologize for the delay in the reply.
    I deployed the application on a standalong Oc4j server and have found that the same problem persists, the standalone oc4j shuts down when the jasper report window is closed, stalling the entire application.
    Are there any changes which are required to be carried out in the Jasper report libraries to stop this flow??
    thanks,
    regards,
    zoheb.

  • OC4J shuts down after I log off from the server !!!?

    Hi,
    I have a startup batch file to start OC4J on my customer server. Usually I connect to their server from my office via terminal server (and VPN) and run this batch file as a job via scheduled jobs in WINDOWS to start OC4J. My problem is that the OC4J shuts down as soon as I log off from their server. But it stays running if I disconnect from their server.
    This problem happing on a new installed server but on the old one I have not this problem. Probably it should be some parameter setting that I missed.
    Would appreciate any help on this.

    java -jar oc4j.jar
    This is the most basic form. But the above must always be part of the command for launching OC4J.Avi, this is so not true.
    One can always starts any standalone java problem by specifying the main class, the class whose main method is the entry point:
      java -classpath somePath theMainClass (since some historic time that we should not care anymore.). So it is perfectly ok to
    start oc4j 9.0.4 by, after changing to the directory where oc4j.jar lives,
      java -cp oc4j.jar com.evermind.server.ApplicationServer or start oc4j 10.1.2 by
      java -cp oc4j.jar com.evermind.server.OC4JServer  or start oc4j 10.1.3 by
      java -classpath oc4j.jar oracle.oc4j.loader.boot.BootStrap Here each oc4j.jar must come from an oc4j installation so that other dependent libraries will be found.
    What is nice about "java -jar oc4j.jar" is that it can be used to start any version of oc4j.jar. One does not have to specific the main class, which might change over time as shown above. That is the reason why it is overwhelmingly widely seen. Avi, I would agree if you just meant to recommend that "java -jar oc4j.jar" be used instead of the above.

  • OC4J Shutting Down while Deploying Web Service using JDevloper

    Hi..
    I am developing Web Service using JDevloper. When ever I am deploying Web Services to OC4J server came with JDevloper bundle it automatically shutting down.
    How to solve this ?
    Regards,
    Ajay Sharama

    Hi..
    This problem is solved now. By mistake when I am installing OC4J externally, I created environment variable "JAVA_HOME". As soon as I deleted this, problem is solved.
    Regards,
    Ajay

  • OC4J Shutting Down

    Our scenario is the below:
    We have a daily back of BI folders and Loading data from ERP to 10g database.
    We logged in with remote desktop user A from ABC system to BI system and We created a batch file to start and stop all the BI the services and scheduled this batch file using windows schedule tasks. These batch files will stop the BI services and after 30 minutes another batch file will load data into the database, after 2 hours start services batch file will start the BI services.
    When we open the BI Dashboards in the morning, all the dashboards and reports are working fine. But when I login to BI system, OC4J windows is not visible and dashboards are not coming and when we check the logs, LOGs says OC4J is running.
    Please suggest us the solution.
    Regards,
    Kumar

    When we open the BI Dashboards in the morning, all the dashboards and reports are working fine. But when I login to BI system, OC4J windows is not visible and dashboards are not coming and when we check the logs, LOGs says OC4J is running.If your system is running on OC4J then you cannot access OBI if OC4J is down.
    It can happen that OC4J is running as a service on your server.So check your services.
    You said dashboards are not coming up.Are yoyu getting any error?If yes please post them here.
    Thanks
    Sandeep

  • What is the best way to shut down an iMac that has frozen during a data transfer? The disk I was writing to will not eject. Stopping "copy items to" doesn't work either_ it is frozen as well. Is there a way to force eject the disk so I can shut down?

    Some more information on the above: OS: 7.2
    1. None of the shutdown commands would work so I held the power button down and received a prompt that asked if I wished to force eject the drive, I selected
    the force eject and then shut down.
    2. Just recently I installed an eSATA _ Thunderbolt_ port multiplier compliant PCIe card (Seritek Q6G) into a thunderbolt external chassis (OWC Helios) (seritek Q6G).
    This freeze data transfer also happened when I connected a Firmtek 5PM external tower to the iMac via thunderbolt cable.
    The driver for the seritek Q6G was installed in the iMac previous to connection of any of the devices.
    Both external towers mount ok on the iMac but have frozen during data transfer.
    The initial freeze was with the Firmtek 5PM which is (JBOD)_ I thought that might have had something to do with the freeze_ it being JBOD_ so next I tried the Mercury Elite AL Pro Q2- which is formated in RAID 5. But then froze too.
    Anybody have any experience with this?
    Maybe I need another driver?
    Or maybe some update to my OS?
    Any suggestions welcomed.
    Thank you

    Hello BDAqua, thanx for the suggestions. Before I saw this reply I tried to first quit the finder and then to relaunch the Finder but that resulted was a blank gray screen.
    In the end I ended up having to power down the iMac.
    Fortunately the RAID array that was "active" seems to be fine and also has a firewire 800 connection so I can use it_ just not with thunderbolt until this issue is solved.
    I'm going to check in the Applications>Utilities>system log to see if any clues are evident_ thank you for the suggestion.
    PS: Nothing of note was obvious as a root cause in the Activity Monitor though.
    hmmm....I was told that the Helios and seritek card were compatable and that the Helios didn't require any drivers..it will be a drag if there isn't an easy fix for this since this new PCIe card from seritek is the first to offer port multiplier compatibility for eSATA to thunderbolt...since they are both new I'm hoping that an OS upgrade will be the fix (presently7.2)...we shall see.

  • Purchased apps deleted during sync; restoring from app store doesn't work

    Hi. New iPad, syncing with OS10.5, iTunes 10.1.2
    Purchased some apps (NYTimes, Pages, Sketchbook Pro) on iPad during trip. Came home and sync'ed. Apps deleted (along with data?), although free apps still present. Re-purchasing from iTunes allows me to pay full price. Account activity shows the apps were purchased. Download queue is clear. I'm logged in to my only Apple account.
    I haven't yet tried to restore the iPad from iTunes, as I'm afraid of losing data.
    I lost some paintings I did and a eulogy for my step mom. Any help restoring this stuff would be greatly appreciated.

    Hi,
    From the iTunes menu bar click iTunes / Preferences then select the Advanced tab. Click: *Reset Warnings* and *Reset cache*, click OK.
    purchasing from iTunes allows me to pay full price.
    Follow the instructions at this link for Redownloading purchased apps
    Instructions here for backing up your iPad using iTunes.
    http://support.apple.com/kb/ht1414
    Help here for backing up your app purchases to an external source.
    http://support.apple.com/kb/HT4482
    Any apps you have installed on the iPad, whether paid of free, are listed on the left side of your iTunes window under Library / Apps.
    Carolyn

  • Sneak Preview-sdm failed during deployment on web AS

    Hi All,
    I have downloaded Sneak Preview SP14 and installed in JAVA+Oracle Central mode. I can deploy .par files via portal.At this point, the server and SDM are running without any problem. But when I tried to deploy my first xapps, the SDM turned to be yellow and of course I failed.
    Has anyone met this issue before? Any hint or suggesstion will be very useful.
    Appreciate you all.

    Hello,
    I really wonder how you can install any of our previews on Oracle, as we do not provide such a version.
    Of course with a lot of work it would be possible to do so and if you copied the tables to a oracle system it might start. Unfortunately there is more then this. If you want to run with oracle, I recommend to buy a full version and order the oracle package.
    Regards,
    Benny

  • OC4J frequently shuts down

    Hi All,
    We are on OBIEE 10.1.3.4.1 When ever a user executes a answer's with data more than 500K rows and IE freezes and after a while the OC4J shuts down. It needs a restart of OC4J and sometimes restart of BI services.
    Can anyone please let me know if there is a workaround to resolve this issue.
    Thanks,
    Vijay

    No browser is going to be happy retrieving 500k rows of data. IE will be the least of them specially IE 6. FireFox will survive if you PC has enough memory. As Alastair said you shouldn't let users retrieve 500k rows, you should set row limits in the RPD so that only reasonable amounts of data are allowed. OBIEE is not a data extraction tool so you shouldn't let your users use it like that. OC4J is not production grade either, you should use an enterprise grade J2EE App Server. There are many options some of them free to use like Tomcat or JBOSS.

  • Why do the app tabs disappear every time you shut down the browser?

    If the browser is shut down I have to start all over again with the app tabs.
    I miss the facebook and other add-ons for instant access to the sites I use all the time. I am thinking about going backwards with Firefox.

    try this:
    go to '''TOOLS''' then '''OPTIONS''' then '''GENERAL''' then in session '''When firefox starts''' put '''SHOW MY HOME PAGE''', click '''OK''' to save changes, then exit firefox and re-start it.
    If you have 1 home page then firefox when it starts this page it will open only, if you have 2, this 2 etc.
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • TS1702 Planet rock app shuts down after 20seconds, this worked perfectly with IOS5

    Hello, got this ipad3 for my 60th birthday, so not too good with it, I downloaded the Planet Rock app, and it seemed to work fine with IOS5, now with the updated IOS6 it shuts down after 20 seconds or so, also lost the YouTube app, I'm getting disheartened by this overly expensive gadget please help if you can,  many thanks.

    Hello, got this ipad3 for my 60th birthday, so not too good with it, I downloaded the Planet Rock app, and it seemed to work fine with IOS5, now with the updated IOS6 it shuts down after 20 seconds or so, also lost the YouTube app, I'm getting disheartened by this overly expensive gadget please help if you can,  many thanks.

  • All my iPhone apps shut down unexpectedly

    All my iPhone apps shuts down after a random number of seconds.
    Below are what I did a few days ago and might had led to the problem:
    I transferred my purchases to iTunes and synced them --> no problem
    I updated my iPhone 4S to iOS 6 --> no problem
    I installed "the little crane that could" version 4.4 --> starts but hangs
    Updated "the little crane that could" to version 4.4.1 --> crashes and shuts down
    Removed the app to reinstall again --> not on App Store (knew later that Apple removed it for this bug)
    Installed again from my synced apps on my computer --> starts but shuts down unexpectedly
    Up until the last step, all my other apps were fine, but I think after I did that all my apps are shutting down unexpectedly including App Store, Contacts, and even during phone calls voice is muted for a second and I get back to home screen. I thought that this usually happens when I am connected to either WiFi or cellular data because I feel this happens when my iPhone is trying to load, sync, or connect but I found it happens even in Airplane mode.
    I tried all the options I found on the Internet like:
    Restarting iPhone
    Rebooting iPhone
    Removing and Reinstalling the App (now it is back to App Store after fixing the bug)
    Closing all open apps by double clicking the home button
    Deauthorizing, then Authorizing my PC and syncing
    Downloading a free app
    I did not try to restore my iPhone because I do not want to lose my data and because some people said it did not help.
    Do you have other solutions than the above?

    I tried the last solution and restored my iPhone, deleting all apps, and all apps data.
    Luckily I had most of them synced with iCloud so I did not lose much, but I had to reinstall, organize, and configure every and each app again.

  • How to properly shut down your Macbook?

    Hello, I have been using a Macbook Pro for nearly a year now. I would like to know what is the proper way to shut down your macbook?
    I went to iStudy for some app instalment and the sales asisstant gave me a piece of (advice?) that whenever I want to shut down my macbook, i should just snap it close after I have quit all the running applications. I don't have to press the shut down button on the keyboard or choose shut down at the apple upper menu bar cause it may damage my RAM.
    Yet, I knew this girl who just paid 2K just to fix her motherboard due to improper way of shutting down her Mac.
    So, my problem is do you have to shut your Mac down JUST by snapping it close (and of course, quit all the running applications)? Or you shut your Mac down by simply go to the Apple in the upper menu bar and choose shut down?

    Hi alswaki,
    When you close all apps and then physically close it, you are putting the Mac into Sleep mode, not shutting it down. So, it depends on what you actually want to do. When you go to the Apple menu and select Shut Down, it literally shuts off the Mac, and you have to push the on/off button to start it back up. By closing the lid, you are putting it into Sleep mode so when you open the lid again, the Mac doesn't have to be powered back on to start up again.
    Both are correct things to do. I pretty much don't shut down my Mac at all. I close my apps, and close the lid, then plug it in to recharge. When I want to use it, I open it and it "wakes up". I only restart it when I need to for an update, I pretty much never shut it down.
    But again, either way is fine to do. If you want to completely power down your Mac when you finish using it for the day, then you would select the Shut Down option. Otherwise, just close it to put it into Sleep mode when not in use.
    Cheers,
    GB

  • Why does Macbook Pro have gray "curtain"and msg to shut down when playing video online?

    Hi,
    I have a MacBook Pro running Snow Leopard v 10.6.8 and have put on all the security updates.
    I bought this machine just days after the newest MBP's were released with Lion because I wanted to stay with Snow Leopard
    From the very beginning I would have occasional "gray screens" with a message that I'd encounterd a problem and needed to shut down.  It always occured while I was watching a streaming video online (Flash?) but it didn't always happen.  I updated my Flash plugin and that seemed to help.  I use both Safari and FireFox and both are now updated to the latest versions.
    I had also noticed via iCleanMemory that my memory availability was very low .....I always have many tabs open in my browsers and have backup software that backs up to online storage running and when I watched a video, it dropped to almost 0 and everything ran slow.  I had 4 GB Ram.
    So, I ordered new ram and put that in and now have 8 GB.  Machine runs fast. Love it....except it keeps giving me that veil of gray and the message to shut down.  It happens several times a day now and while usually in conjunction with watching a video clip, it's not always the case.  But I have lots of available memory.  That wasn't the issue.
    I found an Apple Support paper relative to needing a video update on some mid 2010 MBP's and downloaded it.  It won't install and says it won't run on my system so that didn't help.
    I'm at my wits' end trying to keep this thing running.  Everytime I have to shut it down it means a minimum of 8 min...sometimes more.....before it will restart.  If I try to restart sooner than that, it begins to boot and then just has lines and lines of numbers and code running across it....and often continuous beeping sounds and I have to hold the button down to shut it off again.  If I wait long enough, it does boot back up and sometimes runs fine as long as I'm not watching video clips, a streaming tv show or clicking on a lot of links in web pages.
    I don't believe it has shut down when I was doing anything that wasn't web related....i.e. on a browser. And, when I was running with only 4 gb ram, it rarely shut down, just ran very, very slowly.  Now with 8 gb ram it is speedy but doesn't seem to want to keep working!
    Anyone have any ideas what I should try next?
    Thanks
    Paula

    Hi Allan,
    Thanks for your reply.
    I have been closing iCleanMemory but the shut down (kernel panic) was still happening.  Not sure how to go about uninstalling it as it's one that runs at start-up and dragging it to the trash might not get rid of it completely.  I"ll find it's web site and see if they have any info.
    Haven't checked your web link yet (it's late and gotta get to bed) but will do so tomorrow.
    I also run Backblaze and DropBox that begin at startup and are constantly updating in the background, iStatMenus and Sharpshooter. 
    The kernel panics were happening....tho much less frequently.....before i put iClean Memory on.  If I remember right, I installed it just because I had those periodic shut downs and wondered if it was a lack of memory.  Because I then saw that memory was very low all the time, I decided I must need to put more memory in.  And that seems to have made the issue worse while also making the machine work faster for the time it is running.
    Now, I've been working on here for a couple of hours and had no problem at all......but I haven't asked it to play any kind of video.  Before I quit for the night, I'll try to watch the last one I tried that caused it to shut down and see if it does it again.
    I do appreciate your help as I have just enough knowledge about these things to be dangerous.
    Paula

  • Having issues with AA8 with freezing and shutting down.

    After a successful install, this app freezes upon starting at the splash screen "Getting Started with Adobe Acrobat...". After about 3 minutes it will unfreeze for about 3 secs. at which point it will shut down without an error message. During the time that it is frozen, the hard drive is pinging intermittently so I assume it is trying to do something although I'm not sure what.
    I am running it on an laptop running Windows XP with plenty of ram and HD space. Also am running without any of the startup programs loading which I believe is call the minimal configuration.
    Any ideas as to why I'm having these issues? TIA

    Actually, you should hold the C key to start up from a Mac OS X install disk. Holding the D key boots into Apple Hardware Test (assuming you've got the right disc in). If both of those things fail, resulting in identical behavior, then it's likely to be a hardware issue.

Maybe you are looking for

  • Class vector can't be resolved

    hi , plz i got the following error while running a J2ME program cannot resolve symbol symbol : method add (java.lang.String) location: class java.util.Vector any ideas????

  • What G/L Accounts are Updated Accordingly when the Posting Date is Changed?

    We are on SAP 2007 PL15, and our new fiscal year started 1 July 2008. Beginning on 1 July, whenever we change the posting date on a marketing document to a date in June, the following message appears: Newly Entered Posting Date Relates to Another Pos

  • Skype Translator For Skype

     I can not access Skype account on your desktop through outlook Account  

  • All I need is a mailing address

    I've paid to have the buttons on my nano fixed but they did not send me the mailing address.  They want me to go to a UPS store and there is not one near by.  I tried to contact customer support to get the mailing address but they want $19 for me to

  • Assign defaulit values while using PNP

    Hi Everybody, I am using Logical Database PNP for the one of my implementation. i have to develop a new report using PNP logical database. Now I have to assign default values for Employee status and Employee Group. while executing the report, in the