Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
99 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 ...
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 ...
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....
0
votes
2answers
107 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
83 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 ...
1
vote
0answers
216 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 ...
4
votes
1answer
190 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 ...
1
vote
1answer
218 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
2answers
99 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 ...
6
votes
1answer
120 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 @...
2
votes
2answers
411 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 ...
2
votes
0answers
40 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
132 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 ...
1
vote
0answers
89 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: ...
1
vote
1answer
135 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
150 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
67 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
61 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
154 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
33 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
27 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 ...
1
vote
2answers
437 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 ...
0
votes
0answers
105 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
1answer
166 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 ...
3
votes
2answers
118 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 ...
2
votes
1answer
244 views

Context microservice throwing error in DXA app

I have set up a fresh Web 8.5 install, and a fresh DXA 1.7 Java web app. However, when I try to start my webapp, I get an error com.sdl.odata.client.api.exception.ODataClientHttpError: Unable to get ...
2
votes
1answer
65 views

Getting NullPointerException when browsing a page

When browsing non core pages using DXA 1.6 - Tridion 2013 SP1 I start getting a null pointer exception. Checking the source code it seems the error happens here: entity = (EntityModel)semanticMapper....
8
votes
0answers
74 views

Can't edit UGC comments via DXA webapp

We are building a DXA 1.7 web app with SDL Web 8.5 and are incorporating the UGC functionality in it (using the UGC Microservices). Everything is working fine, a user can add a comment and see any ...
3
votes
1answer
37 views

DXA 1.6 disable CWD Context

Is it possible to disable CWD Context?, in our implementation we don't really need any of the CWD_* libraries since Tridion won't be used for device detection and CWD_* are adding an unnecessary load. ...
0
votes
1answer
74 views

DXA 1.7 Entity Model for multiple possible Linked Components

While we are migrating our existing webapp to DXA 1.7 Java, we encountered following problem: We have multiple Schemas where more than one Schema is available as Component Link. See screenshot: So ...
3
votes
3answers
203 views

Content Broker database - Using non relational database with DXA

Like DXA works with JSON, a database like MongoDB (non-relational) would give a better performance than a DB2 database. Could we use a database non relational for the Broker?
2
votes
2answers
251 views

Error in deploying DXA 2.0 Java on linux server “Cannot find cache named 'model-service'”

We are trying to deploy DXA 2.0 CTP 2 Java version on Ubuntu server. After deploying the application on Tomcat 8 we are getting this server error [http-nio-8080-exec-6] ERROR c.s.w.c.controller....
2
votes
1answer
82 views

DXA 1.7: Webapps BinaryData nesting infinite folders problem

I tried deploying my DXA 1.7 java webapp to one of our customer servers yesterday. Im experiencing strange folder nesting inside the ROOT webapps BinaryData folder. See this image: It should be: ...
2
votes
0answers
57 views

Metadata field using embedded Schema is not populating

Tridion 2013 DXA Java 1.5 I am trying to pick up in my JSP a Page metadata field that is set to accept multiple values AND uses an embedded Schema. @SemanticEntity(entityName = "CustomPageMetadata", ...
6
votes
6answers
347 views

How DXA is different than having a Dynamic Component Template which serves the response in JSON?

I have found many benefits of having DXA like lesser dependency on core SDL Tridion knowledge, faster Publishing etc. But technically, I want to know: Without having DXA I can achieve the same ...
2
votes
0answers
59 views

DXA Publish Settings: Possible to add multimedia Components and linked Components?

So for DXA there is the Publish Settings Page located in the _System folder of each Publication. As far as I understood we can currently only add strings and read them either with ${localization....
3
votes
2answers
159 views

Optimal way to expose Tridion content to external systems?

We are currently using SDL 2013SP1 with Spring MVC at the front end and want to expose the HTML fragments to other external systems. Is creating REST API over ODATA a good option where external ...
3
votes
0answers
182 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
0answers
72 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
166 views

Passing values between Entity View and Page View

Other than using Session Attributes is there a way to pass values from an Entity View to Page View when using DXA Java? This is with reference to DXA 1.x (actually 1.0 or pre-release version of DXA ...
1
vote
1answer
106 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</...
5
votes
0answers
59 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
0answers
147 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/...
4
votes
2answers
596 views

How to redirect to a static (present in file system) 404 error page in DXA 1.5 Java instead of error-404.html

When a page is not found, the DXA framework initiates a redirect to the website's error-404.html page. Instead of that, I want to redirect a static error 404 page which is available in some custom ...
4
votes
2answers
320 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
99 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 ...
3
votes
2answers
223 views

DXA Java 1.7: Load specific component content from any page

We're trying to load some dynamic content (Component) to one of our pages, for most of the cases fetching the metadata based on tcmId and using WebComponentMetaFactory.getMeta(tcmid) would suffice, ...
0
votes
1answer
39 views

DXA Java 1.7: Options to debug webapp performance?

We are currently in finalizing the DXA implementation for our customer and we are facing a performance issue by opening the website for the first time. Are there any configs or logback classpathes we ...
3
votes
1answer
134 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 > ...
4
votes
1answer
75 views

Problem using XPM to edit image

I have a Schema which contains an image and multiple other values. I am trying to make XPM work so that this image can be changed by editors. The image is loaded as follows inside of the view: <...