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
0answers
41 views

XSLT error after setting up dd4t with java

We have setup DD4T with java as per URL https://code.google.com/p/dynamic-delivery-4-tridion/wiki/31_Quickstart We have ported the content porter package from https://github.com/dd4t/dynamic-delivery-...
3
votes
0answers
84 views

Unable to setup DD4T 1.31 project

I have followed the steps from https://code.google.com/p/dynamic-delivery-4-tridion/wiki/31_Quickstart at step number 6 Add projects to Eclipse In your Eclipse, add the folders under \java ...
2
votes
1answer
61 views

DXA+ JAVA: Managing specific errors (404,500)

When there's a error in the app, like 404 or 500 error, we would like to know if there's a standard using DXA to manage this kind of errors in 2 different pages. Currently, we are seeing that by ...
5
votes
2answers
135 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 ...
7
votes
2answers
317 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. ...
2
votes
1answer
51 views

How to get the current page to enable social sharing

I am using the share Component provided with the example site. Here request.getURl resolves to the view page and not the actual url shown on the browser. https://www.facebook.com/sharer/sharer.php?u=...
7
votes
3answers
334 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 ...
3
votes
1answer
242 views

dxa-web-application-java Cannot find repository and StorageException Errors

Tomcat logs the errors below, Does anyone know how to fix these? What I did. I have a fully working .Net DXA with Experience Manager and want to learn how to use the Java DXA so I Followed the ...
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 ...
2
votes
1answer
167 views

DD4T2 Java: Get schema of Page object

In my java project using DD4T 2 beta, I would like to get the Page Schema object from a page object. Unfortunately, the Page interface (https://github.com/dd4t/dd4t-2-java/blob/develop/dd4t-api/src/...
4
votes
1answer
669 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 ...
3
votes
1answer
67 views

How can I retrieve a list of a folder's images so I can randomly select one of them?

I am using dxa's java project and need to implement a condition where I randomly pick an image out of a list of images. I don't necessarily want to link 20 images to a component to fetch this list of ...
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
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"> ...
3
votes
0answers
96 views

How to use XML as content on DD4T 2 Java version

I'm implementing DD4T 2 java version. This version of DD4T uses JSON as published content by default, but I want to use XML instead of JSON, because of weird behaviour of component's keyword field. I ...
2
votes
5answers
198 views

Removing Page Extensions using DD4T

We are using DD4T Java for one of our website build using Tridion 2013 SP1. One of the requirements says we should not display page extensions. Current page urls : www.mysite.com/newsroom/...
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
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 ...
1
vote
3answers
195 views

DD4T for Java - Maven unable to find cd_model.jar and cd_core.jar

I'm having problems building the DD4T project to build with Maven in Eclipse (Java EE). When I try to build the dd4t-api project using Run as > Maven build the build fails with a message in console ...
1
vote
1answer
74 views

Is it possible to resize image file on Java DD4T?

I'm making WEB site by Java DD4T. On .NET version, it's very easy to resize image. But on Java version, I can't find how to do that, even though I searched source codes. Is there any out-of-box ...
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 ...
4
votes
3answers
537 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 ...
7
votes
2answers
541 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 ...
1
vote
1answer
140 views

Issue with DD4T project setup with Java

Can anyone suggest me the exact steps required to setup a new DD4T java project with eclipse and tomcat. I have followed the steps suggest at https://code.google.com/p/dynamic-delivery-4-tridion/wiki/...
3
votes
1answer
728 views

Special characters using Odata Webservice

i'm trying to make some queries to Tridion using OData Webservice. I'm having troubles using filters that contains single quote (') or other charactes like (á,ü,ç,ñ,...). For example: http://......./...
3
votes
1answer
179 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 ...
2
votes
2answers
189 views

Configuring the Web application for multilingual Web sites

we are configuring TRI and we are mapping the application for multilingual Websites. But It's not working. only it's detecting the first publication/language set on the cd_dynamic_conf.xml Debugging ...
3
votes
1answer
620 views

'Need Authorization' error while trying to import proxy files using java

While trying to import proxy files using the command as given below: wsimport.exe http://X.XXX.X.XX/webservices2/CoreService2011.svc?wsdl a error occurs. i.e: needs authorization, please provide ...
3
votes
0answers
130 views

Nonstandard options in jvm.xml

In the jvm.xml file there are already some settings given as an example. <Option Name="-Xmx" Value="50m"/> <Option Name="-Xms" Value="20m"/> <Option Name="-Dfile.encoding" Value="UTF-8"...
5
votes
1answer
393 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
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 ...
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 ...
2
votes
2answers
224 views

retrieve multimedia content from tridion using DD4T with java

I am trying to retrieve multimedia content from Tridion using DD4T with Java. Can anyone let me know how this can be done? I am using below syntax to create generic component and then trying to ...
1
vote
2answers
162 views

DD4T with java using OData

I am using DD4T with java using odata web service. I am able to retrieve the content of whole page in java using odata. But I am not sure how can we get the values of individual elements to create the ...
1
vote
0answers
88 views

When unpublishing component using DCP, how to get component's custom meta data using java based deployer extension?

I have a deployer extension written in java in which I have customised logic for generating some PDF files based on condition check during publishing of component using DCP. We have named the PDF ...
1
vote
0answers
155 views

Not able to get the metadata of the component through java Broker API code

I am trying to get the metadata of the component published to broker. Here is the code snippet - Note :- in docIds[i] i have the component Ids. ComponentPresentationFactory compfac = new ...
2
votes
1answer
244 views

Get the component object from transport package using a deployer extension which uses tridion java content delivery API on unpublishing of component?

I have deployer extension configured for my deployer which is written in java version 6. As and when we publish any component, we have a customised logic in deployer extension that PDF file should be ...
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 ...
4
votes
1answer
170 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 ...
2
votes
2answers
244 views

Get the ComponentPresentation or ComponentTemplate name from the TransportPackage object in tridion java content delivery api

In tridion java content delivery API, is it possible to get the ComponentTemplate name from the TransportPackage object without giving any tcm id's as parameters I am using deployer extension which ...
2
votes
1answer
159 views

In Tridion content Delivery API java, is it possible to get package zip file which is generated on publishing some content using the API

My requirement here is to get the package zip file, check the content inside it, and based on the content present or condition (here my condition is if the component is published using a specific ...
0
votes
2answers
263 views

Get components on the content delivery side using the java content delivery api and check component templates used for it

I am working on tridion content delivery java api. I would like to know which java classes are invoked on publishing a component from tridion. My requirement is to check the component published, ...
8
votes
1answer
235 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
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 ...
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 ...
9
votes
3answers
277 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....
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 ...
1
vote
3answers
5k views

NoSuchMethodError: org/slf4j/spi/LocationAwareLogger.log while deploying application on a WebSphere 7.0.0.23 Application Server

I am facing the error below while deploying an application onto a WebSphere 7.0.0.23 Application Server: [10/25/13 12:07:34:813 IST] 00000035 StorageManage E com.tridion.storage....
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 ...
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 ...