How does engine initializing work?

828
1
Jump to solution
12-09-2020 01:21 PM
PatrickNorthcutt
New Contributor II

My team has been given some .gdb files in a pidb to apply to our Oracle DB.  I see the incumbent contractor must have used ArcObjects to do this.  I am trying to rewrite it in Java.  I am stuck not understanding how the licensing works when initializing the engine.  I am trying to run the app on a machine that has ArcGis Server but I still get a licensing error. 

This is what I figured out so far:

 All applications built with the ArcObjects SDK require ArcGIS Engine Runtime or ArcGIS Desktop installed, with the appropriate license, to execute successfully.  I can only use ArcGIS Server because it is the only 32 bit ntvinv.dll and it appears this is the only one for java.

We have Arc Server installed and licensed on a server and when I try to run my sample app, I fail on 

EngineInitializer.initializeEngine();

What step am I missing?  How does the AoInitialize object communicate with ArcGIS server? to figure out the license level?

0 Kudos
1 Solution

Accepted Solutions
PatrickNorthcutt
New Contributor II

Ha, decided to dump the status of all license types.

ngine:20
Basic:20
ArcServer:10
Advanced:20
EngineGeoDB:20
Standard:20

Now I know what is wrong.

View solution in original post

0 Kudos
1 Reply
PatrickNorthcutt
New Contributor II

Ha, decided to dump the status of all license types.

ngine:20
Basic:20
ArcServer:10
Advanced:20
EngineGeoDB:20
Standard:20

Now I know what is wrong.

0 Kudos