Select to view content in your preferred language

Advanced Java PrintSOE on ARCGIS Server .NET --Can't connect to server

2612
26
06-03-2011 06:24 PM
RuiboHan1
Deactivated User
I was following Step 2 on http://gis.pch.etat.lu/flexViewerPrint/quickstart.html

At the setp of
soemanager.bat -a [server name] [domain name] [username] [password] PCHarcgisSOE.jar

I used the username and password to Arcgis server .net, which is ArcGISWebServices and mypassword, but got the error of
" AutomationException occured while connecting to server localhost.
Please check if username and pwd are correct or are members of agsadmin group.
AutomationException: null
Disconnecting from ArcGIS Server "null"....Done"

I am sure the username and pwd are correct and can also use them to log on the arcgis server manager, anyone has the same problem? Please help,  Tom?  Thanks in advance.
Tags (2)
0 Kudos
26 Replies
RuiboHan1
Deactivated User
No, I gave up after many attempts. Let me know if anyone find a soluation.
0 Kudos
TomSchuller
Frequent Contributor
Hy,
I'm not sure but we can try an other logging:

Start the <ArcGIS-Home>\bin\javaconfigtool.exe and enable the "Java Interop Logging".

In your profile dir, you should see additional java logs, maybe they contain some informations:
  C:\Users\<username>\AppData\Local\ESRI\Server10.0\Java\Log

Tom
0 Kudos
JimWard
Deactivated User
Tom,
I don't seem to have the javaconfigtool.exe at the path you noted, or anywhere on my server for that matter. I have a .net install, not sure if that matters.

I will keep my eye out for any other suggestions anyone may have!

Thanks!
-Jim
0 Kudos
JimWard
Deactivated User
Could the version of java have anything to do with this error? I am showing 1.6.0_16
Thanks
-Jim
0 Kudos
JimWard
Deactivated User
Just updated to Java last 6 build (1.6.0_27), as this was released in August, so should work. But no success. Same error.
0 Kudos
TomSchuller
Frequent Contributor
jimwardlewiston,
what's your ArcGIS server version and o  which ServicePack level are you?

Tom
0 Kudos
JimWard
Deactivated User
jimwardlewiston,
what's your ArcGIS server version and o  which ServicePack level are you?

Tom


We are at server 10.0, .net, no service packs applied. Maybe that is my next course of action.
0 Kudos
JimWard
Deactivated User
Well, just installed arcgis service pack 3 for server, .net, and desktop, still get that same persistant
"Error: AutomationException occured while connecting to server [servername]   Please check if username and pwd are correct or are members of the agssmin group. AutomationException: Access is denied."

I am about to give up! Anybody got any suggestions?

Thanks!
Jim
0 Kudos
JimWard
Deactivated User
I have tried everything. I don't think there is anything wrong with Tom's code. I just think there may be something up with my install, my syntax (although I thought I followed everything to a 't'. Using this command line string to register the PCHarcgisSOE.jar or I would bet any jar file for that matter, just does not work.

So question, is there an alternate method to registering an SOE?
0 Kudos
TomSchuller
Frequent Contributor
jimwardlewiston,
did you have a possibility to give me remote access.
You can contact me by email.

Tom
0 Kudos