English

Problem: Cannot connect to ArcSDE with Author or ArcExplorer from client machine

Description

When trying to connect to ArcSDE within ArcIMS Author, a 'Connection error' messages is returned. The Author Message Console lists the following error:

java.lang.NoClassDefFoundError: 
com/esri/sde/sdk/pe/PeProjectionException
at com.esri.sde.sdk.client.r.a
at com.esri.sde.sdk.client.b.a
at com.esri.sde.sdk.client.SeConnection.getLayersat com.esri.sde.sdk.client.SeConnection.getListat com.esri.mo.client.sde.b.getDatasets
at com.esri.mo.map.dpy.BaseWorkspaceLayerSource.refresh
at com.esri.mo.client.sde.SDE.getLayerSourceat com.esri.mo.client.sde.SDE.getLayerSource
at com.esri.cc.cat.SdeDialog.b(SdeDialog.java)
at com.esri.cc.cat.SdeDialog.run(SdeDialog.java)
at java.lang.Thread.run

Cause

This may occur if ArcIMS Author is installed on a different machine than ArcSDE and ArcIMS.

During the installation of the ArcIMS Manager feature, which includes the ArcIMS applications Administrator, Designer and Author, a necessary file may not get installed. The missing file is JPE90_SDK.JAR, 649 KB, and can be found on the ArcIMS server at <ArcIMS installation directory>\ArcGIS\ArcIMS\Jre\lib\Ext.

Solution or Workaround

Warning:
Exit all Java applications, for example ArcIMS Administrator, Author and Designer before following these steps.
  1. Copy the file Jpe90_sdk.jar from the ArcIMS server from the directory <ArcIMS installation directory>\ArcGIS\ArcIMS\Jre\lib\Ext\ and paste it into a shared folder accessible by the client machine.
  2. On the client machine, copy the file jpe90_sdk.jar from the shared network folder to the ArcIMS JRE location at: <ArcIMS installation directory>\ArcGIS\ArcIMS\Jre\lib\Ext
    Note:
    Within this directory, there are several other arcims related jar files, including jsde90_sdk.jar and jsde90_sdkres.jar.
  3. To solve this issue for ArcExplorer and the Java Viewers: Copy the file to the system JRE location on the client machine. For Example:
    C:\Program Files\Java\j2re1.4.2\lib\ext.
    Note:
    Within this directory, there are several other arcims related jar files, including jsde90_sdk.jar and jsde90_sdkres.jar.
  4. Start Author and test if the attempt to add an ArcSDE data source is successful.