Sanjeev Shahi

Ranch Hand
+ Follow
since Feb 26, 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 Sanjeev Shahi

I am getting following error when I am trying to open JSP file. I've migrated all my application to new server which has latest TOMCAT, Java and APACHE. This JSP file works fine in earlier server but getting following error in new one
TYPE Exception report
message description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 2 in the jsp file: /XYZ2/process3.jsp
Generated servlet error:
[javac] Compiling 1 source file
/var/tomcat4/work/Standalone/localhost/abc/xyz2/process3_jsp.java:43: package abc.xyz2 does not exist

SS
21 years ago
Okay so it seems no one has worked with this. Surfing net I got following command to limit the Heap size
java -Xms<size>
set initial Java heap size. default:Xms32m
java -Xmx<size>
set maximum Java heap size. default:Xmx128m
So now my Questions are
1. how we can know what are current size before making these changes?
2. Where should I put these code. As lots of Applications are running on my machine?
Note: I am having this problem on Linux and Apache and TOMCAT is running on this machine.
thanks,
SS
21 years ago
Okay so it seems no one has worked with this. Surfing net I got following command to limit the Heap size
java -Xms<size>
set initial Java heap size. default:Xms32m
java -Xmx<size>
set maximum Java heap size. default:Xmx128m
So now my Questions are
1. how we can know what are current size before making these changes?
2. Where should I put these code. As lots of Applications are running on my machine?

thanks,
SS
21 years ago
I am getting following error in catalina.out
Action Taken - None Specified
java.lang.OutOfMemoryError
Could anyone suggest what I should do to stop this error.
I am using Linux.
thanks
SS
21 years ago
I am getting following error in catalina.out
Action Taken - None Specified
java.lang.OutOfMemoryError

Could anyone suggest what I should do to stop this error.
I am using Linux.
thanks
SS
21 years ago
Robert,
Congrats and thanks for your advice. Qustion
Book 2 metioned in following site
http://groups.yahoo.com/group/scea_j2ee/files/arch.htm
Book 2: Designing Enterprise Applications with the Java2 Platform, Enterprise Edition (Sun Microsystems Press). This book is a fairly easy read, and is the SUN BIBLE on architecturing J2EE applications. I would call you A FOOL if your submission did not follow the basic approaches detailed in the book (even if you don't agree with them.) The way I look at it, there is NO WAY Sun can fail your submission when you base it heavily on there own architecture book.

Is it free downloadable from internet If yes could you please send me an url for that.
thanks for your help.
Shivani
Can anyone tell me what java -mx option means like java -cp means classpath.
I've something like this
java -mx 200,00000 xyz.
thanks,
SS
21 years ago
That's true learning never hurt.
SS
Thanks Ajay for your reply. Right now I am reading Object Oriented Analysis and Design by Grady Booch. Is this going to help me in doing Part 2 Project? Right now I've not downloaded the project.
thanks,
SS
Does anyone knows a way to obtain the hex value of characters read in from a file?
thanks,
SS
21 years ago
I had given my architect Part 1 exm more than an year. Can I still go for Part 2 ? As I had given part 1 on EJB1.1.
thanks,
SS
bala/Madan
Thanks for your help. BTW since which version tomcat has manager application? still I don't know how to check version on unix as don't se release-notes.txt
thanks
21 years ago
This is because I am working on two machine. I just installed 1.4.0_01 and another computer it was allready installed(UNIX machine). But on unix machine I don't see any release-notes.txt file.
thanks
SS
21 years ago
I want to see tomcat version. How I can do that? When I start tomcat it says starting tomcat4. It was installed by someone else. I want to see that as manager App works only for 4.1.x.
thanks
SS
21 years ago