jython wasadmin script gives com.ibm.websphere.management.exception.ConfigServiceException - ibm-was

I was having difficulty in running jython wsadmin script. Following error happens when i try to invoke "AdminConfig.save()" in the script. Its was able to install the application successfully but when it tries the save the configuration, it gives following error.
[exec] ADMA5017I: Uninstallation of TestApp started.
[exec] ADMA5104I: The server index entry for WebSphere:cell=WASD01VWNode04Cell,node=WASD01VWNode04 is updated successfully.
[exec] ADMA5102I: The configuration data for IEApp from the configuration repository is deleted successfully.
[exec] ADMA5011I: The cleanup of the temp directory for application IEApp is complete.
[exec] ADMA5106I: Application TestApp uninstalled successfully.
[exec] ADMA5016I: Installation of TestApp started.
[exec] ADMA5058I: Application and module versions are validated with versions of deployment targets.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] ADMA5081I: The bootstrap address for client module is configured in the WebSphere Application Server repository.
[exec] ADMA5053I: The library references for the installed optional package are created.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] SECJ0400I: Successfully updated the application TestApp with the appContextIDForSecurity information.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] ADMA5005I: The application TestApp is configured in the WebSphere Application Server repository.
[exec] ADMA5113I: Activation plan created successfully.
[exec] ADMA5011I: The cleanup of the temp directory for application IEApp is complete.
[exec] ADMA5013I: Application TestApp installed successfully.
[exec] WASX7017E: Exception received while running file "mywasadmin.py"; exception information: com.ibm.websphere.management.exception.ConfigServiceException
[exec] com.ibm.websphere.management.exception.ConnectorException
[exec] org.apache.soap.SOAPException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Read timed out; targetException=java.net.SocketTimeoutException: Read timed out]
[exec]
[exec] WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved
We are using WebSphere application 8.5.0 version. This is a standalone instance.
I also increased soap timeout parameter(com.ibm.SOAP.requestTimeout=4000) in the WAS application server /properties/soap.client.prop. But its of no use.
Any thoughts on this issue?

As written in ibm documentation this usually occurs on computer servers that are overloaded.
Perform the following steps: Increase the value of
com.ibm.SOAP.requestTimeout in soap.client.props
(/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/soap.client.props)
Run the script to cleanup (cleanupWAS.sh )
Run the deployment script (setupWAS.sh)
Regards

Websphere throws a com.ibm.websphere.management.exception.ConfigServiceException in a shared environment with multiple administrative users if two users attempt concurrent updates of the same WebSphere Application Server configuration document.
Check the documentation to manage the conflict.
Normally, trying again will deploy the application just fine unless another conflict occurs.

Related

facing build failed when running demandware project on eclipse from mac 10.12.06

error:-
check-node:
styles:
[echo] Running gulp build task for Mac OS X in /Users/admin/Documents/.../gulp_builder
[exec] env: node: No such file or directory
BUILD FAILED
/Users/admin/Documents/.../gulp_builder/builders.xml:84: exec returned: 127
Total time: 193 milliseconds
This is likely due to not having Gulp or some dependent component installed on the PATH being used by Eclipse. Without seeing more about your gulp_builder/builders.xml document I can't really comment as to what is missing. Can you post more context such as the 5 lines before and after and including line 84 of builders.xml
Agree with #sholsinger that more info would be better, but you may want to double-check that you have all of the node modules installed. You could run "npm install" in the terminal when you are in the directory where your package.json lives.

Eclipse Error occurred during initialization of VM google app engine

Just did a fresh install of Eclips mars.2 and installed the google app engine plug in.
Imported an existing maven project, and trying to run it on the "Google App Engine at Llocal host"
Getting this error when I run it. I'm not even sure where to start on this, I'm just following the tutorial.
Any ideas?
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : C:\Stuff\Programming

Intel XDK Google + google services plugin - build fails

I have developed a working hybrid application in which I am using "phonegap-googlemaps-plugin". This plugin needs as a dependency two other which downloads and installs automatically in the project. The dependencies are:
com.google.playservices and plugin.http.request
Using the Cordova-CLI, installing this plugin with the dependencies will fail building the project the 1st time because of a specific directory in the "playservices" plugin. To overcome this, I have to run "ant clean" in my project and also remove/rename that directory. Now, I am using Intel XDK and uploaded my app and installed most of my plugins successfully and run the application on my device. When I am trying to install the google play services plugin, it fails to build because of the reason I described above (I've run through the logs). How can I overcome this issue now?
I have attached the part of the log that shows the fail error
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] invalid resource directory name: .../App/platforms/android/com.google.playservices/google-play-services_lib/bin/res/crunch
BUILD FAILED
/Developer/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
/Developer/android-sdk-linux/tools/ant/build.xml:698: null returned: 1
Total time: 5 seconds
Error code 1 for command: ant with args: release,-f,.../App/platforms /android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Command finished with error code 2: .../App/platforms/android/cordova/build --release
Error: .../App/platforms/android/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
Thanks in advance.

WebSphere Application Server 7.0.0.33 installation error - "failed to Install Update Installer"

I ran into errors when trying to install WebSphere Commerce Fix Pack 8 (on WCS FEP 1 and FP 7) and so started WebSphere Commerce installation from scratch. I was able to install RAD but am running into the below error when trying to install WebSphere Application Server 7.0.0.33 (I also tried installing other versions, but ended up having the same error).
Any help and ideas to overcome this problem would be much appreciated. Thanks in advance!
Please note this is: WebSphere Commerce Developer Environment and WebSphere Application Server Test Environment.
Operating System: Windows 7 Enterprise 64-bit
Antivirus: McAfee
IBM Installation Manager:
Version: 1.8.0
Internal version: 1.8.0.20140902_1503
Architecture: 32-bit
RAD:
Succeeded installing the below version:
IBM® Rational® Application Developer™ for WebSphere® Software
Version 7.5.5.5 iFix1 (7.5.5051.RADO7555iFix1-I20120913_1613)
WebSphere Application Server: Ran into the below error while attempting to install WAS 7.0.0.33
Error during "install" phase:
Error recorded in the log file:
actionStep : -INSTALL
version : 7.0.0.17
sourcePath : C:\IBM\SDP\image\UPDI70
installPath : C:\IBM\SDP\runtimes\updi_v70
calling performInstall
compare = 0
Deleting installPath : C:\IBM\SDP\runtimes\updi_v70
performInstall : Install Update Installer
OSCommand : Invoking at : C:\IBM\SDP\image\UPDI70\UpdateInstaller
OSCommand : Print out Command
C:\IBM\SDP\image\UPDI70\JDK\jre.pak\repository\package.java.jre\java\jre\bin\java.exe
-cp
setup.jar
run
-OPT
silentInstallLicenseAcceptance=true
-OPT
allowNonRootSilentInstall=true
-OPT
disableOSPrereqChecking=true
-OPT
disableEarlyPrereqChecking=true
-OPT
skipStartMenu=true
-OPT
installLocation=C:\IBM\SDP\runtimes\updi_v70
-silent
OSCommand : Done Print out Command
Unable to load JNI dll archive:C:\IBM\SDP\image\UPDI70\UpdateInstaller\setup.jar+/6d03fb4a8c94a5cdd9d0f5efa721f948/win32ppk/win32ppk.dll
java.lang.UnsatisfiedLinkError: C:\Users\SHEELA~1.DOS\AppData\Local\Temp\ismp001\win32ppk.dll (Access is denied. )
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1011)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1019)
at java.lang.Runtime.load0(Runtime.java:781)
at java.lang.Runtime.load(Runtime.java:769)
at com.installshield.util.LibraryLoader.loadLibrary(LibraryLoader.java:77)
at com.installshield.wizard.platform.win32.Win32Utils.loadDLL(Win32Utils.java:49)
at com.installshield.wizard.platform.win32.Win32SystemUtilServiceImpl.initialized(Win32SystemUtilServiceImpl.java:68)
at com.installshield.wizard.service.AbstractServiceImplementor.initialize(AbstractServiceImplementor.java:23)
at com.installshield.wizard.service.ServiceFactory.createImpl(ServiceFactory.java:129)
at com.installshield.wizard.service.ServiceFactory.createService(ServiceFactory.java:55)
at com.installshield.wizard.service.ServiceFactory.createService(ServiceFactory.java:24)
at com.installshield.wizard.service.LocalWizardServices.loadService(LocalWizardServices.java:107)
at com.installshield.wizard.service.LocalWizardServices.getService(LocalWizardServices.java:122)
at com.installshield.wizard.service.system.SystemUtilServiceInitialize.execute(SystemUtilServiceInitialize.java:17)
at com.installshield.wizard.Wizard.executeStartupBeans(Wizard.java:1451)
at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1534)
Thanks for looking into it!
FINALLY figured it out ... turned out McAfee (anti-virus) software was blocking the install.
I was able to successfully install WAS 7.0.0.33 after turning off the McAfee services - specifically the McAfee Host Intrusion Prevention Service.
The error stack seems to indicate a file permission issue:
Unable to load JNI dll
archive:C:\IBM\SDP\image\UPDI70\UpdateInstaller\setup.jar+/6d03fb4a8c94a5cdd9d0f5efa721f948/win32ppk/win32ppk.dll
java.lang.UnsatisfiedLinkError: C:\Users\SHEELA~1.DOS\AppData\Local\Temp\ismp001\win32ppk.dll ***(Access is denied. )***
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1011)
Maybe check privileges for the user installing the product/fix?

EJBCA 'Ubuntu quick start' fails to deploy on JBoss

I followed quick start steps described in EJBCA documentation (http://www.ejbca.org/docs/installation.html)
'ant deploy' eventually failed with the following error
...
...
set-paths-not-jboss7:
set-paths:
jee:deployServicesJBoss5:
jee:assert-runJBoss7:
[echo] Checking if JBoss 7 is up and running...
[exec] Result: 1
BUILD FAILED
/home/pa/ejbca-setup/ejbca_ce_6_0_3/build.xml:635: The following error occurred while executing this line:
/home/pa/ejbca-setup/ejbca_ce_6_0_3/bin/jboss.xml:380: The requested action requires that JBoss 7 is up and running.
My problem was that JBoss wasn't starting. The documentation did point out that if 'ant deploy' fails, most likely caused is JBoss not running.
Since JBoss did not show any error, I thought it was up, however upon second look I understood that it was stuck in 'starting' state. There were no errors in log files. My Java version was 8. Installing Java 7 fixed the problem. Be sure to recompile EJBCA after switching Java.