Sangeetha Rao

Ranch Hand
+ Follow
since Aug 01, 2005
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 Sangeetha Rao

A coredump happened recently in our system and we found that it was due to LDAP. This Broadcast Message from root (msglog) on our Solaris 10 server
**********************************************************
Updating /var/tmp/coreminer.log.622 on SOL10... Found: /opt/nortel/omea612ac20/3rdparty/sunone/slapd-omea/logs/core
Renamed to : /core.1.Fri_Jun20_22h38m29s
Info: ELF 32-bit MSB core file SPARC Version 1, from 'ns-slapd' **********************************************************

Stack Trace ebugging core file of ns-slapd (32-bit) from SOL10 initial argv:
./ns-slapd -D /opt/nortel/omea/3rdparty/sunone/slapd-omea -i /opt/nortel/omea/3
threading model: multi-threaded using native lwps
status: process terminated by SIGSEGV (Segmentation Fault)
0xfeae0b54(884fc8, 17acf28, fb82ff2c, 0, 17acf28, 17acf28)

Any idea as to how can this be debugged?
15 years ago
Thanks Craig, will see that.
I want to add a note that this behavior is observed only when shift is pressed. When the retireve button is clicked (with the mouse), the searchPanel does not collapse!
16 years ago
We have a page in which there are 2 JPanels - searchPanel and resultsPanel. The searchPanel has some combo boxes for the search criteria and a button named 'retrieve'. When the search criteria are selected and the retrieve button is clicked, the result is displayed in the resultsPanel.
In such a design, what is being observed is that when a space bar is clicked with the retrieve button in focus, the whole searchPanel collapses. How can we revert the collapsed panel or supress this behaviour?
16 years ago
Hi,

We have designed a .psml page where in few html pages are imported and displayed. The html pages have links to other pages. When this page is viewed from solaris (Mozilla), no scroll bar is seen in any of the frames. But when executed from Windows (Firefox), we see a scroll bar on one of the frames in which the number of links is more than the other frames. How to disable this scroll bar.
Thank you prabhu and ajse roy

prabhu,
The link you have given has many code coverage tools. Can you recommend the best one among them..

ajse roy,
Clover seams to be licenced. I am more interested in a free software...
Can anybody please suggest a good, open-source, code coverage tool that works with eclipse, based on your own experiences?
Does it mean that I should not have a catch block for the Exception class in my servlet so that the Exception propages to the JSP from which servlet was called and then let the JSP take the onus of informing the user about the Exception rather than the servlet logging the Exception itself. Is this one of the best practices? Please confirm if my understanding is correct.
17 years ago
JSP
I understand that Windows is case-insensitive. It means that you can give either upper case or lower case in a file name and it is sure to fetch the same file. But in my case, when I give lower case (the actual file name is with lower case) it doesnt work but if I give upper case it works!
17 years ago
JSP
Two of the pages in my application are called "login.jsp" and "confirm.jsp".

confirm.jsp has this line in it.



only if init-caps is given to the file name of login.jsp on Windows, it works fine. When I give the correct filename of login.jsp (without init-caps), I get this exception:

java.lang.NoClassDefFoundError: org/apache/jsp/login_jsp (wrong name: org/apache/jsp/Login_jsp)



But on Linux, it works fine only if the correct case is given. Why is this strange behaviour on Windows?
17 years ago
JSP
I removed the catch for Exception from my servlet and that excetion was thrown to the JSP and inturn got displayed on the browser with the root cause. The root cause was a NullpointerException which I was able to fix.
17 years ago
JSP
That stacktrace is what I got though exception.printStackTrace();. exception.getCause() returned null.
17 years ago
JSP
Yes, confirm.jsp is working fine. I tried calling it directly and there is no problem. Also, few of the pages are getting redirected to confirm.jsp page without any problem.
17 years ago
JSP
JasperException is being thrown on the line below:

getServletContext().getRequestDispatcher("/confirm.jsp").forward(req, res);

The same is the case with all the servlets that have this line. But all these servlets were not throwing this exception before. No new installations were done. 'confirm.jsp' is present in the same webapplication. Had faced this problem before but it got resolved on its own after numberous Tomcat restarts. But it is not getting resolved now. Please help me solve this:

org.apache.jasper.JasperException
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at addProject.doPost(addProject.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
17 years ago
JSP


In the above dropdown, even if other options are selcted, only the default value (currentYear)gets submitted always. What can go wrong?
17 years ago
JSP
Simple cron job is working now (I had given tabs instead of spaces in between the date fields in the cronjob syntax). But I am back to my initial problem now. Reminder.sh is getting executed manually but is not getting executed as cronjob. All the users of Reminder.sh have been given the write permission. What can go wrong this time?
17 years ago