This content has been marked as final. Show 9 replies
I assume, you deployed the APEX Listener to domain1.
How did you copy the images into docroot/i exactly? Is the content accessible by GlassFish? If you use Linux/Unix, you could check whether file permissions fit for the user you let execute your GlassFish. If that's not the reason: Have you copied "images" or just everything "below" images into the docroot? It should just be everything below. You could try to access a file from your "images" files directly: http://127.0.0.1:9090/i/apex_version.txt
Thank you Udo. http://127.0.0.1:9090/i/apex_version.txt throws me hint. I have missed leading '/' during apex installation. I have changed image directory correctly and all looks good.
I'm facing problem while deploying apex listener in glassfish 3.0.1. So far I have done
- Installed 10g XE
- Installed APEX 4.0
- Unlocked APEX_PUBLIC_USER account and reset the password
- Installed Glassfish 3.0
- Created admin and manager users
- Deployed apex.war
- Created "i" folder in C:\glassfishv3\glassfish\domains\domain1\docroot and copied images from APEX directory
- Completed listener configuration http://127.0.0.1:9090/apex/listenerConfigure
When I try to open the Apex page http://127.0.0.1:9090/apex images and css are not loaded. Already I have spent a day, went thro documentations and I couldn't figure out what I'm doing wrong. Can someone help on this please?
I have the same problem. But , under user "root" everything works fine, under user "oracle" images are not loaded. User oracle are owner folder where glassfish installed.
And one more problem. Apex Listener doesn't understand role Admin and user adminlistener. Every time I have recieved message : access denied.
Please, help me ((
Sorry for my bad english,
Edited by: 843328 on 10.03.2011 2:41
if you can access the images with the root user, you probably copied the images as root into the GlassFishs context, so the file access rights may be different from the other GlassFish directories. You could check and or correct that (recursively).
Concerning your role/user problem: You have to create those roles and user. The username can be any, but the rolenames must match exactly (also case-sensitive) the rolenames given in the documentation.
thanks a lot for Your answer.
I think so and give all permissions to user "oracle" , but problem not gone (
Concerning my role/user problem: I do everything exactly like it discribe in the documentation.
Can Oracle databse influence on Glassfish and Apex Listener? My database is copy of the same another database.
And yes, I'm newbie :)
When i'm starting Glassfish under root and going on Listener Admin page on status panael i've : APEX Listener is not configured. I am lunching http://myhostname:8080/apex/listenerConfigure before that, and recieve :The APEX Listener is already configured. Please login as Administrator to access APEX Listener Administration.
Sorry for my bad english.
Edited by: 843328 on 10.03.2011 3:16
Edited by: 843328 on 10.03.2011 3:18
I don't think the database is responsible for that behaviour - if it was, the whole scenario shouldn't work when GlassFish is started by "root" either.
Unfortunately, I can't think of any reason despite a file permission problem that would explain why images etc. aren't displayed when started by the standard GlassFish-user.
As for the role-configuration, this should definetly work if you can run listenerConfigure and the roles are created and assigned to the user you plan to use. Please don't take offense if I ask that way, but did you really create that role for the right server configuration? Possibly you changed that in the default-config and it is not applied to your actual instance settings.
Hi Udo ,
Thanks a lot for Your help.
I decided to reinstall database. Now my database is oracle 10g and apex 4.0. Problem with image gone.
What should appear after going http://localhost:8080/apex/listenerConfigure ?? I have the same page witch appear after http://localhost:8080/apex/listenerAdmin
About my config , i do changes in server-config , file realm.
Sorry for my bad english
sounds good so far. listenerAdmin is basically similar to listenerConfigure but listenerConfigure is just for the first runtime configuration and can't be used again. listenerAdmin can't change db-parameters again, though you can see them.
Of course, you can change entries in your config file with any editor, but you'll need to restart the web app to let those changes take effect.
Thanks a lot for Your help. Everything works fine.