Oracle ADF- 4GL or J2EE or Flex
Hello,
I would like to know which of these are used more across in terms of getting job and better to develop?
Oracle ADF - 4GL or J2EE Developers
Any comment on this is highly appreciable.
Thanks
Message was edited by:
419365
I don't think there is any matrix that compares TopLink and ADF BC on performance.
With TopLink you are working with POJO so the functionality you build into them is what you get.
With ADF BC you are inheriting classes from Oracle that already have a lot of built-in functionality implemented (Such as query by example on any field, declarative transaction management, easy validation creation and more) - so you end up coding less than TopLink/pure POJO.
In terms of UI - I don't think Flex is dominating anything - it has its own share of problems such as performance, scalability and others.
You should take a look at the ADF Faces Rich Client Components that are coming with JDeveloper 11 if you want more interactive and dynamic UI.
There are various demos and tutorials here:
http://www.oracle.com/technology/products/adf/adffaces/index.html
Similar Messages
-
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# -
Which is better as UI technology among Flex and Oracle ADF for oracle SOA suit
We have one application which is using oracle’s Service oriented Architecture (SoA) suite. Currently, there is a debate on the technology for UI in the new architecture that will be rich, easy to maintain, scalable and integrates well with SOA suite. We have two options one is Flex and other is Oracle ADF. UI part contains number of graphs, tabular and charts data. So it would be great if any one suggest which technolgy will be better for UI point of view. Thanks in advance.
Hi,
I looked at the demo
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF112/ADF112.html
It's interesting.
However, I would point out two things:
1- Before Oracle, Sun failed with UI technologies: there was AWT then Swing then Java FX. None of them was a star. The only place where Sun really won the UI war is the Bluray Disc format.
2- About half of the RIA in the financial/banking industry are developed with Flex, the other half is developed with Silverlight / WPF. HTML 5 is being taken up by some, but you still end up with the usual problem of having to pick up an AJAX framework, and get tied to a vendor anyway in the end. Never heard about any project developed with Oracle ADF yet. -
Which is better as UI technology among Flex and Oracle ADF for oracle SOA s
We have one application which is using oracle’s Service oriented Architecture (SoA) suite. Currently, there is a debate on the technology for UI in the new architecture that will be rich, easy to maintain, scalable and integrates well with SOA suite.
We have two options one is Flex and other is Oracle ADF.
UI part contains number of graphs, tabular and charts data. So it would be great if any one suggest which technolgy will be better for UI point of view.
Thanks in advance.Hi,
I looked at the demo
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF112/ADF112.html
It's interesting.
However, I would point out two things:
1- Before Oracle, Sun failed with UI technologies: there was AWT then Swing then Java FX. None of them was a star. The only place where Sun really won the UI war is the Bluray Disc format.
2- About half of the RIA in the financial/banking industry are developed with Flex, the other half is developed with Silverlight / WPF. HTML 5 is being taken up by some, but you still end up with the usual problem of having to pick up an AJAX framework, and get tied to a vendor anyway in the end. Never heard about any project developed with Oracle ADF yet. -
How to Adobe Flex + Oracle ADF
Hi friends,
I have to do a PoC on Adobe Flex and Oracle ADF. Using the Oracle Business Components I need to display some input forms, charts and tables. I am newbie to both these technologies . I have got some grip on ADF but still need to start on Flex + JSF or Flex + ADF.
Please let me know how to start on this.
Any link to tutorial, material or sample will be really helpful.
Thanks in Advance.There are multiple ways to do it. You can call a remote object in JDeveloper or use ExternalInterface. See links below for sample apps
http://gergerconsulting.blogspot.com/2007/02/using-flex-in-adf-jsf-applications.html
http://wiki.oracle.com/page/ADF+Integration -
Oracle ADF Business Service Layer Technologies
Hello,
We are building an online shopping mall/site that is expected to receive order volume of 50-60 thousand orders per week. So obviously, data traffic generated by the site will be pretty heavy. The technology set we are supposed to use is Jdeveloper 10g with ADF. Currently ADF business service layer offers following set of technologies. The question is which of following technologies meets these four criterias the BEST? (1) Security, 2)24x7 Reliability and Maintenace overheads (3)Speed /Performance of the server response to client requests (4) integration with Oracle database.
Please advise. Any technet/metalink oracle document that compares these various business layer technology would be great indeed.
Business service technologies that I am talking about is mentioned below
Enterprise JavaBeans (EJB) Session Beans
Since most J2EE applications require transactional services, EJB session beans are a logical choice because they offer declarative transaction control. Behind the EJB session bean facade for your business service, you use plain old Java objects (POJOs) or EJB entity beans to represent your business domain objects. JDeveloper offers integrated support for creating EJB session beans, generating initial session facade implementations, and creating either Java classes or entity beans. You can also use Oracle TopLink in JDeveloper to configure the object/relational mapping of these classes.
JavaBeans
You can easily work with any Java-based service classes as well, including the ability to leverage Oracle TopLink mapping if needed.
Web Services
When the services your application requires expose standard web services interfaces, just supply Oracle ADF with the URL to the relevant Web Services Description Language (WSDL) for the service endpoints and begin building user interfaces that interact with them and present their results.
XML
If your application needs to interact with XML or comma-separated values (CSV) data that is not exposed as a web service, this is easy to accomplish, too. Just supply the provider URL and optional parameters and you can begin to work with the data.
ADF Business Components.
These service classes are a feature of the ADF Business Components module, and expose an updateable dataset of SQL query results with automatic business rules enforcement.
Thanks
RuchirSo the quote says "technologies Oracle recommends to J2EE developers" which is correct - if you are an experience Java EE developer the TopLink/JPA/EJB stack should be your choice however if you are coming from a 4GL/Enterprise developer background then the recommendation is here:
http://download.oracle.com/docs/html/B25947_01/intro002.htm#sthref21
For enterprise 4GL developers building new web applications, Oracle recommends using JavaServer Faces for the view and controller layers, and ADF Business Components for the business service implementation. This combination offers you the same productive J2EE technology stack that over 4000 of Oracle's own enterprise 4GL developers use every day to build the Oracle E-Business Suite. Since its initial release in 1999, several thousand external customers and partners have built and deployed successful Oracle ADF-based applications as well. Both now and in the future, Oracle and others are betting their business on Oracle ADF with ADF Business Components.
And yes ADF BC can be exposed as EJB - but this is usually only used for remote deployment of ADF BC when they are on another server than the UI code - for example when using Swing. -
Hi,
I am new to Oracle ADF.
There are several technologies to choose from to build business services in the data model: ADF BC, EJBs, JPA entities etc.
I would like to know if there is any advantage of using one over the other to build you application? For example using ADF BC vs (EJB and JPA..). Is it purely a matter of choice for the developer or does each technology suit certain application development?Hi Howie,
To throw my two pence into the hat...
As Shay indicates, you get a lot of stuff for "free" when using ADF Business Components that you would normally have to develop yourself or integrate from another framework.The integration with the other parts of ADF (the binding layer in particular) is more robust and easier to use than the same integration for JPA/EJB. If you are looking purely for the choice that gives you the most out-of-the-box functionality with no other consideration, I'd certainly lean towards ADF BC. This choice is also a natural fit, as Shay indicates, if you have a bunch of Oracle Forms (or other 4GL developers).
On the other hand, if you have an experienced group of Java developers with no ADF BC experience - you will almost certainly experience a rebellion - it may be mild or it may be severe, but in my experience, this is the one part of the stack that the hard-core Java addicts don't like - simply (in my opinion) because they are used to using JPA/EJB/Hibernate/put-your-other-orm-technology-here. If you are in this scenario - it would depend upon how hard the Java guys and gals dug in to decide whether to push them to evaluate BC seriously. If you had a large staff with lots of experience, it would make sense to look at JPA/EJB simply because of the effort in training.
To summarize, there is no "right" nor a "best" technology - if there were, Oracle would simply implement the "best" one and ignore the second-best ones. The choice as to which one you use in all likelyhood will boil down to what you may or may not already have experience and training in. Even though ADF is "easy to learn," in reality, any framework and new technology takes a substantial amount of time to properly learn and master. I will say from experience that if you have a team with little or no Java/J2EE experience, it can be relatively quick for that team, with a good leader/mentor to start being productive writing apps using the full ADF stack (ADF BC/ADF Faces).
Sorry for the rambling post - if you want the answer in two words: "it depends."
Best,
John -
Problems with the ADF Tutorial for J2EE developers.
Hi guys.
I have completed the ADF tutorial for 4GL developers withhout any major hickups. Now I have been doing the ADF tutorial for J2EE developers (locate here http://www.oracle.com/technology/obe/adf_tutorial_1013/index.htm).
I ran into some problems around chapter 6 and after failing understanding the errors I loaded up the applicationscripts from the tutorial. However, I get an error from this script. I have tried to load up both end of chapter 5,6 and 7 and get the same error. So now I am at a total loss. So, I am turning to you. I have copied the entire error message below.
Unfortunately JDeveloper translates some keywords to Norwegian and I have tried to translate them back into english. Forgive me if its not 100% accurate but i think you will understand the keyword. I've translated these four keywords:
- Internal Exception
- I/O-exception
- Errorcode
- Exception
The error message:
2006-08-08 09:41:53.081 ERROR J2EE EJB8006 [SRPublicFacade:public oracle.srdemo.datamodel.Users oracle.srdemo.datamodel.SRPublicFacadeBean.findUserByEmail(java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception 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: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
2006-08-08 09:41:53.111 WARNING JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
Thanks for any help though.Hi,
I tried to follow the tutorial using a mysql database, everything was fine till I tried to run the application I`ve got this error. Please help me, I can't resolve this problem. I test the jdbc driver and it is ok, I can use it from a simple java class but I can not use it from the web project.
[TopLink - Información]: 2006.08.09 12:52:08.238--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--TopLink, versión: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
[TopLink - Configuración]: 2006.08.09 12:52:08.254--ServerSession(1209)--Connection(1210)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--conectando (DatabaseLogin(
plataforma=>MySQL4Platform
nombre de usuario=> "saep"
URL de origen de datos=> "jdbc:mysql://localhost/saep"
[TopLink - Grave]: 2006.08.09 12:52:09.254--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--Pila de Excepciones Locales:
Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:51)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:64)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:221)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:81)
at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:431)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:511)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
at com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno(SecretariaServiciosEJBBean.java:81)
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.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
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 SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.findAllAlumno(SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.java:69)
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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:504)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1796)
at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:216)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1287)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
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: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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:62)
... 77 more
2006-08-09 12:52:09.270 ERROR J2EE EJB8006 [SecretariaServiciosEJB:public java.util.List com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno()] exception occurred during method invocation: javax.ejb.EJBException: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0; nested exception is: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
2006-08-09 12:52:10.770 WARNING rowIterator is null
2006-08-09 12:52:10.770 WARNING rowIterator is null -
hi ,OTN
I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
>
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
help please?thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?
-
Problem in Oracle ADF with JDeveloper. JBO25001
Hello All,
I have to develop an application using oracle ADF and JDeveloper. To famalirize my self with the technology, I downloaded the Oracle ADF tutorial "Tutorial for Forms/4GL developers" from Oracle site.
I am following this tutorial line by line, but still getting an error. I have created
1) Entities
2) Associations
3) Views
4) ViewLinks
5) Application Module
all by wizard.
After I added my view and view link into the application module and tried to test it it gave me the following error.
(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10E97657A25) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
----- LEVEL 3: DETAIL 0 -----
(oracle.jbo.NameClashException) JBO-25001: Name ServiceRequestsTable of object type Attribute already exists
I changed the names of each object but still the problem persisted.
If any body can help me on this I will really appreciate it. Thanx a ton in advance.
I have downloaded and using the latest JDeveloper version 10.1.3.1.0.3984
Please help me on this.
Regards,
Saket MaheshwarySaket,
Did you ever get this situation resolved?
I'm working thru the tutorial myself and get the same error except the object is Product.
Do you have any clues?
Thanks,
Lonnie Spears -
Create multiple rows in Oracle ADF (From Andrejus Baranovskis's Blog)
Hi All,
I followed the steps in the Blog Sample.
I tried this example with 2 tables -> Emp_Details(fields->empId and empName)and Multiple_Entry(fields-> empId and email).
ashu.jspx is my jsf page and Ashu.java is the backing bean.
I checked it many times, but getting the same error. Error is as follows:-
500 Internal Server Error
javax.faces.FacesException: #{backing_ashu.createButton_action}: javax.faces.el.EvaluationException: java.lang.NullPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98) at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.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:234) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92) ... 27 moreCaused by: java.lang.NullPointerException at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:706) at java.util.ResourceBundle.getBundle(ResourceBundle.java:699) at com.praphulla.khandala.view.utils.JSFUtils.getBundle(JSFUtils.java:227) at com.praphulla.khandala.view.utils.JSFUtils.getStringFromBundle(JSFUtils.java:142) at com.praphulla.khandala.view.backing.Ashu.createButton_action(Ashu.java:118) 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:146) ... 28 more
Plz provide me some help.
PraphulThank you for your reply..
If the am1.invokeMethod("createUserLoc"); is not there in the while loop, it goes through the while loop and gives SOP values correctly.
But if I put this statement in while loop, it errors out in the first iteration itself. -
How to deploy an Oracle ADF 11.1.1.3 Application in JBOSS 5 ?
I spend many time looking for solution for deploying ADF Faces Application 11.1.1.3 in JBOSS.
Do somebody have an idea?
Thanks.Thanks you.
I had seen this blog but it does not match wath I need. I have an MVC project whith some ADF Business Components and I need access to MySQL Database.
I also follow the steps mentioned by Kashinath at the following URL: How can I deploy an ADF 11g application in JBoss 5?
But when I deploy my project in Jboss-4.2.2.GA/server/default/deploy I have this error :
<hr/>
08:00:15,905 INFO [EARDeployer] Init J2EE application: file:/D:/D04_INSTALL/D49_IDE/eclipse_ganymed/jboss-4.2.2.GA/serv
er/default/deploy/MyApplication.ear
08:00:27,701 WARN [JBossEntityResolver] Cannot load publicId from resource: jboss-web_5_0.dtd
08:00:27,804 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderReposi
toryConfig(repositoryName: com.oracle.adfpojo:loader=adfm.jar, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoa
derRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig:
java2ParentDelegation=true)
08:00:27,915 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.apache.myfaces.trinidad.webapp.ResourceServl
et
08:00:28,020 INFO [TomcatDeployer] deploy, ctxPath=/MyProject01-ViewController-context-root, warUrl=.../t
mp/deploy/tmp17627MyApplication.ear-contents/MyProject01_ViewController_webapp1-exp.war/
08:00:28,501 ERROR [[MyProject01-ViewController-context-root]] Erreur lors de la configuration de la clas
se d'Úcoute de l'application (application listener) oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3800)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Thanks. -
ADF Security to J2EE Container Managed Security Problems
Hi al!
I had ADF security enabled in my application. I've added roles and users to embedded OC4J Server Preferences..., configured authorization using pageDefs... (following the Introduction to ADF Security in JDeveloper 10.1.3.2 howto).
For the sake of friendlier user and roles management I decided to go to 2EE Container Managed Security (I want application manager in production environment to be able to manage users in only one place, not in DB table and extra for web app). I followed Frank Nimphius's Database Authentication and Authorization in J2EE Container Managed Security article.
Now I have some problems. I removed users and roles from embedded OC4J Server Preferences... (I believe this are used only for ADF security, am I right?). I can log to application with admin user account (app index page doesn't have any binds and even pageDef), but when trying to access admin pages I get 401 Unauthorized page.
What am I doing wrong, probably I've forgotten something? I'm a bit confused now with users and roles settings and ADF and container managed security.
Part of my web.xml file:
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>/faces/app/index.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication/*</url-pattern>
</servlet-mapping>
<security-role>
<description>Admins</description>
<role-name>admin_role</role-name>
</security-role>
<security-role>
<description>Users</description>
<role-name>user_role</role-name>
</security-role>
<security-role>
<role-name>oc4j-administrators</role-name>
</security-role>
<security-constraint>
<web-resource-collection>
<web-resource-name>AllAdmins</web-resource-name>
<url-pattern>faces/admin/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin_role</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>AllUsers</web-resource-name>
<url-pattern>faces/app/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>user_role</role-name>
<role-name>admin_role</role-name>
</auth-constraint>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>oc4j-administrators</role-name>
<role-name>user_role</role-name>
<role-name>admin_role</role-name>
</auth-constraint>
</security-constraint>
Do I have to remove this adfAuthentication tags?
I know I've made things a bit complicated for me now and for anyone to help, but I hope I will get at least some pointers what to do now and maybe some explanation about roles in container managed security? Is it enaugh to have security constraints and roles defined in web.xml file or they have to be defined somewhere else also (beside the database)?
Thank you in advance!
Bye
PS
Maybe stack trace after login:
FINE: LoginConfigProvider.ctr: lmm=[LoginModuleManager: jznCfg=[JAZNConfig null], appConfigEntries={oracle.security.jazn.oc4j.CertificateAuthenticator=[javax.security.auth.login.AppConfigurationEntry@3625d0], oracle.security.jazn.tools.Admintool=[javax.security.auth.login.AppConfigurationEntry@eca6e7], oracle.security.jazn.oc4j.WebCoreIDSSOAuthenticator=[javax.security.auth.login.AppConfigurationEntry@c1c7c4], oracle.security.jazn.oc4j.DigestAuthenticator=[javax.security.auth.login.AppConfigurationEntry@221f81], oracle.security.wss.jaas.SAMLAuthManager=[javax.security.auth.login.AppConfigurationEntry@426e05], oracle.security.jazn.oc4j.JAZNUserManager=[javax.security.auth.login.AppConfigurationEntry@145240a], current-workspace-app=[javax.security.auth.login.AppConfigurationEntry@4120aa], oracle.security.wss.jaas.JAASAuthManager=[javax.security.auth.login.AppConfigurationEntry@1c78f98]}]
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option data_source_name = jdbc/TESTDbDS
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option table = APPLICATION_USER
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option groupMembershipTableName = APPLICATION_ROLE
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option usernameField = USR_EMAIL
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option passwordField = USR_PSW
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option groupMembershipGroupFieldName = ROLE_NAME
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option user_pk_column = USR_EMAIL
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option roles_fk_column = USR_EMAIL
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option pw_encoding_class = null
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option realm_column = null
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option application_realm = null
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule initialize
FINE: [DBTableOraDataSourceLoginModule] option casing = toupper
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
FINE: [DBTableOraDataSourceLoginModule]login called on DBTableLoginModule
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
FINE: [DBTableOraDataSourceLoginModule]Calling callbackhandler ...
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
FINE: [DBTableOraDataSourceLoginModule]Username returned by callback = admin
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
FINE: [DBTableOraDataSourceLoginModule]Username changed to case as defined by toupper to ADMIN
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]User query string: select USR_EMAIL,USR_PSW from APPLICATION_USER where USR_EMAIL= (?)
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]User primary key value found = ADMIN
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]Password encoded by: oracle.security.jazn.login.module.db.util.DBLoginModuleClearTextEncoder
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]User ADMIN authenticated successfully
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]Roles query string: select ROLE_NAME from APPLICATION_ROLE where USR_EMAIL= (?)
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]DBUser Principal Name: ADMIN
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule performDbAuthentication
FINE: [DBTableOraDataSourceLoginModule]DBRole Principal Name: admin_role
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule login
FINE: [DBTableOraDataSourceLoginModule]Logon Successful = true
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
FINE: [DBTableOraDataSourceLoginModule]Subject contains 0 Principals before auth
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
FINE: [DBTableOraDataSourceLoginModule]Local LM commit succeeded
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
FINE: [DBTableOraDataSourceLoginModule]Subject contains 2 Principals after auth
24.8.2007 10:17:19 oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule commit
FINE: [DBTableOraDataSourceLoginModule]Cleaning internal state!Hi there!
I have another question about this. I've modified a bit DBRolePrincipal class to see what's going on. At the beginning of the equals(Object another) method I added this lines:
log("method equals start",0);
log("another type = " + another.getClass(), 0);
if (another instanceof Principal)
Principal mine = (Principal)another;
log("Principal mine.getName() = " + mine.getName(), 0);
The result is this output (after navigating to page that gives 401 forbidden):
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.security.jazn.oc4j.JAZNUserAdaptor
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = admin_user
07/10/12 08:38:36 [DBRolePrincipal] method equals start
07/10/12 08:38:36 [DBRolePrincipal] another type = class oracle.adf.share.security.authentication.ADFRolePrincipal
07/10/12 08:38:36 [DBRolePrincipal] Principal mine.getName() = anyone
Why is the name of ADFRolePrincipal always anyone? When I sign in with this user the output says:
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] User query string: select USERNAME,PASSWORD from ACTIVE_APP_USER_V where USERNAME= (?)
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] User primary key value found = admin_user
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Password encoded by: oracle.sample.dbloginmodule.util.DBLoginModuleCearTextEncoder
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] User admin_user authenticated successfully
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Roles query string: select ROLE_NAME from ACTIVE_APP_ROLE_V where USERNAME= (?)
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] DBRole Principal Name: admin_role
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] DBUser Principal Name: admin_user
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Logon Successful = true
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Subject contains 0 Principals before auth
07/10/12 08:46:09 [DBUserPrincipal] method equals start
07/10/12 08:46:09 [DBUserPrincipal] another type = class oracle.sample.dbloginmodule.principals.DBRolePrincipal
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Local LM commit succeeded
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Subject contains 2 Principals after auth
07/10/12 08:46:09 [DBTableOraDatasourceLoginModule] Cleaning internal state!
Frank, if you haven't given up on this issue yet could you please try to explain this to me? Why doesn't admin_role principal never get compared in [equals[/i] method?
Thank you!
BB -
Oracle ADF application run while debuging but gives error while running
Hi,
I created application in oracle ADF, which accesses database from SQL server 2008. I changed database names to different database having same tables. When I debug it by using breakpoint in EOIMPL class, it runs perfectly. But when run it by removing brakpoint it gives error (invalid object). Please Help.
Thanks.can u paste the complete invalid objects error..
I rember i have seen this case before which possibly got resolved by removing the system folder.. especially the systemfolder/o.j2ee/drs/ folder..
may be some synching problem.. -
PDF (Oracle ADF Developer Guide 10g Handbook) not found
Hi all,
I try to open : http://www.oracle.com/technology/products/jdev/collateral/training10g.html
to download PDF file [ [b]Oracle ADF Developer Guide 10g Handbook (free)
JSF, ADF Business Components tech stack.]
but when i try to click on book link , oracle send me to other subject "Oracle Application Development Framework Developer's Guide for Forms/4GL Developers"
Please any body help my, because i need this book soooooooo much ASAPDear MarkP
Have a nice day,
Thanks for your link but this guid is ( Oracle ADF Developer Guide 10g Handbook JSF, EJB 3.0, TopLink tech stack.)
What I need is (Oracle ADF Developer Guide 10g Handbook JSF, ADF Business Components tech stack.)!!!!
BR
Maybe you are looking for
-
Site says you can import an outlook address book into Xfinity address book but appears to be one way street the other direction. Any ideas?
-
Ora 00932 expected number got date
in sql developer : select 12 a from dual where :dela+1<sysdate gives me that error . why ???? Any idea ? select 12 a from dual where :dela<sysdate ---- is correct . and i have in a select in a cursor in forms : a) obs :d.data can have hour 15 for exa
-
Suitable BAPI interface to upload data intoKP26 T.code (CO)
Hi All I need to know the BAPI interface to upload the data into KP26 Co Activity type /Price Planning I have these fields to create entries in KP26 t.code. The Fields are as follows: Layout (could use the standard layout 1-201) 1.Version -- 2. Perio
-
Please help me D: when i start my pc i get enter current password:x ect. then fatal error system hatled error: CNU0052T9Z. Need help This question was solved. View Solution.
-
HP G42 Fan Running in High Speed and Noisy
I had a HP G42 i5 notebook. Recently I send my notebook for repair due to the graphic card problem. I encountered that the fan speed is running in high speed mode after I the repair. I asked the incharge and he told me that they had did the cleaning