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
20 votes
2 answers
626 views

What versions of Java are supported and proven to work for Tridion 2011 SP1 HR1?

Q1. What is the latest version update of Java 6 that is supported for Tridion 2011 SP1 HR1? Q2. Also, given the problems with different Java 6 updates and Tridion, which other Java 6 version ...
DanielGLB's user avatar
  • 1,036
13 votes
1 answer
248 views

How do I debug my Java ADF cartridge on a JuggerNET delivered site?

I've written a custom ADF cartridge, but am having problems configuring JuggerNET to allow me to attach a remote debugger to this cartridge. I've seen these instructions: http://codemesh.com/...
Bengineer's user avatar
  • 1,312
11 votes
0 answers
177 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
10 votes
2 answers
231 views

Is Java 7 supported on Tridion CMS 2011, sp1?

Can I upgrade my Java to version 7, from version 6? I thought I have read that Java 7 does not work with Tridion CMS 2011, SP1?
Charlie B.'s user avatar
9 votes
2 answers
2k views

SDL Tridion integration with a Java application

Is it possible to get content from SDL Tridion (using webservices etc.) and consume this in a Java application? I've been reading some SDL Tridion documentation online and have seen some examples. ...
p.p's user avatar
  • 333
9 votes
3 answers
315 views

How to specify the Deployer temp storage location?

We've noticed that the Deployer uses the Java temp directory to store zip packages whilst deploying, this is confirmed by the Deployer log file: +56 2013-12-04 19:54:40,919 INFO Deployer - java....
johnwinter's user avatar
  • 14.3k
8 votes
2 answers
6k views

Tridion Web CMS - Starting tutorial

I am planning to create my website in Tridion web CMS.I would like to know more about Tridion CMS. Is it a hosted solution? or i can download code and customize and hosted our server?. I can't get a ...
vks's user avatar
  • 181
8 votes
1 answer
272 views

ADF ClaimStore not available (null) in Java Application

Good Morning! This is my scenario : I created a cartridge and I successfully added the new claims to the ClaimStore. I am sure about it because i am using the ClaimPageAspx.aspx page to list all the ...
yeremy Seminario's user avatar
7 votes
2 answers
388 views

Getting a document link in DXA?

The current link (Embedded Schema) supports external link or internal link (via Component linking). For internal linking, Tridion resolves the link if the Component is published on one or more Pages. ...
Huston Lopes's user avatar
7 votes
1 answer
138 views

How to set FileExtensionList

I am new to tridion and I want to Create a multimedia component and I have written the below code. import com.sdltridion.contentmanager.coreservice.ICoreService; import com.sdltridion.contentmanager....
user2197873's user avatar
7 votes
3 answers
440 views

Use Page linking instead of component linking in tridion

We have a requirement were Editors want to link to a page (Page in Tridion) from component field instead of using the Tridion component linking. We decided to use the Item Selector custom URL approach ...
Huston Lopes's user avatar
7 votes
2 answers
199 views

Running out of PermGen space in Tomcat when running multiple Tridion CD instances

On my dev environments I am running multiple instances of Tridion Content Delivery in the same Tomcat (JVM) server. Typically I have: 2x Tridion Deployer 1x OData Web Service 2 or 4x Tridion Content ...
Nuno Linhares's user avatar
  • 29.1k
7 votes
2 answers
657 views

DXA - Mapping Data of a Component Link

We are using DXA for Java. We are trying to map a field that in Tridion is a Component Link field. Debugging the code, we see that is trying to resolve the component Link like a URL using ...
Guskermitt's user avatar
  • 1,277
6 votes
1 answer
211 views

Deployer extension - documentation

Is there any further documentation or Javadocs for the Deployer API? I'm writing a deployer extension for 2011 SP1 HR1 and have things up and running based on Tridion World articles and the online ...
Neil's user avatar
  • 6,698
6 votes
2 answers
321 views

tridion:ComponentLink tag not working on Java app

We have a Windows 64 bit machine, where we initially set up a .NET Content Deployer and we deployed there aspx generated from CMS Tridion (DWT & Razor), and the environment is working. Now, we ...
user765's user avatar
  • 61
6 votes
2 answers
136 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
6 votes
1 answer
323 views

"Unable to get Schema of a Component"

I am new To tridion. I am trying a Java program which automatically uploads the image into tridion when an image is selected from the local machine. I have written the following code. import java.io....
user2197873's user avatar
5 votes
2 answers
4k views

Using ODATA with JAVA

I would like to acces the broker via OData in our java application. I have the java web service running properly. However I'm getting stuck because I don't know how to add the service reference in our ...
tfinez's user avatar
  • 1,234
5 votes
2 answers
484 views

Not able to upload Binary Images Using Core Service2011 API from Java Client?

I am trying to upload binary images through the Java Client using Core Service API. I am facing an issue while uploading the binary content using the IStreamUpload.uploadBinaryByteArray() method. ...
user2404968's user avatar
5 votes
2 answers
164 views

using the ADF server variables (querystring data)

I notice that the ADF by puts a load of default content into the claim store. i'm trying to extract the querystring values placed into them so i can modify them via my own ADF cartridge. these ...
johnwinter's user avatar
  • 14.3k
5 votes
2 answers
129 views

Multiple set-cookie header in personalized page

We have a little problem with the personalization module in the SDL Tridion 2011 and we are not sure if it is a bug, problem with the configuration of the cd_wai in our Linux presentation server (Java ...
Jordi Sánchez's user avatar
5 votes
3 answers
229 views

How to include common layout(header etc.) on DD4T on Java

I'm implementing DD4T on Java. To implement common layout, like header and footer etc., I write "jsp:include" on page template JSP file. But apparently it includes the page itself, and the page is ...
Hirokazu Shikata's user avatar
5 votes
2 answers
161 views

Can 32 bit and 64 bit Tridion web application be mixed on one machine?

Mixing up 32 bit and 64 bit DLLs and Java JREs can lead to issues. I am investigating one and I wonder if we can have an IIS website in 64 bit (Tridion DLLs and JRE) and Visual Studio with IIS Express ...
Jan H's user avatar
  • 8,836
5 votes
2 answers
148 views

taglib declaration for tridion tags

I'm moving a tridion site from asp.net to java and I am wondering about how to handle the taglib declaration for tridion tags (ComponentLink, ComponentPresentation, etc.) at the top of the page. It ...
Nate Niemi'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
5 votes
1 answer
202 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
5 votes
1 answer
328 views

Getting XML output in Java using Core Services

I have done a program in Java which sets ItemTypes in Tridion and gets the list of all specified ItemTypes in a Publication. I have used Element to getList of items. import java.io.IOException; ...
user2197873's user avatar
5 votes
1 answer
137 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
5 votes
1 answer
422 views

Java Console Application licensing error when using CD jars

I've been running into some trouble coding a java console application. I want to create, external from the Content Manager, pdf pages containing data pulled from the broker database. This program ...
Jan Nel's user avatar
  • 51
4 votes
3 answers
573 views

DXA versus pure DD4T based approach

Although I have not downloaded DXA reference implementation yet, I have worked with DD4T/MVC before. From the documentation, it seems that DXA is just a wrapper on top of DD4T, with Experience Manager ...
sameerjamal's user avatar
4 votes
1 answer
124 views

Error after applying metadata (with category) on page

I have created a metadata schema which has a dropdown field referring to a particular catrgory. When I apply the metadata on page and publish the page, I get internal server error. Error message: ...
Huston Lopes's user avatar
4 votes
1 answer
124 views

Content Broker - Validating if a component presentation is published

we are using Tridion 2009 SP1. Our webserver is a Weblogic. We have content published with some taxonomies. For showing the results we determine the tcm of the content using taxonomies. When we ...
Guskermitt's user avatar
  • 1,277
4 votes
2 answers
126 views

How to start Content Delivery (JSP) delayed/programatically

I am looking for a way to start the tridion related stuff in the content delivery programatically or delayed instead of starting immediately when the app server starts the webapp. I am not sure ...
Roy Teeuwen's user avatar
4 votes
1 answer
184 views

Where to get the JARs for sdltridion.contentmanager

(I asked this question on stackoverflow and they pointed me to the existence of tridion.stackexchange.com, so I repost it here.) For our automated tests I want to connect to Tridion from our Java ...
AutomatedChaos's user avatar
4 votes
1 answer
96 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,863
4 votes
1 answer
99 views

How to read embedded Schema values in DD4T Java?

We have a Schema like this: SchemaChild of type Embedded with two fields; A (text) and B (text) SchemaParent of type Content with one Field C (SchemaChild) as a multi-value field. How can I iterate ...
Harish Sharma's user avatar
4 votes
1 answer
260 views

How is schema linked to a Model in DXA+Java MVP Implementation?

I am new to java and was trying to write a model for a schema. I want to understand how a schema is linked with the model. For e.g. I have schema with below details: heading (Text Field) - Single ...
Huston Lopes's user avatar
4 votes
1 answer
129 views

How to determine the sequence of component presentation in a region

How do we determine the sequence of a component presentation in a particular region on the page? I am using DXA JAVA. The design has 4 blocks having divs something like: <div class="tab1"> ...
Huston Lopes's user avatar
4 votes
1 answer
130 views

Problem adding a custom REL tag handler

We have implemented a REL tag handler for our Tridion 2011 content delivery server. The REL tag handler has to do some specific functionality when resolving component & page links. This REL ...
Harald Hoffelinck's user avatar
4 votes
1 answer
71 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,863
4 votes
2 answers
155 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
4 votes
1 answer
269 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 ...
Anindita Pal's user avatar
4 votes
1 answer
834 views

Embedded field in embdded field is not mapped to view model on DD4T 2 Java version

On DD4T 2 Java version environment, I created view model class. But, when there is a embedded field in another embedded field, 2nd embedded field values are not mapped to view model instance, and I ...
Hirokazu Shikata's user avatar
4 votes
0 answers
76 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
4 votes
0 answers
151 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
4 votes
0 answers
239 views

How to deserialize component data to model instance on DD4T Java version 2

I'm implementing DD4T Java version 2. I saw following article. http://blog.trivident.com/2014/12/introducing-dd4t-version-2-0-for-java/ According to this article, it's possible to deserialize ...
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
3 votes
2 answers
267 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:/...
Chris Morgan's user avatar
  • 7,327
3 votes
5 answers
10k views

Debugging in IntelliJ gives "Address localhost:1099 is already in use" error

I am running a Tridion based (DXA) JAVA web application in IntelliJ. The Run/Debug configuration is based on the standard Local Tomcat server settings. When I stop the debugging session and start ...
Jan H's user avatar
  • 8,836
3 votes
1 answer
290 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: ...
gil.fernandes's user avatar