Skip to main content

Questions tagged [java]

Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.

Filter by
Sorted by
Tagged with
1 vote
2 answers
40 views

Missing 42.0.0 arhetype on maven for Tridion Integration Framework

When I try to execute mvn generate for new Java tridion Integration framework template, for sites 9.6 (version 42.0.0) i get the exception. Does anyone has any idea where to get it from?
Marko Milic's user avatar
  • 8,942
1 vote
0 answers
63 views

Tridion Sites10 presentation server error

We use Tridion Sites9 with DD4T java and are going to upgrade to Sites10. We move Sites9's web application modules to the sites10 presentation server and replace sites9's jar files with sites10's jar ...
Yayoi's user avatar
  • 11
3 votes
1 answer
60 views

smarttarget.tld issue with 9.5

When I add XO to my live website in 9.5 I need to register smarttarget tags according to this link. However, then I get the following exception in logs: Msg: Error while looking for TLD file for "...
Marko Milic's user avatar
  • 8,942
1 vote
1 answer
96 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....
Chris's user avatar
  • 137
3 votes
1 answer
176 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 ...
Chris's user avatar
  • 137
3 votes
0 answers
176 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
2 votes
1 answer
47 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 ...
Chris's user avatar
  • 137
5 votes
1 answer
153 views

Retrieving KeywordModel metadata inside component model of a nested category/keyword (DXA 2.0.3, Java)

I've been trying to retrieve the metadata value of extended entity of KeywordModel on DXA 2.0.3 with no luck. My component is called kennisitem with the following schema: Kennisitem has a metadata ...
Chris's user avatar
  • 137
3 votes
1 answer
192 views

Cache configuration for Java CIL Web 8.5

In the official documentation for CIL caching for Java, it is stated how to turn on caching and how to point it to a custom config file, but there isn't any additional information on what the actual ...
Atila Sos's user avatar
  • 6,290
2 votes
3 answers
163 views

Tridion Java/Node/Python API to create and publish a new taxonomy programmatically

I need to create and publish a new taxonomy that has more than around 1000 entries. This a laborious task if I have to do it manually. I'm new to the technology and community. So, wonder if I can get ...
Nagendra Varma's user avatar
3 votes
1 answer
80 views

Ambient Data Filter Performance Issue

We are experiencing page load times between 5-15 seconds (sometimes more) when applying a small load of approximately 40 users to our web application. This is for a simple page with just one static ...
Nicholas Wetmore's user avatar
5 votes
1 answer
210 views

Publishing fails in the deployer with `Timeout waiting for parallel processing`

We have a Tridion 9 deployer (receiver and worker) with some custom code that is having occasional failures in the Deploying phase. The failures are random and after some persistent republishing, the ...
Urosh T.'s user avatar
  • 153
4 votes
0 answers
79 views

SmartTarget Promotion Query Randomly Throws Exception

We have SmartTarget implemented on a page which has multiple regions. To facilitate this we have multiple SmartTarget query tags sitting on the .jsp page to perform the queries and fill in the page ...
Nicholas Wetmore's user avatar
2 votes
0 answers
70 views

Why Does the DXA Webapp Fill the WebSphere Class Cache to 100%?

We have a DXA 2.0 Java webapp built and deployed on a WebSphere environment. It runs perfectly fine the majority of the time, however, every 23-25 hours (seemingly regardless of load) our JVM would ...
Nicholas Wetmore's user avatar
1 vote
1 answer
55 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.
Azizur Rahaman's user avatar
2 votes
0 answers
44 views

Not able to start workflow of bundle using CoreService in Java

I am able to start workflow of bundle using CoreService in .Net with the below code: StartWorkflowInstructionData startWorkflowInstruction = new StartWorkflowInstructionData(); ...
Prashanthi Pothuru's user avatar
11 votes
0 answers
185 views

How to populate servletPath for CID Filter on WebSphere? (java.lang.StringIndexOutOfBoundsException)

We have the CID Filter setup on a Java webapp that was recently upgraded to CIL 8.5. To do so, we setup the following filter in our Web.xml: <filter> <filter-name>CID filter</...
Nicholas Wetmore's user avatar
4 votes
1 answer
72 views

Using PageContentFilter and BinaryContentFilter in 8.5

We have implemented PageContentFilter and BinaryContentFilterin Tridion 2013 SP1 because we serve pages from custom filesystem location with following code: public class BinaryContentFilterWrapper ...
Marko Milic's user avatar
  • 8,942
2 votes
1 answer
130 views

Web 8.5 Tridion API special characters error with dynamic page links

When there are special characters in linkText attribute, Java application using 2013 Tridion renders the link text and link without issues. When the same pageLink is being rendered in 8.5 Tridion, the ...
Deepthi Mandava's user avatar
1 vote
0 answers
72 views

Adding SDL Web 8.5 CIL maven dependency in JAVA REST Web service is throwing exception

I am trying to create a RESTful Web Service using Jersey (I am new to Java). When I add the jersey dependencies in pom.xml, it worked fine. But when I am trying to add SDL Web 8.5 CIL maven ...
GVK's user avatar
  • 505
0 votes
1 answer
115 views

Demo project for SDL Web 8.5 Core Service

I need a full Java project setup for Core Services to get Component details by using Java program
user2842's user avatar
2 votes
1 answer
67 views

Enable remote JMX monitoring for DD4T webapp

With your help I was able to increase the Java Heap Space of our .NET DD4T webapplication (Tridion 2013 SP1). Now we want to monitor it because the Java Heap Space is a black box for us. Now we know ...
Peter van der Lugt's user avatar
2 votes
1 answer
158 views

DXA 1.8 "BinaryData" files is not creating under \dxaWeb\BinaryData\publication-id\system\config\ when I build dxaWeb app

I have upgraded DXA 1.5 to DXA 1.8, Java 1.7 to 1.8. Deploying in Tomcat 9 server. The BinaryData files is not creating under \dxaWeb\BinaryData\publication-id\system\config\ when I build DXA web app. ...
Jayakumar Devaraj's user avatar
1 vote
2 answers
134 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: ...
Jayakumar Devaraj's user avatar
3 votes
0 answers
60 views

Can I access the "Item" custom meta (metadata fields) in a Storage Extension?

I am trying to determine whether I need to process anything in my Storage Extension depending on certain fields in the item metadata. (I am extending all 3, Page, ComponentPrensentation and Binary ...
Jaime Santos Alcón's user avatar
1 vote
0 answers
91 views

Java : Unable to use multiple discovery / content svcs when using content-client-api JAR

First a little background… In our current Java Services, we have one called “Query”. This service starts up, connects to a Discovery Svc using discovery-client-lightweight at which point we are able ...
Todd Perlmutter's user avatar
4 votes
1 answer
105 views

Which CIL contains which classes?

Is there any list which references which CIL contains which classes? Official CD API documentation states which class is in which package, but not which class is in which .jar file. This is really ...
Marko Milic's user avatar
  • 8,942
1 vote
0 answers
232 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
3 votes
0 answers
91 views

Constructor in one of the classes in deployer-web-extension-8.5.0 throws ClassCastException. Is there a patch available?

I was recompiling some of our custom deployer extensions (originally built for SDL 2013) with the SDL Content Delivery 8.5 jars, and one of the constructors of the class ItemDeploySchemaManager in ...
Arier's user avatar
  • 328
3 votes
0 answers
58 views

TaxonomyKeywordKeyCriteria ignores publication Id

I'm using TaxonomyKeywordKeyCriteria to find Components that have a related Keyword. I only have the Keyword key and not the TCM URI. My code: Criteria criteria = new TaxonomyKeywordKeyCriteria(...
Guskermitt's user avatar
  • 1,319
2 votes
1 answer
41 views

Linux and JBoss: Clustering software recomendation

We have to build a new architecture and we calculated that we will need four presentation servers. We are using Java to develop our website and we will deploy it to Jboss under a linux platform. We ...
Guskermitt's user avatar
  • 1,319
0 votes
2 answers
72 views

OData WebService (java) giving Error Result - Tridion 2013 SP1

OData Webservice base url http://myserver:11090/cd_webservice/ws/odata.svc hit on browser working fine; results below: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <service xml:...
Gulshan Thakur's user avatar
5 votes
1 answer
104 views

Page Metadata Component Link

I have a Component Link in the Metadata Section of a Page. I cannot see the content of this Component in the Page JSON which is published to the Broker DB. Is it possible to get the content of the ...
Francisco Benitez's user avatar
2 votes
0 answers
85 views

How to convert ResolveInstructionData object in to JAXBElement object in Java? [duplicate]

I am trying to set the JAXBElement in to the PublishInstructionData using the below function but getting the error on runtime as Exception in thread "main" com.sdltridion.contentmanager.coreservice....
Ankur's user avatar
  • 81
3 votes
1 answer
108 views

When is JuggerNET bridge initialized?

I have a Tridion 2013SP1 Content Delivery .net web-application. In its global.asax, I am attempting to make a call that requires the JuggerNET bridge to be initialized (e.g. new PageFactoryMeta()). I ...
Mihai Cădariu's user avatar
0 votes
1 answer
39 views

Render Component Presentation cd_dynamic 7.1.0 error: cannot access Page

I've got a compilation error with the following lines: JSPPage dcdPage = new JSPPage(pageContext, pageId); ComponentPresentationAssembler cpAssembler = new ComponentPresentationAssembler(dcdPage); ...
tfinez's user avatar
  • 1,234
2 votes
1 answer
74 views

Getting error while fetching Category and keywords as xml using core-service in java

I have tried the following code to get xml. void getListXml(ICoreService endpoint, String myUri) throws Exception { TaxonomiesFilterData filter = new TaxonomiesFilterData(); Element ...
Neetesh Narvaria's user avatar
6 votes
2 answers
138 views

DD4T 2 Ehcache settings: DD4T-Objects vs DD4T-Dependencies

The ehcache.xml file expects settings defined for "DD4T-Objects" and "DD4T-Dependencies". In a typical implementation what percentage volume of items might we expect to be in the DD4T-Objects cache ...
Jonathan Primmer's user avatar
3 votes
1 answer
136 views

DD4T-2 Strongly-typed Page Metadata Component Links

I'm working on an implementation that has "configuration" components attached in page metadata (as component links) for things like navigation visibility, SEO fields - etc. This is so the ...
Josh Hebb's user avatar
  • 2,920
2 votes
0 answers
63 views

Accessing an embedded schema in a components meta data with the Java API

I've encountered an issue with the Java API that has me scratching my head. I have created a component with a metadata of which one field is a multi value embedded schema. I'm trying to access it to ...
Kris Trygg's user avatar
3 votes
1 answer
231 views

Problems about migrating Java(Broker API) from Tridion 2011 SP1 to SDL Web 8

One of our customers is using Tridion 2011 SP1, and they will upgrade it to SDL Web 8. Now there are custom Java modules which are made by using Broker API(Tridion 2011 SP1), and it's necessary to ...
Hirokazu Shikata's user avatar
3 votes
2 answers
235 views

Error occurs on DXA 1.4 Java, probably related to Context Service

I'm using following versions. SDL Web 8 DXA 1.4 I set up following services. PageContentFilter and BinaryContentFilter are disabled in web.xml, so Preview service is not used. Discovery Content ...
Hirokazu Shikata's user avatar
1 vote
1 answer
841 views

Need help on display as jsp extension in web page using tridion web 8 and dd4t (version2)

I am trying to display the page as .jsp instead of .html in the url but I run into issues. Any ideas or help would be great appreciate. Everything is working fine with .html In the tridion, i save ...
Jon S's user avatar
  • 111
4 votes
0 answers
152 views

How to get all Component Presentations with all Custom Meta in single ODATA query?

I am trying to get all the Component Presentations and corresponding Custom Metas by applying a filter on a specific meta. I have formed the query and I am getting the required information I need by ...
Yash's user avatar
  • 916
2 votes
1 answer
87 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 ...
jarnohenneman's user avatar
0 votes
2 answers
116 views

DD4T 2 Java java.lang.ClassCastException

I have a page class defined as below (I've removed all custom fields). public class TwoColPage extends PageImpl { //TODO: metadata fields } In my JSP I have <jsp:useBean id="pageModel" type="...
Chris Morgan's user avatar
  • 7,327
1 vote
1 answer
69 views

SDL DXA Java 1.4 - Missing dd4t dependencies

I'm trying to run the branch develop for the project web-application-java in github using the 2013sp1 profile. However, when installing the app with maven all the dxa dependencies can not be found ...
tfinez's user avatar
  • 1,234
4 votes
2 answers
157 views

How to put Multiple values with Multiple Schemas into DD4T-2-Java

Inside Tridion 2013-SP1 with DD4T template 2.0.8 I have a Schema with one Field: Foobar of Type Component Link Allow Multiple Values Allowed Schemas {Foo, Bar} Within Java DD4T 2.0.4 created a ...
TheMiXeD's user avatar
1 vote
2 answers
144 views

DXA Java render embedded image in RTF

When creating content in a RTF field you have the option to insert tables and images. An Image is added to the RTF field with a fixed with of 100%. How can we manipulate that ? <p> <img ...
jarnohenneman's user avatar
2 votes
1 answer
45 views

DXA throws warning: Entity of type webapp.model.entity.RichContent does not contain a field named Content

In DXA 1.4 (Java) in my logs I see the following warning: 12:04:35.304 [http-apr-8080-exec-6] WARN c.s.w.common.impl.markup.MarkupImpl - Entity of type webapp.model.entity.RichContent does not ...
jarnohenneman's user avatar