Questions tagged [dxa-java]

The tag has no usage guidance.

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

Problem getting the page includes mapped towards my own ModuleName

I'm having problem using the page includes for setting up a header component called TelenorHeader under my own areaName (Telenor). In my page template "TelenorPage" under the metadata schema I have ...
2
votes
1answer
82 views

Where to add page meta entries

In DXA Java 1.4 in the page a list of <c:forEach var="meta" items="${pageModel.meta.entrySet()}"> <meta name="${meta.key}" content="${meta.value}"> </c:forEach> Is there in the ...
2
votes
1answer
117 views

Efficient way of getting list of EntityModel (Java, DXA 2.0)

We have a page that queries entities with certain criteria. The way we implement it is by getting list of entity IDs, loop the IDs retrieve the entity model per ID and add it into the list. Pseudo ...
2
votes
0answers
44 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 ...
2
votes
0answers
51 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 ...
2
votes
0answers
39 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?
2
votes
0answers
26 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 ...
2
votes
0answers
174 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 ...
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 ...
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 ...
2
votes
0answers
59 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 ...
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....
2
votes
0answers
58 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", ...
2
votes
0answers
49 views

Running DXA Java without registering WebCapability

Currently I am struggling with DXA Java and Experience Manager not working. SDL suggested to remove WebCapability from my Discovery Service cd_storage_conf.xml and run the update script to upgrade ...
2
votes
0answers
175 views

Custom controller SDL DXA (Bad Request) JAVA DXA 1.5 exception

Using the reference of campaign custom controller from the reference document i created my own custom controller. Following entries were made URL When the controller should be invoked: http://...
2
votes
0answers
153 views

GetPublicationMappingsFunctionImport returns NullPointerException

When we call http://<host>:<port>/client/v4/content.svc/GetPublicationMappingsFunctionImport?Url='https://www.<host>.be' we get the following error: <?xml version="1.0" encoding="...
2
votes
0answers
297 views

How do I resolve Java DXA 1.7 java.lang.LinkageError?

I have built yet another fresh Java DXA 1.7 which runs just fine on the local Tomcat 8.0 server in Eclipse Neon.3. I publish this to an Azure App Service created by using the Azure Toolkit for Java ...
2
votes
0answers
77 views

Tomcat session replication with DXA

We are using DXA Java and are facing a strange problem. We have setup a tomcat cluster and all tomcat instances are configured with IIS as the front-end. We are using Oracle 12g as the content ...
2
votes
0answers
48 views

What will be the cause this DXA Error for MediaItem class?

Please help me out for this issue. Is this the cause of contentUrl? Caused by: com.sdl.webapp.common.impl.mapping.SemanticAnnotationException: The field private java.lang.String com.sdl.webapp....
2
votes
0answers
114 views

Application throw error on Tomcat start with Java DXA 1.4 with Linux hosted server

We are facing issue with Java DXA 1.4 on Linux hosted services. All microservices are running fine. When we start tomcat it throws error: Could not load [net/sf/ehcache/version.properties] org....
2
votes
0answers
41 views

DXA 1.4 JAVA Get Id Keyword

The class Tag has the following fields: @JsonProperty("DisplayText") private String displayText; @JsonProperty("Key") private String key; @JsonProperty("TagCategory") private String tagCategory; ...
2
votes
1answer
64 views

Upgrading to DXA Java 1.4

When upgrading from an earlier release of DXA to DXA 1.4 (Java) are there any changes on the CMS side or just the DXA libraries and web application? I am asking this since we have a lot of custom ...
1
vote
3answers
380 views

SDL DXA Model Service cache not getting invalidated

We are using SDL Web 8.5 and DXA CTP 2.0 Java. DXA Model Service is configured on Linux server. When we publish any Page or Component the cache for PageModel and EntityModels are not getting ...
1
vote
1answer
117 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 ...
1
vote
1answer
226 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....
1
vote
2answers
106 views

dxa 1.4 java code compilation issue

We are trying to compile the DXA 1.4 java code through maven but facing some issues in compilation. is it possible to get all the required code in one project? D:\SDL-DXA-java\sh_dxa_git_1_4\dxa-...
1
vote
2answers
55 views

Getting access to Categories in DXA

I'm porting a site to DXA. We use categories/keywords to populate dropdowns. Previously this was done in the Content Manager templating. In DXA that should happen application-side so I've published ...
1
vote
2answers
141 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 ...
1
vote
1answer
126 views

TokenService: Token expired message after a couple of minutes

We have a Java DXA project, which we run in a local Tomcat that's connecting to our Web 8 microservices (running in a VM). This works. But after some time, I get errors in my local web app, claiming: ...
1
vote
1answer
44 views

DXA-2.2.5 java how to resolve page url for current Model entity

We are using dxa-2.2.5 Java and we are using GraphQlLinkresolver. We want to get url of detail page of Component TCM, how can we achieve it? On Model class I have tried something like this: public ...
1
vote
1answer
30 views

Why does SiteLocalization.getLanguage() return null

I've been looking at the methods on the SiteLocalization class in DXA. I'd like to get the language of each site but getLanguage() returns null. This doesn't surprise me much, because I haven't ...
1
vote
1answer
41 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 ...
1
vote
1answer
90 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
1answer
78 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 ...
1
vote
2answers
101 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
2answers
147 views

Include a Region in Page Template is not working in DXA 1.5 Java

We are trying to add a Region for our Global alerts site wide in Page Template. Detailed implementation steps: CT: Include PT: PT: Page: Initialize: @RegisteredViewModel(viewName = "NWAlert", ...
1
vote
1answer
215 views

DXA Breadcrumb - How it works?

where we can find the documentation for DXA breadcrumb for java? How it works? How we have to configure? Which classes and information is necessary? Thank you!
1
vote
2answers
143 views

DXA 2.2.3 Component links multiple value

Implementation: Currently we have schema with a component link field called 'link'. I've enabled multiple value, so authors can have multiple component links from now on instead of only 1 (there's ...
1
vote
2answers
186 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
152 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
99 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 ...
1
vote
1answer
69 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
176 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 ...
1
vote
1answer
36 views

DXA deleted Localization Interceptor

The new version of DXA Java in master branch has no LocalizationInterceptor, and I was wondering why? We have some problems with the context where localizations are being mixed when getting content, ...
1
vote
1answer
38 views

DXA website using wrong static content version

We are setting up translated versions of our main website which is using DXA 1.5. Our main website uses version v0.2 for it's static content. The translated website we setup tries to use version v1.5. ...
1
vote
1answer
122 views

DXA 1.2 - Enabling object cache not working as expected

DXA 1.2 :: We have enabled EHCache in our application where we are caching only xml, JSON and txt files. Recently we also enabled Object Cache in cd_storage_conf.xml. Will there be any interference ...
1
vote
1answer
60 views

Read timed out at executing executeEntityQuery()

I am working on a query that excludes items based on the value of one of its metadata. The problem is that sometimes I get the result, but sometimes not. Error stack trace shows the following: com.sdl....
1
vote
2answers
65 views

Error when building DXA 2.2 Java webapp for Sites 9.5

I have the installer for SDL DXA Java 2.2, and would like to build a webapp for Sites 9.5. When running prepare.bat from PS cmdlet, I initially saw this error: > Could not resolve all artifacts ...
1
vote
2answers
91 views

Custom Metadata from publication Tridion

I'm trying to read the value of Custom Metadata from a Publication using ApiClient API. Below is the code which I'm trying to get the Publication information: ApiClientProvider pcaClientProvider; ...
1
vote
1answer
62 views

DXA-2.2.5 Java model service clients says 400 bad request

We are using Java DXA-2.2.5 and Model service to render content, we came across one issue when we request for page model, it says 400 bad request since it is not able to understand encoded page url. ...