Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
90 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
2answers
168 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
150 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
78 views

Page Metadata Keyword Empty

There's a metadata schema linked with the page and we try to get from the View the value of the keyword associated to this page. However the information is empty. We are using Java DXA 2.0.1. We have ...
3
votes
1answer
187 views

Embedded images in RTF field are not rendering correctly

The problem is image is not rendering properly, we could see that it retrieved properly from content service, as i mentioned below. But when it reaches the entity model as RichText field it is ...
3
votes
1answer
97 views

oAuth is disabled but DXA Webapp gives an error “Client id is required”

I have a Java DXA 2.0 environment with Web 8.5. The microservices are setup on a Linux environment. I have set oAuth to false at all the places possible on the services and the webapp. I followed the ...
0
votes
0answers
53 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
144 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
99 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
65 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
114 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
74 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
105 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
75 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
39 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
127 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
68 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
82 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
78 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
63 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
167 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
163 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'...
3
votes
1answer
163 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
66 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 ...
2
votes
0answers
26 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
2answers
141 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
121 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
101 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
613 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
37 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
56 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
155 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
87 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
224 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
42 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
111 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
89 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 ...
2
votes
0answers
171 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
91 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
1answer
63 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
175 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
108 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....
1
vote
0answers
84 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
53 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
221 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
649 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
123 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 @...
1
vote
0answers
217 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
60 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 ...