Oracle ADF breakline in JAVA

I'm using oracle adf to display a table.
The results in my 'notes' field have /n in the table to represent a new line. Oracle ADF does not separate the lines. I want to manually modify the string to display the break line.
The string looks like: return new String(getAttributeInternal(NOTES).toString().replace("\n", "\n"));
That however is not working, anyone know a working solution?

Dayke wrote:
return new String(getAttributeInternal(NOTES).toString().replace("\n", "<br/>"));
I get a bunch of
's in the string where a break should be.
That would probably work if I could escape it some how.This really is an ADF question and shouldn't be asked in this forum.
You won't be able to "escape" this, you'll have to see what you can do in ADF. It would appear that somewhere ADF is using something like JSTL out to properly escape any HTML it finds. So the bottom line is that you would have to use HTML, but you can't either. So you'll have to read the relevant documentation and see what you might be able to do. I would suggest that you probably don't actually really want to insert line breaks at all but just format the width of the containing element appropriately. Not using something like out makes your application open to cross-site scripting attacks.

Similar Messages

  • Suggestions for Oracle ADF learners

    Hi ADF experts,
    Some one suggest,For Oracle ADF learners must having java knowledge ?
    I am new to JAVA & ADF. But I want to learn Oracle ADF. Is java skills must to learn Oracle ADF.
    I am Oracle BPM11g developer.So for Oracle BPM11g,Oracle ADF is front end for user interaction.
    Guide me.
    Best Regards,
    KasiRaju.

    Core Java should be enough to begin with. If you know the concepts of any OOPS programming language (C/C++), Learning Core Java should be very easy.
    ADF is nothing but Oracles version of JSF (Java Server Faces) with UI components. My Point here is, it is Java that sits at the base of ADF. Hence, I would say u Must have Java knowledge to develop a REAL useful page/application.

  • 研讨会- 通過Oracle ADF Mobile和IDM 创建和保护移动应用 (上海.成都)

    在本次研讨会中,我们将通过一个分步课程来演示如何使用 Oracle ADF Mobile 和 JDeveloper 创建移动应用,您只需具备 Java 和 Web 开发技能。您可以在 iOS 和 Android 移动平台上部署相同的应用。我们还将讨论如何将 Oracle 企业应用和融合中间件扩展到移动设备上,从而使客户能充分实现他们在Oracle 技术上的投资。我们还将简要介绍使用 Oracle Mobile Identity Management SDK 保护移动应用是如何简单,无论是浏览器还是基于本机的应用。
    上海: http://www.itcgb.com/MKTSVCApp/Oracle_ADF_Mobile/index.html
    成都: http://www.itcgb.com/MKTSVCApp/Oracle_ADF_Mobile_CD/index.html

  • Java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities.
    Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot deploy them.
    I try to create a new SOA domain. However, I get same error message as follow.
    [04:04:48 PM] ---- Deployment started. ----
    [04:04:48 PM] Target platform is (Weblogic 10.3).
    [04:04:48 PM] Retrieving existing application information
    [04:04:48 PM] Running dependency analysis...
    [04:04:48 PM] Building...
    [04:05:14 PM] Deploying profile...
    [04:05:17 PM] Wrote Web Application Module to C:\JdevWorkspace\BPM\initiatorUI\deploy\initiatorUI.war
    [04:05:19 PM] Deploying Application...
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application initiatorUI on AdminServer,BPMJMSServer,SOAJMSServer,UMSJMSServer.: Failed to load webapp: 'initiatorUI.war'.
    [04:05:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:05:24 PM] See server logs or server console for more details.
    [04:05:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] #### Deployment incomplete. ####
    [04:05:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Amjad. It worked for me as well!!
    I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file.

  • Oracle ADF/BC4J vs "other" Java/J2ee technologies. Influence a decision

    Dear All,
    Our dev group is now at the stage when we need to make a decision which way to go - "proprietary" Oracle ADF/BC4J route or open source/java/j2ee standard. In our group we have a mix of Oracle Foms, pl/sql and java developers. The problem is that our core java developers are strictly against any proprietary thing, and they do not really want to even take a look at ADF/BC4J claiming that when it comes to resolving performance and other issues we will be better off with open source, rather than depend on Oracle...
    I am coming from an Oracle centric world, and to me ADF is a natural choice, however I do not have a lot of experience in Java/J2EE to post a strong argument for or against ADF and BC4J.
    I am just wondering if there is a case study, or comprehensive cons and pros for one or the other path.
    I will greatly appreciate anyone's answer.
    Thank you,
    VO

    "When it comes resolving performance and other issues we will be better off with open source."Really? How - are they planning to go into the hibernate/spring engine and fix the problems? Or do they have a specific "support" contract with some company that will guarantee them fixes to these issues? If they do have such a contract how much does this support costs the organization?
    Where is the notion that open-source is faster coming from? Certainly not from actual benchmarks like this one: http://www.spec.org/jAppServer2004/results/
    As Frank said your management might want to look into a more complete picture than what your Java developers are looking at.
    For example, given that you have Forms based developers, how fast can they get up to speed with the open source solution vs the ADF solution?
    I think a simple benchmark of productivity when building an application with the stack they are offering vs the ADF stack would prove the point even better.
    Don't have time to run one have a look at the RAD Race results from this year where ADF based team beat up Spring based teams.
    http://www.bloggingaboutoracle.org/archives/javapolis-radrace-the-full-story
    and
    http://www.radrace.org/en/JPed_2006/JP_report_2006.html#

  • Oracle ADF Data Control With Java List

    Hello
    I have a question regarding Data Controls that are based on Application Modules functions. In short I created function:
    public List getListOfTest() {
    List allTests = new ArrayList();
    allTests.add("test1");
    allTests.add("test2");
    allTests.add("test3");
    return allTests;
    inside AppModuleImp.java
    I tested this implementation through AppModule Oracle ADF Model Tester and it returns test1,test2,test3. So this is OK. Now I publisher function through Client Interfaces, and I can see it know in DataControl.
    So I drag and drop function on my jsf page, and render it as a button. Also i drag and droped "return"(hierarchically beeneth/inside function getListOfTest in DataControll) from Data Control and rendered it as ADF table. I was hoping that this will show: test1,test2,test3 in ADF table.
    But now when I run jsf page and it is displayed in browser I get:
    Object java.util of type ApplicationModule is not found
    What I am doing wroong. Please help. Thx
    I use JDeveloper Studio Edition Version 11.1.2.2.0

    The solution is
    public List<String> getListOfTest() {
    List<String> allTests = new ArrayList<String>();
    allTests.add("test1");
    allTests.add("test2");
    allTests.add("test3");
    return allTests;
    Problem was in generic List

  • Job opening for Oracle ADF with Java

    Guys,
    I am in need of 30 candidates who have experience on Oracle ADF framework along with Java. The position will be Wisconsin and the project will be contract based. The duration will be more than 6 months and rates are open.
    If you or your friends are interested in this offer, please send your resumes to [email protected] with a subject "Resume for Oracle ADF position".
    Thanks
    Srini

    Dear Sir,
    With reference to the website of your company I came to know that there always are the vacancies for the suitable candidates and hence I wish to apply for the same.Currently working in hydraulic environment I am approaching you through this application with great enthusiasm, that I have scope and chance to show my ability and contribute my efforts in well direction. I am enclosing here with my complete Curriculum Vitae .
    I am currently working with M/s Minar Hydrosystems PVT. LTD. in Nagpur which is one of the largest manufacturers of hydraulic/pneumatic cylinders, jacks etc. I am In charge for quality department having complete knowledge of instruments with level II in non destructive and automated non destructive techniques. Also handling SAP module in current company with effective administration.
    If you need further information regarding my candidature please do write/call me.
    Thanks & Regards
    Rushikesh P. Deogade
    Nagpur, India
    Ph.:- +91 9923858523
    Attachments:
    B.E. Mechanical with 3 years exp as a QC Incharge.doc ‏25 KB

  • Facing java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController while am using master detail relationship by af:table

    Hi friends,
         We are in to new development in Oracle ADF and newbie to this technology.
         Created .jsf page and in corresponding pagedef, has "ControllerClass" with refering "DummyPagePhaseListener" and we have master-detail relationship using Viewlink(created using a SQL Query and  entity based view).
        Below exception raised when navigating from one  to another record in Master af:table. Any help will be appreciated. Thanks in Advance......
    java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController
    at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:5197)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4247)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:300)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:70)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:202)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$600(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:323)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hi timo,
    Thanks for ur reply...
    we are using unbounded taskflow.
    In Controller class(page def file), we refered the class that implements PagePhaseListener
    The following override methods has created
      public void afterPhase(PagePhaseEvent pagePhaseEvent) {
    //In this area we used to read the session object file which is written and sent by another application(application to application navigate).
    If session object file exists,will allow the user to navigate into the requested page else will navigate in to login(security aspect).
      public void beforePhase(PagePhaseEvent pagePhaseEvent) {
    Is we used Controller class wrongly ???
    Is there any relationship with region controller???
    Mani
    [email protected]

  • Java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z

    I have recently upgraded from 10.1.3.1 to 10.1.3.3. The application uses form based authentication. The login worked fine in 10.1.3.1 but in the new version I get the following error when submitting the login details:
    500 Internal Server Error
    java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:94)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    I have read various threads with similar errors which suggested copying new versions of adf-faces-impl.jar, jsf-impl.jar and adfshare.jar into the project lib directory. However, I have tried this after JDeveloper started and the project was upgraded and I still get the error. Do I need to make any project or file changes in addition to copying the new libraries ?
    Thanks for any help
    Trevor

    Hi Trevor,
    weird - there is another thread related to this issue:
    Re: BUG 5930745
    Did you use the JDeveloper 10.1.3.1 Production or Preview version (see http://blogs.oracle.com/Didier/2006/10/22#a114)
    Regards,
    Didier.

  • Java.io.NotSerializableException: oracle.adf.view. . . .RichSelectOneChoice

    Hi All,
    We have a section in a page to attach the files, called "Attachments".
    On click of "+" Icon we are showing a popup window,Which has 2 options with "RichSelectOneChoice".
    1.Desktop File 2.URL.
    Then we will browse and select the file and click OK button.
    We are consistently seeing below error message in Weblogic server.
    Can you please let me know what could be the reason.We didn't touch this code for quite sometime.
    [2012-12-05T05:01:16.796-05:00] [adf_server2_1] [ERROR] [ADFC-62004] [oracle.adfinternal.controller.state.SessionBasedScopeMap] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JheWm3w9lZX_xt8DyW1GjlSk00004V,0] [APP: LT_SKU_App_v1] [dcid: 3d6375f6bdd86f9c:58e7e744:13b6a714d01:-7fe1-0000000000002cf9] [arg: pageFlowScope[/WEB-INF/RequesterHumanTask_TaskFlow.xml#RequesterHumanTask_TaskFlow]] [arg: SKUMgmtBean] [arg: com.lt.skumgmt.beans.SKUMgmt] ADFc: Scope object serialization failed (object not serializable), scope='pageFlowScope[WEB-INF/RequesterHumanTask_TaskFlow.xml#RequesterHumanTask_TaskFlow]', objectKey='SKUMgmtBean', objectType='com.lt.skumgmt.beans.SKUMgmt'.
    [2012-12-05T05:01:16.796-05:00] [adf_server2_1] [ERROR] [] [oracle.adfinternal.controller.state.SessionBasedScopeMap] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JheWm3w9lZX_xt8DyW1GjlSk00004V,0] [APP: LT_SKU_App_v1] [dcid: 3d6375f6bdd86f9c:58e7e744:13b6a714d01:-7fe1-0000000000002cf9] [[
    java.io.NotSerializableException: oracle.adf.view.rich.component.rich.input.RichSelectOneChoice
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at oracle.adfinternal.controller.util.Utils.verifySerializable(Utils.java:342)
         at oracle.adfinternal.controller.state.SessionBasedScopeMap.writeScopeMap(SessionBasedScopeMap.java:121)
         at oracle.adfinternal.controller.state.PageFlowScope.writeObject(PageFlowScope.java:153)
         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:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at java.util.HashMap.writeObject(HashMap.java:1195)
         at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at weblogic.servlet.internal.session.ReplicatedSessionChange.writeExternal(ReplicatedSessionChange.java:124)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:618)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObjectWL(MsgAbbrevOutputStream.java:609)
         at weblogic.rmi.internal.ObjectIO.writeObject(ObjectIO.java:38)
         at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:88)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
         at weblogic.cluster.replication.ReplicationManager_1033_WLStub.update(Unknown Source)
         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:597)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
         at $Proxy341.update(Unknown Source)
         at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:535)
         at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:594)
         at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2811)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2786)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1473)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    It seems that you store UI reference is session scope bean, which is a common mistakes.
    check [url https://blogs.oracle.com/groundside/entry/the_uimanager_pattern]The UIManager Pattern

  • Java.lang.NoSuchMethodError: oracle.adf.share.ADFContext.hasMDSSession()

    Hi
    thank you for erading my post
    i have a jvaee application and i do not know why i am getting this error
    can some one give me some lights ?
    thanks
    java.lang.NoSuchMethodError: oracle.adf.share.ADFContext.hasMDSSession()Z
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.metadataCommit(PageLifecycleImpl.java:473)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:286)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:33)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$2.after(ADFPhaseListener.java:378)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:94)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:170)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    did you upgrade recently from JDeveloper 10.1.3.0 or 10.1.3.1 preview to 10.1.3.1 production? If yes, copy adf-faces-impl.jar from the JDeveloper_Home\jlib directory of JDeveloper 10.1.3.1 to the \public_html\WEB-INF\lib directory of teh view project. After this the problem should be solved
    Frank

  • Java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponent

    Hi all,
    My JDEV 11g suddenly can't be started and it throws this error message:
    java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponentTag
    searched on internet, got no luck so far. It looks like that I missed a jar file somewhere that contains this class. But weird thing is that the IDE worked fine previously and I didn't do any change. Can someone tell me which jar file I might miss?
    Btw, I used the integrated WLS locally.
    Thanks in advance!
    Edited by: shawn_abc on Jan 30, 2012 2:48 PM

    'Trinidad Runtime 11' is included in the IDE, I couldn't find a "public_html" folder in Model project, but I see this folder under this path: \ViewController\model\public_html, also I see this folder: \ViewController\model\WEB-INF. I tried to rename the "public_html" to "public_html-bak" there and restart the server, then tried to launch the app in JDEV IDE, still I got this error: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponentTag.
    I check the library and classpath in IDE and it shows this jar file is used: C:\Oracle\JDev11114gU3\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar
    then I opened this jar file and could only find the UIXComponentTag class as this path within the jar file: org\apache\myfaces\trinidad\webapp\UIXComponentTag.class. So I am wondering how could the application ask for this package: oracle.adf.view.faces.webapp.UIXComponentTag at all? I did a search in the application for "oracle.adf.view.faces.webapp", no returned at all.
    Thanks,
    Shawn
    Edited by: shawn_abc on Feb 2, 2012 3:45 PM

  • Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile

    Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile"?
    Thanks a lot for your time.

    Hi, this is referring to the JavaDocs for Java methods/classes supported by ADF Mobile. You can typically right (or ctrl) click on any ADF Mobile specific Java method and select "JavaDoc". You can open up a sample app that contains any Java class - for example the HR sample app, and find any method with name "adfmf*". You should be able to see the Java doc for the ADF Mobile related methods/classes.
    Thanks,
    Joe Huang

  • At oracle.adf.model.bean.DCDataVO.createViewObjectFromDef(DCDataVO.java:968

    I use jdev11.1.1.3 develop a adf application.In my application ,I integrated adf faces and ejb,when my app running in weblogic, the following error is thrown after several operation.
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.NullPointerException
         at oracle.adf.model.bean.DCDataVO.createViewObjectFromDef(DCDataVO.java:968)
         at oracle.adf.model.bean.DCBeanDataControl.createRowSetIteratorImpl(DCBeanDataControl.java:1601)
         at oracle.adf.model.bean.DCBeanDataControl.initializeRSIs(DCBeanDataControl.java:926)
         at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBindingIfNeeded(DCBeanDataControl.java:956)
         at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2127)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3185)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Before the error above,there is an other errer message always display.
    WatchData: DATE = 2010-10-18 下午01时58分03秒 CST SERVER = DefaultServer MESSAGE = ExecuteRequest failed
    java.util.ConcurrentModificationException.
    java.util.ConcurrentModificationException
         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
         at java.util.HashMap$EntryIterator.next(HashMap.java:834)
         at java.util.HashMap$EntryIterator.next(HashMap.java:832)
         at java.util.HashMap.writeObject(HashMap.java:999)
         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at java.util.Hashtable.writeObject(Hashtable.java:824)
         at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
         at weblogic.common.internal.PassivationUtils.toByteArray(PassivationUtils.java:33)
         at weblogic.common.internal.PassivationUtils.toByteArray(PassivationUtils.java:24)
         at weblogic.common.internal.PassivationUtils.sizeOf(PassivationUtils.java:59)
         at weblogic.servlet.internal.session.SessionData.calculateSessionSize(SessionData.java:956)
         at weblogic.servlet.internal.session.SessionData.syncSession(SessionData.java:946)
         at weblogic.servlet.internal.session.MemorySessionContext.sync(MemorySessionContext.java:101)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2811)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2786)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1473)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = Kernel USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000802 MACHINE = e9 TXID = CONTEXTID = 415a00b90255e9a0:-14610246:12bbd6ee18f:-8000-0000000000000482 TIMESTAMP = 1287381483090
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    mudebao,
    Looks like you are using a java.util.HashMap somewhere in your model, and that hash map is being modified by more than one user/thread at the same time...
    [url http://download.oracle.com/javase/1.4.2/docs/api/java/util/HashMap.html]Documentation for java.util.HashMap says:
    Note that this implementation is not synchronized. If multiple threads access this map concurrently, and at least one of the threads modifies the map structurally, it must be synchronized externally.You need to use something other than a hash map.
    John

  • I wanna learn Oracle ADF technology, is it better than other java based f/w

    hi Forum Members
    I wanna learn Oracle ADF  technology, is it better than other java based f/w
    Thanks,
    Raghava

    There is a quick start guide which could help you
    http://www.amazon.com/Quick-Start-Oracle-Fusion-Development/dp/0071744282
    There are also tutorials on the OTN JDeveloper page (google for JDeveloper).
    this should get you started.
    Regards
    Grant

Maybe you are looking for