naraharirao mocherla

Ranch Hand
+ Follow
since Aug 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by naraharirao mocherla

Hi Miquel,congrats for the hard work.btw,may i know your score?
I think the answer to this question is C not B.as war file is considered as a module not a file.

Item 13 of 54
A WAR file in an enterprise application has been changed. How can a system administrator update it on the server with a minimal amount of work?
A. Re-package the EAR file using Application Server Toolkit then use the "Update -> Full application" function on the administrative console.
B. Use the "Update -> Single file" function of the Administrative console to replace the WAR file.
C. Use the "Update -> Single module" of the Administrative console to replace the WAR file.
D. Use the "Update -> Partial application" of the Administrative console to replace the WAR file.


please miquel clarify this part.
thanks
narahari

[ November 23, 2007: Message edited by: naraharirao mocherla ]
[ November 23, 2007: Message edited by: naraharirao mocherla ]
Hi Marc,

thanks for your reply.I really appreciate it.
I'll go through these links you have sent to get a good idea about JRas and Log Analyzer.
please can anyone let me know what does "JRAS" mean.This is under Section 7 -Problem Determination Applications Objective and also How do you install Log anlyzer tool ?
Hello Prashant.
Congrats.Good work.For how many days did you prepare for the exam?
Do we still have this offer from IBM?
If yes ,please do let me know where to look for it.

Which one do you suggest me to take either 252 or 253.


narahari
Hi ,


I'm trying to use the commons-logging in my application.But getting som error.can some body give me a good code where the log() method is used.
I've been struggling from the morning.but could not find a solution for this.


Thanks,
Narahari
18 years ago
Hi,
I'm getting these two errors.
1.
-------------------------------
java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
-------------------------------code:

2.
---------------------------------------------
package org.apache.commons.logging does not exist
import org.apache.commons.logging.Log;
-----------------------------------------------



I've downloaded commons-logging API and copied commoms-logging-1.1.jar to the Tomcat 5.0/common/lib.
But when compliling my .java file I'm getting this error that package org.apache.commons.logging.Log.does not exist.



thanks,
narahari
18 years ago
Hi friends,
I'm using log method in processPreprocess method of RequestProcessor.
I'm getting the error as I'm using the deprecated API.

Can Anyone suggest me what should I change to get my .java file compiled.where can I find which methods to use Instead of old deprecated methods.

I found this statement in the struts-documentation regarding the log method .


Use commons-logging instead. This(log method) will be removed in a release after Struts 1.2.

what is meant by commons-logging .



Thanks,

narahari
[ June 13, 2006: Message edited by: naraharirao mocherla ]
18 years ago
Hi Merrill,
Now my first struts example is working.As you said it was a clerical mistake.
Spelling mistake in index.jsp's title tag.


I'm very excited.
Thanks,
Narahari
18 years ago
Hi,

I also got the same problem.So when I removed controller and plug-in tags.it worked fine.
what is the reason???

thanks,
narahari
18 years ago
Hi Merrill,
here is my code of struts-config.xml


ch03.LookupForm.java


index.jsp


and one more question

In the book ,in web.xml file
in <taglib> tag
<taglib-uri> is given as /WEB-INF /struts-html.tld. whereas in the struts-examples'which I've installed the <taglib-uri> in the web.xml file is given as /tags/struts-html.So now I'm trying using uri "tags/struts-html" in my index.jsp.
I'm trying all sorts of things.


Thanks
Narahari
18 years ago
Hi Merrill,

Thank you very much for your reply.
I have done as you suggested .Removed name and type attributes from <html:form> tag.But now I'm getting these errors.



I'm trying to fix it.Any suggestions Merrill?Do you want me to install old version struts 1.1 As the book is based on 1.1.Please help me .

Thanks,
narahari

[ June 09, 2006: Message edited by: naraharirao mocherla ]
[ June 09, 2006: Message edited by: naraharirao mocherla ]
18 years ago
Hi friends ,
I'm also getting the same error.



Can anyone please help. I've followed all the steps exactly as described in the book.
I'm not getting the output I'm expecting.can anyone please help??

Thanks
Narahari
18 years ago
Hi Merrill and sun.
The code is working now.It got compiled.That was the classpath problem I think.I fixed it.But now I'm getting another error while running the application.

I have Index.jsp and quote.jsp as views.LookupForm and lookupAction classes and web.xml and struts-config.xml.I've copied struts-html.tld file from "lib" directory to my application's (wroxapp) WEB-INF directory.
My error is

index.jsp

web.xml


The error is with "taglib-uri" i think.The example is from wrox book
"Prfessional Jakarta Struts 1.1".
can anyone please help??

Thanks
Narahari
18 years ago
Hi everyone,

Can Anyone plase let me know what could be the problem for this question??

I'm also getting the same problem.I've included struts.jar in my classpath.


when I'm compiling LookupAction.java I'm getting the compilation errors .
1. cant resolve symbol LookupForm .
2.can't resolve symbol "symbol" which is an instance variable in LookupForm.java

thanks
Narahari
18 years ago
Hi Shivani
can you please give me Corey's link you mentioned(regarding GC diagrams).
Thanks in advance.

1.Is clone method() included in SCJP 1.4 ?