21

The key is to have the Tridion java wrapper fire up the JVM in debug mode: java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 -Djava.compiler=NONE -Xnoagent The rest is business-as-usual remote debugging with Java. Tridion appears to set jvmLoader.Debug = true; by default. So you should just be able to attach to the java process ...


20

Session preview bypasses the standard publishing mechanism. I found it the hard way too, that after "previewing" content my characters were wrong. Easily fixed if you know what to search for. The problem is that you need to tell the Java process on the delivery side to use UTF-8 encoding, which is usually handled nicely by the Deployer... but with Session ...


16

I am going to answer my own question, as I got a lot of additional information from other sources and think its helpful to summarize it here. It is not at all possible to use Session Preview without the Ambient Data Framework as key to this working is the ability for your web application to switch between getting content/data from the normal staging storage ...


16

I do not think it is a valid configuration to have two of the same itemType mappings. So two Item elements with the same value in the typeMapping attribute like you suggested would not work. Apart from using a deployer extension, you could implement your custom storage layer which calls the Tridion Broker database storage (by invoking the overridden Tridion ...


16

I would use the token service to test the other two, thus ensuring that all 3 of them are working. To do so, though, you need to be able to create a specific HTTP request, setting the method and headers, etc. There are lots of tools out there; I typically use the Postman Chrome extension. Test the token service by getting a token you can use with the other ...


15

I think what you're after is a Deployer extension, not a storage extension. In your deployer extension you get access to the entire transaction package, so you can write your logic to process a given type a special way in addition to the OOTB way. Have a look at Jaime's tutorial on Deployer Extensions: http://sdltridionworld.com/articles/sdltridion2011/...


15

I wouldn't query it directly at all: You already said you don't have a clue about the structure, so image you would finally be able to write your queries, you'd probably have to change it when a new version comes out. I'd try out the following options: Use BrokerQueries. Robert Curlette has some articles on his blog (e.g. http://www.curlette.com/?p=383), ...


15

I've never seen this kind of a unifying document before. Typically on SDL Live Content the relevant configuration elements are listed in the instructions for the component you're configuring. Perhaps you can open up a documentation enhancement request via the Ideas site or add a comment on the most relevant page on SDL Live Content.


15

Was Java version 7 recently installed on that machine? I've recently seen the same error when a sys admin removed Java 6 and installed Java 7. Also check if all the necessary Jar files are present in the \lib directory. It seems that the javax.xml.xpath Factory class can't be loaded.


15

Most likely your Dynamic Component Template output type is set to HTML Fragment. This instructs Tridion to not do anything with the rendered output as it is plain static HTML. Change your template output type to REL when storing DCPs in the database, or JSP Scripting if storing them on the filesystem.


14

You're probably missing the tagbundle configuration in the cd_deployer_conf.xml You need to add the following to the <TCDLEngine> section of the deployer: <TagBundle Resource="com/tridion/smarttarget/tcdl/tagbundle.xml" /> More information here.


14

Chris hits a few of the main differences between the CWA and DD4T project. My view is a bit simpler, so I'll share it too. In a Tridion implementation your content lives (at least) three places: in the Content Manager database as XML in the Content Delivery broker in the visitor's browser as HTML Tridion systems architecture +----------+ +---...


13

If you work on a 32-bit workstation, you need to use the 32-bit Tridion DLLs. The DD4T DLLs themselves are hybrid, they should be okay. You can find the 32-bit versions of the Tridion content delivery DLLs on the Tridion installation CD.


13

firstly yes its 32 vs 64 bit dll/Jar issue, but in my case i was using correct 64 bit dlls/Jar, but in the app pool mistakenly "Enable 32 bit Applications" was set to true. After setting it to false resolved my issue.


13

Yes - it does and it is mentioned in the documentation [Login required] Do something like (C#) //Get the second set of 10 results (eg 11-20) PagingFilter filter = new PagingFilter(11, 10); query.SetResultFilter(filter);


13

The problem here is that it is an unpublish operation and no templates are executed and we cannot use the AddInstructions method available in the RenderedItem class. As an alternative there is a non documented extension point called a TransportHandler, you need to implement the ITransportHandler interface that is located in a GAC assmebly Tridion....


13

As far as I know since Tridion 2013 the encoding in database for content field has changed for mssql. You no longer will be able to do select on database to see the content anymore. I have seen around floating somewhere a query which can decode it for human readable view. Will try to look it up. However, even if the content cannot be seen properly in ...


13

As @Likhan is mentioning in his answer, it seems that the information is saved in Unicode/UTF16 so it needs to be decoded using other Encoding like iso-8859-1. I developed a workaround for it developing a SQL CLR Stored Procedure SQL CLR STORED PROCEDURE public partial class StoredProcedures { [SqlProcedure] public static void ...


13

You can get readable content from the COMPONENT_PRESENTATION table directly in sql by double converting the content field like this: SELECT CONVERT(varchar(max),CONVERT(varbinary(max),content)) FROM COMPONENT_PRESENTATIONS WHERE <where_clause>


13

Yes you can re-use the Broker database for the discovery-service. The reason why we provide it separately is so in the future we can have different options. You can imagine you can register different capabilities in the discovery-service that perhaps do not require a broker db in the future. Also putting this in a different database offers different ...


13

The short answer is "Follow the documentation". I would say 95% of implementations are distributed between CM and CD machines (and often more with dedicated GUI, Search, Publishing and DB on the CM side), normally with a firewall between them and the CD side (which is built for even more distribution between caching, deploying, rendering and presenting ...


12

A decent part of the Content Delivery functionality is exposed through the so-called Content Delivery Web Services. The most familiar of these web services is the OData.svc, which allows (read-only) access to the common types (Pages, ComponentPresentations, Binaries, etc). OData is an open protocol, basically an extension of the good-old Atom format with a ...


12

The answer seems to be "add two deployers". However, I found a relatively simple solution to my problem using IIS virtual directories: Create a new folder like below and have the Deployer configured to deploy to this location Website.Phase1 _images – folder configured to have Binaries deployed css - contains the CSS images for Phase 1 Website.Phase2 ...


12

1) No, but see my answer to 3 2) the license file is validated, minimally, on initialization, which for the deployer is on start up (for other use cases it might be per session/request) 3) the deployer supports deployment to the file system as a default (legacy support), hence with a faulty key it worked. As this is intended behavior you did not see an ...


12

You're 2 years late to the party then. The Tridion Content Delivery Service (REST, ODATA) has been available since Tridion 2011 GA, and there are already quite a few sites being built exactly as you want to. Given Tridion's generic Content Model on the delivery tier, still expect to see "Content" as one of your data elements. As long as your templates in ...


12

We have recently implemented a solution to publish PDFs and PowerPoint slides from a given component type. There is an extension available on sdltridionworld that helps generate PDFs: http://sdltridionworld.com/community/extension_overview/pdf_creator.aspx However, we created our own because we needed some advanced PDF generation features. So we relied on ...


12

The exception - java.lang.ExceptionInInitializerError - suggest that you JRE/JDK is not functioning correctly and you may need to un-install and re-install the JRE on your CMS and/or on your CDA servers. Follow below steps to verify: Go to Command prompt Navigate to the installation bin path of your JRE - by default for 32-bit it will be something like - C:...


12

From your description, I suspect you may have cache enabled on your app servers, but not using (or not correctly configured) the Cache Channel Service. There's some info on the Tridion object Cache on Tridion World and also on SDL Live Content (login required) Update The configuration seems OK as far as I can remember the 2009 config... can you double ...


12

Tridion supports any MQ product that adheres to the JMS specification. Keep in mind that JMS has two modes: MDB (Message Drive Bean) Simple Messaging Tridion supports both, but your specific MQ product may not support both modes (last I saw, Websphere only supported MDB by default).


12

No, it is not OK - unless they use the exact same configuration files, including storage locations. I've done this before by mistake, and only noticed what happened when I saw XPM tags in the live website. Basically, whichever deployer starts first will load the configuration into memory, and this stays on. If you have different configurations - which you ...


Only top voted, non community-wiki answers of a minimum length are eligible