Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
144 views

GetPublicationMappingsFunctionImport returns NullPointerException

When we call http://<host>:<port>/client/v4/content.svc/GetPublicationMappingsFunctionImport?Url='https://www.<host>.be' we get the following error: <?xml version="1.0" encoding="...
2
votes
0answers
281 views

How do I resolve Java DXA 1.7 java.lang.LinkageError?

I have built yet another fresh Java DXA 1.7 which runs just fine on the local Tomcat 8.0 server in Eclipse Neon.3. I publish this to an Azure App Service created by using the Azure Toolkit for Java ...
2
votes
0answers
75 views

Tomcat session replication with DXA

We are using DXA Java and are facing a strange problem. We have setup a tomcat cluster and all tomcat instances are configured with IIS as the front-end. We are using Oracle 12g as the content ...
2
votes
0answers
45 views

What will be the cause this DXA Error for MediaItem class?

Please help me out for this issue. Is this the cause of contentUrl? Caused by: com.sdl.webapp.common.impl.mapping.SemanticAnnotationException: The field private java.lang.String com.sdl.webapp....
2
votes
0answers
111 views

Application throw error on Tomcat start with Java DXA 1.4 with Linux hosted server

We are facing issue with Java DXA 1.4 on Linux hosted services. All microservices are running fine. When we start tomcat it throws error: Could not load [net/sf/ehcache/version.properties] org....
2
votes
0answers
41 views

DXA 1.4 JAVA Get Id Keyword

The class Tag has the following fields: @JsonProperty("DisplayText") private String displayText; @JsonProperty("Key") private String key; @JsonProperty("TagCategory") private String tagCategory; ...
2
votes
1answer
64 views

Upgrading to DXA Java 1.4

When upgrading from an earlier release of DXA to DXA 1.4 (Java) are there any changes on the CMS side or just the DXA libraries and web application? I am asking this since we have a lot of custom ...
1
vote
3answers
352 views

SDL DXA Model Service cache not getting invalidated

We are using SDL Web 8.5 and DXA CTP 2.0 Java. DXA Model Service is configured on Linux server. When we publish any Page or Component the cache for PageModel and EntityModels are not getting ...
1
vote
1answer
103 views

The very first time Page loading takes too much time

We are facing performance issues while loading the page for first time, on an average its taking 19 seconds. However, after enabling the cache, when you refresh the page, it's loading within 2 ...
1
vote
1answer
194 views

DXA 1.8 Java Application Error

I am getting the below error while I run the Java DXA 1.8 application. Can someone help me to identify the root cause of this issue? [https-jsse-nio2-4017-exec-23] ERROR c.s.w.c.controller....
1
vote
2answers
105 views

dxa 1.4 java code compilation issue

We are trying to compile the DXA 1.4 java code through maven but facing some issues in compilation. is it possible to get all the required code in one project? D:\SDL-DXA-java\sh_dxa_git_1_4\dxa-...
1
vote
2answers
140 views

Where can I find JsonFeedView.jsp for DXA 2.0

I am trying to access my DXA model data in JSON format by using the format=json query string parameter (as outlined in the docs). However I get an error displayed: HTTP Status 404 – Not Found ...
1
vote
1answer
133 views

Page Model is null after model pipeline

I'm using DXA 2.0 GA with Sdl Web 8.5. At this stage, all I have is the out-of-the-box demo application, which I have not customised or added to. When I start it up and attempt to access the home page ...
1
vote
1answer
124 views

TokenService: Token expired message after a couple of minutes

We have a Java DXA project, which we run in a local Tomcat that's connecting to our Web 8 microservices (running in a VM). This works. But after some time, I get errors in my local web app, claiming: ...
1
vote
1answer
39 views

Upgrade from Web 8.5 to Sites 9, is DXA update from 1.8 needed?

Our customer wants to upgrade from SDL Web 8.5 to SDL Tridion Sites 9.0. We are currently running the DXA 1.8 Java version. My question is: Can we upgrade to SDL Tridion Sites 9.0 and keep running ...
1
vote
1answer
78 views

DXA Model Service upgrade

We are using DXA 2.0 Java with DXA Model Service 2.0 including hotfix CD_10.1.0.8270. Recently SDL team has released SDL DXA Model Service 2.0.3(https://github.com/sdl/dxa-model-service/releases/tag/...
1
vote
1answer
75 views

DCP link in component RTF field DOES NOT get resolved by DXA Model Service

In our DXA application, we have a component, wherein the RTF field we are creating a hyperlink to a DCP, which is published independently. Now when we try to retrieve the component's content, the ...
1
vote
2answers
92 views

DXA(Java) upgrade 1.5 to 1.8, Java 1.7 to 1.8 & spring 3.1.4 to 4.3.0 - Failed to start

I have upgraded DXA(Java) 1.5 to 1.8, Java 1.7 to 1.8 & spring 3.1.4 to 4.3.0 - I can able to compile successfully but when I start to execute my app in tomcat 9 am getting runtime exception: ...
1
vote
2answers
137 views

Include a Region in Page Template is not working in DXA 1.5 Java

We are trying to add a Region for our Global alerts site wide in Page Template. Detailed implementation steps: CT: Include PT: PT: Page: Initialize: @RegisteredViewModel(viewName = "NWAlert", ...
1
vote
1answer
205 views

DXA Breadcrumb - How it works?

where we can find the documentation for DXA breadcrumb for java? How it works? How we have to configure? Which classes and information is necessary? Thank you!
1
vote
2answers
146 views

Component link in rich text field rendered as a component tcm in view

I'm using DXA 2.0 (JAVA) with our web app. In SDL Web 8.5, I've got a Component with a rich text field. I add a hyperlink as a Component, using a standard External Link Component, created using a ...
1
vote
1answer
141 views

DXA 2.0 or DXA 2.2 with SDL Tridion Sites 9 for a new Java project

We are about to begin the upgrade of an existing DXA 1.0 Java project currently based on SDL Tridion 2013 SP1. I know it is not much of an upgrade (moving from DXA Java 1.0 to DXA 2.x), rather it is ...
1
vote
1answer
91 views

How to dynamically change the component in dxa while rendering the component presentations?

Is it possible to change the component that has to be rendered as a component presentation in java dxa 1.2. For example, if an Article component with id tcm:5-100 is inserted on the page with Article ...
1
vote
1answer
64 views

How to prevent cached binaries to get deleted on file system in DXA?

Knowing the fact that DXA expects all items including binaries to be published to the CD Broker database and it will cache binaries on file system of the web application server. But if we do a new EAR ...
1
vote
1answer
149 views

How to manage linked components in DXA Entity Model

In our DXA (2.0, Java) implementation we have a couple of scenarios where there are component links to items that can be from more than one schema. Firstly we have a generic Link embedded schema (and ...
1
vote
1answer
36 views

DXA deleted Localization Interceptor

The new version of DXA Java in master branch has no LocalizationInterceptor, and I was wondering why? We have some problems with the context where localizations are being mixed when getting content, ...
1
vote
1answer
37 views

DXA website using wrong static content version

We are setting up translated versions of our main website which is using DXA 1.5. Our main website uses version v0.2 for it's static content. The translated website we setup tries to use version v1.5. ...
1
vote
1answer
116 views

DXA 1.2 - Enabling object cache not working as expected

DXA 1.2 :: We have enabled EHCache in our application where we are caching only xml, JSON and txt files. Recently we also enabled Object Cache in cd_storage_conf.xml. Will there be any interference ...
1
vote
1answer
28 views

Java DXA 2.2 with Tridion docs java.lang.IllegalStateException: Cannot detect ViewModel for ViewData MvcDataImpl while preparing Pagemodel Object

We are upgrading java dxa from dxa-1.8 to dxa-2.2 I am facing problem generating PageModel object as it is failing to map viewdata information, we mainly need Pagemodel content information , could ...
1
vote
1answer
29 views

java dxa-2.2 Cannot create a default CIL cache configuration, fallback to default configuration

Could someone please help me on below error how to fix it. 22:45:09.431 [restartedMain] DEBUG c.s.w.c.c.c.i.BaseClientConfigurationLoader - Loaded Cache configuration: '{CacheExpirationDuration=600, ...
1
vote
1answer
36 views

Tridion Resource settings updation using /admin/refresh doesn’t work for application on multiple containers

Whenever we do publish settings with updated key/value pairs in Tridion Sites 9 we have to do /admin/refresh to clear the cache. It works fine when application is running on single container, but when ...
1
vote
1answer
51 views

Prevent this error from appearing due to invalid page requests

In Tridion 2013 we are getting generic exception for the pages that do not exist in the website. Is there a way to prevent generic errors due to invalid page requests? Thanks.
1
vote
1answer
57 views

How can I remove some unwanted urls from sitemap.xml

We are using java dxa 2.0 and default navigationcontroller.class for generating sitemap.xml. Now how can I remove some unwanted URLs (ie. some AJAX calls, email template pages and others)? Is it ...
1
vote
1answer
71 views

How to replace localization in WebRequestContext?

For some condition, I have replaced a pageModel with a default pageModel and the page contents load properly. The page loads properly. In some cases, I additionally have to change the localization ...
1
vote
1answer
133 views

Getting 500 server error in model service “Unable to perform action”

We are using SDL Web 8.5 with DXA 2.0 Java. Model service is returning 500 server error while accessing any page without HTML extension while using HTML extension it is working fine we are getting ...
1
vote
1answer
63 views

Question about governance of Keywords

We are running SDL Web 8.5 and DXA 2 (Java). We have a number of publishable Categories. Many times there are situations where more than 1 Keyword in the same Category is updated and published on ...
1
vote
1answer
118 views

Keyword information not populated

When publishing a Component with a meta field that it's a keyword, the JSON only generates the following information related with the Keyword. This is the JSON generated by the CMS, debugging with ...
1
vote
1answer
131 views

JSON output from Tridion Java DXA 1.7

I have below requirement in my project using Java DXA 1.7, I am new to DXA. Can someone provide me which Component Template and Page Template should I use for my requirement? Also how can I achieve ...
1
vote
1answer
143 views

Component Link field returns null: Cannot convert a entity model to class for a semantic field

Below is the logs I am getting for a component link field. It is a simple single text field schema (CodeBlock). The component link field returns null. There is no error in schema mapping. 15:47:52....
1
vote
2answers
407 views

How to render plain JSON (without any additional tag) data in DXA 1.5 java?

We are using Tridion 2013 SP1 with DXA 1.5 java. One of our requirement we want to serve the JSON formated data file( apple-app-site-association ) in my web site. My component schema has only one ...
1
vote
1answer
103 views

How to get value of a list of list of RichText or RichTextData

One of the ContentModelData returns content in the below format. Code 1 content = {question=Question 1?, answer={paraContent=RichTextData(fragments=[No. Answer 1 <strong>Strong text here</...
1
vote
2answers
91 views

Manually building assets - DXA 1.7

We're looking to manually build our assets for HTML design and include them in our Java application rather than have them built from the CMS. I have followed the instructions as per: https://...
1
vote
1answer
115 views

DXA using properties in cd_client_conf.xml

I was wondering if it was possible to use properties in the cd_client_conf.xml? I was expecting the same behaviour as the WEB8 microservices. In those microservices configuration files you can set ${...
1
vote
1answer
113 views

Java DXA 1.4: issue with page type, after create page throw 404

We are facing issue with creating page with Page type in experience manager with version SDL web 8.1.1 DXA Java 1.4. When we create new page using page type, page created in CMS and auto Publish to ...
1
vote
2answers
218 views

DXA 1.4 Resolving entities tag for a include region

We've got a landing page with two includes and we are not able to recover the entities related to the include. I will focus in one example, for example the header include: The generalHeader has a ...
1
vote
1answer
89 views

DXA 1.4 Managing page includes

We are managing the page includes from tag tri:page to tag dxa:region, as we found in the dxa 1.4 documentation the following recommendation to simplify the page model structure and improve the ...
1
vote
1answer
111 views

DXA 1.4 How to use an empty region

I was using the previous DXA version where it was possible to use empty regions <tri:entities region="HeaderRegion"/> Doing a migration to 1.4, we just changed the tag to: <dxa:entities ...
1
vote
1answer
937 views

Could not autowire field in custom controller

We are trying to upgrade from pre-release version of Java DXA to Java DXA 1.4.1. We have 2 custom Page Controllers and the whole setup was working fine with the older release of DXA. However when ...
1
vote
1answer
46 views

Repository for com.tridion libs 7.1.0

I can't resolve the following dependencies for a project using the DXA java version. I checked the repo1.maven and they are not there. com.tridion:cd_odata:jar:7.1.0 com.tridion:cd_odata_types:jar:7....
1
vote
1answer
49 views

DXA JAVA model type error

My DXA JAVA 1.4 website throws these warnings and errors in the log. 16:10:41.157 [http-apr-8080-exec-7] WARN c.s.w.c.impl.DefaultRegionBuilder - Could not find a model type for region Main with ...