私は自分のコンピュータからxmlaccessを実行しようとしています.Websphere Portal Serverは、鉱山でLANに接続された別のマシンにインストールされています。私は自分のコンピュータにjarファイルを追加し、xmlaccessコマンドを必要なパラメータで実行するというすべての設定を行った。しかし、私は同じ出力を与え続け、出力ファイルを作成しません.IBM知識センターに示されているすべてのjarファイルをコピーしました。 WebSphereがインストールされているマシン上で同じコマンドを実行しているときxmlaccessコマンドをリモートポータルサーバに対してローカルに実行する
これは私が与えるコマンドと私は毎回取得する出力であるが、それは
C:\Users\Admin\Desktop\deployment>xmlaccess -in C:\Users\Admin\Desktop\deploymen
t\ExportAllPortlets.xml -url http://172.16.100.227:10039/wps/config -out Exporte
dWebModules.xml -user ****** -password ******
Licensed Materials - Property of IBM, 5724-E76, 5724-E77, 5724-I29 and 5655-Y16,
(C) Copyright IBM Corp. 2001, 2014 - All Rights reserved. US Government Users R
estricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
EJPXB0001I: Command line parameters:
-in <xml input file>
[-user <user name>]
Will be queried over the console, if omitted
[-password <password>]
Will be queried over the console, if omitted
[-useEncryptedCredentials <file>]
Retrieve user name and password from properties file. Update fil
e with encrypted password.
[-noUpdateProperties]
Do not save encrypted password back to properties file.
[-out <output file>]
default: write to stdout
[-url <portal config URL>]
default: http://localhost/wps/config
[-attempts <max. connection attempts>]
default: 1 attempt, no retries
[-truststore <file name of the trust store for HTTPS>]
default: $JAVA_HOME/lib/security/cacerts
[-trustpwd <password for the trust store for HTTPS>]
default: <empty>
[-trusttype <file type of the trust store for HTTPS>]
default: jks
[-keystore <file name of the key store for HTTPS>]
default: $JAVA_HOME/lib/security/cacerts
[-keypwd <password for the key store for HTTPS>]
default: <empty>
[-keytype <file type of the key store for HTTPS>]
default: jks
[-credentialexport]
enables export and import of credential secrets
[-protocol <protocol>]
selects the protocol (if portal config URL
specified https:, otherwise this parameter is ignored).
default: SSL
[-encryptionPassphrase <passphrase>]
passphrase for credential encryption and decryption
のようなあなたのbatファイルを設定1.8 JDKを使用していた、また、Cドライブ上、ノー成功はまだそれを入れてみました@クロストーク22 –
私はusinですga JRE 8、そして私はこのような@echoのようなバットファイルを設定します。 WAS_HOME = C:¥xmlacess¥pluginsを設定します。 set cpath =%WAS_HOME%\ com.ibm.ws.runtime.jar set cpath =%cpath %WAS_HOME%\ bootstrap.jar set cpath =%cpath%;%WAS_HOME%\ com.ibm.ws.emf.jar set cpath =%cpath%;%WAS_HOME%\ org.eclipse.emf.ecore。 jar set cpath =%cpath%;%WAS_HOME%\ org.eclipse.emf.common.jar %JAVA%-classpath c:¥xmlaccess¥plugins¥wp.xml.client.jar;%WAS_HOME%\ wp。 %WAS_HOME%\ wp.engine.impl.jar;%WAS_HOME%\ wp.utilities.streams.jar;%WAS_HOME%\ j2ee.jar;%WAS_HOME%\ com.ibm.ffdc.jar;%cpath %com.ibm.wps.xmlaccess.XmlAccess%* – Crosstalk22
プラグイン・ディレクトリーbootstrap.jarに次のjarを入れます。 com.ibm.ffdc .jar com.ibm.ws.emf.jar com.ibm.ws.runtime.jar j2ee.jarを org.eclipse.emf.common.jar org.eclipse.emf.ecore.jar wp.base .jar wp.engine.impl.jar wp.utilities.streams.jar wp.xml.client.jar – Crosstalk22