Wednesday, July 8, 2015

Warning : java.lang.IllegalArgumentException: .jsff is not a source file

Oracle JDeveloper 11.1.2.3

While running an application designed with TaskFlow & Page Fragments got below error

Warning: weblogic.utils.compiler.ToolFailureException: Unexpected exception while compiling jsps :java.lang.IllegalArgumentException: The file file:<Path>\page.jsff is not a source file
 
Solution - Add in web.xml file below lines to specifically recognize jsff page pattern.

<jsp-config>
    <jsp-property-group>
      <url-pattern>*.jsff</url-pattern>
      <is-xml>true</is-xml>
    </jsp-property-group>

</jsp-config>

 




Refer - https://blogs.oracle.com/jdevotnharvest/entry/warning_java_lang_illegalargumentexception_the

oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type task Flow

Oracle JDeveloper 11.1.2.3

While doing some copying of Project Source File Content into New Application Source, upon running the page found below error -

oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type task Flow

I was copying the content from DataBindings.cpx into new DataBindings.cpx file for a new application & missed to include <definitionFactories/> .

Solution - Open DataBinding.cpx file. Paste the below lines -
<definitionFactories>
        <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
                 className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
        <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
        <factory nameSpace="http://xmlns.oracle.com/adfm/dvt"
                 className="oracle.adfinternal.view.faces.dvt.model.binding.FacesBindingFactory"/></definitionFactories>




This should resolve the issue.

Tuesday, July 7, 2015

How to Resolve JDeveloper IDE Corruption ?

Oracle JDeveloper 11.1.2.3
Windows 7

Recently while doing some work in JDeveloper noticed, Project Hierarchy in "Application Navigator" is overlapping down on "Application Resources" & "Data Control" Panel.

"Data Control" Panel is stuck and not expanding. Reason for these abnormalities is corruption of DefaultWorkSpace file in System Folder.



Solution - Navigate to C:\Users\it_rashid\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1,
Rename or Delete folder "o.jdeveloper". Restart JDeveloper if it is open. This should resolve the issue.

Monday, July 6, 2015

Null Pointer While Creating New Application In JDeveloper 11g

Oracle JDeveloper 11.1.2.3
Windows 7

While trying to create a new "Fusion Web Application" from New Gallery Dialog, get the below Exception in a dialog & Wizard was not opening -

java.lang.NullPointerException at oracle.jdeveloper.model.ApplicationContent.getInstance(ApplicationContent.java:67)



Solution - Navigate to System Folder C:\Users\it_rashid\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1, Rename or Delete "o.ide" folder. Close & Re-Open JDeveloper if it is open. This should resolve the issue.

Sunday, June 28, 2015

How to Change Memory Usage of Integrated Web Logic Server ?

Oracle JDeveloper 11.1.2.3
Web Logic Server Integrated 10.3.5.0



Wednesday, June 24, 2015

How to change the Memory Usage of JDeveloper 11g ?


Oracle JDeveloper 11.1.2.3
Windows 7