HP-UX Kernel Params for WLS 6.0SP2 Cluster to Avoid java.lang.outofmemory and/or thread death

          I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing heap and
          thread issues on start-up or invocation of my application as I deploy EJB's and create
          DB connection pools. These are fairly trivial tasks that don't give me any issues
          when starting the first node. It's only when I invoke the second node.
          I'm pretty sure that my issue is tied to the following kernel areas:
          1. Thread allocation
          2. Heap allocation
          3. Max Processes per user
          Can anyone make some kernel recommendations that might be beneficial to my deployment?
          My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I typically
          allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and allocate about
          1GB of RAM per node on a 4GB machine...
          Regards,
          Steve
          

I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing          heap and
          > thread issues on start-up or invocation of my application as I deploy
          EJB's and create
          > DB connection pools. These are fairly trivial tasks that don't give me any
          issues
          > when starting the first node. It's only when I invoke the second node.
          >
          > I'm pretty sure that my issue is tied to the following kernel areas:
          >
          > 1. Thread allocation
          > 2. Heap allocation
          > 3. Max Processes per user
          >
          > Can anyone make some kernel recommendations that might be beneficial to my
          deployment?
          > My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I
          typically
          > allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and
          allocate about
          > 1GB of RAM per node on a 4GB machine...
          HP has some kernel tuning guidelines for Java server apps on their web site,
          and BEA has some notes as well in their platform support page.
          What issues specifically are you seeing?
          Peace,
          Cameron Purdy
          Tangosol, Inc.
          Clustering Weblogic? You're either using Coherence, or you should be!
          Download a Tangosol Coherence eval today at http://www.tangosol.com/
          "Steve Feldman" <[email protected]> wrote in message
          news:3cdc046e$[email protected]..
          >
          

Similar Messages

  • Kernel Params for Red Hat 6.0

    I've been assigned to put oracle on a Dell installed RED Hat 6.0
    box.
    The Kernel Params are driving me nutty.
    First of all, the docs are saying that SHMMAX needs to be
    4294967295. I can't understand why Oracle can't just tell you
    what to enter into the header straight and simple in HEX. My
    hex calculator can't manipulate this magnitude. Is this
    documentation even correct? It seems 2 digits too large from
    everything else I'm looking at.
    The rest of the kernel code is largley defined dynamically:
    It looks like this.
    Should I over ride all this?
    #define SHMID_BITS 7
    #define SHM_ID_MASK ((1<<_SHM_ID_BITS)-1)
    #define SHM_IDX_SHIFT (_SHM_ID_BITS)
    #define SHMIDX_BITS 15
    #define SHM_IDX_MASK ((1<<_SHM_IDX_BITS)-1)
    * SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386 and
    * SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
    #define SHMMAX 0x2000000 /* max shared seg size
    (bytes) */
    /* Try not to change the default shipped SHMMAX - people rely on
    it */
    #define SHMMIN 1 /* really PAGE_SIZE */ /* min shared seg size
    (bytes) */
    #define SHMMNI (1<<_SHM_ID_BITS) /* max num of segs system
    wide */
    #define SHMALL /* max shm system wide
    (pages) */ \
    (1<<(_SHM_IDX_BITS+SHMID_BITS))
    #define SHMLBA PAGE_SIZE /* attach addr a multiple
    of this */
    #define SHMSEG SHMMNI /* max shared segs per
    process */
    #endif /* ASMI386SHMPARAM_H */
    null

    If the system cats back -1 (or -273 etc) for inputs that big, I
    don't how we are going to obtain a positive outcome.
    The hex is not the point. The point is that 4 gig ints echoed
    into the /proc directory return negitive integers.
    Ruben
    Mladen Gogala (guest) wrote:
    : Hexcalculator is for wimps. The real programmers use bc,
    : with scale, ibase and obase options. As bc is doing
    : packed decimal arithmetics, it can do calculations with
    : the numbers > 4GB. Increase SHMMAX to 0x4000000, relink
    : the kernel (make bzImage), restart & enjoy.
    : Ruben I Safir (guest) wrote:
    : : Thanks Robson
    : : That translates to -1 when you cat it back. That was the
    same
    : : thing the kde hexcalculator did. It seems that using that
    many
    : : bytes triggers a signed variable.
    : : Ruben
    : : Robson Miranda (guest) wrote:
    : : : You only need to do
    : : : echo 4294967295 > /proc/sys/kernel/shmmax (I think, I'm not
    : on
    : : : my Linux box, so can't check now).
    : : : With kernel > 2.2.x, there's no need to recompile it to
    : change
    : : : the maximum amount of shared memory.
    : : : Robson.
    : : : Ruben I Safir (guest) wrote:
    : : : : I've been assigned to put oracle on a Dell installed RED
    : Hat
    : : : 6.0
    : : : : box.
    : : : : The Kernel Params are driving me nutty.
    : : : : First of all, the docs are saying that SHMMAX needs to be
    : : : : 4294967295. I can't understand why Oracle can't just
    tell
    : : you
    : : : : what to enter into the header straight and simple in
    HEX.
    : My
    : : : : hex calculator can't manipulate this magnitude. Is this
    : : : : documentation even correct? It seems 2 digits too large
    : from
    : : : : everything else I'm looking at.
    : : : : The rest of the kernel code is largley defined
    dynamically:
    : : : : It looks like this.
    : : : : Should I over ride all this?
    : : : : #define SHMID_BITS 7
    : : : : #define SHM_ID_MASK ((1<<_SHM_ID_BITS)-1)
    : : : : #define SHM_IDX_SHIFT (_SHM_ID_BITS)
    : : : : #define SHMIDX_BITS 15
    : : : : #define SHM_IDX_MASK ((1<<_SHM_IDX_BITS)-1)
    : : : : * SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386
    : and
    : : : : * SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
    : : : : #define SHMMAX 0x2000000 /* max shared seg
    : : size
    : : : : (bytes) */
    : : : : /* Try not to change the default shipped SHMMAX - people
    : rely
    : : : on
    : : : : it */
    : : : : #define SHMMIN 1 /* really PAGE_SIZE */ /* min shared seg
    : : size
    : : : : (bytes) */
    : : : : #define SHMMNI (1<<_SHM_ID_BITS) /* max num of
    segs
    : : : system
    : : : : wide */
    : : : : #define SHMALL /* max shm system
    : : wide
    : : : : (pages) */ \
    : : : : (1<<(_SHM_IDX_BITS+SHMID_BITS))
    : : : : #define SHMLBA PAGE_SIZE /* attach addr a
    : : : multiple
    : : : : of this */
    : : : : #define SHMSEG SHMMNI /* max shared
    segs
    : : per
    : : : : process */
    : : : : #endif /* ASMI386SHMPARAM_H */
    null

  • [Solved] Kernel params for suspend - overheating(?)

    I had long since given up on getting my Lenovo S10-3 to suspend - or should I say resume from suspend.
    But with all the kernel updates I figured it might be time to give it another shot.  The traditional methods had the traditional failings, but I found a new suggestion on the Lenovo S10 page of the arch wiki to add these three kernel parameters
    hpet=disable highres=off nohz=off
    I had tried the first previously, but not all three.  I gave it a shot with all three and suspend and resume work perfectly.
    I quickly noticed a disturbing side effect though.  My netbook got notably hotter; I didn't take any sensor data, but I could feel how hot it was getting.  The cpu fan remained on high continuously at idle, where without those three kernel parameters the fan almost never has to run.
    I removed and replaced the parameters a few times to verify that this was the cause.  Every time they were on the kernel line I had the fan/heat problems; everytime they weren't these problems didn't exist, but I couldn't resume from suspend.
    Has anyone had similar issues or know of any way to get the suspend/resume benefit of these parameters without the (seemingly dangerous) side effect?
    Google has not helped much on learning about these parameters.  I found dozens of pages that limit their explanation to saying that "nohz=off" turns off nohz.  Well thats f^%#ing helpful *sarcasm*.
    Last edited by Trilby (2012-05-24 23:04:54)

    Gusar wrote:They're on a wiki. Which everyone can edit. I'm sure this is not the only bad advice there.
    Undoubtedly true.  But I've seen them on many wiki's and forums for various distros.  I have no delusion that it is good advice, but it is a technique that many are using.  I'd be surprised if anyone used it if they got results like I did.  Right from powering up I had a "WTF is wrong with my computer" reaction.
    But that does answer my question.  I'll still try the vanilla kernel tomorrow just in case, as I do still have it installed, but for now I'll put suspend back on the back-burner until I have time to look for better solutions.  Working on a quick boot time has made suspending a low priority, but as it's the one thing on this machine that isn't working right I'm like a moth to a flame: "must fix irrelevant problem".
    Thanks again for the insight.
    UPDATE: Using the vanilla kernel makes no difference: the parameters needed for suspend cause a nasty side effect.
    Last edited by Trilby (2012-05-25 15:44:42)

  • JNDI Provider for wls 5.1 cluster

    hi,
              how can I specify a JNDI provider URL for a WLS 5.1 cluster where the
              cluster nodes are different machines ? Is there a way to specify the
              URL without using a single servers IP address ?
              thx
              johannes
              

    [att1.html]
              

  • WLS 8.1 + MyFaces 1.1 = java.lang.IllegalStateException ?

    We are seeing an Exception from time to time on WLS 8.1 in a JSF application that looks like this:
    <Aug 1, 2008 8:02:36 AM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1781688286,name=as_oo_webapp,context-path=/as_oo_webapp)] Root cause of ServletException.
    java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java(Compiled Code))
    We are using MyFaces 1.1 for JSF. We think this is a known issue with MyFaces 1.1 and WLS, but we are not sure - and we are not sure if there is any solution.
    Any advice would be appreciated!!
    thanks

    Hi,
    we found the problem. One missing entry in one META-INF. We don´t know, why this
    was no problem with WLS 6.1 / 7.0.
    Greetings
    "Thilo Fischer" <[email protected]> wrote:
    >
    Hi there,
    we are moving from WLS 6.1 / 7.0 to WLS 8.1 and we have a BIG problem:
    We get
    everywhere java.lang.NoClassDefFoundErrors on the server.
    Our Project consists of more than 20 subprojects (1 EJB, 3 WEB, the rest
    utility-projects)
    plus some libraries (struts etc.), which are all bundeled into our EAR.
    In our
    EAR the projects make references to all needed projects/libraries via
    META-INF.
    This workls flawless on WLS 6.1 / WLS 7.0 but crashes under 8.1.
    Must we declare these references in another way, not via META-INF?
    Any suggestions ?
    Kind regards
    Thilo Fischer

  • Java.lang.SecurityException: Authentication for user system denied in realm weblogic

    I am looking for some help to deploy the application in weblogic6.0.
    This is what i did during the application deployment.
    Create a new directory under config as a new application.
    D:\bea\wlserver6.0\config\test
    under test created two other directories applications and logs.
    Under the applications directory copied .ear and .war files.
    Under the test i copied config.xml, all the *.pem starttest.cmd, fileRealam.properties
    files. Modified the config.xml with my application, domain and the server. Modified
    the settest.cmd with the new domain and server name.
    when i do startup, it is prompting for the password and i entered what ever i mentioned
    during the installation.
    And getting the following error.
    Thanks alot for any suggestions.
    D:\bea\wlserver6.0\config\test>startTest.cmd
    D:\bea\wlserver6.0>set PATH=.\bin;D:\bea\jdk130\bin;C:\RATIONAL\RATION~1\NUTCROO
    T\bin;C:\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\RATIONAL\RATION~1\NUTCROOT\mksnt;
    C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Dell\Resoluti
    on Assistant\Common\bin;C:\PROGRA~1\MICROS~4\Office;C:\PROGRA~1\ULTRAE~1;C:\Rati
    onal\common;C:\Rational\Rational Test;C:\jdk1.3\bin;C:\Ant\bin;
    D:\bea\wlserver6.0>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    D:\bea\wlserver6.0>D:\bea\jdk130\bin\java -hotspot -ms64m -mx64m -classpath .;.\
    lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=test -Dweblogic.Name=te
    stServer -Dbea.home=D:\bea -Dcloudscape.system.home=./samples/eval/cloudscape/da
    ta -Djava.security.policy==D:\bea\wlserver6.0/lib/weblogic.policy weblogic.Serve
    r
    Enter password to boot weblogic server:password
    Starting WebLogic Server ....
    <Feb 14, 2001 12:13:04 PM EST> <Notice> <Management> <Loading configuration file
    .\config\test\config.xml ...>
    <Feb 14, 2001 12:13:06 PM EST> <Info> <Logging> <Only log messages of severity "
    Error" or worse will be displayed in this window. This can be changed at Admin C
    onsole> test> Servers> testServer> Logging> Debugging> Stdout severity threshold
    >
    <Feb 14, 2001 12:13:08 PM EST> <Emergency> <Server> <Unable to initialize the se
    rver: 'Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user system denied in
    realm weblogic
    java.lang.SecurityException: Authentication for user system denied in realm webl
    ogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:209)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:11
    3)
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :293)
    at weblogic.security.SecurityService.initialize(SecurityService.java:123
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.SecurityException: Authentication for user system de
    nied in realm weblogic
    java.lang.SecurityException: Authentication for user system denied in realm webl
    ogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:209)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:11
    3)
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :293)
    at weblogic.security.SecurityService.initialize(SecurityService.java:123
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    D:\bea\wlserver6.0>goto finish
    D:\bea\wlserver6.0>cd config\test
    D:\bea\wlserver6.0\config\test>ENDLOCAL
    D:\bea\wlserver6.0\config\test>

    Seen this, may give a clue?
    Server Known Problems Change Request Number Description
    042556
    The weblogic.Admin command now requires the user and password options. For example:
    java weblogic.Admin -username system -password gumby1234
    The username "system" is required for most functions (for example: VERSION). If
    you do not specify -username system, you will get the following error:
    Exception in thread "main" java.lang.SecurityException: Authentication for user
    system denied in realm weblogic
    <<no stack trace available>>
    "lazar" <[email protected]> wrote:
    >
    I would also like to know, if there is a fix for it.
    Thanks
    Lazar
    Greg Layton <[email protected]> wrote:
    Did you ever get an answer to this. If so could you share it with me.ThanksGreg

  • Call EJB in WLS 7.0SP2 from WLS 5.1 SP13

    Hello,
    I am trying to call an EJB deployed on WLS 7.0SP2 from a WLS 5.1 SP13.
    There are issues from 19 Dec 2002 in "weblogic.developer.interest.rmi-iiop" newsgroup
    that are supossed to established a summary on this interoperability. The solution
    seems to be the same as the interoperability between WLS 6.1SP2 and WLS5.1SP12
    with I have been working for several months. I have followed the steps (EJB generated
    with "weblogic.ejbc -iiop" in WLS 7.0 and client classes generated with "weblogic.ejbc
    -iiop -clienteJar" in WLS5.1) but the only result I obtain is the following exception.
    Has anybody really invoked EJBs between this two WLS versions with IIOP?.
    javax.naming.NamingException: Unhandled error in lookup. Root exception is java.lang.NullPointerException
    at javax.naming.NameImpl.<init>(NameImpl.java:250) at javax.naming.CompositeName.<init>(CompositeName.java:223)
    at weblogic.iiop.IIOPInvocationHandlerImpl.getClusteredStub(IIOPInvocationHandlerImpl.java:150)
    at weblogic.iiop.IIOPInvocationHandlerImpl.resolveObject(IIOPInvocationHandlerImpl.java:114)
    at weblogic.iiop.IIOPReplacer.resolveObject(IIOPReplacer.java:375) at weblogic.iiop.AbstractMsgInput.readRemote(AbstractMsgInput.java:185)
    at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:156) at weblogic.cos.naming.NamingContext_WLStub.resolve(NamingContext_WLStub.java:122)
    at weblogic.jndi.cosnaming.IIOPInitialContextServer.lookup(IIOPInitialContextServer.java:109)
    at javax.naming.InitialContext.lookup(InitialContext.java:345) at jsp_servlet._jsp.__test._jspService(__test.java:108)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:946)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:910)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:277)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:403)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:285)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130)
    Thanks for any help,
    Rosa

    Hello,
    I am trying to call an EJB deployed on WLS 7.0SP2 from a WLS 5.1 SP13.
    There are issues from 19 Dec 2002 in "weblogic.developer.interest.rmi-iiop" newsgroup
    that are supossed to established a summary on this interoperability. The solution
    seems to be the same as the interoperability between WLS 6.1SP2 and WLS5.1SP12
    with I have been working for several months. I have followed the steps (EJB generated
    with "weblogic.ejbc -iiop" in WLS 7.0 and client classes generated with "weblogic.ejbc
    -iiop -clienteJar" in WLS5.1) but the only result I obtain is the following exception.
    Has anybody really invoked EJBs between this two WLS versions with IIOP?.
    javax.naming.NamingException: Unhandled error in lookup. Root exception is java.lang.NullPointerException
    at javax.naming.NameImpl.<init>(NameImpl.java:250) at javax.naming.CompositeName.<init>(CompositeName.java:223)
    at weblogic.iiop.IIOPInvocationHandlerImpl.getClusteredStub(IIOPInvocationHandlerImpl.java:150)
    at weblogic.iiop.IIOPInvocationHandlerImpl.resolveObject(IIOPInvocationHandlerImpl.java:114)
    at weblogic.iiop.IIOPReplacer.resolveObject(IIOPReplacer.java:375) at weblogic.iiop.AbstractMsgInput.readRemote(AbstractMsgInput.java:185)
    at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:156) at weblogic.cos.naming.NamingContext_WLStub.resolve(NamingContext_WLStub.java:122)
    at weblogic.jndi.cosnaming.IIOPInitialContextServer.lookup(IIOPInitialContextServer.java:109)
    at javax.naming.InitialContext.lookup(InitialContext.java:345) at jsp_servlet._jsp.__test._jspService(__test.java:108)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:946)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:910)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:277)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:403)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:285)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130)
    Thanks for any help,
    Rosa

  • Best practice for loading config params for web services in BEA

    Hello all.
    I have deployed a web service using a java class as back end.
    I want to read in config values (like init-params for servlets in web.xml). What
    is the best practice for doing this in BEA framework? I am not sure how to use
    the web.xml file in WAR file since I do not know how the name of the underlying
    servlet.
    Any useful pointers will be very much appreciated.
    Thank you.

    It doesnt matter whether the service is invoked as part of your larger process or not, if it is performing any business critical operation then it should be secured.
    The idea of SOA / designing services is to have the services available so that it can be orchestrated as part of any other business process.
    Today you may have secured your parent services and tomorrow you could come up with a new service which may use one of the existing lower level services.
    If all the services are in one Application server you can make the configuration/development environment lot easier by securing them using the Gateway.
    Typical probelm with any gateway architecture is that the service is available without any security enforcement when accessed directly.
    You can enforce rules at your network layer to allow access to the App server only from Gateway.
    When you have the liberty to use OWSM or any other WS-Security products, i would stay away from any extensions. Two things to consider
    The next BPEL developer in your project may not be aware of Security extensions
    Centralizing Security enforcement will make your development and security operations as loosely coupled and addresses scalability.
    Thanks
    Ram

  • Trouble building kernel module for sensor support

    Hi, I'm new here but have been using Arch for a while.  Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely.  Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0.  I installed the lm-sensors package and ran sensors-detect, which yielded no results.  Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
    Sorry for the story but I felt some context was necessary.  I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel.  Here is the output from running make:
    make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
    make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    CC [M] /root/omnibook-2.20070211/init.o
    In file included from /root/omnibook-2.20070211/init.c:26:0:
    /root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
    /root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
    /root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    // I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
    ^
    /root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
    /root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
    /root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
    laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
    ^
    /root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
    /root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
    proc_entry->data = feature;
    ^
    /root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
    proc_entry->read_proc = &procfile_read_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
    proc_entry->write_proc = &procfile_write_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
    proc_entry->owner = THIS_MODULE;
    ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
    make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
    Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
    make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    Makefile:88: recipe for target 'omnibook.ko' failed
    make: *** [omnibook.ko] Error 2
    I have honestly no idea what to make of any of this and would really appreciate any help towards a solution.  Thanks for reading

    Welcome to Arch Linux
    That looks like it is a 2.6 kernel module
    http://sourceforge.net/p/omnibook/bugs/58/
    Did you try either of these AUR offerings?
    ewaller$@$odin ~ 1001 %packer -Ss omnibook
    aur/omnibook-git 20110911-9 (7)
    Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
    aur/omnibook-svn-zen 268-1 (1)
    Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
    ewaller$@$odin ~ 1002 %
    Last edited by ewaller (2014-08-23 23:33:53)

  • Problem in using context param for storing database connection information

    Hello Friends,
    I am new to struts & jsp.I am developing a project in struts.I have 1 jsp page called editProfile.jsp.On submitting this page it will call 1 action class.The action class in turn will call the Plain old java class where I have written the logic for updating User Profile.
    I have created context-param in web.xml for database connection information like dbURL , dbUserName , dbPassword , jdbcDriver.Now I want to use these connection information in my Business logic(Plain Old Java Class).As we can use context parameter only in jsp & servlets , I am setting the variables of my business logic class with these context param in jsp itself.
    now when I am calling the updateProfile method of Business logic class from Action class it is giving error as all the connection variables which I set in jsp for my business logic class has become null again.
    I am not getting.If once I have set those variables how come they are becoming null again???Please help me.Any Help will be highly appreciated.Thanx in advance.

    This is the code I have written
    web.xml file
    <context-param>
    <param-name>jdbcDriver</param-name>
    <param-value>oracle.jdbc.driver.OracleDriver</param-value>
    </context-param>
    <context-param>
    <param-name>dbUrl</param-name>
    <param-value>jdbc:oracle:thin:@localhost:1521:gd</param-value>
    </context-param>
    <context-param>
    <param-name>dbUserName</param-name>
    <param-value>system</param-value>
    </context-param>
    <context-param>
    <param-name>dbPassword</param-name>
    <param-value>password</param-value>
    </context-param>
    EditProfile.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page import="java.sql.*" %>
    <jsp:useBean id="EditProfile" scope="application"
    class="com.myapp.struts.EditProfile"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Edit My Profile</title>
    </head>
    <body>
    <form action="submitEditProfileForm.do" focus="txt_FirstName" method="post">
    <%
    EditProfile.setjdbcDriver(application.getInitParameter("jdbcDriver"));
    EditProfile.setdbURL(application.getInitParameter("dbURL"));
    EditProfile.setdbUserName(application.getInitParameter("dbUserName"));
    EditProfile.setdbPassword(application.getInitParameter("dbPassword"));
    -----------more code goes here------------
    EditActionProfile.java
    package com.myapp.struts;
    import javax.servlet.jsp.jstl.core.Config;
    import org.apache.struts.action.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    public class EditProfileAction extends Action {
    public EditProfileAction()
    public ActionForward execute(
    ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws Exception
    try
    if (isCancelled(request))
    return mapping.findForward("mainpage");
    EditProfileForm epf = (EditProfileForm)form;
    EditProfile ep = new EditProfile();
    String temp = ep.updateProfile(epf.getTxt_FirstName(),epf.getTxt_MiddleName() , epf.getTxt_LastName() , epf.getTxt_Address() , epf.getTxt_Email() );
    if(temp.equals("SUCCESS"))
    return mapping.findForward("success");
    else
    return mapping.findForward("failure");
    catch(SQLException e)
    System.out.println("error" + e.getMessage());
    return mapping.findForward("failure");
    EditProfile.java class (My Business Logic Class)
    package com.myapp.struts;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.*;
    public class EditProfile {
    private String dbURL;
    private String dbUserName , jdbcDriver;
    private String dbPassword;
    private Connection con;
    private Statement stmt;
    public EditProfile()
    public void setdbURL(String s )
    this.dbURL = s;
    public void setdbUserName(String s )
    this.dbUserName = s;
    public void setdbPassword(String s )
    this.dbPassword = s;
    public void setjdbcDriver(String s )
    this.jdbcDriver = s;
    public String updateProfile(String firstname , String middlename , String lastname , String address , String email)
    throws SQLException, ClassNotFoundException , java.lang.InstantiationException , IllegalAccessException
    try
    String s1 = new String("update usr set first_name='" + firstname + "' , middle_name='" + middlename + "' , last_name='" + lastname +"' , address='" + address + "' , email_id='" + email + "' where usr_key=1" );
    con = this.init();
    System.out.println("after init");
    stmt = con.createStatement();
    int rslt = stmt.executeUpdate(s1);
    System.out.println("after excute update");
    stmt.close();
    if(rslt>=1)
    return "SUCCESS";
    else
    return "Failure";
    finally
    if (null != con)
    con.close();
    public Connection init() throws SQLException, ClassNotFoundException
    Class.forName(jdbcDriver);
    con = DriverManager.getConnection(dbURL, dbUserName, dbPassword);
    return con;
    public void close(Connection connection) throws SQLException
    if (!connection.isClosed())
    connection.close();
    }

  • [SOLVED] Kernel panic for an unknown reason

    [Solved] Steps done to solve it:
    0. Panic because I couldn't play starcraft2 (this step is sooo important! ;)
    1. Updated my mirrorlist.
    2. Forced a refresh on the package list from the new mirrorlist. "pacman -Syy"
    3. Downgraded the kernel.
    4. Deleted the latest kernel package from the pacman cache.
    5. Updated the system. (pacman -Syu)
    6. Thanked lilsirecho for helping out!
    7. Profit
    Hi all
    I just did a "pacman -Syu" this afternoon and after that I'm getting kernel panics for unknown reasons.
    edit: I had kernel 3.0.4 befure syu and I have kernel 3.0.7 now. I tried downgrading wine and the kernel with no success.
    It first happened when I tried to run StarCraft2 with wine. I even created a post looking for help because of that.
    Later on I tested another game, just in case, and it crashed too.
    Looks like a wine problem, right? Or even a graphics driver problem.
    That's what I thought too. But then I tried to update with "yaourt -Syu --aur" and in the first package compression it freezed once again. And it does fail everytime I try to update with yaourt during the compression phase.
    What do this situations have in common?
    My opinion is that they all require a lot of resources. StarCraft 2 puts my PC at 100% almost all the time. The other game is pretty old, but it freezed during an "environment loading" phase, right when the map was loading. The compression phase of yaourt also consumes a lot of resources.
    This is my view of this problem, but I could be completely wrong.
    What I need is help finding what is the real source of this kernel panics. I don't know where to look for the logs or the error reports when a kernel panic occurs.
    I hope someone can help me trace the problem somehow. I think I'm lost
    ty in advance.
    cheers!
    Last edited by fatum (2011-11-10 23:16:10)

    lilsirecho wrote:
    Possibly caused by a mirror download.
    Perhaps you need to revert kernel and insure you have the latest mirrorlist and then syu again.
    When I saw your response I thought: "Why should that be true? I downgraded the kernel with no success. Doesn't make much sense".
    But then I did what you said:
    Downgraded the kernel back to 3.0.4.
    Moved the latest mirrorlist.pacnew I had to be the mirrorlist in use.
    Then did a "pacman -Syyu".
    And, miraculously, it works fine now.
    How in the world did you know that could be the reason? It would have been the last possibility I would have thought about, no doubt about that
    Thank you very much lilsirecho. Your post really helped me.
    Not gonna mark this as SOLVED yet. Yesterday I marked my other thread as solved too soon and I regretted my decision.
    I will leave a 1week time-frame to be 100% sure that it is fixed, just in case.

  • What is the latest kernel version for OL6

    Hi,
    After a yum update, this is what I got:
    2.6.32-300.39.1.el6uek.x86_64
    I am using a SSD and it seems (based on en.wikipedia.org/wiki/TRIM) that
    support for ATA TRIM was added in 2.6.33.
    My question is what is the latest kernel version for OL6?
    Thanks,
    Zhe

    alwu wrote:
    My question is what is the latest kernel version for OL6?2.6.39-300.17.2 (which is actually 3.0.17 under the hood) is available in the ol6_x86_64_UEK_latest channel. You will need to modify your ULN channel subscription or which channels are enabled from public-yum.oracle.com to install this kernel.
    Edited by: Avi Miller on Dec 6, 2012 10:41 AM

  • What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?

    What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?

    Hi,
    Login to  http://service.sap.com/swdc using your S user-id
    Serach for kernel
    Check for your relevent kernel patch (unicode/non-unicode , NW release etc.)
    Regards,
    Rajneesh

  • Calculating Kernel parameters for Oracle 11g R2 db on solaris 10u9

    Hi Everyone,
    I have query regarding calculating the kernel parameters for deploying oracle 11g R2 db on solaris 10 v 5.10 update 09 machine , we have Ram size of 64gb.
    My question is how to calculate shared memory ,shared memory identifiers,semaphores, semaphores identiifiers for creating resource control for the project(user.oracle).
    And how to fine out the available semphore values allocated in system..
    Thanks in Advance.
    Edited by: 898979 on Dec 15, 2011 10:24 PM

    Hi;
    For those setting mention in installation guide which is already shared previous post.
    I suggest also see:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Regard
    Helios

  • Last kernel patch for Solaris 10 x86 screwed up my kernel

    Hi,
    The last kernel patch for Solaris 10 x86 (sorry I can�t remember the patch id, but the revision is 30), available from Sun Update Manager screwed up my system.
    The system is still booting but in maintenance mode: smf can't start because of repository corrupted. Given instructions to restore the repository does not work because / filesystem is mounted read-only...
    As I am not a solaris expert, I will reinstall it from CD. I hope I won't loose the filesystem.
    I was used to blindly trust Sun solaris patches, that was a mistake.
    Laurent.

    i dont know why but still i do get default log in into the single mode
    after startup
    Requesting maintenance mode
    (See /lib/svc/share/README for aditional information. )
    Root password for system maintenance (control-d to bypass):i did removed the patch installed before so now
    SunOS jorgito 5.10 Generic_118844-26 i86pc i386 i86pcand finaly i do have milestone like this
    bash-3.00$ svcprop restarter | grep mile
    options/milestone astring svc:/milestone/multi-user:default
    dont know what to do else, also tried to synchronize boot-archive from solaris failsafe ...

Maybe you are looking for

  • Is there a way to change the order in which iTunes searches for new podcasts?

    When I tell iTunes to update podcasts, it searches for them in the order that I have subscribed to them. However, most of my favorite podcasts I've started listening to only very recently, so on a day with a large number of new podcasts I have to wai

  • Pur. req. not created for Dep.req. of Sub. Contracated Material after MRP

    Hi Guys, Pl. observe the below scenario, Our client scenario is Make-To-Order      u2022     Sales order is created for FG material in plant "0001" u2022     Material BOM is created for FG material in Plant "0001" with 10 raw materials u2022     Rout

  • Black specs on right side of paper

    I have very small black specs being printed on the very edge of the right side of the paper, on the front.  If I use the duplexer the specs are on the same side of the paper on the back, so it's coming from the right side of the printer.  I do see a

  • Difference b/w BI EE and BI EE Plus

    Hi all, anybody knows about the main difference in Oralce BI EE and Oracle BI EE Plus ?? Advance thanks :-)

  • Itunes hates me, please help

    ok first some background info, i have 3 computers 1 (my net book) i take to work then i connect to my projector at home and use as my main computer (now running windows xp) 2 my server pc running ubuntu desktop but holds all my media and my own perso