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.

0
votes
0answers
31 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. ...
0
votes
1answer
46 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
0answers
31 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
27 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
33 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
44 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
34 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
58 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
40 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
31 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
70 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
46 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
45 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
59 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
23 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
29 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
101 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
45 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
40 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
100 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
108 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
66 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
168 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
42 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
57 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
84 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
59 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
69 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
39 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 ...
2
votes
2answers
196 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
76 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
69 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
41 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
33 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
63 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
23 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
49 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
226 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
123 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
55 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
44 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
80 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
68 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
51 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
73 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</...