Posts

Showing posts from May, 2010

weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection

Image
Using tools & technologies: Oracle Jdeveloper 11.1.1.2.0, EJB3, ADFfaces When I was trying to redeploy my application it was giving me error saying [Running application FileUploadDemo1 on Server Instance IntegratedWebLogicServer...] [11:26:28 AM] ---- Deployment started. ---- [11:26:28 AM] Target platform is (Weblogic 10.3). [11:26:28 AM] Retrieving existing application information [11:26:29 AM] Running dependency analysis... [11:26:29 AM] Deploying 3 profiles... [11:26:29 AM] Wrote EJB Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ModelEJB.jar [11:26:29 AM] Wrote Web Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1\ViewController1WebApp.war [11:26:30 AM] Wrote Enterprise Application Module to C:\Users\hoitdevweb1\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\FileUploadDemo1 [11:26:30 AM] Deploying Application... ...

Inline javascript in adf faces and calling it using adf faces button component

Image
Short tutorial to add javascript code into your adf faces page and calling it by on button press. 1. Create new Jsf page. 2. Find "Resource" from "Component Paletter --> Operations", and click on it you will be prompted to input in a dialog, click on dropdown array and select "javascript" and click OK. 3. Click on source, you will see the source with "Resource" tag like follows 4. Edit the tag and write your javascript, I am just creating a function which will show the alert dialog. 5. click on Design, and drag button so that you can call function on button click . 6. click on button, click on "component palette-->Operations" find "Client Listener" and click on it. You will be prompted to enter "method" and "type", enter your javascript method name and select type javascript and click on OK button. 7. If you see the source it would be like 8. Now click on page and run the page, when click o...