How to install JBoss-3.0.4 on WinXP

My windowXP is on D drive and I am using JDK1.4 which is also installed in D drive. Than I set the path of JBoss-3.0.4 but it is not working.

What is not working?  You get errors?  How did you start it? What path did you set?

Installing jboss is as easy as unzipping the tar/zip then run the executables found at <Jboss_home>/bin

Now depending on how you use jboss, you need to configure it.

If you want to solve a specific deployment problem, this is the right place to go.  If you want to learn how to deploy ejbs in
Jboss, go to Jboss site and download the tutorial.  All of us start there - no shortcuts.

Steve

Actually, I am getting the error on Dos-prompt like "Could not locate \lib\tools.jar,  Make sure that JAVA_HOME points to a JDK not a JRE", inspite of I have set all the paths correctly in Environment Varible of System properties. why is it so? Is JBOSS-3.0.4 not compatible with JDK1.4.

The problem is with the JBoss package you have. I have gone through this before. The files are not complete with the JBoss you have. Look inti all the folders you have. There will be a lot of files missing.  Then I just went with JBoss 4.0.   I got it from JBoss.org   Its complete. You wont find any problems  with it.

Udaya Kiran

olala...  Now let us not mislead anyone.  If you have downloaded jboss correctly and untarred/unzipped them with no errors it
should be fine.  The problem is you have jdk which is not enough.  jboss needs sdk since it needs to compile JSPs. yes sir they compile JSPs!

JDKs are only for stand-alone / no-compile apps.  but jboss does so it needs SDK.

Just do run.sh -c all (assuming that you are using clustered environment) command or run.sh -c default (for non-clustered ones).

Look at inside server directory.  Whatever folder you have means that is the version of tomcat ur running. if you have all run it as -c all or if you  have default run it as -c default.

In windows I think you need to use run -c all or maybe run.bat -c all... not sure. you have to ask poor people who run jboss in windows.

I have been using jboss for 2 years now and I guarantee you there aren't no wrong with it.  Just use j2sdk and it works like a charm.

For linux users make sure you have set environment settings in .bash_rc or /etc/profile/ or /etc/environment depending on your linux distro or you will meet the same problem.  jboss rules!  its free, its open source (so you can trim it down and remove the stuff you dont need then compile it), no installation needed (like if you have this jboss running in one linux machine all you need to do is copy or scp the whole folder to another linux/windows machine and it works the same), stable, fast deployment (man i tried weblogic 6 before and it sucks the way you deploy thru their web based console) and 100% java (unlike websphere
that needs IBM VM for it to run).

When I say JDK I mean JRE... I still have the hang over from Java Dev Kit and it can't get out of my system...

Steve

Related:

Java Books
Java Certification, Programming, JavaBean and Object Oriented Reference Books

Return to : Java Programming Hints and Tips

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site www.erpgreat.com is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.