J2EE for freebsd?

Sam Wun swun2010 at gmail.com
Mon Jul 13 12:01:04 UTC 2009


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


More information about the freebsd-java mailing list