Java Reference
In-Depth Information
4. Open the GlassFish Server Administration Console in a web browser at ht-
tp://localhost:4848.
5. In the Administration Console, expand the Configurations node, then expand
the server-config node.
6. Select the Security node.
7. Select the Default Principal to Role Mapping Enabled check box.
8. Click Save.
To Build, Package, and Deploy the mailconnector Example Using NetBeans
IDE
1. From the File menu, choose Open Project.
2. In the Open Project dialog, navigate to:
tut-install /examples/connectors/mailconnector/
3. Select the mailconnector-ra folder and click Open Project.
4. In the Projects tab, right-click the mailconnector-ra project and select
Build.
This command builds the resource adapter. It also places identical files named
mailconnector.rar and mailconnector.jar in the mailconnector
directory.
5. In the Projects tab, right-click the mailconnector-ra project and select
Deploy.
6. From the File menu, choose Open Project.
7. In the Open Project dialog, navigate to:
tut-install /examples/connectors/mailconnector/
8. Select the mailconnector-ear folder.
9. Select the Open Required Projects check box and click Open Project.
10. In the Projects tab, right-click the mailconnector-ear project and select
Build.
11. In a terminal window, navigate to:
tut-install /examples/connectors/mailconnector/
mailconnector-ear/
12. Enter the following command to create the resources and users:
Search WWH ::




Custom Search