Compile error in C++ 5.8 when using typedef

Hello all,
I am new to using Sun Studio 11 C++ 5.8 compiler.
an error occurs to me when I put this line on my header file
typedef DWORD int;
line6: Error: "," expected instead of "int".
When I replace the line with this line
typedef DWORD ,;
then the error disappers.
I tried compiling it using g++ and I encounter no problems.
I am using Solaris 10 and I installed patched the C++ 5.8 compiler with patch 121017-10
I don't know what is causing the problem..
Please help.
Thanks in advance.
Marc Glenn

You've probably meant
typedef int DWORD;
That is, if you wanted to define alias for type int named DWORD.

Similar Messages

  • Compiler error in 9.0.3 when deploying using jdk1.4.1rc

    Hi, I'm trying to deploy an application into iAS9.0.3. The server is started with jdk1.4.1rc. However, I'm getting a compiler error (see below). When compiling with jdk1.3.1 everything is working fine, but I need to use the new API's in 1.4. Can anyone help me out here? Will 9.0.3 be certified for jdk 1.4 when the production version is released?
    Thanks
    /Johannes
    Auto-deploying OPS-EJB (No previous deployment found)... OPS_StatelessSessionBeanWrapper0.java:11: cannot access java.lang.Object
    bad class file: D:\j2sdk1.4.1\jre\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    public class OPS_StatelessSessionBeanWrapper0 extends com.evermind.server.ejb.RemoteStatelessSessionEJBObject implements com.novamedia.ops.ejb.OPS
    ^
    1 error
    Error compiling D:\eclipse-projects\ops-application\OPS-EJB: Syntax error in source

    OC4J 9.0.3 production will be certified with JDK 1.4.
    You can try the work arounds discussed in http://forums.oracle.com/forums/message.jsp?id=767439 to get it working with JDK 1.4
    regards
    Debu

  • Error in begining a session when using UTF16 mode in OCIEnvNlsCtreate

    I wrote this code :
    OCIEnv* envhp;
    OCIError* errhp;
    OCIServer* srvhp;
    OCISvcCtx* svchp;
    OCISession* usrhp;
    envhp = (OCIEnv *) 0;
    errhp = (OCIError *) 0;
    srvhp = (OCIServer *) 0;
    svchp = (OCISvcCtx *) 0;
    usrhp = (OCISession *) 0;
    int mode = OCI_DEFAULT;
    char* dblink=/* DBLINK */;
         sword status;
    OCIEnvNlsCreate ( &envhp, (ub4) mode, (dvoid *)0,(dvoid*(*)(dvoid ctxp, size_t size))0,(dvoid(*)(dvoid ctxp, dvoid memptr, size_t newsize))0,(dvoid (*)(dvoid ctxp, dvoid memptr))0,(size_t)0, (void **)0, (ub2)OCI_UTF16ID, (ub2)OCI_UTF16ID);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&errhp, (ub4)OCI_HTYPE_ERROR,(size_t)0, (dvoid**)0);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&srvhp, (ub4)OCI_HTYPE_SERVER,(size_t)0, (dvoid**)0);
    status = OCIServerAttach(srvhp, errhp, (text*)dblink,(sb4)strlen(dblink), (ub4)OCI_DEFAULT);
    if (status != OCI_SUCCESS)
    return 0;
    char username = /username*/;
    char password = /password*/;
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&svchp, (ub4)OCI_HTYPE_SVCCTX,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)svchp, (ub4)OCI_HTYPE_SVCCTX, (dvoid*)srvhp, (ub4)0,(ub4)OCI_ATTR_SERVER, errhp);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&usrhp, (ub4)OCI_HTYPE_SESSION,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)username,(ub4)strlen(username), (ub4)OCI_ATTR_USERNAME, errhp);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)password,(ub4)strlen(password), (ub4)OCI_ATTR_PASSWORD, errhp);
    status = OCISessionBegin(svchp, errhp, usrhp, OCI_CRED_RDBMS, (ub4)OCI_DEFAULT);
    When I use OCI_UTF16ID in OCIEnvNlsCreate it gives me an error in OCISessionBegin. But when I use 871(utf8) instead it works properly. Why does this happen? How can I work whit OCI_UTF16ID?

    Re: OCIObjectSetAttr() and UTF16 environnement might be of interest, even though it's a little different. Still relates to UTF16 though. --DD                                                                                                                                                                                                                                                                                                                                           

  • Error in Acrobat 9.0 when using png prediction for flatedecode filter

    Hi,
    I am creating a PDF using png prdiction and Acrobat 9.0 shows the following error: "insufficient data for an image". The same PDF doesn't show error when using Acrobat 7.0 or any other application to view it. A typical code is as following:
    "10 0 obj <</Length 7100038/Filter FlateDecode/DecodeParms<</BitsPerComponenet 8/Colors 4/columns 1103/Rows 1000/Predictor 15>>....etc."
    Does anyone have idea what can be the problem & how can I solve it???
    Thanks
    Ilana Keydar

    Attached is another PDF which I have added png prediction to the flatedecode
    filter of the images in order to get better compression. This file can't be
    open at all using Acrobat 9.0, but can be viewed using other PDF tools.
    I have also uploaded another PDF to the forum.
    I hope you can help me
    Ilana

  • QueryError "It is error for context item undefined when using[err:XPDY0002]

    Hi,
    I a beginner for DB XML with python, below is my script and i have error
    "def next(*args): return _dbxml.XmlResults_next(*args)
    RuntimeError: Error: It is an error for the context item to be undefined when using it [err:XPDY0002], <query>:1:12" when i executed my scripts. Pls advice. Thank you.
    import sys
    from dbxml import *
    from bsddb3.db import *
    class DbXml:
    def createEnvironment(self, home):
    """ Create DBEnv and initialize XmlManager"""
    try:
    environment = DBEnv()
    environment.open(home, DB_RECOVER|DB_CREATE|DB_INIT_LOCK|
    DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN, 0)
    except DBError, exc:
    print exc
    sys.exit()
    try:
    mgr = XmlManager(environment, 0)
    except XmlException, se:
    print se
    sys.exit()
    return mgr
    def closeEnvironment(self):
    """ Close DBEnv environment"""
    environment = DBEnv()
    environment.close()
    def createContainer(self, mgr, containerName):
    """ Create/open a node container"""
    if mgr.existsContainer(containerName) != 0:
    mgr.removeContainer(containerName)
    try:
    return mgr.createContainer(containerName,
    DBXML_TRANSACTIONAL|DBXML_ALLOW_VALIDATION,
    XmlContainer.NodeContainer)
    except XmlException, ex:
    print ex
    sys.exit()
    def putDocument(self, mgr, cont, file, DocName):
    """ put xml document in database"""
    self.docName = DocName
    f = open(file)
    q = f.read()
    f.close()
    try:
    # all Container modification operations need XmlUpdateContext
    uc = mgr.createUpdateContext()
    txn = mgr.createTransaction()
    try:
    docName = cont.putDocument(txn, self.docName,
    q, uc) #, DBXML_GEN_NAME)
    txn.commit()
    except XmlException, ex:
    print ex
    txn.abort()
    txn = mgr.createTransaction()
    doc = cont.getDocument(txn, self.docName)
    name = doc.getName()
    docContent = doc.getContentAsString()
    txn.commit()
    print "Document name: ",name,"\nContent: ",docContent
    except XmlException, inst:
    print inst
    if txn:
    txn.abort()
    def query(self, mgr, cont, queries):
    """ Query"""
    myQuery = r"collection(" + cont + ")" + "/" + queries
    myContainer = mgr.openContainer(cont)
    qContext = mgr.createQueryContext()
    qContext.setEvaluationType(XmlQueryContext.Lazy)
    results = mgr.query(myQuery, qContext)
    for value in results:
    document = value.asDocument()
    name = document.getName()
    content = value.asString()
    print name, ":", content
    if __name__ == "__main__":
    dbxml = DbXml()
    mgr = dbxml.createEnvironment(".")
    cont = dbxml.createContainer(mgr, "test.dbxml")
    dbxml.putDocument(mgr, cont, "C:\Documents and Settings\uidc0998\Desktop\\books.xml", "books.xml")
    dbxml.query(mgr, "test.dbxml", "bookstore/book/title")
    dbxml.closeEnvironment()
    Edited by: user10951778 on Mar 31, 2009 5:47 PM

    Hi rucong.zhao,
    Below is my xml, may i know what type of namespace or what i should put for namespace? Thank you.
    <bookstore>
    <book category="COOKING">
    <title lang="en">Everyday Italian</title>
    <author>Giada De Laurentiis</author>
    <year>2005</year>
    <price>30.00</price>
    </book>
    <book category="CHILDREN">
    <title lang="en">Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
    </book>
    <book category="WEB">
    <title lang="en">XQuery Kick Start</title>
    <author>James McGovern</author>
    <author>Per Bothner</author>
    <author>Kurt Cagle</author>
    <author>James Linn</author>
    <author>Vaidyanathan Nagarajan</author>
    <year>2003</year>
    <price>49.99</price>
    </book>
    <book category="WEB">
    <title lang="en">Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
    </book>
    </bookstore>

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Error Message in UIX Editor when using a custom parameter to a template

    In my UIX template, I have a custom attribute "selectedTab", as advised in the documentation:
    <type base="ui:pageLayout">
    <!-- define the template's type information -->
    <namedChild name="topHead"/>
    <attribute name="selectedTab" javaType="int"/>
    </type>
    I use it in the UIX file, again as advised by the doc:
    <myTemplate:SalmonTrap title="SalmonTrap - Live Accounts" xmlns:myTemplate="salmontrap" selectedTab="0">
    It works but I get the following message when I compile or try to GUI edit:
    Error(0,0): Attribute selectedTab not defined on element myTemplate:SalmonTrap
    What do I do wrong?

    Eric,
    That should work and not show the usage of selectedTab as an error. (You may need to restart JDev after creating the template for it to work right.) In fact, when you select the SalmonTrap component in the structure pane, the property inspector should actually show you that selectedTab is an attribute you can set. I can make this work.
    One other thing to check: is the UIT in the same project as the UIX file? I'm not positive this is required for the design-time to work, but it may be.
    -brian
    Team JDeveloper/UIX

  • My compile shell script can't work when using flex4 sdk beta2

    I worked with flex4 sdk beta 1, and the compile script worked well. for example:
    mxmlc -debug=true -output=../main.swf -source-path ./src /usr/local/software/flash/open_source -- ./src/main.as
    But, when i chang into beta2, it shows some errors which are about  RSL things as the follows:
    D:\setup_bak\flashbuilder4beta2\testFlex4.as: 警告: 此编译单元不包含在 Frame 元
    数据中指定的 factoryClass,无法加载配置的运行时共享库。要在没有运行时共享库的情
    况下进行编译,请将 -static-link-runtime-shared-libraries 选项设置为 true,或删除
    -runtime-shared-libraries 选项。
    So I use -dump-config option to generate a config xml, when i using the config xml, i got an error as the follows:
    错误: 必须指定目标文件
    使用“mxmlc -help”可获得有关如何使用命令行的信息。
    Any one can tell me why?
    sorry for my english, i don't known whether i describe my problem clearly. Thank for reading this thread.

    Compile success when i set -static-link-runtime-shared-libraries=true.
    I thought that the size of swf would increase a lot because of a static link, but the size is 727 byte..
    yes, it is a pure AS app extends Sprite. The code is so simple:
    package
         import flash.display.Sprite;
         public class testFlex4 extends Sprite
             public function testFlex4()
    the compile cmd which got an error is simple too:
    mxmlc -debug=true -output=testFlex4.swf -source-path ./ -- testFlex4.as
    the compile cmd which works find is:
    mxmlc -debug=true -static-link-runtime-shared-libraries=true -output=testFlex4.swf -source-path ./ -- testFlex4.as
    When you said "file a bug", you meant "adobe bug system" at "http://bugs.adobe.com/jira/secure/Dashboard.jspa"??
    I signup an account half an hour ago, but i cant login with it...and i can't get an "forget password" email..it seems that i blew it..i am so sorry for this..

  • Getting AADSTS50020 error on microsoft login page when using Azure Active Directory Authentication

    We have implemented Azure Ad single sign on using auto generated code from Visual studio 2013 with organization account authentication and its working fine.
    The problem is when user is logged in in azure management portal with his live account and in other tab he try to open our app, then he directly gets below error on Microsoft login page.
    Additional technical information:
    Correlation ID: 78e13474-6f92-40ec-b463-91e36a6dae84
    Timestamp: 2015-04-14 12:27:20Z
    AADSTS50020:
    User account '[email protected]' from external
    identity provider 'live.com' is not supported for application
    'https://xxxxx.onmicrosoft.com/xxxx'. The account needs to
    be added as an external user in the tenant. Please sign out and sign in
    again with an Azure Active Directory user account.
    It works fine if I log out from management portal. Is there any way to resolve this issue without forcing user to log out from live account(management portal)?

    I assume you created a web application using VS2013 which uses the WS-Federation protocol.
    The behavior that you are seeing is expected Single-sign-on because you are logged in using the live account in the management portal.
    For WS-Federation, there is no current way for a caller to specify they want to force a fresh login, so the behavior is always the equivalent of LoginBehavior.Normal.
    The user will need to either sign-out or use an in-private session in the browse.
    If you switch to openID connect(sample at
    https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet) and use the “prompt=login” query paramerter in the sign in request, this will force a fresh login.

  • Error "Object refernce not set" when using http context in Eventreceiver for Document Library,

    Hi,
    Httpcontext returning null values when I used in item adding event of document library.
    I have a document set home page which has document set properties(by default) and one OOTB document library is placed in the same page.When user clicking on upload documents in the ribbon I need to read the document set properties.
    when uploading the docs if I pass the Hardcoded item id of the document set I am getting the values of the document set in the item added event.
    now the problem, i have the id in the query string if i want to read the query string value using httpcontext in the itemadding event and pass it to item added event using httpruntime it is throwing "object reference error" .
    if any body has any solution/workaround how to read the context in the document library event receiver,please help me out.
    Thanks ,G1

    Hi,
    Did you use the HttpContext.Current method to get the current context?
    You can use the HttpContext.Current to check whether it works.
    There is a similar thread for your reference.
    http://stackoverflow.com/questions/1601352/how-to-obtain-the-httpcontext-in-event-handler
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Error (IES 10901) (WIS 10901) when using Excel 2010 file as data source..

    Hello,
    I have a annoying issue with using an excel 2010 file as a data source for a universe. Here is the background information.
    Setup.
    Client: Laptop running Win XP 32bit, Client tools installed with SP2 v9 (latest)
    Server: Win 2008 x64, BOE 4.0 SP2 v9  (latest)
    Task:
    1. On Client, with information design tool, created Project, DB Connection, Data foundation using an excel source on a share
    server\share\data.xlsx
    2.. Published everything to Repository
    3. Try to load univerise in Web Intelligence via creating a new report. I Drag accross the dimensions. When i go to preview data recieve error
    Database error: [Microsoft][ODBC Excel Driver] External table is not in the expected format.. (IES 10901) (WIS 10901)
    4. If i change the excel file to a 2003 format *.xls it all works correctly. Issue being that 2003 cannot hold as much data as a 2010 file so i need to use 2010.
    Extra Notes:
    1. Both the client and server have the latest Access drivers http://www.microsoft.com/download/en/details.aspx?id=13255
    2. Both client and server have a system DSN setup using the 32bit ODBC, same DSN names to the network share.
    3. The data excel source sits on the server on a share.
    4. I am believing that the isssue is within the area of BOE as when you connect to the excel file via ODBC using crystal 2011, you need to right click on the connection and tick "System Tables" to be able to use the excel 2010 file. The BOE Information design tool does not seem to have this option??
    Any advice with this would be great?
    thanks
    david

    Issue Resolved:
    Install
    Access Database Engine 2010 Service Pack 1 on the server
    http://support.microsoft.com/kb/2460011
    Reboot server once completed.

  • Error on executing fpclose.vi when using FP-1000 and two FP-TC-120 modules

    I have an error occuring in my LabVIEW program when closing the Field Point connections.
    I am using LV8.5 and im connecting to a FP-1000 controller (RS-232 native port) which connects to two FP-TC-120 modules, under XP.
    The error i get is 'Error 33589' caused by 'FPClose.vi', it is actually the second 'FPClose.vi' that produces the error as indicated in the picture by the giant arrow. Strangely it doesn't seem to have an effect of the program and it runs and disconnects as it should, its mostly just bugging me.
    I can't find this error listed anywhere, nor can i find a nice long list of the errors.
    I have a niggling feeling that when i close the FP read tags with the FPClose.VI i'm actually closing connection to the FP module and hence not closing the system down as was intended. 
    I would be grateful is someone would instruct me as to the cause of the error, and what i should be doing to correctly close down the FP module. 
    Solved!
    Go to Solution.
    Attachments:
    fperror33589.jpg ‏190 KB

    Well I managed to get to the bottom of the problem, it was not caused by FPClose!
    The errors where obviously being cascaded through FPClose and while the 'error out' stated that the source was the second 'FP Close.vi' it was actually from the second 'FP Read.vi'. The fact that the IAK was in a loop was not the cause of my problem, however it is a clear sign of poor programming!
    FieldPoint Read Error 33589 actually relates to the fact that some channels are deteremined to be OpenLoop. In my case i had all channels of the first bank connected to K-Type thermocouples, but only 2 channels of the second bank connected, and hence the error arose in the second 'FP Read' and cascaded to the second 'FP Close'. To consider it an error is actually a misnomer as it is actually a warning and does not have an influence on the running of the program.
    I believe the original example I posted was written for LV 6.1 and FP 3.x. I have updated my own example to the updated methods used in LV 2011 and FP 6.0.9, they run much smoother than the previous method! Hopefully this might help someone else in the future.
    Attachments:
    NewFPExample.jpg ‏106 KB
    NewFieldPointExample.vi ‏16 KB

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi,
    My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
    my web.xml contents are as follows:
    <?xml version="1.0"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>faces</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
    <init-param>
    <description>
    set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files below this limit are stored in
    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>Seam Redirect Filter</filter-name>
    <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
    </filter>
    <filter>
    <filter-name>KTServletFilter</filter-name>
    <filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Seam Redirect Filter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>KTServletFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- seam Listeners -->
    <listener>
    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>
    <listener>
    <listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsf</location>
    </error-page>
    </web-app>
    As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
    When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
    To solve this problem i've gone through several forums, materials.
    In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
    Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
    So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsp</location>
    </error-page>
    Any comments are welcome----------------------------------------------------------------

    I too iam facing the same problem could you advise if you have found any solutions
              -Ram

  • Error in Ant APT task when using exported WLP 10.3 Ant build scripts

    Hi -
    I'm trying to run the exported ANT build scripts for a default portal web app from the command line (either a windows shell or a cygwin shell) and I get the following error on both occasions :
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    More details :
    $ ant -v -Dworkspace=C:\\BEA\\Workspaces\\PortalTutorials\\workspace.xml
    Apache Ant version 1.7.1 compiled on June 27 2008
    Buildfile: build.xml
    Detected Java version: 1.6 in: c:\BEA_10.3\jdk160_05\jre
    Detected OS: Windows XP
    parsing buildfile c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml with URI = file:/c:/BEA/Projects/PortalTutorials/tutorial-portal-web/build.xml
    Project base dir set to: c:\BEA\Projects\PortalTutorials\tutorial-portal-web
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
    Build sequence for target(s) `build' is [init.env, check.params, check.versions, init.typedefs, init, build]
    Complete build sequence is [init.env, check.params, check.versions, init.typedefs, init, build, stage, archive, clean, clean.all, assemble, generated.root.init, assembly, stage.to.ear, ]
    init.env:
    [property] Loading Environment env.
    check.params:
    Property "env.WORKSHOP_WORKSPACE" has not been set
    check.versions:
    init.typedefs:
    [echo] Using Workshop Libraries located in the "C:\BEA\Workspaces\PortalTutorials\workshop-lib" directory.
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml
    Trying to override old definition of task apt
    [macrodef] creating macro structselector
    [presetdef] defining preset resolve
    [macrodef] creating macro for-each-java-src-path
    [macrodef] creating macro for-each-resource-path
    [macrodef] creating macro for-each-referenced-component
    [macrodef] creating macro for-each-referenced-project
    [macrodef] creating macro for-each-project-in-build-order
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml
    Trying to override old definition of task jspc
    init:
    Property "patch.home" has not been set
    build:
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\.apt_src because it already exists.
    [available] Found: src\main\java
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build\classes because it already exists.
    [apt] [web.content.root]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/webapp]
    [apt] [web.source.roots]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/java]
    BUILD FAILED
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:106: The following error occurred while executing this line:
    jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I tried using a lower JDK 1.5.x - but that failed as well (complaining that 1.6 was needed).
    Any help will be appreciated.
    Rgds/Deepak

    Hi,
    Have you find a solution for this problem?
    I have exactly the same one. I must build my web-services with some dependence compiled on java 1.6 so I need to use the APT task with a java 1.6 but the problem "Apt task requires Java 1.5+" appear.
    Thanks in advance for your answer.

  • Soft I/O error in ASM disk volume when using iostat commmand

    Dear All,
    We are having 2 node 11g rac/sun solaris 10/ASM storage, when we using iostat in node 2 getting soft I/O error keep on increasing.
    s/w h/w trn tot device
    *82 0 0 82 c4t600A0B80006766CD000003DF4B20A7FCd0*
    s/w h/w trn tot device
    0 0 0 0 md/d10
    0 0 0 0 md/d11
    0 0 0 0 md/d12
    0 0 0 0 md/d20
    0 0 0 0 md/d21
    0 0 0 0 md/d22
    0 0 0 0 md/d30
    0 0 0 0 md/d31
    0 0 0 0 md/d32
    0 0 0 0 md/d40
    0 0 0 0 md/d41
    0 0 0 0 md/d42
    0 0 0 0 md/d50
    4 0 2 6 c0t0d0
    0 0 0 0 c1t2d0
    0 0 0 0 c1t0d0
    0 0 0 0 c1t4d0
    0 0 0 0 c1t1d0
    2 0 0 2 c3t203200A0B86766CDd31
    0 0 0 0 c4t600A0B80006766CD000003E14B20C891d0
    40 0 0 40 c4t600A0B80006766CD000003DF4B20A7FCd0
    0 0 0 0 c4t600A0B80006766CD000003DD4B20A57Fd0
    0 0 0 0 c4t600A0B80006766CD000003C34B0D2D31d0
    2 0 0 2 c4t600C0FF0000000000859635DB0097B00d0
    2 0 0 2 c4t600C0FF000000000085963724A889B00d0
    2 0 0 2 c4t600C0FF0000000000859635AFC5A7F02d0
    2 0 0 2 c4t600C0FF0000000000859635AFC5A7F01d0
    2 0 0 2 c4t600C0FF0000000000859635AFC5A7F00d0
    2 0 0 2 c2t202200A0B86766CDd31
    0 0 0 0 c4t600A0B80006766CD000052274FD0B057d0
    1 0 0 1 c4t600C0FF0000000000859635DB0097B02d0
    2 0 0 2 c4t600C0FF000000000085963565767D300d0
    2 0 0 2 c4t600C0FF00000000008596326C5F42901d0
    1 0 0 1 c4t600C0FF00000000008596326C5F42900d0
    1 0 0 1 c2t203300A0B86766CDd31
    0 0 0 0 proddb2.zakathouse.org:vold(pid672)
    please advice me how to troubshoot and fix this error
    Thanks & Regards

    Hi,
    I suggest to have a look at following script which is provided by oracle to monitor IO.
    ASMIOSTAT Script to collect iostats for ASM disks [ID 437996.1]
    Further this i have questions
    1) Are you logged in asm sysasm? Make sure that you have proper rights
    2) Did you check the liveness of asm instance? Make sure its up and functional also check the asm alert.log for awareness.
    Hope this helps

Maybe you are looking for

  • Any way to view (embed) PDF with layers on a website?

    Hi! I have a PDF file of a map that has layers like water, terrain, roads, city/country names etc.. I would like to embed that PDF file into my website and preserve those layers so that people visiting the website could turn on and off those layers.

  • How many computers can I put Photoshop on?

    I read somewhere that you can have it on up to two comptuters (home and work) but only one may be used at a time. But can it be installed on two laptops? my other question is if i were to get a macbook next year would i be able to transfer my photosh

  • Acrobat X Pro?

    Has anyone in the group started using Acrobat X Pro for the Mac? Can anyone clarify what it costs to upgrade from the Acrobat 9 Pro version that's included with CreativeSuite CS5 Design Premium? I just had a REALLY confusing phone conversation with a

  • How to install Windows XP on V65x

    I have a V65X and I want to install Windows XP Pro and JDS on this system. I successfully install JDS but I couldn't install Windows XP because it couldn't recognize the scsi disk in the system. Please advice how can I do install Windows XP on V65X s

  • MBP Core Duo 2.16Ghz Display Problem

    After watching an hour of steve jobs and bill gates D5, my MBP display now doesn't display normally anymore. The display is discolored, the color is all whacked out. I don't know what happen, i ran the hardware test and it found nothing. I suspect th