Jboss6 not starting up - Error message - jboss

I have a small issue here. I installed Jboss-6.1.0 and when I run the 'run' bat file, JBoss does not get started and I get this error. (Please refer the attached)
My OS is Windows 8.1.I have set my Path and Java_Home variables correctly.Is there any more configuration to do?
A help is much appreciated.Thanks in advance.

I also had the same problem although with java 1.8. These are the steps I followed.
1.Go to the “bin” directory where you’ve installed JBoss
2.Edit the “run.bat” file
3.Search for the line “
set JAVA_OPTS=-Dprogram.name=%PROGNAME% -Dlogging.configuration=file:%DIRNAME%logging.properties %JAVA_OPTS%“
Change the %DIRNAME%
to your absolute path to the “bin” directory of your installed JBoss.e.g.
set JAVA_OPTS=-Dprogram.name=%PROGNAME% -Dlogging.configuration=file:”C:\Java\jboss-6.1.0-final\bin\logging.properties” %JAVA_OPTS%
I do not think the java version difference would affect the solution. It should work.

Related

JBossEAP / Wildfly error renaming temporary file

for the past several days I've been experiencing this error, while publishing to either JBoss EAP 6.3 or Wildfly 8.2 from Eclipse.
Error renaming D:\Servers\wildfly-8.2.0.Final\standalone\tmp\tmp9064011157118650757.jar
to D:\Servers\wildfly-8.2.0.Final\standalone\deployments\BusinessService.war\WEB-INF\lib\spring-web-4.2.3.RELEASE.jar.
This may be caused by incorrect file permissions, or your server's temporary deploy
directory may be on a different filesystem than the final destination. You may adjust
these settings in the server editor.
The problem occurs when I "Add and Remove..." projects from the server, then try to publish them, so the server can start.
I've experienced this issue on two different machines (home (Wildfly) and work (JBoss EAP)).
I'm using:
Windows 7 / 10
Eclipse Mars / Luna
JBoss Tools plugin 4.3 / 4.2
JDK 1.8.0.66 / 1.8.0.65
Maven
Building with maven from Eclipse and from the command line makes no difference. The server is configured to deploy projects as compressed archives. On both machines my user has administrator rights and has full rights on the server directory.
So far I've tried:
recreating the server multiple times with different configurations
using a newly created workspace
reinstalling JBoss Tools
reinstalling Eclipse
using different JDK versions
I'm really at a loss here and I don't know how to proceed in resolving this issue. Please help.
If you are using Windows, the path could get too long and can cause this error. A simple fix is to move WildFly closer to the root.
I had the same problem and solved it like this:
First of all, stop Server (Servers->WildFly(rigth click)->Stop), than clean. So you can run server again.
I had this problem several times in my new windows 10 machine that my employer gave me. Since I did not have admin rights it was a hectic process to troubleshoot this issue. Simple fix would be moving JBOSS_HOME closer to root. However, you need to do a proper restart of your eclipse. I rather recommend a complete restart of your computer because after all you are going to change JBOSS_HOME in windows environmental variables.
This is related to permissions issue on wildfly folder. Allow full control to the wildfly folder.
https://issues.jboss.org/browse/JBIDE-18697
I have moved the wildfly home to reduce the overall path length, and also removed any non-alphanumeric characters from the folder name (like "-" and "." ) . This worked for me, everything else (removing tmp, deployment, rebooting wildfly, rebooting eclipse, rebooting computer) failed.
I also suspect that the issue was stemming from running Wildfly from a ConEmu and/or git bash shell. Running from a plain CMD shell seems more robust.
I also got stuck with the same problem. I tried the below steps and it worked:
Clear the deployments and tmp folder in standalone folder in wildfly folder.
Delete the server and again add the server
Make a build of the project and start the server after successful build.
This is a terribly annoying error that either the Eclipse team or Redhat need to fix.
The solution is to close Eclipse, right click on the icon -> Run As Administrator. This solved it for me.

Getting an error when trying to build the CubicPilot sample from the Unity Google Play plugin

i just watched this video about the Google Play Games plugin for Unity, and readed about how to set it up here.
But i get this error when i try to build the CubicPilot sample:
Error building Player: Win32Exception: ApplicationName='C:\Program Files (x86)\Java\jre7\bin\javac.exe', CommandLine='-bootclasspath "C:/Users/Danny/Desktop/adt-bundle-windows-x86_64-20131030/sdk/platforms/android-19\android.jar" -d
I've followed all the steps to set it up but i was not really sure about the step called:
"Additional instructions on building for Android on Windows" (Im using windows 7)
My computer had no JAVA_HOME enviroment variable, so i tried to create one and set the path to: C:\Program Files (x86)\Java\jre7 (I had no idea what i was doing, but it didn't work)
The instructions said that i had to set it to:
C:\Program Files\Java\jdk1.7.0_45.
However, there were no jdk1.7.0_45, so i just set it to the jre7 which was the only folder.
And i also didn't understand the "Add the Java SDK's bin folder to your PATH environment variable".
I hope someone can help me with the issue.
Thanks in advance.
How to change the path environment variable: http://www.computerhope.com/issues/ch000549.htm
I never experienced this error on unity before, but i got some issues like that programming for google app engine and android apps.
So, try download the jdk and use it instead of the jre. it has more features for developers, many of my problems (in another environments) were solved when I passed to use the jdk.

DFS locations in Eclipse Europa after accessing Hadoop in a VM

I am very new to hadoop. I need to install it and play around with samples.
SO i referred this tutorial . I have installed Sandbox given in that tutorial. I need to configure ECLIPSE in windows mentioning VM location as specified in the image below, which is given in the tutorial.
I have installed eclipse europa and hadoop plugin.
Then in Map/Reduce Locations i gave VM Ip for host name, Linux user name in UserName and 9001 in Map/Reduce port and 9000 in DFS port.
In Advanced Tab I have set value to the mapred.system.dir as /hadoop/mapred/system
and there is no hadoop.job.ugi to give username.
After i click ok, I couldn't get HDFS file system under my DFS locations in ECLIPSE.
Please help me on this
I also got the same problem. The problem here is not related to hadoop configuration but eclipse. To fix this, go to "\workspace\.metadata\.plugins\org.apache.hadoop.eclipse\locations". Here open the XML file and just add the property "hadoop.job.ugi" with value "hadoop-user,ABC" and then restart your eclipse. It worked for me.
I tried by giving just one value i.e. without ABC but it dint work and I dont know the significance of this comma separated value but since I have just started the tutorial I hope to get this answer soon :)
I too ran into the same issue. I installed RedHad cgywin (openssh and openssl packages) and updated the "Path" environment variable with a path to cgywin/bin (c:\rhcygwin\bin). Then my Eclipse DFS location was able to connect to Hadoop on the Virtual Machine. Once that was successful I saw the option "hadoop.job.ugi".
http://v-lad.org/Tutorials/Hadoop/00%20-%20Intro.html describes installing cgywin.
Note: I am running the Hadoop VM on Windows Vista.
I spawned Eclipse from within Cygwin and it worked fine for me (i.e. I could see the "hadoop.job.ugi" parameter). Also, I didn't make any changes to my PATH environment variable.

Error opening Eclipse

I am unable to open Eclipse IDE. The error displayed is as below
Any idea what could be the reason? And how do I solve this??
Note: I ran CCleaner recently (any registry issue??) and I got error executing my open Eclispe project. On restarting I get this issue. Is re-installation going to help? Am going to do that and update result here. And I would really like to know what caused this for future precautions.
Update: Same error for new installation. But this time got error regarding lauching JVM and missing dlls so going to reinstall Java.
Unable to understand what might be the exact problem , still giving it a shot.
Did you go through this URL http://michaelzanussi.com/?p=468
Appears to be the same issue , resetting JAVA_HOME and PATH solved the issue for him
The authors of Eclipse strongly recommend manually updating the Eclipse.ini file to point directly to the JRE that you want to use rather than relying on Windows environment variables.
Also C:\Windows\System32 is a really strange place to find the Java Runtime Environment files, typically they wind up in C:\Program Files\Java or C:\Program Files (x86)\Java.

Integration of protobuf-dt with protoc not working

I've installed the Protobuf-dt plugin in Eclipse and It's working okay, except for a weird problem related to it's integration with Protoc.
When I point it to it's executable, it says the file isn't protoc. If I point it to PATH, it doesn't show me any error but when I save the .proto file, it shows me an error saying that it haven't found protoc.
If I compile my .proto file manually with command line (using the same executable), it works okay.
Could it be a problem related to my 64 bits environment (windows/eclipse/jdk)? I haven't found a win64 executable of protoc.
Does anyone had the same problem? Any tip would be appreciated.
Thanks in advance.
I believe it was some Bug. I raised an Issue on theirs Google Code page and they seem to have fixed.
http://code.google.com/p/protobuf-dt/issues/detail?id=103