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



Wednesday, October 7, 2009

Weblogic: Redirecting Console Output to log file

You can redirect wls console output log file, by setting environment variable WLS_REDIRECT_LOG.

For example in Linux before running startWebLogic.sh simply set environment variable like

setenv WLS_REDIRECT_LOG $HOME/WLSLOG.log

Now start web logic server

Before you do this, create a file in home directory as WLSLOG.log and chmod 777 for it.

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.