We are running a .Net website based on SDL Tridion 2013. We are getting intermittent ClassNotFoundException from PageLink. Below is the stacktrace from the exception.
Exception information:
Exception type: Exception
Exception message: com.tridion.linking.PageLink
java.lang.ClassNotFoundException: com.tridion.linking.PageLink
at com.codemesh.classloader.ExtensibleClassLoader.findClass(Unknown Source)
at com.codemesh.classloader.ExtensibleClassLoader.loadClass(Unknown Source)
at com.codemesh.classloader.ExtensibleClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.codemesh.bootstrap.JarInputStreamBootstrapper.forName(Unknown Source)
at Codemesh.JuggerNET.JavaClass.ThrowException(Exception ex)
at Codemesh.JuggerNET.NTypeValue.Throw(Int64 inst)
at Codemesh.JuggerNET.JavaClass.ThrowTypedException(Int64 inst)
at Codemesh.JuggerNET.JavaClass.init()
at Codemesh.JuggerNET.JavaClass.get_JObject()
at Codemesh.JuggerNET.JavaMethod.init()
at Codemesh.JuggerNET.JavaMethod.get_MethodPtr()
at Codemesh.JuggerNET.JavaMethod.get_Handle()
at Codemesh.JuggerNET.JavaMethod.CallObject(JavaProxy jpo, JavaMethodArguments args)
at Com.Tridion.Linking.PageLink..ctor(Int32 publicationId)
at ASP.error_pages_server_error_aspx..ctor()
at __ASP.FastObjectFactory_app_web_server_error_aspx_8307e16d_x5schrje.Create_ASP_error_pages_server_error_aspx()
at System.Web.Compilation.BuildResultCompiledType.CreateInstance()
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
This error shows randomly once a day and then restarting IIS resolves the error. We are using the 32 bit version of Tridion runtime libraries for the presentation side. The version of Java on the presentation server is 1.7u40. Please advice.