Questions tagged [dxa-java]

The tag has no usage guidance.

64 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
87 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 ...
5
votes
0answers
99 views

Getting Page Presentations from GraphQL. In order, with Content

I have pages being published using DXA Page Templates and include CPs added to the page directly (again, using standard DXA CTs). I want to get the Component Presentations from a Page (with the ...
5
votes
0answers
42 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 ...
5
votes
0answers
60 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 ...
5
votes
0answers
86 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-...
3
votes
0answers
144 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 = ...
3
votes
0answers
58 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 ...
3
votes
0answers
191 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 ...
3
votes
0answers
60 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. ...
3
votes
0answers
227 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 ...
3
votes
0answers
119 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 + "/...
2
votes
1answer
103 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
172 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
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", ...
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
174 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
296 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; ...
1
vote
0answers
23 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
66 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
39 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
1answer
83 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 ...
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
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
56 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
84 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
158 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
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 ...