This discussion is archived
1 Reply Latest reply: Mar 31, 2012 12:04 AM by gabosu RSS

Deploying Mapviewer on Glassfish?

d_wilhelm Pro
Currently Being Moderated
Hello,

i'm trying to setup mapviewer with glassfish. Deploying mapviewer.ear (or the war file inside it) worked fine, mapviewer is starting up and i can access the mapviewer page.

But i'm not sure on how to configure the necessary map_admin_role in glassfish so that i can login as oc4jadmin.

What do i have to do to login as oc4jadmin?


Regards,
Dirk
  • 1. Re: Deploying Mapviewer on Glassfish?
    gabosu Newbie
    Currently Being Moderated
    Steps to perform:

    Configurations>server-config>Security
    make
    Default Principal to Role Mapping = Enabled

    Configurations>server-config>Security>Realms>file
    make user
    map_admin_role with the asadmin role

    Deploy the web.war

    All should be fine at the admin login time.
    I have troubles after that because lot of pages are not running so fine.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points