You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Subramaniam Kumar <su...@yahoo.com> on 2003/06/10 03:21:59 UTC
Migration to Tomcat from Weblogic 5.1
Can someone point to 'migration steps' to migrate from Weblogic 5.1 to Tomcat 4.1.24.
I would like to gather all the migration details which will help the application developers. Even if the document doesn't exits , I think it will be useful for the Tomcat user community.
I greatly appreciate if folks could share their knowledge/experience.
---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
Re: Migration to Tomcat from Weblogic 5.1
Posted by Tim Funk <fu...@joedog.org>.
Are your pages all under webapps? Meaning are you using WEB-INF/web.xml to
perform many configuration tasks or are you extensivley using
weblogic.properties?
Another issue you'll encounter is weblogic is a support v2.2 of the
spec(iirc). Tomcat 4 supports v 2.3 (But is backwards compatible with 2.2 for
the most part)
Do you have any jsp pages which rely on java.util.*? If so - did you declare
the imports? Weblogic's jspc does automatically imports java.util.* in jsp
pages. (This one was very painful if not for perl)
If your server is one gigantic webapp with no web.xml - here is what you
might need to do (not comprehensive):
- create a webapp (as defined by the spec)
- Move servlet declarations from weblogic.properties to web.xml
- Copy myserver/classes (?) to mywebapp/WEB-INF/classes (can't recall)
- Copy myserver/jspfiles to mywebapp/ (or appropriate)
- Copy jars (as needed) to mywebapp/WEB-INF/lib
- in tomcat's webapps dir, create an xml file (any name) with these contents:
<Context path="" docBase="/usr/local/data/myrootapp"
debug="0" privileged="false">
- see dbcp docs for database config
- take is slowly and one step at a time
The most important thing to do in understand what a webapp is and break your
site apart into multiple webapps instead of one monolithic beast.
-Tim
Subramaniam Kumar wrote:
> Can someone point to 'migration steps' to migrate from Weblogic 5.1 to Tomcat 4.1.24.
>
> I would like to gather all the migration details which will help the application developers. Even if the document doesn't exits , I think it will be useful for the Tomcat user community.
>
> I greatly appreciate if folks could share their knowledge/experience.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Migration to Tomcat from Weblogic 5.1
Posted by Yoav Shapira <yo...@yahoo.com>.
Howdy,
If your web application is coded and deployd according to the servlet
specification, you should just be able to drop it into tomcat without changes.
The more Weblogic-specific stuff you have, the more painful your migration will
be. For example, all com.bea or com.weblogic classes you use will need to be
removed and the classes using them rewritten. If your web.xml has non-standard
elements or elements in a non-standard order, you will need to correct that.
If you rely on an invoker servlet, i.e. you have URLs like
/servlet/com.yourcompany.yourservlet in your webapp, you will need to either
comment in tomcat's invoker servlet or map your servlets in your web.xml file.
Other than that, give it a shot and let us know if you run into any problems...
Yoav Shapira
--- Subramaniam Kumar <su...@yahoo.com> wrote:
> Can someone point to 'migration steps' to migrate from Weblogic 5.1 to Tomcat
> 4.1.24.
>
> I would like to gather all the migration details which will help the
> application developers. Even if the document doesn't exits , I think it will
> be useful for the Tomcat user community.
>
> I greatly appreciate if folks could share their knowledge/experience.
>
>
> ---------------------------------
> Do you Yahoo!?
> Free online calendar with sync to Outlook(TM).
=====
Yoav Shapira
yoavs@computer.org
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org