Unable to create query.

Hello
I am new to jpa. When I create the "SELECT g FROM Game g WHERE g.player1_id=:user" I get the following error "unknown state or association field [player1_id] of class [entity.Game]".
Here are netbean's generated entity classes.
package entity;
import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
* @author Ara Yeritsian
@Entity
@Table(name = "game")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "Game.findAll", query = "SELECT g FROM Game g"),
@NamedQuery(name = "Game.findById", query = "SELECT g FROM Game g WHERE g.id = :id"),
@NamedQuery(name = "Game.findByState", query = "SELECT g FROM Game g WHERE g.state = :state"),
@NamedQuery(name = "Game.findByStartRulles", query = "SELECT g FROM Game g WHERE g.startRulles = :startRulles"),
@NamedQuery(name = "Game.findByStartDate", query = "SELECT g FROM Game g WHERE g.startDate = :startDate"),
@NamedQuery(name = "Game.findByClock", query = "SELECT g FROM Game g WHERE g.clock = :clock")})
public class Game implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@NotNull
@Column(name = "id")
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 16)
@Column(name = "state")
private String state;
@Basic(optional = false)
@NotNull
@Column(name = "start_rulles")
private short startRulles;
@Column(name = "start_date")
@Temporal(TemporalType.TIMESTAMP)
private Date startDate;
@Column(name = "clock")
private Integer clock;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "gameId")
private Collection<MoveHistory> moveHistoryCollection;
@JoinColumn(name = "player2_id", referencedColumnName = "id")
@ManyToOne
private User player2Id;
@JoinColumn(name = "player1_id", referencedColumnName = "id")
@ManyToOne(optional = false)
private User player1Id;
public Game() {
public Game(Integer id) {
this.id = id;
public Game(Integer id, String state, short startRulles) {
this.id = id;
this.state = state;
this.startRulles = startRulles;
public Integer getId() {
return id;
public void setId(Integer id) {
this.id = id;
public String getState() {
return state;
public void setState(String state) {
this.state = state;
public short getStartRulles() {
return startRulles;
public void setStartRulles(short startRulles) {
this.startRulles = startRulles;
public Date getStartDate() {
return startDate;
public void setStartDate(Date startDate) {
this.startDate = startDate;
public Integer getClock() {
return clock;
public void setClock(Integer clock) {
this.clock = clock;
@XmlTransient
public Collection<MoveHistory> getMoveHistoryCollection() {
return moveHistoryCollection;
public void setMoveHistoryCollection(Collection<MoveHistory> moveHistoryCollection) {
this.moveHistoryCollection = moveHistoryCollection;
public User getPlayer2Id() {
return player2Id;
public void setPlayer2Id(User player2Id) {
this.player2Id = player2Id;
public User getPlayer1Id() {
return player1Id;
public void setPlayer1Id(User player1Id) {
this.player1Id = player1Id;
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Game)) {
return false;
Game other = (Game) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
return true;
@Override
public String toString() {
return "entity.Game[ id=" + id + " ]";
* To change this template, choose Tools | Templates
* and open the template in the editor.
package entity;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
* @author Ara Yeritsian
@Entity
@Table(name = "user")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "User.findAll", query = "SELECT u FROM User u"),
@NamedQuery(name = "User.findById", query = "SELECT u FROM User u WHERE u.id = :id"),
@NamedQuery(name = "User.findByEmail", query = "SELECT u FROM User u WHERE u.email = :email"),
@NamedQuery(name = "User.findByPassword", query = "SELECT u FROM User u WHERE u.password = :password"),
@NamedQuery(name = "User.findByRating", query = "SELECT u FROM User u WHERE u.rating = :rating"),
@NamedQuery(name = "User.findByNickname", query = "SELECT u FROM User u WHERE u.nickname = :nickname"),
@NamedQuery(name = "User.findBySecurityQuestionAnswer", query = "SELECT u FROM User u WHERE u.securityQuestionAnswer = :securityQuestionAnswer")})
public class User implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@NotNull
@Column(name = "id")
private Integer id;
// @Pattern(regexp="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", message="Invalid email")//if the field contains email address consider using this annotation to enforce field validation
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 45)
@Column(name = "email")
private String email;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 45)
@Column(name = "password")
private String password;
@Basic(optional = false)
@NotNull
@Column(name = "rating")
private int rating;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 45)
@Column(name = "nickname")
private String nickname;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 45)
@Column(name = "security_question_answer")
private String securityQuestionAnswer;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "playerId")
private Collection<MoveHistory> moveHistoryCollection;
@OneToMany(mappedBy = "player2Id")
private Collection<Game> gameCollection;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "player1Id")
private Collection<Game> gameCollection1;
@JoinColumn(name = "security_question_id", referencedColumnName = "id")
@ManyToOne(optional = false)
private SecurityQuestion securityQuestionId;
public User() {
public User(Integer id) {
this.id = id;
public User(Integer id, String email, String password, int rating, String nickname, String securityQuestionAnswer) {
this.id = id;
this.email = email;
this.password = password;
this.rating = rating;
this.nickname = nickname;
this.securityQuestionAnswer = securityQuestionAnswer;
public Integer getId() {
return id;
public void setId(Integer id) {
this.id = id;
public String getEmail() {
return email;
public void setEmail(String email) {
this.email = email;
public String getPassword() {
return password;
public void setPassword(String password) {
this.password = password;
public int getRating() {
return rating;
public void setRating(int rating) {
this.rating = rating;
public String getNickname() {
return nickname;
public void setNickname(String nickname) {
this.nickname = nickname;
public String getSecurityQuestionAnswer() {
return securityQuestionAnswer;
public void setSecurityQuestionAnswer(String securityQuestionAnswer) {
this.securityQuestionAnswer = securityQuestionAnswer;
@XmlTransient
public Collection<MoveHistory> getMoveHistoryCollection() {
return moveHistoryCollection;
public void setMoveHistoryCollection(Collection<MoveHistory> moveHistoryCollection) {
this.moveHistoryCollection = moveHistoryCollection;
@XmlTransient
public Collection<Game> getGameCollection() {
return gameCollection;
public void setGameCollection(Collection<Game> gameCollection) {
this.gameCollection = gameCollection;
@XmlTransient
public Collection<Game> getGameCollection1() {
return gameCollection1;
public void setGameCollection1(Collection<Game> gameCollection1) {
this.gameCollection1 = gameCollection1;
public SecurityQuestion getSecurityQuestionId() {
return securityQuestionId;
public void setSecurityQuestionId(SecurityQuestion securityQuestionId) {
this.securityQuestionId = securityQuestionId;
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof User)) {
return false;
User other = (User) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
return true;
@Override
public String toString() {
return "entity.User[ id=" + id + " ]";
Edited by: 927714 on Apr 15, 2012 1:04 AM

JPQL uses entity properties and attributes in queries, not the SQL field names, so you cannot use "player1_id" since it does not exist in the Game entity. I do not know what you are passing in for the :user parameter, but if it is an Id for the User entity, you should try using "g.player1Id.id = :user". If you are passing in the User entity, you can use "g.player1Id = :user" instead.
Best Regards,
Chris

Similar Messages

  • ORA-20001: Unable to create query and update page.

    I am using the wizard: Form on a table with report 2 pages. I do not change any of the values when using the wizard (just taking all default values)
    I created over 10 pages successfully already.
    When creating the one page, I received this error on clicking the 'Finish' button
    Error creating query and update.
    Return to Application
    ORA-20001: Unable to create query and update page. ORA-12899: value too large for column "FLOWS_010500"."WWV_FLOW_PAGE_PLUGS"."PLUG_QUERY_COL_ALLIGNMENTS" (actual: 269, maximum: 255)
    Seems like it might be table related since I can continue and create more forms/reports on other tables.
    Any help would be appreciated.

    336554,
    Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
    57434

  • Unable to Create Query - Run Time Error

    Hi All,
    I'm try to create a query from a Cube .... the moment I drag 0CALMONTH and restrict it to Varaible Last Year This Month. I receive, the following error "Run Time Error 2147417848 (80010108) ....Automation Error. The Object Invoked has disconnected from its client.
    When I check with Event Viewer : The following message appear " ID: 1, Application Name: Microsoft Office Excel, Application Version: 12.0.6324.5001, Microsoft Office Version: 12.0.6215.1000. This session lasted 1784 seconds with 780 seconds of active time.  This session ended with a crash."
    I'm running Ms Vista Enterprise OS with Office 2007.
    Please advise
    TQ
    Nathan

    Hi,
         Actually this is a frontend error.
    Check the SAP Note Number: 1039191
    Download the DLL.
    Problem Description: There is a BI bug when we use BW3.5 frontend tool with BI7 datawarehouse workbench.
    Symptoms: When you try to restrict an object in Query designer, it will greayed out by giving runtime error.
    Solution: Take a backup of wdbspres.dll file which is present under C:\Program Files\SAP\FrontEnd\SAPgui. Copy the original
    file with this new file available in project filder. Problem will be resolved.
    Regards
    Karthik

  • Unable to create query for new dataset

    Something weird has happened to our BI Publisher application in production. It was working fine, we could create reports and datasets and templates just fine.
    Now all of a sudden when we create a new report and a new dataset the Data Set screen is no longer displaying. When we edit existing reports the Data Set screen does not display either.
    Has anyone experienced this problem. We are running 10.1.3.2 in production. Our test instance was just upgraded to the 10.1.3.4 ear file on our old 10.1.3.1 Oracle Application Server.
    We just now noticed it because we were going to upgrade the old 10.1.3.2 ear with the 10.1.3.4 ear like we did in test. Now we are worried that about upgrading production.

    FYI... the screen come up for list of values but not for paramenters

  • Unable to create report. Query produced too many results

    Hi All,
    Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
    the large amount in the grid anyway?
    I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
    Here Event Viewer log error at the server:
    1. An exception occurred while running a report.  The following details may help you to diagnose the problem:
    Error Message: Unable to create report. Query produced too many results.
            <br>
            <br>
            Contact the administrator for more details.
    Dashboard Name:
    Dashboard Item name:
    Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
    Request Duration: 6,220.93 ms
    User: INTRANET\spsdshadmin
    Parameters:
    Exception Message: Unable to create report. Query produced too many results.
    Inner Exception Message:
    Stack Trace:    at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
       at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
    PerformancePoint Services error code 20604.
    2. Unable to create report. Query produced too many results.
    Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
       at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
    PerformancePoint Services error code 20605.
    Thanks in advance for your help.

    Hello,
    I would like you to try the following to adjust your readerquotas.
    Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
    On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
    Locate and change the the below values from 8192 to 16384.
    Open the Client.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
    Locate and change the below values from 8192 to 16384.
    After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
    <readerQuotas
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
                  maxDepth="2147483647"
    />
    Thanks
    Heidi Tr - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Unable to Create Instance of Essbase Query Designer

    followed by Unable to Initialize Query Designer.Essbase v6.1Excel 97 sp2 iWin NT 4 sp5We are running into this error when trying to launch query designer."Unable to Create Instance of Essbase Query Designer"Query designer is checked in the addins before we try running it. We receive the messages. If we check the addins after we get the messages, query designer is unchecked.The Essbase addin works fine with no issues. Any thoughts on what this might be or how to troubleshoot it?Thanks.Mike

    Update: is it possible that security rights to the Essbase directory would affect the Query Designer? On a machine that it works on, I've noticed that the "xla" file updates each time it is accessed.

  • Unable to create Spotlight query for expression

    I don't want to assume that the following Console Log entry is a Spotlight indexing issue since the PID is from MAIL however the following entry appears repeatedly every minute to five minutes:
    "12/1/10 6:33:01 PM Mail[2698] Unable to create Spotlight query for expression ([email protected]) && (kMDItemContentType == 'com.apple.mail.emlx' || kMDItemWhereFroms == 'message:*'w)"
    Why would Mail try to create a Spotlight query like this, why so often, and where should I look to correct or remove the offending source?
    BTW, the noted email address has been changed for privacy. Otherwise the syntax is exact.
    Thanks

    I, too, have been seeing this same error ever since I started syncing my mail via .mac or whatever they call it these days. The whole experience has been so problematic that I've discontinued using it, but it's taken me weeks to clean up the disaster it's made of my multiple computers.
    This issue seems to be one of the last remnants of the whole debacle, and I'd love to hear any suggestions on how to clean it up without having to do complete wipe/reinstall of everything, which is pretty much all that's left to try.

  • Unable to parse query when using dblink in forms 4.5

    Hi,
    I have created a query that uses a DBlink because I need to do query on a table located on another dbase. I've used the query on creating my report using Reports 6i. The report needs to be called from a menu on our system, which was developed under Developer 2000 (forms 4.5). The problem is, when I tried to access the report from the menu, it returns the error 'unable to parse query'. What I did after getting error was to create a dummy module using Forms 6i, and call my report from there. It worked fine.
    By the way, the table that I'm accessing using the dblink is under Oracle 9i dbase, and the dbase of the system that I've been working at is Oracle 8i.
    I don't have any idea on what's causing this error. Is there a compatibility issue when using a dblink located in Oracle 9i database with forms 4.5?
    Thanks!

    Hello,
    Not sure if it is the good answer, but I know that Forms does not recognize dblink and owner.object syntax. You have to create a simple synomym that point to the distant object and use this synonym within Forms.
    Francois

  • Frm-40505:ORACLE error: unable to perform query in oracle forms 10g

    Hi,
    I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
    Please let me know what do i need to do to correct this problem.
    Regards,
    Priya

    Hi everyone,
    I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
    To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
    The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
    We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
    Regards,
    Priya

  • Unable to create JAXBContext

    I'm using Oracle Enterprise Pack for Eclipse and WLS 10.3.3. I'm trying to write a web service to do a simple Oracle database query using JDBC and then return the results. I'm attempting to return the result in an array. Each element of the array contains an instance of a custom class that I wrote to hold one row of the results. When I try to publish the web service I get an error "javax.xml.ws.WebServiceException: Unable to create JAXBContext".
    If I change the return type of the web service to a simpler type, such as String, then I can publish it with no problem.
    Is there something special I need to do when returning a complex class type, such as placing some annotations in the code?
    Thank you!
    Neal

    You should be able to return an array of your own "custom objects" ie:
    @WebService
    public class DealerWS {
    public Car[] getSedans(String carType){
    if(carType.equalsIgnoreCase("Toyota")){
    Car[] cars = new Car[2];
    cars[0] = new Car("Camry");
    cars[1] = new Car("Corolla");
    return cars;
    throw new WebServiceException("Not a dealer of: "+carType);
    Where Car:
    public class Car {
    private String model;
    private String make;
    public Car() {
    setMake("Toyota");
    public Car(String model) {
    setModel(model);
         public String getModel() {
              return model;
         public void setModel(String model) {
              this.model = model;
         public String getMake() {
              return make;
         public void setMake(String make) {
              this.make = make;
    However, what are the types you are using in the custom object public methods?

  • Unable To Create MIDlet Null

    hi all!
    i am trying to run a simple midlet code and am egtting the error:
    Unable To Create MIDlet Null
    java.lang.NullPointerException
         at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
         at com.sun.midp.midlet.Selector.run(+22)
    I have tried to find out the solution but all my efforts have been in vain!
    anybody who can help me please reply to my query as soon as possible!
    your guidance will be appreciated!
    The code is as follows:
    package example.MethodTimes;
    import javax.microedition.midlet.*;
    * An example MIDlet runs a simple timing test
    * When it is started by the application management software it will
    * create a separate thread to do the test.
    * When it finishes it will notify the application management software
    * it is done.
    * Refer to the startApp, pauseApp, and destroyApp
    * methods so see how it handles each requested transition.
    public class MethodTimes extends MIDlet implements Runnable {     
    // The state for the timing thread.
    Thread thread;
    * Start creates the thread to do the timing.
    * It should return immediately to keep the dispatcher
    * from hanging.
    public void startApp() {     
    thread = new Thread(this);
    thread.start();
    * Pause signals the thread to stop by clearing the thread field.
    * If stopped before done with the iterations it will
    * be restarted from scratch later.
    public void pauseApp() {     
    thread = null;
    * Destroy must cleanup everything. The thread is signaled
    * to stop and no result is produced.
    public void destroyApp(boolean unconditional) {     
    thread = null;
         public void exitApp() {     
    destroyApp(true);
    * Run the timing test, measure how long it takes to
    * call a empty method 1000 times.
    * Terminate early if the current thread is no longer
    * the thread from the
    public void run() {     
    Thread curr = Thread.currentThread(); // Remember which thread is current
    long start = System.currentTimeMillis();
    for (int i = 0; i < 1000000 && thread == curr; i++) {     
    empty();
    long end = System.currentTimeMillis();
    // Check if timing was aborted, if so just exit
    // The rest of the application has already become quiescent.
    if (thread != curr) {     
    return;
    long millis = end - start;
    // Reporting the elapsed time is outside the scope of this example.
    // All done cleanup and quit
    // destroyApp(true);
    //notifyDestroyed();
              exitApp();
    * An Empty method.
    void empty() {     
    Thanks!!

    that is because the other projects created a package of its own. Thats no problem and not required for execution.
    You have to do
    1) create in your project's src directory a subdirectory called "examples" (if you want to use the package)
    2) in this subdir (./src/examples/) you have to put the MethodTimes.java file which contains the code from above with the "package examples;" statement.
    3) run the WTKs build and afterwards the run
    This should work. If not, be plz more precisely on whats not working.
    And the WTK 2.1 should be no problem at all since I used it too.
    hth
    Kay

  • Unable to Create Connection ( Connection error DA0005) in DESKI 3 TIER

    Hi ,
    I have strange error of connection in DESKI 3 Tier.
    Work Flow:
    => Wanted to create a deski report in Three Tier( from Infoview) using specific universe.
    => When I ran query it gives me error saying Connection error DA0005( Unable to create connection)
    Work around did
    => Created Webi report using same univerese reprort ran fine.
    The connection is there  on enterprise I don't know whats going wrong.
    Can any one help me with this error
    Neo.

    Hi Experts ,
    Any suggestions on this  please
    Environment : BOXI 3.1 SP3 , OS: AIX , APPS: WAS7, DB Trying to connect is DB2

  • Unable to create temporary backing file

    My program is throwing out the error:
    temporary open: /var/tmp/BDB20825: Too many open files
    unable to create temporary backing file
    This happens after my program has been running for about 4 hours. The program appears to run out of file descriptors. The listing of /proc/<PID>/fd shows hundreds of lines naming the same file (/var/tmp/BDB20825), like this:
    lrwx------ 1 zobell users 64 Jul 28 14:41 622 -> /var/tmp/BDB20825 (deleted)
    That file does not exist. I suspect that someone is deleting but failing to close the file. A few open file descriptors with this deleted file occur slowly in the early hours, but not at a fast enough rate to bring the program down when it does. It looks like there is a sudden flood at the end.
    The program repeats this error slowly, and is stuck inside the db code. Here is the gdb backtrace I am seeing every time I interrupt:
    (gdb) where
    #0 0x00e74410 in __kernel_vsyscall ()
    #1 0x003d51dd in ___newselect_nocancel () from /lib/libc.so.6
    #2 0x002e5d39 in __os_sleep () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #3 0x002e43f1 in __os_openhandle () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #4 0x002e52ad in __os_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #5 0x002c0357 in __db_tmp_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #6 0x002c006c in __db_appname () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #7 0x002d50c9 in __memp_bhwrite () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #8 0x002d4a27 in __memp_alloc () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #9 0x002d62ec in __memp_fget () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #10 0x00232003 in __bam_new_file () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #11 0x002abc79 in __db_new_file () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #12 0x002abaff in __db_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #13 0x002a5d15 in __db_open_pp () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #14 0x0080644c in Db::open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb_cxx-4.6.so
    #15 0x0053ebbe in DbXml::DbWrapper::open (this=0x405bbee0, txn=0x0, type=DB_BTREE, flags=65537, mode=0) at Transaction.hpp:62
    #16 0x00549247 in CacheDatabase (this=0x405bbed8, env=0x9c5a848, type=DB_BTREE, compare=0) at CacheDatabase.cpp:28
    #17 0x005497e2 in DocDatabase (this=0x405bbed8, env=0x9c5a848, compare=0) at CacheDatabase.cpp:46
    #18 0x00584ced in DbXml::Manager::createDocDatabase (this=0x9c5a830, compare=0) at Manager.cpp:694
    #19 0x00519467 in DbXml::CacheDatabaseMinderImpl::verify (this=0xfffffdfe, entry=@0x6ac2f790, cid=-514) at CacheDatabaseMinder.hpp:31
    #20 0x00519398 in DbXml::CacheDatabaseMinderImpl::findOrAllocate (this=0x6ac5b4f0, cid=1, allocate=true) at CacheDatabaseMinder.cpp:71
    #21 0x00518e59 in DbXml::CacheDatabaseMinder::findOrAllocate (this=0x6acd9fa0, mgr=@0x9c5a830, cid=1, allocate=true) at CacheDatabaseMinder.cpp:21
    #22 0x0055b12d in LazyDIResults (this=0x6acd9f98, context=0x6acd9fa0, contextItem=0x4979abc0, expr=@0x9ce5de8, txn=0x0, flags=0) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlManager.hpp:80
    #23 0x0052f9cd in DbXml::QueryExpression::execute (this=0x9ce5de8, txn=0x0, contextItem=0x4979abc0, context=@0xbfcb0e04, flags=0) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlQueryContext.hpp:86
    #24 0x00565a3a in DbXml::XmlQueryExpression::execute (this=0x0, contextItem=@0xfffffdfe, context=@0xbfcb0e04, flags=4294966782) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlValue.hpp:186
    #25 0x0805af4b in XmlRecordWithCounts::ExtractQueryString (this=0xbfcb0dd0, select=@0xbfcb0e2c, result=@0xbfcac1d0, qDocument=0xbfcb0e14) at src/XmlRecordWithCounts.cpp:401
    #26 0x080585f6 in OdRecord::GetRequiredContent (this=0xbfcb0dd0, name=@0xbfcac1e0, origin=@0xbfcac1d0, dest=@0xbfcac1c0, type=@0xbfcac1b0, dist=@0xbfcac198, totalCount=@0xbfcac194, route=@0xbfcac1a0, qDocument=0x0) at src/OdRecord.cpp:143
    #27 0x0804d9c3 in ProcessOd (fpPrivate=0x8e11098, odDb=@0xbfcb0dd0, fdDb=@0xbfcb0d20) at src/BuildFdDb.cpp:263
    #28 0x0804f4c8 in ProcessOneDest (fpPrivate=0x8e11098, odDb=@0xbfcb0dd0, fdDb=@0xbfcb0d20, dest={static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<No data fields>}, Mp = 0x9da758c "LAX"}, static Sempty_rep_storage = {0, 0, 69041, 0}}) at src/BuildFdDb.cpp:464
    #29 0x080501cd in main (argc=6, argv=0xbfcb10c4) at src/BuildFdDb.cpp:589
    At this time, the program is trying to extract fields out of an XmlDocument that is the result of a query. The program uses a pre-calculated XmlQueryExpression to extract a specific field. This may not be the best way to extract a field from a document, given the apparent overhead of needing a temporary file!
    My program queries two database files (OD.dbxml and FD.dbxml.new), and uses the information to add records to the second file. The databases are rather big:
    bash-3.2$ ls -l /tmp/*dbxml*
    -rw-rw---- 1 zobell users 5233745920 Jul 28 14:42 /tmp/FD.dbxml.new
    -rw-rw---- 1 zobell users 6539427840 Jul 13 10:16 /tmp/OD.dbxml
    (I keep them in /tmp because everywhere else uses NFS and performance is awful with NFS.)
    My environment:
    Red Hat Enterprise Linux Client release 5.3 (Tikanga) 32 bit.
    Berkeley DB XML 2.4.16, C++ interface.
    Disk space should not be an issue:
    bash-3.2$ df /tmp /var
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-tmp
    28948572 13044384 14409968 48% /tmp
    /dev/mapper/VolGroup00-root
    144742920 5333544 131938272 4% /
    I ran this program about a year ago and did not see this issue. I have made a few changes and linked to the newer version of the XML database since then. Any help is appreciated.

    I have more information about this problem.
    If I "disable" the routine __os_zerofill() in os_fzero.c, by having it always return (0), I no longer get an exception and my application appears to run smoothly. However, I have not determined what in this routine leads to the exception. And, I have no idea what the short and long term consequences of "disabling" this routine will be....
    -Coralie

  • Unable to create Web i reports in Win 7 64 bit OS

    Hi,
        I have WIN 7 64 bit installed on my Laptop. I am unable to create Web I reports in this machine. Does any one know why?
    BR, Nanda

    Hi Nanda Kishore,
    Webi reports does not show in your local system,because webi reports acces from repository through URL,if you export your Bex Query(Universe) to repository,it is possible to see.but you local system is usefull for stand alone applications.
    you can see only web intelligece rich client and Desk intelligence.
    All the best
    Praveen

  • Unable to create a connection for Discussion Forums.

    Hi,
    I have my WC_Spaces and WC_Colloboration Servers running actively. When I try to create a new connection by right-clicking Connections in Applications Resources and choose Discussion Forums and too I entered the URL and admin fields, I find its unable to create a new connection. The error displayed is : "Failed to verify connection". Please help me with this.
    Regards,
    Dinesh Vishnu Kumar

    Hi,
    In your webcenter application you have created the discussion forum connection and you have connections.xml file in your application.Open the connections.xml in jdeveloper and check the discussion forum connection entry.
    For example here I have written down my entry on forum connection-
    <Reference name="Discussion Forum Connection" className="oracle.adf.mbean.share.connection.webcenter.forum.ForumConnection" xmlns="">
    <Factory className="oracle.adf.mbean.share.connection.webcenter.forum.ForumConnectionFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="forum.url">
    <Contents>http://localhost:8890/owc_discussions</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="admin.user">
    <Contents>weblogic</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="connection.time.out">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="policy.uri.for.auth.access">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="policy.uri.for.public.access">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="recipient.key.alias">
    <Contents/>
    </StringRefAddr>
    <StringRefAddr addrType="adapter.name">
    <Contents>Jive</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    Change the required entries with your values(for serveraddress,port and admin user).
    One more thing need to consider that is -
    in jdeveloper proxy ,add the server address in exception list and restart the jdeveloper.
    Sometimes it will show you up as "failed to verify the connection". But it will work atleast functionality-wise it will work.
    Apart from this,I have a query on "Have you used any VPN connection to connect collaboration server to create forum connection?"
    Hope it works for you.
    Regards,
    Hoque

Maybe you are looking for