J2EE for freebsd?
Achilleas Mantzios
achill at matrix.gatewaynet.com
Mon Jul 13 12:58:31 UTC 2009
Στις Monday 13 July 2009 14:39:37 ο/η Sam Wun έγραψε:
> 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:
>
Thats pretty normal, diablo is about J2SE classes.
Just try and find a 1.6-compatible j2ee jar file from
jboss as you have thought.
> # 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
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>
--
Achilleas Mantzios
More information about the freebsd-java
mailing list