对于这种问题,先查查METALINK再说,一般都有解决办法
Symptoms
In Forms Builder, open the Layout Editor and add a 'Bean Area' item type.
Bring up the property pallette for this bean area item.
Specify the java bean class information in the Implementation Class property.
Hit return and the FRM-13008 error occurs.
The error may also be seen even when the Implementation Class is valid. For example, when opening the layout editor to display the canvas belonging to one of the Forms 6i / 9i java bean demos
Cause
1. The Implementation Class property value/ syntax is incorrect. For example this could be a spelling mistake or the wrong case has been used for certain letters in the property value string. (Note: Java is case sensitive)
*****
AND/ OR
*****
2. The FORMSxx_BUILDER_CLASSPATH and CLASSPATH environment variables are missing references to:
- the java bean class or jar specified in the implementation class
- f60all.jar or f90all.jar
- '\forms60\java' or '\forms90\java' directories
Fix
1. If using Forms 6i, compile the java source files and create the jar file using javac and jar from Sun JDK 1.3.1 or 1.2.2
These earlier versions of Sun JDK can be downloaded from
http://java.sun.com/downloads/index
*****
AND / OR
*****
2. Check that the Implementation Class property value/ syntax is correct. Be sure to take into account that:
a. There are no spelling mistakes
b. Java is case sensitive, so specify exactly the same case as used in the java source code.
c. If the java bean is part of a package - the full package name / string must be specified. For example, the java source code File Upload demo java bean (FileUploader.java) reads
package oracle.forms.demos.uploadclient
Therefore the Implementation Class value for this java bean would be
oracle.forms.demos.uploadclient.FileUploader
*****
AND/ OR
*****
3. a. Copy the Java Bean class or jar file(s) into [Oracle Home]\forms60\java
Note: If the java bean is part of a package, a directory structure corresponding to the package name must exist in the JAR file or under [Oracle Home]\forms60\java / [Oracle Home]\forms90\java
For example, if the File Upload demo java bean UploadClient.jar file is extracted, it creates a directory structure
oracle
-- forms
-- demos
-- uploadclient
The uploadclient directory contains the FileUploader.class files.
The directory structure corresponds to the package name - oracle.forms.demos.uploadclient - specified in the java source.
b. Edit the CLASSPATH (and FORMS90_BUILDER_CLASSPATH for Forms 9i/10g) environment variables and add the following references:
Oracle Forms 6i :
CLASSPATH
[Oracle Home]\forms60\java;[Oracle Home]\forms60\java\[name of java bean jar file].jar;[Oracle Home]\forms60\java\f60all.jar
Oracle Forms 9i / 10g:
CLASSPATH and FORMS90_BUILDER_CLASSPATH
[Oracle Home]\forms90\java;[Oracle Home]\forms60\java\[name of java bean jar file].jar;[Oracle Home]\forms90\java\f90all.jar
Note: Do not add an extra backslash after [Oracle Home]\forms60\java or [Oracle Home]\forms90\java
The [name of java bean jar file] does not need to be added if the java bean is not part of a package, and the class files have been directly copied, for example, into [Oracle Home]\forms60\java or [Oracle Home]\forms90\java .
*****
Useful References:
Oracle9i Forms Developer and Forms Services Release Notes Release 2 (9.0.2)
Section 4.11 Valid Bean Name In Implementation Class Returns FRM-13008 Error
http://download-uk.oracle.com/do ... _developer/toc.html
Oracle9i Forms Developer and Forms Services Migrating Forms Applications from Forms6i Release 2(9.0.2)
Chapter 13 Java-Related Issues
http://download-uk.oracle.com/do ... 01/java.htm#1004903
Note 1078686.6 Java Bean Does Not Show Up in Layout Editor
Note 117092.1 Cannot open Layout Editor if there is a BeanArea
References
Note 1078686.6 - Java Bean Does Not Show Up in Layout Editor
Note 117092.1 - Cannot open Layout Editor if there is a BeanArea
|