ADF Telnet with JDev 10.1.3.5
I've tried so may days but ended up with no answer even from googling about ADF Telnet. I saw that oracle has a hidden treasure and that is Oracle ITS (Industrial telnet Server). I tried to find some samples, but it seems that no one using it and I only found only sample that doesn't work. I made a simple ADF Telnet application with JDev but it always show this warning:
Dec 10, 2009 11:00:57 AM oracle.wireless.device.capability.CapabilitiesDocument getCapabilities
WARNING: No match found, checking for default attributes
Every action (ex: Commit Button, Command Link, etc) inside my ADF Telnet application won't work and only shows that kind of error. But if I access it with web browser, it just runs very well.
Please help me on this issue......
Well, the bad news is that the problem persists in version 10.1.3.5.
Therefore, you will need to download JDev 10.1.3.1. It should have its own JDev home.
Create your app and its first jspx pages in version 10.1.3.1. Just create the application and project and add Web Tier - JSF component using "JSF Page Flow & Configuration (faces-config.xml)".
Under "Web Content-> WEB-INF" click on "faces-config.xml";. From the Component Palettte, choose "JSF NavigationDiagram" from the drop down. Then, drag "JSF Page" to the faces-config.xml window. Double click on the default page, give it a name (e.g. Page1.jsp) and make sure you choose JSPX (name will change to Page1.jspx), Mobile Device and Category of telnet. You can then simply finish. Repeat the same thing for a second page (e.g. Page2). Next, click on "JSF Navigation Case" from the Component Palette and click once on Page 1 and again on Page 2. Accept the defaults. Do the same from Page 2 to Page1.
Now, open Page 1 from the Application Navigator. In the structure window (lower left), right click on the "af:form" and choose "insert inside of af:form" and choose PanelPage. Right click on PanelPage and choose "insert inside of PanelPage" -> ADF Faces Core -> CommandLink. Click on the Command Link within the JSPX window. In the Command Link Properties window, under "Action", pick the option there (it should read "success" if you took the default. Do the same thing for Page2.
Now, right click on the Page1.jspx icon in the Applications Navigator and pick "Run". Your applicaiton will compile and run. Choose a device. Your command link 1 should navigate to the next page without getting the device capabilities errors you were getting before.
Now that you have done this, close the app and JDev, and move the directory for this application under JDev 10.3.1.5. You can now open JDev 10.1.3.5 and open your app under 10.1.3.5's directory. It will ask if you want to migrate, answer Yes. Now, run the application again and it will work in 10.1.3.5.
I know this is a hassle, but those of us who do this all the time are use to this inconvenience. Afterwards, you can build highly complex applications within 10.1.3.5 without getting this initial error again. In fact, I left my simple application under the 10.1.3.1 directory and I simply copy it under the 10.1.3.5 directory and rename the application whenever I start a new application.
Let me know if this works.
Rob
Similar Messages
-
GOTCHA's with Setting up ADF Security with JDev 11.1.1.6.0
If you're getting into ADF security, you're probably going to want to get rid of that ugly default login.html page. I mean, it gets the job done, but we want something a little better. And if you want something a little better and you're using JDev 11.1.1.6.0, it behooves you to read this post!
First off, get acquainted with these four posts. All good stuff. They'll walk you through the 1st half of what you need to know. Y'know, the non-Gotcha half.
http://one-size-doesnt-fit-all.blogspot.com/2010/07/adf-security-revisited-again-again.html
http://myadfnotebook.blogspot.com/2011/11/adf-security-basics.html
http://andrejusb.blogspot.com/2010/11/things-you-must-know-about-adf-faces.html
http://java2go.blogspot.com/2010/12/creating-centered-page-layout-using-adf.html
Are you getting either of the following errors?
<CodebasePolicyHandler> <migrateDeploymentPolicies> Migration of codebase policy failed. Reason: {0}.
oracle.security.jps.JpsException: java.lang.IllegalArgumentException: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl
Error 500--Internal Server Error
java.lang.RuntimeException: Cannot find FacesContextI'll show you where they're coming from. Follow along.
1) Create a new application.
2) Create three .jspx pages called login, error, and welcome.
3) Generate PageDef files for them by right-clicking on the file and selecting "Go To PageDefinition". You'll want these so that you may apply security against them.
4) Right-Click on your Application and select Secure->Configure ADF Security
5) ADF Authentication and Authorization -> Form Based Authentication (Use the search symbol to select your created login and error pages. Should be something like "/faces/login.jspx") -> No Automatic Grants -> Finish
Right-Click your welcome.jspx and select run. You'll get this error before your web page opens up in your browser and then proceeds to wig out.
<CodebasePolicyHandler> <migrateDeploymentPolicies> Migration of codebase policy failed. Reason: {0}.
oracle.security.jps.JpsException: java.lang.IllegalArgumentException: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImplThat just won't do. Let's fix it, shall we?
6) Open your newly JDev created jazn-data.xml file. It's located in the Application Resources panel (usually located by Data Controls and your Projects expandable panels)
7) Resource Grants -> Resource Type (Web Page dropdown) -> error page should have a key symbol by it. Delete the anonymous role in the "Granted To" column. Now click the green button to add an Application Role. Huh, there's TWO of them? How bout that? Looks like we're going to have to delete some XML code!
8) Click the Source tab on the bottom of the page to open up the XML View. You'll see the following piece of erroneous code. Erroneous, I say!
<policy-store>
<applications>
<application>
<name>SecurityError</name>
<app-roles>
// Hello, I'm the app role that has sucked away two hours of your life that you can never, ever get back
<app-role>
<name>anonymous-role</name>
<class>oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl</class>
<display-name>anonymous-role</display-name>
</app-role>
// Whew, the end of that app role
</app-roles>
<jazn-policy>
<grant>9) You're going to want to delete that app role XML
10) Go back into your jazn-data.xml file and create some users. For example, bob and jane. Create an Enterprise role called "admin". Put bob and jane as members into this Enterprise role. Create an Application role called managers. Map managers to your Enterprise role admin.
11) Go back to the Resource Grants tab -> Resource Type (Web Page) and delete any "Granted To" authorizations that may assigned to any of the pages. Assigned a "Granted To" application role of "anonymous-role" to the error and login pages. Assign "managers" to welcome.
12) Run your welcome page. Yay, the error is gone. How sweet it is.
Now you want to refactor/move your login and error page somewhere else? Great, just right-click and select factor. Refactor to some place like /public_html/jspx/<your login page>.jspx. Re-run your welcome page.
// You fool!
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not FoundThat's not so good. Let's fix that.
1) Open up web.xml. It's located at ViewController/WEB-INF/web.xml.
2) Click the security tab and you'll see Form-Based Authentication with a login page and error page. Click that Search glass and locate your new file. Do the same for the error page. You should see something like "/jspx/login.jspx" come back.
3) Re-run your welcome page.
// Suckered AGAIN!
Error 500--Internal Server Error
java.lang.RuntimeException: Cannot find FacesContextThis is a tricky one. The search icon brings back a faulty address. Since we're using a .jspx page, it needs to be "/faces/jspx/login.jspx". Repeat for the error page. Re-run your welcome.jspx.
Ahh!! Now THAT's how we do it in Kingsport!
Finally, a custom .jspx login works. Now what are you doing here? Shouldn't you be playing some Diablo 3?
WillHa :-)
Point being good summaries like yours tend to get lost on the forums because of the volume of posts. With a blog people have the chance to subscribe to your posts so it's just a better vehicle all round for posting content to help others.
I highly recommend writing blogs even if it's for scratch notes, because you'll learn a lot in structuring your thoughts. It's also a really good way to get noticed in the community because bloggers stand out.
But your call, no pressure of course ;-)
CM. -
ADF JSF with JDev 10.1.3
In my questions I will demonstrate by using two tables, Region for Master table and Countries for Details table.
Lets say i have a field in Countries table called RegionId which is a Foreign key of Id in Region table.
I would like to Retrieve a read-only table in JSF, so what i was doing is Draging the view from component pallete and droping it into JSP page.
now to the point i was failed on doing i would like to reneder the RegionId value on the page to show as the name of the Region.
so i tried to do it with No success .
This issue was so simple in JDev 9.0.4 version impementing it once and for all on the DataModel (BC4J Level) and then when ever been called to the View Object the field was render already:
http://www.oracle.com/technology/products/jdev/howtos/jsp/renderers.html
thank youWell I have to say, that after a while developing with this technique of rendering the fields.
It's not the right way to work. especially not IT system.
Your suggestion to make a new view object that combines 2 other view object was too heavy on the system and slower my performances very badly.
I think Oracle Must give a better solution to this Topic, which is the one of the first things any developer work with when talking about IT.
I tried again to take two tables, let's say Dept and Emp.
Dept has: Id,NAME
Emp has: ID,NAME,DEPT_ID
The only thing I wanted to do is show Emp table as ADF table.
Then retrieve DEPT_ID to be shown as NAME (Dept: NAME of course).
What I was doing is drag the Field from Data Control Palette into the DEPT_ID.
the Problem is that the Itetrator took the first Value from Dept and didnt do it for all the Emp Rows which was different Emp in different Dept.
Hope to find a better solution to such an easy and small issue. -
How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column
Hello JDevTeam & JDevelopers,
I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
The following are the steps taken thus far.
Step1: Create table named test in the 2005 MSSQL Server (see script below).
Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
Library Name = Ms2005Jdbc
Class Path = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
(note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
Step3:Create New Database Connection;
Connection Name = testconn1
Type = Third Party JDBC Driver
Authentication Username = sa, Password = password, Check Deploy Password
Connection
Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver
Library = Ms2005Jdbc
Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
Test Connection = Success!
Step5: Create a new application workspace using Web Application default template
Step6: In Model project, Create new Business Components Diagram.
Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
I am totally stuck! Can anyone provide a solution?
Thanks for you help,
BG...
Create table named test
use [testdb]
go
set ansi_nulls on
go
set quoted_identifier on
go
create table [test](
[testid] [int] identity(0,1) not null,
[testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
constraint [pk_test] primary key nonclustered
[testid] asc
)with (pad_index = off, ignore_dup_key = off) on [primary]
) on [primary]Figured it out!
When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
Set Refresh on insert/update = no.
Set Updateable = never.
Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
Simple enough but I have been away from this stuff for awhile.
BG... -
[SOLVED] adf faces demo doesn't work with jdev 10.3.1.2
Has anybody tried to run the ‘Introduction to adf faces/trinidad using jdev’ demo at
http://www.oracle.com/technology/obe/obe1013jdev/10131/trinidad/adf_faces_trinidad.htm
with jdev 10.1.3.2 studio?
I am trying it and I am getting this error
500 Internal Server Error
java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext(Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)Loracle/adf/view/faces/context/AdfFacesContext;
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:111)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].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.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Message was edited by:
mauro avonWe don't automatically migrate the adf-faces-api.jar since in a 10.1.3.x ADF Faces application this JAR is not part of your project's WEB-INF/lib directory.
The issue must be specific to migrating this Apache Trinidad example. -
What is JSF version of Oracle ADF that come with Jdev 10.1.3.1.0
HI
tahank you for reading my post
which version of JSF used in oracle ADF that comes with jdev 10.1.3.1 ?
thanksJDeveloper ships with JavaServer Faces (JSF) Reference Implementation 1.1_01
Hope this helps
Regards
Grant Ronald
oracle Product management -
ADF Table with CheckBox - Select/deselect issue
I have seen couple of threads and blogs for ADF table with check box . but none of them exactly matching with my requirement . My Database table does not have any field for check box .
Here is my DB Table
tableA_
A_Id
A_Name
tableB*
B_Id
Requirements :*
1. Display the above tables data with Checkbox . ( if A_Id = B_Id then the checkbox will be checked , else unchecked ) .
2. Select / deselect the check box and save the data . Saving the data , will update only tableB . i,e when a new check box is selected then A_Id value will be inserted to tableB . Similarly , deselecting a checked in data will remove the entry from tableB.
Development :
1. Created a VO where tableB has marked as updateable .
2. Created a transient Boolean variable for checkBox . and modified the getter method of checkbox for returning true/false based on the below condition in the ViewRowImpl Class .
if ( A_Id = B_Id )
return true;
else false ;
3. I have not modified the setter method .
Using the above concept i can view the data with selected checkbox . but the problem is to save the data . because , when I select a checkbox the above coding in the getter method will return false .
Therefore , though i am selecting the checkbox but value of the checkbox has been set as false .
While saving the Data , I am iterating through the VOIterator and observed that a newly selected checkbox value is false . and realized its because of the getter method condition .
Can you please suggest how can I overcome this issue or shall I need to take any other approach ?
Jdev version 11.1.1.5
Regards,
Amitava
Edited by: Amitava on Mar 17, 2012 3:48 PMYou need to go through the ADF page life cycle concepts. In simple words the boolean value in the model is not set while in valueChangeListener. Try adding valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance()); on top in your listener method and see the effect.
Reference:
http://docs.oracle.com/cd/E15051_01/web.1111/b31974/adf_lifecycle.htm -
Hi,
I installed and started Steves sample about uploading and storing OrdImage types (http://otn.oracle.com/products/jdev/tips/muench/jsfordimage/JSFOrdImageExample.zip).
When I try to upload a file I get an exception:
java.io.EOFException: Per-request disk space limits exceeded.
at oracle.adfinternal.view.faces.webapp.UploadedFileImpl.loadFile(UploadedFileImpl.java:187)
at oracle.adfinternal.view.faces.webapp.UploadedFileProcessorImpl.processFile(UploadedFileProcessorImpl.java:96)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doUploadFile(AdfFacesFilterImpl.java:247)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:163)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)I have found other postings concerning uploading a file with JDev10.1.3.1 (af:inputFile bug JDev10131 production ignores Per-request disk space limit
Is it a bug with JDev 10.1.3.1? Any workaround available?
I'm using JDev 10.1.3.1 on WinXP.
Thanks,
MarkusI managed to correct this problem.
The situation is the following:
A CRUD page (Example: userList.jsp and userForm.jsp).
The first page there is a af:table with tableSelectOne and a Edit button. (theres also other components, like af:menuBar and af:form, html, body and head)
On submit, the backing bean(requestScope) gets the selected object (table.getSelectedRowData()), copy the values to the form fields and send (redirect=false) to the form page.
When i try to update, the fileupload does not work and ignores the valueChangeListener. All the other fields are updated correctly.
The form page is used to do Inserts and the upload works correctly.
The problem is, when you redirect (redirect=false) from userList.jsp (usesFileUpload="false")
to the other page, that uses the upload, the form page does not get the enctype="multipart/form-data"
To solve it, put usesUpload="true" in both page , and you will get enctype="multipart/form-data", and upload to work.
Changing components, the af:menuBar has a similar problem.
I got a menubar with 2 goMenuItem.
On each page the corresponding goMenuItem has selected="true".
On redirect, from list page to form page, the selected goMenuItem is the one on the ListaPage, and not the form page! It only changes if I click on the tab I want! -
Oracle ADF application with Teradata as Database
JDeveloper PS5.
Is it possible to integrate Oracle ADF application with Teradata as Database?
If yes, can you please provide some information with respect to the same?
Thanks,
NavaneethDoes teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
If yes, then maybe you can do ADF on it.
Take a look at this :
http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
Happy hacking ! -
Problems with JDev 11g using JBOSS and ANT
Hi,
I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
here is the problems I have :
1) ANT
JDev doesn't save my ANT settings
every time I launch ANT : Run Ant Target - I must set the Advance settings
JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
2) persistence
I get this error when deploying to JBoss
16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
th failure message {"JBAS014771: Services with missing/unavailable dependencies"
=> ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
.war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
tdDS]"]}
it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
BTW, I can't run my project with WebLogic either, gives this error :
<5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
can someone give me a clue ?
thanks
Edited by: FernandoLeite on Apr 5, 2013 10:31 AMI can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
Timo -
ADF: Error with API's OIM
Hi! i am work with view object programmatically, and ADF project with Business Component too. So when i run the (JSP & JSF) i have this error:
11/07/19 15:39:33 log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
11/07/19 15:39:33 log4j:WARN Please initialize the log4j system properly.
07-19-2011 03:39:34 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
07-19-2011 03:39:34 PM oracle.wireless.its.ra.TelnetResourceAdapter run
INFO: Industrial Telnet Server versión: Version 10.1.3.0.0 iniciado correctamente.
07-19-2011 03:39:36 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
11/07/19 15:39:37 JAVA: LookupXellerateTypeOIMImpl.java
11/07/19 15:39:37 Startup...
11/07/19 15:39:37 Getting configuration...
11/07/19 15:39:37 Login...
**11/07/19 15:39:37 Thor.API.Exceptions.tcAPIException: com.thortech.xl.security.tcLoginException: javax.naming.NameNotFoundException: ejb/tcUnauthenticatedOperations not found**
**11/07/19 15:39:37 at Thor.API.tcUtilityFactory.createLoginException(Unknown Source)**
**11/07/19 15:39:37 at Thor.API.tcUtilityFactory.<init>(Unknown Source)**
11/07/19 15:39:37 at sv.gob.AppModuleImpl.LookupXT(AppModuleImpl.java:163)
11/07/19 15:39:37 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11/07/19 15:39:37 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11/07/19 15:39:37 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11/07/19 15:39:37 at java.lang.reflect.Method.invoke(Method.java:597)
11/07/19 15:39:37 at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
11/07/19 15:39:37 at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
11/07/19 15:39:37 at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1962)
11/07/19 15:39:37 at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
11/07/19 15:39:37 at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
11/07/19 15:39:37 at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
11/07/19 15:39:37 at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
11/07/19 15:39:37 at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:131)
11/07/19 15:39:37 at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2533)
11/07/19 15:39:37 at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2274)
11/07/19 15:39:37 at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
11/07/19 15:39:37 at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:78)
11/07/19 15:39:37 at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
11/07/19 15:39:37 at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
11/07/19 15:39:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
11/07/19 15:39:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
11/07/19 15:39:37 at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
11/07/19 15:39:37 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
11/07/19 15:39:37 at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
11/07/19 15:39:37 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
11/07/19 15:39:37 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
11/07/19 15:39:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
11/07/19 15:39:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
11/07/19 15:39:37 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
11/07/19 15:39:37 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
11/07/19 15:39:37 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
11/07/19 15:39:37 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
11/07/19 15:39:37 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
11/07/19 15:39:37 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
11/07/19 15:39:37 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
11/07/19 15:39:37 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
11/07/19 15:39:37 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
11/07/19 15:39:37 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
11/07/19 15:39:37 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
11/07/19 15:39:37 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
11/07/19 15:39:37 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
11/07/19 15:39:37 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
11/07/19 15:39:37 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
11/07/19 15:39:37 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
11/07/19 15:39:37 at java.lang.Thread.run(Thread.java:662)
I dont understand about this error! need help! Please!!!There are couple of APIs are available, please have a look:
http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_903/doc_cd/javadocs/operations/Thor/API/Operations/tcAuditOperationsIntf.html -
Integrating ADF UI with IBM Filenet
I am working on latest jDEV(PS1) and developing UI using ADF. One of my requirement is to integrate ADF pages with IBM Filenet.
For example if I am displaying Sales Order details on the page and when we click on some info button I need to display the corresponding image from Filenet on this page and also I need to refresh the images dynamically depending on our selection on the page.
Does anybody worked on this scenario?
It would be really appreciate for your info / ideas.
Thanks
MCIt depends on which APIs Filenet offers.
For example if they offer a web service interface you can use the ADF Web service data control to access them.
If they offer a Java API you can write Java classes that access filenet and then expose those classes as ADF data control.
If Filenet support JCR then you might be able to use WebCenter's JCR (JSR-170) interface to interact with it. -
ADF Pgaes with Dynamic Tab Shell not rendering in iPAD 1+
Hi,
We have used Oracle Dynamic Tab Shell templates to build our Dashboard page with multiple dynamic tabs.
One year back when we initially created the main Dashboard with Dynamic Tab Shell and used UIShell API's to open new dynamic tab on click of command links in left hand side navigator. We started with Jdev 11.1.1.3 and we upgrade till Jdev 11.1.1.5.
Now recent requirement is, we need to test our applications in Safari browser within iPAD(2.0). While testing we observed below issues.
1) The JSPX page with Dynamic Tab Shell is keep showing "Loading..." We had to refresh the Safari browser twice to render the page.
2) Any af:commandLink as part of the JSPX which has dynamic tab shell template, not working. We have bunch of links on left navigator and on click of each link will open a new dynamic tab(we use UIShell API) . Nothing happens on click of those af:commandLinks.
3) We have "Home" and "Logout" links on top right corner. Nothing happening on click of those links too.
All these like af:commandLinks and af:commandButtons working as expected when we have them in side a JSPX page w/o dynamic tab shell.
Tested and observed same behavior both in iPAD 1.0 and newer version iPAD 2.0.
We desperately need help on thin. Pls let us know, if i need to provide more details. Is there any specific configurations required to make it work in Jdev 11.1.1.5? At this point we can not upgrade our Env to 11.1.1.6 or 11.1.2 as we already have these Apps in Production and we should give the users flexibility to use it in iPAD.
Please help!!
Thanks!!
Subba.Hi Jaun,
Thanks your response.
Yes- I have seen the support for iPAD and iOS are more enhanced it in 11.1.1.6 and later versions.
But we already hosted our apps in Production which is currently 11.1.1.5. We have complex workflows designed in SOA suite too.
Now, if we need to upgrade to 11.1.1.6, we need to basically do validate/test all our applications on new release and it cost us. CLient may not approve for upgrade as of now.
Is there any guidance or way for customers like us who are on 11.1.1.5 version, to get the ADF features and support for iPAD or iOS? Kind of backward compatible patches kind of thing?
Do we need to log a SR on ORACLE?
Please suggest!! -
Invoke ADF taskflow with parameters using POST
Hi,
Can someone give an example or point me to an example describing invoking adf taskflow with parameters?
The requirement is to have the parameters passed using POST method and not passing the parameters in the url.
Jdev: 11.1.1.4.0
Thanks!Hi,
a use case for the requirement would have been good to have as yet I can't tell if I am helping you with something useful (hope so) or stupid (for which there would be a better approach to use instead if only we knew the use case).
Anyway, here's a document describing what you asked for
http://adfpractice-fedor.blogspot.de/2013/07/url-task-flow-call-with-http-post-method.html
Frank -
How to bind ADF table with a collection of elements using backing bean.
Hi Experts,
My JDev version is 11.1.1.6.0.
I need to bind ADF table with a collection of elements using backing bean.
My backing bean consists of 6 lists of strings, where each list represents a column of table. How can I populate the entries of table with these lists.
Thanks
GopiHi,
Create an object representing the row (setter/getter). Then have a list of these objects. Drag and drop the table and point its value to the list and the type to the row object
Frank
Maybe you are looking for
-
XAML DataContext: name does not exist in the namespace
I have created a new C# WPF Application project in VS 2013, named dataconfigtest. The namespace is dataconfigtest. I add a new, public class named "TestDataClass". It is also in the dataconfigtest namespace. I add the following code to the XAML fil
-
With iOS 5, can I use my iPad or MacBook Pro to watch Hulu on Apple TV?
I want to be able to watch Netflix and Hulu on my TV, and while Ragu is the only device I can find with that capability (besides the XBox 360 for over twice the cost), I want to know if there is a workaround on the Apple TV using AirPlay. I love the
-
PROBLEMS In Lenovo A7000 after UPDATE S142_ROW!!
After UPDATE (~45 mb)>>>>>>>>>>> When I switch default storage THEN AFTER BOOT IT DOESN'T CONNECTS TO MY WIFI NETWORK!!!!!!!! Also after FACTORY RESET it FORMATS my SDCARD!!!! AND AT 1st BOOT UP it shows chinese language!!!!!! official reply>>>>>
-
Problem with MRM_INVOICE_PARK
Hi guys. I'm using the function MRM_INVOICE_PARK to park some docs. The function is working well, but i got a case where the date of the parking invoice gives me an error. The function stops and says : posting period 004 2011 is not open. Message no.
-
When putting in new contacts, do I need to enter a "1" before the 10 digit phone number, or does iPhone know that a 1 needs to dialed before an area code?