The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
0answers
51 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
0answers
47 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
0answers
82 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(...
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 ...
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 ...
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"...
2
votes
0answers
27 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 ...
2
votes
0answers
32 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(); ...
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 ...
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 ...
1
vote
1answer
44 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.
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 ...
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 ...
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 ...
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-...
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 ...
0
votes
0answers
191 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 ...