Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
36 views

Contact initialization taking long time in DXA 2.0 Java application

We are using SDL 8.5 and DXA 2.0 Java for our website. We are using inprocess approach of audience manager in our website recently we have noticed while initializing any contact which does not exist ...
0
votes
1answer
39 views

How to implement Redis cache with DXA 2.0 Java application

We are using SDL Web 8.5 and DXA 2.0 Java for our website. We would like to incorporate client-side (Content Interaction Library(CIL)) caching to improve site performance. Is there any example or ...
1
vote
1answer
77 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 ...
0
votes
1answer
22 views

How to get the component ID in a JSP using DXA 1.2?

I have a requirement where i need to use unique ID for each section rendered on the page. I thought of using TCM id of the component and tried to fetch that as <span data-compId=${entity.ID}> in ...
1
vote
1answer
68 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 ...
0
votes
1answer
55 views

Performance impact of Broker query to retrieve page details with 300-600 rpm on the website

We have implemented our application using SDL Web 8.5 and DXA 2.0. The product detail pages in our application needs to be queried from the Broker DB using Broker API. Now, as per existing application ...
3
votes
1answer
64 views

SDL Web 8.5 with DXA JAVA 2.0

I was going through SDL doc as i need to integrate SDL Web 8.5 with DXA JAVA 2.0. came across this piece of code but didn't get it what it is used for. Also checked documentation and nothing was there....
0
votes
1answer
45 views

Unable to retrieve binary meta using DXA 2.0 and microservices

Using DXA 2.0 and micro services, the client application is unable to retrieve binary meta for a publication with publication url '/[clientname]/es'. If client publication is /[clientname] and entry ...
1
vote
0answers
34 views

Adding multimedia field in [Navigation] Keyword causes 404 item not found error in page

I have a multimedia field in the When I publish the Navigation category, it is fine. I can see the image in the folder. But when we link this keyword to a page and publish this page then the page ...
1
vote
1answer
81 views

Is it possible to access empty Component fields in JSON in DXA Web Application?

In our implementation of the DXA web app, most of the times we encounter scenarios where the Components are not having content in all the fields. Hence the JSON response also are not fetching the ...
1
vote
1answer
44 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
45 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
55 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 ...
2
votes
2answers
47 views

Is DXA-2.1 available with Java?

I am looking for Java DXA-2.1 source on GitHub, checked on GitHub but not able to find 2.1.0 release on repository, please provide information on this? I looked into repository: https://github.com/...
1
vote
1answer
47 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 ...
2
votes
1answer
45 views

How to add the same http://localhost:9080 as a 'BaseUrls' in “preview and live” target in topology manger

How to add the same http://localhost:9080 as a 'BaseUrls' in "preview and live" target in topology manger? I can add the above base URL in preview and it's working fine when I try to add in Live. it'...
2
votes
1answer
58 views

Cannot expand entity EntityModelData for page PageRequestDto

We are using SDL Web 8.5 and DXA 2.0 Java suddenly our website started showing 500 error. While debugging we have found that pages throwing below kind of model service error Whitelabel Error Page ...
1
vote
1answer
49 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
0answers
24 views

Why is WebRequestContextImpl annotated as Primary, can it be removed in next release?

We are building a DXA-application that has to land on a platform where host rewriting takes place. Because of this, some DXA functions that use the domain of the request will function incorrect. An ...
1
vote
1answer
41 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 ...
2
votes
1answer
87 views

DXA 1.8 “BinaryData” files is not creating under \dxaWeb\BinaryData\publication-id\system\config\ when I build dxaWeb app

I have upgraded DXA 1.5 to DXA 1.8, Java 1.7 to 1.8. Deploying in Tomcat 9 server. The BinaryData files is not creating under \dxaWeb\BinaryData\publication-id\system\config\ when I build DXA web app. ...
1
vote
2answers
66 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: ...
2
votes
1answer
61 views

DXA (Java) upgrade 1.5 to 1.8 & Java 1.7 to 1.8. unable to open input stream for resource

I have upgraded DXA(Java) 1.5 to 1.8 & Java 1.7 to 1.8 I can able to compile successfully but when I start execute my app in WebSphere am getting run time exception: com.ibm.ws.ecs.internal.scan....
3
votes
1answer
29 views

Application Model Integration

We are planning to use SDL Tridion in an external web application, where the needs are to include some contents in certain parts of the application, something like banners, news, etc. (XO content ...
1
vote
0answers
39 views

Running web application locally in Eclipse returns HTTP status code 500

The situation is that I'm running a local DXA webapp in Eclipse that should communicate with the CD server so I can test a website. The problem is that I can't get past the HTTP status code of 500 (...
3
votes
1answer
63 views

Unable to call OData service for “http://abc-xyz.com:8082/discovery.svc” URL and service query “/TokenServiceCapabilities”

In our DXA application, we are trying to check connectivity of our webapp to a new PROD CMS Environment. However, I keep getting the following error, trying to run the app, and not sure why it cannot ...
4
votes
1answer
49 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
88 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 ...
5
votes
0answers
37 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
77 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
21 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
49 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 ...
1
vote
0answers
55 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
66 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
26 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
33 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 ...
3
votes
1answer
115 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
69 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
64 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
46 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
139 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
156 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
81 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
179 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
49 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
68 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
34 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
93 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
70 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
82 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: ...