Meet the experts: Wayne Beaton WebSphere Application Server migration

Source: Internet
Author: User
Tags db2 client db2 driver ldap jboss websphere application server ibm support



Content


Related information
About the author
Rate this article

Wayne Beaton Wbeaton@ca.ibm.com)
Software developer, IBM software services for WebSphere
3 March 2004

This question and answer article features Wayne Beaton, WebSphere migration expert, who answers top questions about migrating to WebSphere Application Server 5.0 or 5.1 from previous versions and from competitive products like BEA WebLogic Server, iPlanet server, tomcat, and JBoss.

IBM? WebSphere? Application Server is a Java-based Web application server, built on open standards, that helps you deploy and manage applications ranging from simple web sites to powerful e-business solutions. IBM WebSphere Studio Application Developer is an integrated development environment for building, testing, and deploying J2EE and web services applications. for more information, see developerworks WebSphere Application Server zone and developerworks WebSphere Studio zone.

Question:Why we shoshould go for IBM WebSphere, and how is it more efficient compared to Oracle? 9i AS, WebLogic ?, Or iPlanet ??

Answer:This is a hard question for me to answer objectively for obvious reasons. I think you shoshould go for IBM WebSphere because it is a good solid product backed by a good solid company that is going to be around for ever. the second part of your question is even harder to answer. I assume by your use of the word "efficient", you are concerned with performance. if you want actual performance numbers, then I recommend that you use your favorite internet search engine to find benchmark results. you will find that all of them show that WebSphere Application Server performs pretty well compared to the competitors you have listed. I will caution you, however, to be careful not to make your demo-entirely based on performance. there are pending reasons to select a special application server, including performance, robustness, scalability, longevity, and faith in the vendor.

Your best bet is to go to an independent research organization, like Gartner, and pay for one of their studies that compares the various application servers. look for an unbiased organization that is not sored by the vendors you are considering. you might also consider surveying some of the Usenet news groups (news.software.ibm.com) for the varous products to see issues people are having with the products and how they are being resolved.

If you are concerned about performance, I recommend the following links:

  • WebSphere Application Server Performance Web Site
  • Meet the experts: Ruth Willenborg on WebSphere Performance

Question:Is there any white paper or Redbook available which talks about step by step migration from competitors products to WebSphere Application Server 5.x

Answer:Take a look at the following redbooks or redpapers:

  • Migrating to WebSphere V5.0 an end-to-end Migration Guide
  • Migrating WebLogic applications to WebSphere advanced edition v4
  • Migrating WebLogic applications to WebSphere V5

The first Redbook provides a lot of insight into the migration process. it is written with migration from previous versions of Websphere Application Server in mind, but most of the concepts presented are independent of the product you are migrating from. the other resources discuss migration from Bea? WebLogic? Server specifically, but beyond of the concepts also apply to other platforms. the developerworks web site has articles that discuss specific migration activities, including migration of J2EE resources and competitor's proprietary APIs to WebSphere Application Server. if you do not find an article that discusses exactly what you're re trying to do, you'll likely find something that's close.

Unfortunately, the real answer is that there is no single step-by-step migration plan that works for everyone. the steps that you take when migrating from a competitor's product depends on the kinds of things that you are doing with the competitor's product. however, in broad terms, the most successful migration tends to involve the following activities:

  • Assessment of the existing environment to understand the participating migration challenges to develop a plan and estimate for the migration to WebSphere Application Server 5. X.
  • Training for the development staff on the use of WebSphere Studio Application Developer, WebSphere Application Server, and (if necessary) Java 2 Enterprise Edition (J2EE ).
  • Training for the operations staff to install, configure, and maintain WebSphere Application Server; design, installation, and configuration of a new development environment, possibly including a new integrated development environment (IDE ), migration of existing development test environments, and modification of existing source code hierarchies, build scripts, and deployment practices.
  • Developing, testing, and implementing a "rolling" migration plan for the pre-production and production environments (a rolling migration keeps the system active and responsive while it is being migrated ).

IBM software services for WebSphere offers services to help you with your migration. For more information, see their Web site.

Question:I wowould like to know how to deselect the checkbox that force wsad 5.1 to start always on the same workspace. how can I go about to use different workspace if I select the checkbox to use the same workspace every time wasd 5.1 is loaded?

Answer:Open up a command prompt and navigate to the WebSphere Studio installation directory. Execute the startup command for WebSphere Studio (wsappdev.exe) with-setworkspaceOption.

For more information on this and additional configuration options for WebSphere Studio, open the help system by selectingHelp-> help ContentsFrom the menu bar, and navigateGetting started-> workbench Basics.

Question:When I start my server1 (Default Server), I am getting the error message: "exception caught during transaction service recovery! Javax. transaction. systemexception: Java. Io. ioexception: inconsistent transaction and XA resource recovery logs. "What cocould be the reason?

Answer:In general, these issues shoshould be worked through the support system. however, what probably happened is that WebSphere Application Server was killed in the middle of one or more transactions. now that the application server is restarting, it is trying to recover those transactions. the short term answer is to delete or renametranlog*Files in the tranlog directory. This makes WebSphere Application Server stop trying to recover the transactions.

A fix has been created for this issue on WebSphere Application Server 5.1. Please see cumulative Fix Pack 1, or individual fix.

Question:I 've been working a lot with was 3.5 and it was not a big deal to rename machine with that. now with was 5.0, I'm wondering if there is a good way or script to rename nodename (not just IP ). some people suggest recursively substitute string in<WAS_HOME>/config, But I'm not sure if that is the official supported way? I try to avoid reinstalling was and applications.

Answer:Sorry, changing the host name, node name, or server name after they are created is not supported for WebSphere Application Server 5.0.

Question:I get the following error message whenever login to LMS as a user listed in the LDAP (ActiveDirectory, IIS, win 2 k SP4, Oracle 9i, was 5.1 trial ).(Submitted by Joe)

Learning Management System Application Error 2004-02-12 11:48:17 com.lotus.elearn.user.UserSystemBusinessException: LS_USR2008: Unable to find authenticated user due to LdapExceptionLS_USR2008

Answer:I did a little research and discovered that a very similar problem is currently being worked through our support system. unfortunately, it does not appear to be resolved at this point so I don't have an answer for you. your best bet is to register a PMR (problem management record) through your IBM support channel.

Question:In WebSphere 3.5, we used the classcom.ibm.jndi.LDAPCtxFactoryTo find names in our ibm ldap server. When we moved to WebSphere express 5.0.2, this class was no longer available. What shocould we be using that has the same functionality?

Answer:Trycom.sun.jndi.ldap.LdapCtxFactory.

Question:We're re porting an app over from JBoss, And I have noticed that was is a lot stricter in adhering to J2EE standards. that's not a bad thing, but the problem I'm having is how to configure was to tell my app to use my custom JAAS login module. in JBoss, it was as simple as altering Two XML files, one to turn on security and one to point just our app to our custom module. we need to be able to run two or more apps in WebSphere each with their own JAAS module, as roles are also set with this.(Submitted by David)

Answer:I have to admit that I'm no expert on JAAS. to be honest, most of the organizations that I work with on migration tend to have built their own custom security frameworks (of the applications that we migrate are quite old and predate Java 2 and J2EE Security ). as part of a later development stag, after the migration has completed, I recommend that these organizations consider adopting the provided security infrastructure.

My colleague, saravana CHANDRAN, pointed me to the relevant page in the WebSphere Application Server 5.1 infocenter, login ing Java authentication and authorization service login.

Question:I have WebSphere Application Server 4.0 in horizontal cluster sharing a single admin repository dB. But it gives a very frequent deadlocks in the repository dB. How to solve this problem?

Answer:Your best bet is to upgrade to WebSphere Application Server 5.1. starting with version 5.0, the administration database is now gone and is replaced by XML file-based configuration. you shoshould start thinking about migration soon anyway as the end of service date for WebSphere Application Server 4.0 is quickly approaching (September 2004 ). alternatively, this sounds like a bug that you probably shocould work through the support system.

Question:We have developed our application in wsad 4.0.3 and deployment in was 4.0.7 was successful. now as our client wants to migrate to was 5, we have exported our EJB project from wsad 4.0.3 and imported into wsad 5.0. when we try to deploy the EJB project, we get deployment Errors for CMPs, but our session beans deployment was successful.

Answer:You shoshould be able to run the J2EE 1.2 application on WebSphere Application Server 5.1 without modification. the one recommendation that I 've heard is that you shoshould recompile your code on JDK 1.4.1; besides that, everything else shoshould just work. i'm assuming that you 've ve used the J2EE migration Wizard to migrate your CMP Entity beans. the J2EE migration wizard upgrades your entity beans to EJB 2.0, but it can only do part of the conversion. it cannot, for example, migrate select statements for your EJB 1.1 finder queries into EJB-QL. also, the wizard does a good job on the beans themselves, but does not update any client code.

Without more specific information about what you 've done and what errors you're using ing, it's difficult to provide a specific answer. I recommend posting a more complete description of what you 've got and the errors you 've got ed toibm.software.websphere.application-server.v5 newsgroupOnnews:news.software.ibm.comAnd I'll try to answer it there.

Question:I got the following exception on one of the computers when I started the Web server from wsad and tried to connect to DB2 server. the datasource implementation class "com. IBM. db2.jdbc. db2connectionpooldatasource "cocould not be found. I did configure DB2 client access and data source for wsad. I also did a reinstall of 5.0 and 5.1 version of wsad and got the same exception. however, I did not get this exception on other computers.

Answer:Did you tell the WebSphere Application Server unit test environment how to find DB2? You need to open the configuration for your test application server instance and switch toVariablesPage. FindDefined variables(By default, WebSphere Studio will show youNode settings, Which is fine for testing purposes) section and provide a value forDB2_JDBC_DRIVER_PATHVariable. This value shocould point todb2java.zipFile installed by db2.

If you look at the data source settings, you'll see that the DB2 driver uses this variable in its classpath. if you don't provide a value for this variable, WebSphere Application Server won't be able to actually find DB2 (the drivers are not supported ded with WebSphere Application Server ).

With some versions of DB2, You Have To explicitly put it into "jdbc2" mode. The DB2 documentation can help you. Try searching for "usejdbc2 ".

Question:I have downloaded WebSphere Application Server 6.0, and installed it on my PC. I have a J2EE application, with EJB and Web components. it runs fine on was 5.0, but when I deployed the same application on was 6.0, I getjava.net.MalformedURLException. What am I missing? Is there any security issue?(Submitted by Ali S)

Answer:Sorry, it's not possible to answer this question without more information. A stack trace, for example, wocould help to narrow down exactly where the error is occuring.

Related information

  • Migrating WebLogic startup code to WebSphere Application Server V5
  • Application migration perform guide-migrating to WebSphere Application Server for 5.0.2 for Z/OS

About meet the experts
Meet the experts is a monthly feature on the developerworks WebSphere web site. we give you access to the best minds in IBM WebSphere, product experts and executives, who are waiting to answer your questions. you submit the questions, and we post answers to the most popular questions.

About the author
Wayne Beaton is the global competency leader for Migration for IBM software services for WebSphere. He helps some of IBM's largest MERs migrate their applications.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.