Saturday 18 November 2017

How To Create a Project In ADF and deployed as a library in Portal PART-2 ( Deployment Of the Application on to Web Center Portal)

Hi friends, today I'll share experience how to deploy dependent libraries or application on to Portal.
Normally application or library deploy onto server not to portal :)
here i'll share how make a tar file of portal project, In previous post I have shared how to start a project and set the dependencies http://amitspiral.blogspot.co.uk/2017/10/how-to-create-project-in-adf-and.html  after setting the dependencies we need to follow below steps -


S1- Check out the latest tag build project.

S2- Inside Backout folder we have last release wcp_deploy_fwk.tar file.

Thursday 9 November 2017

Data Source Configuration and Solution of Errors Couldn't find jdbc datasource/500 internal server error

When Deploy an Application on Web logic two things needs to Avoid -

1. Couldn't find jdbc datasource - 
In this article I explained how to configure a jdbc datasource for an adf application deployed on web logic. What's not actually told is what caused us troubles : the jdbc ds should not contain any "_" or "-" or any other special characters like these.
Because of that, the application was not able to resolve in the jndi tree the matching data source, and it was a source of error. Renaiming it in the application and on weblogic solved it.

2. 500 internal server error - couldn't find faces context -
It actually was a tricky one. On the welcome page of the application you have to input a login and a password, then click an action button. Clicking it, and others actions components in the application causes the server to crash due to an "internal error". Checking the logs revealed that the application couldn't find it's context. The error in the stack trace pointed to a line of the backing bean action method which invoked a method-binding (with bindings.getOperationBinding("")). And on top of that, just so you know, the application behaved perfectly on integrated weblogic.

What causes the problem ? Check right now your web.xml, welcome-file node : we just had the name of the page :
/login.jspx
Instead, you should have :
/faces/login.jspx

Configuring Data Source -
below are steps to configure the DS -
S1 -After servers are up and running open weblogic server console and enter the user name/password
http://hostname:port/console

S2- Creating a data source is a change to the domain's configuration, so the configuration must first be locked. In the Change Center, click the Lock & Edit button.


S3- In the administration console under Domain Structure, expand Services (by clicking the + next to it). Then click Data Sources.


S4- On the right, notice that the Summary of JDBC Data Sources section appears.
Under the Data Sources table heading, click the New drop-down list. Then select Generic Data Source.


S5 - Enter Name of Data Source and Jndi Name.


S6 -On the second page of the wizard, use the Database Driver drop-down list to select 
*Oracle's Driver (Thin) for Instance connections; Versions:9.0.1 and later.
click Next.

S7 - Keep all default transaction option and click on next.

S8 - now Enter the User Name and password.



S9- Click on test Configuration Button.

S10 - now select the managed server and click on Finish.

S11- Now in the Summary of JDBC Data Sources, you can see the new DS.




Eclipse With Python

Hi Guys, Today i'll share how to start python project in eclipse IDE. to start Py development in eclipse we need to add Py Dev plugi...