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
28 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
29 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
70 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
39 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
38 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
49 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
45 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
36 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
40 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
48 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
48 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
38 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
85 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
61 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
55 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
28 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
36 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
55 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
42 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
74 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
73 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
20 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
48 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
51 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
62 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
25 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
32 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
105 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
56 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
61 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
43 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
123 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
133 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
78 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
178 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
43 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
62 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
88 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
66 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
79 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: ...
2
votes
2answers
219 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
92 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
84 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
45 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
40 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
73 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
25 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 ...