Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 15:18:49 +0300
From:      Achilleas Mantzios <achill@matrix.gatewaynet.com>
To:        freebsd-java@freebsd.org
Cc:        Sam Wun <swun2010@gmail.com>
Subject:   Re: J2EE for freebsd?
Message-ID:  <200907131518.49926.achill@matrix.gatewaynet.com>
In-Reply-To: <736c47cb0907130439k53fe233ft550f9acf523c0a8a@mail.gmail.com>
References:  <736c47cb0907130439k53fe233ft550f9acf523c0a8a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=CE=A3=CF=84=CE=B9=CF=82 Monday 13 July 2009 14:39:37 =CE=BF/=CE=B7 Sam Wun=
 =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5:
> HI,
>=20
> 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:
>=20

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
>=20
> I think diablo-jdk1.6.0 is not J2ee.
> How to setup a j2ee enviornment in freebsd (7.2 stable)?
>=20
> 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.
>=20
> Thanks
> Sam
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>=20



=2D-=20
Achilleas Mantzios



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