Datasource in Portal serverDatasource in Portal serverhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=367402024-03-29T11:50:06Z2024-03-29T11:50:06ZDatasource in Portal serverkrishna_kic krishna_kichttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=367462004-09-21T08:51:19Z2004-09-21T08:51:19ZWell,<br /> I am using WSAD 5.1.2 in Portal server 5.0.<br /><br />i understood that, to support naming &amp; jndi we need to include ns.jar which is in 5.1.2 program files directory. But naming.jar is supported by the Websphere application server. but portal server doesn&#39;t supports it.<br /><br /> and it requeires the followinf jars too<br /><br />iwsorb.jar<br />websphere.jar<br />ns.jar<br /> in the class path.<br /><br /><br />Tanx &amp; regards<br />Krishnakrishna_kic krishna_kic2004-09-21T08:51:19ZDatasource in Portal serverBrian Chanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=367442004-09-20T14:20:51Z2004-09-20T14:20:51ZMind telling us what the issue was? We&#39;re trying to put together docs on WebSphere 5. Thanks.Brian Chan2004-09-20T14:20:51ZDatasource in Portal serverkrishna_kic krishna_kichttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=367422004-09-19T09:41:59Z2004-09-19T09:41:59ZHi,<br /><br /> I solved this Issue..<br /><br /><br />Thanx<br /><br /><br /><br />Krishnakrishna_kic krishna_kic2004-09-19T09:41:59ZDatasource in Portal serverkrishna_kic krishna_kichttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=367392004-09-17T10:47:04Z2004-09-17T10:47:04Z<br /><br />hi <!--emo&<img alt="emoticon" src="@theme_images_path@/emoticons/mellow.gif" >--><img src='@theme_images_path@/emotions/mellow.gif' border='0' style='vertical-align:middle' alt='mellow.gif' /><!--endemo--> <br /> i m using Portal server test environment 5.0 &amp; Db2<br />while trying to connect Db using the Data source i got the following exception<br /><br />** i have included naming .jar..<br /><br /><br />please any one help me to solve this..<br /><br /><br /><br /><br /><br />java.lang.NoClassDefFoundError: com/ibm/WsnOptimizedNaming/NamingContextOperations<br /> at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:104)<br /> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)<br /> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)<br /> at javax.naming.InitialContext.init(InitialContext.java:231)<br /> at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:207)<br /> at com.wellpoint.common.utils.DbDAOConnection.getDataSource(DbDAOConnection.java:164)<br /> at com.wellpoint.common.utils.DbDAOConnection.getConnection(DbDAOConnection.java:77)<br /> at com.wellpoint.common.utils.DbDAOConnection.main(DbDAOC