TopLink Proxy Indirection problem when comitting uow

We are trying to introduce the use of TopLink proxy indirection into our object model.
We have run into situations where the uow cannot be committed because proxy indirection is being encountered.
(See the stack trace provided below).
What do we need to be aware of and what actions should we take to make it over this hurdle?
Would ValueHolder cause the same problem, or would TopLink be better able to handle ValueHolder indirection than Proxy Indirection?
Thanks for any help/hints guidance you can provide.
2004.09.21 06:09:51.406--UnitOfWork(2820596)--Thread[ExecuteThread: '12' for queue: 'default',5,Thread Group for Queue: 'default']--Before JTS Completion
2004.09.21 06:09:51.437--UnitOfWork(2820596)--Thread[ExecuteThread: '12' for queue: 'default',5,Thread Group for Queue: 'default']--Exception [TOPLINK-7009] (OracleAS TopLink - 10g (9.0.4.1) (Build 040128)): oracle.toplink.exceptions.ValidationException
Exception Description: Missing descriptor for [$Proxy98]. Verify that the descriptor has been properly registered with the Session.Local Exception Stack:
Exception [TOPLINK-7009] (OracleAS TopLink - 10g (9.0.4.1) (Build 040128)): oracle.toplink.exceptions.ValidationException
Exception Description: Missing descriptor for [$Proxy98]. Verify that the descriptor has been properly registered with the Session.
     at oracle.toplink.exceptions.ValidationException.missingDescriptor(ValidationException.java:599)
     at oracle.toplink.internal.descriptors.DescriptorIterator.getDescriptorFor(DescriptorIterator.java:86)
     at oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjectForMapping(DescriptorIterator.java:242)
     at oracle.toplink.mappings.ObjectReferenceMapping.iterateOnRealAttributeValue(ObjectReferenceMapping.java:267)
     at oracle.toplink.internal.indirection.IndirectionPolicy.iterateOnAttributeValue(IndirectionPolicy.java:186)
     at oracle.toplink.mappings.ForeignReferenceMapping.iterate(ForeignReferenceMapping.java:503)
     at oracle.toplink.internal.descriptors.ObjectBuilder.iterate(ObjectBuilder.java:1436)
     at oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjects(DescriptorIterator.java:258)
     at oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjectForMapping(DescriptorIterator.java:250)
     at oracle.toplink.mappings.ObjectReferenceMapping.iterateOnRealAttributeValue(ObjectReferenceMapping.java:267)
     at oracle.toplink.internal.indirection.IndirectionPolicy.iterateOnAttributeValue(IndirectionPolicy.java:186)
     at oracle.toplink.mappings.ForeignReferenceMapping.iterate(ForeignReferenceMapping.java:503)
     at oracle.toplink.internal.descriptors.ObjectBuilder.iterate(ObjectBuilder.java:1436)
     at oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjects(DescriptorIterator.java:258)
     at oracle.toplink.internal.descriptors.DescriptorIterator.startIterationOn(DescriptorIterator.java:407)
     at oracle.toplink.publicinterface.UnitOfWork.discoverUnregisteredNewObjects(UnitOfWork.java:1361)
     at oracle.toplink.publicinterface.UnitOfWork.discoverAllUnregisteredNewObjects(UnitOfWork.java:1283)
     at oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(UnitOfWork.java:325)
     at oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(UnitOfWork.java:659)
     at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1123)
     at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(UnitOfWork.java:2465)
     at oracle.toplink.jts.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:151)
     at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:540)
     at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:92)
     at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1044)
     at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1581)
     at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
     at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:282)

Hello,
Could you tell me a little more about what you are trying to do? From the stacktrace it appears that TopLink is searching for all new objects and finding a proxy, and doesn't know that it is uninstantiated.
Could you show me the piece of code where your unit of work registers and commits this object?

Similar Messages

  • Specific changes are left undetected when using proxy indirection

    Hello!
    Recently, the following issue have been identified:
    ObjectReferenceMapping together with ProxyIndirectionPolicy and *UnitOfWorkValueHolder fails to identify specific changes - setting a reference to 'null' when the attribute's value was not instantiated previously.
    Detailed description:
    Consider we have 2 objects: A and B, and A has OneToOneMapping to B and uses ProxyIndirection.
    In initial moment we have A1 that references B1 in DB.
    Then we register A1 for modification. What we have in memory in UnitOfWork? Something like the following:
    A1(Clone) with attribute for B reference uninstantiated;
    A1(Backup) with <null> reference for B, as the attribute is expected to be retrieved when we access B from A1(Clone).
    Then we set reference in A1(Clone) for B to <null>.
    This change then will not be identified during commit phase, because of the result of getAttributeValueFromObject both for B reference in A1(Clone) and A1(Backup) is <null>. This part is clearly visible from the ObjectReferenceMapping.compareForChange method code:
    if ( !owner.isNew() ) {
    backUpAttribute = getAttributeValueFromObject(backUp);
    if ( (backUpAttribute == null) && (cloneAttribute == null) ) {
    return null;
    Accessing the B field in A1(Clone) fixes the problem, because in this case backUpAttribute value is initialized through *UnitOfWorkValueHolder.
    So it seems the part should be reworked to handle such cases, it seems reasonable that fields in backup clones that are using proxy indirection should be initialized even if not accessed to contain all required information to allow correct comparision in such cases.
    Can somebody from TopLink team comment this?
    Thanks,
    Sergey

    This does appear to be an issue. I will log this problem internally, you may want to follow it up with support.
    A work around is to instantiate the proxy in your set methods.
    i.e.
    public void setAddress(Address newAddress) {
    if (this.address != null) {
    this.address.hashCode();
    this.address = newAddress;
    }

  • Toplink Proxy Authentication with 10.1.3 problem

    Hi,
    I'm are using Toplink Proxy Authentication in a JSF application with SessionFacade pattern and have implemented a preLogin() method of oracle.itech.pil.utils.PILSessionEventManager (which implements SessionEventListener) as described in
    http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm. Due to Class Loader problem while loading of SessionEventManager, I'm explicitly loading the Class by doing this:
    try {
    Thread.currentThread().getContextClassLoader().loadClass("oracle.itech.pil.utils.PILSessionEventManager");
    catch(Exception exp) {
    System.out.println("Exception while loading class oracle.itech.pil.utils.PILSessionEventManager "+exp.toString());
    The SessionEventManager is loaded by doing this:
    session.getEventManager().addListener(new PILSessionEventManager());
    (Encountered while using <event-listener-class>oracle.itech.pil.events.PILSessionEventManager</event-listener-class> in sessions.xml file, so removed and added the same using session.getEventManager().addListener(new PILSessionEventManager()) )
    But now, I'm encountering ClassCastException during the login to my application
    The below pasted exception (oracle.oc4j.rmi.OracleRemoteException: java.lang.ClassCastException: oracle.itech.pil.utils.PILSessionEventManager) is coming when invoking line (Login)session.readObject(oracle.itech.pil.model.Login.class, expression);
    Code :
    XMLSessionConfigLoader xmlLoader =
    new XMLSessionConfigLoader("META-INF/sessions.xml");
    SessionManager sessionMgr = SessionManager.getManager();
    DatabaseSession session =
    (DatabaseSession)sessionMgr.getSession(xmlLoader, "serverSession",
    SessionFacadeEJBBean.class.getClassLoader());
    // Set Listener through Java code
    //session.getEventManager().addListener(new PILSessionEventManager());
    new PILSessionEventManager();
    System.out.println("I am at getLoginDetails after the listner...>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
    Login login = null;
    LoggedInBB loggedIn = null;
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expression = null;
    // If username is not null
    System.out.println("The _uname is "+_uname);
    if (_uname != null) {
    expression = builder.get("uname").equalsIgnoreCase(_uname).and(builder.get("empno").equalsIgnoreCase(_empNo));
    if (expression != null) {
    System.out.println("expression != null >>>>>>>>>>>>>>");
    //login = (Login)session.readObject(oracle.itech.pil.model.Login.class, expression);
    login =(oracle.itech.pil.model.Login) (session.readAllObjects(oracle.itech.pil.model.Login.class, expression)).get(0);
    System.out.println("Login Object is "+login);
    Exception:
    [TopLink Info]: 2006.05.02 05:04:18.703--ServerSession(21707422)--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
    [TopLink Info]: 2006.05.02 05:04:22.619--ServerSession(21707422)--serverSession login successful
    06/05/02 17:04:22 I am at getLoginDetails after the listner............>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    06/05/02 17:04:22 The _uname is admin
    06/05/02 17:04:22 expression != null >>>>>>>>>>>>>>
    [TopLink Warning]: 2006.05.02 05:04:22.639--ServerSession(21707422)--java.lang.ClassCastException: oracle.itech.pil.utils.PILSessionEventManager
    oracle.oc4j.rmi.OracleRemoteException: java.lang.ClassCastException: oracle.itech.pil.utils.PILSessionEventManager
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:333)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:39)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
         at SessionFacadeEJB_StatelessSessionBeanWrapper2.getLoginDetails(SessionFacadeEJB_StatelessSessionBeanWrapper2.java:172)
         at oracle.itech.pil.backing.LoginBB.LoginButton_action(LoginBB.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.itech.pil.utils.PILFilter.doFilter(PILFilter.java:124)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.lang.ClassCastException: oracle.itech.pil.utils.PILSessionEventManager
         at oracle.toplink.sessions.SessionEventManager.preExecuteQuery(SessionEventManager.java:508)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:976)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
         at oracle.toplink.publicinterface.Session.readAllObjects(Session.java:2458)
         at oracle.itech.pil.ejb.SessionFacadeEJBBean.getLoginDetails(SessionFacadeEJBBean.java:399)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
         at SessionFacadeEJB_StatelessSessionBeanWrapper2.getLoginDetails(SessionFacadeEJB_StatelessSessionBeanWrapper2.java:172)
         at oracle.itech.pil.backing.LoginBB.LoginButton_action(LoginBB.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.itech.pil.utils.PILFilter.doFilter(PILFilter.java:124)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Any clue why this error, which i am facing since 10 days to complete my task
    Thanks In Advance
    Prashant

    James, what Venkat and Prashant are trying to do is something like this...
    1. If I connect to the DB using scott/tiger then in the preLogin method of the Toplink Session Listener class, the proxy user will connect using something like admin/welcome1 and in the database audit view, the name that shows up SHOULD BE that of admin and NOT of scott. This is called proxy authentication if it works fine.
    We developed the above scenario but in the audit logs, we still see scott instead of admin as the user who connected.
    2. This feature is available in the DB but our objective is to use it through TopLink
    Also see Toplink Proxy Authentication Not Working
    I hope I was able to explain the scenario clearly.
    Any help will be appreciated
    Regards,
    Amit

  • I have installed FF 8, the problem is whenever i try to launch it, it never launches (directly or indirectly), but when i check in the task manager it shows FF running. I have installed it on windows XP professional.

    I have installed FF 8, the problem is whenever i try to launch, it never launches (directly or indirectly), but when i check in the task manager it shows FF running. I have installed it on windows XP professional. Never gave an error, no messages, etc. I have disabled all the addons.

    The "System Tray" is located at the very bottom right of your screen and is a list of most/all running applications that will show in this list.
    For your SysFader issue, this "may" be the problem:
    1 Find the "My Computer" desktop icon and right-click it. A pull-down menu will appear. Select "Properties."
    2 Click on the "Advanced" tab. This will load a new page of options.
    3 Select the "Visual Effects" tab at the top of the window and deselect "Animate Windows when minimizing and maximizing," "Fade or slide menus into view," "Fade or slide Tool Tips into view" and "Fade out Menu items after checking."
    4 Click "OK." This will remove most if not all of the Sysfader effects, at the same time correcting related errors that used to come up during opening a new file or program.

  • ValueHolder/Proxy indirection regarding UPDATE set null and DELETE

    In our first implementation we were using ValueHolder indirection for 1-1 indirect relationships. For our entities to be portable, we changed our 1-1 relationships to use proxy indirection. Lazy loading works fine, but now when we delete an entity targeted by a NON NULLABE FK we get this error:
    javax.faces.el.EvaluationException: java.lang.RuntimeException: com.taleo.akira.transaction.RollBackException: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.1) (Build 040128)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-01407: cannot update ("GISD_TSG100"."POLICYSTATEMENT"."POLICYCONTEXTNO") to NULL
    I tried to always create the ProxyIndirectionHandler when we set a new value, to update the inner value of the ProxyIndirectionHandler created by TopLink, to just set the value as is without proxying, to call hashCode() on the old value to ensure that it is loaded, but nothing works. Do I miss something? Is it fixed in a later release? (Unfortunately we can't update TopLink for now) Thanks for your help, Yannick

    Sorry, I made a mistake in my explanation. In our framework, we manage bidirectionnality. To be able to delete an entity, we must remove all references to it. The problem occurs when the entity to delete has a bidirectionnal relation. With ValueHolder indirection, TopLink detects that the entity will be deleted and doesn't update the to NULL. It just executes the DELETE statement. Using proxy indirection, it executes the UPDATE statement to update the FK to NULL and then DELETE the entity. When FK are not nullable, an exception is thrown. Even if we change our FK to be all nullables, it will execute the UPDATE statement which is not good performance wise. Do you think of a solution? Thanks, Yannick

  • ValueHolder vs. Proxy Indirection

    Hi all,
    We have a new project and we must decide what kind of indirection we'll use. I analyzed both indirection types, and noticed that ValueHolder is simpler but kind of 'pollutes' the code, OTOH proxy indirection is transparent but it needs to have interfaces for each indirection class. I don't know if we choose the elegant and transparent proxy indirection, or the simplicity of ValueHolder indirection.
    What do you use? Why not use Proxy? Why not use ValueHolder?
    Should I mix ValueHolder and Proxy Indirection?
    Thanks,
    Henrique Viecili

    Henrique,
    Either option is functional and both illustrate the challenges of transparent 1:1 indirection in Java. In order to truly make these lazy load relationships transparent you must do one of the following:
    1 - Introduce a proxy class (value holder)
    2 - Use Java's dynamic proxy
    3 - use byte-code weaving/enhancement (ASM, BCEL, CGLIB, ...)
    Going forward, starting with TopLink JPA, we are offering dynamic byte code weaving. This involves the classes having the proxy introduced when the persistent class is loaded. This is the best way as it does not require any additional proxy class or interfaces in your model and does not add any additional compile/build steps to development.
    In the current releases of Oracle TopLink I would recommend using the ValueHolder approach for 1:1 as a private field and then wrap it in get/set methods that provide access to only the real related object type. Using this pattern you can more easily move to our dynamic weaving solution without the ValueHolder with the least amount of change.
    Proxy indirection does have some performance impact.
    Doug

  • TopLink Proxy authentication issue

    Hello all,
    I tried to use proxy authentication for TopLink for connecting to a database via TopLink in a J2EE application deployed on an Oracle iAS 10.1.2. For doing that, I tried to follow the steps described in the TopLink documentation (http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm#BABDABCF) with the last scenario, "Server Session uses Proxy Connection".
    According to the previously mentioned documentation, I created a session event handler for the preLoginEvent session event, the preLogin(SessionEvent event) method that I copied below.
    The issue with this is that, when I try to run a TopLink query in a Java DAO class, I obtained some exceptions. There are two cases here:
    1-If the code preLogin(SessionEvent event) is exactly as below, it seems that the queried views/tables cannot be seen. The exception obtained is:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:SELECT count(*) FROM CIFHUB.SCQA_TEMPLATE
    Query:DataReadQuery()
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:290)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:570)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
    at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:453)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:156)
    at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(DataReadQuery.java:118)
    at oracle.toplink.queryframework.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:110)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
    at oracle.toplink.queryframework.DataReadQuery.execute(DataReadQuery.java:96)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2062)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
    at oracle.toplink.publicinterface.Session.executeSelectingCall(Session.java:1027)
    at oracle.service.infra.myservlet.ACSProxyTestServlet.callTopLinkQuery3(ACSProxyTestServlet.java:138)
    at oracle.service.infra.myservlet.ACSProxyTestServlet.doGet(ACSProxyTestServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.service.infra.servlets.SecurityFilter.doFilter(SecurityFilter.java:105)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    2 - If in the preLogin(SessionEvent event) code, the line login.setProperty("proxytype", Integer.toString(OracleConnection.PROXYTYPE_USER_NAME)); is uncommented, then another exception is obtained. In this case another exception is obtained: an Invalid User/Password exception is thrown. If I comment this line, the login is successfull, but I obtain the exception at section 1.
    I have to tell you in both cases the parameters of the Data source are properly set. I tested the datasource in another servlet where I created directly the connection based on the same datasource taken from the application server's JNDI.
    Do you have any hint or idea about this issue?
    Thanks a lot in advance!
    Regards,
    Marinel
    public void preLogin(SessionEvent event)
    DatabaseLogin login = event.getSession().getLogin();
    // Make sure that external connection pooling is used
    login.setUsesExternalConnectionPooling(true);
    // Custom code to get the connector
    try
    login.setConnector(new OracleJDBC10_1_0_2ProxyConnector("jdbc/acs_proxyDS"));
    } catch (Exception ex)
    ex.printStackTrace();
    // End of custom code to get connector
    // login.setProperty("proxytype", Integer.toString(OracleConnection.PROXYTYPE_USER_NAME));
    login.setProperty(OracleConnection.PROXY_USER_NAME, "[email protected]");
    login.setProperty(OracleConnection.PROXY_DISTINGUISHED_NAME, "cn=my_name,l=emea,dc=oracle,dc=com");
    String[] roles = new String[1];
    roles[0] = "Manager";
    login.setProperty(OracleConnection.PROXY_ROLES, roles);
    }

    Hi, I am also working on proxy authentication and am having the same problem as Marinel.
    If I use a normal jdbc proxy connection, I can access the table just fine, and using a direct Toplink connection works fine.However, when i try and use proxy authentication via Toplink, i do not have permissions on the table.
    From your last update,it seems that if I want to use DISTINGUISED NAME authentication, I should set "proxytype" to OracleConnection.PROXYTYPE_DISTINGUISHED_NAME, and set OracleConnection.PROXY_DISTINGUISHED_NAME to the full user distinguised name.
    I have temporarily altered my preLogin Event as below to show these two scenarios, to access the table via normal jdbc proxy connection (and this part works), and then below that I try and set up the Toplink proxy session(which fails).
    public void preLogin(SessionEvent event) {
    DatabaseLogin login = event.getSession().getLogin();
    // Make sure that external connection pooling is used
    login.setUsesExternalConnectionPooling(true);
    String urlThin =
    "<jdbc_url>";
    OracleDataSource ds;
    OracleConnection oc = null;
    try {
    // Part 1 - Setup and access the PROXYDUMMY1 table using jdbc proxy sessions
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    ds = new OracleDataSource();
    ds.setURL(urlThin);
    Properties props = new java.util.Properties();
    props.put(OracleConnection.PROXY_DISTINGUISHED_NAME,
    "cn=firstname_lastname,l=emea,dc=oracle,dc=com"); props.put("proxytype",OracleConnection.PROXYTYPE_DISTINGUISHED_NAME);
    ds.setUser("database_account");
    ds.setPassword("database_password");
    oc = (OracleConnection)ds.getConnection();
    oc.openProxySession (OracleConnection.PROXYTYPE_DISTINGUISHED_NAME, props);
    String sql= " SELECT COL1, COL2 FROM PROXYDUMMY1";
    Statement stmt = oc.createStatement();
    ResultSet rSet = stmt.executeQuery(sql);
    System.out.println("==============User requested data=================");
    while ( rSet.next() )
    System.out.println(rSet.getString(1));
    rSet.close();
    stmt.close();
    //Part 2 - set up the proxy session for use by Toplink
    login.setConnector(new OracleJDBC10_1_0_2ProxyConnector(ds));
    login.setProperties(props);
    } catch (Exception e) {
    System.out.println("Exception: ProxyConnection.getConnection: "+e.getMessage());
    e.printStackTrace();
    }

  • Understanding proxy indirection for one-to-one mappings

    The developer's guide states the following for proxy indirection:
    To use proxy indirection, your domain model must satisfy all of the following criteria:
    ** The target class of the one-to-one relationship must implement a public interface.
    ** The one-to-one attribute on the source class must be of the interface type.
    ** If you employ method accessing ("Configuring Method Accessing"), then the getter and setter methods must use the interface.
    My current descriptors all have get/set methods for their attributes. So does this mean that I need to create an interface for each descriptor that has corresponding get/set methods?
    If so, this seems to add a little overhead to maintaining the descriptors. Anytime an attribute is added, removed or modified in a way that would change the method signature; the interface must also be updated to reflect the change. Is there any way to avoid this overhead?

    The recommended approach for lazy loading one to ones is generally to use ValueHolders.
    Proxy indirection is a solution for lazy loading one to ones, not requiring TopLink classes (i.e. ValueHolders) to be imported and referenced in the Domain model. It also doesn't require code generation, or static byte code enhancement.
    In both solutions (regular ValueHolders or Proxy Indirection), TopLink needs to build the Domain objects with empty Place Holders. When the place holder is accessed, addition SQL and Object Building occurs. Coding to an interface in Proxy Indirection allows for the 'place holders' to be used under the interface without the user directly referencing ValueHolders. Without this interface TopLink couldn't do this. Proxy Indirection is not a perfect solution however.
    Using TopLink's JPA support (10.1.3 in preview mode, or 10.1.3.1) ValueHolders are dynamically put into the byte codes of the classes at runtime, allowing the user to have lazy loading without proxy indirection or putting ValueHolders in the Object model.
    Peter

  • EJB 3.0 indirection problem

    Hi,
    I'm trying to use lazy loading with EJB 3.0. I've generated CMP beans from tables in JDev. I have the same table schema as in tutorial:
    http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos-ejb3/howtooutofcontainer/doc/how-to-ejb30-out-of-container.html
    I have such a mapping:
    @ManyToOne(fetch=EAGER)
    @JoinColumn(name="CUST_ID", referencedColumnName="EJB_CUSTOMER.CUST_ID")
    public EjbCustomer getEjbCustomer() {
    return ejbCustomer;
    It works fine, but when I change the value of "fetch" attribute to LAZY a get following Exception:
    java.lang.NullPointerException
         at oracle.toplink.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:205)
         at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:61)
         at ejb_sample.EjbOrder.getEjbCustomer(EjbOrder.java:72)
         at ejb_sample.EjbSampleFacadeEJBClient.main(EjbSampleFacadeEJBClient.java:29)
    Do I have to set anything else (more thane "fetch" attribute) to use indirection?
    Thanks for any reply,
    Piotr Bloch
    Poznan Univerity of Technology, Poland

    Piotr,
    I assume from your stack trace that you are accessing the attribute on a remote client. When a JPA entity is returned from a remote session bean it is serialized. When this happens any non-instantiated relationships will no longer be able to trigger the lazy load capability as they are now detached from the persistence context of the server.
    If you require lazy-loaded relationships on the client it is recommended that you trigger their loading on the server prior to returning them.
    Doug

  • How to pass Proxy user dynamically in Toplink proxy authentication?

    Hi,
    I'm using Toplink Proxy Authentication with my ADF JSF application and want to pass the Proxy user dynamically to the preLogin(..) method of mySessionEventListener (Currently proxy user is hard coded).
    This is to make my application user as the Proxy user.
    I have tried to do this in two ways:
    1) In my Login screen Backing Bean, I retrieve the session as
    session = sessionFactory.acquireSession(); and set the application user in it as
    session.setProperty("proxyUser1", inputText1.getValue());
    But,
    session.getProperty("proxyUser1") returns null in the preLogin(..) method
    2) I add a loginUser property to the mySessionEventListener class and create a constructor to set it.
    Then I call the constructor from my Login Backing Bean as
    mySessionEventListener eventMgr = new mySessionEventListener(<proxy_user>);
    session.getEventManager().addListener( eventMgr );
    But, the loginUser property seeems to be transient and does not retain value when retrieved in preLogin(..) method.
    Please indicate if anything is wrong. Also, is there any other way to get this done?
    Thanks in advance.
    Vikas

    Hi Vikas,
    Probably your sessions.xml defines a ServerSession, and acquireSession method returns a ClientSession. ServerSession is the object that connects to the database, it may have any number of ClientSessions associated with it - all of them use connections provided by ServerSession's connection pools.
    So if you'd like to alter the serverSession before login, acquireSession is too late - it triggers login of the ServerSession and returns a ClientSession.
    To get the ServerSession before login:
    // the first param indicates that the session shouldn't be connected
    Session serverSession = sessionFactory.getSharedSession(false, false);Now you have a serverSession on which login hasn't been called yet.
    You can set the property into the session, or directly into its login.
    In fact you may choose to do whatever you wanted to do in preLogin right here - in this case no preLogin event would be required of course.
    Finally to get a ClientSession, call the same api did:
    // the first param indicates that the session shouldn't be connected
    Session clientSession = sessionFactory.getSession();On the first such call the ServerSession will be connected.
    Note that because all the ClientSessions will connect through the connections provided by the same ServerSession they will all use proxyUser1.
    If you are interested in using different proxy users for different ClientSessions http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm#BABDABCF lists several scenarios for that.
    Andrei

  • IPC problem when using WSRP

    Hello all,
    I have a problem with IPC when using WSRP. The setting: I have two Portlets, an EchoPortlet which echoes back what was typed into a textfield and a MessagePortlet, which receives the typed in text form the EchoPortlet via a custom event (PortletMessageEvent) in a custom backing file and displays it. The portlets are Weblogic JSF portlets. I am using WLP 9.2.3.
    In local mode everything just works fine; when I consume the two portlets as remote portlets, the event does not seem to get handled:
    These are my .portlet files:
    EchoPortlet:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root
    xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet
    definitionLabel="echo_1"
    title="Echo Portlet">
    <netuix:titlebar>
    </netuix:titlebar>
    <netuix:content>
    <netuix:facesContent contentUri="/portlets/echo/jsp/messageentry.faces"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>
    MessagePortlet:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet backingFile="de.awd.vertriebsportal.common.EventListenerBacking"
    definitionLabel="message_1" title="Message Portlet">
    <netuix:handleCustomEvent event="PortletMessageEvent" eventLabel="handleCustomEvent1"
    fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionWildcard="any">
    <netuix:invokeBackingFileMethod method="handleEvent"/>
    </netuix:handleCustomEvent>
    <netuix:titlebar/>
    <netuix:content>
    <netuix:facesContent contentUri="/portlets/message/jsp/messagedisplay.faces"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>
    Here are the WSRP requests from the performBlockingInteraction request on that sends the event:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <urn:performBlockingInteraction xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
    <urn:registrationContext>
    <urn:registrationHandle>4001</urn:registrationHandle>
    </urn:registrationContext>
    <urn:portletContext>
    <urn:portletHandle>echo_1</urn:portletHandle>
    </urn:portletContext>
    <urn:runtimeContext>
    <urn:userAuthentication>wsrp:none</urn:userAuthentication>
    <urn:portletInstanceKey>wsrpjsftestremote
    main_T1800382711259255957802</urn:portletInstanceKey>
    <urn:namespacePrefix>
    T1800382711259255957802</urn:namespacePrefix>
    <urn:sessionID>
    LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID>
    <urn:extensions>
    <urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types">
    <urn1:skeletonId>text</urn1:skeletonId>
    <urn1:skeletonPath>
    /framework/skeletons/</urn1:skeletonPath>
    <urn1:skinId>text</urn1:skinId>
    <urn1:skinPath>/framework/skins/</urn1:skinPath>
    </urn1:LookAndFeelDescriptor>
    </urn:extensions>
    </urn:runtimeContext>
    <urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true" />
    <urn:markupParams>
    <urn:secureClientCommunication>
    false</urn:secureClientCommunication>
    <urn:locales>de</urn:locales>
    <urn:mimeTypes>text/html</urn:mimeTypes>
    <urn:mimeTypes>image/gif</urn:mimeTypes>
    <urn:mimeTypes>image/x-xbitmap</urn:mimeTypes>
    <urn:mimeTypes>image/jpeg</urn:mimeTypes>
    <urn:mimeTypes>image/pjpeg</urn:mimeTypes>
    <urn:mimeTypes>
    application/x-shockwave-flash</urn:mimeTypes>
    <urn:mimeTypes>application/x-ms-application</urn:mimeTypes>
    <urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes>
    <urn:mimeTypes>
    application/vnd.ms-xpsdocument</urn:mimeTypes>
    <urn:mimeTypes>application/xaml+xml</urn:mimeTypes>
    <urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes>
    <urn:mimeTypes>
    application/vnd.ms-powerpoint</urn:mimeTypes>
    <urn:mimeTypes>application/msword</urn:mimeTypes>
    <urn:mimeTypes>*/*</urn:mimeTypes>
    <urn:mode>wsrp:view</urn:mode>
    <urn:windowState>wsrp:normal</urn:windowState>
    <urn:clientData>
    <urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows
    NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
    3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM
    8)</urn:userAgent>
    </urn:clientData>
    <urn:navigationalState>
    /wsrpjsftestWeb/portlets/echo/jsp/messageentry.faces</urn:navigationalState>
    <urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
    <urn:markupCharacterSets>*</urn:markupCharacterSets>
    </urn:markupParams>
    <urn:interactionParams>
    <urn:portletStateChange>readOnly</urn:portletStateChange>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm:messageSubmit">
    <urn:value>
    <![CDATA[Abschicken]]>
    </urn:value>
    </urn:formParameters>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm:message">
    <urn:value>
    <![CDATA[asdadasd]]>
    </urn:value>
    </urn:formParameters>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm">
    <urn:value>
    <![CDATA[T1800382711259255957802:MessageEntryForm]]>
    </urn:value>
    </urn:formParameters>
    </urn:interactionParams>
    </urn:performBlockingInteraction>
    </soapenv:Body>
    </soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <performBlockingInteractionResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
    <updateResponse>
    <navigationalState>
    /portlets/echo/jsp/messageentry.faces</navigationalState>
    </updateResponse>
    <extensions>
    <Event xmlns="urn:bea:wsrp:ext:v1:types">
    <eventName xmlns:urn="urn:bea:wsrp:wlp:v2:events:name">
    urn:PortletMessageEvent</eventName>
    <eventType xmlns:urn="urn:bea:wsrp:wlp:v2:events:type">
    urn:custom</eventType>
    <eventPayload>
    <binary>rO0ABXQACGFzZGFkYXNk</binary>
    </eventPayload>
    <sourceDefinitionLabel>echo_1</sourceDefinitionLabel>
    <sourceInstanceLabel>
    T1800382711259255957802</sourceInstanceLabel>
    </Event>
    </extensions>
    </performBlockingInteractionResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    The following getMarkup requests for the EchoPortlet and the MessagePortlet:
    Echo:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>echo_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote     main_T1800382711259255957802</urn:portletInstanceKey><urn:namespacePrefix>T1800382711259255957802</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:navigationalState>/portlets/echo/jsp/messageentry.faces</urn:navigationalState><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
    <markupContext>
    <mimeType>text/html; charset=UTF-8</mimeType>
    <markupString>
    <![CDATA[
    <form id="T1800382711259255957802:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&amp;_windowLabel=T1800382711259255957802&amp;wsrp-urlType=blockingAction&amp;wsrp-url=&amp;wsrp-requiresRewrite=false&amp;wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fecho%2Fjsp%2Fmessagedisplay.faces&amp;wsrp-interactionState=&amp;wsrp-mode=wsrp%3Aview&amp;wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
    <table cellpadding="0" cellspacing="5" border="0" width="100%" >
    <tr>
    <td valign="top">
    <label for="T1800382711259255957802:MessageDisplayForm:message">
    <span id="T1800382711259255957802:MessageDisplayForm:messageLabel">Nachricht:</span>
    </label>
    </td>
    <td valign="top">
    <span id="T1800382711259255957802:MessageDisplayForm:message">asdadasd</span>
    </td>
    </tr>
    <tr>
    <td valign="top" colspan="2">
    <input type="submit" name="T1800382711259255957802:MessageDisplayForm:_id1" value="Zur&uuml;ck" />
    </td>
    </tr>
    </table>
    <input type="hidden" name="T1800382711259255957802:MessageDisplayForm" value="T1800382711259255957802:MessageDisplayForm" /></form>
    ]]>
    </markupString>
    <locale>de-DE</locale>
    <requiresUrlRewriting>false</requiresUrlRewriting>
    </markupContext>
    </getMarkupResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    Message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>message_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote     main_T1800482711259255957849</urn:portletInstanceKey><urn:namespacePrefix>T1800482711259255957849</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types"><markupContext><mimeType>text/html; charset=UTF-8</mimeType><markupString><![CDATA[
              <form id="T1800482711259255957849:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&amp;_windowLabel=T1800482711259255957849&amp;wsrp-urlType=blockingAction&amp;wsrp-url=&amp;wsrp-requiresRewrite=false&amp;wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fmessage%2Fjsp%2Fmessagedisplay.faces&amp;wsrp-interactionState=&amp;wsrp-mode=wsrp%3Aview&amp;wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
                   <table cellpadding="0" cellspacing="5" border="0" width="100%" >
                   <tr>
                   <td valign="top">
                        <label for="T1800482711259255957849:MessageDisplayForm:message">
                                  <span id="T1800482711259255957849:MessageDisplayForm:messageLabel">Nachricht:</span>
                        </label>
                             </td>
                   <td valign="top">
                             <span id="T1800482711259255957849:MessageDisplayForm:message"></span>
                             </td>
                   </tr>
                   </table>
              <input type="hidden" name="T1800482711259255957849:MessageDisplayForm" value="T1800482711259255957849:MessageDisplayForm" /></form>
    ]]></markupString><locale>de-DE</locale><requiresUrlRewriting>false</requiresUrlRewriting></markupContext></getMarkupResponse></soapenv:Body></soapenv:Envelope>
    Finally, the code of the handleEvent method in the backing file (works fine locally):
         public void handleEvent(HttpServletRequest request,
                   HttpServletResponse response,
                   Event event) {
              System.out.println("EventListenerBacking - Receiving custom event...");
              CustomEvent customEvent = (CustomEvent) event;
              Serializable payload = customEvent.getPayload();
              System.out.println("EventListenerBacking - payload: " + payload);
         BackingPortletUtil portletUtil = PortletUtilFactory.getInstance().getBackingPortletUtil();
              portletUtil.storeSharedState(request, payload);
              request.setAttribute("customPayload", payload);
    And the code to fire the event:
         public void sendMessage(HttpServletRequest request, Serializable payload) {
              PortletBackingContext context = getPortletBackingContext(request);
              if (context != null) {
                   System.out.println("Sending portlet message with event " + PORTLET_EVENT);
                   context.fireCustomEvent(PORTLET_EVENT, payload);
    PORTLET_EVENT is a static constant:
    public static final String PORTLET_EVENT = "PortletMessageEvent";
    Any idea, why the event is not handled when using WSRP?
    Kind regards,
    Stefan

    Hello Stefan,
    The event handling information is added to the proxy portlet only when the proxy portlet is created- not when it is added to a page. So if you already have the remote portlet added to a page when you add an event to the portlet on the producer side, you would need to remove the proxy portlet from the page on the consumer side, remove the proxy portlet from the consumer entirely, and re-add it from the producer.
    It is also possible to create the proxy portlets from the IDE, but in WLP 9.2, it isn't possible to change the IP of a producer after a streaming portal has been created in most cases. If your producer does not require registration and your streaming portal does not contain any customized remote portlets (portlets whose preference values were changed), it may be possible in WLP 9.2 to use the propagation tool to move the streaming portal to a new consumer, and once it is on the new consumer I think you can use the the Admin Tools to change the WSDL URL of the producer to point to your new producer. If registration is required or any of the producer portlets are customized, this won't work. It is worth noting that WLP 10.2 and higher versions support moving streaming portals across producers even when registration is required or portlets have been customized, so upgrading WLP versions is another possibility.
    Kevin

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • Unmarshaller failed problem when upgrading weblogic8.1 domain to 9.2

    Hi,I met a problem when I upgrade a 8.1 domain to 9.2 using upgrade tool. It seems the web.xml has error, and I also read some topic about this problem, but I didn't find there's any duplicate elements in this file, could anybody help me? Thank you! Here is the error and the xml file.
    ==================The error====================
    Unable to load descriptor /tmp/appcgen_EPCISProject_v18.7.ear/EPCISWeb/WEB-INF/web.xml of module EPCISWeb. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
    at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:286)
    at weblogic.application.compiler.WARModule.merge(WARModule.java:303)
    at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:41)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:130)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:142)
    at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
    at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:177)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:150)
    at weblogic.deploy.api.model.WebLogicDeployableObject.createLazyDeployableObject(WebLogicDeployableObject.java:730)
    at weblogic.deploy.api.tools.Inspector.setup(Inspector.java:47)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.TagLibBeanImpl@a6cbe1f4(//TagLibs[WEB-INF/c.tld])"
    at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
    at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:159)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:130)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:184)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
    at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:286)
    at weblogic.application.compiler.WARModule.merge(WARModule.java:303)
    at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:41)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.TagLibBeanImpl@a6cbe1f4(//TagLibs[WEB-INF/c.tld])"
    at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
    at weblogic.j2ee.descriptor.JspConfigBeanImpl.setTagLibs(JspConfigBeanImpl.java:128)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
          at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
          at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
          at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
          at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
          at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
          at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
          at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:159)
          at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:130)
          at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
          at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
          at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:184)
          at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
          at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
          at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
          at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
          at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
          at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
          at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:286)
          at weblogic.application.compiler.WARModule.merge(WARModule.java:303)
          at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
          ... 2 more
    An unexpected error specifying configuration information for the application 'EPCISProject_v18.7' due to weblogic.management.provider.UpdateException: Exception in AppMerge flows' progression.
    =====================The web.xml=====================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="WebApp">
      <display-name>OnJavaCom Sample</display-name>
      <!--
           - Location of the XML file that defines the root application context
           - Applied by ContextLoaderListener.
           -->
      <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
             /WEB-INF/applicationContext.xml
              /WEB-INF/securityContext.xml
              /WEB-INF/jobContext.xml
              /WEB-INF/epcContext.xml
              /WEB-INF/naiContext.xml
              /WEB-INF/reportContext.xml
              /WEB-INF/tablemaintenanceContext.xml
              /WEB-INF/QIContext.xml
              /WEB-INF/feedbackContext.xml
              /WEB-INF/loginContext.xml
        </param-value>
      </context-param>
         <context-param>
              <param-name>log4jConfigLocation</param-name>
              <param-value>/WEB-INF/log4j.properties</param-value>
         </context-param>
         <!--
              - Loads the root application context of this web app at startup,
              - by default from "/WEB-INF/applicationContext.xml".
              - Use WebApplicationContextUtils.getWebApplicationContext(servletContext)
              - to access it anywhere in the web application, outside of the framework.
              - The root context is the parent of all servlet-specific contexts.
              - This means that its beans are automatically available in these child contexts,
              - both for getBean(name) calls and (external) bean references.
              - If your web container loads listeners first then this will work fine.  Otherwise,
              use the SpringContextServlet to load the context.
         -->
         <listener>
              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
         </listener>
         <listener>
              <listener-class>com.bea.wlw.runtime.core.servlet.WebappContextListener</listener-class>
         </listener>
         <listener>
              <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
         </listener>
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
                   <param-name>config/main</param-name>
                   <param-value>/WEB-INF/struts-config-main.xml</param-value>
              </init-param>
              <init-param>
                   <param-name>storage</param-name>
                   <param-value>de.laures.cewolf.storage.TransientSessionStorage</param-value>
              </init-param>
              <!-- sets overlib.js location relative to webapp -->
              <init-param>
                   <param-name>overliburl</param-name>
                   <param-value>etc/overlib.js</param-value>
              </init-param>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
              <init-param>
                   <param-name>detail</param-name>
                   <param-value>2</param-value>
              </init-param>
              <init-param>
                   <param-name>validate</param-name>
                   <param-value>true</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
         <taglib>
              <taglib-uri>/WEB-INF/struts-bean-el.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/struts-html-el.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/struts-logic-el.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/c.tld</taglib-uri>
              <taglib-location>/WEB-INF/c.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/cewolf-1.1.tld</taglib-uri>
              <taglib-location>/WEB-INF/cewolf-1.1.tld</taglib-location>
         </taglib>
         <taglib>
              <taglib-uri>/WEB-INF/c.tld</taglib-uri>
              <taglib-location>/WEB-INF/cewolf.tld</taglib-location>
         </taglib>
    <!--
    In taglibs.jsp
         <%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout" %>
    -->
         <taglib>
              <taglib-uri>/WEB-INF/struts-layout.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-layout.tld</taglib-location>
         </taglib>
         <filter>
              <filter-name>Acegi Filter Chain Proxy</filter-name>
              <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
              <init-param>
                   <param-name>targetClass</param-name>
                   <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>Acegi Filter Chain Proxy</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <listener>
              <listener-class>org.acegisecurity.ui.session.HttpSessionEventPublisher</listener-class>
         </listener>
         <session-timeout>60</session-timeout>
         <servlet>
              <servlet-name>NAI</servlet-name>
              <servlet-class>com.epc.common.servlet.EPCISServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>NAI</servlet-name>
              <url-pattern>/NAI</url-pattern>
         </servlet-mapping>
         <servlet>
              <servlet-name>MGB</servlet-name>
              <servlet-class>com.epc.common.servlet.MGBServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>MGB</servlet-name>
              <url-pattern>/MGB</url-pattern>
         </servlet-mapping>
         <servlet>
              <servlet-name>CewolfServlet</servlet-name>
              <servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>CewolfServlet</servlet-name>
              <url-pattern>/main/cewolf/*</url-pattern>
         </servlet-mapping>
    </web-app>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

    I am dealing with the same issue. I am trying to install Business Objects Enterprise 11.
    ####<Aug 2, 2007 12:17:18 PM CDT> <Error> <Console> <imagenow> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1186075038254> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: [HTTP:101064][WebAppModule(Report Server Admin:admin)] Error parsing descriptor in Web appplication "C:\inreports\BusinessObjects Enterprise XI\BusinessObjects Enterprise 11\java\applications\admin"
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:781)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:272)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl@e30790b(/ServletMappings[weblogic.descriptor.internal.CompoundKey@ea2c6ca])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServletMappings(WebAppBeanImpl.java:1227)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:775)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:272)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
    weblogic.application.ModuleException: Unmarshaller failed
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:781)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:272)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl@e30790b(/ServletMappings[weblogic.descriptor.internal.CompoundKey@ea2c6ca])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServletMappings(WebAppBeanImpl.java:1227)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:775)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:272)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:980)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:799)
         ... 25 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl@e30790b(/ServletMappings[weblogic.descriptor.internal.CompoundKey@ea2c6ca])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:207)
         at weblogic.j2ee.descriptor.WebAppBeanImpl.setServletMappings(WebAppBeanImpl.java:1227)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:185)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
         at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:376)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
         at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
         at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:775)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:272)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         WEB.XML FILE
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <!-- General description of your web application -->
    <display-name>Admin Web Examples</display-name>
    <description>
    Crystal Enterprise admin web examples.
    </description>
    <!-- Context initialization parameters that define shared
    String constants used within your application, which
    can be customized by the system administrator who is
    installing your application. The values actually
    assigned to these parameters can be retrieved in a
    servlet or JSP page by calling:
    String value =
    getServletContext().getInitParameter("name");
    where "name" matches the <param-name> element of
    one of these initialization parameters.
    You can define any number of context initialization
    parameters, including zero.
    -->
    <!-- You can specify the default CMS machine name here -->
    <!-- Put your CMS name inside <param-value> </param-value> -->
    <!-- eg. <context-param> -->
    <!-- <param-name> CMS </param-name> -->
    <!-- <param-value> CrystalMS </param-value> -->
    <!-- eg. </context-param> -->
    <context-param>
         <param-name> CMS </param-name>
    <param-value> aschmidt </param-value>
    </context-param>
    <!-- Uncomment the following context-param if you are using
    multi-byte characters with WebLogic. Please note that for this
    to work your application will need to send data to and receive
    data from the client browser in UTF8-->
    <!--
         <context-param>
              <param-name>weblogic.httpd.inputCharset./*</param-name>
              <param-value>utf-8</param-value>
         </context-param>
    -->
    <!-- This context parameter specifies where to put the temporary image files that the viewer generates -->
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>../crystalreportviewers11</param-value>
    </context-param>
    <!-- Uncomment out the following three context parameters to enable viewer exception logging. Not needed for
    normal running but could be useful for troubleshooting -->
    <!--
    <context-param>
    <param-name>crystal_enable_logging</param-name>
         <param-value>true</param-value>
         <description>
    "true" to enable
    </description>
    </context-param>
    <context-param>
    <param-name>crystal_exception_info</param-name>
         <param-value>long</param-value>
    <description>
    To display the exception info or not. If this parameter is not set, the default value is short.
    It can be one of the following values:
    a) disable - Not display the exception info. The exception will be rethrown and user has to handle it.
    b) short - Display the exception info in the short form. It displays the exception message only.
    c) long - Display the exception info in the long form. It displays the exception including the stack trace.
    </description>
    </context-param>
    <context-param>
    <param-name>crystal_exception_log_file</param-name>
         <param-value>c:\webreporting.log</param-value>
    <description>
    Set this parameter to log the exception in long form to the file specified.
    The value is the full path of the log file.
    </description>
    </context-param>
    -->
    <!-- Servlet Mappings -->
    <servlet>
    <servlet-name> objectViewer </servlet-name>
    <description>
    Object Viewer
    </description>
    <servlet-class> com.crystaldecisions.examples.ObjectViewerServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>manageAccounts</servlet-name>
    <description>
    Manage User/Group Accounts
    </description>
    <servlet-class>com.crystaldecisions.examples.ManageAccountsServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>adminLDAP</servlet-name>
    <description>
    Administrate LDAP plugin
    </description>
    <servlet-class>com.crystaldecisions.examples.AdminLDAPServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>logon</servlet-name>
    <description>
    Logon to the CMS
    </description>
    <servlet-class>com.crystaldecisions.examples.LogonServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>deleteInstance</servlet-name>
    <description>
    Delete instances
    </description>
    <servlet-class>com.crystaldecisions.examples.DeleteInstanceServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>setReportLogons</servlet-name>
    <description>
    Set DB Logons
    </description>
    <servlet-class>com.crystaldecisions.examples.SetReportLogonsServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>setReportSchedule</servlet-name>
    <description>
    Set DB schedule settings
    </description>
    <servlet-class>com.crystaldecisions.examples.SetReportScheduleServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>serverAdmin</servlet-name>
    <description>
    Administrate servers.
    </description>
    <servlet-class>com.crystaldecisions.examples.ServerAdminServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>viewreport</servlet-name>
    <description>
    View report
    </description>
    <servlet-class>com.crystaldecisions.examples.ViewReportServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>viewrpt</servlet-name>
    <description>
    Reportsource bridge used to support Java applet viewer and ActiveX viewer.
    </description>
    <servlet-class>com.businessobjects.crystalreports.reportsourcebridge.ReportSourceBridge</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>localizeURL</servlet-name>
    <description>
    Used to redirect to the localized html page
    </description>
    <servlet-class>com.crystaldecisions.examples.LocalizeURLServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
         <servlet-name>setRightsTablePref</servlet-name>
    <description>
    Used to set Object Rights Table's viewing preferences
    </description>
    <servlet-class>com.crystaldecisions.examples.SetRightsTablePrefServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>manageAccounts</servlet-name>
    <url-pattern>/changeAliasesPasswords/manageAccounts</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adminLDAP</servlet-name>
    <url-pattern>/adminLDAP/adminLDAP</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>setReportLogons</servlet-name>
    <url-pattern>/changeDBLogon/setReportLogons</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>serverAdmin</servlet-name>
    <url-pattern>/onePageServerAdministration/serverAdmin</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/changeAliasesPasswords/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/adminLDAP/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/instancesByStatus/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>deleteInstance</servlet-name>
    <url-pattern>/instancesByStatus/deleteInstance</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>objectViewer</servlet-name>
    <url-pattern>/instancesByStatus/objectViewer</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>viewreport</servlet-name>
    <url-pattern>/instancesByStatus/viewreport</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>viewrpt</servlet-name>
    <url-pattern>/viewrpt.cwr</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/instancesByStatus/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/changeDBLogon/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>setReportLogons</servlet-name>
    <url-pattern>/changeDBLogon/setReportLogons</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/onePageServerAdministration/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>viewreport</servlet-name>
    <url-pattern>/instancesByStatus/viewreport</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>deleteInstance</servlet-name>
    <url-pattern>/instancesByStatus/deleteInstance</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>setReportLogons</servlet-name>
    <url-pattern>/changeDBLogon/setReportLogons</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>localizeURL</servlet-name>
    <url-pattern>/instances/localizeURL</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/rightsTable/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/userAdminTool/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>setRightsTablePref</servlet-name>
    <url-pattern>/rightsTable/setRightsTablePref</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/repositoryHelper/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/shortcutManager/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/adminToolConsole/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>logon</servlet-name>
    <url-pattern>/query/logon</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>setReportSchedule</servlet-name>
    <url-pattern>/changeDBLogon/setReportSchedule</url-pattern>
    </servlet-mapping>
    <!-- Define the default session timeout for your application,
    in minutes. From a servlet or JSP page, you can modify
    the timeout for a particular session dynamically by using
    HttpSession.getMaxInactiveInterval(). -->
    <session-config>
    <session-timeout>20</session-timeout> <!-- 20 minutes for session objects -->
    </session-config>
    <!-- The welcome file list -->
    <welcome-file-list>
    <welcome-file>default.htm</welcome-file>
    </welcome-file-list>
    </web-app>
         WEBLOGIC.XML FILE
    <weblogic-web-app>
    <context-root>/businessobjects/enterprise11/adminlaunch</context-root>
    </weblogic-web-app>

  • Workbench problem when interface extends interface

    Hi,
    I have a problem when importing an existing class into Toplink Workbench. This class has a getter/setter on a property, say getAccountType() where AccountType is an interface. This property is not persistent, only a string representation of its value stored in a private field. So as far as Toplink is concerned, the interface AccountType is not persistent.
    When I try to import, I get an ExternalClassNotFoundException. We found that the interface AccountType extends another interface and this seems to be the problem. If we remove the inheritance, the import goes fine.
    I don't know if this is related, but AccountType is in my project and the super-interface is in a dependency jar file (this jar file is specified in workbench's CLASSPATH).
    workbench = 9.0.4.2
    jdk = 1.4.2_07
    Thanks for your help
    Jean-Christian Gagne

    Unfortunately in 9.0.4, the error message you are receiving is not very helpful or accurate. My guess is that something the super-interface is referencing is not on your classpath and that is why you are getting the exception. In 10.1.3 this will not be a problem because we have changed how we load classes. Your super-interface would not actually be loaded in to the workbench.
    Karen

  • Toplink cache coordination problem with opmn lookup

    Dear all,
    We encounter some problems when we use opmn url and jms to realize the toplink cache coordination.
    Scenario:
    1. Using oracle application server 10g, create three processes(jvm) on one oc4j instance
    2. Using oc4j in memory jms server for cache coordination
    3. Using opmn url to lookup jms topic connection factory and connection, opmn url: opmn:ormi://shasudv4:6004:OC4J_TTS/tts
    When we start oc4j instance, we find the log, all the toplink cache coordination properites has been set to toplink framework, and remote command manager has been initialized successfully. All in memory jms server has also been started successfully, there are three listeners on the topic.
    But, when we test the synchronization, the data can't be synchronized between all the processes, two of them is ok, the rest of them has some problem to coordinate with the other two. There are no exceptions, we have set the level of toplink log to 'all'.
    I have checked the thread dump, I find that "HTTPThreadGroup", "RMICallHandler" and "JMSRequestHandler" threads are involved in cache synchronization.
    So, we are obliged to change the opmn url to ormi url, so we can only set a bound for rmi ports of processes, because the ormi port is dynamicly assigned.
    &lt;port id="rmi" range="12405-12407" /&gt;
    This seems ok, and involved thread are: "RMICallHander" and "JMSRequestHandler". But we also concern that we have restricted the port bound of ormi port of every instance.
    Thanks of any advice.

    I raised a TAR with Oracle. The short answer is that you can't do cache coordination either with ADF business objects, or with Toplink Essentials (as opposed to Oracle Toplink, which doesn't yet support JPA).

Maybe you are looking for

  • How to upload data in the pdf file to the R/3 with fileupload element ?....

    Hi Experts, I need to upload the data in the pdf file to the R/3 with fileupload element. But I am not able to get the correct data(it is confusion code) in the pdf file when I debug the programe. However, I am able to get the data if the data is in

  • Multitrack Mono to Stereo

    Hi, So I created an Audition project as mono (not knowing that was something I needed to change at creation) and have done all my editing in that project.  I want the music and effects in my project to be exported in sero but realized I cannot do so

  • Copy the structures in a query

    hi,   Can we copy the structure of one query to another query ?    If so, please let me know how to do it. Thanks in advance.

  • How to delete term using powershell?

    Hello I want to delete a particular term from termstore. I dont have termset name. Without termset name how can I delete term using powershell? Avi

  • Sitemap Priority not showing in SEO Properties

    I created a Publishing Portal site collection and enabled Search Engine Sitemap (site collection) feature. But, When I go to page and in ribbon under Page tab i click on Edit SEO Properties. I am not able to give the Sitemap Priority. then I saw a bl