This content has been marked as final. Show 9 replies
I uninstalled Java 7 and now working on Java 6.
I did the needed change for glassfish to work with Java 6.
But when trying to access :
I get access denied even though the credential are correct ...
Have you tried to acces it through https (since you had to turn enable-secure-admin on for GlassFish as well)?
But does not work...
this is the message i am getting :
HTTP Status 403 - Access to the requested resource has been denied
type Status report
messageAccess to the requested resource has been denied
descriptionAccess to the specified resource (Access to the requested resource has been denied) has been forbidden.
GlassFish Server Open Source Edition 3.1.1
I was checking the Configuration in Glass fish, and found the following:
default-configHow can I make the default-config running ??
server-config server Running
* By the way: I am aware that Group IDshould be ( Admin )
Hi Fateh,1 person found this helpful
403 means your user has been authenticated successfully but it doesn't have the right role mapped.
You indicate that your user has Admin role, and probably you also defined that role case sensitive. Did you also choose the right realm for that user? It should be the realm file .
Perhaps you have to restart GlassFish to make sure the user and role information are present for APEX Listener.
How can I make the default-config running ??You can't. See the [url http://docs.oracle.com/cd/E18930_01/html/821-2426/abdjl.html#scrolltoc]corresponding section of the HA-Admin Guide for more details. Though for Oracle GlassFish, these concepts are implemented equally in the OSE.
Why would you think there is a need to switch to that one?
I'm not a GlassFish expert (and this is no GlassFish-Forum... ;) ), but if you want a fresh start, you could do one of the following two things:
1) overwrite your server-config with default values
2) create and assign a new config
In both cases, stop your instance and create a backup of your domain.xml.
For 1) you edit the domain.xml and overwrite the block below
up to the closing tag for config with the values from
and restart your instance. Note that the default-config has different ports and settings than you might expect from your server-config.
For 2) you could either start your instance again and copy the config via admin console (or GUI), or edit the domain.xml manuall by creating a copy of the whole block of the default-config within the configs tag and rename it, e.g. to test-cofnig. Then change your instance to use that config by editing the referenced config, e.g.
<server name="server" config-ref="test-config">
Why would you think there is a need to switch to that one?I was checking the Forum for a similar problem, and I found a long thread between you and one of Oracle Advocate.... you suggested to make sure that the default server is running ...
However, I think the cause of my problem is that I installed Glassfish first with Java 7 then changed to Java 6 .... The ideal solution was to uninstall Glassfish and reinstall it again ....
I'm glad to hear you've got it working.
you suggested to make sure that the default server is runningYeah, that meant more or less that I wanted to make sure that no other configuration change (like JVM parameter) had been effective without noticing. "default server" in that sense meant to (re)create the configuration that shipped, not actually the "default-config". Sorry for any confusion I might have caused by that. ;)
However, I think the cause of my problem is that I installed Glassfish first with Java 7 then changed to Java 6.I think so, too. Probably some issue with different versions of the hash/encryption function or something like that used in Java 7 without downward compatibility. Though I'm not a GlassFish expert, I assume that the authentication in file realm is somehow linked with Java's keytool which had several changes from Java 6 to Java 7.
Anyhow, have fun with your new instance. And thanks for reporting back after you've solved the problem!
I have the same problem with accessing listenerAdmin and listenerStatus...
Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
Glassfish 3.1.2 and Apex...
after changes in domain.xml to use default-config i cant access GlassfishAdmin interface
Ive already created two users: adminlistener(group Admin) and managerlistener(group Manager).
Glassfish admin interface use port 4848
port for domain (apex) is 8080.
I have change apex http port:
Everything works ok, but just cant access to listenerAdmin and listenerStatus
Here is my domain xml http://www.textswell.com/read,4234894017551
Edited by: Nihad Haskovic on Nov 21, 2012 3:25 AM
please don't resurrect threads for questions that have been answered long before, but open a new one for your issue.