Create New Server
In NetBeans...
Tools | Servers | Add Server
- Server: Liferay Portal Server 5.1.x/5.2.x
- Name: Liferay 5.2.3 (GlassFish 3)
- Server Type: GlassFish / Sun Java System AppServer
- GlassFish Home: /usr/local/liferay-portal-5.2.3/glassfish
- Domain Dir: /usr/local/liferay-portal-5.2.3/glassfish/domains/domain1
- Domain: domain1
- User Name: admin
- Password: adminadmin
- Http Port: 8080
- Admin Port: 4848
- Portal Context: /
- Portal Deploy Dir: /usr/local/liferay-portal-5.2.3/glassfish/domains/domain1/applications/liferay-portal
- Checked: Directory Deployment Enabled
- Auto Deploy Dir: /usr/local/liferay-portal-5.2.3/deploy
Test
In NetBeans...
Services (tab) | Servers | Liferay 5.2.3 (GlassFish 3) | Start
In a web browser, go to...
http://localhost:8080/web/guest
In NetBeans...
On the Output panel, click the Stop Server icon.
when i try to start glassfish via netbeans
ReplyDeletethere comes this message:
'java' is not recognized as an internal or external command,
operable program or batch file.
have the jdk in the path directory. when i manually open a cmd window the "java" command works.
any idea?