Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
57 views

Java DXA 2.2 with Tridion docs java.lang.IllegalStateException: Cannot detect ViewModel for ViewData MvcDataImpl while preparing Pagemodel Object

We are upgrading java dxa from dxa-1.8 to dxa-2.2 I am facing problem generating PageModel object as it is failing to map viewdata information, we mainly need Pagemodel content information , could ...
1
vote
1answer
49 views

Tridion Resource settings updation using /admin/refresh doesn’t work for application on multiple containers

Whenever we do publish settings with updated key/value pairs in Tridion Sites 9 we have to do /admin/refresh to clear the cache. It works fine when application is running on single container, but when ...
1
vote
1answer
54 views

Prevent this error from appearing due to invalid page requests

In Tridion 2013 we are getting generic exception for the pages that do not exist in the website. Is there a way to prevent generic errors due to invalid page requests? Thanks.
1
vote
1answer
75 views

How can I remove some unwanted urls from sitemap.xml

We are using java dxa 2.0 and default navigationcontroller.class for generating sitemap.xml. Now how can I remove some unwanted URLs (ie. some AJAX calls, email template pages and others)? Is it ...
1
vote
1answer
85 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
169 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 ...
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 ...
1
vote
1answer
134 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
1answer
136 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
162 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....
1
vote
1answer
108 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</...
1
vote
2answers
93 views

Manually building assets - DXA 1.7

We're looking to manually build our assets for HTML design and include them in our Java application rather than have them built from the CMS. I have followed the instructions as per: https://...
1
vote
1answer
119 views

DXA using properties in cd_client_conf.xml

I was wondering if it was possible to use properties in the cd_client_conf.xml? I was expecting the same behaviour as the WEB8 microservices. In those microservices configuration files you can set ${...
1
vote
1answer
115 views

Java DXA 1.4: issue with page type, after create page throw 404

We are facing issue with creating page with Page type in experience manager with version SDL web 8.1.1 DXA Java 1.4. When we create new page using page type, page created in CMS and auto Publish to ...
1
vote
2answers
224 views

DXA 1.4 Resolving entities tag for a include region

We've got a landing page with two includes and we are not able to recover the entities related to the include. I will focus in one example, for example the header include: The generalHeader has a ...
1
vote
1answer
90 views

DXA 1.4 Managing page includes

We are managing the page includes from tag tri:page to tag dxa:region, as we found in the dxa 1.4 documentation the following recommendation to simplify the page model structure and improve the ...
1
vote
1answer
111 views

DXA 1.4 How to use an empty region

I was using the previous DXA version where it was possible to use empty regions <tri:entities region="HeaderRegion"/> Doing a migration to 1.4, we just changed the tag to: <dxa:entities ...
1
vote
1answer
2k views

Could not autowire field in custom controller

We are trying to upgrade from pre-release version of Java DXA to Java DXA 1.4.1. We have 2 custom Page Controllers and the whole setup was working fine with the older release of DXA. However when ...
1
vote
1answer
48 views

Repository for com.tridion libs 7.1.0

I can't resolve the following dependencies for a project using the DXA java version. I checked the repo1.maven and they are not there. com.tridion:cd_odata:jar:7.1.0 com.tridion:cd_odata_types:jar:7....
1
vote
1answer
50 views

DXA JAVA model type error

My DXA JAVA 1.4 website throws these warnings and errors in the log. 16:10:41.157 [http-apr-8080-exec-7] WARN c.s.w.c.impl.DefaultRegionBuilder - Could not find a model type for region Main with ...
1
vote
1answer
93 views

DXA 1.4.1 compilation and cd_broker:jar:8.1.1-1007 mising

We are using Hotfix 1.4.1 version for upgrade but compilation is giving an error that cd_broker:jar:8.1.1-1007 is missing from maven. D:\SDL-DXA-java\sh_dxa_hotfix_1_4_1\dxa-web-application-java\dxa-...
1
vote
1answer
321 views

How to get & Modify MarkUp of an entity using DXA-JAVA

1 .I am getting a promotional entity in my spring controller and then replacing the default entity that came with my CP. @RequestMapping(method = RequestMethod.GET, value = "GetPromoItem/{entityId}") ...
1
vote
0answers
24 views

Custom data format in DXA in Java

We need to create a Custom Data Format for our Java application. In the documentation for serving data in another format than html, seems easy in C# application, but in our Java / Spring application ...
1
vote
0answers
67 views

Dependencies missing in DXA 2.2 - Java

We are trying to upgrade DXA 2.0 to DXA 2.2 with SDL 9.1. We are including DXA 2.2.5 as a dependency with no exclusions. [WARNING] The POM for com.sdl.web:content-client-api:jar:8.5.0-1046 is missing, ...
1
vote
0answers
31 views

DXA 2.2 - JAVA Unable to use Jackson default naming strategy, it always applies UpperCamelCase naming strategy on request and response

I am using dxa-2.2 java, there is rest controller which takes some request and return response. After investigation i found DxaSpringInitialization.class on dxa framework initializing objectMapper ...
1
vote
0answers
40 views

DXA Model Service & Web Application Caching

We are having a strange problem with one of our customer. They are using SDL Web 8.5 with DXA Java 2.0. We have already installed DXA Model Service 2.2.1 however if they publish components that have ...
1
vote
0answers
40 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
0answers
57 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 (...
1
vote
0answers
86 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
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 ...
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
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....
1
vote
0answers
159 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/...
1
vote
1answer
70 views

DXA Java CTP 2.0 Model Service problem modelData is null

We have just installed the CTP 2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service Documentation After successfully installing the service and calling the PageModel ...
1
vote
2answers
125 views

Image appended with a tcmid is available in the markup but not rendered on a page

Image is generated in the markup but is not rendered on the page. However, if the tcmid appended to the image is removed, the image gets displayed. We traversed through the Binary data folder in the ...
1
vote
0answers
46 views

How to have the DXA config files references outside of the DXA.ear for different environments (ST,PT,DEV) in DXA 1.5?

We are using the DXA Java 1.5 implementation with 2013 SP1 and need to have the references for the resource files (cd_dynamic_conf.xml, cd_link_conf.xml) outside of the war. Is there a way to do it? ...
1
vote
0answers
101 views

URL getting appended/duplicated twice while resolving DXA JAVA 1.5

We are using the standard DXA configuration and somehow the URL while resolving is getting appended twice. I checked all my Tridion configuration and do not find any place where this setting can be ...
1
vote
0answers
43 views

DXA 1.7 supports Tridion 2013 SP1?

Reading the product prerequisites for DXA 1.7 it's not clear if it only supports SDL Web 8, as it says: DXA runs in combination with the following SDL product release: SDL Web 8 with Cumulative ...
1
vote
0answers
28 views

dxa:media tag not recovering image

When using the dxa:media tag with a factor, then the url is changed, but the new image is not shown, neither published to disk. Are we missing any interceptor in our project? How is working the ...
1
vote
0answers
159 views

Java DXA 1.4, Linux server issue Tomcat is not starting

We are facing issue with SDL Web 8.1.1 and DXA Java 1.4 hosted on one of our Linux Tomcat servers. All microservices are working fine and we are able to get full page on Windows developer machine ...
1
vote
0answers
125 views

Steps for install DXA 1.4 .Net & Java

What are the steps to install DXA 1.4 .Net & Java content delivery website on the same machine whereas both programming language using same CMS i.e. Web 8? Additional information: I have ...
1
vote
0answers
92 views

DXA 1.2 Java Application caching using JMS remote synchronization

We are using DXA 1.2 Java and have enabled caching using JMS Remote Synchronization. Whenever we publish an item, the deployer cd_cache log is showing success as below: 2016-06-01 20:27:34,704 ...
1
vote
0answers
152 views

Java dxa-example-webapp fails with Nullpointer exception

We are trying to install DXA 1.2 for Java on Weblogic following the instruction here. We have the following in cd_dynamic_conf.xml <Publication Id="8"> <Host Domain="localhost" Port="7001"...
0
votes
1answer
50 views

Issue in retrieving core.json attributes from BinaryData folder

I'm trying to access the value in core.json file which is under BinaryData folder. Below is the way I'm trying to retrieve the value: ${requestScope.localization.getResource('core.keyname')} But ...
0
votes
3answers
40 views

Benefits of migrating DWT or Razor templates to DXA in SDL web 8

I know there are benefits of migrating existing templates to DXA, like no more need to know Tridion syntax, instead of use Spring MVC in application side, no need to use file system or legacy system ...
0
votes
1answer
90 views

How to install DXA Java's latest version?

I want to use DXA Java's latest version. So I downloaded DXA 2.2.8 from following page. https://github.com/sdl/dxa-web-application-java/releases/tag/DXA_2.2.8_Hotfix Then I read following manual to ...
0
votes
1answer
855 views

spring caching with ehcache is not returning cached object

We want to take advantage of the ehcache library used in the dxa project for our custom methods other than the existing dd4t object caching. I modified the configuration as per Spring Caching Example +...
0
votes
1answer
71 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 ...
0
votes
1answer
76 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 ...