Skip to main content

Questions tagged [dxa-java]

The tag has no usage guidance.

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
1 answer
135 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 ...
Harald Hoffelinck's user avatar
5 votes
0 answers
47 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 ...
Will Price's user avatar
  • 16.4k
5 votes
0 answers
68 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 ...
Charlotte Hermans's user avatar
5 votes
0 answers
88 views

StaticContentNotFoundException when accessing published image media

I added images to an Article Component and added it to a Page and published it. I can see the image in the Broker DB and the view prints out the url correctly /en/media/bg-brands-by-services_tcm9-...
Rache's user avatar
  • 1,049
3 votes
0 answers
83 views

how to resolve component link in in entity

we are creating a schema with a component link and component link is using same schema. now while reading the component in EntityController we are not getting the component link data. Model Class ...
Saurabh Jha's user avatar
3 votes
0 answers
173 views

DXA Java 2.0: How do I access a field value in a component linked in DXA page metadata?

In order to avoid translating pages we've added a linked component in our page metadata. I've created a custom page model: @Data @SemanticEntity(entityName = "MyPageModel", vocabulary = ...
Jonathan Primmer's user avatar
3 votes
0 answers
69 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 ...
tech17's user avatar
  • 153
3 votes
0 answers
219 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 ...
Rache's user avatar
  • 1,049
3 votes
0 answers
68 views

DXA 1.2: Controlling CacheProvider from Webapp

Currently, in DXA 1.2, cache provider is configured as cacheProvider bean in spring-context.xml in dxa-tridion-provider within dxa-framework project, which is used to configure PageFactory instance. ...
Puneet kankane's user avatar
3 votes
0 answers
236 views

How to deploy dxa-example-webapp on WebSphere ND 8.5.5?

Our content delivery platform is Websphere Application server. Given this I am trying to install dxa-example-webapp.war into WebSphere App Server ND 8.5.5 via Admin Console. Application deployment is ...
Milind's user avatar
  • 71
3 votes
0 answers
130 views

DXA controller is not able to get post request parameter

I am trying to submit a login form with the post request but I am not getting all the request parameters (like username, and password) in the controller. JavaScript code: loadurl = doamainName + "/...
Saurabh Jha's user avatar
2 votes
0 answers
56 views

Java DXA version on Tridion Sites 10

We are migrating from Tridion Sites 9.5 to Tridion Sites 10. What version of DXA is adapted to Sites 10?
Guskermitt's user avatar
  • 1,297
2 votes
0 answers
46 views

DXA Java 2.2 Unable to create localization error

I'm trying to use the latest DXA Java 2.2 (the latest develop branch) with Tridion 9.6 (upgraded from 8.5), I'm able to see page query results using graphQL POST requests either from postman/curl But ...
Sivaram Kumar's user avatar
2 votes
0 answers
99 views

Binary file recreating on each request in DXA 2.2.16 java

I m using DXA 2.2.16 Java with SDL Tridion Sites 9.5. I have noticed when all binary files like css, javascript, images are recreating with each request in BinaryData folder. This is happening with ...
Abdul Qadir's user avatar
  • 2,495
2 votes
0 answers
60 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 ...
Neetesh Narvaria's user avatar
2 votes
0 answers
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?
Dominic Cronin's user avatar
2 votes
0 answers
29 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 ...
Charlotte Hermans's user avatar
2 votes
0 answers
192 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 ...
Charlotte Hermans's user avatar
2 votes
0 answers
43 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 ...
Abdul Qadir's user avatar
  • 2,495
2 votes
0 answers
35 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 ...
Alfonso Chavez N.'s user avatar
2 votes
0 answers
65 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 ...
PraveenKumar's user avatar
2 votes
0 answers
62 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....
S. Gabriel's user avatar
2 votes
0 answers
62 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", ...
sunamc1's user avatar
  • 179
2 votes
0 answers
53 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 ...
S. Gabriel's user avatar
2 votes
0 answers
196 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://...
Sandeep Deshmukh's user avatar
2 votes
0 answers
162 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="...
Thomas Hendrickx's user avatar
2 votes
0 answers
311 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 ...
Chris Mills's user avatar
  • 2,221
2 votes
0 answers
83 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 ...
Husain Zahid's user avatar
  • 1,827
2 votes
0 answers
53 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....
Jyoti Behera's user avatar
2 votes
0 answers
117 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....
Piyush Jain's user avatar
2 votes
0 answers
46 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; ...
tfinez's user avatar
  • 1,234
1 vote
0 answers
27 views

Excessive logging after DXA 2.2.35 build update?

A developer has reported that there is excessive application logging after updating to DXA build 2.2.35. The environment is Sites 9.5, microservices are hosted by RWS. 08:50:10.108 [https-jsse-nio-...
Terry Kim's user avatar
  • 926
1 vote
0 answers
40 views

Caching is not working properly in paginated view

We are facing an issue with DXA cache in below usecase. SDL 9.6 DXA version: 2.2.33 Usecase We have a paginated view and each page will have a list of items. On each paginated links (ex. Jan, Feb etc)...
Rajesh's user avatar
  • 11
1 vote
1 answer
145 views

Static resource not found in static content provider for published binary

We have upgraded from SDL Web 8.5 to Tridion Sites 9.6 and using dxa java 2.2.3 . We are encountring a strange issue while fetching published binary from broker database dxa is giving below error ...
Abdul Qadir's user avatar
  • 2,495
1 vote
0 answers
33 views

StaticContentInterceptor | Static resource xpm.js not found

While running(start) the server in Eclipse, I see below Error being logged in console. While it is able to locate one of the xpm.js, it is unable to locate the 2nd xpm.js as highlighted in RED below. ...
Arvind thiag's user avatar
1 vote
0 answers
32 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 ...
Joaquin Caro's user avatar
1 vote
0 answers
74 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, ...
Shiva's user avatar
  • 2,168
1 vote
0 answers
38 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 ...
Neetesh Narvaria's user avatar
1 vote
0 answers
62 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 ...
Husain Zahid's user avatar
  • 1,827
1 vote
0 answers
46 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 ...
Rache's user avatar
  • 1,049
1 vote
0 answers
60 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 (...
Khayaled's user avatar
1 vote
0 answers
91 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 ...
Abdul Qadir's user avatar
  • 2,495
1 vote
0 answers
231 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 ...
tfinez's user avatar
  • 1,234
1 vote
0 answers
100 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: ...
tfinez's user avatar
  • 1,234
1 vote
0 answers
75 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....
Saurabh Jha's user avatar
1 vote
0 answers
174 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/...
Jayakumar Devaraj's user avatar
1 vote
0 answers
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? ...
Sandeep Deshmukh's user avatar
1 vote
0 answers
102 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 ...
Sandeep Deshmukh's user avatar
1 vote
0 answers
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 ...
tfinez's user avatar
  • 1,234
1 vote
0 answers
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 ...
tfinez's user avatar
  • 1,234