Solved

Errors accessing WebSphere application migrated from Windows to Linux.

Posted on 2009-03-30
3
400 Views
Last Modified: 2012-05-06
We have decided to move our WebSphere servers to a Linux platform for many reason.  We a currently running on Windows 2003 R2. The new server have been installed on CentOS 5.2, with WAS 6.1 and the latest updates (23). I exported one of my working config from the Windows WAS server and installed it as a new application on my new Linux WAS server.  The install went and the application starts.  However, I am unable to access it and only get HTTP 500 screens.  Below is a copy of the server SystemErr.log. These are logged each time the ported application is started.

3/30/09 16:19:40:983 CDT] 00000020 SystemErr     R java.lang.NullPointerException
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.security.FCSecretKeyFactory.initKeyStore(FCSecretKeyFactory.java:146)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.security.FCSecretKeyFactory.getKey(FCSecretKeyFactory.java:60)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.security.Encrypter.cipherInit(Encrypter.java:54)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.security.Encrypter.<init>(Encrypter.java:45)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.FCConfigTranslator.processKeystore(FCConfigTranslator.java:198)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.FCConfigTranslator.toDistributableVersion(FCConfigTranslator.java:78)
[3/30/09 16:19:40:984 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.JAXBConfigurationLoader.translateToDistributableVersion(JAXBConfigurationLoader.java:244)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.JAXBConfigurationLoader.loadConfiguration(JAXBConfigurationLoader.java:145)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.FCConfigurationFactory.getConfiguration(FCConfigurationFactory.java:119)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.FCConfigurationFactory.initialize(FCConfigurationFactory.java:324)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.fc.ui.faces.el.propertyloader.CommonPropertyLoader.load(CommonPropertyLoader.java:41)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.fc.ui.faces.el.propertyloader.AbstractPropertyLoader.contextInitialized(AbstractPropertyLoader.java:34)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
[3/30/09 16:19:40:985 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:355)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:671)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:624)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
[3/30/09 16:19:40:986 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2124)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
[3/30/09 16:19:40:987 CDT] 00000020 SystemErr     R       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[3/30/09 16:19:40:988 CDT] 00000020 SystemErr     R com.fc.common.configuration.FCConfigurationException: Configuration translation error. caused by class java.security.KeyStoreException:null
[3/30/09 16:19:40:988 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.FCConfigTranslator.toDistributableVersion(FCConfigTranslator.java:103)
[3/30/09 16:19:40:988 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.JAXBConfigurationLoader.translateToDistributableVersion(JAXBConfigurationLoader.java:244)
[3/30/09 16:19:40:988 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.jaxb.JAXBConfigurationLoader.loadConfiguration(JAXBConfigurationLoader.java:145)
[3/30/09 16:19:40:988 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.FCConfigurationFactory.getConfiguration(FCConfigurationFactory.java:119)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.fc.common.configuration.FCConfigurationFactory.initialize(FCConfigurationFactory.java:324)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.fc.ui.faces.el.propertyloader.CommonPropertyLoader.load(CommonPropertyLoader.java:41)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.fc.ui.faces.el.propertyloader.AbstractPropertyLoader.contextInitialized(AbstractPropertyLoader.java:34)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:355)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
[3/30/09 16:19:40:989 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:671)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:624)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
[3/30/09 16:19:40:990 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2124)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
[3/30/09 16:19:40:991 CDT] 00000020 SystemErr     R       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
0
Comment
Question by:WH_Tech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
ai_ja_nai earned 500 total points
ID: 24127059
It's a stack trace. You miss the property file.
The property file is not found, but this won't prevent the application to start. Now, since Java won't allow running a program with ambiguous initialization of a variable, the variable is initialized by the programmer with a null pointer and then it's assigned a value read from the property file. But in this case the variable remains at null and this causes a runtime exception raising when that variable is read and found to be pointing at null..

Migrate better your app
0
 

Author Comment

by:WH_Tech
ID: 24927611
Found the issue to be related to the certificate keystore shared between the Websphere server and the IHS server.
0
 

Author Closing Comment

by:WH_Tech
ID: 31564561
Got me looking in another direction.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question