krish chandru

Ranch Hand
+ Follow
since Apr 27, 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 krish chandru

Thanks Bill Will have a try.
18 years ago
Dear All,
I am running Apache Tom cat 5.0.2. I am trying to deploy the application that contains, Classes and jsps. I copied all the classes to WEB-INF\classes. The Jsp fils are in the root of the web app. My web app is directly under the folder Webapps.

My folder structure
webapps\<MYAPP>\*.jsp
webapps\<MYAPP>\WEB-INF\classes\*.class
webapps\<MYAPP>\WEB-INF\web.xml

But I dont have any mapping to the controller servlet I have, as one of my friends told I dont have to have that entry in the web.xml as all the files are directly under webapps.

Now When I try to launch the page, I am getting the following error in catalina log. *I dont have clues abt this one*. Kindly throw some light.

Dec 10, 2004 5:56:42 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext
SEVERE: Exception initializing page context
java.lang.StackOverflowError

kaycee
18 years ago
Shankar,
I am tying out cade's book in india, not getting a copy of it ? Can you tell me where can I get that. If you are a native of chennai, let me know the book store to check out !
kaycee
19 years ago
A System with thousands of classes sounds really good.


I don't understand what you mean by "helper classes", though - can you please elaborate?


Definitely yes - We have few application specific numeric calculations, for which we use some specific set of formulae. We implement these though static methods. There are some fifteen of such classes with related methods. These are pretty straight forward classes not needing any instantiation.
I do understand after revisiting my architecture, that my architecture though performing well, doesn't leverage the need to accomodate more than one output device. After hearing the number of classes that you ppl use, I boldly step into breaking the system fewer classes more to accomodate this feature.
19 years ago
Ilja ,
Thanks for your comments.
I have around some 70 classes out of which nearly fifteen are helper classes. Is that numerous or not ?
kaycee
19 years ago
David,
Great help. Thanks.
The application is going smooth and no actual performance threat in my JVM. I would like to know if there is any suggestion regarding, how granular a class may be. Though the objects I use are finely granular, I think if I might have grouped couple of fine pieces of objects into one. Let me illustrate an example, say I have a class called book, Book has pages and cover.
So I decompose this to 3 objects. Instead, I might have had a class called book, which will contain predefined type of paper and predefined kind of cover.
I feel this approach would not be very much enhanceable. Also there will be lesser object instantiation. What is the trade off between these two.
I may be conceptually wrong or even missing some basics. Just curious to know things.
kaycee
19 years ago
All,
In my project there are numerous objects. Most of them are composition of 3-4 data fields with accessor methods for them and couple of action methods. I am worried as the number of these objects grow in size when i think of enhancing the reusability of the objects. I manage to have certain of them as static.
I am just worried if the number of object instantiation is in a way inversely propotional to the performance of the system. What is the concept behind this object instantiation and performance ?
Note:
I dont feel any performance degradation though !
Any help is greatly appreciated !
Thnaks
kaycee
19 years ago
All,
I am trying web application creation with tomcat.
My friend educated me that anyone in n/w can access my machine by http://<mymachine-name>/<app context>
I dont understand the concept behind aliasing.
How will a remote machine know that this alias is for my machine. As my knowledge goes a machine can be loacted only by the IP isn't it ? Who sits in the middle and do this conversion ? Is there any program running in the client to decipher aliases to IPs ?
Kindly enlighten
krish chandru
20 years ago
Oh..Great help indeed. Thanx Terry.
All,
I am from c++ background and considerably new to Java development. I have a very basic question in J2ee. I wrote a java application. I want to distribute my java application to my friend who doesn't have a java runtime running in his machine. I want to pack this application as a bundle (with install shield). I dont want him to install a JRE seperately. What all the things that i should supply with my application. I trust i dont need to supply JDK along with.
Kindly suggest.
Krish chandru
Hi
i want to write a servlet that just does initialisation work. It is not called by any other page, but it is directly invoked in the url and the application flows subsequently. i presume i should not write the initialisation code in doGet or doPost. am i right ? if yes how else can i do it ?
krish chandru
20 years ago
Thanx very much ! i want to use Log4j in my project for which i want to embed the logging activities inside the the taglibrary. Is this practice alright ? any suggestions regarding dos and donts ?
thanx and regards
Krish chandru
20 years ago
Hi,
I am new to Tomcat.Can i use taglibs in jsps that is hosted in tomcat ? if yes, Please let me know how i can use the taglibs. Any help is greatly appreciated !
thanx
Krish chandru
20 years ago
yes, that could have been a possible problem. but in my case that was quite different. i formatted and reinstalled the OS
well, just to ascertain check if the class path is properly set in the same order! verify if u have applied the fix packs properly. first try if ur snoop servlet works properly
both http://<local> host>/snoop and https://local host/snoop
20 years ago
all,
I am trying to install WCS 5.1 in NT. I have a fully qualified name and also installed the fixpacks. Thepost configuration steos were also done ! But when i open the admin console i get an error 500 stating "Servlet caught unhandled exception". i can send the wcs.log if some one has time to look into that !
I need this information urgently. any help is greatly appreciated!
Thanx in advance
kaycee
21 years ago