chandra kunchala

Greenhorn
+ Follow
since Aug 06, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chandra kunchala

what i meant is,
these create() and ejbCreate() methods are not there any

so, if we are not implement these two methods in our impl class,then we will get RunTimeException.

even though, these two methods are not there any interface,so..! why should i implement these 2 methods.

Dear All,

can anybody tell me that,

why create() and ejbCreate() is a specification method



Thanks & Regards

Dear All,

I am using OC4J 10.1.3.0.0 Container,

after deploying ther EAR file, when iam trying to access the application,
I am getting

oracle.oc4j.rmi.OracleRemoteException: java.lang.IncompatibleClassChangeError;



Any body suggest me, in which case i am getting this.

Appreciate your help

Thanks in advance.

12 years ago
Dear All,


Iam using OC4J 10.1.3 Container, AND i created the ear using jdk1.5 compiler on MyEclipse 6.0.
after deploying the ear, AND WHEN iam trying to access the application, AND IF iam trying to operation iam getting the
following errors.

oracle.oc4j.rmi.OracleRemoteException: java.lang.IncompatibleClassChangeError
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:333)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:39)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
at SetUpSession_StatelessSessionBeanWrapper48.getAdvSerchLov(SetUpSession_StatelessSessionBeanWrapper48.java:9078)
at QMSAdvSerchLovController.doPost(QMSAdvSerchLovController.java:177)
at QMSAdvSerchLovController.doGet(QMSAdvSerchLovController.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

Nested exception is:

09/12/21 14:57:56 com.evermind.server.http.HttpIOException: An existing connection was forcibly closed by the remote host
09/12/21 14:57:56 at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:203)
09/12/21 14:57:56 at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:494)
09/12/21 14:57:56 at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:391)
09/12/21 14:57:56 at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:361)
09/12/21 14:57:56 at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1574)
09/12/21 14:57:56 at _reports._QMSActivitySummaryReport._jspService(_QMSActivitySummaryReport.java:116)
09/12/21 14:57:56 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
09/12/21 14:57:56 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
09/12/21 14:57:56 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
09/12/21 14:57:56 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
09/12/21 14:57:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
09/12/21 14:57:56 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
09/12/21 14:57:56 at QMSReportController.doFileDispatch(QMSReportController.java:2774)
09/12/21 14:57:56 at QMSReportController.doPost(QMSReportController.java:2692)
09/12/21 14:57:56 at QMSReportController.doGet(QMSReportController.java:92)
09/12/21 14:57:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
09/12/21 14:57:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
09/12/21 14:57:56 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
09/12/21 14:57:56 at ESMenuMainPage.doDispatcher(ESMenuMainPage.java:127)
09/12/21 14:57:56 at ESMenuMainPage.doGet(ESMenuMainPage.java:109)
09/12/21 14:57:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
09/12/21 14:57:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
09/12/21 14:57:56 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
09/12/21 14:57:56 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
09/12/21 14:57:56 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
09/12/21 14:57:56 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
09/12/21 14:57:56 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
09/12/21 14:57:56 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
09/12/21 14:57:56 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/12/21 14:57:56 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
09/12/21 14:57:56 at java.lang.Thread.run(Thread.java:595)

Can you suggest me , what is the acual problem...

12 years ago
Dear all,

I am using weblogic 10 server,

i've the requirement to generate a file from the perticular site on perticular time.
in my code they used the weblogic timer.

but the problem is
>> schedular is running at startup of the server time not at the specified time.
the code is like the following

public void contextInitialized(ServletContextEvent event)
{
System.out.println(">>> contextInitialized called.");
// Instantiating the Timer MBean
timer = new Timer();
// Registering this class as a listener
timer.addNotificationListener(this, null, "some handback object");
// Adding the notification to the Timer and assigning the
// ID that the Timer returns to a variable
/*
* This below code is to set the timer to the midnight
*/
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR_OF_DAY,10);
calendar.set(Calendar.MINUTE,0);
calendar.set(Calendar.SECOND,5);
Date midnight = calendar.getTime();
notificationId = timer.addNotification("oneMinuteTimer","a recurring call", this,midnight, PERIOD);


timer.start();
System.out.println(">>> timer started.");
}


that is working fine for the weblogic 8 server.

is there any extra settings required...

appreciate your reply

thanks
12 years ago

Hi All,



For Servlets, we should require public no-argument constructor right?

>>Can you tell me, wat is the purpose of that no-argument constructor,
>>Why it should required?
>>Why the servlet should be "public".

Thanks
Chandra




12 years ago
Dear JavaRanch Users,

>> What is the purpuse of RAD & WSAD.

>> How these will work.

Thanks & Regards
Chandra Kunchala
Hi All,

Can you suggest difference between JSF & STRUTS
HI to ALL

can you tell me about java decompiler,
is it possible to get the source code from .class file of my own classes and .class files of pre-defined classes files of jdk.

regards
CHADNRA KUNCHALA SCJP5.0
13 years ago
JSP
HI to all
can you any body tell me that how can i get source code from .class files



regards
chandra SCJP 5.0 97%
13 years ago
HI To ALL

can you give me a good defintion for JSP.

regards
chandra SCJP 5.0 97%
13 years ago
JSP
Thank you Ulf Dittmer for your reply,
you said that, even though we get Thread-safety for the servlets we may not getting that safety for web application.

Can you give some explanation regarding that
13 years ago
HI ALL

init() method will be called by two ways
one is during server start up if we specify <load-on-startup> in web.xml
and second is during the first request right?

if iam right, can you tell me how can i identify that whether it is first request or second request and so on.



regards
CHANDRA SCJP 5.0 97%
13 years ago
Dear ALL,

can you tell me the main purpuse of SingleThreadModel Interface.
i think so it was deprecated from servlet 2.3 version
till yet there is no alterenative for SingleThreadModel Interface i mean to say upto servlet 2.5 v right?

i want to know that what is the main puropuse of SingleThreadModel Interface. why it was deprecated from servlet 2.3 version


regards
chandra SCJP5.0 97%
13 years ago
HI
can you tell me, what are the different HttpMethods that we have.
13 years ago