Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 21:39:37 +1000
From:      Sam Wun <swun2010@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   J2EE for freebsd?
Message-ID:  <736c47cb0907130439k53fe233ft550f9acf523c0a8a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
HI,

I have installed diablo-jdk1.6.0 and runnign fine wtih general jvm,
but when I compile a ejb java class, it generated compile-time error
"javax.ejb does not exist".
the following result shown that the diablo-jdk1.6.0 does not include
j2ee.jar file:

# pwd
/usr/local/diablo-jdk1.6.0/lib
lib # pwd
/usr/local/diablo-jdk1.6.0/lib
lib # ls -l
total 27928
drwxr-xr-x   2 root  wheel       512 May  9 18:50 ./
drwxr-xr-x  11 root  wheel       512 Jun  9 23:23 ../
-rw-r--r--   1 root  wheel  15262666 May 13  2008 ct.sym
-rw-r--r--   1 root  wheel    145492 May 13  2008 dt.jar
-rw-r--r--   1 root  wheel    205921 May 13  2008 htmlconverter.jar
-rw-r--r--   1 root  wheel     18381 May 13  2008 ir.idl
-rw-r--r--   1 root  wheel    391909 May 13  2008 jconsole.jar
-rw-r--r--   1 root  wheel       429 May 13  2008 orb.idl
-rw-r--r--   1 root  wheel  12476752 May 13  2008 tools.jar

I think diablo-jdk1.6.0 is not J2ee.
How to setup a j2ee enviornment in freebsd (7.2 stable)?

Since this java program is running ok in JBOSS 5. should I just copy
the jar file from JBOSS server to the remote machine? The JBOSS server
is also a freebsd 7.2 server. the remote machine is running Tomcat and
I am writing client application in the Tomcat server (freebsd) to
communicate JNDI service provided by the JBOSS server. I can run thsi
ejb program under JBOSS environment without any problem.

Thanks
Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?736c47cb0907130439k53fe233ft550f9acf523c0a8a>