Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

What do I have to configure to prevent a StaticContentNotFoundException for version.json?

I am setting up a new DXA2.2 site. When I do an admin refresh, I can see in the logging that various items are downloaded over the service and written to disk, and if I look in the application ...
0
votes
0answers
29 views

What might cause a BeanCurrentlyInCreationException when starting up a DXA 2.2.3 application?

When starting up our DXA 2.2.3 application, we're getting the following exception: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name '...
1
vote
0answers
49 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, ...
2
votes
1answer
79 views

Where does the dependency on com.sdl.delivery:cil:pom:11.0.0.0-1064 come from?

When attempting to build a Java DXA 2.2.3 application, we see warnings about a dependency on com.sdl.delivery:cil:pom:11.0.0.0-1064 and com.sdl.web:cil:pom:11.0.0.0-1064 which can not be resolved. ...
0
votes
3answers
38 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 ...
2
votes
1answer
33 views

Registering view for MediaItem (DXA 2.0.3, Java)

We have a Download entity which extends MediaItem. The download link is used inside RichText component. This is how the class looks like: @Data public class Download extends MediaItem { @Override ...
2
votes
0answers
35 views

Component link is not resolved for a field with “_self” annotation in combination with dynamic component presentation (DXA 2.0.3 Java, SDL Web 8.5)

I have two different view model for the same schema, one view is to display a Summary page and other view is meant for a Details page. Summary page displays dynamic component presentations, which are ...
0
votes
1answer
95 views

DXA - Resolving Publication mapping incorrectly when having multiple websites

We have 2 websites (brands) with different domains. In Topology, the 2 websites are configured with base urls as : http://domain1 and http://domain2 And mapping for UK publication exists only in ...
1
vote
0answers
26 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
1answer
39 views

Upgrade from Web 8.5 to Sites 9, is DXA update from 1.8 needed?

Our customer wants to upgrade from SDL Web 8.5 to SDL Tridion Sites 9.0. We are currently running the DXA 1.8 Java version. My question is: Can we upgrade to SDL Tridion Sites 9.0 and keep running ...
2
votes
0answers
49 views

dxa2.2 java tridion docs implementation graph ql is not giving filtered response based on ish:conditions

we are using dxa-2.2 java and adding userconditions to claimstore, when it goes to fetch response with condition using graphql client it does't give filtered response In code we are setting up ...
1
vote
1answer
28 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
29 views

java dxa-2.2 Cannot create a default CIL cache configuration, fallback to default configuration

Could someone please help me on below error how to fix it. 22:45:09.431 [restartedMain] DEBUG c.s.w.c.c.c.i.BaseClientConfigurationLoader - Loaded Cache configuration: '{CacheExpirationDuration=600, ...
0
votes
1answer
41 views

java dxa 2.2 faling while mapping returned tridion docs json to PageModelData

We are trying to upgrade dxa libraries from 1.8, after upgrading when we run the application it fails with error 22:27:50.091 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - ...
1
vote
0answers
31 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 ...
0
votes
1answer
31 views

DXA Resolver - activate log

I need to check how it's working DXA Resolver but I don't find how to activate debug logs for this resolver. how can I activate it? Thanks!
4
votes
1answer
63 views

Dynamic Component Presentation updates don't reflect on the website

We have a DXA 2.0 web application with Web 8.5. We have multiple pages on this application as well as DCPs. The pages are published as a normal DXA workflow to the Broker DB. They are working as ...
3
votes
0answers
55 views

Can we expose Experience Optimization results via Public Content API for the applications not built on DXA?

We are using SDL 9 along with DXA 2.0 to host our website. We now want to expose the content to other platforms which are built on different technologies. XO gives us the possibility to display ...
1
vote
1answer
36 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 ...
0
votes
0answers
38 views

DXA 2.0 - Unable to get PageModel Data, error with while getting viewModel for Region with areaName Core

I am trying to get PageModelData for a page using TestContentArea page template, screenshot below. Exception occurs while creating RegionModelData for following controllerAreaName=Framework, ...
2
votes
1answer
84 views

How to stop DXA (Java) from using the context service

When setting up DXA 2.2 I accepted the default setting to use the context service. I don't want to go to the trouble of setting up the context service to work properly, so now I'm trying to configure ...
1
vote
1answer
51 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
57 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 ...
2
votes
0answers
36 views

Implementing a custom data format in DXA in Java

In the documentation for DXA is a description of how to create a custom data format. Unfortunately, it doesn't mention how to tackle this in Java. What would the equivalent technique be in Java?
0
votes
1answer
38 views

GetPublicationMappingsFunctionImport doesn't add RelativeUrl to ContextUrl

I'm seeing a localization error when testing a new website functionality in Web 8.5 and DXA 2.0.3 (Java). We configured for serve this kind of url: http://localhost:8080/front-web/en/discovery/index....
6
votes
1answer
47 views

Page template metadata in DXA - htmlClasses field is blank

The page template metadata for DXA 2.0 has a field named "htmlClasses". We have been attempting to use this in our java web app but, so far, every attempt has resulted in this field appearing as null. ...
0
votes
0answers
28 views

Anchor tags not closing in model service response after upgrade to hotfix 2.0.3

We are using SDL web 8.5 and DXA 2.0 Java . Recently we have applied Model service hotfix 2.0.3 and we have found that the model service response is missing closing tag for anchors. The anchor tags ...
0
votes
0answers
38 views

DXA Refresh token after discovery restarted

We have implemented an application that access the model service. When the discovery service is restarted the OAuth token is invalid, so we can't access anymore to the service unless we restart our ...
0
votes
1answer
504 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 +...
2
votes
1answer
62 views

Changing xml field name makes content to disappear from components in SDL WEB 8.5

We have modified a field XML name and then see that all components with that schema is missing the images, whose XML field was modified. Is there a way to prevent loss of data in such scenarios?
1
vote
1answer
78 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
146 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
141 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
62 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
182 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
91 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
108 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
91 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
50 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
103 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
97 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
105 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
64 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
71 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
75 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
61 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
2 3 4 5 6