GeoEvent Processor errors

5935
8
08-22-2013 06:31 AM
Highlighted
Occasional Contributor
Hi,

I think that I have a configuration issue with my GeoEvent Processor installation. It was working fine but after installing additional software on the same machine (Portal, Web Adapter instance) it started performing slowly and operations via the manager and designer would time-out. I turned Portal off (stopped the service) and the issue persisted. I re-installed GeoEvent Processor and deleted all of the services, but the issues are still occurring. When I look in the log files I see the error below.

Any suggestions?

2013-08-22 11:49:20,899 | ERROR | rint Extender: 2 | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint - 0.3.2 | Unable to start blueprint container for bundle com.esri.ges.manager.internal-agsconnectionmanager
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean agsServerConnectionManagerBean
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:640)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:726)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:631)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:337)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:230)[15:org.apache.aries.blueprint:0.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
Caused by: java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:50)[:1.7.0_17]
at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:636)
at org.codehaus.jackson.map.ObjectMapper.readTree(ObjectMapper.java:1542)
at com.esri.ges.datastore.agsconnection.DefaultArcGISServerConnection.authenticate(DefaultArcGISServerConnection.java:1803)
at com.esri.ges.datastore.agsconnection.DefaultArcGISServerConnection.afterPropertiesSet(DefaultArcGISServerConnection.java:151)
at com.esri.ges.manager.datastore.agsconnection.internal.ArcGISServerConnectionManagerImpl.convertFromWrapper(ArcGISServerConnectionManagerImpl.java:97)
at com.esri.ges.manager.datastore.agsconnection.internal.ArcGISServerConnectionManagerImpl.getArcGISServerConnections(ArcGISServerConnectionManagerImpl.java:240)
at com.esri.ges.manager.datastore.agsconnection.internal.ArcGISServerConnectionManagerImpl.init(ArcGISServerConnectionManagerImpl.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_17]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:225)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:838)[15:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:638)[15:org.apache.aries.blueprint:0.3.2]
... 15 more
8 Replies
Highlighted
Esri Regular Contributor
Hello Greg --

The error you posted looks like an issue with the installation of GeoEvent Processor.

I might have recommended stopping the ArcGIS GeoEvent Processor service and then deleting the ...\data folder from the set of installation file folders beneath C:\Program Files\ArcGIS\Server\GeoEventProcessor and then restarting the service. But you indicated that you have already tried uninstalling the product, which is a more thorough way of accomplishing the same thing.

You indicate that you deleted all of the services. Did you do this before you uninstalled, or after you re-installed? The best way of guaranteeing that you are starting fresh is to uninstall GeoEvent processor, then locate and delete the product's configuration files from the C:\ProgramData\Esri\GeoEventProcessor (WinServer 2008 / Win7) ... you might find these files beneath C:\Documents and Settings\All Users\Application Data\ESRI\GeoEventProcessor on older versions of Windows.

If you are still seeing the Unable to start blueprint container for bundle com.esri.ges.manager.internal-agsconnectionmanager org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean error message in the GEP logs after removing the product's configuration files and re-installing, please let us know.

/RJ
Reply
0 Kudos
Highlighted
Occasional Contributor
Removing the install data did the trick, thanks RJ.
Reply
0 Kudos
Highlighted
New Contributor III
I'm experiencing the same issue.
Have tried uninstalling GeoEvent Processor and ArcGIS Server. Deleting all files and folders related to AGS installation and installed AGS again did not help.

Working with 10.2.1 and Windows 2008 R2.

I still get:

Unable to start blueprint container for bundle com.esri.ges.framework.startup
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean upgradeAction
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:640)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:726)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:631)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:337)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:230)[24:org.apache.aries.blueprint:0.3.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_25]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_25]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_25]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_25]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_25]
at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]
Caused by: java.lang.ClassCastException: org.codehaus.jackson.node.NullNode cannot be cast to org.codehaus.jackson.node.ArrayNode
at com.esri.ges.startup.upgrade.StreamsDirectoryUpgrader.ensureNewPropertiesForTransportArePresent(StreamsDirectoryUpgrader.java:132)
at com.esri.ges.startup.upgrade.StreamsDirectoryUpgrader.lookForUpgrades(StreamsDirectoryUpgrader.java:120)
at com.esri.ges.startup.upgrade.UpgradeAction.lookForUpdates(UpgradeAction.java:93)
at com.esri.ges.startup.upgrade.UpgradeAction.bluePrintInit(UpgradeAction.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_25]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:225)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:838)[24:org.apache.aries.blueprint:0.3.2]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:638)[24:org.apache.aries.blueprint:0.3.2]
in karaf.log.


Any suggestions?
Highlighted
Esri Regular Contributor
Hello Andreas -

The text in the exception "Unable to intialize bean upgradeAction" suggests to me that something has run afoul such that GeoEvent Processor does not recognize a configurable element and is trying to "upgrade"� the element to work with the 10.2.1 product release you are running.

Have you deployed any custom components? Added any connectors from the Gallery to your product?

If you stop the Windows service which is running GeoEvent Processor, and then delete the files/folders in the following two directories, you should effectively reset the product. The files/folders you delete will be rebuilt when you restart the GeoEvent Processors"? Windows service.


  •   C:\ProgramData\Esri\GeoEventProcessor

  •   C:\Program Files\ArcGIS\Server\GeoEventProcessor\data


1) Delete everything in the product"?s configuration store.
This is everything beneath the "�\Esri\GeoEventProcessor folder except the certs sub-folder. (You can delete certs as well, but you"?ll have to then go through the process of importing the GEP certificate as trusted.) These are all of your configured inputs, outputs, GeoEvent Services, GeoEvent Definitions, registered connections (Server and System Folders) "� etc. It is likely that something in here is what GeoEvent Processor is trying to "upgrade"�.

2) Delete all of the product"?s runtime data files.
This is everything beneath the "�\Server\GeoEventProcessor\data folder. This removes the ActiveMQ cache, other cached data, the generated Java bundles "� etc. used by GeoEvent Processor at runtime.

If you delete these two system resources, and there are no files in:
C:\Program Files\ArcGIS\Server\GeoEventProcessor\deploy ...

... when you start the GeoEvent Processors"? Windows service it should be as if you just installed the product. You will need to give the system some time (typically about 30 seconds, but generally not longer than a couple of minutes) to build the Java bundles and create the runtime files before you will be able to launch and log-in to the GeoEvent Processor Manager.

Please let us know if this resolves the issue.
- RJ
Highlighted
New Contributor II

Hi RJ, 

I'm trying to install GeoEvent Server 10.5, installation went fine, service started, but when I try to open GeoEvent Manager (https://<servername>:6143/geoevent/manager/index.html ), I get "No service was found."

I have tried all of the suggestions above but I couldn't get past this error.


In karaf.log I found the following. Seems to be related to ssl certificate, I have a self-signed certificate and ArcGIS Server is working fine, ArcGIS Portal is working fine on the same box too, ArcGIS server is also federated through portal. Full log file attached.
Any suggestion on what the issue may be? Thanks for helping!

2017-04-30 20:11:23,979 | INFO | FelixStartLevel | BlueprintContainerImpl | 30 - org.apache.aries.blueprint.core - 1.4.2 | Bundle com.esri.ges.framework.httpclient-proxy-properties is waiting for dependencies [(objectClass=com.esri.ges.manager.globalproperty.GlobalPropertyManager)]
2017-04-30 20:11:24,378 | INFO | FelixStartLevel | HttpServiceFactoryImpl | 256 - org.ops4j.pax.web.pax-web-runtime - 3.1.4 | Binding bundle: [com.esri.ges.framework.httpclient [95]] to http service
2017-04-30 20:11:25,094 | ERROR | s.arcgis.local]) | Http | 95 - com.esri.ges.framework.httpclient - 10.5.0 | Second attempt failed. Giving up. (https://hv-fw-devafe4/arcgis --- Connection pool shut down)
2017-04-30 20:11:25,096 | INFO | s.arcgis.local]) | Http | 95 - com.esri.ges.framework.httpclient - 10.5.0 | Connection pool shut down
java.lang.IllegalStateException: Connection pool shut down
at org.apache.http.util.Asserts.check(Asserts.java:34)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:184)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:251)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:175)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[95:com.esri.ges.framework.httpclient:10.5.0]
at com.esri.ges.httpclient.Http.execute(Http.java:540)[95:com.esri.ges.framework.httpclient:10.5.0]
at com.esri.ges.localarcgis.impl.LocalArcGISServerImpl.getCertifcateFromOwningSystem(LocalArcGISServerImpl.java:116)[95:com.esri.ges.framework.httpclient:10.5.0]
at com.esri.ges.localarcgis.impl.LocalArcGISServerImpl.updatePortalCertificateIfNecessary(LocalArcGISServerImpl.java:80)[95:com.esri.ges.framework.httpclient:10.5.0]
at com.esri.ges.localarcgis.impl.ConfigUpdater.updated(ConfigUpdater.java:119)[95:com.esri.ges.framework.httpclient:10.5.0]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)[15:org.apache.felix.configadmin:1.8.0]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)[15:org.apache.felix.configadmin:1.8.0]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[15:org.apache.felix.configadmin:1.8.0]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[15:org.apache.felix.configadmin:1.8.0]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[15:org.apache.felix.configadmin:1.8.0]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

Reply
0 Kudos
Highlighted
New Contributor III

Feichi, did you ever resolve this? I have run into the same problem with 10.5.1. Tried all the suggestions but same outcome as you, GEE is not working.

Reply
0 Kudos
Highlighted
New Contributor II

Hi Trevor,

I ended up reinstalling geoevent server to resolve this issue. I am on 10.5.1 too.

Feichi

Sent from my iPhone

Reply
0 Kudos
Highlighted
New Contributor III
Hi RJ,

Thanks for your quick response.

It was a clean install, so I didn't have any custom components up and running.

Deleting the paths below as you wrote did the trick.
C:\ProgramData\Esri\GeoEventProcessor
C:\Program Files\ArcGIS\Server\GeoEventProcessor\data
C:\Program Files\ArcGIS\Server\GeoEventProcessor\deploy ...

Thx 🙂