Showing posts with label jboss. Show all posts
Showing posts with label jboss. Show all posts

Monday, December 07, 2009

Some Fedora 12 issues

There are some issues with Fedora 12 and some workarounds:

- Eclipse:
-- Problem:
Some buttons, specially OK and Finish, are not responding to the mouse click. You need to focus the button (mouse over it, for instance) and then press ENTER.

-- Solution (first attempt):
You need to override an environment variable and then execute eclipse:

#---
GDK_NATIVE_WINDOWS=true eclipse
#---


-- Solution (for desktop laucher):

Create the following script and add it as the launcher command:

#---
cat > ~/bin/eclipse.sh << __END__
GDK_NATIVE_WINDOWS=true eclipse
__END__
chmod 755 ~/bin/eclipse.sh
#---




Source: http://forums.fedoraforum.org/showthread.php?s=a3c988d542abeeb3b04991ab5c12070d&p=1301362#post1301362

Friday, July 10, 2009

JBoss AS 4.2.3

To install JBossAS 4.2.3 is pretty straight forward with one little trick. Visit my fedora road map and add the JPackage repository for version 5.0. After that just execute the following:

#---
yum -y install \
jbossas
sun-jaxb-1.0-api \
sun-jaxb-1.0-impl \
sun-jaxb-2.1-api \
sun-jaxb-2.1-impl \
jbossweb-repolib
#---


The trick is not to install but to run it. For development you usually are on a desktop and you probably specified an invalid DNS computer name, I do. To find out which are yours:

#---
hostname
#---


To check if your name is right:

#---
ping `hostname`
#---


My returns: ping: unknown host note.tarja

So why am I telling you this. Because when running JBoss locally it will ignore your IP configurations and use the "name" returned by hostname. To avoid getting too much of a headache fix it right now with:

#---
echo "127.0.0.1 `hostname`" >> /etc/hosts
#---


And check it once again:

#---
ping `hostname`
#---


Now you can run your JBoss with this little bastard out of your way.