Adding hibernation support to Ubuntu grub.cfg file

Hi everyone,
I have a triple boot system being configured here (Win7, Ubuntu and Arch). I keep Win7 around because I have to deal with some MS Office files that sometimes won't work well in LibreOffice etc. Ubuntu is, now, my stable linux distro, and Arch is becoming my fast, personalized distro, for testing and playing around.
I'm trying to make Arch hibernate when I tell it to and come back successfully. I can, by now, make it hibernate, but it won't return to it's original state when I turn the computer on again (it boots like if I had a forced shutdown, checking filesystems etc). I already know that I have to add the "resume=my-swap-partition" line to grub.cfg, but grub is installed in Ubuntu, not Arch.
Now, to add the "resume=..." I should go to /etc/defaults/grub and add it to GRUB_CMDLINE_LINUX and run update-grub. But instead of adding it to Arch line in the grub.cfg, it adds to the Ubuntu one.
Can anyone help me how to add snnipet to Arch's grub.cfg line withou editing the file mannualy (which means I want to use the "correct" way that grub2 is suposed to be configured by)?
I hope I have been clear, English is not my first language. And I'm sorry if I posted in the wrong place, but I really didn't know where else to post. Thanks in advance for any reply.

You basically have two choices.
1. Change your installation so that Arch is controlling grub, and then use the method you describe above. Install grub from Arch, and use os-prober and update-grub to add an entry for Ubuntu.
2. Continue to allow Ubuntu to control grub, in which case you should really be asking for help on the Ubuntu forum, not here.
2a. If you continue to allow Ubuntu to control grub, you can copy your Arch entry from /boot/grub/grub.cfg into /etc/grub.d/40_custom, and then edit that file. If you are using os-prober to recreate your Arch entry when you update grub from Ubuntu, you should disable it (chmod -x /etc/grub.d/30_os-prober).

Similar Messages

  • Grub.cfg

    I know that grub2 usually does this manually, however that is not an option. It's a long story.
    I have to manually configure my grub.cfg file(I know its not recommended)
    Since Grub2 is relatively nonstandard, and I see multiple posts about grub2 here, can anyone help me out?
    This is what I have:
    menuentry "Fedora, linux 2.6.31.5-127.fc12.x86_64" {
    insmod lvm
    set root=(haven-gate)
    linux /vmlinuz-2.6.31.5-127.fc12.x86_64 root=/dev/mapper/haven-gate ro quiet rhgb
    menuentry "Fedora, linux 2.6.31.5-127.fc12.x86_64 (testb)" {
    insmod lvm
    set root=(haven-gate)
    linux /vmlinuz root=/dev/mapper/haven-gate ro single quiet rhgb
    My /boot is a logical partition (gate) in logical group (haven)
    My root is encrypted and is also part of a logical partition(central) in the same group
    I have a number of questions
    1. The root is encrypted. I know it is not setup right, and points to /boot instead of /root. I believe the cryptoroot function was used in grub, what about grub2? I could really use some help in this regard.
    2. The second entry is a test. Is it legal to use /vmlinuz as a shortening for the the vmlinuz line. I read somewhere it would automatically boot the latest kernel
    Any help with the above two questions would be greatly appreciated. Configuring grub correctly will allow access to Fedora for the first time in a long while. Thank You

    tried a recompile, did everything by the book, and rendered kernel unbootable. Nothing I did (regen initcpio, etc) could fix it, and the same cryptic GRUB error message appeared when attempting to boot any of the three kernels I have. Something about cryptouuid. I did a complete system reinstall and am now using the stock arch kernel. After going back to stock, I can say that the bfs scheduler was not all it's cracked up to be... I'll stick with stock from now on. No more kernel-compile forays for me.
    Got my phone working with mtpfs now that fuse is in the running kernel, so I can get files transferred despite the lack of MSC mode. Why the android devs didn't stick with MSC, I'll never know. It's so much less of an issue, on any given system. Only thing that supports MTP out of the box is Micro$oft's crashware turd, M$ Windows... they took linux (a UNIX-like system), built a phone OS out of it, then denied UNIX-based systems easy access to said OS in favor of a slower, inefficient, Micro$oft-invented protocol. Bah.
    Bluetooth is having issues now, despite the reinstall. The bluetooth device (hci0) is missing, even though the systemd unit for bluez is running. I had this issue on my previous stock install before I moved to a custom kernel and built bluetooth directly into the kernel, and if it behaves as before it will randomly work and not work across reboots. If anyone in this thread has an answer, that would be awesome. Otherwise I'll repost under networking. Either way, the original GRUB issue is fixed, so I'm marking this thread solved.

  • Forgot to make grub.cfg now what?

    Ok so went through the whole install and just forgot to make a grub.cfg file at the end. how can i do this now? I am having som much problems with mdadm and raid right now its unbelievable. i have a raid for my boot and root partitions. I know if i could reassemble the raids in the live cd i can just re chroot back in and generate a grub.cfg. if i run mdadm --assemble it says "/md1 is not in the config file" if i run mdadm --creatwe it says the devices are busy?
    Pleas HELP!!!
    i do not want to reinstall again!

    paulb787 wrote:i do not want to reinstall again!
    Why would have need to?  Do as SC suggested and you'll be fine.

  • [svn:fx-trunk] 10389: Added support for octothorpe in embed file names.

    Revision: 10389
    Author:   [email protected]
    Date:     2009-09-18 07:19:26 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Added support for octothorpe in embed file names.  And here I thought I'd never use the term octothorpe in a sentence.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23033
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23033
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java

  • Update-grub (grub-mkconfig -o /boot/grub/grub.cfg)

    okay   so i use a bash script to generate my grub config     its just an alias to grub-mkconfig -o /boot/grub/grub.cfg  but with the last update    (today) i am now getting this
    [fennectech@FennecNET_Mobile ~]$ sudo update-grub
    Generating grub configuration file ...
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    Found fallback initramfs image: /boot/initramfs-linux-fallback.img
    /proc/devices: No entry for device-mapper found
    /proc/devices: No entry for device-mapper found
    done
    i am really worried    not sure what this means
    EDIT______
    [fennectech@FennecNET_Mobile ~]$ sudo update-grub
    [sudo] password for fennectech:
    Generating grub configuration file ...
    Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
    Found fallback initramfs image: /boot/initramfs-linux-fallback.img
    done
    [fennectech@FennecNET_Mobile ~]$
    now this is after a reboot
    Last edited by fennectech (2014-07-08 18:27:09)

    Not a Sysadmin issue, moving to NC...

  • Is there a way to edit the saved StartCfg.cfg file on a Linksys SRW switch?

    I have a SRW248G4 switch that I want to edit the StartCfg.cfg file to use as a template for several new switches.  The content of the startcfg.cfg file looks to be binary or mostly binary.  Is there a way to get the switch to save and load the file in text format similar to the Cisco switches?
    An alternate option is to create a templete config on one of the new switches with all the standard settings, save it, upload that template config to the other new switches and change the things that are different/unique from the web interface.  This is possible but will take a lot longer.
    Thanks,
    Kerry Melcher, CCNP

    You cannot edit the library file itself, but you could perhaps edit the XLM file and then import that, basically following the procedure you use when the library file has been damaged:
    http://support.apple.com/kb/HT1451
    You'll need to be very careful about editing the XML, though, as it's really easy to completely mess up your library if you edit the wrong thing. Make absolutely sure you have backup copies of the original iTunes library file and XML file, so you can put them back just in case something does go wrong.
    Hope this helps.

  • Error While adding JSTL support in JDev 11g

    Hi ,
    Continuing on my Spring tutorial on http://static.springsource.org/docs/Spring-MVC-step-by-step/
    I have added JSTL support in my application. Getting below error:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
         at org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:97)
         at org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:133)
         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 27 more
    But I have added jstl.jar and standard.jar at both places 1) Tools-> Manage Libraries. Also Deploy by Default is checked. and 2)Application->Project Properties->classpath and libraries and Then I have added individual jars . Also I have added jar directory to be doubly sure. But still the same error.......
    Please anyone help......

    Hi ,
    I tried whatever is there in the link and got below error:
    <31 Oct, 2011 12:24:49 AM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Users\Nano\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\springapp/META-INF/weblogic-application.xml of module springapp. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:329)
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
         at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    .>
    <31 Oct, 2011 12:24:49 AM IST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean springapp. Error - weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>.
    weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    >
    <31 Oct, 2011 12:24:49 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320000889396' for task '8'. Error is: 'weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>'
    weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    >
    <31 Oct, 2011 12:24:49 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springapp'.>
    <31 Oct, 2011 12:24:49 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
         at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         Truncated. see log file for complete stacktrace
    >
    [12:24:49 AM] #### Deployment incomplete. ####
    [12:24:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application springapp due to error deploying to IntegratedWebLogicServer.
    [Application springapp stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Also according to the link in step 6, I need to modify weblogic.xml to add given entries. So I add the required lines in weblogic.xml found at C:\Users\Nano\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\springapp\NewProjWebApp.war\WEB-INF
    But when I try to run application, my changes are overwritten and it again contains whatever it had before my changes.
    Can you please tell me am I editing the right file and why its contents are overwritten?

  • Overwriting vm.cfg file

    Hallo,
    I'm using direct disk access for a couple of VM, because it seems that the performance is quite better. I test it with Oracle 11g and I had about 15-20% better performance with DBMS_RESOURCE_MANAGER.CALIBRATE_IO. So I edit the vm.cfg file with the stanza phy:/dev.... . This works quite well, but from time to time the vm.cfg file seems to be overwritten (maybe ovs-agent). After that the stanza for the direct access is deleted, and it is aligned with the entries in OV Manager.
    Is there a way to prevent this.
    Reg.
    Rene

    ReneV wrote:
    Is there a way to prevent this.What version of Oracle VM are you running? This shouldn't happen any more with Oracle VM 2.1.5 and in 2.2, we've added the ability to add physical multipath devices as Shared Virtual Disks. This same mechanism can be used to add physical devices to a single guest (just ignore the "shared" part). This requires the devices to be exposed as /dev/mapper or /dev/mpath devices. You'll be able to import the disks in Oracle VM Manager under the "Resources" -> "Shared Virtual Disks" -> "Import" option. Once you import a multipath device, you can visit a particular guest's storage tab to enable it.

  • Xdodelivery.cfg file in 12.0.6

    Hi All,
    DB:10.2.0.4.0
    Oracle Apps: 12.0.6
    OS:AIX 5.3 L 64 bits
    We are on 12.0.6 and there is no "resource" directory under $XDO_TOP location where xdodelivery.cfg file could be created.
    As per the note 804283.1:
    The configuration file $XDO_TOP/resource/xdodelivery.cfg is detailed in the Oracle XML Publisher
    Administration and Developer's Guide and Oracle® XML Publisher User’s Guide in the section 'Configuration File Support' :
    Does the note above means we need to create a separate "resource" folder under $XDO_TOP and then create the xdodelivery.cfg file or where is the location of xdodelivery.cfg file in 12.0.6.
    Could anyone please share experience on the above issue for resolution.
    Thanks for your time!
    Regards,

    Hi,
    Please see if these documents help.
    Note: 804283.1 - How to Setup xdodelivery.cfg
    Note: 401619.1 - How Do I Troubleshoot XML with Collections?
    Regards,
    Hussein

  • [svn:osmf:] 15972: ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.

    Revision: 15972
    Revision: 15972
    Author:   [email protected]
    Date:     2010-05-08 07:31:24 -0700 (Sat, 08 May 2010)
    Log Message:
    ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/.flexLibProperties
        osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/application/ChromeApplication.as
    Added Paths:
        osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.as

    rnair wrote:
    I am trying to install Oracle 11g R2 on my windows 7, 64bit computer. After 42% of installation, it started showing some files are missing. Few of them are:
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\owb.tmp
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\setowbenv.tmp
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\system-application.xml
    And the final pop up winow says:
    Database configuration Assistant:Info
    *"Template General_Purpose.dbc does not exists. Please specify an exixting template for database creation"*
    *"[INS-20802] Oracle Database Configuration Assistant failed"*
    Details:
    Cause:- The plug-in failed in its perform method
    Action:- Refer to the logs or contact Oracle Support Services.
    Following are the last few lines of the log file. Can anyone please help me to fix this problem?<snip>
    the error has nothing to do with DBCA. DBCA was simply the last in a long string of victims.
    Go back and read the instructions where you downloaded the install media. They state that the TWO zip files you download must be unzipped into the same directory.

  • Cisco cfg files parser.

    Hello, dear experts!
    There was a program called Nipper, which could analyze cisco cfg files and make a html report. It was pretty useful to quickly understand network configuration and analyze network infrastructure. Unfortunately I guess this program doesn't supported anymore. Does anybody know any other program, which can analyze cisco cfg file and make graphical reports, including network infrastructure and security risks.
    Thank you!

    You can download an evaluation version of several of the licensed products (Cisco Prime LMS or Solarwinds Orion Network Configuration Manager for example) that include analysis and reporting on your configurations' soundness and compare them against best practices and standard vulnerability and compliance standards.
    Here is a listing of the available LMS reports.
    See here for the NCM coverage.
    These, and any of the reputable tools, will require a purchased license for long term use.

  • Does Elements 10 support the Nikon D3200 RAW Files?

    Does Elements 10 support the Nikon D3200 RAW Files?

    Not yet. You need to wait for the next update. It's already been added to CS6 and Lightroom 4; so it should follow soon.
    If you can't wait and convert from NEF to DNG you can use PSE10 but always keep your originals as back-up and incase you need to use Nikon software.

  • Firewire module install with rpm not updating "/etc/grub.conf" file

    Hello,
    Thank you in advance! I am trying to setup Oracle10g RAC on RedHat Enterprise Linux ES 4.0. As a part of that process, I am trying to install the shared disk (Firewire) module on the node using 'rpm' as follows:
    rpm -ivh --force oracle-firewire-modules-2.6.9.EL-1286-1.i686.rpm
    It is getting installed perfectly. However, I am expecting with "-ivc" option, it is supposed to update "/etc/grub.conf" file. But it is not updating this file. Therefore reboot could NOT load this module and can not proceed further. Any help on this is really appreciated!
    Thanks again,
    Kishore

    karol's link did the deed!  I had gone to the page that shows the most up to date mirrors and used that for the install. But when I used the link that karol gave it not only gave me the same URL as I used earlier to install, it gave me some additional suffixes that didn't appear on the page that provided the updated links. When I added /$repo/os/$arch, pacman took off and started burning rubber. So many thanks!
    Now I can go ahead and install reflector, which is the first thing I try and do when I get an Arch install up and running. Thanks again.
    After seeing karol's script in post#4, I see that the /$repo/os//4arch was showing up there also. I didn't see anything like that when I copied the link to install.
    Last edited by pottzie (2012-03-14 02:42:28)

  • Reading a cfg file

    Hi!!
    I'm trying to read a file_name.cfg file, but I don't know how to to this, I have to found three differents labels and from this point read some information, for example, a label named "mails" and after this read the mails until the next label named "[message]"
    Can somebady help me??
    thanks
    Lis

    use a ".properties" file instead ;-)
    # data concerning label 1
    label1.data1=abcdefg
    label1.data2=1234567
    # data concerning label 2
    label2.data1=hello world
    label2.data2=this is a test
    label2.data3=have a nice day
    label2.data4a=Good Morning Mr. {0}
    label2.data4b=Good Morning Ms. {0}
    ...where lines with a leading '#' are comments. the strings on the left side of the '=' are (should be) unique keys with the value given by the right side string.
    import java.util.ResourceBundle;
    ResourceBundle bundle = ResourceBundle.getBundle("xyz");
    // where xyz is the extension-free filename
    // (also free of locale indicators)
    String attribute_a = bundle.getString("key_a");
    Object attribute_b = bundle.getObject("key_b");
    ...this MIGHT be especially useful if you want to support different configurations for different locales (see the api documentation for class java.util.ResourceBundle for further informations).
    if you do NOT want to support different configurations you could also use the class java.util.Properties and its method load("filename") to get configuration data for special keys.
    Properties properties = new Properties();
    properties.load(new FileInputStream("your-conf-file-name.cfg")); // or ".txt" or ".blubb" or ...
    String attribute_a = properties.getProperty("key_a");
    String attribute_b = properties.getProperty("key_b");
    ...

  • [solved] /boot/grub/grub.cfg installed as /boot/grub/grub.cfg.pacnew

    Hello there,
    With the latest update of grub-common I got the following message:
    ( 3/15) upgrading grub-common [################################################################] 100%
    warning: /boot/grub/grub.cfg installed as /boot/grub/grub.cfg.pacnew
    However, should I reflect the changes of grub.cfg.pacnew or simply ignore it because grub.cfg is generated automatically?
    Last edited by orschiro (2013-05-29 05:08:19)

    koz wrote:
    cfr wrote:
    Natanji wrote:I just broke my system with this, so I think the package should *at least* post a notice to the user asking him to run "grub-mkconfig -o /boot/grub/grub.cfg" - or simply doing so post-installation, even. I know, my fault, but it's still really easy to overlook...
    Since automating it would make it virtually impossible to maintain a manually configured grub.cfg, I disagree. Arch does not do that stuff automatically. Even for those who do not hand edit the config file, it is likely to break things if people have more complex setups. (For example, in some cases, grub will not find an OS unless the partition is mounted and it might not be mounted.) Actually, not even Fedora does this automatically although I suspect that is considered a bug.
    As for the warning, pacman does warn you. It tells you it has installed a *.pacnew file. That tells you two things: (1) you needed to customise the previous default config, and (2) the default config has changed. That copying the pacnew over your old config will break things is standard: blindly copying *any* pacnew over your old, customised file will break things. I agree that it breaks things in a bigger way in this case but the principle is exactly the same. That is not to say that I think a reminder would be out of place - other boot loaders'managers do post such messages. But being told about a pacnew or a pacsave file *is* notification from grub that user intervention is required and this is usually because somebody who knows the system and customisations made previously is required to adapt the changes to accommodate the update. i.e. it is usually because blindly overwriting stuff is very likely to break things.
    It is automated! WTF?!
    Not really. One can hand edit grub.cfg and the package does not interfere with that.
    This is what pacman threw out at me:
    warning: /etc/default/grub saved as /etc/default/grub.pacsave
    warning: /boot/grub/grub.cfg saved as /boot/grub/grub.cfg.pacsave
    ( 1/11) upgrading cgminer [#######################################] 100%
    ( 2/11) upgrading e2fsprogs [#######################################] 100%
    ( 3/11) installing grub [#######################################] 100%
    Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg
    Is this intended??
    It, thankfully, didn't break anything but this isn't what should have happened. I am sure it will ruin someone's day.
    I agree this is strange. I have no idea why it moves your old config to a .pacsave and then copies that .pacsave back to grub.cfg. Effectively what it does is just make a copy of your config as .pacsave but I don't know why it does that.
    It is in fact quite unlikely to break anything since it is very likely that an existing grub.cfg will work with the new version of grub. Obviously people should check but if somebody doesn't it is not likely to do any harm. I am not sure what you did to break your configuration but I doubt that you copied grub.cfg.pacsave to grub.cfg.

Maybe you are looking for

  • How can I manage all my e-mail in the cloud?

    I am interested in managing all my e-mail in the cloud, even those mails I have already archived in my Mac. I am interested in manage my messages through all my devices (iMac, iPadf, iPhone, Macbook Pro etc.) iCloud only offers up to 50 Gb. My archiv

  • Unable to deploy a workflow form in jdev 11.1.1.2

    Hi all, I have created a task workflow form, through the auto-generate option. when i try deploying it, i get the following message during deployment: [03:50:31 PM] ---- Deployment started. ---- [03:50:31 PM] Target platform is (Weblogic 10.3). [03:5

  • Don't want a Goods Receipt PO without Purchase Order

    Hello Experts, I am looking for a solution that Goods Receipt PO must be restricted as no Goods should be received without Purchase Order. Is it possible ? Help Required .... Thanks & Best Regards,

  • I have signed up for iCloud syncing of music on my iPod.

    No-where during sign-up any mention that only IOS devices could aceess the music on iCloud. I have only Android and Windows devices, except for my ancient iPod. My sole reason for subscription was to access my iPod's music on iCloud with my other non

  • Connecting to separate monitor

    I bought a monitor, which I connected to the Powerbook. It seems to work in that I gett the desktop pattern on the big monitor, but no icons nor windows show up on it, though I see them on my Powerbook screen. The technician from Viewsonic, told me t