bobby_tamayo_automic

How to avoid the error " com.automic.kernel.impl.DatabaseConnectString." when starting JWP

Discussion created by bobby_tamayo_automic on Aug 17, 2017
How to avoid the following error message when starting JWP.

Wed Aug 16 20:28:57 UTC 2017 Exception in thread Component Resolve Thread (Bundle 22) (id=18)
java.lang.NullPointerException
     at com.automic.kernel.impl.DatabaseConnectString.<init>(DatabaseConnectString.java:36)
     at com.automic.kernel.impl.InitialDatabaseConfig.create(InitialDatabaseConfig.java:23)
     at com.automic.kernel.osgi.ConfigurationComponent.configure(ConfigurationComponent.java:55)
     at com.automic.kernel.osgi.ConfigurationComponent.activate(ConfigurationComponent.java:44)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
     at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
     at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
     at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
     at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
     at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
     at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
     at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
     at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
     at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

In the UCSrv.ini, please make sure the the section [JDBC] is properly defined as shown below:

[JDBC]

SQLDRIVERCONNECT=jdbc:sqlserver://10.2.128.254;databaseName=AEARA12

Outcomes