parthasarathy madhira

Ranch Hand
+ Follow
since Aug 31, 2001
Merit badge: grant badges
For More
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 parthasarathy madhira

What type of data is being retrieved here? Who is interested in such a long report ? Generally speaking, it is a rare requirement where users have to go through 300,000 records.
Is it a report or an online search screen?
If it is a report, why are you using servlet , session beans for reports? Why can't you use a reporting engine OR much better a DWH ?
If it is an online search screen, you need to add enough search filters to fetch small chunks of data. And if your filters still fetch so many records(which still is hard to make sense) ,
you should possibly do pagination (just Google for java pagination) and also limit the max. no. of search results to say 250 or 500 depending on the available amount of memory.


11 years ago
Would this work?




There are couple of other methods in the Runtime class:

freeMemory()
maxMemory()

You can do the math, I guess
11 years ago
hi sateesh,

I am similarly trying to run an application client and I got the same error.

I have all the jars that you listed in the classpath.

But still I get the same error.

Any idea?

Thanks in advance
Partha
18 years ago
Hi,

I am trying to create a DB2 runtime database for MQWorkflow and I get an error as follows:

FMC33146E DB2 API call 'sqlecrea' ended with error: 'SQL0083C A memory allocation error has occurred'.
FMC33146E DB2 API call 'sqlecrea' ended with error: 'SQL0083C A memory allocation error has occurred'.

Please let me know if anyone encountered this error earlier.

I referred to the IBM information center and it just gives me this information which doesnt work still.

***********

SQL0083C A memory allocation error has occurred.
Explanation:
During processing, there was not enough memory to continue processing.

User Response:
Possible solutions include:

Ensure that your system has sufficient real and virtual memory.
Remove background processes.

***********************

I tried increasing the real and virtual memory on the AIX 5.3 but still this doesnt affect anything.

Any help is highly appreciated its urgent

Thanks in advance

Partha
18 years ago
I would love to buy such a book..

Please let me know the author.

Thanks
Partha
Hi Sharf,

Can you please suggest me the books that yu followed to get started? I recently cleared the part-1 exam with 95%.


Thanks a lot
Hi All,

Its great to see this discussion.

recently i've cleared the SCEA (310-051) part-1 with 95% score.

I felt that was easy since that was a multiple choice type exam.

Now I am planning to take up the part-2 exam, but I do not have any idea of where to start from.

Can anyone here help me out to get started for the preparation?

Thanks in advance

Partha
Hi,

I've around 5 and half yrs experience in J2EE technologies.

Is it mandatory that one needs to clear the SCJP exam, to be eligible to take the SCEA exam.

I didnt take the SCJP exam earlier.

Please suggest. I coudnt get any concrete information regarding the same on the net.

Thanks in adv

Partha
Hello !!
Can anyone let me know how do i restrict access to the help system developed using JavaHelp? i.e., I need to restrict the display of help based on user roles.
Thanks !!
20 years ago
Hi,
I am trying to populate a <html:select> box with values from database,
and the code for that is as follows:
<html:select name="InboxForm" property="userWorkGroup">
<html ptions collection="userWorkGroup" scope="request" property="id" labelProperty="description"/>
</html:select>
and i defined a java.util.Collection variable in the ActionForm with the name userWorkGroup and my config file looks as :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
<form-bean name="LoginForm" type="com.lmig.cmit.indep2.login.LoginForm"/>
<form-bean name="InboxForm" type="com.lmig.cmit.indep2.inbox.InboxForm"/>
</form-beans>

<!-- ========== Global Forward Definitions ========= -->
<global-forwards>
<forward name="home" path="/main.jsp?displayJSP=home" />
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<action
path="/login"
type="com.lmig.cmit.indep2.login.LoginAction"
name="LoginForm"
input="/login.jsp"
validate="true">
<forward name="valid" path="/main.jsp?displayJSP=inbox"/>
</action>
<action
path="/setUpInboxForm"
type="com.lmig.cmit.indep2.inbox.SetUpInboxAction"
name="InboxForm"
scope="session"
validate="true">
<forward name="continue" path="/main.jsp?displayJSP=inbox" />
</action>
<action
path="/inboxAction"
type="com.lmig.cmit.indep2.inbox.InboxAction"
name="InboxForm"
scope="session"
validate="true"
input="/main.jsp?displayJSP=inbox">
<forward name="valid" path="/main.jsp?displayJSP=home" />
</action>
</action-mappings>
<!-- ========== Associated Request Processor settings =================== -->
<!-- Here we specify the tiles processor -->
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<!-- ========== Message Resources Definitions =========================== -->
<message-resources parameter="ApplicationResources" />
</struts-config>
But when i try to run the application i always get the error :
----- Root Cause -----
javax.servlet.jsp.JspException: Cannot find bean userWorkGroup in scope request
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:692)
at org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:227)
at org.apache.jsp.inbox$jsp._jspService(inbox$jsp.java:136)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
Anyone who were hit this error earlier may please help me..
It is urgent.
Thanks in adv.
Partha
21 years ago
Thnks a lot Kyle and Nagpal,
I'll surely try your suggestions.
These would be of great help for me probably.

Thanks
Partha
21 years ago
Hi,
Can I implement 2 phase commit in a standalone java application ?
I access multiple databases with different connection objects in a single class in a single transaction. But how do I implement the 2 phase commit manually in a java standalone application.
Please note that I dont have any environment(like server, jndi etc.,) where i can deploy the datasources.
So pls let me know whether i can implement distributed transactions in this scenario.
This is very urgent.
21 years ago
Hi,
Can I implement 2 phase commit in a standalone java application ?
I access multiple databases with different connection objects in a single class in a single transaction. But how do I implement the 2 phase commit manually in a java standalone application.
Please note that I dont have any environment(like server, jndi etc.,) where i can deploy the datasources.
So pls let me know whether i can implement distributed transactions in this scenario.
This is very urgent.
21 years ago
Hi,
Can I implement 2 phase commit in a standalone java application ?
I access multiple databases with different connection objects in a single class in a single transaction. But how do I implement the 2 phase commit manually in a java standalone application.
Please note that I dont have any environment(like server, jndi etc.,) where i can deploy the datasources.
So pls let me know whether i can implement distributed transactions in this scenario.
This is very urgent.
[ January 29, 2003: Message edited by: Michael Ernest ]
21 years ago
Hi,
Can I implement 2 phase commit in a standalone java application ?
I access multiple databases with different connection objects in a single class in a single transaction. But how do I implement the 2 phase commit manually in a java standalone application.
Please note that I dont have any environment(like server, jndi etc.,) where i can deploy the datasources.
So pls let me know whether i can implement distributed transactions in this scenario.
This is very urgent.