Downloaded the latest JBoss Wildfly Final release (8.2.0.Final as of today, 2015-04-13).
Thought I would do some late-night personal coding now that the everyone else has gone to sleep.
Trying to run it through my IDE, immediately get an error:
Error running Wildfly 8.2.0.Final: Address localhost:9990 is already in use
I did some searching, and found the program that is competing with JBoss for port 9990 (which JBoss uses for its management endpoint by default).
C:\java\jdk1.7.0_76>netstat -a -b
...
TCP 127.0.0.1:9990 acer-predator:0 LISTENING
[NvNetworkService.exe]
...
Aha ... NVidia's Network Service. Now, I could change JBoss's port easy enough, but I like using out-of-box configuration. I don't want to hack up my JBoss configuration to play nicely with my Windows Environment when I'll be working out of Linux as well ... best to make the Windows Environment work with my development projects.
Went into Windows Services, found NVIDIA Network Service, stopped it, set it to Manual.
Now Everything is actually Awesome! :-) JBoss Wildfly starts up great!
Showing posts with label JBoss. Show all posts
Showing posts with label JBoss. Show all posts
Monday, April 13, 2015
OpenShift, Git and Maven
This is very interesting, it appears that by creating the OpenShift Application, it created a whole initial code layout (similar to a Maven Archetype), complete with POM file as the first commit in the git repository.
Here is what I saw when viewing the log for the cloned Git repository that OpenShift created:
I've always believed in trying to follow the best practices and standard approaches whenever I come into an environment.
For example, when doing Java Development, I follow the camelCase method naming approach; when doing C# development, I follow the PascalCase method naming approach.
In keeping with this tradition, I'm going to try and use Maven, seeing as how OpenShift coreated a pom.xml on my behalf.
Sunday, April 12, 2015
OpenShift Client Setup
I just signed up for the free OpenShift account.
OpenShift is RedHat's foray into PaaS.
Since I've used JBoss as my JavaEE Application Server for the past 10 years at work (going all the way back to JBoss AS 4.2.2), it made sense for me to use as a platform for personal development projects.
They gave me 3 free small gears to use. Ended up using my first one for a JBoss Wildfly 8.2.0.Final cartridge (community created). I'm sure I'll need to use my second one for the database (debating between MySQL and Postgres).
It was easy to create the server instance.
Next step: gain access.
I followed the instructions for setting up OpenShift rhc Client Tools in a Windows Environment (I run a dual boot Fedora Core 21 / Windows 7). Normally I do all my development out of Linux except .NET Development, and if/when I really start rolling on an OpenShift-deployed project, I'll probably switch back to Linux.
Step 1 - Install Ruby
Installed the latest Ruby x64 for Windows:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Step 2 - Install Git
Already had Git on my machine.
Step 3: Install and Configure the OpenShift gem
Ran into an error immediately after running rhc setup.
Now that I'm all set up, next steps for me will include:
OpenShift is RedHat's foray into PaaS.
Since I've used JBoss as my JavaEE Application Server for the past 10 years at work (going all the way back to JBoss AS 4.2.2), it made sense for me to use as a platform for personal development projects.
They gave me 3 free small gears to use. Ended up using my first one for a JBoss Wildfly 8.2.0.Final cartridge (community created). I'm sure I'll need to use my second one for the database (debating between MySQL and Postgres).
It was easy to create the server instance.
Next step: gain access.
I followed the instructions for setting up OpenShift rhc Client Tools in a Windows Environment (I run a dual boot Fedora Core 21 / Windows 7). Normally I do all my development out of Linux except .NET Development, and if/when I really start rolling on an OpenShift-deployed project, I'll probably switch back to Linux.
Step 1 - Install Ruby
Installed the latest Ruby x64 for Windows:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Step 2 - Install Git
Already had Git on my machine.
Step 3: Install and Configure the OpenShift gem
Ran into an error immediately after running rhc setup.
kernel_require.rb:54:in `require': cannot load such file -- dl/import (LoadError)
A little googling led to this StackOverflow Answer to rhc setup gives error 'no such file dl/import'.
Upgraded net-ssh to 2.9.3.beta1 like the answer recommended, re-ran rhc setup, and it worked like a champ.
Now that I'm all set up, next steps for me will include:
- Cloning (and understanding) the built-in Git Repository with the OpenShift Application. I was surprised to read in their documentation that each OpenShift Application has its own Git Repo. I had expected to create a Repo on GitHub and when I needed to deploy to OpenShift, I thought I would just drop a WAR or EAR file.
- Setting up my Gradle Build.
Subscribe to:
Posts (Atom)

