Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dxa-java]

The tag has no usage guidance.

3
votes
1answer
16 views

Duplicate semantic entities for multimedia schemas

I have a custom multimedia schema in my DXA 2.0 Java implementation called HighResolutionImage, next to the Image schema which comes out of the box (as part of the DXA Core Module). I created a class ...
0
votes
1answer
44 views

How to resolve component links in Rich Text Field when getting content from BrokerQuery?

By default DXA resolves Component Links in Rich Text field and Component Link fields when rendering the components directly. But when we get the contents as a result of our broker Query and then ...
0
votes
0answers
38 views

Not getting proper localization component

we are having 2 languages in our website (English and Arabic) with DXA 2.0. but with this code, we are getting arabic localization component and arabic value in the variable "pageTitlePostfix". @...
5
votes
0answers
28 views

No way to leverage Tridion proximity logic in link resolving with DXA 2.0?

Tridion Dynamic Linking has built in proximity logic, that means that if the same component is on two pages, dynamic linking will link to the page which is 'nearest' the source page containing the ...
3
votes
2answers
55 views

DXA 2.0 JAVA microservice in Linux

I've installed CD microservices in Linux by creating '{service-name}.service' files in /etc/systemd/system/ and registering them. All the CD microservices run well. I tried to create in such way DXA ...
2
votes
1answer
19 views

Issue with passed entityClass to SemanticMapper.createInstance() is null

We are trying to build a Java service that fetches json data through DXA. We only need the raw data from a REST service. We created a class that extends AbstractEntityModel but it seems like the class ...
0
votes
0answers
44 views

Exception while getting field data for: private java.util.List inside mapping.SemanticMapperImpl for DXA 2.0

We are using SDL Web 8.5 and DXA 2.0 Java Version. We are getting below error in DXA log file while accessing any page: ERROR c.s.w.c.i.mapping.SemanticMapperImpl - Exception while getting field ...
0
votes
0answers
36 views

DXA 2.0 issues getting static content

In SDL 8.5 we uploaded an mp4 file with size 17 MB. The size of the file in the target folder of the DXA 2.0 Java application is only 5 MB. The DXA-application shows the stack-trace beneath this post ...
4
votes
1answer
55 views

Disable Experience Manager (XPM) DXA 2.0 Java, for specific CT

I have an issue with the DXA Experience Manager. We have XPM in some Component Template of out site, but we need to disable it for specific ones. So we have unchecked the "enable inline editing" in ...
0
votes
0answers
21 views

Default encoding gets reset to ISO-8859-1 encoding after after few requests from restart

Recently we have noticed that our form submitted Arabic fields are encoded with ISO-8859-1. We have set character encoding on all files, tomcat connector, in the entity controller but after this ...
0
votes
1answer
25 views

DXA Resolver Recursion Depth

We have set in the CMS, in Administration > DXA Resolver Recursion Depth the following value DXA Resolver Recursion Depth=2 but we are getting infinite loop when accessing the service model. Does ...
2
votes
1answer
88 views

Extended KeywordModel with metadata fails when metadata empty

This is the metadata schema that we have linked to a keyword @Data @SemanticEntity(entityName = "HotelMeta", vocabulary = SDL_CORE) public class HotelKeyword extends KeywordModel { @...
0
votes
2answers
39 views

SDL Web 8.5 DXA sample app 404

I am seeing below error in model service log. And 404 received on the website for all pages. Let me know what I am missing in configuration. 2018-07-12 04:19:46,118 WARN c.s.d.m.s.p.e....
0
votes
0answers
56 views

High memory utilization with DXA 2.0

We are using SDL Web 8.5 and DXA 2.0 Java. DXA Web application is deployed on high configuration Linux server (16 GB Ram and 8 core CPU) using Tomcat 8.5.30. We are experiencing high memory ...
0
votes
0answers
35 views

Error while running load test on DXA 2.0 website using JMETER with HTTP/2

We are using SDL Web8.5 and DXA 2.0 Java Web application while doing load test using JMeter 4.0 with HTTP/2 protocol enabled we are getting below error.The same with HTTP/1 working fine org.apache....
1
vote
1answer
76 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....
2
votes
1answer
86 views

org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON document: Unexpected character

We are getting the below error message when trying to read content that has href tag and results in bad request. 15:08:57.712 [ajp-nio-9014-exec-1] DEBUG o.s.c.a....
6
votes
1answer
59 views

Embedded Entity not getting the data from the CMS

I am working with a DXA 2.0 Java implementation where I have created 2 custom models, one for a schema and the second one for an embedded schema Below is the code This is for Entity 1 @...
0
votes
0answers
146 views

Missing KeywordModelData from a Dynamic Component using Session Content Model

We use SDL Web 8.5 + DXA 2.O for Java. Is it available somewhere the API for the CIS? We want to retrieve the keywords from a component that it's linked to a dynamic component presentation, but ...
0
votes
1answer
37 views

Navigating images giving 404 error in DXA 2.0

We are using DXA 2.0 with SDL Web8.5.We are publishing images to root structure group of the publication using custom template code but while we are trying to access the image using URL it always ...
2
votes
2answers
50 views

DXA Model service attempting to deserialize static files with no DD4T TBBs

Similar error from previously posted question but we aren't using any DD4T template building blocks in the page/component templates Deserialize DD4T content error while validating DXA Model service ...
2
votes
0answers
33 views

DXA 2.0 Java Too many open files error

We are using DXA 2.0 Java inside RedHat Linux server. The DXA Application is deployed using Tomcat 8.5. While accessing website after some time we are getting 500 error too many open files although ...
1
vote
1answer
69 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 ...
4
votes
1answer
55 views

Getting a Null Pointer exception while trying to run a DXA Webapp

I just setup a basic DXA Webapp 2.0.0 trying to get data from microservices hooked up with SDL Web 8.5 and I am trying to run it but I get a Null Pointer Exception. The DXA components were installed ...
1
vote
0answers
65 views

Error creating localization

When creating the first time a localization (Web 8.5+ DXA 2.0 using Java), the localization is found, but we get the following error when creating the config files under the BinaryData folder: ...
0
votes
0answers
37 views

PageController attending all RestFul calls because of @RequestMapping /**

We are building a Web Application using DXA 2.0 and Spring MVC which is in charge of serving some static pages using DXA and we also have some RestFul endpoint in the same application. We are facing ...
0
votes
0answers
16 views

DXA 1.5 / Tridion 2013 SP1 : HTTP 200 but no response in body

For some static assets, I am getting content length as 0 (no response) but the HTTP status is 200. In such a scenario, the CDN would cache a corrupted file with 0 byte data. Request Headers Request ...
1
vote
2answers
154 views

Multilanguage with DXA 2.0 SDL Web 8.5

We have problems setting the second Publication. We used to configure the cd_dynamic_conf.xml, but now it doesn't exist in the project. However, it seems that the documentation is not updated. When we ...
1
vote
1answer
69 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
60 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 ...
2
votes
1answer
37 views

DXA 1.7 JAVA application setup error

I am trying to set up the DXA 1.7 Java application. I followed the below steps. After the set up when I tried to run the application I got the below error. Steps Followed: 1. Downloaded the source ...
3
votes
1answer
31 views

Unable to get URL to Contextual Image Service in Java DXA 1.7

I am using DXA 1.7 Java web application from GIT hub and the DXA properties file having the below properties. Mapping for CID resolver (Filter or Servlet): dxa.modules.cid.mapping=/cid/* Class to ...
1
vote
1answer
58 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....
2
votes
0answers
22 views

How to use Favicon Media without HTML Design on DXA Java 1.7?

For our current implementation we are not using the HTML Design, and we've created a component to be included on our Header Include page, but as of now we always get the favicon as null Our Schema ...
0
votes
1answer
22 views

DXA 1.7 Java How To Get Multimedia Component Title [duplicate]

I have a problem with multimedia components on my Java DXA 1.7 implementation, we have a Download list, which accepts multimedia components, by using WebComponentMetaFactory we read the component's ...
2
votes
0answers
40 views

DXA Java web application - profile specific properties

I am new to DXA, I am currently working on DXA Java web application - built on Spring 4.x & DXA 2.0 library. We are trying to configure profile specific properties files, so that we can configure ...
1
vote
2answers
200 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 ...
5
votes
1answer
117 views

Enabling caching resulting 500 error in DXA 2.0 Java and RedHat Linux server

We are using SDL Web 8.5 with DXA 2.0 and Java. The java application is deployed on Red Hat Linux server using Java version "1.8.0_161" 64 bit and Tomcat 8.5.30 .We are getting 500 server error when ...
0
votes
0answers
51 views

Content in model of a Component link returns null in Java + DXA

I have a Schema with a Component link. The linked Component is a content of RTF fields. I have a Schema typeOnlineForm (rootname: OnlineForm) and schema field webMessage is the Component link field ...
1
vote
0answers
38 views

Binary Image component giving number format Exception

I have created the BinaryItem extending MediaItem in DXA 2.0 but BinaryItem class is giving me this error whle creating the entity model 20:13:57.831 [ajp-nio-8214-exec-1] DEBUG c.s.d.t.m.impl....
5
votes
1answer
76 views

Page Model Meta Sitemap Keyword missing in Page view

Earlier when we were using DXA CTP 2, ${pageModel.meta.sitemapKeyword} would give us the Page navigation Keyword. Since we moved to DXA 2.0, this returns no value. We are not sure if this is related ...
3
votes
2answers
67 views

Embedding DXA entities other than images in RTF fields

We are using DXA 2.0 (Java) and can see if we embed images in RTF fields that the RTF contains the embedded Image entity as part of the set of fragments generated for the RTF. However if we link to ...
5
votes
0answers
45 views

How to enrich cached DXA 2.0 custom PageModel with Localization data

When our custom (DXA 2.0 Java) PageModel gets loaded we add extra metadata. This extra data comes from Localization values. This works fine when the cache is disabled in cd_client_conf.xml. But when ...
1
vote
1answer
70 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
0answers
39 views

How to redirect to a static 404 error page, When we did custom static folder path request filter based on the request path in DXA 1.5 (Java)

How to redirect to a static (present in the file system) 404 error page in DXA 1.5 (Java), When we did custom static folder path request filter based on the request path (Ex: http://localhost:9080/cp/...
3
votes
0answers
97 views

DynamicList returns list of entities with null values

Originally, I had extended DynamicList<FAQs, SimpleBrokerQuery> from my custom model FAQsContentList where I want to execute a SimpleBrokerQuery on a few filterKeywords. In the logs I can see ...
1
vote
1answer
77 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 ...
4
votes
1answer
60 views

Can we add metadata fields to RTF links to Asset Components?

Is there a possibility to include file metadata fields to the anchor's markup in RTF? On our custom Rich Text Field class, we want to access image and file metadata fields to extend functionalities ...
4
votes
2answers
154 views

How to get Structure Group metadata in DXA 2.0 Pages

I want to access Structure Group metadata in my DXA 2.0 (Java) Pages. Following the documentation I have added the InheritMetadataPageModelBuilder model builder to the pipeline in my Page Rendering ...
3
votes
1answer
49 views

No value found in the database for a non-nullable property: 'id'

Since today I am getting a strange error in discovery service. I did set up publishing for a new publication and added a mapping in the WebUI (Web 8.5). Richt click Publication > Properties > ...