Possible bug in ccfe when using Apache STL

Environment details:
Solaris 10 @ patch version 148888-03
Sun Studio 12.3 (5.12, 2011/11/16)
  I'm attempting to get boost 1.54 to build with this version of Sun Studio.  I ran into a number of issues when trying to get it to build with stlport4 (let alone the default STL implementation) and decided to try the apache STL.
  At one point when trying to build boost I ran into an error and as I delved into the problem I've discovered something extremely weird.  I've been unable to reduce this to a simplified example, so I'll apologize ahead of time when I say you'll need to get the boost source code to see this happen.  Here's the steps:
~  cd /tmp
~  gtar xf ~/Downloads/boost_1_54_0.tar.gz
~  cd boost_1_54_0/
~ BUILD_COMMAND=CC -library=stdcxx4 -I. libs/log/src/process_id.cpp
  ~ ${BUILD_COMMAND} -c
"/usr/include/stdcxx4/loc/_num_put.cc", line 67: Error: The prior declaration for std::num_put<std::_CharT, std::_Iter>::~num_put() has no exception specification.
1 Error(s) detected.
That build command is clearly simplified from what it would've been during a normal boost build, but since it reliably reproduces the error I've omitted the rest of the flags.
My environment is pretty clean; I'll quote variables that could be considered relevant:
~ env | ggrep -P 'PATH|SHELL|LANG|HOSTTYPE|OSTYPE|VENDOR|MACHTYPE|LC_TIME|LC_CTYPE
PATH=/opt/csw/bin:.:/usr/bin:/bin:/usr/local/bin:/bin:/sbin:/opt/sfw/bin
LANG=C
OSTYPE=solaris
VENDOR=sun
MACHTYPE=sparc
LC_CTYPE=C
LC_TIME=C
I'll demonstrate what I consider odd below; it'll probably be more clear through shell examples than from me describing it.  Wherever you see ${BUILD_COMMAND}, it's the same as above:
~ ggrep -lRIP '_num_put.cc' /usr/include $(gfind ${SUNPRO_INSTALL_PATH}/ -type d -name include)
/usr/include/stdcxx4/loc/_num_put.c
/usr/include/stdcxx4/loc/_num_put.cc
/usr/include/stdcxx4/loc/_num_put.h
${SUNPRO_INSTALL_PATH}/prod/include/CC/stlport4/stl/_num_put.h
~ truss -eaf ${BUILD_COMMAND} -c 2>&1 | ggrep -P 'open.*_num_put\.c'
1729: open("/usr/include/stdcxx4/loc/_num_put.cc", O_RDONLY) = 8
... so clearly it's not going through _num_put.c, so it can't be going through the stlport4 header to do it; that means it must be going through _num_put.h (none of the boost headers or code files use this _num_put thing directly)
~ ${BUILD_COMMAND} -c -H 2>&1 | ggrep -P '^\s.*_num_put\.c'
The fact this last one didn't print anything seemed really odd.  This next one is the weirdest though:
~ ${BUILD_COMMAND} -P
~ gsed -e '/^#/d' libs/log/src/process_id.i
~ CC -library=stdcxx4 libs/log/src/process_id.i -c
... produces no errors.  It builds just fine.  Furthermore, if you look at the output in the .i file (or if you use -E instead of -P) you won't see any of the code from _num_put.cc because the pre-processor doesn't spit it out.
Another way to see that:
~ ${BUILD_COMMAND} -c -Qoption ccfe ++boolflag:prepoutstd=true 2>&1 | ggrep -P '~\s*_num_put'
You won't see the destructor it's complaining about from the above.  However, as I demonstrated above (and as the error message clearly demonstrates), it is in fact using the contents of _num_put.cc.
To put the final nail in the coffin, I looked at the output of using -xdumpmacros=%all (after examining how _num_put.h works) and this big of code sort of seals it for me:
~ ${BUILD_COMMAND} -c -xdumpmacros=%all 2>71 | ggrep -P '#define _RWSTD_DEFINE_TEMPLATE_(FIRST|LAST)'
/usr/include/stdcxx4/rw/_defs.h, line 1498: #define _RWSTD_DEFINE_TEMPLATE_FIRST(ignore) 0
/usr/include/stdcxx4/rw/_defs.h, line 1499: #define _RWSTD_DEFINE_TEMPLATE_LAST(ignore) 0
~ gtail -n 28 /usr/include/stdcxx4/loc/_num_put.h
#if _RWSTD_DEFINE_TEMPLATE_FIRST (_NUM_PUT)
# include <loc/_num_put.cc>
#endif /* ... more stuff ... */
There's another #if for _TEMPLATE_LAST later on with another #include line for _num_put.cc, but as demonstrated from the -xdumpmacros thing, both #if lines should not allow it to include _num_put.cc
I believe this is a bug in ccfe.  If there's a straightforward way to force the compiler driver to do the preprocessing and compiling in two steps I believe I could work around this issue, but I don't see a way to do that.
As an aside, could someone point out a way to get some information on undocumented commands and flags?  I found a way to get a listing, but figuring out what they actually do and when they're valid to use is another matter:
~ ${SUNPRO_INSTALL_PATH}/prod/bin/ccfe ++dumpswitches
  ~ ${SUNPRO_INSTALL_PATH}/prod/bin/ccfe ++dumpflags
-Brian

Based on your response to my question about forcing the use of a 3rd party pre-processor, I found I can make this build error go away with the -template=no%extdef option.  I was under the assumption that the compiler wouldn't take it upon itself to automatically 'discover' the .cc file and attempt to use it; I assumed once the pre-processing stage was complete it would only attempt to compile the output from the pre-processor stage.  Clearly that assumption was faulty.
Thank you for the response Steve.  I've put in for the IT team to get/install the updates for us.
-Brian

Similar Messages

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • Weblogic access.log when using apache plugin

    Hello,
    If I use the apache plugin with weblogic, what will be the IP address in
    access.log of weblogic ? Will they only be apache's IP ?
    Regards,
    Dom

    Is it possible that Apache itself is doing some url rewriting? I would
    suggest turning on debugging and check what is happening in the wlproxy.log.
    Set Debug ON in the httpd.conf.
    Regards,
    Eric
    "Volker Mader" <[email protected]> wrote in message
    news:3bf29c25$[email protected]..
    >
    Hi all,
    I am using Weblogic 5.1 SP 10 and Apache 1.3.19 on Solaris 7.
    When I am using the Weblogic Webserver on port 7001 the WebLogicSession isinvisible
    (it is a cookie).
    When using the apache plugin on Port 80 I get the WebLogicSession in theurl (not
    very nice).
    I have enabled cookies in my browser in both cases.
    Is there any way to get the sessionid as a cookie again?
    Thanks
    Volker

  • Exception when using Apache POI in ADF

    Goodmorning;
    i'm using jdev 11g, i m trying to use Apache POI to import the content of Microsoft XL file into my database.
    i already do that succesfully on netbeans. but not on jdev.
    first i download the POI package from the apache web site, and i create a librarie and add the jar files to the jdev by using Tools --> Manage Libraries, this is the list of the jar file : poi-3.6-20091214.jar, poi-contrib-3.6-20091214.jar, poi-ooxml-3.6-3-20091214.jar and poi-scratchpad-3.6-20091214.jar.
    next, create a jsf page with a boutton, then i enable the binding of this page by using Design --> Page Properties --> component binding --> check Auto Bind
    in the action method of the buton i put the following code :
    public String cb1_action() throws FileNotFoundException, IOException {
    Connection conn = null;
    String url = "jdbc:mysql://localhost:3306/";
    String dbName = "test";
    String driver = "com.mysql.jdbc.Driver";
    String username = "root";
    String userPassword = "";
    try {
    InputStream fs = new FileInputStream("/home/Rachid/test1.xls");
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    HSSFSheet sheet = wb.getSheetAt(0);
    HSSFRow row = null;
    for (Iterator rowIt = sheet.rowIterator(); rowIt.hasNext();) {
    row = (HSSFRow) rowIt.next();
    HSSFCell code = row.getCell(0);
    HSSFCell nom = row.getCell(1);
    HSSFCell dt = row.getCell(2);
    java.util.Date date = dt.getDateCellValue();
    System.out.println("code "+code+" % nom "+nom +" % date " +date);
    try {
    Class.forName(driver).newInstance();
    } catch (ClassNotFoundException e) {
    } catch (InstantiationException e) {
    } catch (IllegalAccessException e) {
    try {
    conn = DriverManager.getConnection(url+dbName,username,userPassword);
    } catch (SQLException e) {
    Statement stmt = null;
    try {
    stmt = conn.createStatement();
    } catch (SQLException e) {
    String strQuery = "insert into importxl values ("+code+",'"+nom+"','"+date.getDay()+"/"+date.getMonth()+"/"+date.getYear()+"')";
    System.out.println(strQuery);
    try {
    stmt.close();
    } catch (SQLException e) {
    try {
    conn.close();
    } catch (SQLException e) {
    } catch (FileNotFoundException e) {
    e.printStackTrace();
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    and when i run my page and click on the button, this exception page appear :
    Error 500--Internal Server Error
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         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.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         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: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 35 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
         at Mybean.bean1.wrc(bean1.java:23)
         at Mybean.MybeanImport.cb1_action(MybeanImport.java:53)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 43 more
    Caused by: java.lang.ClassNotFoundException: org.apache.poi.hssf.usermodel.HSSFWorkbook
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         ... 52 more

    Hi John,
    Ya ur right i too agree we can go for shared Libraries for reusable or massive apps but we still dont know whether OP is gng on the way and also i never said dont go for shared Libraries+
    May be he will be running the application locally for any testing purpose..... if it so i have suggested him not to keep the jar files in the folders outside the project....
    Why becoz incase the jar file kept in outside folder,
    if the folder gets deleted or some times if it kept in any shared folder and user loses the permission error will be thrown it cant be traced why the error gets throwned....
    if the jar is gng to be referred from local best way is to keep it in the project folder itself.............
    Regards,
    Suganth.G

  • Is it possible to add tooltip when using REUSE_ALV_GRID_DISPLAY

    All,
    Is it possible to add tool-tip when using REUSE_ALV_GRID_DISPLAY. I am using
    i_fieldcat_alv  TYPE slis_t_fieldcat_alv.
    slis_t_fieldcat_alv does not have a tool tip option.
    Your earlier response is much appreciated.
    Regards
    Kasi

    Looks like it is NOT possible to add our own text for tooltip when using REUSE_ALV_GRID_DISPLAY.
    See attached thread
    Re: quickinfo in ALV

  • [Bug] Finder crashes when using "Go To Directory" from Finder icon

    Hi,
    My finder crashes instantly and locks everything releated to it.
    This happens when i option/right click on finder and use "Go to directory" with a path name.
    I can restart the finder from the dock and/or kill the process.
    The finder won't crash when a finder window is already open..
    So when there isnt't a finder window open, it crashes when using this option.
    This is what i use:
    OSX Leopard 9A581 (Dutch/Netherlands as a main language)
    Intel Core Duo 1,83 Ghz
    Intel GMA950 Graphics
    2GB Non-ECC mem.

    Hi,
    My finder crashes instantly and locks everything releated to it.
    This happens when i option/right click on finder and use "Go to directory" with a path name.
    I can restart the finder from the dock and/or kill the process.
    The finder won't crash when a finder window is already open..
    So when there isnt't a finder window open, it crashes when using this option.
    This is what i use:
    OSX Leopard 9A581 (Dutch/Netherlands as a main language)
    Intel Core Duo 1,83 Ghz
    Intel GMA950 Graphics
    2GB Non-ECC mem.

  • Bug in Mail when using Google Apps Gmail and sync

    I found a bug in the sync process between the Mac and the phone. If you have Mail (on the computer) set to use Google Apps for Your Domain, the sync on the phone changes the user for the mail account. I assume this is because it sees "smtp.gmail.com" or something and decides to "protect" you from having an incorrect user account.
    So for example, if you're using Google Apps and your e-mail is [email protected], Mail (on the computer) will also have smtp.gmail.com and pop.gmail.com as the servers. When sync'd to the phone, iTunes or the phone decide to change the user account for both servers to [email protected]@gmail.com, which is of course not what we want.
    I'm kind of annoyed that they're trying to protect us like this.

    Yeah unfortunately if you tried to send an e-mail
    before discovering that bug, you will have an error
    message show every time you access Mail saying "the
    sender address [email protected]@gmail.com was
    rejected by the server."
    I can't get it to go away even by deleting the
    account on iPhone and not setting it to sync.
    Anybody know of a fix?
    -AJT
    Yes. Create the GMail account on your iPhone using the Other shortcut instead of the GMail shortcut. That will let you specify whatever address you want.

  • Not able to scale more than 1500 users when using apache (OHS),why ?

    Hi,
    When scale more than 1500 users, my applications response time degrades.If i use IIS as my webserver I am able to scale more than 3000 users, is there any bottleneck in the oracle apache (OHS) ?
    OHS Config
    Timeout = 300
    KeepAlive = ON
    MaxKeepAliveRequests = 100
    KeepAliveTimeout = 15
    MaxRequestsPerChild = 0
    ThreadsPerChild = 5000
    SendBufferSize = 16384
    MaxClients = 5000
    Regards
    Vino joy

    Hi Jean,
    Our application contains customised retail webcenter portal on which retail application is hosted.This portal application is not able to scale up more than 10 users.I had created portal application without the customised framework and then for a similar usecase it is able to scale upto more than 50 users but once it hits 100 VU mark it starts giving errors.If it were an issue with client tokens or login,I would have been able to have more than 1 user at a time.It seems to be an issue with custom framework developed on top of webcenter portal.I have faced a similar issue while testing for this app with jmeter also.I was able to test for the webcenter portal app without any customisation for more than 100 concurrent users. But I was not able to test for more than 1 user for customised retail webcenter portal
    Thanks,
    Ritesh
    Edited by: user766882 on Aug 21, 2012 8:25 AM
    Edited by: user766882 on Aug 21, 2012 8:33 AM

  • Error NO_RESOURCES when using Apache Plug-in for Weblogic

    Hi all,
    LoadModule weblogic_module modules/mod_wl.so
       OS.....: OEL 6.3 64 bits
       Weblogic Server: 12.1.0.2 (192.168.0.123)
       Apache: Apache/2.2.15 (Unix) (192.168.0.149)
       I am trying to configure the Apache Plug-in to forward the requests to the Weblogic Server. I already did all the configuration, but when i try to access a page, i get the following error in Apache's error.log:
    [Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 ) raised at line 1682 of URL.cpp
    [Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] weblogic: Trying GET /benefits/ at backend host '192.168.0.123/7006; got exception 'NO_RESOURCES: [os error=13,  line 1682 of URL.cpp]: apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 '
    [Wed Dec 03 18:25:44 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: request [/benefits/] did NOT process successfully..................
       My httpd.conf if configured as follows:
    Listen 8080
    LoadModule weblogic_module modules/mod_wl.so
    <IfModule mod_weblogic.c>
       WeblogicHost 192.168.0.123
       WeblogicPort 7006
    </IfModule>
    <Location /benefits>
       SetHandler weblogic-handler
    </Location>
    When i try to access the app deployed in Weblogic with the following address: "http://192.168.0.149:8080/benefits/" , i get the error mentioned above and the following error is displayed in my browser:
       Failure of Web Server bridge:
       No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
    What am i doing wrong?
    Thanks in advance.

    Hi all,
    I had some progress... i disabled the firewall (SELinux) on the Apache server. Before, i had just disabled the firewall from the Weblogic Server. Now, when i access the apache server, it redirects (sometimes, actually) the request to my Weblogic Cluster. Let's say that 50% of the time it works and the other 50% i get the error informed previously.
       I am using the apache user and the ulimit of this user is:
          [apache@vm-apache conf]$ ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 15915
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 1024
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
       From the Apache server (192.168.0.149), when i execute the "culr" command, i get the following message:
          [apache@vm-apache conf]$ curl http://192.168.0.123:7006/benefits
          <html><head><title>302 Moved Temporarily</title></head>
          <body bgcolor="#FFFFFF">
          <p>This document you requested has moved temporarily.</p>
          <p>It's now at <a href="http://192.168.0.123:7006/benefits/">http://192.168.0.123:7006/benefits/</a>.</p>
          </body></html>
       The message above represents a OK situation or a problematic one?
       Below you can see the last few lines of my Error Log and Access Log:
       ### error log ###
    [Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340514189468553> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID 
    [Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340314189468563> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
    [Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
    [Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
    [Thu Dec 18 20:54:21 2014] [error] [client 192.168.0.123] <340114189468603> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/
    [Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
    [Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: initJVMID: parseClusterServerList failure
    [Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/servlet
    [Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: initJVMID: parseClusterServerList failure, referer: http://192.168.0.149:8080/benefits/servlet
    [Thu Dec 18 20:54:56 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: request [/benefits/welcome.html] did NOT process successfully..................
    [Thu Dec 18 20:54:57 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: request [/benefits/welcome.html] did NOT process successfully.................., referer:http://192.168.0.149:8080/benefits/servlet
       ### access log ###
    192.168.0.123 - - [18/Dec/2014:20:54:15 -0300] "GET /benefits HTTP/1.1" 302 267 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5" 
    192.168.0.123 - - [18/Dec/2014:20:54:16 -0300] "GET /benefits/ HTTP/1.1" 200 5832 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    192.168.0.123 - - [18/Dec/2014:20:54:20 -0300] "POST /benefits/servlet HTTP/1.1" 200 492 "http://192.168.0.149:8080/benefits/" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    192.168.0.149 - - [18/Dec/2014:20:54:39 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    192.168.0.123 - - [18/Dec/2014:20:54:44 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "http://192.168.0.149:8080/benefits/servlet" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
    Is there any additional or recommended configuration for this solution to work properly?
    Thanks again for the attention and pacience.

  • What are the possible LdapException.ErrorCode values when using System.DirectoryServices.Protocols?

    When making Ldap calls using the System.DirectoryServices.Protocols Namespace classes and a request generates an LdapException the ErrorCode property contains a numeric value describing the error. However, I cannot find any documentation describing what
    the possible error codes are and what they mean. Is this documented somewhere?
    Thank you.
    -Dave Herrmann

    That should be the error code returned by the ldap_* native functions:
    https://msdn.microsoft.com/en-us/library/aa367014(v=vs.85).aspx

  • Bug in XSQLServlet when using the XSQLDMLHandler?

    Hi all & Steve,
    I am trying to call the XSQLDMLHandler as a nested Handler inside my own handler. But I always get this error message:
    XSQL-014: Resulting page is an empty document or had multiple document elements.
    I was checking the result for the call and it seems to be ok, I get the usual status message for my update. But when my actionhandler finishs and the XSQLServlet tries to carry on, I get the error above .
    I am doing this already with the XSQLQueryHandler and it works fine. So it seems to me that the XSQLServlet has a problem if the XSQLDMLHandler is called as a nested handler?
    Any suggestion or help will be appreciated.
    Thanks
    Peter

    Yeah unfortunately if you tried to send an e-mail
    before discovering that bug, you will have an error
    message show every time you access Mail saying "the
    sender address [email protected]@gmail.com was
    rejected by the server."
    I can't get it to go away even by deleting the
    account on iPhone and not setting it to sync.
    Anybody know of a fix?
    -AJT
    Yes. Create the GMail account on your iPhone using the Other shortcut instead of the GMail shortcut. That will let you specify whatever address you want.

  • Bug in CL_SALV_TREE when using ADD_AGGREGATION / SET_STYLE ?

    Hi Experts!
    I am trying to implement  CL_SALV_TREE for creating a tree report which will be capable of performing AVERAGE and TOTAL on numeric (INT / DEC) columns. Secondly, I am trying to change the color (style) of the cell (item) based on its value.
    To add aggregations I am doing something like this:
    DATA: lr_aggregations TYPE REF TO cl_salv_aggregations.
      lr_aggregations = gr_tree->get_aggregations( ).
      lr_aggregations->clear( ).
    TRY.
          lr_aggregations->add_aggregation( columnname  = 'BKJOB'
                                            aggregation = if_salv_c_aggregation=>total ).
          lr_aggregations->add_aggregation( columnname  = 'CNJOB'
                                            aggregation = if_salv_c_aggregation=>total ).
          lr_aggregations->add_aggregation( columnname  = 'AVCAP'
                                            aggregation = if_salv_c_aggregation=>total ).
        CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing.
      ENDTRY.
    And for changing the STYLE (background color) of a cell (item) I am using following code:
    TRY .
            LOOP AT it_nodes INTO wa_nodes.
              l_node_key = wa_nodes-key.
              nodes = gr_tree->GET_NODES( ).
              node = nodes->get_node( l_node_key ).
              item = node->get_item( 'BKCAP' ).
              lv_val = item->get_value( ).
              ASSIGN lv_val->* TO <lv_value>.
              IF <lv_value> GT '100.00'.
                item->set_style( lv_high ). "5 (Red)
              ELSEIF <lv_value> BETWEEN '80.00' AND '100.00'.
                item->set_style( lv_med ). "7 (Yellow)
              ELSEIF <lv_value> LT '80.00'.
                item->set_style( lv_low ). "6 (Green)
              ENDIF.
            ENDLOOP.
          CATCH cx_salv_msg.
        ENDTRY.
    The color changes work fine for leaf nodes but it doesn't if it is parent node. If I comment the aggregation code, it displays the color.
    I believe ADD_AGGREGATION method overrides the STYLE of the NODE ITEM.
    Is it a bug? Any fixes?
    Thanks & Regards,
    Aabhas K Vishnoi

    Actually, when you don't add the aggregations in your TREE, the Node record is exactly same as your very first Leaf so, it takes the same property as the Leaf's property. That's why we can see the color on the first node when we don't apply the Aggregations.
    Now, when we apply the aggregations, system applies its own Style on the NODE (Dark Blue color) and this style overrides the style of the Leaf.
    Regards,
    Naimesh Patel

  • Call to a possibly undefined method displays when using static function in Unit Test

    Hello!
    This has been driving me nuts. I am setting up unit tests for a static class which manages a collection of songs. This is how my unit test class looks:
    //START CODE
    package flexUnitTests {
              import com.myapp.managers.MusicManager;
              import flash.utils.Dictionary;
              import flexunit.framework.Assert;
              public class MyAppManagerTest {
                        [Before]
                        public function setUp():void {
                                  var songData:Dictionary = new Dictionary();
                                  songData["mn0012345"] = new Dictionary();
                                  songData["mn0012345"]["title"] = "All the Pretty Little Horses";
                                  songData["mn0012345"]["description"] = "by: American Traditional | Voice, Piano | 3 pages";
                                  MusicManager.setSongData(songData);
                        [Test]
                        public function test_getAuthorsBySKU():void {
                                  var expected:String = "American Traditional";
                                  var given:String = MusicManager.getAuthorsBySKU("mn0012345");
                                  Assert.assertEquals(expected, given);
    //END OF CODE
    You will notice two calls in red above. When I leave them in the code I see a variety of errors which look like this:
    "Call to a possibly undefined method '' through a reference with a static type com.myapp..."
    And
    "Access of possible undefined property '' through a reference with static type com.myapp..."
    Then, when I comment out the two lines in red above, these errors go away. Flash Builder seems really flakey to me. Often I notice that the error list varies, how can it just no longer be an error? Where did this new access error come from, in a no related part of the code, by adding or removing a function call to a static class which remains in the import statement.
    Note that the MusicManager contains no references to any of the UI mxml that is throwing these errors. It just simply loads data into a few globals and allows you to grab info.
    How is my usage of this function making foreign objects inaccessible?
    Please help!!! I am really hoping there is an answer but I have a bad feeling the answer is just that Flash Builder is flakey.

    I did some more work on the issue above. There are functions with in the MusicManager that call the UserManager to get a user's ID. When I comment out these calls then the access errors go away. Well the user manager has some calls back to mxml that tell the class that changes where made. My best guess is this is where it stems into the code that is randomly throwing errors. But, it compiles fine and runs fine on a device. Is there something with test cases which doesn't invoke the UI?

  • BUG: 11g problem when using orabpel.jar for tasklist page

    Hi,
    Using 11g i created a BC view object to show a BPEL/Workflow tasklist. Using the SOAP_CLIENT method i got this working. When i test my view object with the business component tester it works. When i create a taskflow with a page fragment that has a table based on the view object it is not working. I need to deploy (among others) the orabpel.jar library with the application because my view object implementation depends on it. As soon as i run the application however with the orabpel.jar deployed the browser keeps showing the Loading image but refuses to continue to load. I also do not get any error in the console or the domain and server log files. It looks like there is a problem with some classes in the orabpel.jar that get in the way of weblogic adf libraries.
    Does anybody have experience with 10.1.3 orabpel.jar library in combination with the new 11g weblogic stack? Can i somehow configure class loading in a way that weblogic classes have preference over orabpel.jar classes if they exist? Is there a way to increase logging so i can trace at what point the problem occurs? Any help would be greatly appreciated.
    Kind Regards,
    Andre
    Edited by: AJochems (Redora) on Nov 18, 2008 2:08 PM

    Hi,
    Traced the problem to be related to the use of ADF XML menus. When i remove them the problem disappears. So i have traced the problem although i still do not exactly know what is causing it. Since there are a lot of redundant (probably altered versions) of classes in the orabpel.jar library one of them gets in the way with a weblogic class that is used while rendering the ADF Menu. The problem should be reproducible if you create a menu based on the model of an adf menu and add the orabpel.jar to your deployment.
    Kind Regards,
    Andre

  • Linkage Error when using Apache SOAP 2.2 with Weblogic 6.1

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

Maybe you are looking for

  • Error while creating Materialized View step 3 of 6

    I have oracle 9i Rel 1 on Windows 2000 server. Master Site has been setup. Database links are created at Materialized view site. But while creating Materialized View Group there is following error on step 3 of 6. Statement:---------------- /*OracleOE

  • Error while activating queue XBTI*

    Hi All, When I triggered the message i have seen the message in Green Color in MONI. there by i went to SMQ2 and have seen the message that is strucked in the queue XBTI0001. After that i have deleted the queues from SMQ2 and De-registered the queues

  • Opening Excel Files from DB (blob column)

    My project has implemented a WEBUTIL solution to attach files into the database, view the files stored in the database (in a BLOB column), and remove the files stored in the database. Everything has been running smoothly. We are in final testing and

  • ADOBE 8.0 - ADOBE PRINT IS SET AS DEFAULT PRINTER

    Hello, When I convert a Word document to pdf (File/Print select Adobe PDF) in Acrobat 8 (Pro or Standard) the next time I go to print a Word document it prints with the Adobe PDF printer and not my default printer. This was not an issue in Acrobat 7.

  • What the best way to insert advertising before a movie?

    Hi! I've remarked on the web that many clips are precede by an advert. Does this advert is added in the code? Or, there is a way to tell the player to play first, the advert, and secondly the movie? Thanks for take to time to answers me. Daniel