P Sathish Kumar

Greenhorn
+ Follow
since Sep 08, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by P Sathish Kumar

Hi,
as Ninad Kulkarni focus on java and get the certification with high mark
all that matter is certification nothing else so i would suggest you take SCJP 5 since you will find a lot of study material.

-Sathish
SCJP 1.5, SCWCD 1.5, SCJDWS 1.4 , OCP, IBM XML
Hi,
SCJP 1.5 exam is based on Java(JDK) Version 1.5 and SCJP 1.6 exam is based on Java(JDK) Version 1.6
and Java 1.5 is used move when compared to JDK 1.6
it seem that you are not planning to take a carrier in java i would suggest you to take SCJP 1.5

-Sathish
SCJP 1.5, SCWCD 1.5, SCJDWS 1.4 , OCP, IBM XML
Java Web Services: Up and Running, 1st Edition
by Martin Kalin, February 15, 2009
is a new book on web Service
it start with a simple Hello World Kind of program
try it
I am trying to develop and deploy a web service, which is give in the book J2EE Web Services By Richard Monson-Haefel chapter 9 session 1. The book does not tell how to configure the web service. can you help me configure the web service and deploying it.

16 years ago
The TestConnection in the Datasource config is working fine.
i have given the wrong JNDI name in the Servlet i corrected it. still i am getting some problem

J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/OracleSpatial : java.lang.NoSuchMethodError: oracle/jdbc/driver/OracleLog.setLogVolume(I)V

16 years ago
There was as mismatch of the JNDI name. i corrected it still i am getting the some ather problem

J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/OracleSpatial : java.lang.NoSuchMethodError: oracle/jdbc/driver/OracleLog.setLogVolume(I)V

16 years ago
JNDI name for the data source is

jdbc/OracleSpatial


Here is the servlet code that call this datasource
16 years ago
still having the problem but different one


[12/5/08 8:16:24:718 IST] 00000022 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: DataSourceConn. Exception thrown : java.lang.NullPointerException
at org.conn.DataSourceConn.doGet(DataSourceConn.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

[12/5/08 8:16:24:828 IST] 00000022 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\logs\ffdc\server1_4ba84ba8_08.12.05_08.16.24_0.txt
[12/5/08 8:16:24:984 IST] 00000022 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\logs\ffdc\server1_4ba84ba8_08.12.05_08.16.24_0.txt
[12/5/08 8:16:25:000 IST] 00000022 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[12/5/08 8:16:25:031 IST] 00000022 WebApp E [Servlet Error]-[DataSourceConn]: java.lang.NullPointerException
at org.conn.DataSourceConn.doGet(DataSourceConn.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

[12/5/08 8:16:24:671 IST] 00000022 SystemErr R javax.naming.NameNotFoundException: Context: skylark-03c9270Node01Cell/nodes/skylark-03c9270Node01/servers/server1, name: jdbc/raclespatial: First component in name raclespatial not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0]
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.processNotFoundException(CNContextImpl.java:4730)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1907)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at javax.naming.InitialContext.lookup(InitialContext.java:363)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at org.conn.DataSourceConn.init(DataSourceConn.java:36)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
[12/5/08 8:16:24:671 IST] 00000022 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[12/5/08 8:16:24:687 IST] 00000022 SystemErr R Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:543)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2215)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1862)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1552)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1354)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at org.conn.DataSourceConn.init(DataSourceConn.java:36)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

[12/5/08 8:16:24:703 IST] 00000022 SystemErr R at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:543)
[12/5/08 8:16:24:703 IST] 00000022 SystemErr R at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2215)
[12/5/08 8:16:24:703 IST] 00000022 SystemErr R at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:536)
[12/5/08 8:16:24:703 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4351)
[12/5/08 8:16:24:703 IST] 00000022 SystemErr R at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1901)
[12/5/08 8:16:24:703 IST] 00000022 SystemErr R ... 28 more

16 years ago
I have set the ORACLE_JDBC_DRIVER_PATH


WAS_INSTALL_ROOT = C:\Program Files\IBM\SDP70\runtimes\base_v61
ORACLE_JDBC_DRIVER_PATH= ${WAS_INSTALL_ROOT}/oracle/lib
Class path = ${ORACLE_JDBC_DRIVER_PATH}/ojdbc5.jar


still as the same problem


com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException: DSRA8050W: Unable to find the DataStoreHelper class specified: com.ibm.websphere.rsadapter.Oracle11gDataStoreHelper

16 years ago
I tried the URL

jdbc: racle:thin:@localhost:1521: RCL


and gave the username and password in JAAS - J2C authentication data
i getting some ather error When Testing Connection


My system Config :Windows XP Sp2, WAS6.1, Oracle 11g
16 years ago
I am trying to configuring Oracle database as the datasource in WAS 6.1.
when i enter

Oracle data source properties
URL as

i am getting a error message


The field, URL, does not contain a valid value.

16 years ago
Recently i have installed Websphere MQ V6.0 in Red Hat Enterprise Linux x86_64 System
i intalled all the four rpm's


when i started the queue manager i get the fellowing error


how to fix the problem?
16 years ago
I am Starting this thread to discuss the advantage and disadvantage of using Hibernate and JDBC.

Does Hibernate is good to be Used in Servlet application?
Does Hibernate slow down the application?
........
.......
....
Hi,
I am new to j2EE yestaday i download Websphere 6.1 and WebLogic 10.since they are very popular. I could not add this servers in Eclipse its seen that eclipse has support for WebSphere 6 and there is no option in the add server for WebLogic. I am confused. Can any one help me out.

Regard
Sathish kumar