Dhruva Srivastava

Greenhorn
+ Follow
since Jun 07, 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 Dhruva Srivastava

Hi all,

I have a J2ee based web application (this is a very simple application including JSP 1.2 and Servlets 2.3 and no EJB's). This application is working fine on websphere 5.1 which is installed on my college computer lab.
I want to deploy the same application on my local machine using Eclipse and Tomcat for learning purpose, because my PC is having very less memory i.e., 128 mb and minimum recommended memory for websphere is 512mb.
So please tell me that what kind of problem I may face and how to tackle these problems. I searched on google ,everywhere i found tips for migrating from tomcat to websphere but nowhere I found tips for migration from websphere to tomcat.
Please help me out with this problem

Thanks
Dhruva
17 years ago
Hi all,

If any of you have used xplanner you might be knowing that it works well on Tomcat(version 4.1 and above). I downloaded war file of xplanner and successfully deployed it on Tomcat 4.1.
Then I tried to deploy same war file on Websphere Application Server 5.1, but it was throwing some deploy time exceptions, I figured out the problem, web.xml has a entry of "servlet-mapping" element without having any corresponding "servlet" element i.e,:- it has the following servlet-element:-

"servlet-mapping"
"servlet-name" jsp "servlet-name"
"url-pattern" *.jspf "/url-pattern"
"servlet-mapping"

without any corresponding "servlet element"

I removed this element from web.xml and renamed all *.jspf files(there were only two) to *.jsp. After that xplanner was deployed on WAS 5.1 but some of its pages started to show JSP Processing Error. [banghead]

But in case of Tomcat i made no changes in war file and then also it was working without any error

Can anyone help me with the above problem?

Regards all
Dhruva
18 years ago
Hi all,

If any of you have used xplanner you might be knowing that it works well on Tomcat(version 4.1 and above). I downloaded war file of xplanner and successfully deployed it on Tomcat 4.1.
Then I tried to deploy same war file on Websphere Application Server 5.1, but it was throwing some deploy time exceptions, I figured out the problem, web.xml has a entry of "servlet-mapping" element without having any corresponding "servlet" element i.e,:- it has the following servlet-element:-

"servlet-mapping"
"servlet-name" jsp "servlet-name"
"url-pattern" *.jspf "/url-pattern"
"servlet-mapping"

without any corresponding "servlet element"

I removed this element from web.xml and renamed all *.jspf files(there were only two) to *.jsp. After that xplanner was deployed on WAS 5.1 but some of its pages started to show JSP Processing Error. [banghead]

But in case of Tomcat i made no changes in war file and then also it was working without any error

Can anyone help me with the above problem?

Regards all
Dhruva
18 years ago
JSP
Hi all,

If any of you have used xplanner you might be knowing that it works well on Tomcat(version 4.1 and above). I downloaded war file of xplanner and successfully deployed it on Tomcat 4.1.
Then I tried to deploy same war file on Websphere Application Server 5.1, but it was throwing some deploy time exceptions, I figured out the problem, web.xml has a entry of "servlet-mapping" element without having any corresponding "servlet" element i.e,:- it has the following servlet-element:-

"servlet-mapping"
"servlet-name" jsp "servlet-name"
"url-pattern" *.jspf "/url-pattern"
"servlet-mapping"

without any corresponding "servlet element"

I removed this element from web.xml and renamed all *.jspf files(there were only two) to *.jsp. After that xplanner was deployed on WAS 5.1 but some of its pages started to show JSP Processing Error.

But in case of Tomcat i made no changes in war file and then also it was working without any error

Can anyone help me with the above problem?

Regards all
Dhruva
18 years ago