- Select Extend an existing WebLogic domain.
- Browse and select your WebLogic Server domain.
- Select Extend my domain using an existing extension template.
- Browse and select the required template JAR (toplink-spatial-template.jar for Oracle Spatial
- Complete the remaining pages of the wizard and finish
Preparing...
Extracting Domain Extension Contents...
Saving the Domain Information...
Updating Domain Information...
String Substituting Domain Files...
Performing OS Specific Tasks...
Performing Post Domain Creation Tasks...
Domain Extension Applied Successfully!
Domain Location: /bishiphome/Middleware/user_projects/domains/bifoundation_domain
Admin Server URL: http://demo.us.oracle.com:7001
- Restart Weblogic
Annotation Example
@Entity
@Table(name="myName")
@StructConverter(name = "JGeometry", converter =
"org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter")
public class Hotstar implements Serializable {
private static final long serialVersionUID = 1L;
@Convert(value="JGeometry")
private JGeometry point;
@Convert(value="JGeometry")
@Column(name="POINT_90112")
private JGeometry point90112;
....
Support
java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
Exception in thread "main" javax.ejb.EJBException: EJB Exception: ;
nested exception is: java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry;
nested exception is: java.rmi.RemoteException: EJB Exception: ;
nested exception is: java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
You must complete the configuration of your application server.Documentation / Reference