Erinevus lehekülje "FreeBSD Glassfish" redaktsioonide vahel
3. rida: | 3. rida: | ||
GlassFish is based on source code donated by Sun and Oracle Corporation's TopLink persistence system. It uses a derivative of Apache Tomcat as the servlet container for serving Web content, with an added component called Grizzly which uses Java NIO for scalability and speed. | GlassFish is based on source code donated by Sun and Oracle Corporation's TopLink persistence system. It uses a derivative of Apache Tomcat as the servlet container for serving Web content, with an added component called Grizzly which uses Java NIO for scalability and speed. | ||
− | Esimesena on vajalik paigaldada java | + | Esimesena on vajalik paigaldada java selle installi on käsitletud tomcati installi juhendis |
+ | http://kuutorvaja.eenet.ee/wiki/Jakarta-tomcat | ||
For installation of Apache Maven - | For installation of Apache Maven - |
Redaktsioon: 22. juuni 2009, kell 09:49
GlassFish is an open source application server project led by Sun Microsystems for the Java EE platform. The commercial version is called Sun GlassFish Enterprise Server. GlassFish is free software, dual-licensed under two free software licences: the Common Development and Distribution License (CDDL) and the GNU General Public License (GPL) with the classpath exception.
GlassFish is based on source code donated by Sun and Oracle Corporation's TopLink persistence system. It uses a derivative of Apache Tomcat as the servlet container for serving Web content, with an added component called Grizzly which uses Java NIO for scalability and speed.
Esimesena on vajalik paigaldada java selle installi on käsitletud tomcati installi juhendis http://kuutorvaja.eenet.ee/wiki/Jakarta-tomcat
For installation of Apache Maven -
cd /usr/ports/devel/maven make install clean
For installation of Apache ANT -
cd /usr/ports/devel/apache-ant make install clean
For installation of ported NSS -
cd /usr/ports/security/nss make install clean
For installation of ported NSPR -
cd /usr/ports/devel/nspr make install clean
Tõmbame FreeBSD jaoks Glassfish source
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout -r SJSAS91_FCS_BRANCH glassfish/bootstrap
Seadistame kuhu kohta tekib glassfishi install
/workspace/glassfish/bootstrap/build.properties
glassfish.home=/usr/local/glassfish
cd glassfish/bootstrap maven checkout
Bootstrap option: Build your own module using pre-built server
maven -Dmodules=mail,activation bootstrap build maven configure-runtime
/usr/local/glassfish/bin/asadmin start-domain Starting Domain domain1, please wait. Default Log location is /usr/local/glassfish/domains/domain1/logs/server.log. Redirecting output to /usr/local/glassfish/domains/domain1/logs/server.log Domain domain1 is ready to receive client requests. Additional services are being started in background. Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b61-fcs)] with its configuration and logs at: [/usr/local/glassfish/ domains]. Admin Con sole is available at [1]. Use the same port [4848] for "asadmin" commands. User web applications are available at these URLs: https://localhost:8181 . Following web-contexts are available: [/web1 /__wstx-services ]. Standard JMX Clients (like JConsole) can connect to JMXServiceURL: [service:jmx:rmi:///jndi/rmi://koolitaja.eenet.ee:8686/jmxrmi] for domain management purposes. Domain listens on at least following ports for connections: [8080 8181 4848 3700 3820 3920 8686 ]. Domain does not support application server clusters and other standalone instances.
Ligipääs toimub sellele urli kaudu
http://veebiaadress.ee:4848/login.jsf
Kasutajaks vaikimisi admin ja parooliks adminadmin
Kui on vaja javat ühendada mysql'iga tuleks paigaldada MySQL Connector/J
cd /usr/ports/databases/mysql-connector-java make install clean