I am getting an error intermittently on different pages and the same page do not throw the error when i refresh it. The error detail is as below.
Java.Lang.RuntimeException
[RuntimeException]
Codemesh.JuggerNet.NTypeValue.Throw)Int64 inst) + 514
Codemesh.JuggerNet.JavaClass.ThrowTypedException(Int64 inst) +1243
Codemesh.JuggerNet.JavaMethod.CallString(JavaProxy jpo, JavaMethodArgument args)
Com.Tridion.Linking.ComponentLink.GetLinkAsString(String sourcePageUri, String targetComponentUri, strin................
When i looked into the log files cd_core the details are as below
2013-06-21 17:54:26,948 ERROR ComponentLink - Error while constructing linking: null
java.lang.ExceptionInInitializerError: null
at com.tridion.linking.ComponentLink.init(ComponentLink.java:124) ~[cd_linking.jar:na]
at com.tridion.linking.ComponentLink.<init>(ComponentLink.java:86) ~[cd_linking.jar:na]
Caused by: java.lang.RuntimeException: Fatal error, unable to load the StorageManagerFactory
at com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:90) ~[cd_datalayer.jar:na]
at com.tridion.storage.StorageManagerFactory.<clinit>(StorageManagerFactory.java:58) ~[cd_datalayer.jar:na]
... 2 common frames omitted
Caused by: com.tridion.configuration.ConfigurationException: JDBC Driver/Datasource class could not be found, com.microsoft.sqlserver.jdbc.SQLServerDataSource, com.microsoft.sqlserver.jdbc.SQLServerDataSource
at com.tridion.storage.util.JDBCDataSourceBeanConfigurer.registerJDBCDataSource(JDBCDataSourceBeanConfigurer.java:65) ~[cd_datalayer.jar:na]
at com.tridion.storage.util.JDBCDataSourceBeanConfigurer.configure(JDBCDataSourceBeanConfigurer.java:42) ~[cd_datalayer.jar:na]
at com.tridion.storage.util.SpringContextDynamicConfigurer.configure(SpringContextDynamicConfigurer.java:33) ~[cd_datalayer.jar:na]
at com.tridion.storage.configuration.SpringConfigurationLoader.configure(SpringConfigurationLoader.java:26) ~[cd_datalayer.jar:na]
at com.tridion.configuration.step.ConfigurationStepLoader.configure(ConfigurationStepLoader.java:47) ~[cd_core.jar:na]
at com.tridion.storage.StorageManagerFactory.configure(StorageManagerFactory.java:139) ~[cd_datalayer.jar:na]
at com.tridion.services.BaseService.<init>(BaseService.java:107) ~[cd_core.jar:na]
at com.tridion.storage.StorageManagerFactory.<init>(StorageManagerFactory.java:106) ~[cd_datalayer.jar:na]
at com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:86) ~[cd_datalayer.jar:na]
... 3 common frames omitted
2013-06-21 17:54:26,954 ERROR ComponentLink - No LinkInfo is found in the bindings, could not retrieve ComponentLinkInfo
2013-06-21 18:06:24,835 ERROR ComponentLink - Error while constructing linking: Could not initialize class com.tridion.storage.StorageManagerFactory
java.lang.NoClassDefFoundError: Could not initialize class com.tridion.storage.StorageManagerFactory
at com.tridion.linking.ComponentLink.init(ComponentLink.java:124) ~[cd_linking.jar:na]
at com.tridion.linking.ComponentLink.<init>(ComponentLink.java:86) ~[cd_linking.jar:na]
2013-06-21 18:06:24,835 ERROR ComponentLink - No LinkInfo is found in the bindings, could not retrieve ComponentLinkInfo
As the error states the application is not able to find JDBC driver/datasource, In that case it should throw error always but this is not the case and this error was caught only once for each page and the next refresh displayed the correct page. (Also we found this issue while browsing on one machine on other machine we never got this error, though i know it has nothing to do with the client machine but need to confirm). Please advice.