In a fresh installed Tridion site (2013 SP1) on access it gives following error:
Stacktrace:
java.lang.NoClassDefFoundError: Could not initialize class com.tridion.storage.StorageManagerFactory at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.checkSessionWrapperAvailability(WritableODataClaimProcessor.java:155) at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.guaranteeInitialized(WritableODataClaimProcessor.java:141) at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.onRequestStart(WritableODataClaimProcessor.java:55) at com.tridion.ambientdata.Engine.onRequestStart(Engine.java:147)
at Codemesh.JuggerNET.JavaClass.ThrowException(Exception ex) at Codemesh.JuggerNET.NTypeValue.Throw(Int64 inst) at Codemesh.JuggerNET.JavaClass.ThrowTypedException(Int64 inst) at Codemesh.JuggerNET.JavaMethod.CallVoid(JavaProxy jpo, JavaMethodArguments args) at Com.Tridion.Ambientdata.Engine.OnRequestStart(ClaimStore claimStore)
at Tridion.ContentDelivery.AmbientData.Runtime.AmbientRuntime.OnRequestStart(HttpApplication application, HttpContext context, ClaimStore claimStore, Set templateReadOnlyClaims, Set templateImmutableClaims, Set templateSessionScopeClaims)
Please find the snippet from the storage.config below:
<Bundle src="preview_dao_bundle.xml"/>
<!-- <Bundle src="TrackingRequestDAOBundle.xml"/> -->
</StorageBindings>
<Wrappers>
<Wrapper Name="SessionWrapper">
<Storage Id="sessionDB" Class="com.tridion.storage.persistence.JPADAOFactory" Type="persistence" dialect="MSSQL">
<Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="127.0.0.1"/>
<Property Name="portNumber" Value="1433" />
<Property Name="databaseName" Value="Tridion_Session_Preview" />
<Property Name="user" Value="TridionBrokerUserStage"/>
<Property Name="password" Value="Pass@123"/>
</DataSource>
</Storage>
</Wrapper>
</Wrappers>
<Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory">
<Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120"/>
<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
<Property Name="serverName" Value="127.0.0.1"/>
<Property Name="portNumber" Value="1433"/>
<Property Name="databaseName" Value="Tridion_Broker"/>
<Property Name="user" Value="TridionBrokerUser"/>
<Property Name="password" Value="Pass@123"/>
</DataSource>
</Storage>
Thanks in advance.