Search Results

ナレッジベース 3817
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
java.lang.ClassCastException: class javax.mail.Session cannot be cast to class javax.mail.Session error when configuring email delivery using JNDI
Issue We have configured email delivery using the application server JNDI mail resource, adding the following property to the portal-ext.properties file mail.session.jndi.name=mail/Session  We followed this Liferay...
Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis
Issue We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class Environment...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v5_2_2.DLFileEntryDDMFormInstanceRecordUpgradeProcess
Issue During the upgrade process from DXP 7.3 to DXP 7.4, a NullPointerException is being reported with the following stack trace: 2023-04-04 17:03:17.835 INFO [main][UpgradeProcess:145] Failed upgrade process...
Fragment's Edit/Update Date Isn't Getting Updated
Issue When making edits to fragments and publishing those fragments, the "Modified time" of the fragment is not updated accordingly. Steps to Reproduce: Navigate to Design > Fragments Add a Fragment Collection and create...
Saving Site Settings - Languages takes a long time
Issue The issue can be reproduced with the following steps: 1. Go to configuration then select site setting. 2. Select Define a custom default language and additional available languages for this site. 3. Click on save....
Navigating to URL after setting Redirect Pattern is giving 404 error
Issue When Redirect Pattern is defined such as below to redirect pages, navigating to the URL gives 404 error instead of redirecting properly. Environment DXP 7.4 u65 and lower Resolution By default, patterns defined...
Adding and deleting a Fragment before publishing the page still count
Issue The issue can be reproduced with the following steps: 1. Add a new Fragment Sets. 2. Add a new Basic Fragment. 3. Create a Content Page. 4. Add the newly created fragment to the Page and delete the fragment from the...
Portal getting slow/down frequently
Issue Liferay portal gets too slow or down frequently and below threads are observed in the thread dumps: at java.util.regex.Pattern$BnM.match(Pattern.java:5483) at java.util.regex.Matcher.search(Matcher.java:1248)...
After changing the default language of a site I can no longer create objects
Issue Changing the default language on a site leads to an error when creating an object. The UI shows this error: Unexpected token '<',"<!DOCTYPE "... is not valid JSON Environment Liferay DXP 7.4 Resolution This...
How to stop generating the redundant logs in {liferay_home}
Issue Liferay logs are generated in multiple locations: Users want to stop generating redundant logs in multiple locations. {liferay_home}/tomcat/logs/catalina.out {liferay_home}/logs/liferay.xyz.log...
Frontend server or load balancer IP is displayed in the HTML source code of Liferay pages
Issue We have detected that if you go to the "view page source" option, open the HTML source code of any Liferay page and search the getRemoteAddr text, you will see the internal frontend server (Apache, Nginx) or load...
Headless API returns BAD REQUEST when a friendlyURL contains a forward slash
Issue The Headless API returns "HTTP Status 400 - Bad Request" when a / is included in a friendly URL The error can be thrown using these steps: - Login to Liferay as Admin - Go to the headless API page:...
Widget Configuration is not visible with custom theme
Issue Steps to Reproduce: Generate a theme with Liferay theme generator. Start the bundle and log in as admin. Deploy the created theme. Add a widget page and drop an out-of-the-box widget on it. Apply the theme to the...
DL Reference Observed When Publishing Web Content to a Live Site
Issue When publishing web content to a live site, the following DL Reference may be observed: $dl-reference=/group/123456/com.liferay.document.library.kernel.model.DLFileEntry/123456789.xml$ The root cause of this...
org.jdom dependency can not be resolved in custom development after Liferay DXP 7.3 U10
Issue If you have a dependency of org.apache.velocity, version "1.6.4.LIFERAY-PATCHED-1" (or 2) in a custom development, org.jdom package is not going to be resolved on deployment time after upgrading to Liferay...
Compilation error in unschedule job
Issue Custom development not compiling due to arguments mismatch in Unschedule method: Compilation failure: method unschedule in interface com.liferay.portal.kernel.scheduler.SchedulerEngineHelper cannot...
Asset Publishers on Content Pages show error messages in the remote live server
Issue Asset Publishers on Content Pages show error messages in the remote live server. This issue appears in a multi-server environment where a site is configured for remote staging AND the live servers are...
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" after upgrading to a new 7.4 Update version
Issue After upgrading from DXP 7.4 Update 55 to Update 58, exception java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" is thrown during Liferay startup 2023-02-28 12:15:02.136 ERROR...
Maximum Days to Display option not working as expected in Calendar event
Issue Steps to Reproduce: 1) Start a Liferay bundle 2) Add Calendar portlet to a page. 3) Go to Configurations of calendar portlet. 4) Go to display settings and do the following settings. i) Enable only the Agenda...
The webapps folder is re-created
Issue We have moved the $CATALINA_HOME/webapps folder to a separate partition. We have updated the appBase attribute to point to the new directory, and have deleted the original webapps folder under $CATALINA_HOME. We are...
Task scheduler extending BaseMessageListener not working after restart
Issue A task scheduler component extending BaseMessageListener works correctly when deployed to Liferay. When the server is rebooted, though, the task is not registered and it won't be executed. Environment Liferay...
The Layout Page Template Entry Widget Page Template Name could not be imported
Issue A page template cannot be imported Steps to Reproduce: 1) Create a site named 'Test Site 1' 2) In Test Site 1, Design -> Page Templates -> Page Templates, create a new set. 3) Under the set, create a widget...
Unable to create message factory for SOAP
Issue When attempting to implement a soap client to call remote soap services, the following error occurred: Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ...
ConnectionPoolTimeoutException: Timeout waiting for connection from pool exception when using HttpUtil.URLtoString method from a custom development
Issue We are using Liferay URLtoString  method from  com.liferay.portal.kernel.util.HttpUtil in our custom development to call an external web service We are getting ConnectionPoolTimeoutException: Timeout waiting for...
The exception "java.lang.NoClassDefFoundError: aries/base/Parameter" occurs after upgrading from 7.3 GA1 to 7.3 Update 21
Issue I am seeing this error after upgrading Liferay 7.3 GA1 to 7.3 Update 21 with WebLogic 12c R2 java.lang.NoClassDefFoundError: aries/base/Parameter   Environment DXP 7.3   Resolution Update the portal property...
Unable to sort the entries by using the External Reference Code
Issue It's not possible to sort the entries by using the External Reference Code Steps to Reproduce: 1) Create an object 2) Create Field text 3) Navigate to View tab > Create a Custom View > Mark as default 4)...
The mandatory field Language of object is empty and is possible to save the changes
Issue Why it is possible to save the mandatory Language field without any value? Steps to reproduce: 1) Navigate to Control Panel > Object > Objects 2) Create a custom Object 3) Create a Text field 4) View this...
Receiving NoSuchMethodError on DLAppService.AddFileEntry function
Issue Using the following method, to add file entries to the portal, at deployment: addFileEntry(   String externalReferenceCode, long repositoryId, long folderId,                 String sourceFileName, String...
WYSIWYG editor in custom jsp is not working
Issue Adding a WYSIWYG editor to a portlet by following this document is not working with the below error 2023-01-02 10:04:42.080 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /announcements...
com.liferay.petra.process.ProcessException: java.io.IOException: Broken pipe error during indexation process
Issue We have configured the text extraction functionality in an external process using the configuration: text.extraction.fork.process.enabled=true...
Unable to define the searchable option with new objects fields
Issue Unable to configure the searchable options of new fields added to an object after it has been published. Steps to reproduce: Create an object: 'Pets' Add a new field: 'petName' (Text, indexed as text) Publish...
Unable to Publish Object Definition Relationships after Importing
Issue The user is not able to publish Object Definition relationships after importing them Steps to reproduce: 1) Navigate to the Applications Menu -> Control Panel -> Objects 2) Import one Object Definition with a...
Options missing in portlet menu when using theme generator generated theme
Issue When using a base theme generated by the theme generator following the steps listed here, the portlet menu only displays "Permissions" and "Configuration Templates". Environment Themes generated for Liferay 7.4...
Upgrade error "Column AssetEntries_AssetCategories.ctChangeType already exists with different type than BOOLEAN" occurs with Oracle 19c database
Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these principles...
Hypersonic Database Error - org.hsqldb.HsqlException
Issue We are testing in a new environment and are seeing the following error in the log: ERROR [Portal Dependency Manager Component Executor--2] [UpgradeStepRegistratorTracker:184] Failed upgrade process for module...
Error when we create a site with Minium template
Issue When creating a new Site using Minium template, the following stack trace is seen in the logs: 2022-09-22 13:06:24,120 main ERROR Could not create plugin of type class...
How to fix the error: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true"
Issue When starting one Liferay node, the following error is written to the log file: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true". The Liferay server is using...
Non logged in users can see the permission portlet
Issue Non logged in users can see the permission portlet via a certain URL Environment Liferay DXP 7.2 Resolution Remove com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet from the default property...
Creating a notification template throws a SQLSyntaxErrorException: Unknown column 'notificati0_.classNameId' in 'field list'
Issue When I attempt to create a notification template, the creation fails and I see a SQLSyntaxErrorException: Unknown column 'notificati0_.classNameId' in 'field list'> in the logs. I recently updated Liferay...
Endpoint doesn't work if I use the path specified in /api/jsonws page
Issue When we open the /api/jsonws page in Liferay and would like to use any endpoints that are namespaced, nothing happens This means that all endpoints that are not under the context name of "portal" are...
Broken pipe message in the log when opening Liferay for the first time
Issue Opening Liferay in the browser after removing the osgi/state folder (due to patching best practices) shows the following error message in the log: 2020-04-01 03:54:29.581 ERROR...
Alter published Object on Oracle DB
Issue Once an object has been published, it's not possible to alter the object when using Oracle DB. Environment DXP 7.4 Resolution To resolve this behavior, update your installation to 7.4.13 DXP U47, or open a...
Asset Libraries throw warnings after upgrade from DXP 7.3
Issue During or after upgrade from DXP 7.3 the following output is visible in the log: WARN [Portal Dependency Manager Component Executor--1][BasePortletIdUpgradeProcess:511] null...
Can I change the permission for Liferay logs?
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Unable to set company logo
Issue Steps to reproduce: 1. Start Liferay DXP 7.2 2. Navigate to Control Panel > Configuration > Instance Settings > Instance Configuration > Appearance. 3. Set a custom company logo. 4. Click Save. Expected...
"Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER" error while server restart
Issue "Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER" error has been observed while server restart. Environment Liferay DXP 7.2 Resolution If you have a cluster setup and you have restarted one of...
Column publishDate Liferay upgrade error
Issue When upgrading Liferay the error "Column publishDate does not exist in table Layout" appears. Environment DXP 7.0 DXP 7.3 Resolution To resolve this behavior, open a help center ticket to request a hotfix...
Attribute in portlet session cannot be found from theme
Issue Set an attribute in a portlet's session, like this: @Override public void render( RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException { HttpServletRequest...
Why is the User-ID counter decreasing in a cluster system?
Issue At new user creation the User-ID counter is decreasing in a cluster system. This can be a problem when using Service Builder. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP...
If you change the screen name in the API, the My Dashboard URL is not changed.
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Custom service does not work using API JSON
Issue We developed a custom service using service builder. The service method receives a string as parameter. We access it through JSON API. When the string length is short (some hundred of kilobytes), the service...
Web Content does not appear in Web Content Display after upgrade
Issue After upgrading Liferay from an older version to a newer version, web content that was created with the older version is not showing up in the Web Content Display Widget as an option to be selected.   Environment...
ClassNotFoundException when deploying a custom WAR portlet module in the folder deploy
Issue Errors like the following one appear when deploying a custom WAR module in the deploy folder: ERROR [fileinstall-directory-watcher][HotDeployImpl:213] com.liferay.portal.kernel.deploy.hot.HotDeployException:...
Elements are Missing from my JDBC_Ping Clustered Environment
Issue Elements are missing from my JDBC_Ping clustered environment, and I'm seeing Unsupported template manager ftl errors in the logs. When I disable clustering, the elements are all present. Environment DXP 7.2...
Is using MySQL 5.6 with collation CHARACTER SET utf8mb3 recommended?
Issue Using Liferay 7.0 with MySQL 5.6 with collation CHARACTER SET utf8mb3 has certain limitations.  Environment Liferay 7.0 Resolution By default, Liferay creates database tables in MySQL 5.6 with utf8mb3...
sun.reflect.Reflection.getCallerClass Warning message during portal startup
Issue You might encounter the following error message during portal startup if you use Java 11: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. Environment DXP 7.0+ ...
Redirect URL not working in DXP 7.4
Issue Redirect URL is not working in DXP 7.4 Back Button doesn't work in a DXP 7.4 environment with redirects configured. Environment DXP 7.4 Resolution redirect.url.security.modehas been removed in DXP 7.4 from...
module.framework.system.packages.extra Moved From portal.properties to system.properties
Issue After attempting an upgrade to DXP 7.4 Update 49 we are experiencing issues that suggest the below property may have been deprecated or moved. module.framework.system.packages.extra=/ Environment DXP 7.4 Update...
NullPointerException in com.liferay.layout.page.template.service when upgrading from 7.0
Issue Following error appears when upgrading from 7.0 to 7.4 if page template has no name: Caused by: java.lang.NullPointerException at...
TemplatePortletPreferences.reset() is not available
Issue A Web Content Template from previous versions with the following code is rendered: <#assign journalArticlePreferencesMap = {   "portletSetupPortletDecoratorId": "barebone",   "groupId": "54321",   "articleId":...