ColdFusion 11 IIS Connector ExecuteAppCmd.exe side-by-side config is incorrect - iis

I have a clean developer install of ColdFusion 11 and IIS on Windows 2008 Server R2. When I run the wsconfig.exe (as admin), then I click "Add" I get the following in the console output:
java.io.IOException: Cannot run program "C:\Users\ADMINI~1.CFW\AppData\Local\Tem
p\2\\ExecuteAppCmd\ExecuteAppCmd.exe": CreateProcess error=14001, The applicatio
n has failed to start because its side-by-side configuration is incorrect. Pleas
e see the application event log or use the command-line sxstrace.exe tool for mo
re detail
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.getWebS
ites(IISWebSites.java:289)
at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.scanMet
abase(IISWebSites.java:66)
at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.<init>(
IISWebSites.java:51)
at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.getWebServerPanel(AddConfigDialog.java:269)
at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.initDialog(AddConfigDialog.java:158)
at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.<init>(AddConfigDialog.java:92)
at com.adobe.coldfusion.connector.connectorinstaller.gui.ConfigFrame$2.a
ctionPerformed(ConfigFrame.java:297)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=14001, The application has f
ailed to start because its side-by-side configuration is incorrect. Please see t
he application event log or use the command-line sxstrace.exe tool for more deta
il
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 46 more
IIS had these features installed:
Static Content
Default Document
HTTP Errors
ASP.NET
.NET Extensibility
CGI
ISAPI Extensions
ISAPI Filters
HTTP Logging
Windows Authentication
Request Filtering
IP and Domain Restrictions
IIS Management Tools
My initial approach was to use the ColdFusion 11 Lockdown Guide step-by-step for install. I got to the "Run the ColdFusion Web Server Configuration Tool" section before I realized the issue.
After a looking through all my security settings and changing some service login's, I uninstalled ColdFusion (64 bit) and IIS then restarted. I then reinstalled CF11 Development Version using the secure profile and IIS. The web server option I used upon install was to use the built-in server. No further lockdown was done. Same issue.
The ColdFusion Administrator does load on the browser.
The following MS VC++'s are installed:
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729
Microsoft Visual C++ 2012 Redistributable - x86 11.0.61030
Microsoft Visual C++ 2012 Redistributable - x64 11.0.61030
I'm not sure what's off here, any ideas appreciated.

As Chris said, the answer is to make sure you have the correct "bitness" for the MS VC++ redistributable package. The proper download for that package can be found at this link from MS, and a further explanation may be found on my blog at this link.

I found the answer in a bug post:
https://bugbase.adobe.com/index.cfm?event=bug&id=3761543
Since the ColdFusion install is 64-bit it needs a MS C++ 2008 x64 SP1 Redistributable package installed. The ColdFusion install only installs the 32-bit version of 2008.
http://www.microsoft.com/en-us/download/details.aspx?id=2092
Once I got that installed, it worked.

Related

Unable to install IBM SDK for nodejs on Window 10

I am unable to install "ibm-6.9.1.0-node-v6.9.1-win-x64.exe" on my Windows 10. I am getting the following exception.
When I click on details , The following error message is visible-
Flexeraax2$aaa: Windows DLL failed to load
at Flexeraax2.af(Unknown Source)
at Flexeraax2.aa(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
I had the same problem. I solved it by calling for console:
C:....> ibm-6.10.1.0-node-v6.10.1-win-x64 LAX_VM "C:\Program Files\Java\jdk1.7.0_80\bin\java.exe”

Sonarqube produces build error using the new Team Foundation Build

I have a problem integrating Sonarqube in the Build process with the Build-Tasks in Visualstudio Online.
My Konfiguration:
SonarQube 5.2 with LDAP using the Active Directory to Login in SonarQube
I use a reverse Proxy (IIS 8.5) as recommended on the Sonarqube homepage to access Sonarqube over a public Endpoint. This is nessacry because I use a public Build-Server, so that he can reach the Sonarqube Server.
I have no problem accessing Sonarqube over the Web. I got prompt for the credentials. I can login with my domainuser and browse without any Problems. If I use the private Endpoint I got login automatically. It seems to me that some informations for the login got lost over the reversed proxy.
Now the actual problem:
If I start a Build as mentioned bevor, I get the folowing error while the "End-Analyses" Task. The error occurs running the sonarrunner.
ERROR: Error during Sonar runner execution
org.sonar.runner.kevinsawicki.HttpRequest$HttpRequestException: java.net.SocketException: Connection reset
at org.sonar.runner.kevinsawicki.HttpRequest.code(HttpRequest.java:1392)
at org.sonar.runner.kevinsawicki.HttpRequest.ok(HttpRequest.java:1417)
at org.sonar.runner.impl.ServerConnection.downloadString(ServerConnection.java:93)
at org.sonar.runner.impl.ServerVersion.downloadVersion(ServerVersion.java:47)
at org.sonar.runner.impl.ServerVersion.version(ServerVersion.java:38)
at org.sonar.runner.impl.ServerVersion.is37Compatible(ServerVersion.java:58)
at org.sonar.runner.impl.JarDownloader.checkVersionAndDownload(JarDownloader.java:36)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:71)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:53)
Caused by: java.net.SocketException: Connection reset
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at org.sonar.runner.kevinsawicki.HttpRequest.code(HttpRequest.java:1390)
... 15 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(Unknown Source)
at org.sonar.runner.kevinsawicki.HttpRequest.header(HttpRequest.java:1903)
at org.sonar.runner.kevinsawicki.HttpRequest.contentType(HttpRequest.java:2308)
at org.sonar.runner.impl.ServerConnection.downloadString(ServerConnection.java:89)
... 13 more
ERROR:
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
The sonar-runner did not complete successfully
I reserached a lot but can't find any solution for my problem. Can Someone help?
Edit:
If I use the the private Endpoint to integrate Sonarqube in the Build there are now Problems. in this case The Sonarqube Analyses works fine. But I need to get this work over the public endpoint using the reverse proxy redirecting to the local machine.

How do I open NetBeans projects, created in Windows 7, in Ubuntu?

I saved all of my NetBeans projects onto a folder in my dropbox account on windows, but now when I tried to open one in NetBeans on Ubuntu (14.04) nothing happens, and I get an error message. I've check the JDK is the same, so I'm not sure what else could be the problem. Any help would be appreciated!
The whole error message is displayed below:
java.lang.ClassNotFoundException: com.sun.tools.javac.util.CancelAbort starting from ModuleCL#5ba607b4[org.netbeans.modules.java.source] with possible defining loaders [ModuleCL#531b49df[org.netbeans.libs.javacimpl]] and declared parents [ModuleCL#71ffd9f1[org.netbeans.modules.editor.mimelookup], ModuleCL#26c5920f[org.netbeans.modules.java.lexer], ModuleCL#503ca641[org.netbeans.modules.java.platform], ModuleCL#543d97af[org.openide.text], ModuleCL#419fb314[org.netbeans.modules.editor.indent.project], ModuleCL#1c04fc63[org.netbeans.modules.editor.lib], ModuleCL#71b87cd4[org.netbeans.modules.projectuiapi], ModuleCL#562390c0[org.netbeans.api.java], ModuleCL#1533a69e[org.openide.windows], ModuleCL#5d171820[org.openide.dialogs], ...26 more]
at org.netbeans.ProxyClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Caused: java.lang.NoClassDefFoundError: com/sun/tools/javac/util/CancelAbort
at org.netbeans.modules.java.source.parsing.JavacParserFactory.createParser(Unknown Source)
at org.netbeans.modules.java.source.parsing.JavacParserFactory.createParser(Unknown Source)
at org.netbeans.modules.parsing.api.ParserManager.findParser(Unknown Source)
at org.netbeans.modules.parsing.api.ParserManager.parseWhenScanFinished(Unknown Source)
at org.netbeans.api.java.source.JavaSource.runWhenScanFinished(Unknown Source)
at org.netbeans.modules.java.j2seproject.MainClassUpdater.addFileChangeListener(Unknown Source)
at org.netbeans.modules.java.j2seproject.MainClassUpdater.(Unknown Source)
at org.netbeans.modules.java.j2seproject.J2SEProject$ProjectOpenedHookImpl.projectOpened(Unknown Source)
at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(Unknown Source)
at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(Unknown Source)
[catch] at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(Unknown Source)
at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(Unknown Source)
at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(Unknown Source)
at org.netbeans.modules.project.ui.OpenProjectList.doOpen(Unknown Source)
at org.netbeans.modules.project.ui.OpenProjectList.access$2000(Unknown Source)
at org.netbeans.modules.project.ui.OpenProjectList$4.run(Unknown Source)
at org.openide.util.RequestProcessor$Task.run(Unknown Source)
at org.openide.util.RequestProcessor$Processor.run(Unknown Source)
It appears the Ubuntu Software Centre version I had installed was a version out of date. I got the new 8.0 version direct from NetBeans and it now works.
Although this is not the perfect solution, it's just a workaround. If it's a simple project you could erase the nbproject folder and create a new project with existing sources with that netbeans will re-create the project files.

Liferay Portlet development Ivy

I'm trying to develop a portlet using JSF and Primefaces, When I create my project under eclipse kepler (using plugin sdk 6.1.1), I have a problem on portlet.xml :
Could not resolve Portlet class
"javax.portlet.faces.GenericFacesPortlet"
and when I try Ivy resolve I have the following error :
java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/PGPException
at java.lang.Class.getDeclaredConstructors0(Native Method) at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) at
java.lang.Class.getConstructor0(Class.java:2714) at
java.lang.Class.newInstance0(Class.java:343) at
java.lang.Class.newInstance(Class.java:325) at
org.apache.ivy.util.Configurator.addChild(Configurator.java:586) at
org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:503)
at
org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:579)
at
org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:201)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source) at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:274) at
org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:160)
at
org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:150)
at
org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:391)
at org.apache.ivy.Ivy.configure(Ivy.java:416) at
org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:203)
at
org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163)
at
org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124)
at
org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145)
at
org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused
by: java.lang.ClassNotFoundException:
org.bouncycastle.openpgp.PGPException cannot be found by
org.apache.ivy_2.3.0.final_20130110142753 at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 31 more
Can any one tell me please how to resolve this.
The following Maven Central search reports two matches. Include one of these jars in your classpath:
g:"org.bouncycastle" AND fc:"org.bouncycastle.openpgp.PGPException" AND v:"1.50"
Without more details difficult to tell why NoClassDefFoundError exception is being thrown.

Vuze client on Rhel 5 machine

I downloaded the vuze client for linux(Rhel 5) and xtracted the tar file.When I execute the vuze launcher I get the following error. Am trying to debug the issue , in the mean time any linux experts have any idea on this issue ? Someone tried to install vuze on linux and encountered this issue.
[root#localhost vuze]# ./vuze
Starting Azureus...
Suitable java version found [java = 1.6.0_24]
Configuring environment...
Java exec found in PATH. Verifying...
Browser check failed with: Cannot load 64-bit SWT libraries on 32-bit JVM
Auto-scanning for GRE/XULRunner. You can skip this by appending the GRE path to LD_LIBRARY_PATH and setting MOZILLA_FIVE_HOME.
checking /etc/gre.d/gre.conf for GRE_PATH
GRE found at /usr/lib/xulrunner-1.9.
Browser check failed with: Could not initialize class org.eclipse.swt.widgets.Display
Can't create browser. Will try to set LD_LIBRARY_PATH and hope Vuze has better luck.
setting LD_LIBRARY_PATH to: /usr/lib/xulrunner-1.9
setting MOZILLA_FIVE_HOME to: /usr/lib/xulrunner-1.9
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar:./swt.jar" -Djava.library.path="/root/Desktop/Downloads/vuze" -Dazureus.install.path="/root/Desktop/Downloads/vuze" -Dazureus.script="./vuze" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
file:/root/Desktop/Downloads/vuze/Azureus2.jar ; file:/root/Desktop/Downloads/vuze/swt.jar ; file:/root/Desktop/Downloads/vuze/
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:114)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:84)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:63)
at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:163)
... 12 more
Exit from Azureus complete
No shutdown tasks to do
Azureus TERMINATED.
For some reason the swt.jar file inside the downloadable Vuze is for 64 bits systems. Just go to http://www.eclipse.org/swt/ and download the stable release from there.
Open the tar.gz and extract swt.jar and overwrite the one from vuze.

Resources