Debugging an ADF JAR file?
Hello. I have a shared Jar file which is used among many ADF web applications. Deploy the JAR file as a Jar ADF file and put it in the scope of the library of web applications. Is there a way I can debug the jar of the EAR file that include? I can debug the regular web application, or the JAR file on its own, but not the JAR of the EAR file. I use JDeveloper 11 g.Thank you! Graeme.
In my opinion, than the General technique described in the following Lucas's blog post:
http://technology.AMIS.nl/.../ADF-11g-debugging-task-flows-embedded-from-ADF-libraries-using-source-code-jars
Unfortunately, the link seems to be stuck at the moment, so I can't check it for you.
CM.
Tags: Java
Similar Questions
-
Image of page template ADF JAR file not updated in existing applications
JDeveloper 11.1.2.4.0
We have a jar of page templates (2 models) and a company logo (png file) that is added to all of our ADF applications ViewController project. Models include an active image that references the logo. I've updated the JAR file to include a third model of the page and update the company logo image file.
Changes work properly when you add the POT to a new application:
Create a new application.
Add the JAR of update for ViewController project.
Create the view in the workflow (all three models are available: selected new model)
Run the built-in page Weblogic Server.
Page appears in the browser and the new logo is displayed.
When you try to add changes to an existing application, the new model is available, but the logo is not updated:
Open an existing application.
Updating of the library of the ADF in the ViewController project
Creates a new view in the workflow (all three models are available: selected new model)
Run the built-in page Weblogic Server.
Page appears in the browser and the old logo is displayed.
I need to know how to get the new logo appears on the pages of an existing application.
Have you tried to clear the cache of the browser?
Timo
-
Pass the parameter of application deployed in the ADF library jar file
Hi all
I use JDeveloper 11.1.2.4.0, i have 2 Applications appA, appB.
I created in taskflow appA containing departments viewobject, appB contain stubborn workflows which has Employee.jsff page.
I have deployed appB as library of ADF jar file and add it to appA, I need to pass the id of employee viewobject, Department
Kind regards
Hello
In order to create a business application, are usually required several workflow tasks. These workflow will perform different functions, but they may have to communicate with each other. To enable this communication, you can use task flow settings, contextual events or sharing of the data control Instances.
Please check below link
Java / Oracle SOA blog: events ADF passing between areas of workflow
Communication between task flow using the flow of the task - Waslley Souza Blog settings
Thank you
Amey
-
Generate the ADF with Eclipse jar file
EIS,I followed the guide to use Eclipse as the tool to develop ADF related stuff, found here:
http://www.Oracle.com/WebFolder/technetwork/Eclipse/ADF/gettingStarted/tutorial/ADFwithOEPE_1.html
Everything is fine, and I've created classes, references, the flow and the pages. However, how to deploy such things in a jar file? There is an option in the JDeveloper, however, I can't find any way to do this in Eclipse? You need a profile I can use, or similar?
The thing is that I've developed things like extensions of the IOM, and so I need to add the jar genereated file to the war file named:
Oracle.IAM.UI.Custom - dev-starter - pack.war
by:
oracle.iam.ui.custom-dev-starter-pack/WEB-INF/lib/the-generated-jar-file.jar
Hope someone has a clue about what to do, because I really want to use Eclipse and JDeveloper.
Kind regards
Vegard
Looks like some doc links are broken. I found the tools Oracle ADF that describes what it takes to generate an adfLibrary in eclipse, but I don't know for what version this document is intended.
Timo
-
Deployment of ADF library jar files
Hello
I want to deploy my application to a standalone WLS which I applied above oracle ADF library. My question is that I have to include jar files that my application has a reference to them in my ear file? Jars for JSF, ADF rumtime, ADF faces DURATION,... these jar files should not be part of the ADF library that I installed on top of WLS?
ADF BC classes are in the adf.oracle.domain library.
The default value is not set in the weblogic application. XML
ADF. Oracle.Domain Other required libraries should be added to the weblogic - application.xml. The
Trinidad Runtime Databinding
ADF Faces DURATION 11
are in the adf.oracle.domain.webapp. Add the following to weblogic - application.xml.
ADF. Oracle.domain.WebApp -
Libraries of the ADF, see nonexistent JAR files
Hello
With JDeveloper 11 g (11.1.1.0.1), an application created with the application model 'Fusion Web Application (ADF)' seems to have libraries that refer to non-existent JAR files.
In the model project:
-Library Runtime model ADF
/JDeveloper/lib/Java/API/JAXB-API.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/API/jsr173_api.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-xjc.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-impl.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/jaxb1-impl.jar < jdeveloper-mw-Home >
-Library Runtime BC4J
/JDeveloper/BC4J/jlib/bc4jwizard.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/API/JAXB-API.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/API/jsr173_api.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-xjc.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-impl.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/jaxb1-impl.jar < jdeveloper-mw-Home >
-BC4J library security
/JDeveloper/lib/Java/API/JAXB-API.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/API/jsr173_api.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-xjc.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-impl.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/jaxb1-impl.jar < jdeveloper-mw-Home >
-Library BC4J Tester
/JDeveloper/BC4J/jlib/bc4jwizard.jar < jdeveloper-mw-Home >
In the ViewController project:
-Library ADF schema master
/JDeveloper/adfc/lib/ADF-controller-schema.jar < jdeveloper-mw-Home >
-Common ADF Runtime Library
/JDeveloper/lib/Java/API/JAXB-API.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/API/jsr173_api.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-xjc.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/JAXB-impl.jar < jdeveloper-mw-Home >
/JDeveloper/lib/Java/shared/Sun.JAXB/2.0/jaxb1-impl.jar < jdeveloper-mw-Home >
Why is that?
Thank you very much
Jan VerveckenHi Jan,
I logged Bug 8230310 to report this problem to the development.
Kind regards
Didier.
-
Jar file does not not - in double file source error
Hello
I use the plugin Eclipse + BB 1.3.0 and I do a cross-platform for BB + Android app. I've extracted some of the pure java source files, no blackberry or Android specific methods or imports and put them in a jar file. I did it in eclipse by right-clicking on the project-> export-> Jar and selecting files in my project I want to add in the CONTAINER.
Then, I deleted the files in my project, I just add in the CONTAINER so that they are only in 1 place at this stage. Then on the command line as I type:
preverify -classpath ../lib/net_rim_api.jar myfile.jar
Now, as I understand it, I should have a file JAR that I can use in eclipse and also the BB JDE.
I tried to add the JAR directly to the project in Eclipse. Didn't ' work (gave the 'Module review errors'). I then created a project, assign the 'Library', adds that the POT and made 'exportable' and 'export '.
The initial project can import the classes, but that's all!
In eclipse, I get an error saying that there is a definition "duplicate" for one of my classes. In the console, it compiles the pot very well, but its when its compilation of the main project I get this error. But I deleted the files in the project and cleaned and refreshed, and deleted the "deliverables" folder then all *.cod and .debug files are deleted.
Its quite frustrating!
IF anyone can help, I would be very grateful!
Thank you!
Too bad
I fixed it by adding the jar again to the main project in eclipse, and this time I just checked it in "order and export. -
access request to the jar file module
Hello world
I use jdev 11.1.1.7.0
I added a jar file to my project (jar file contains a workflow and an application module), the jspx parent page like the following (also application instance module added to the data control):
<af:panelGroupLayout id="pgl1" layout="vertical"> ... <af:region value="#{bindings.taskflow.regionModel}" id="r1" /> ... </af:panelGroupLayout>
If I create a bean for the parent jspx page (the page contains the workflow) is it possible to access the instance of request of the jar file?
Habib
Concerning
Post edited by: Habib.Eslami
Habib, read the warning about the changes to understand the warning of uncommitted data. Then http://andrejusb.blogspot.de/2010/03/integration-in-oracle-adf-with-adf-task.html that shows how to get to the datacontrol to a region and check the status of the transaction.
Timo
-
Hi all.
I have a special need to deploy an application into an executable jar file (so it could be run as java-jar xxxxxx.jar). It is an app of the ADF, and there just the model layer. It has a main method that works perfectly inside the JDeveloper runtime.
I use ADF components (entity objects, see objects, Application Module, etc.).
I tried to deploy it in a jar file and libraries has added to its deployment profile. When I try to run it, I always get:
Exception in thread "main" oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg = Houston-33003: the MyConnection_Dep login name is not defined.
MyConnection_Dep is the login used in JDeveloper and defined in the Module of the Application, but it looks like the data connection are not deployed.
Which can be missing? Any help would be appreciated.
Thanks in advance
In fact, it worked today. I used
public class amConnection implements {EnvInfoProvider}
public Object getInfo (String string, object environment) {}
EnvHashtable Hashtable = (Hashtable) environment;
envHashtable.put (Configuration.DB_USERNAME_PROPERTY, "username");
envHashtable.put (Configuration.DB_PASSWORD_PROPERTY, "password");
envHashtable.put (Configuration.DB_CONNECT_STRING_PROPERTY, "jdbc:oracle:thin:@myserver.domain.com:1521:xxx");
Returns a null value.
}
All required jars are packed. It works very well.
Thanks anyway
-
reading the images and icons from jar file
Hello
I applied the tutorial in the corner of the adf
[read the image of the jar file | http://www.oracle.com/technetwork/developer-tools/adf/learnmore/86-images-from-jar-427953.pdf]
and deploy it in logical built-in web server
my version 11.1.2.3 Jdeveloper
but the images did not appear
For example: when I drag the button and try to specify icon for this button no image for the library referance
How can I fix this problem or missing steps in the application of the link above?
Thank youI just ran this tutorial recently, took a few tries but everything worked according to the instructions in the article. You should check your steps on. set install to the top of the jar, add it to the project lib reference and use "/ adf/images / ' as the value of the icon. That should be all you need to do at the moment of the conception of the image displayed when running, you need to install the pot to your embedded wls and also change your weblogic - application.Xml.
-
Where jar files are added to a project listed?
Hi guys and girls,
This should be easy, and Yes, I searched on google and forums.
My master application/project uses the workflow of other projects. These projects have been made to files, which are then added to my Palette of resources under the system of jar files. From there on, I use these workflow in my master project by clicking their .jar file matching and selecting 'add to project '. However, where in the world they appear?
I think they would be in project properties-> libraries and Classpath, but they are not.
With the help of JDev 11.1.2.1.0.
Confused,
Will beAll ADFLibs are placed in a lib named ADFLibrary. If you ADFLibs depend on other libs or in pots, you can see a lib "ADF Dependend libraries' that contain all side pots.
Timo
-
Accept email jar file deployment
I don't know if this is the right place to ask this problem. I reported the problem to the JDeveloper and ADF a week ago, but did not respond. To avoid rewrite me a long explanation, you can find using my 918805 no.
In other words, the problem is that I can't get a Windows 7 system to accept and execute the program downloaded from my jar file if the receiving computer has UAC affecting more than minimum security. I need to convince the receiving computer to apply the user recipient to allow my jar file and run it once downloaded regardless of account control settings.
Published by: 918805 on March 12, 2012 03:49918805 wrote:
Thanks for your reply of March 12. I did not provide enough information on March 14?For me - not. You didn't really address the points I raised.
I'm not sure of the importance of your comment when you say "I have no problem running Java on Windows 7 programs, as long as I don't have to go outside the family environment of the user."
There are area of only two hard drive you should be able to guarantee to create files and directories - Directory users (tree System.getProperty ("user.home")) and subdirectory and the (System.getProperty ("java.io.tmpdir")) tmp directory and its subdirectory tree.
I use a Windows XP as administrator and single user course and have no problem running Java programs anywhere in the system.
XP security is a joke.
On my Windows 7 machine, I am also administrator and single user and have no problem in executing Java programs anywhere in the system except that I can't run a program downloaded when the account control is set on which I can do on my Windows7 machine. What is the difference and how to solve the problem for all the other people that I would like to send my software?
Do not try to create files and directories outside of the tmp directory tree or directory tree. I'm not an expert on Windows but I create cross-platform Java programs and they run about anywhere as long as I don't have to create files and directories outside the two security zones.
-
FileNotFoundException, when you use a template stored in a jar file
Hello
Using Jdev 11.1.1.3.0 I created a JSF page template in a project and has been in the form of ADF library JAR file. In a second project, I added the library and I could see my model in the drop-down page templates. I created a new page based on this template, but when I run the page I get an exception FileNotFoundException indicating the name of the template file that I created in the first draft. Any idea?Make sure the JAR file that has been added to your project libraries has the 'default deployment"check box selected.
-
Deployment to .jar file error
Hello world
I am a developer of forms, and as such I am a completely clueless on how to do some basic things in this new tool, I am trying to learn.
In a first step, I am building some simple applications of the ADF/Swing, everything is fine until I reached the point when I want to deploy my proyect bit. Here's what I did based on what help I could find in this forum. Thanks in advance and sorry for my bad English.
(1) create a deployment profile, I select all dependencies by using the "Dependency análisis" option under file groups. Question: on the long list of dependencies shown in this section, it is necessary to include all the libraries figure? If I understand all the resulting jar file is 120 MB in size, and that is a very simple form. Is this normal / correct. ?
(2) after you have deployed the jar I try to run it with "java-jar xxx.jar", but I get the following exceptions: it seems to be related to the manifest file, and I find it very odd that when I look in the jar file, there are TWO 'manifest '. MF' under the same META-INF folder, it is capitalized and is small enough, the second is tiny and very large. I don't know if this is what causes the problem and I can not find someone else who has the same issue.
The error:
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature input file javax/media/rtp/event/SessionEvent.class
at sun.security.util.SignatureFileVerifier.verifySection (SignatureFileVe
check. Java:260)
at sun.security.util.SignatureFileVerifier.process (SignatureFileVerifier
. Java:172)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
at java.util.jar.JarVerifier.update(JarVerifier.java:194)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
at java.util.jar.JarFile.getInputStream(JarFile.java:362)
at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
to sun.misc.URLClassPath$ JarLoader. < init > (URLClassPath.java:543)
to sun.misc.URLClassPath$ 3.run(URLClassPath.java:320)
at java.security.AccessController.doPrivileged (Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Thank you.Each must have its own file java.exe JDK. Check the path to the JDK for your project (on the page of the library project properties dialog box) and when you run your JAR file, do it with
/ Path/to/Development/JDK/java-jar...
Hope this helps,
Avrom -
Madam/Sir,
I log on this site everyday to make a contribution (http://theanimalrescuesite.greatergood.com/clickToGive/home.faces?siteId=3) and during the last three days, I was unable to connect. Today, I get this message: XML parsing error: State unexpected location parser: jar:file:///C:/Program%20Files%20 (x 86) /Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/abt
Best regards
Peter
What Firefox locale (UI language) do you use?
Try a clean reinstall and delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.
- Download the installer of Firefox and save the file to the desktop
https://www.Mozilla.org/en-us/Firefox/all/
If possible to uninstall your current version of Firefox to clean the Windows registry and settings in the security software.
- Do NOT remove the "personal data" when you uninstall your current version of Firefox, because this will remove all profile folders and you lose personal data such as bookmarks and passwords including data profiles created by other versions of Firefox.
Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.
- (32-bit Windows) "C:\Program Files\Mozilla Firefox\"
- (Windows 64 bit) "C:\Program Files (x 86) \Mozilla.
- It is important to remove the Firefox program folder to delete all the files and make sure that there is no problem with the files that were the remains after uninstallation.
- http://KB.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but do NOT delete personal data when you uninstall Firefox which removes all Firefox profile folders and you lose your data.
- Download the installer of Firefox and save the file to the desktop
Maybe you are looking for
-
10.11.5 wheel can't turn after entering the password
Updated 11.5 via download Apple store. Twice same result twice as follows. Everything downloaded and installed. Open connection and request for password. Password entered, accepted, wheel starts turning as if loading and opening. But never stop. Ra
-
DeskJet ink advantage 3454 Aio: HP ePrint Enterprise
I have problems connecting to my "deskjet ink advantage 3454 Aio" and help my windows lumia 435 through wireless and hp eprint business App.
-
microsoft security essentials windows instalation 8
I can not instalar o programa no meu notbook
-
videos and images are turning to the left upper corner of the screen
can someone tell me how to solve the problem? Videos and commercial images flashing in the upper left corner of my screen to the place where they are supposed to be. But the controls for videos, play/pause, volume, etc. are in the empty box where
-
Problem with my invoice printing
My account still shows 'free trial', but I pay since the tax and it is not even list my invoices?