This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!

vithal kambhammettu

Greenhorn
+ Follow
since Jul 18, 2001
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 vithal kambhammettu

Hi
Post the error log which will be in the directory <WAS-HOME>/logs/defaultserverstdout.log
Maybe we can help if we see whats happening :-)

all the best
Vithal Kambhammettu
IBM Certified Websphere Specialist (v3.5 & v4.0)
18 years ago
Hi
I want to host multiple versions of the same application on one Node which has WAS 3.5.4, Now I know how to do this by using multiple application servers tied to multiple Virtualhosts , but as our application is kind of a memory hog with close to 200 EJB's and about 500 JSP's this is clearly not working out....
The minute i have more than 10 users hitting each application server the response times are getting very poor..
Is there a way that i can use multiple containers in the same application server and tie them to different virtual hosts and make the thing work ....
Actually i have been posting this question to many sites for the last couple of weeks ... but not with much luck ...
May be here some one can answer me .... Kylie ... Rahul .. anybody :-)
thanks for your input
Vithal Kambhammettu
IBM Certified Websphere Specialist
Sun Certified Java Programmer
18 years ago
Hi everybody
My problem definition is something like this :

I have an application with about 150 ejb's running in a container and a webapplication that uses servelts and jsps. the database is DB2 , App server is Websphere 3.5.4, and OS is Linux ......

Also my server has 1 gig RAM and the first application server instance itself hogs about 700MB of that

Now lets say if i want to run the same application ( kinda like an ASP model ) for another client , but the database is not to be shared at any cost.

I guess i have 2 possibile ways of doing this

1) create another application server identical to the first one and make the container in it to point to another database instance and have all my ejbs deployed in this container and have a web application with all my servlets and jsp's and run this web app against this new container.... but the issue here is that my server is kind of choking .. and i dont think the server will take too kindly to have another instance of an application server ...

so the second option would be to
2) create another container in the same application server deploy all my ejbs in there , create another webapplication in the same servelt engine which has the same servelets and jsps and make it point to this new container .... although theoratically this sounds simple and easy , i am facing some problems with actually getting it to run... as the 2nd virtual-host is refusing to kick off .....


Can you share some of your thoughts , how you overcame this kind of a problem and some potential traps that you would like to warn me about .. before going into this ..........


Thanks & Regards

Vithal Kambhammettu
IBM Certified Websphere Specialist
18 years ago

WELL SAID , CLAP CLAP CLAP CLAP
I agree whole heartedly
18 years ago
Hi
this is curious !!
What websphere does is that when the Admin server stops ( for restarting or what ever ) if the default server (or any other app server process as a matter of fact ) it starts that app server process after restart. On the other hand if the default server is stopped before the admin server stops, when the admin server restarts it will not start this default server process.
what it means is the admin server preserves the state and recovers it when it restarts
atleast thats what its supposed to do. so why dont you check to see if your default server is stopping before the admin server stops ?
i suspect thats where the solution lies
bye
18 years ago
hi
i passed the test 406 2 weeks back, its not very tough if you have already worked with websphere before. thats encouragement
to answer your questions now,
1) the answer your prometric rep has given is basically right, you have 55 questions and 75 min time(roughly) and you need 50% to pass so that makes about 28 or lets say 30 questions to pass.
2) well ibm does say that you need to get 50% to pass
3) you can go to 2test.com and register, thats what i did and i had no problem what so ever
4) the 2 books you have are the ones that are prescribed for that test, you need to go through both of them. other than that go through the infocenter, thats one of the good references.
now after that there is the practice test on the ibm site, take that test many times about a week before the exam that should give you a basic idea of how the test goes.
get the servlet API thoroughly, there are quite a few misleading questions that you can answer only if you have that API at your finger tips.
and finally all the best, all said and done its not a very difficult nut to crack. you can do it
bye
vithal
18 years ago
changing session time out is done in the session manager which is at the servlet engine level. you can change all these settings from the admin. client
the default is 30 min you can change to what ever value you like if resources are not an issue as you seem to think for your application.
18 years ago
hey dee
Assuming that you are running Websphere v3.5, the solution to this problem would be this.
Basically you need to have these things in your application
* An errorReporter Servlet - which you can add to your webapplication, by selecting Internal servlets,
* Your webapplication webpath mapped to this servlet
* A default error page
Once you have these things in place and an unexpected error occurs in your application, then websphere will create a java bean of type error or something like that, then gives it a request scope and redirects (dispatches) it to your default error page
In the default error page you can handle the error more gracefully with javabean.toString() type of methods and present the error more gracefully

I hope that helps your situation
vithal
18 years ago
thanks guys
well, i was thinking about going in the direction of Websphere Administration ( Test 409 )
Actually the thing is that i am out of job since 3 weeks and nothings happening on that front, so i thought i could take this test, you know to keep my mind off the vexed issue of job. :-)
Anyway, it turns out that there are'nt that many jobs coming my way, think of this 5+ yrs experience, close to 2 yrs of that on Websphere , still no offers.
well anyway the adminsitrator jobs are plenty, i believe , so i thought i could do that, i mean other than clustering i pretty much know almost every thing that is there about websphere. so if i work on that slightly more, may be i should be able to crack ice ...
Any ideas or advise is highly appreciated
thanks a lot
18 years ago
hi guys
Just took the IBM Certified Websphere Specialist v3.5 Std. Edition test, and passed it.
Now i got a paper with my passing score. What do i have to do to get a certificate from IBM, do i have to register this info in any website or something like that.
Any help from who are already certified is greatly appreciated.
regards
Vithal
18 years ago
can you be a little more specific about what your servlet intended to do and the trace that was produced, so that it might be little easier to get to the root of the problem

18 years ago
While in the service() method of a servlet, a secondary thread is spawned to write a long, I/O intensive, log file . If the service() method ends before the secondary thread what would happen now ???
1) The secondary thread ends when the service() method ends
2) The log file is closed when the service() method ends.
3) The service() method will wait until the secondary thread completes executing
4) The service() method ends but the secondary thread continues until it finishes
regards
18 years ago
If i want to support multiple simultaneous sessions from multiple browser windows (same browser) how would i be distinguishing between the logically separate user sessions?
I mean what are the ways of handling this.
Eg: http sessions, URL rewriting, hidden tags, i know cookies dont work ? are there any better ways here agian

thanks
18 years ago
Hi guys
when writing an application, which periodically checks a database table to see if other applications have placed any work requests there, The requests are stored in a single column and each contains several items of information separated by a comma. Each item in the comma separated String represents a value for a field of a Request object. Once a request is retrieved from the database, which one of the following is the BEST place to put the logic that parses the request data?
1) In the Request class constructor
2) In the getters for each property of the Request object
3) In the data access layer of the application

what the best solution for this would be? and more important why?
thanks a lot
18 years ago
While in the service() method of a servlet, a secondary thread is spawned to write a long, I/O intensive, log file . If the service() method ends before the secondary thread what would happen now ???
1) The secondary thread ends when the service() method ends
2) The log file is closed when the service() method ends.
3) The service() method will wait until the secondary thread completes executing
4) The service() method ends but the secondary thread continues until it finishes
regards
18 years ago