This chapter describes issues associated with Oracle User Messaging Service. It includes the following topics:
This section describes general issue and workarounds. It includes the following topic:
Section 30.1.2, "XML File Handle Left Open after Upload Fails"
Section 30.1.4, "User Messaging Service URLs Unavailable After Restart"
Section 30.1.5, "User Preferences User Interface Renders Improperly"
In order for Oracle User Messaging Service to run as a specific user, a code-based permission grant is required. This grant is pre-seeded in WebLogic domains that are created after the Fusion Middleware 11gR1 Patch Set 2 upgrade.
If you created a WebLogic domain prior to the Patch Set 2 upgrade, you must manually add this grant by running the following Oracle Platform Security Services (OPSS) WLST commands in online (connected) mode:
wls:/mydomain/serverConfig> grantPermission(codeBaseURL="file:${ums.oracle.home}/communications/modules/oracle.sdp.client_11.1.1/-", permClass="oracle.security.jps.JpsPermission",permTarget="IdentityAssertion", permActions="execute") wls:/mydomain/serverConfig> grantPermission(codeBaseURL="file:${ums.oracle.home}/communications/modules/oracle.sdp.messaging_11.1.1/-", permClass="oracle.security.jps.JpsPermission",permTarget="IdentityAssertion", permActions="execute")
See Oracle WebLogic Fusion Middleware Scripting Tool Command Reference for information regarding
grantPermission
If an error occurs when uploading a user messaging preferences XML file using the WLST manageUserMessagingPrefs
command, the XML file handle is left open. On the Microsoft Windows platform, this file cannot be deleted until you exit the WLST shell.
When no metric data is found, for example when no messages have been sent or received after server setup, the Metrics Performance page will display Unavailable. This is not a problem with the software, and the Performance reporting is operating properly. As soon as Send and Receive traffic exists, the Performance page will display results normally.
Upon restarting the User Messaging Service server (usermessagingserver) from Oracle Enterprise Manager Fusion Middleware Control or through Oracle WebLogic Console, you may get an error: Error 503--Service Unavailable
when attempting to access any URLs served by the User Messaging Service server, such as the User Preferences UI (/sdpmessaging/userprefs-ui) or the various Web Services endpoints. This error occurs intermittently in cases when the Oracle WebLogic Server is heavily loaded (such as with a SOA instance). To work around this issue:
Restart the User Messaging Service server again (two or more restarts may be required).
If multiple User Messaging Service server restarts are not sufficient, then restart the entire Oracle WebLogic Server instance.
Intermittent UI rendering errors have been reported in some languages, due to the generation of a corrupted .css file. If you experience problems, follow these steps to work around the issue:
Delete the cached, auto-generated .css file for the affected locale (or simply, all locales) on the server located at DOMAIN_HOME/servers/<server_name>/tmp/_WL_user/usermessagingserver/<random_name>/public/adf/styles/cache
and restart the usermessagingserver application using Oracle Enterprise Manager Fusion Middleware Control. Have all users clear their browser caches.
The next time the UI is accessed from a browser, a new .css file will be generated for the desired locale, and it is very likely that it will be a valid .css file. If not, repeat this process a couple of times.
If the previous solution does not work, disable content compression in the web.xml
file of the User Preferences Web Module located at DOMAIN_HOME/servers/<server_name>/tmp/_WL_user/usermessagingserver/<random_name>/sdpmessaginguserprefs-ui-web.war
. In particular, extract web.xml
, add the following <context-param/>
to it:
<context-param> <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name> <param-value>true</param-value> </context-param>
Then, re-archive it to the war module.
Finally, restart the usermessagingserver application using Oracle Enterprise Manager Fusion Middleware Control.
This section describes configuration issues and their workarounds. It includes the following topics:
Section 30.2.2, "Migrate Custom Business Terms After PS2 Patch"
Section 30.2.3, "Use Correct SSL Trust Store When Configuring Drivers"
Section 30.2.4, "User Messaging Service Driver Configuration Changes Not Immediately Effective"
After installing the PS2 patch, you must manually reconfigure your drivers, using Oracle Enterprise Manager Fusion Middleware Control. You can retrieve a backup file of your previous driver configuration at: $DOMAIN_HOME/config/fmwconfig/servers/<ServerName>/applications/<DriverName>/configuration/driverconfig.xml.bak
Restart your servers after making any changes!
After installing the PS2 patch, you must re-create any custom-built business terms using Oracle Enterprise Manager Fusion Middleware Control. A copy of the custom-built business terms is available at: $DOMAIN_HOME/config/fmwconfig/servers/<ServerName>/applications/usermessagingserver/configuration/businessterms.xml.bak
Restart your servers after making any changes!
Note:
New, pre-seeded business terms have been introduced in this release. Do not overwrite the upgraded (PS2) file with a PS1 backup (the new terms will be lost, otherwise).Before configuring any User Messaging Service Driver (such as the Email Driver) to connect to a remote gateway using SSL, ensure that the correct SSL Trust Store is used:
Update the value of the JVM system property (javax.net.ssl.trustStore) set in $DOMAIN_HOME/bin/setDomainEnv.sh
(or Windows equivalent).
When you change a driver's configuration and then restart the driver, the changes will not take effect until all managed connections in the pool are destroyed (900 seconds [15 minutes] by default). Take one of these actions to ensure that the connections are destroyed:
When performing driver configuration changes, stop the driver application and wait for 15 minutes. Then re-start the driver application.
Note:
If you follow this recommendation and the wait time of 900 seconds (15 minutes) is too long, you can reduce the time using the Oracle WebLogic Server Administration Console as follows:Click Deployments.
Select the desired User Messaging Service Driver deployment.
Click the Resource Adapter Type module.
Click Configuration > Outbound Connection Pools.
Click the DriverConnectionFactory group.
Click Connection Pool.
Edit the value of Shrink Frequency Seconds (for example, set to 120 seconds).
Click Save, and save the changes to a deployment plan file when prompted.
Restart the User Messaging Service driver deployment to include the new plan.
Remember that if Shrink Frequency is reduced to a short interval, it may eventually have a negative impact on the performance of the driver as idle connections will be recycled frequently.
OR
Restart the entire Oracle WebLogic Server after performing driver configuration changes. The new changes will take effect immediately upon server re-start.
Instructions for notification configuration include setting your outgoing server parameters. Please note that if you do not change the parameters (that is, if you leave the default setting unchanged), notifications may still be sent. This is expected behavior, but you should not rely on the default settings without verifying them. You should set your parameters to ensure that they are correct.