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
20
votes
2answers
597 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 ...
13
votes
1answer
238 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/...
10
votes
2answers
228 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?
10
votes
0answers
57 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</...
9
votes
2answers
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. ...
9
votes
3answers
279 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....
8
votes
2answers
5k 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 ...
8
votes
1answer
237 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 ...
7
votes
2answers
323 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. ...
7
votes
1answer
133 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....
7
votes
3answers
335 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 ...
7
votes
2answers
195 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 ...
7
votes
2answers
548 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 ...
6
votes
1answer
192 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 ...
6
votes
2answers
297 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 ...
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 ...
6
votes
1answer
305 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....
5
votes
2answers
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 ...
5
votes
2answers
429 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. ...
5
votes
2answers
137 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 ...
5
votes
2answers
121 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 ...
5
votes
3answers
221 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 ...
5
votes
2answers
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 ...
5
votes
2answers
142 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 ...
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 ...
5
votes
1answer
315 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; ...
5
votes
1answer
396 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 ...
4
votes
3answers
540 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 ...
4
votes
1answer
123 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: ...
4
votes
1answer
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 ...
4
votes
2answers
118 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 ...
4
votes
1answer
172 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 ...
4
votes
1answer
96 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 ...
4
votes
1answer
254 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 ...
4
votes
1answer
119 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"> ...
4
votes
1answer
116 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 ...
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 ...
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 ...
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 ...
4
votes
1answer
672 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 ...
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 ...
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 ...
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 ...
4
votes
0answers
229 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 ...
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 ...
3
votes
2answers
230 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:/...
3
votes
3answers
7k 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 ...
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: ...
3
votes
1answer
180 views

Get Component fields using odata Webservice

we are trying to get the fields(images and other kind of fields) of a component using oData web service. We have a component (/odata.svc/Components(ItemId=int,PublicationId=int)) and we need to read ...
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 ...