WLS7 Deploy on startup works, redeploy gets ClassNotFoundExceptions

Hello
We are using WLS7 SP2 on our local pcs. We package our app as an EAR that contains
several libraries, a war, and several EJB jars. When we put it in the applications
folder and start the server, it deploys fine, works fine. In WLS6.1SP3, when
we used hot deploy to redeploy the app, it would load (although we saw the memory
leak happen). But now in WLS7, we frequently (but not consistently) get error
messages that there are classes that cannot be found.
I have tried fiddling with the deployment order in application.xml, and that didn't
seem to help consistently. I also modified the ant script to call weblogic.Deployer
to -remove the application prior to copying the ear to the applications directory,
and still no real difference.
The thing that's frustrating is that it deploys at startup with no trouble at
all. Is it possible that on redeply there's some lingering references to the
old ear that don't get cleared when it's undeployed? Is the server maybe caching
something?
Has anyone else out there experienced the same problem with hot-deploy in WL7SP2?
Did you resolve the problem? If so, how? Arrrrgghh!!!!!!!

Matt:
Sorry for your frustrations! This is (and I know you don't want to hear
this probably) something that we worked very hard on for the 8.1 release,
ironed out all the bugs in hot deploy. Cleaned up memory leaks and made it
so you don't have to restart the server. We found additionally that the
applications directory is a bit of a hack useful for toy demo's but not real
development. (i.e. you are constantly either archiving and copying or copy
files from your pcs to the directory). So we introduced an approach that
allows you to check your application's src files (jsp, descriptors, .java
files, thirdparty libs) into pcs in exploded ear format and then introduced
a set of ant tasks to help you build and deploy.
So if you can upgrade...... check out:
http://google.bea.com/search?q=split+directory&ie=&site=bea&output=xml_no_dtd&client=bea&lr=&proxystylesheet=http%3A%2F%2Fdev2dev.bea.com%2Fimages%2Fdev2dev.xsl&oe=
Otherwise we go down the road of having a reproducible test case and
oppening a ticket with support.
Cheers
mbg
"Matt Harrah" <[email protected]> wrote in message
news:[email protected]...
>
Hello
We are using WLS7 SP2 on our local pcs. We package our app as an EAR thatcontains
several libraries, a war, and several EJB jars. When we put it in theapplications
folder and start the server, it deploys fine, works fine. In WLS6.1SP3,when
we used hot deploy to redeploy the app, it would load (although we saw thememory
leak happen). But now in WLS7, we frequently (but not consistently) geterror
messages that there are classes that cannot be found.
I have tried fiddling with the deployment order in application.xml, andthat didn't
seem to help consistently. I also modified the ant script to callweblogic.Deployer
to -remove the application prior to copying the ear to the applicationsdirectory,
and still no real difference.
The thing that's frustrating is that it deploys at startup with no troubleat
all. Is it possible that on redeply there's some lingering references tothe
old ear that don't get cleared when it's undeployed? Is the server maybecaching
something?
Has anyone else out there experienced the same problem with hot-deploy inWL7SP2?
Did you resolve the problem? If so, how? Arrrrgghh!!!!!!!

Similar Messages

  • HT1338 I have installed osx mountain lion, it worked great for past months but recently, my mac takes lots of time to startup and sometimes gets stuck.. what should i do??

    I have installed osx mountain lion, it worked great for past months but recently, my mac takes lots of time to startup and sometimes gets stuck.. what should i do??

    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    System Preferences > Startup Disk
    Select your Startup Disk

  • Whether java component (Not ejb, not servlet) can be deployed in App Server and get the services provided by App Server

    As I mentioned in subject, I am just wondering Whether the java component (Not
    ejb, not servlet) can be deployed in App Server and get the services provided
    by App Server or not?

    Nevermind folks - I got it to work. All my configuration was correct; I had other issues with the ejb-jar file that the verifier informed me of (my previous deployments were with the verifier turned-off).

  • Deploying maps in control center - gets stuck at 50%

    I am able deploy maps individually. They get done very quickly. But if I select all the maps with replace and try to deploy them it gets stuck at 50% and no progress further. In test env it works fine and we have this problem only in PROd.
    Does anyone have the same problem.

    I did have some issues with trying to deploy mappings en masse, and have made it as a rule of thumb, not to deploy too many mappings at a time.
    did you look at the DB side, and see if you had any blocked session? Perhaps a mapping you are trying to replace is running and the pl/sql code is blocked? If you have Toad or EM you might be able to see what the session from OWB is waiting on. If the session is idle then this might be related to JAVA on your machine?
    just random thoughts ...
    Borkur

  • IMac screen pixilated and frozen on startup, won't get as far as home screen, any ideas? Thanks

    iMac screen pixilated and frozen on startup, won't get as far as home screen, just pulsating pixilation! Any ideas gratefully received, Thanks

    Hello,
    Have you blown the dust out lately?
    Does it get any further if it cools for an hour?
    Hold Shift key at bootup... does that work?

  • Auto-Deployment is not working in Eclipse - Weblogic

    I have created weblogic server instance in Eclipse.Then, I have added one project into weblogic server by using "Add/Remove Projects" menu.After I start the server , I logged into admin console and checked the deployments link. I am not finding the project listed in the list.I have selected option "Run stand alone web module directly from work space" in web logic server configuration window in eclipse.
    I am using Eclipse 3.3 and weblogic 10.0.
    I have no idea, why auto-deployment is not working.
    I would appreciate your help on this regard.I have contacted Eclipse Support, they have asked me to contact BEA team.
    Thanks,
    Prakash.A

    Hi Prakash,
    The "Run standalone web module from workspace" doesn't publish the application to the server (instead the app is deployed to a temp location).
    This is mainly to help test the app during the development stages. If your app is complete and would like to publish to the server then you might want to try the following option
    - In Server View, double click on the configuration to launch Overview
    - Select "Copy stand-alone web module into separate deployment folder"
    - Save the configuration
    - Start the server
    The application would be deployed to the server as a WAR file.

  • Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match.

    Cannot get Genius to work - Always get same error message - "Genius results can't be updated right now. The required file cannot be found."  Problem also seems to be affecting iCloud aand Music Match. Can anyone help me with this?  What file is missing and from where?

    This is a known problem with Windows 7 Enterprise using certain Group Policy settings. Solution for me was to use another machine running Windows 7 Ultimate.

  • Every time i connect my iphone to itunes and trying to do a backup or get the new update it says i have to restore my iphone. and then that doesnt work, i tried to reinstall itunes but it doesnt work. i get this all the time. fix it please.

    Every time i connect my iphone to itunes and trying to do a backup or get the new update it says i have to restore my iphone. and then that doesnt work, i tried to reinstall itunes but it doesnt work. i get this all the time. fix it please.

    iTunes states " There's a problem with your Iphone, please contact apple service center " Also i took my iphone to a local service man and he told me the IMEI code has been corrupted and there's nothing that can be done about it. Please help, if you have any solution.
    Thank you

  • MBP kernel panics on startup - won't get past grey screen

    So out of nowhere my unibody MBP (specs, etc below) locked up yesterday while I was watching a video using VLC.  It stopped responding to anything so I held down the power button until it turned off.  I waited about 10 minutes and turned it back on.  Grey screen with spinning cog showed up for about a minute and then kernel panic.  Held down power button until it turned off.  Tried repeatedly - same results.  Won't boot into Safe Mode - still get a kernel panic everytime.  It will let me boot the machine into Target Disk Mode.  It will boot from my Snow Leopard install disk where I ran Disk Utility and "repaired disk" and "repaired disk permissions" on both the drive and the volume.  All the "repair disk" and "repair disk permissions" ended with messages in green type saying that the disk/permissions appear to be OK.
    I have an external FW drive used for TM backups for the machine.  A fair amount of data has been added since the last TM backup (which was less than 30 days ago) that, ideally, I'd like to not lose by resorting to restoring from a TM backup.  It's not the end of the world if the last (roughly) 30 days of data/changes ends up being lost, but I'm willing to work on getting it back up and running without doing an erase and install and then restoring from a TM backup if at all possible.
    Definitely if any other information or data is needed from me in order for anyone to assist, please let me know what it is and I'll do my best to provide it.
    All help/assistance is greatly appreciated.  Thanks in advance!
    J
    Hardware Overview:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro5,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.66 GHz
    Number of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 6 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: MBP51.007E.B06
    SMC Version (system): 1.41f2
    Below is what comes up when it kernel panics at the grey screen:
    panic(cpu 1 caller 0x47f5ad): "Process 1 exec of /sbin/launchd failed, errno 13\n"@/SourceCache/xnu/xnu-1504.15.3/bsd/kern/kern_exec.c:3145
    Debugger called: <panic>
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0x51383e48 : 0x21b837 (0x5dd7fc 0x51383e7c 0x223ce1 0x0)
    0x51383e98 : 0x47f5ad (0x5cf950 0x831c08 0xd 0x0)
    0x51383ef8 : 0x4696d2 (0x76e1d20 0x1fe 0x736cee0 0x80000001)
    0x51383f38 : 0x48fee5 (0x72b7b7c 0x50f46000 0x51383f88 0x226e2f)
    0x51383f68 : 0x219432 (0x72b7b7c 0xffffff7f 0x51383f88 0x2a45c9)
    0x51383fa8 : 0x2aacb4 (0xffffffff 0x1 0x22f8f5 0x227c4b)
    0x51383fc8 : 0x2a1976 (0x0 0x0 0x2a17ab 0x6e24060)
    BSD process name corresponding to current thread: init
    Mac OS version:
    Not yet set
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    System model name: MacBookPro5,1 (Mac-F42D86A9)
    System uptime in nanoseconds: 69666095555

    As (bad) luck would have it, I don't have the discs that came with the machine .  Isn't that always the way?
    At any rate, I figured that would be a suggestion and searched the web for looking to see if what I need (AHT) could possibly be downloaded.  Looks like some folks have found a way/location to download AHT from the web from some of the posts I've seen, but I've come up empty handed.

  • Sorry, something went wrong. We're working on getting this fixed as soon as we can

    hi
    i have a problem in my facebook account
    i am manger in my page i delete admin and this message show after open my account
    Please Complete a Security Check
    Your account was recently used to try to add or remove an admin from one of the Pages you manage. As a security precaution, we need you to complete a quick security check before logging back in.
    im continue to check security
    and this message show
    Sorry, something went wrong.
    We're working on getting this fixed as soon as we can.
    Go Back
    i need help
    2 days i am trying to solve this problem but .. same things

    Hi,
    I apologise for this, but you are posting in the wrong place. Firefox Support cannot deal with Facebook problems. Please speak to Facebook support about this.
    Sorry about that!
    Curtis

  • Can't get Mail to work - I get the spinning wheel and Mail freezes.  I have to Force Quit it.  How do I fix this?

    Can't get Mail to work - I get the spinning wheel and Mail freezes.  I have to Force Quit Mail .  How do I fix this problem?

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • I have changed my password and still can't get homesharing to work. Get the message "Homesharing could not be activated because the account or password was incorrect. It's what I have used to sign in here!

    I  have changed my password and still can't get home sharing to work. Get the message "Home sharing could not be activated because the account or password was incorrect." It's what I have used to sign in here! Any help much appreciated.

    So I reset my Apple ID password. Which then stopped my MobileMe account from working. Hang on - these were 2 different accounts a while ago, with different passwords!!!
    So I have logged back in to MobileMe with my AppleID, and that's working again. After a short wait I can now create Home Sharing again.
    Folks, I think we have just had our Apple IDs merged with our MobileMe accounts!! With no consultation or warning.
    My guess is that this is the most seamless way for Apple to do it, as the vast majority of people use only one email address and one password for everything. Only those of us who had the same email adress but different a different passwords for MobileMe and Apple ID will have noticed. Annoying for us few, but a clever strategy on Apple's part, becasue we have been driven to fix the issue ourselves by chaning the password, and in doing so we have realised that our mobileme account is now the same thing as our Apple ID.

  • My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!

    My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!

    I also tried the ol' whacking 3 times trick...Didn't work to my surprise

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • I just but a app not working how get money back

    i just but a app not working how get money back

    You've tried deleting and redownloading the app via the Purchased tab in the App Store app on your device, and tried contacting the developer ? If you have and the developer can't/won't help then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Snow Leopard to Yosemite - early thoughts

    Actually, I haven't .. yet. I've downloaded Yosemite and installed it on an external HD, copied all my data and applications over, and had a look to see what it's like. Appearance & System a lot of flattened icons, more brightly coloured than I'm use

  • Export table to flat file programmatically

    Hi all, i want to know how to export a table/tables programmatically to a flat file i know that we can do that by right click on the table and choose save as .... etc... (in toad) But how do i make it with a script.. thx

  • Date Parameters in Data Templates..

    Mornin all.. How are you using date parameters in your Data templates..? I'm trying to run a Conc Program that has a date parameter. in ORACLE Con Program the value set is setup to retrieve the format dd-MON-yyyy. I also have this format specified in

  • Yoga 11S Won't Run Without Plugged into Charger

    My webcam stopped working, so I opened up the laptop to check the connections. (I did this after making sure all the drivers were updated). At first, I checked the connection at the camera, above the screen. I made sure the cable was connected and th

  • Aspell-0.60 Binary and Aspell-0.50 Dict Compatibility

    I recently updated aspell-de, aspell-fr, aspell-el dictionaries, all of which are in 0.50 edition. I didn't update the aspell binary to 0.60 edition as I thought there would be a conflict. Now the relation between the binary and the dictionaries is b