Showing posts with label Jdeveloper(11g). Show all posts
Showing posts with label Jdeveloper(11g). Show all posts

Thursday, October 8, 2009

Jdev 11g: HumanTask Compliation Issue

If you auto create , Human Task Form using Auto-Generate Task Form jdeveloper automates lot of stuff. A new Project is created with lots of artifacts, and a task form is created too. Jdeveloper even creates a deployment profile.

So you happily, first deploy the Composite, and then deploy the Adf project containing the task form.

But when you are deploying the task form application , a compilation issue comes..

Error(86,53): The function "getResourceValue" for prefix "wf" can not be found in the specified tag library.
Error(90,56): The function "isCustomActionAvailable" for prefix "wf" can not be found in the specified tag library.
Error(96,53): The function "getResourceValue" for prefix "wf" can not be found in the specified tag library.
Error(100,56): The function "isCustomActionAvailable" for prefix "wf" can not be found in the specified tag library.

Solution is to add a jsp tag library. Workflow Tags 1.0



Friday, October 2, 2009

How to view web services in Resource Palette

When you create an Application Server connection in jdeveloper, Only deployed composites are visible.

How do you view the deployed web services?

Jdeveloper has an inbuilt WSIL(Web Services Inspection Language) browser. WSIL is an XML document format which helps in discovery of web services in a standard fashion.

To create a WSIL connection in jdevloper

In the connection Wizard, that opens, Give a connection name.Click Next

In WSIL file, give address of the WSIL file, which is exposed automatically by WLS


The address usually is http://localhost:8001/inspection.wsil

Port here is managed server port.

Click next, and give user name and password.Click to finish.


Now expand WSIL in resource palette, and you can view all the deployments on the WLS.

You can also test web services from there, right click and Test Web Service.




Sunday, September 20, 2009

How to turn on Assertion in jdeveloper

While writing code, we might make certain assumptions.

Say, our govt runs a loan program, where everyone who request for a loan, would at least get something. There would never be a case, when people return empty handed..

public Long fulFillWish() {
/*depending on business rules, give loans..however since this is govt..everyone would get something.*/
if(retunAmt <> Run/Debug/Profile
Edit the default Run Configuration


Sunday, August 30, 2009

Integrated WLS Server Instance Conflict


If Integrated WLS server in jdeveloper is not shutdown properly, then sometimes you see the following error message.

To resolve the issue , simply end java.exe process from task Manager -> process tab

A List of TODO's

How often in development , do we leave things for future, when we intend to visit back, but alas we forget.

Like I Need to do a NPE checking, Handle the error, Remove SOP, Make it robust etc.

We might write comments for that in the source code, but again if we don't go through the code diligently either we might not find them, or oops! forgot.

Jdev comes with a very good utility called TODO.Have been using this in my current project a lot where requirements are developing/changing by the day.

You can create a TODO , just by typing TODO after // in source file. Later through Task window, you can view all the TODO's in your project/application. TODO's can also be created for entire project or application.


You can view tasks window through View-->Tasks and it would list all the TODO's in your application.