problem running jboss 5.1.0 - jboss

I try to run (call run.bat from bin directory) jboss 5.1.0 on win7 x64, and got lots of exceptions (here)
If I run the same jboss (literally extracted from the same zip archive) on another machine (win xp x86) it works great.
May be some compatibility issues?

Mayby you can check what happen if you place JBoss in directory without ! mark?
There is bug in JVM reported in 2001: getResourceAsStream on jars in path with "!" and it seems its still unresolved.
You can also check what happen when you extract JBoss archive using WinZip. I have some problem when I extract JBoss archive using standard tools (it was few year ago in Windows XP, and maybe it is not the issue).

Related

Jboss 6 in Eclipse runtime installation configuration directory

I have an existing JBoss project on which I am working on.
Currently every time I make a change, even to a JSP file, I have to run an ANT build to make a EAR file and then import the file in JBoss localhost that I started from the command line.
I would like to run JBoss in Eclipse to make development easier.
I have installed JBoss Tools from Eclipse's Marketplace. However, when I try to install a runtime environment, I cannot get past the configuration screen. Even when I point the configuration directory to the directory with my standalone.xml.
This is the picture of screen I cannot pass
Any ideas?
On your New Server Runtime Environment window, instead of selecting JBoss 6.x Runtime from the JBoss Community folder option, you should instead select the folder Red Hat JBoss Middleware and choose the JBoss Enterprise Application Platform 6.1+ Runtime:
That's the runtime suited for JBoss EAP 6.4.0.
Afterwards you just need to set your Home Directory path.

Error installing JBoss BPM Suite

I have no experience with JBoss BPM Suite I'd like your help.
I'm trying to install the JBoss BPM Suite, downloaded jboss-bpmsuite-6.1.0.GA-installer.jar file in the jboss site, to start the installation and performed the command java -jar jboss-bpmsuite-6.1.0.GA- installer.jar.
The program ran and asked to accept LICENSE later I informed the installation path, but it happened the following error:
"The required product.conf file in.:/home/user/ tools is missing or malformed Please supply Either an empty directory or an EAP installation"
I am unable to resolve this issue, someone help me?
thank you
You first have to install EAP server. Install it into your root folder with any name (EAP-version). After installing it then install BPM suite and provide the installation path the same as the EAP server and you are done.
You have to install the EAP server first. Download the desired version, and install EAP.
Then you should define environment variables for $JAVA_HOME and $PATH (if they are not set).
Finally, execute 'java -jar /jboss-bpmsuite-.0.0.GA-installer.jar'
Create a new folder outside SRC where you have saved all the packages related to JBPM and provide the same path as of new folder. It will be resolved.

Eclipse Luna with JBoss Tools does not export libraries

I'm attempting to upgrade our environment to Eclipse Luna w/ JBoss Tools from our current Indigo instance. Most things are sorted well enough, but I'm running into a wall when deploying our application to a JBoss server within Eclipse.
As far as I can see, the lib/ directory of the .ear file generated contains none of the transitive dependencies from maven that we would normally expect to see, and as a result the application does not deploy or run correctly on the server. For clarity, we use the 'use workspace metadata' deployment option on the JBoss server within Eclipse.
By contrast, if I right click on the relevant project within Eclipse and say Export... .ear file, the resulting .ear contains all the .jars that I'd expect inside the lib/ folder (there's over 50 of these things, so it's pretty easy to spot the difference). Subsequently dropping the .ear into the deploy directory of JBoss and starting a server manually has the application working fine.
Has anyone ever encountered this sort of issue within JBoss Tools / Luna, and if so what steps were taken to try and remediate it?
Cheers for any help.
Dave.
EDIT: For what it's worth, this is a JBoss Enterprise Application Platform 5.x server instance, and we're using JBoss EAP 5.2

Where can wsconsume of JBossWS be found after installing JBoss on Eclipse

I have installed JBoss on Eclipse from Eclipse marketplace. The following snapshot shows the result of the installation:
There is not a wizard for wsconsume. As my understanding, it is a command line tool only. Where can I find wsconsume?
Actually I am only interested in using wsconsume. All the installations are solely for this purpose.
I guess you have installed JBoss Tools for Eclipse. As its name suggests it's only tooling around JBoss related technologies (with JBoss Application Server being one of the most important among them).
JBossWS and its wsconsume companion tool is distributed with JBoss Application Server (JBossAS for short) which is separate standalone product. Please download it from JBoss download site. Current community version is 7.1.1.
Next, unzip archive to some folder (I'll refer to it as JBOSS_HOME from now on).
Wsconsume tool is placed in JBOSS_HOME/bin folder as scripts for Windows and Unix/Linux systems: wsconsume.bat and wsconsume.sh respectively.
As an alternative you could download only JBossWS itself instead of entire JBossAS, but for some reasons I find it easier the way I described above.
I don't know if JBoss Tools for Eclipse helps with wsconsume in any manner. I always use it from command line and I'm quite satisfied with it.
(I don't know your current experience with JBoss technologies so please excuse me if my explanations are too basic.)

Jboss 7 and eclipse indigo plug in giving error while starting server?

I installed Eclipse indigo and jboss 7 server and jboss server plugins installed for struts2 application.
I created simple application with jsp page and deployed in to jboss7 server ( i installed server ,run from out side of eclipse and i saw new features of jboss 7 ) after deploying application .
I want to start the server but server giving error like " Error:no server JVM at c:\java\jre1.6\bin\server\jvmdll"
help me for this issue.
thanks
param
I also had this problem and did not find where I could set the JVM for JBoss in Eclipse Indigo. I got JBoss 7 working by removing the JRE6 from installed JREs in Eclipse and only having JDK6 there. I also changed JRE6 to JDK6 by double clicking the JBoss server -> Open launch configuration -> Classpath -> Bootstrap Entries.
After this I readded JRE6 to Eclipse for the projects that used it.
change jvm in jboss's tomcat conf from
C:\Program Files\Java\jre6\bin\server\jvm.dll
to
C:\Program Files\Java\jre6\bin\client\jvm.dll
I posted the below answer here
I've just been struggling with this same problem in Eclipse and I noted that as suggested by the answer above the JBoss site has a thread on this issue saying the same as the answer above to copy files from the jdk to the jre folder.
I noticed that you can avoid having to do this if you define the runtime to be the jdk when you create the server. I didn't find how to edit an existing server though.