I have cdap-sdk-3.0.0. When I try to start cdap server with instructions mentioned at location below:
http://docs.cask.co/cdap/current/en/developers-manual/getting-started/start-stop-cdap.html
I am getting below on console-
G:\Bigdata related\cdap-sdk-3.0.0>bin\cdap.bat restart
Stopping Standalone CDAP ...
Access is denied.
Starting Standalone CDAP...
Cdap server is unable to start. I am not getting issue. Required softwares are also installed in my machine like JDK7 and node.js
Any suggestions please..
Regards
I would recommend you trying out CDAP standalone VM - http://cask.co/get-started?download=vm&version=3.0.0, this is contains CDAP SDK and all the required pre-requisites installed in an Ubuntu VM. CDAP standalone VM is a controlled environment to try out CDAP. You would just need to install virtual box https://www.virtualbox.org/ to get this going.
We have noticed that CDAP SDK doesn't work in some Windows environment and are working to fix it; CDAP-2504 is the JIRA to track (NOTE: I am unable to post more than two links in my response, hence just the JIRA number) . I would recommend you trying CDAP VM while we fix the windows version of the SDK.
Thanks,
Sree
My recommendation would be, try to use docker container for run CDAP. Its easy to manage the services.
Related
I'm having some issues getting JProfiler connected to a remote WebSphere 8.5.5 instance that is running on Linux. When I start JProfiler on my Windows 10 machine I select the "Profile an application server, locally or remotely" and select the option to integrate with IBM WebSphere 8.x Application Server.
The part I'm having an issue with is the "Specify the remote address" section of setting up the profile. The setup says I need the profiling agent running on target JVM. I download the tar file from the JProfiler website and extract it on Linux machine and run jpenable as it says I should but I get this message.
"No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.6 and at most 11. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM."
I have made edits to the arguments file that came with the JProfiler in order to remedy this issue but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine. I have tried using the INSTALL_JAVA_HOME_OVERRIDE variable in the arguments file by putting the full path to the WebSphere Java install. I have tried using the INSTALL4J_JAVA_PREFIX variable and I have created a INSTALL4J_JAVA_HOME variable in the arguments file and put the full path to the WebSphere Java.
Any help would be appreciated greatly appreciated in getting me around this issue. I have verified that WebSphere is using Java version 1.8.0_171.
but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine.
That's because IBM JVMs are not supported for attach mode.
The setup says I need the profiling agent running on target JVM.
Generally, this is achieved by adding an -agentpath VM parameter to the profiled VM. The remote address that you are asked for in the wizard will be added as an option to that parameter. The wizard will then modify the server config file and add the complete VM parameter, so you don't have to it manually.
More information is available at
https://www.ej-technologies.com/resources/jprofiler/help/doc/main/profiling.html
How can I interact with the code on my Google App Engine instance from Visual Studio Code?
You can now run Visual Studio Code from the Google Cloud Shell using
https://github.com/cdr/code-server/
It comes down to downloading code-server, starting it and using the Web Preview functionality of Google Cloud Shell to use it.
See also:
https://medium.com/#chees/how-to-run-visual-studio-code-in-google-cloud-shell-354d125d5748
You can use SSHFS to mount a remote directory on a Google Cloud Virtual Machine (VM). It is very easy to setup and use compared to VNC or FTP:
First you have to access the VM via ssh. This is actually very easy and you don't need to generate any keys yourself. Just go to the console then: Compute Engine > VM Instances, then locate your instance and click on the SSH button at the far right. Tutorial and more info here.
Install SSHFS on your machine. If you have a mac, you can use brew cask install osxfuse and then brew install sshfs.
You are ready. Just type sshfs [you_user_name]#[external_ip_of_vm]:[directory_on_vm_to_mount_to] [local_mount_point], eg. sshfs john#35.222.222.1:/home/john ~/john-vm.
If you decided to setup VNC, here is a link to a very good tutorial on how to set it up on GC. And here is another link on how to setup SFTP.
You can check VSCode remote as well. It was recently developed and is already in quite stable stage. Probably Remote SSH will help you the most in your case.
currently I'm evaluating, how to setup my web development infrastructure using docker.
I would like to use eclipse with nodeclipse, but I don't want to install nodejs locally. Additionally I don't want to use Eclipse Che.
So my question is, if it is possible to configure eclipse that I use a docker-container including nodejs?
The biggest challange currently is, that without nodejs I get error messages in my typescript code, that my imported packages can't be found.
Thank you for your help :)
Clean install:
Downloaded wso2iot 3.1.0 from GitHub
Downloaded yajsw-stable-12.09
Put them in one file (wso):
Pointed jdk1.7.0_75 for JAVA_HOME
Pointed CARBON_HOME to my wso/wso2iot 3.1.0
This is what I downloaded only.
Run iot-server in folder bin.
After that nothing the system don't give me localhost why?
Is this installation correct for running wso2iot?
If not please advise me. Do I need to install something else?
First, you need to have java 8 on your system in order to run the WSO2 IoT 3.1.0. Secondly, if you need to run the WSO2 IoT 3.1.0 as a windows services, you need to have jajws 11.03.
Please refer the following document for more information
You can download the latest release candidate for WSO2 IoT 3.1.0 from here unzip it and start the pack in the following order.
Navigate to <IOTS_HOME>/bin and run ./broker.sh
./iot-server.sh &
./analytics.sh
Then you can login to the console from - https://localhost:9443/devicemgt
Additionally, to the above reply by jdk7. Make sure that you have JAVA 8. WSO2 IoT Server needs JAVA 8.
[1] https://docs.wso2.com/display/IoTS310/System+Requirements
I installed Service Fabric by using the Install the Service Fabric runtime, SDK, and tools for Visual Studio 2015 Update 2 link from Prepare your development environment.
Trying to publish a Service Fabric Application fails with:
2>Connect-ServiceFabricCluster : Argument 'Connect-ServiceFabricCluster' is not recognized as a cmdlet: Unable to load
2>DLL 'FabricCommon.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Same error described in Troubleshoot your local development cluster setup, but it does not matter what PowerShell version I use, 64 or 32.
The Service Fabric SDK version I got is 2.1.163.
I am running Windows 10 10586 with Visual Studio 2015 Update 3.
FabricCommon.dll is located at c:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricCommon.dll
What am I missing?
I will focus on this error first:
DLL 'FabricCommon.dll': The specified module could not be found
You can fix this by re-installing the service fabric SDK. This happens to me before during installation and I thought it was fixed but you never know.
Also make sure you are using the same version of the SDK and nuget package that you referenced in your Service Fabric application.
A workaround for this issue (which does not include reinstall of the Service Fabric SDK) is to add the following to your path environment variable and restart the application which is throwing error (Visual Studio or PowerShell so that it can access the new environment variable):
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code
You do not need to restart your computer, just restart the application after you have update the path environment variable. The dll fabricCommon.dll lives in this folder.
This workaround is inspired by (but is not identical to) the solution to a somewhat related issue presented here: https://social.msdn.microsoft.com/Forums/azure/en-US/6c8cc261-6c84-4097-be03-e8073cbc9397/unable-to-load-dll-fabricruntimedll?forum=AzureServiceFabric&prof=required
All I had to do is restart Visual Studio and it worked. This happens time to time.
Please Run Windows PowerShell as Administrator and then try.
I have experienced the same problem on my Win10 box, and even adding the relevant powershell module that contained necessary cmdlets didn't work. The solution that worked for me was: Control Panel -> "Programs and Features", uninstall Service Fabric SDK, then click "Turn Windows features on or off" link and uninstall PowerShell. Next, reboot Windows, back to Control Panel -> "Programs and Features" -> "Turn Windows features on or off", install PowerShell, after which download/install Service Fabric SDK. Again, restart the PC, start the Service Fabric Cluster Manager (if it doesn't auto-start), right-click its icon on the task-bar and try creating 1-node or 5-node cluster.
I was facing same issue on vs2017 and window server 2016. I reinstalled service fabric sdk and issue fixed.
I had similar issue after creating a cluster on windows server 2016.
In my scenario all I had to do was log out/in again and issue was fixed.
You could try restarting VM too - only if it still fails would I try re-installing the SDK.