Manytoone lazy issue

Hi all,
I have problems with manytoone mappings with fetchtype set to lazy. When the mappings are set to eager, everything works great.
My situation is: I want to improve the performance of entities load from server (Glassfish v2.1.1), so I' ve set some mappings to lazy (don't need them on client). When the entity is saved (from client), i wish to set the lazy relationships with correct entities on server side. But when I call entity.setAnotherEntity(anotherEntity) an NullPointerException is thrown. When I've debugged the server side (using Netbeans 6.7.1), I've found out, that the setter setAnotherEntity is not on the top of stack trace(it's on second place), on the top is something like toplinksetanotherentity. I my entity has been added fields with names toplinkfieldname_vh. On the net I've found, that there is something wrong with weaving. Can anybody help me? I'm new in Java EE.
Thank you

Thank you for answer.
I'm trying to improve the response time from server. Some entities have "large" related entities in manytoone relationship, which are not needed on client side, so I don't want to load them to the client. But when I save the entities, I need to keep this relations or sometimes to change them - it depends on information on server side. Yes, it can be handled from client - load the whole entity with related entites, but there is sometimes unacceptable delay. Then I set the manytoone relation to lazy, merge fails with oracle.toplink.essentials.exceptions.DescriptorException.
Caused by: Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.1 (Build b31g-fcs (10/19/2009))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The method [_toplink_getanotherentity_vh] on the object [entity] triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NullPointerException
Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[anotherentity]
Can you advice me a solution for this situation?

Similar Messages

  • Lazy loading loads eager anyway ?

    Hello,
    I read in some articles and books that the lazy loading in EJB 3.0 is just a hint, in the sence that the persistence manager could decide to load eager, even if lazy configured.
    Is this correct, or will the default lazy loading always only fetch when asked ?
    C.

    This is true in the JPA Spec, i.e. meaning that supporting lazy loading is "optional" not required by the JPA Spec.
    However TopLink does support lazy loading. By default any @OneToMany or @ManyToMany mappings are lazy and will not be fetched until accessed. By default in the JPA Spec @OneToOne and @ManyToOne are not lazy, but if you set them to be lazy then TopLink will also support this, as long as you enable weaving (weaving is not require for @ToManys). I would recommend you always make your @OneToOne and @ManyToOne lazy. Weaving in TopLink can be enable either through using the TopLink agent when launching your Java VM, or is used automatically in OracleAS or Glassfish, or through using the TopLink static weaving ant task.
    In TopLink Essentials lazy on @Basic mappings is not supported, however this will be supported in TopLink 11g.

  • JPA - lazy loading for LOB field

    Hi all,
    JPA 1.0 specification mandates that all JPA-compliant implementation support lazy loading for certain kind of entity field.
    For LOB fields lazy loading is OPTIONAL.
    I am experiencing odd runtime behaviors on my custom software which would point to this feature not being supported.
    Can anyone please tell me if SAP JPA 1.0 implementation on NW CE 711 implements this feature or not?
    Thanks in advance
    Regards
    Vincenzo

    Hi Vincenco,
    I am sure that this is the same as with single-valued relationships (@OneToOne, @ManyToOne): Lazy loading would require bytecode manipulation/generation, so SAP JPA does not support it in 7.20 (and of course not in 7.11)
    See tulsi jiddimani's elaborate answer here: Re: JPA: Documentation on LazyLoad.
    In 7.30 enhancements, you really can find lazy loading support for single-valued relationships with getReference.
    http://help.sap.com/saphelp_nw73/helpdata/en/68/f676ef36094f4381467a308a98fd2a/content.htm
    but @Lob and @Basic is not mentioned.
    If you need lazy loading in 7.11, you have two alternatives:
    1. Put the Lob fields into separate entities, work around the missing feature in SAP JPA with ugly @OneToMany - Relations
    2. Use another persistence provider like EclipseLink, read Sabine Heider's blogs about integrattion of EclipseLink in SAP NetWeaver and static bytecode weaving for lazy loading. /people/sabine.heider/blog
    Regards
    Rolf

  • Relinking resizing issues with CS5.5

    I've just gone from CS3 to 5.5.
    Working from templates I've created, I could relink variations of a logo without the scale of the logo changing (the text will stay the same size from one logo to the next) and when updating images that have been rezed up, they stay the same size.
    Now, In CS5.5, to relink the logo I have to uncheck 'Preserve Image Dimensions When Relinking' in preferences, relink the logo and then 'Clear fitting options' so I can aliggn it right.
    Then when I want to update a rezzed up image I have to turn 'Preserve Image Dimensions When Relinking' back on.
    I know this is a pretty lazy issue, but it's irritating.

    I'm not sure what that's about. I will say, though, and should have thought of this earlier, that there are reports of strange behavior in legacy docs, especially CS3, opened directly into CS5 (and presumably CS5.5). One thing that seems to help is to export the file from CS3 as .inx, then open the .inx istead of the .indd in the new version of ID. You can then resave as a new template.

  • Installing Server Monitor on my G5 desktop?

    We have a nice Xserve here at work and I'd like to be able to use Server Monitor remotely on my G5 desktop. Basically, this is a laziness issue since the server sits about 15 feet away from my desk. So, is there a way to do this?
    \m/

    Jeremy-
    Sure you can.
    Download the tools here: http://www.apple.com/support/downloads/macosxserveradmintools.html
    I am not sure what the licensing requirements are, but as long as you are running a legal copy of XServer software then you should be fine.
    Luck-
    -DaddyPaycheck

  • Lazy ManyToOne, setting weaving to static problem!

    Hello, I read in the manual that I need to change this property in the persistence.xml to static,
    so I could lazy ManyToOne and OneToOne, using "fetch = FetchType.LAZY". I did this:
    <property name="toplink.weaving" value = "static"/>But when I run the program I got stranges exceptions like this:
    Exception [TOPLINK-60] (Oracle TopLink Essentials - 2.0
    (Build b41-beta2 (03/30/2007))):
    oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_setcurso_vh]
    or [_toplink_getcurso_vh] is not defined in the object
    [entity.Aluno].
    Internal Exception: java.lang.NoSuchMethodException:
    entity.Aluno._toplink_getcurso_vh()
    Mapping:
    oracle.toplink.essentials.mappings.OneToOneMapping[curso]And this:
    java.lang.NullPointerException
         at oracle.toplink.essentials.internal.security.PrivilegedAccessHelper.
    getMethodReturnType(PrivilegedAccessHelper.java:271)
         at oracle.toplink.essentials.internal.descriptors.MethodAttributeAccessor.
    getGetMethodReturnType(MethodAttributeAccessor.java:113)
         at oracle.toplink.essentials.mappings.ForeignReferenceMapping.
    validateBeforeInitialization(ForeignReferenceMapping.java:873)
         at oracle.toplink.essentials.descriptors.ClassDescriptor.
    validateBeforeInitialization(ClassDescriptor.java:3505)
         at oracle.toplink.essentials.descriptors.ClassDescriptor.
    preInitialize(ClassDescriptor.java:2198)
         at oracle.toplink.essentials.internal.sessions.
    DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:380)
         at oracle.toplink.essentials.internal.sessions.
    DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:360)
         at oracle.toplink.essentials.internal.sessions.
    DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:677)
         at oracle.toplink.essentials.internal.sessions.
    DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:559)
         at oracle.toplink.essentials.ejb.cmp3.
    EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
         at oracle.toplink.essentials.internal.ejb.cmp3.
    EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:212)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.
    EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.
    EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:111)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.
    EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:105)
         at oracle.toplink.essentials.internal.ejb.cmp3.
    EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
         at test.Main.main(Main.java:23)When I remove the line:
    <property name="toplink.weaving" value = "static"/>Whitout this line in the persistence.xml, everything works fine, but the lazy ManyToOne does not work,
    it count as a FetchType.EAGER :/
    Here is the line where I use ManyToOne:
    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name="curso_id", referencedColumnName="curso_id",
    insertable = false, updatable = false)
    Curso curso;
    public Curso getCurso() { return curso; }Someone could help me? Thanks!

    I tryied to made the static weaving using maven, I followed this tutorial:
    http://spatula.net/blog/labels/maven.html
    But nothing happens! It runs the ant tasks, but the ManyToOne continues as a eager fetch!
    Help!

  • Issue with self reference on ManyToOne relationship

    Hi,
    I have a scenario where one of the columns on a table refers to the ID of the same table for a @ManyToOne relationship. Here is an example class below to better explain the situation:
    @Entity
    @Table(name = "DEPARTMENT")
    public class Department implements java.io.Serializable
    @Id
    private int ID;
    @ManyToOne(targetEntity = Department.class, fetch = FetchType.EAGER)
    @JoinColumn(name = "PARENT_ID")
    private Department parent;
    @OneToMany(mappedBy = "parent", targetEntity = Department.class, fetch = FetchType.LAZY)
    private Set<Category> children = new HashSet<Category>(0);
    Here if you notice the parent is the ID of another Department. When I use this during a create it seems to be trying to update the ID of an existing Department record, which is causing an exception as follows:
    SEVERE: Error processing request from 127.0.0.1 for <anon>: javax.persistence.RollbackException: Exception [TOPLINK-7251] (Oracle TopLink Essentials - 2.0 (Build b41d-beta2 (04/24/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: The attribute [ID] of class [Department] is mapped to a primary key column in the database. Updates are not allowed.
    Any thoughts on what I might be doing wrong. Appreciate your help.
    Thanks,
    Sharanya

    Thanks for the help.
    It turns out the problem was related to executing a SELECT query on the entities prior to committing the transaction. Essentially, there were entities which were being created and persisted (but not committed), and these records were being retrieved via a SELECT query. At the point the query was executed, an attempt was made to flush, and since the record hadn’t been updated in the persistence context, TopLink saw the SELECT query execution as an update and thus threw the exception.
    /* simplified for brevity */
    @Entity
    class Record {
        @Id
        @GeneratedValue(…)
        private Integer id;
        @ManyToOne(…)
        private Record parent;
        @OneToMany(…)
        private Collection<Record> children;
    class RecordService {
        void addRecords(Record records…) {
            for (Record record : records) {
                addRecord(record);
        void addRecord(Record record) {
            // Execute a SELECT to get related record(s).
            // Update the record(s).
            em.persist(record);
    To resolve this, I simply persist the records before executing the SELECT query, and then after the records are updated, execute a merge:
        void addRecord(Record record) {
            em.persist(record);
            // Execute a SELECT query to get related record(s).
            // Update the record(s).
            em.merge(record);
    I'm not completely clear as to what point TopLink thought that the ID had been updated (it could be related to the previous post?), but this resolution seems to be working.

  • Frustrated with 70 Hour Weeks: Lazy or Legit Issue

    So for a little over a month, I have been working 70 hour work weeks (I am salaried so no extra pay), and I am becoming very frustrated with the work week due to lack of free time and the fact that I am the only one in the office for countless hours. Most of the extra hours are a result of being understaffed and project deadlines being moved up by several months to a whole year. The 70 hour weeks do not show any signs of ending soon, and I have expressed my concerns to my boss. I usually get a reply that these kind of hours are to be expected for people in IT, and that I should just get use to it. I was wondering how other SpiceHeads feel about long weeks and no extra pay. Are my concerns warranted or am I being lazy with my frustrations with 70 hour work weeks.
    This topic first appeared in the Spiceworks Community

    Has anyone used the Unifi Outdoor AC AP's yet. I just got one in today for install at a Marina tomorrow on Lake Ontario and I can't believe how big this thing is. I've every type of indoor unit they sell and a few of the point to point units but never any outdoor AP's. Here is a picture to get some perspective on the size.
    I was thinking it was maybe a little bigger then some of the large point to point units. Was I ever wrong it's the size of a cinder block face. Thankfully I don't need to worry about space where I'm mounting this but I thought I would post this in case anyone else is looking at these and is wonder size. I will come back tomorrow and post how the install went and how the performance. So far I've got it on my cloud controller and was getting strong signal outside with the unit sitting in my basement.

  • Installed Mavs on MacBook Pro (late 12) and then installed TestGen (popular test maker for lazy professors) and most programs stopped working or only parts did. And then all the premissions started. I gave up and created a new user, who also has issues

    anyone else with application incompatibilites?

    Okay, so, fast forward from July to now -
    - I've visited my closest Apple store's genius bar twice now. (Over an hour and a half away.)
    - My computer spent at least 8 hours behind their closed doors in the workshop
    - Several complete erases of the harddrive have taken place
    - Most of the Apple geniuses I dealt with were nice and very knowledgeable, but they were and still aren't 100% sure exactly what is wrong with my computer.
    The good news is:
    - They were able to at least get it running again, with a clean install from their servers of OS X Lion 10.7.5
    - They believe that my problems stem from either 1 of 2 things:
            - Faulty Hard Drive (even though it is brand new)
             - The wrong build of software being installed.
    Now, while the wrong build does seem like it could be the problem, it doesn't make sense in the aspect that all of the initial problems began when the first hard drive failed. The same problems continued when I changed out the failed hard drive with the brand spanking new one, and only slightly improved when I was able to successfully install the OS that came with the original disks for my computer. I'm not convinced this thing is back to normal, but hopefully I can make it last through getting a shiny new retina Macbook Pro in the coming future. Thank you so much to everyone who read and replied to this post!
    - Andrew =)

  • Toplink....lazy fetching not working

    Case description is as follows:
    PollDio has a many-to-one relation with UserDio
    UserDio has many-to-many relation with ReviewDio
    When I try to reterive a PollDio, data from UserDio and ReviewDio are also fetched. I want data from PollDio only. To avoid the UserDio and Review entity, I used Lazy fetching.
    I get the following exception when I try to run the program:
    Exception [TOPLINK-60] (Oracle TopLink Essentials - 2.0 (Build b58a-rc2 (08/09/2007))): oracle.toplink.essentials.exceptions.DescriptorException Exception Description: The method [_toplink_setuser_vh] or [_toplink_getuser_vh] is not defined in the object [com.project.web122.persistence.PollDio]. Internal Exception: java.lang.NoSuchMethodException: com.project.web122.persistence.PollDio._toplink_getuser_vh() Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[user] Descriptor: RelationalDescriptor(com.project.web122.persistence.PollDio --> [DatabaseTable(POLLS)])
    Runtime Exceptions:
    Am using the following:
    toplink-essentials.jar - Implementation-Version: 2.0-b58a-rc2 (08/09/2007)
    toplink-essentials-agent.jar - Implementation-Version: 2.0-b41-beta2 (03/30/2007)
    The entity classes have the following entries:
    @Entity(name = "PollDio")
    public class PollDio implements Serializable
    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name= "UID",nullable=false,referencedColumnName="ID")
    public UserDio getUser()
    return user;
    @Entity(name = "UserDio")
    public class UserDio
    @ManyToMany(mappedBy = "users", fetch=FetchType.LAZY)
    public Set<ReviewDio> getReviews()
    return reviews;
    @OneToMany(mappedBy="user", fetch=FetchType.LAZY)
    public Set<PollDio> getPolls()
    return polls;
    @Entity
    public class ReviewDio
    @ManyToMany(targetEntity = UserDio.class)
    @JoinTable(name = "REVIEW_USER", joinColumns = @JoinColumn(name = "REVIEW_ID", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "USER_ID", referencedColumnName = "ID"))
    public Set<UserDio> getUsers()
    return users;
    The persistence.xml file has the following entries:
    <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
    <property name="toplink.logging.level" value="FINE"/>
    <property name="toplink.weaving" value="true"/>
    Please let me know, what rectification is required to make this work.
    Thanks

    Hello,
    From your posting, I assume you believe this is related to the problem described in thread Toplink JPA... this should lazy load? . If you are running outside of a container, you need to list the Entity classes in the persistence.xml using the <class> tag for the provider to be able to load/weave them as apart of the persistence unit. This will also include non-entity classes such as MappedSuperclass and embedded classes.
    If this isn't the issue you are running into, please provide the full stacktrace, the environment you are running in, and how you are using the agent for weaving.
    Best Regards,
    Chris

  • It seems you cannot clone objects with attributes using lazy loading in JPA

    I have an entity with an attribute using lazy loading:
    @Entity
    public class B {
    @ManyToOne(fetch=FetchType.LAZY)
    private A a;
    @Entity
    public class A {
    Assume the following code:
    A a1 = new A();
    A a2 = new A();
    B b1 = EntityManager.find(B.class, ...);
    b1.setA(a1);
    B b2 = b1.clone();
    b2.setA(a2);
    Now with lazy loading enabled I get b1.getA() == a2 instead of b1.getA() == a1. Moreover, the debugger displays the same value holder in b1 and b2 for the attribute a. It appears as if cloning does not make a (deep) copy of the value holder managing the attribute a.
    How can I create a copy b2 of b1, such that the value holder managing a in b1 is a different object as the value holder managing a in b2?
    Thanks, Thomas.

    I have filed a bug to have this addressed in Oracle TopLink 11gR1. I would recommend you file a bug against TopLink Essentials in GlassFish or if you have a support contract report the issue to metalink to have the issue resolved.
    If this is urgent I did try fixing the issue with a small helper method using some reflection. This method is simplified through its throwing of Exception. If you wish to use something like this I would recommend proper error handling.
         * Helper method for cloning an entity and fixing the woven value-holders to
         * complete a proper shallow cloning.
        public static Employee clone(Employee entity) throws Exception {
           Employee clone = entity.clone();
           // Now fix the cloned ValueHolder references
           Field[] fields = entity.getClass().getDeclaredFields();
           for (int index = 0; index < fields.length; index++) {
               Field field = fields[index];
               if (field.getName().startsWith("_toplink_")) {
                   field.setAccessible(true);
                   ValueHolderInterface vhi = (ValueHolderInterface)field.get(entity);
                   Object value = vhi.isInstantiated() ? vhi.getValue() : null;
                   field.set(clone, new ValueHolder(value));
           return clone;
        }Doug

  • @ManyToOne with Composite Id with AUTO increment

    Hi ,
    Below is scenario where i am facing issue. Please let me know your suggestions.
    Tables :
    OriginalWork - original_work_id, other columns
    Subwork - original_work_id, seq_number, other columns
    primary key (original_work_id, seq_number) -- composite key
    original_work_id in subwork needs to populated from original_work_id in OriginalWork
    and
    seq_number must be incremented by 1 automatically.
    OriginalWork can have many Subwork
    (one to many)
    Configurations in subwork :
    @Id
    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name=" original_work_id ")
    private Originalwork originalwork;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private long seq_number;
    I tried using embeddedId , but did not work.
    The above configuration is not working and exception is java.sql.SQLSyntaxErrorException: ORA-02289: sequence does not exist
    This is not thing do with the privileges as I am able to access the sequence.
    Please clarify.
    Thanks.

    I think you might be jumping ahead here, as the exception states there is a problem with sequencing - not the ManyToOne relationship. First step would be to find out which entity has the issue with sequencing - is it OriginalWork or SubWork. You might try a simple test where both have a simple pk using sequencing. I don't think it is the Subwork entity, as per http://wiki.eclipse.org/EclipseLink/Examples/JPA/PrimaryKey generation mode auto should default to Table sequencing in EclipseLink - the error would be different.
    Looking at the model, this should work as long as Subwork has either an embeddedId class or a PK class defined. Best bet since you are using a relationship mapping in the composite PK is to use a PK class with a long seq_number; and long originalwork; assuming OriginalWork's id is of type long as well.
    Best Regards,
    Chris

  • Why do I lose internet connection when I put airport extreme into bridge mode to correct Double NAT issue

    I reset my airport extreme router the other day because I was too lazy to reset the password on my private network.
    I have been reading the advice found on apple support communities and wide web, but the solutions do not solve any problems and often create new ones.
    I'm regretting because everything was working just fine.
    But I remember having this double nat error when I first set it up a few months back, but now I cannot resolve it.
    I would live with the yellow light, but it seems that this double nat error is preventing my playstation 3 from connecting to the airport extreme.
    When I put the aiport extreme into bridge mode, I loose all my wireless networks, even when I reboot the airport extreme and the modem.
    I try rebooting the modem, then the airport. and vice versa. No internet.
    I switch back to NAT/DCHP and the internet works fine on apple devices, but not the playstation 3, and I have the 1 Double NAT error.
    I have a plain stock Motorolla modem and I can dial in and see settings (although nothing about NAT). I didn't see where to see them.
    I tried setting the DHCP only but it said it didn't like the settings. is there a stock range i could be using?

    I have a plain stock Motorolla modem and I can dial in and see settings (although nothing about NAT). I didn't see where to see them.
    Exact model .. motorola make adsl, cable and probably wireless modems.. with some modems and some modem router.. we need exact info. What kind of broadband do you have?
    I would note.. some of the motorola cable modems seem to have issues with the apple routers. If you are about due to change modems.. now is a good time.. not another motorola.
    If the modem is a straight cable modem, the AE must be in router mode.. but you need to power down the cable modem. maybe for 20min so the new router can pick up the IP address.
    You cannot use DHCP alone.. the ISP do not give you a block of IP addresses.
    You cannot use bridge with a pure modem.. you will find it works.. but only to one device.
    The only reason you get double NAT is the failure to pick up the public IP.
    Give the info required..
    If you have trouble, I need the actual IP of the modem. the actual IP of the AE WAN port when plugged in. Screenshots are good.

  • The background thread running lazy writer encountered an I/O error

    Hi I have a test server which has thrown the following error
    File system error: A system error occurred while attempting to read or write to a file store. The system might be under memory pressure or low on disk space. Physical file: \\?\F:\MSAS11.DEPLOYAS\OLAP\Data\Prod_KCube.0.db\DIM Flags And Types.0.dim\3.Flag
    Types Key.khstore. Logical file: . GetLastError code: 8. File system error: The background thread running lazy writer encountered an I/O error. Physical file: \\?\F:\MSAS11.DEPLOYAS\OLAP\Data\Prod_KCube.0.db\DIM Flags And Types.0.dim\3.Flag Types Key.khstore.
    Logical file: . Errors in the OLAP storage engine: An error occurred while processing the 'Facts' partition of the 'Main Facts' measure group for the 'Prod_Cube' cube from the Prod_KCube database.
    The cube sits on a not very well maintained server which is used by various users (it is a test server) with the following specs
    Intel(R) Xenon(R) CPU x5690 @3.47GHz
    24GB Ram
    64 Bit operating system.
    The Cube data and logs are on separate drives and have plenty data but the C drive (where SQL Server is installed) only has3.5Gb of space left.
    It's a fairly big cube and I've managed to get it running by processing dimensions and facts bit by bit but errors when processed all together.
    What could be causing the errors above?

    Hi aivoryuk,
    According to your description, you get the lazy writing error when processing partitions. Right?
    In this scenario, the issue may cause by low memory for SSAS and lack of disk space. Please consider configure
    Server Properties (Memory Page) and increase
    memory setting for SSAS. If the .cub file is located in C drive, please reserve more disk space.
    Please refer to a similar thread below:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/21bf84c5-f89a-464a-a5f1-2649fae5eb1e/while-processing-large-cubes-various-file-system-errors-the-background-thread-running-lazy-writer?forum=sqlanalysisservices
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Issue with Integrated Weblogic Server in JDeveloper

    Hi
    I'm using JDeveloper version: 11.1.1.7
    I'm facing issue with the Integrated Weblogic server in JDeveloper.
    When I run the server, the log says as follows:
    *** Using port 7101 ***
    D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\sdoapi.jar;D:\fmwps6\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\fmwps6\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\fmwps6\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Java\JDK16~1.0_5\lib\tools.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic.jar;D:\fmwps6\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\fmwps6\WLSERV~1.3\server\lib\webservices.jar;D:\fmwps6\modules\ORGAPA~1.1/lib/ant-all.jar;D:\fmwps6\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\fmwps6\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\fmwps6\WLSERV~1.3\server\lib\xqrl.jar;;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\config;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\stringtemplate-2.3b6.jar
    PATH=D:\fmwps6\patch_wls1035\profiles\default\native;D:\fmwps6\patch_jdev1111\profiles\default\native;D:\fmwps6\WLSERV~1.3\server\native\win\x64;D:\fmwps6\WLSERV~1.3\server\bin;D:\fmwps6\modules\ORGAPA~1.1\bin;D:\Java\JDK16~1.0_5\jre\bin;D:\Java\JDK16~1.0_5\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;D:\ADE\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;D:\Java\jdk1.6.0_51\bin;D:\Softwares\apache-ant-1.7.1\bin;C:\Program Files (x86)\Windows Live\Shared;D:\fmwps6\WLSERV~1.3\server\native\win\x64\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_51"
    Java(TM) SE Runtime Environment (build 1.6.0_51-b31)
    Java HotSpot(TM) 64-Bit Server VM (build 20.51-b02, mixed mode)
    Starting WLS with line:
    D:\Java\JDK16~1.0_5\bin\java -client   -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\fmwps6\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=49879 -Djavax.net.ssl.trustStore=D:\fmwps6\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.idc.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Dhttps.proxyHost=www-proxy.idc.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Duim.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM -Dweblogic.log.Log4jLoggingEnabled_uim=true -Dlog4j.configuration_uim=loggingconfig.xml -Duim.logging.watchdog.timer=5000 -Djava.io.tmpdir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\tmp -Dweblogic.management.discover.retries=6 -DtestConfig.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\testConfig -Dsun.lang.ClassLoader.allowArraySyntax=true  -XX:-UseSSE42Intrinsics -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.authz=ACC -Xverify:none  -da -Dplatform.home=D:\fmwps6\WLSERV~1.3 -Dwls.home=D:\fmwps6\WLSERV~1.3\server -Dweblogic.home=D:\fmwps6\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\fmwps6\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1 -Djrockit.optfile=D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\fmwps6\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.oamprovider_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\fmwps6\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\fmwps6\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Listening for transport dt_socket at address: 49879
    Debugger connected to local process.
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.51-b02 from Sun Microsystems Inc.>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for BUG13114768 Sat Jan 21 16:14:44 IST 2012
    WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:19:47 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00115. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 16, 2013 7:19:56 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log00066. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log.>
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:20:20 PM IST> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source InventoryTxDataSource will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
    <Aug 16, 2013 7:20:22 PM IST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "mds-commsRepository". Connections will not be tested.>
    <Aug 16, 2013 7:20:39 PM IST> <Warning> <Security> <BEA-090668> <Ignored deployment of role "Admin" for resource "type=<url>, application=DMS Application#11.1.1.1.0, contextPath=/dms, uri=/">
    <Aug 16, 2013 7:20:58 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application UIMCMWSAdapter is not versioned.>
    <Aug 16, 2013 7:21:11 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application oracle.communications.inventory is not versioned.>
    <TableBuilder> <_buildSchema> Metric table "webcache:request_filter_denied_stats" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Information" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Performance" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Servlet_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Remote_Bridge_Elements" has no key column.  It will not be collected.
    <ConfigurationUtil> <getProperties> Could not load runtime-poms.properties
    <Aug 16, 2013 7:21:52 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection www.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:876)
      at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1229)
      at java.net.InetAddress.getAllByName0(InetAddress.java:1180)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      Truncated. see log file for complete stacktrace
    >
    <Aug 16, 2013 7:21:53 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection svn.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.InetAddress.getAllByName0(InetAddress.java:1184)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      at java.net.InetAddress.getAllByName(InetAddress.java:1046)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:309)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:414)
      Truncated. see log file for complete stacktrace
    >
    <LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.
    <AdfDiagnosticsJarsVersionDumpImpl> <dumpVersionInfo> Path of the jars version dump :D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\oracle.communications.inventory-Versions.csv
    <FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "AdfDvtCommon".  No such feature exists.
    Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provider-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if the ADFJspResourceProvider is not being used.
    Started: ADF Library non-ADFJspResourceProvider post-deployment
    Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 223
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00118. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 14.96.8.250:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    But it doesn't list the server while deploying the application.
    I don't see the issue in my office network. But I encounter this problem when I work at my home.
    Ideally it should show the following lines after server is started:
    DefaultServer startup time: 195467 ms.
    DefaultServer started.
    This is not happening if i run the server without network.
    How can I fix this problem?
    Thanks
    Ravi

    I see some message about a proxy. Have you checked that you can use the proxy from you network?
    If not you should turn the proxy off.
    Timo

Maybe you are looking for