Persistence lost

Hi.
There's another Kodo issue that troubles me. In my case persistent
objects are created by EJB in application server. They are however to be
used on the client side, modified and then sent back to server side for
final processing. My problem is these persistent objects seem to lost it's
"persistent" state upon serialization and after deserialization they appear
to be transient. Is there any possibility to keep them "persistent" after
sending to and from the client? I keep reference to the original
PersistenceManager on the server side, but my persistent object looses it's
StateManager, flags, etc.
Or maybe there's another way to mark persistent-capable but transient
object as already exisiting in datastore? So that it will be UPDATEd instead
of INSERTed when calling makePersistent() on it? I already have it's ID
ofcourse.
Thanks in advance for your replies,
Pawel

This is not a Kodo issue per se but a limitation of JDO. However there
are a number of ways to get around the problem.
1. Re-retrieve the object in question and "transfer" values over to it.
The samples/j2ee example shows a simple pattern to attach identity and
reconstitute values upon client response.
2. Use Kodo 3.0's detach/attach capabilities. This allows Kodo to
properly manage your class despite the current serialization state.
http://solarmetric.com/Software/Documentation/3.0.0RC2/docs/ref_guide_detach.html
Pawe__ |wierszcz wrote:
Hi.
There's another Kodo issue that troubles me. In my case persistent
objects are created by EJB in application server. They are however to be
used on the client side, modified and then sent back to server side for
final processing. My problem is these persistent objects seem to lost it's
"persistent" state upon serialization and after deserialization they appear
to be transient. Is there any possibility to keep them "persistent" after
sending to and from the client? I keep reference to the original
PersistenceManager on the server side, but my persistent object looses it's
StateManager, flags, etc.
Or maybe there's another way to mark persistent-capable but transient
object as already exisiting in datastore? So that it will be UPDATEd instead
of INSERTed when calling makePersistent() on it? I already have it's ID
ofcourse.
Thanks in advance for your replies,
Pawel
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com

Similar Messages

  • Application persistence 'lost'

    We setup our pair of CSS11506 units in VRRP redundancy mode about 2.5 years ago. All of services are created individually, one on port 80 and one on port 443. Each of their VIPs are the same, port 80 and 443. It was a requirement for our 443 application that when a service is suspended the users currently on that server through the VIP should not be impacted. They should be able to complete their work until they close the session or reach the content rule's idle timeout. Below is an example of how our services and rules are created. Anyone see an issue with this?
    service server01-443
    ip address 10.10.10.5
    protocol tcp
    port 443
    redundant-index 5
    keepalive type script ap-kal-ssl "10.10.10.5 "
    keepalive frequency 15
    active
    service server01-80
    ip address 10.10.10.5
    protocol tcp
    port 80
    string server1
    keepalive type script ap-kal-httptag "10.10.10.5 /keepalive.asp <A HREF="javascript:newWin('http://www.oururl.com"')">www.oururl.com"</A>
    keepalive frequency 15
    active
    content www-oururl-443
    vip address 10.10.10.30
    protocol tcp
    port 443
    add service server01-443
    redundant-index 30
    sticky-inact-timeout 30
    advanced-balance sticky-srcip
    balance weightedrr
    active
    content www-oururl-80
    vip address 10.10.10.30
    protocol tcp
    port 80
    url "/*"
    advanced-balance arrowpoint-cookie
    arrowpoint-cookie browser-expire
    add service server01-80
    balance weightedrr
    active
    Thanks
    Chad

    the 'weight 0' works with all type of loadbalancing method - leastconn included.
    I would like to clarify something.
    suspend will actually not impact current connections.
    So, you could suspend a service and the currently connected users will be able to keep their connections.
    However,most of the time, during an HTTP connection you open and close connections.
    With suspend, no new connections are allowed, even for users already connected.
    The graceful shutdown allows connections to go to the server if there is a sticky entry matching the client and server.
    This is useful to permit a user to finish browsing - not just finish downloading a page.
    Gilles.

  • Applet Persistence API - without loosing data??

    I'm using the Applet Persistence API (AppletContext.setStream / getStream) so store private data in the jvm - like session-cookies in the browser.
    Since the next-generation java-plugin this method stopped working because the java-plugin might terminate and restart the jvm during a browser session and all data is lost.
    Is it possible to prevent the java-plugin from stopping a jvm during a browsers session - for example via parameters in the applet tag?

    tronix wrote:
    ..Since the next-generation java-plugin this method stopped working ..The next-gen. plug-in allows applets to hook into the PersistenceService of the JNLP API - when they are deployed using JNLP. I have a demo. of the PersistenceService (http://pscode.org/jws/api.html#ps).
    It would be possible to create two versions of the applet. Version one is your current applet that uses the older methods for persistence. Version 2 uses the new methods.
    To decide between them on the client side, present the plug-in 2 applet in an applet element that loads the version 1 applet as the standard applet alternative to the version 2 applet.

  • Outlook credential pop-up caused by credential manager persistence state

    Help! I have a bit of a challenge at this moment, we have a hybrid exchange environment which means that some users are using the on premise exchange and some pilot users have an office 365 online account.
    All the users must logon to a VDI environment and when they logoff the machine will be restored to the default settings. In the real work this means that a user never login twice at the same virtual desktop. The user settings are synced
    by UE-V 2.1 including the credentials.
    Now the problem, the on premise users can start outlook without filling their credentials but the office365 user have to fill in the credential whenever they logon to the VDI. I’m fully aware that UE-V only saved the enterprise persistence
    credentials and not local machine types but when a user fills in the domain credentials the default type is local machine, so the credentials are lost again and again.
    How can I change the persistence type to enterprise only for outlook or how can I be shore that also the office365 users doesn’t need to fill in their domain credentials? 

    Solved, it was a MS patch. After removing the KB2956087
    the problem disappeared. 

  • Transaction Context Is Lost in General Ledger

    Hi,
    I got 'Transaction Context is Lost' in General Ledger 'Accounting Setup Manager' while creating new Ledger, in R12.
    I tried restarting machine, but same problem.
    How to fix problem?
    See Attached SHT - http://www.mediafire.com/?fusvfp6q7cv6rdz

    Please post the application release, database version and OS.
    Can you find any errors in the database log file?
    user78995 wrote:
    Hi,
    I got 'Transaction Context is Lost' in General Ledger 'Accounting Setup Manager' while creating new Ledger, in R12.
    I tried restarting machine, but same problem.
    How to fix problem?
    See Attached SHT - http://www.mediafire.com/?fusvfp6q7cv6rdz
    Please see if these docs help.
    11i/R12 How to Debug "Transaction Context Is Lost" or "You are trying to access a page that is no longer active" [ID 456906.1]
    Transaction Context Is Lost in iSupplier portal [ID 761421.1]
    How To Check Session Persistence On BigIP F5, Cisco Ace, Citrix Netscaler or Radware AppDirector Load Balancer Appliances [ID 601694.1]
    Self-Service Pages Are Failing After Changing the s_oc4j_sesstimeout [ID 780612.1]
    Enhancement Request: PLM Login Timeout Can Cause Loss of Data (Passivation) [ID 1108454.1]
    Please also check Apache log files (and the application.log) for details about the error.
    If you cannot find any errors in the logs and you still have the same issue, then please log a SR.
    Thanks,
    Hussein

  • Can I perform persistence activities from within a JPA lifecycle event

    I have a question about what is valid while inside JPA lifecycle events like @PrePersist or even Eclipselink lifecycles like postBuild. I would like to perform persist and delete operations from within these lifecycles, however they seem to get lost when the commit finally happens at the end of the transaction.
    Is this not valid...and if not how to I perform persistence operations from within these lifecycles. For example I may want to delete objects from a @PostDelete.
    Thanks.

    I don't see any reason why doing a persist() or remove() from instead a JPA PrePersist or PostRemove event would not work. What is your code for your event? Make sure you use the same EntityManager.
    For the EclipseLink events, most of the write events are raised during the commit, so it is too late to perform a JPA operation such as persist(). You can however use EclipseLink DatabaseQuery to insert or delete objects, but you need to be careful doing this. In general it may be better to put this logic in your application instead of events.
    James : http://www.eclipselink.org

  • JMS persistence problem

              Hi,
              I have persistence half working on WLS6.1 Messages are being written to the database
              ok. When I crash the server, the message is still there. When I bring the server
              back up the message appears in the destination but is removed from the database.
              Therefore if the server crashes before the message is consumed it is lost.
              Any help appreciated.
              Fraser
              

    The message appears in the destination but is removed
              from the database? That is strange behavior, and I
              have no explanation. I highly recommend contacting
              customer support. I also
              recommend trying the latest SP, just to see if that makes
              a difference.
              Tom, BEA
              Fraser wrote:
              > Hi,
              >
              > I have persistence half working on WLS6.1 Messages are being written to the database
              > ok. When I crash the server, the message is still there. When I bring the server
              > back up the message appears in the destination but is removed from the database.
              > Therefore if the server crashes before the message is consumed it is lost.
              >
              > Any help appreciated.
              > Fraser
              

  • Persistence and hibernate (and maybe XFire)

    Sorry didnt know in which forum to post this.
    I have a very weird problem. We are using Springframework with XFire and Hibernate. All Database rows are implemented as Persistence Objects for Hibernate. So far it works well.
    We transfer this persistent objects over XFire between several Services which works too. But as soon as there is "Boolean" (NOT boolean) type involved the value stored in Boolean variable ist lost after transferring over XFire. So at the target service always null arrives as variable value.
    It's important to note that this strange behaviour only applies to persistence objects, but not to normal objects transferred over XFire.
    Maybe someone encountered this problem too and has a solution for it :(

    as mentioned already: difference between 2.6.35.6 and 2.6.35.7 in one patch for Xen:
    commit b0dd220aefe1ab80823cf13e9588c64fec151488
    Author: James Dingwall <[email protected]>
    Date:   Mon Sep 27 09:37:17 2010 +0100
        Xen: fix typo in previous patch
        Correctly name the irq_chip structure to fix an immediate failure when booting
        as a xen pv_ops guest with a NULL pointer exception. The missing 'x' was
        introduced in commit [fb412a178502dc498430723b082a932f797e4763] applied to
        2.6.3[25]-stable trees.  The commit to mainline was
        [aaca49642b92c8a57d3ca5029a5a94019c7af69f] which did not have the problem.
        Signed-off-by: James Dingwall <[email protected]>
        Reported-by: Pawel Zuzelski <[email protected]>
        Tested-by: Pawel Zuzelski <[email protected]>
        Signed-off-by: Greg Kroah-Hartman <[email protected]>
    so you may as well stay with 2.6.35.6 if you have less problems with it but your is not related to a bug introduced to 2.6.35.7
    also I don't have any issues with 2.6.35.7 so maybe there is something about your config?
    Last edited by broch (2010-10-05 12:59:47)

  • Page persistence indicator and Library item

    What is the best way to create page persistence indicators on
    a
    navigational array using div elements, in which the nav array
    is stored
    as a Library item and stretches across multiple Templates?
    I am trying to follow the instructions as in this article:
    http://www.communitymx.com/content/article.cfm?cid=F1394
    However, this method uses template parameters wherein the
    navigational
    array is stored in the .DWT template file, and not in a
    Library item
    which stretches across Templates as in my situation. I am
    looking for a
    solution which will allow the Library to dynamically create
    the
    persistence indicators.
    Oh, and also the nav array is made up of graphical elements
    (not
    text-based CSS) so the persistence needs to swap out
    individual
    graphical elements for each div.
    Thanks, -CC

    E Michael Brandt wrote:
    >
    >> Here's how you handle that - call the host and ask
    them to server
    >> parse ALL extensions on the site. Most will do this
    (many are set
    >> this way by default).
    >
    > Yep, I've done that in the past. But it may contribute
    in part to what
    > CC is referring to as lost time. Just trying to be
    Solomonic.
    >
    Yes, this is exactly what I'm trying to say.
    When I do a five page static site for a client who I know is
    probably
    going to make changes to universal elements once every year
    (if that) it
    really doesn't matter if I choose Library or SSI. Often I
    will choose
    Library items in this case, simply because they're easy to do
    and I'm
    used to doing things this way. And when I do have updates to
    make?
    Dreamweaver makes it a snap to update those Library items,
    then compare
    the changed files on the server. It can all be done in under
    a minute.
    SSI? Could have used that, too, but to preview the site I
    either have to
    set up a testing server environment or make the include live
    before
    showing the client. And I can't drag and drop the file from
    the desktop
    onto my browser, have to go through Dreamweaver. These may
    not seem like
    big deals (and may seem inefficient to some) but I manage
    between 15-20
    sites all through Dreamweaver, some requiring extensive
    updates, many
    requiring only a few tweaks quarterly, and I can tell you
    that on the
    sites I've built Libraries around, they take me maybe a few
    additional
    minutes longer to update than with the sites I've built with
    SSI. It's
    all about which sites make the most sense to build SSI or
    Libraries around.
    Of course the argument has been made: why not plan better in
    advance to
    use SSI in the first place when it may save you time in the
    future? Good
    point. However, again, the sites I choose to use Library
    items versus
    SSI were usually smaller sites, with no dynamic pages, etc.
    And for
    whatever reason I chose not to rename all my extensions to
    SHTML ...
    didn't want to jump through hoops setting up a testing server
    environment ... or upload everything to FTP everytime I
    changed the
    include file just to preview the one pixel move I made on a
    photo ...
    and the client may see the include file live on his server
    before I am
    ready to demo the whole site, which is on version 4 at this
    point ...
    and now I have to change the path of the include on the
    Template to a
    new one so he doesn't see parts of version 3 ... and I don't
    want to go
    back to my client and ask for additional hours to call the
    client's
    dumb-*** hosting company to set up SSI that should already be
    setup ...
    don't have time to wait three hours for the webhosting
    company to get
    back to me with a "we're working on it" response ... and
    we're already
    overbudget due to that fancy CSS menu I already spent way too
    much time
    on and isn't looking quite right in IE6 still ... and I've
    got to get
    going on four other website updates before 6 PM ... it's now
    5 PM ...
    and I'm probably going to be up all night again.
    Given all of that, I can't see why there appear to be so many
    Library
    hating comments on this thread. Reading through, it would
    appear that
    Library items are utterly useless -- which is just not the
    case. I'm
    surprised at the comments, actually, because the power in
    Dreamweaver
    lies in its ability to make the business of building websites
    easier for
    users with a wide range of skill levels, for almost any kind
    of job.
    Some of its tools (like Libraries) have overlap with SSI
    perhaps to give
    the user as many options as possible depending on
    circumstance. Whether
    one chooses to use Library items or SSI, the results are
    often the same
    in my experience, and I feel Libraries have even saved me
    time in
    situations where includes were simply not the wisest choice.
    Who knows,
    maybe it's because I've grown so used to them over the years
    is why I
    defend them so. But any rate, Libraries at least serve some
    of us well.
    -CC

  • JMS Messages lost after server restart

    Hi All,
    We have an environment where Oracle SOA 11g is configured to use Weblogic JMS (Database persistence). The JDBC stores have been created to hold the persistent JMS messages. However we have observed that after server restart the messages are getting lost from the queue (non consumed messages as well).
    Is there any configuration which we are missing?
    Regards
    Subhankar

    Hello Subhankar,
    Which Weblogic version are you using? What are the configuration parameters of the JMS queue you defined? During server shutdown/restart, do you see any errors in the server log?
    I would suggest you to raise a case with support as it may require an inspection of your environment and settings to find out the root cause.
    Regards,
    Anuj

  • ACE 4710 - Parameters Lost in URL

    Hi Everyone,
    I have configured SSL offloading and redirection on a 4710 appliance. Everything works fine. The issue I am facing is that some parameters in url are getting lost.
    I have https://%h/%p configured as a redirect server which works fine as far as hostname and path is concerned. i.e. full hostname and path are preserved, but that there are some parameters after the full path in encrypted format which are getting lost. I think 307 redirect can resolve this issue but ACE does not support that.
    Has anyone faced something similar? Any suggestions would be helpful.
    Thanks.
    Rehan

    Hi,
    See the snip of the config
    parameter-map type ssl SSL-MAP
      session-cache timeout 600
    parameter-map type http HTTP-MAP
      persistence-rebalance
    rserver host E-SERVER01
      ip address X.X.X.Y
      inservice
    rserver host E-SERVER02
      ip address X.X.X.Z
      inservice
    rserver redirect E-SERVICE
      webhost-redirection https://%h/%p 302
      inservice
    serverfarm host E-SERVERS
      rserver E-SERVER01 80
        inservice
      rserver E-SERVER02 80
        inservice
    serverfarm redirect SF-RE-DIRECT
      rserver E-SERVICE
        inservice
    class-map match-any E-WEB-HTTP
      2 match virtual-address X.X.X.15 tcp eq www
    class-map match-any E-WEB-HTTPS
      3 match virtual-address X.X.X.15 tcp eq https
    sticky ip-netmask 255.255.255.255 address source WEB-STICKY
      replicate sticky
      serverfarm E-SERVERS
    policy-map type loadbalance first-match PM-E-WEB
      class class-default
        sticky-serverfarm WEB-STICKY
        insert-http ClientProtocol header-value "https"
    policy-map type loadbalance first-match PM-REDIRECT
      class class-default
        serverfarm SF-RE-DIRECT
    policy-map multi-match SLB-POLICY
      class E-WEB-HTTPS
        loadbalance vip inservice
        loadbalance policy PM-E-WEB
        loadbalance vip icmp-reply
        appl-parameter http advanced-options HTTP-MAP
        ssl-proxy server SSL-MAP
      class E-WEB-HTTP
        loadbalance vip inservice
        loadbalance policy PM-REDIRECT
        loadbalance vip icmp-reply
        appl-parameter http advanced-options HTTP-MAP
    @Jorge: The device has many policies and has been running for a few years, therefore the show stats http command will not be of much help as we may see other traffic statistics/errors. If your looking for max parse len errors then thats not happening. The url length is not that long. Let me know if anything specific you want me to check.
    @Cesar: I will check but as per the information I have there are some parameters after the complete path "/" which are hash value of an authentication request. Basically what is happening when the user goes to the page, user needs to enter credentials. Once the user clicks submit the page just reloads, instead of going to the requested url.
    Thanks for your support,
    Rehan

  • Session persistence

    Hello everyone,
              I'm currently working with WL 6.1 and I'm having trouble with the
              persistence of some session variables which are initially created
              correctly on the server side, and they get lost (null) once the Web
              clients need to access its value.
              This is the error which is being written on a log file:
              <May 13, 2003 3:05:09 PM EDT> <Error> <HTTP Session> <Could not
              deserialize session data
              java.io.NotSerializableException:
              Things were woriking perfectly, but suddenly after bouncing the server
              instance several times, in order to pick up the latest changes in my
              classes, I started to get this error once the server tries to load the
              jsp.
              JSP Code:
              <%
              Integer businessID = (Integer) session.getAttribute("business_id" );
              Util.isCapitolBusiness(businessID.intValue())
              %>
              I appreciate your help.
              Regards.
              g.
              

    is the object being put in session context serializable.. Also in
              other to avoid any generated classes issues delete all the classes
              whcih weblogic generates as part of deploying the application. That
              should atleast mitigate one explanation for your problem.
              Hope this helps
              ~a
              [email protected] (Gabriel Ornelas De Luna) wrote in message news:<[email protected]>...
              > Hello everyone,
              > I'm currently working with WL 6.1 and I'm having trouble with the
              > persistence of some session variables which are initially created
              > correctly on the server side, and they get lost (null) once the Web
              > clients need to access its value.
              > This is the error which is being written on a log file:
              >
              > <May 13, 2003 3:05:09 PM EDT> <Error> <HTTP Session> <Could not
              > deserialize session data
              > java.io.NotSerializableException:
              >
              > Things were woriking perfectly, but suddenly after bouncing the server
              > instance several times, in order to pick up the latest changes in my
              > classes, I started to get this error once the server tries to load the
              > jsp.
              >
              > JSP Code:
              > <%
              > Integer businessID = (Integer) session.getAttribute("business_id" );
              > Util.isCapitolBusiness(businessID.intValue())
              > %>
              >
              > I appreciate your help.
              > Regards.
              > g.
              

  • Experiences on JPA persistence providers other than standard SAP's

    Hi developers,
    in this thread I would like to gather experiences from all those who have tried using JPA persistence providers other than SAP standard implementation in productive environments
    It would be very interesting if you could share you experiences, for instance with regards to:
    - advantages of a specific implementation
    - disadvantages (if any)
    - new features available (e.g. Lazy support for Lob and single-value relationships)
    - ease of transport (did you manage to somehow use the java dictionary DCs or what?)
    - ease of build (e.g. EclipseLink requires additional build plugins to be developed)
    - ease of overall setup: how long did it take to set the DI stuff up (SLD SC creation/track creation/check-in/check-out/activate/transport/...)?
    thank you so much for sharing your experiences.
    Regards
    Vincenzo

    Hi Vincenco,
    yes, semantic IDs do not have a place in JPA. Semantic keys are needed, but not as IDs.
    Both SAP JPA and EclipseLink use @GenerationType.TABLE generation if you define @GenerationType.AUTO. ("AUTO" just means that the persistence provider "should pick an appropriate strategy for the particular database" (javadoc)
    Both TABLE and SEQUENCE are somewhat automatic.
    I guess the fact of lost-values is because the fetching of IDs is done in another transaction (probably for performance reasons, not to have the sequence table as a bottle neck).
    On Oracle, the combination of allocationSize on JPA side and INCREMENT BY / CACHE on Database side is as follows: allocationSize must be equal to INCREMENT BY, but JPA uses the intermediate numbers (which is not the case in normal (PL)SQL programming. There is no annotation-JPA-pendant to CACHE. But that JPA uses the intermediate numbers from memory may be considered as a JPA way of sequence caching (that may be further improved by Sequence CACHE for really big mass insers in one transaction).
    CACHE>1 will give you lost values even with allocationSize = Increment BY = 1.
    On the other hand, allocationSize=1 may give bad performance on mass inserts because the JPA provider must ask the database for every instance. allocationSize>1 (e.g. 20) is better but will again yield lost values. (But who cares with "long"?)
    There is one important issue with both automated value creation strategies - GeneratorType.TABLE and GeneratorType.SEQUENCE: The ID cannot be set by yourself on instantiation of an Entity object. JPA spec defines that the ID is set at the latest on EntityManager.flush or EntityManager.commit, which is sometimes too late if you have container managed transaction boundaries.
    But both SAP JPA and EclipseLink assure that the ID with Table and Sequence is set already after call EntityManager.persist(newObject). This improves a lot, but may be not enough.
    Example:
    @Entity(name="T_ORDER")
    public class Order {
         @OneToMany(targetEntity=OrderItem.class, mappedBy="order", cascade=CascadeType.ALL)
         private List<OrderItem> items = new ArrayList<OrderItem>();
         public void addItem (OrderItem item) {
              this.items.add(item);
              item.setOrder(this);
    @Entity(name="T_ORDERITEM")
    public class OrderItem {
         @ManyToOne(targetEntity = Order.class)
         private Order order;
    EntityManager em = emf.createEntityManager();
    em.getTransaction().begin();
    Order o = new Order();
    OrderItem i1 = new OrderItem();
    o.addItem(i1);
    em.persist(o);
    OrderItem i2 = new OrderItem();
    o.addItem(i2);
    At the end of this snippet, o and i1 have ID != null but i2 has ID==null. there is no way to "auto-persist" an object which gets into a relation to an already persisted object. i2 gets an ID!= null after flush or commit.
    This may be tricky if your business logic that adds items is "pojo" without acces to EntityManager or if you do not want to mess up your business logic with flushes.
    How to "broadcast" the  unique IDs of just inserted order items to the User Interface if they are not yet set in the last line of your SLSB?
    We switched to simple UUIDs that are generated on instanciation. long VARCHAR2s, but it works fine and is very common.
    Regards
    -Rolf

  • EP - LDAP connection is lost

    Hello,
    We have the problem that occasionally the LDAP connection is lost.We get then the following error message:
    <b>LDAP: error code 48 - Anonymous Bind Disabled</b>
    We found out that this error message appears because the Password is lost and the Enterprise Portal tries then to announce with a anonymous User. But the anonymous User have no rights to announce the LDAP Server.
    Have anybody a idea why the Enterprise lost his LDAP-Password?
    In the EP-Web Administrator-Site we can reconnect with the LDAP-Password the Connection to the LDAP Server. After the new Settings we must restart the J2EE-Services.
    - Can anybody help me? - Thanks in advance.
    Greetings from Germany,
    Ralf Steffens
    Message was edited by: Ralf Steffens

    Hello,
    The following error message is located in the file: usermanagement_2005-07-04_08-43-04.log - Is the parameter too small adjusted?
    ->
    ume.ldap.connection_pool.max.size = '10'
    ->
    Jul 4, 2005 3:21:52 AM # System_Thread_51 Warning class=com.sap.security.core.persistence.datasource.imp.LDAPDataSourceConnectionPool[method=newConnection][cl=13315]an error occured when opening a connection, trying again
    javax.naming.AuthenticationException: LDAP: error code 48 - Anonymous Simple Bind Disabled.
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2731)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2677)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2478)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2395)
    at com.sun.jndi.ldap.LdapCtx.
    More information:
    By starting the server-instance we get the following error-message in the console-server-error-log:
    - it looks, as the service: com.sap.portal.license.runtime|license could´t loaded.
    Loading application: com.sap.portal.runtime.system.inqmy
    Loading application: com.sap.portal.runtime.system.notification
    Loading application: com.sap.portal.runtime.system.permission
    Loading application: com.sap.portal.runtime.system.repository
    Loading application: com.sap.portal.umeregistration
    Loading application: com.sap.portal.usermanagement
    Loading services:
    Loading service: com.sap.portal.license.runtime|license
    Jul 2, 2005 4:27:09 AM # System_Thread_32 Fatal class=com.sap.security.core.persistence.datasource.imp.LDAPConnectionManager[method=initConnectionPool()][cl=13324]connection pool for principal type UACC fails
    com.sap.security.core.persistence.datasource.imp.LDAPDataSourceConnectionPool$ServerNotAvailableException: no connection to the ldap server
    at com.sap.security.core.persistence.datasource.imp.LDAPDataSourceConnectionPool.newConnection(LDAPDataSourceConnectionPool.java:808)
    at com.sap.security.core.persistence.datasource.imp.LDAPDataSourceConnectionPool.(GroupFactory.java:76)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at com.sap.security.api.UMFactory.instantiateClass(UMFactory.java:1025) at com.sap.security.api.UMFactory.initializeClass(UMFactory.java:997)
    at com.sap.security.api.UMFactory.getGroupFactory(UMFactory.java:311)
    at com.sap.security.api.UMFactory.getSecStoreLock(UMFactory.java:1234)
    at com.sap.security.api.UMFactory.initializeSecStore620(UMFactory.java:938)
    at com.sap.security.api.UMFactory.initializeSecStore(UMFactory.java:893)
    at com.sap.security.api.UMFactory.initialize(UMFactory.java:694)
    at com.sapportals.portal.prt.service.usermanagement.UserManagementService.init(UserManagementService.java:270)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:464)
    at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:163)
    at com.sapportals.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:132)
    at com.sapportals.portal.prt.service.license.LicenseService.init(LicenseService.java:94)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:519)
    at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:875)
    at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1485)
    at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1441)
    at com.sapportals.portal.prt.core.broker.PortalAppBroker.startCoreApplications(PortalAppBroker.java:1375)
    at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:345)
    Regards,
    Ralf

  • Lost iPhone. New "owner" using my iCloud account.

    I lost my iPhone 4 about two weeks ago. It had iOS 5 on it, but Find My iPhone had not been updated on it, so iCloud.com always shows it offline. Three days ago, while using my iPad, I noticed two new pictures in my Photo Stream of some lady I don't know. Obviously the new "owner" of the phone. Now this morning I notice two new Reminders that I did not enter myself.
    How can I prevent this person from using my iCloud account if I cannot Remote Lock or Remote Wipe my iPhone?

    I agree that it may be a bad idea to keep allowing this stranger access to your stuff. I recommend contacting the police where the phone was stolen. Your cell carrier should be able to determine the exact location of the phone at all times, whether iCloud is being used or not. You should be able to safely change your password to cut off the iCloud access, then contact the police where the phone was stolen. Then the police, with your permission, can obtain the location of the phone from the carrier, and contact law enforcment at that location. The police at either location may be a bit resistant to spending the resources on this, but if you are persistent, it can be done. One of my colleagues here at work went through this with a Blackberry. It took some persistence on his part to get the local police to coax the Sheriff's Department where the stolen Blackberry was located to take action, but eventually the device was recovered and the thief was charged. This also gets the carrier involved so you won't be on the hook for any extra charges.
    Steve

Maybe you are looking for