Topic
  • No replies
SystemAdmin
SystemAdmin
1660 Posts

Pinned topic solve

‏2008-03-17T10:14:50Z |
SessionContex E Exception is: javax.naming.NameNotFoundException: Context: linuxNode01Cell/nodes/linuxNode01/servers/server1, name: jdbc/Sessions: First component in name Sessions not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0

when starting the application from the administrator console i'am getting this error...i'am new to websphere......can any one plz guide me how to solve this problem......
i create a datasoure with jndiname as ekmds........also the testconnection is successful...........in web.xml also i used

<resource-ref>
<res-ref-name>ekmds</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>

and in emp-servlet.xml

<bean id="WASDataSource"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"
value="java:comp/env/ekmds"/>
<property name="lookupOnStartup"
value="false"/>
<property name="cache"
value="true"/>
<property name="proxyInterface"
value="javax.sql.DataSource"/>
</bean>
plz guide me thank you