Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
4
votes
1answer
37 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 ...
4
votes
0answers
24 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 ...
2
votes
0answers
28 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 ...
1
vote
1answer
50 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.
2
votes
0answers
33 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(); ...
10
votes
0answers
58 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</...
4
votes
1answer
66 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 ...
2
votes
1answer
79 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 ...
1
vote
0answers
46 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 ...
0
votes
1answer
72 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
2
votes
1answer
44 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 ...
2
votes
1answer
98 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. ...
1
vote
2answers
78 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: ...
2
votes
0answers
35 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 ...
1
vote
0answers
63 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 ...
4
votes
0answers
48 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 ...
1
vote
0answers
197 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 ...
3
votes
0answers
83 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 ...
3
votes
0answers
53 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(...
2
votes
1answer
39 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 ...
0
votes
2answers
55 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:...
5
votes
1answer
84 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 ...
2
votes
0answers
77 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....
3
votes
1answer
86 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 ...
0
votes
1answer
36 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); ...
2
votes
1answer
60 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 ...
6
votes
2answers
131 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 ...
3
votes
1answer
132 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 ...
2
votes
0answers
55 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 ...
3
votes
1answer
199 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 ...
3
votes
2answers
199 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 ...
1
vote
1answer
656 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 ...
4
votes
0answers
134 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 ...
2
votes
1answer
76 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 ...
0
votes
2answers
104 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="...
1
vote
1answer
63 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 ...
4
votes
2answers
146 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 ...
1
vote
2answers
106 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 ...
2
votes
1answer
40 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 ...
1
vote
0answers
47 views

Content Delivery Java API 2013SP1 objectcache Tomcat does not shutdown

We use the Java content delivery API on Tridion 2013SP1 with ObjectCache enabled. When running as a Java web application on Tomcat 7, we notice the Tomcat server will hang on shutdown when we have the ...
3
votes
2answers
231 views

DD4T 2 Java and Maven Build Failing

I'm trying to Build DD4T 2 Java, using the following POM's and Maven (with version changed from 2.0.6-SNAPSHOT to 2.0.5. I am using the 'cd-8.1.0' profile for the CIL / CIS dependencies POM - https:/...
4
votes
1answer
257 views

DD4t 2.0 Java: How to get BaseViewModel populated for Dynamic Components

I am calling ComponentPresentationFactory.getComponentPresentation(componentURI, templateURI) method to retrieve a dynamic component in my Page Controller. The Component Presentation object returned ...
0
votes
1answer
160 views

Getting a published page's version at runtime from the broker database (Tridion 2011 Java)

I'm in the process of implementing a modular JS/CSS system on our site and I'd like to introduce a cache buster ?v=1 query to the end of the file url's. Due to the fact we use a runtime DCP to write ...
3
votes
1answer
229 views

Error in upload Image to SDL Tridion using SOAP API 2013 and CXF (Java)

We are trying to upload an image using SDL Tridions SOAP API using Apache's Java CXF. And we are stuck during the creation of a component data component with binary content with this error message: ...
-1
votes
1answer
102 views

fetch publication structure using core-services (java) [closed]

I want to fetch publication structure using core-services (java) from SDL Trdion13. what i need to do for this?
2
votes
2answers
124 views

How to do Personalization on DD4T Java 2.0?

I have implemented a Web site by using DD4T Java version 2.0. I'd like to implement Profiling and Personalisation, which uses Target group. First I made a Target Group, and add it to a component ...
2
votes
1answer
220 views

Error while building java dd4t2.0 with message “Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts)”

i am trying to do POC with dd4t 2.0 latest version and facing build error. Please help me to resolve this maven dependency, i am getting error while building this project [INFO] --- maven-gpg-...
2
votes
1answer
207 views

DD4T 2.0 Java Spring MVC: How to fetch the component field value when it has multiple keywords as its values?

In ViewModel class I am not able to fetch the field values; the field has multiple keywords as its value (say keyword1 and keyword2). Below is the snapshot of the In ViewModel class I tried to use ...
0
votes
1answer
121 views

How to access custom meta of publication in JAVA?

I have some meta data at the Publication level which I am trying to access using the Content Delivery API (JAVA), I can see the functions to get Page & Component metadata but could't find the way ...
0
votes
1answer
59 views

Getting dynamic components as data objects and interogating them at runtime - ASP Java - Tridion 2011

I'm working on a site with a lot of traffic, and we're trying to avoid broker queries on meta data as some load tests have caused a server overload. I'm trying to build a dynamic offers and ...