| dhirenjoshi 2005-07-25, 3:27 pm |
| I was not able to connect the URL connections so I tried what the WAS5.0 suggested..
http://www-1.ibm.com/servers/eserve...2.html#Security
Security
If your application uses the java.net.URLConnection class it may throw java.lang.NullPointerException with com/ibm/ws/orbimpl/transport/protocol/https/HttpsURLConnection.connect() contained in the exception stack. The solution is to remove the URL provider (Samples URL Provider - https) from your WebSphere configuration. From qshell, execute the following wsadmin command, replacing <instance_name> with your instance name, and restart the application server.
/QIBM/ProdData/WebASE/ASE5/bin/wsadmin -instance <instance_name> -conntype NONE -c '$AdminConfig remove [$AdminConfig getid /URLProvider:Samples\ URL\ Provider\ -\ https/]'
>>
After running this command I am not able to install my WAR file.
Can some one give me the undo command for this ..
APIN0003E: Cannot install the selected WAR file.
com.ibm.portal.WpsException: APIN0003E: Cannot install the selected WAR file. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;)V+3 (WpsException.java:78) com/ibm/wps/portlets/install/InstallPortlet.doInstall(Lorg/apache/jetspeed/portlet/PortletRequest;Lorg/apache/jetspeed/portlet/PortletSession;)V+410 (InstallPortlet.java:580) com/ibm/wps/portlets/install/InstallPortlet.actionPerformed(Lorg/apache/jetspeed/portlet/event/ActionEvent;)V+212 (InstallPortlet.java:292) com/ibm/wps/pe/pc/legacy/SPIPortletInterceptorImpl.handleEvents(Ljavax/servlet/http/HttpServlet;Ljavax/servlet/http/HttpServletRequest;)V+530 (SPIPortletInterceptorImpl.java:438) org/apache/jetspeed/portlet/Portlet._dispatch(Lcom/ibm/wps/pe/pc/legacy/cmpf/impl/PortletFilterManager$Context;)V+684 (Portlet.java:794) org/apache/jetspeed/portlet/Portlet.access$100(Lorg/apache/jetspeed/portlet/Portlet;Lcom/ibm/wps/pe/pc/legacy/cmpf/impl/PortletFilterManager$Context;)V+2 (Portlet.java:88)
PECM0015E: Portlet application manager failed when user CN=wpsadmin executed command InstallPortletApplication.
com.ibm.wps.command.CommandFailedException: PECM0015E: Portlet application manager failed when user CN=wpsadmin executed command InstallPortletApplication. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+3 (WpsException.java:113) com/ibm/wps/command/CommandException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (CommandException.java:128) com/ibm/wps/command/CommandFailedException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (CommandFailedException.java:178) com/ibm/wps/command/applications/AbstractApplicationsCommand.throwPortletAppMgrException(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+899 (AbstractApplicationsCommand.java:486) com/ibm/wps/command/applications/InstallPortletApplicationCommand.execute()V+294 (InstallPortletApplicationCommand.java:185) com/ibm/wps/portlets/install/InstallPortlet.doInstall(Lorg/apache/jetspeed/portlet/PortletRequest;Lorg/apache/jetspeed/portlet/PortletSession;)V+137 (InstallPortlet.java:523)
PEMG0013E: Installation of Web Module from WAR file /QIBM/UserData/WebAS5/Base/wps2svr/PortalServer5/deployed/iSeriesRequirement.war failed.
com.ibm.wps.pe.mgr.exceptions.AppServerWarInstallException: PEMG0013E: Installation of Web Module from WAR file /QIBM/UserData/WebAS5/Base/wps2svr/PortalServer5/deployed/iSeriesRequirement.war failed. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+3 (WpsException.java:113) com/ibm/wps/pe/mgr/exceptions/PortletAppMgrException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (PortletAppMgrException.java:66) com/ibm/wps/pe/mgr/exceptions/AppServerAdminException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (AppServerAdminException.java:66) com/ibm/wps/pe/mgr/exceptions/AppServerWarDeployException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (AppServerWarDeployException.java:64) com/ibm/wps/pe/mgr/exceptions/AppServerWarInstallException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (AppServerWarInstallException.java:64) com/ibm/wps/pe/mgr/PortletApplicationManagerImpl.installWebModule(ILjava/io/InputStream;Ljava/lang/String;Ljava/lang/String;Lcom/ibm/wps/puma/User;Lcom/ibm/wps/command/applications/ApplicationInfoCallback;)Lcom/ibm/wps/datastore/WebModuleDescriptor;+348 (PortletApplicationManagerImpl.java:747)
PEMG0001E: Instantiation of AppServerAdminManager failed for mode 1.
com.ibm.wps.pe.mgr.exceptions.InstanceException: PEMG0001E: Instantiation of AppServerAdminManager failed for mode 1. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+3 (WpsException.java:113) com/ibm/wps/pe/mgr/exceptions/PortletAppMgrException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (PortletAppMgrException.java:66) com/ibm/wps/pe/mgr/exceptions/InstanceException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (InstanceException.java:64) com/ibm/wps/pe/mgr/PortletApplicationManagerImpl.getAppServerAdminManager()Lcom/ibm/wps/pe/mgr/appserveradmin/AppServerAdminManager;+76 (PortletApplicationManagerImpl.java:206) com/ibm/wps/pe/mgr/PortletApplicationManagerImpl.installWebModule(Lcom/ibm/wps/datastore/WebModuleDescriptor;Ljava/lang/String;)V+58 (PortletApplicationManagerImpl.java:793) com/ibm/wps/pe/mgr/PortletApplicationManagerImpl.installWebModule(ILjava/io/InputStream;Ljava/lang/String;Ljava/lang/String;Lcom/ibm/wps/puma/User;Lcom/ibm/wps/command/applications/ApplicationInfoCallback;)Lcom/ibm/wps/datastore/WebModuleDescriptor;+170 (PortletApplicationManagerImpl.java:728)
PEAS0007E: Instantiation from WPS context /wps failed.
com.ibm.wps.pe.mgr.exceptions.InstanceException: PEAS0007E: Instantiation from WPS context /wps failed. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+3 (WpsException.java:113) com/ibm/wps/pe/mgr/exceptions/PortletAppMgrException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (PortletAppMgrException.java:66) com/ibm/wps/pe/mgr/exceptions/InstanceException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (InstanceException.java:64) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.(Ljava/lang/String;)V+384 (WAS5Admin.java:246) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.getInstance(Ljava/lang/String;)Lcom/ibm/wps/pe/mgr/appserveradmin/WAS5Admin;+51 (WAS5Admin.java:268) com/ibm/wps/pe/mgr/appserveradmin/AppServerAdminManagerFactory.getManager(ILjava/lang/String;)Lcom/ibm/wps/pe/mgr/appserveradmin/AppServerAdminManager;+13 (AppServerAdminManagerFactory.java:60)
PEAS0010E: Failed to initialize variables.
com.ibm.wps.pe.mgr.exceptions.InitException: PEAS0010E: Failed to initialize variables. java/lang/Throwable.()V+4 (Throwable.java:73) java/lang/Exception.()V+1 (Exception.java:24) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;)V+1 (WpsException.java:92) com/ibm/portal/WpsException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+3 (WpsException.java:113) com/ibm/wps/pe/mgr/exceptions/PortletAppMgrException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (PortletAppMgrException.java:66) com/ibm/wps/pe/mgr/exceptions/InitException.(Lcom/ibm/wps/util/MessageCode;[Ljava/lang/Object;Ljava/lang/Throwable;)V+4 (InitException.java:64) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.initVars()V+567 (WAS5Admin.java:403) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.(Ljava/lang/String;)V+338 (WAS5Admin.java:241) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.getInstance(Ljava/lang/String;)Lcom/ibm/wps/pe/mgr/appserveradmin/WAS5Admin;+51 (WAS5Admin.java:268)
com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: Could not create SOAP Connector to connect to host localhost at port 10018 with SOAP Connector security enabled.
com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: Could not create SOAP Connector to connect to host localhost at port 10018 with SOAP Connector security enabled. java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:85) java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:33) com/ibm/ws/exception/WsException.(Ljava/lang/String;Ljava/lang/Throwable;)V+2 (WsException.java:106) com/ibm/websphere/management/exception/ConnectorException.(Ljava/lang/String;Ljava/lang/Throwable;)V+3 (ConnectorException.java:33) com/ibm/websphere/management/AdminClientFactory.createAdminClient(Ljava/util/Properties;)Lcom/ibm/websphere/management/AdminClient;+918 (AdminClientFactory.java:358) com/ibm/wps/pe/mgr/appserveradmin/WAS5AdminServiceHelper.getAdminClient(Z)Lcom/ibm/websphere/management/AdminClient;+168 (WAS5AdminServiceHelper.java:315) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.initVars()V+239 (WAS5Admin.java:341) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.(Ljava/lang/String;)V+338 (WAS5Admin.java:241) com/ibm/wps/pe/mgr/appserveradmin/WAS5Admin.getInstance(Ljava/lang/String;)Lcom/ibm/wps/pe/mgr/appserveradmin/WAS5Admin;+51 (WAS5Admin.java:268)
Thanks
Dhiren |