Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
91 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
310 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
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, ...
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
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 ...
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 ...
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
0answers
25 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 ...
1
vote
0answers
49 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
208 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
87 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
70 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
138 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
122 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
45 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
92 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
27 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
152 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
124 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
90 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
150 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
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 ...
0
votes
1answer
503 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
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 ...
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 ...
0
votes
1answer
172 views

Get Component/entity model from the component tcm id

If I have a component id (for example tcm:9-123), is there a way to get its content? How can this be achieved in java ?
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 ...
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 ...
0
votes
1answer
179 views

How to resolve component links in Rich Text Field when getting content from BrokerQuery?

By default DXA resolves Component Links in Rich Text field and Component Link fields when rendering the components directly. But when we get the contents as a result of our broker Query and then ...
0
votes
1answer
60 views

DXA Resolver Recursion Depth

We have set in the CMS, in Administration > DXA Resolver Recursion Depth the following value DXA Resolver Recursion Depth=2 but we are getting infinite loop when accessing the service model. Does ...
0
votes
1answer
36 views

DXA Java 1.7: Options to debug webapp performance?

We are currently in finalizing the DXA implementation for our customer and we are facing a performance issue by opening the website for the first time. Are there any configs or logback classpathes we ...
0
votes
2answers
37 views

What will the data type in Java be, when Schema fields type is Component Link in Tridion [closed]

Can you please provide some examples for mapping of Component Link Schema fields in Java.
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] - ...
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!
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....
0
votes
2answers
105 views

SDL Web 8.5 DXA sample app 404

I am seeing below error in model service log. And 404 received on the website for all pages. Let me know what I am missing in configuration. 2018-07-12 04:19:46,118 WARN c.s.d.m.s.p.e....
0
votes
1answer
57 views

Navigating images giving 404 error in DXA 2.0

We are using DXA 2.0 with SDL Web8.5.We are publishing images to root structure group of the publication using custom template code but while we are trying to access the image using URL it always ...
0
votes
1answer
24 views

DXA 1.7 Java How To Get Multimedia Component Title [duplicate]

I have a problem with multimedia components on my Java DXA 1.7 implementation, we have a Download list, which accepts multimedia components, by using WebComponentMetaFactory we read the component's ...
0
votes
1answer
72 views

DXA 1.7 Entity Model for multiple possible Linked Components

While we are migrating our existing webapp to DXA 1.7 Java, we encountered following problem: We have multiple Schemas where more than one Schema is available as Component Link. See screenshot: So ...
0
votes
1answer
263 views

What is causing this Error? Could not find a model type for region Main even using a predefined region

I am getting this error when my application starts 11:50:56.788 [http-nio-8080-exec-5] WARN c.s.w.c.impl.DefaultRegionBuilder - Could not find a model type for region Main with MvcData MvcDataImpl(...
0
votes
1answer
159 views

Change the default page of the DXA application to my custom home page DXA Java 1.5

We need to change the default page for the DXA application to load the following URL http://localhost:9081/ -----> http://localhost:9081/index.jsp http://localhost:9081/admin/refresh -----> http://...
0
votes
1answer
251 views

Linkage error when deploying DXA web application to Tomcat

Getting following error when deploying to Tomcat container. Only thing which I have changed is that I have removed default ROOT.war in webapps, renamed by dxawebapp to ROOT.war as I wanted the conext ...
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 '...
0
votes
1answer
94 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 ...
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, ...
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 ...