Win a copy of Spring Boot in Practice this week in the Spring forum!

Jetendra Ivaturi

Ranch Hand
+ Follow
since Feb 08, 2007
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 Jetendra Ivaturi

Hello Henry,

I am going through the link, I will reach this forum for any assistance.

Appreciate your help.

Regards, Jetendra.
10 years ago
Any clue, which lines with white spaces are not working properly.

Its better to have an array for both the inputs and outputs, at least for the same group of inputs.

10 years ago
Thanks for the information Abhay,

Though I did not get the actual answer, thanks for your time for replying.
10 years ago
Hello Team,

I am trying to create a forum application module in java.

I would like to know, how do I start with designing the high and low level design document for it?

As well I want to make the component as a module, which can be reused any ware in other applications?

I am not concerned about the user interface, my only concern is about the working of forum.

Please suggest.

Regards, Jetendra.
10 years ago
Hello Experts,

I have a query regarding EJB:

Problem Description:
==============

1. Created a ejb compiled and deployed it on weblogic 10.0
2. Created client compiled and deployed it on weblogic 10.0. Am able to access the ejb with out any issues.
3. I have modified he ejb(added a new method in remote interface), compiled and deployed it on 10.0
4. Same with client, I compiled(to generated new stubs with additional method) and deployed it on 10.0. Calls are successful.
5. Now, I am deploying the newly created ejb jar on 10.3.3 and the client aswell.

Below is the error:
============

java.lang.AssertionError: Failed to generate class for ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_EOImpl_1034_WLStub
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:267)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_HomeImpl_1034_WLStub.create(Unknown Source)
at jsp_servlet.__printservice._jspService(__printservice.java:98)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:267)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_HomeImpl_1034_WLStub.create(Unknown Source)
at jsp_servlet.__printservice._jspService(__printservice.java:98)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: java.lang.ArrayIndexOutOfBoundsException: 6
at ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_EOImpl_1034_WLStub.ensureInitialized(Unknown Source)
at ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_EOImpl_1034_WLStub.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:267)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at ca.gc.cra.xxxx.ticket2.business.PrintService_kczwdc_HomeImpl_1034_WLStub.create(Unknown Source)
at jsp_servlet.__printservice._jspService(__printservice.java:98)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)



Am I missing something here.

Please help
javascript:emoticon('');
Cheers
This exception is due to Peer Gone, it is called as PeerGoneException. Could you give the infomation about the paramerter mentioned:

1. "weblogic.PeriodLength" and
2. "weblogic.IdlePeriodsUntilTimeout"

Thanks
11 years ago
Thanks for your message Pat... Would you mind giving me the exact link?

Thanks again.
12 years ago
JSP
Hello All,

I am in process of creating a web application for a survery, I am using Jsp and servlets for this. I have back and cotinue buttons to traverse thru the pages back and forth.

I have implemented this in two ways:

1. To go back I made use of Javascript method history.back() and I could get the previous page data. But when I click on continue the page is reloaded and the data which is already selected is lost.

to overcome this problem

2. I have used Struts framework, with this am able to overcome the issue partially. Eg: Suppose that I have 5 Jsp's, I have submitted the data for first 2 pages and I have moved to 3rd Jsp with out submitting 3rd Jsp, if I go back to change other question answers and I come back to 3rd Jsp. Data which is already selected is lost. Where as if the Page is submitted, the data is selected is available.

I am performing the Data Base operations only at the last page once it is submitted.

Is there any way how can I track make data available even with out submitting data? Thanks in advance for help.

Happy New Year to all Ranchers...
12 years ago
Thanks a ton for the detailed mail. Thanks again. ...

Hi All

I am planning to take up SCEA, I would require some information regarding:

1. How to start initially?
2. Books to refer?
3. Difficulty Level?
4. Suggested books,material and blogs.

Thanks All

Jetendra
Thanks Bear.

sumit

Are you using the submit to fetch some data into the page? What the exact senario you are looking for ?

If you are looking to update the page, using AJAX would be a good move I think.

13 years ago
JSP
I mean to say We can define variable in scriptlets,

<%! ... %>

. Increment that variable when ever an submit botton is pressed and put a validity condition on it.

Would that help?
13 years ago
JSP
I believe Struts has an answer for this. Or work around would be having a static variable and put condition on it.

Thanks.
Jetendra Ivaturi
13 years ago
JSP
Oh yeah... Thanks for the information.
13 years ago
You can do it Ramakanth, just click use the update button. Before that please make sure you delete the extracted application in your server location.

Eg: D:\devtools\bea814\user_projects\domains\Testing\myserver\.wlnotdelete\extract\ ==> Here are the files which are extracted. So deleted this folderwith your application name and update the .war file using the option provided on console.

This will work. BTW which version of weblogic are you using?

Thanks
Jetendra.
13 years ago