1 Reply Latest reply on Jun 30, 2008 6:53 PM by 666705

    Difficulty deploying an EAR file to WebLogic 10.0

    666705
      Hello, I've been having severe difficulty trying to deploy a particular EAR file into WebLogic, using either the Weblogic's wldeploy Ant task or doing a manual upload of the EAR using the Weblogic Console. Looking at the error stack below, for some reason there may be a keystore reading problem, but I'm not certain why keystores are important here while deploying an application. I'm also puzzled because when I start WebLogic, the server output claims it read the wlidentity.jks keystore without a problem:

      <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090171> <Loading the iden
      tity certificate and private key stored under the alias weblogic from the JKS ke
      ystore file C:\myprograms\bea\user_projects\domains\business_domain\wlidentity.j
      ks.>
      <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted
      certificates from the JKS keystore file C:\myprograms\bea\user_projects\domain
      s\business_domain\wltrust.jks.>

      Here is the error message I keep getting:

      <Jun 27, 2008 6:35:18 PM EDT> <Error> <Security> <BEA-090133> <Could not load a
      JKS keystore from the file C:\myprograms\bea\user_projects\domains\tomcat_doma
      in\wlidentity.jks. Exception: java.io.IOException: Keystore was tampered with, o
      r password was incorrect>
      <Jun 27, 2008 6:35:18 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listen
      er weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEES
      ervletEndpointException: Failed to prepare wsse module: alsb/samlrecipient/Consu
      merR.war.
      weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module
      : alsb/samlrecipient/ConsumerR.war
      at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
      loyListener.java:32)
      at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
      (EventsManager.java:480)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
      entsManager.java:149)
      Truncated. see log file for complete stacktrace
      weblogic.wsee.ws.WsException
      at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:129)
      at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
      loyListener.java:29)
      at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
      (EventsManager.java:480)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
      dSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      Truncated. see log file for complete stacktrace
      java.lang.NullPointerException
      at weblogic.wsee.security.bst.ServerBSTCredentialProvider.getX509Credent
      ial(ServerBSTCredentialProvider.java:168)
      at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
      FromContext(ServerBSTCredentialProvider.java:149)
      at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
      s(ServerBSTCredentialProvider.java:99)
      at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
      iguration(WssConfiguration.java:327)
      at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
      ration.java:119)
      Truncated. see log file for complete stacktrace
      >

      Anyone see this before--know what the solution to it might be? The java.lang.NullPointerException above at ServerBSTCredentialProvider.java:168 might point quickly to the problem, so if any Weblogic team members can clue me in on what the problem is there, that would be great.

      Thanks,
      Glen