cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error in connection hybris 5.5.1 with Adobe Indesign cs6

Former Member
0 Kudos

Hi I am trying to connect hybris 5.5.1 with Adobe Indesign cs6 and getting following error . Please help if anyone has idea .

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member190306
Participant
0 Kudos

So, finally I found time to investigate this issue.

The root cause of this error is a modified session management in the class JaloConnection. The print's method DefaultSessionManager.activateSession(String) is called for any soap request from the comet plugin... and is calling the method JaloConnection.getSession(String) itself. This method not does not delive the correct result anymore but null, and so the above error occurs.

As there is not solution from hybris side yet, a project specific solution would be to override the spring managed bean DefaultSessionManager and modify the method DefaultSessionManager.activateSession()

BTW: there is already a ticket created for this issue: https://jira.hybris.com/browse/ECP-525

Former Member
0 Kudos

hi @Rainer

So what should be the best way to get jalosession from 5.5.1?

Thanks,

former_member190306
Participant
0 Kudos

Dont know, how to retrieve the current session in this way. But to solve this issue, just update to the latest version of the current used platform... the last (also backported) patches contain a fix for this issue.

Former Member
0 Kudos

Hi Rainer, thanks for your answer, let me try:)

Former Member
0 Kudos

Hi Rainer I am getting this error in a fresh initialized system with sampleprintdata extension . Indesign keeps poping up for many other xml files In console I can see error "Error in setting language".

Here is console log ..

ERROR [hybrisHTTP9] [DefaultCometService] Error activating session: de.hybris.platform.jalo.SessionClosedException: Session with ID 's1477244730129' not found.[HY--1] at de.hybris.platform.print.comet.DefaultSessionManager.activateSession(DefaultSessionManager.java:157) at de.hybris.platform.print.comet.soap.DefaultCometService.getMessage(DefaultCometService.java:253) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

. . . . . .

ERROR [hybrisHTTP9] [DefaultCometService] Error while setting language: java.lang.RuntimeException: SessionManager.getPublicationController: No configuration available! at de.hybris.platform.print.comet.DefaultSessionManager.getPublicationController(DefaultSessionManager.java:332) at de.hybris.platform.print.comet.soap.DefaultCometService.getPublicationController(DefaultCometService.java:730) at de.hybris.platform.print.comet.soap.DefaultCometService.getMessage(DefaultCometService.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

former_member190306
Participant
0 Kudos

Hum.. ok. Have not seen this kind of problem before. Have to test this by my own before. What localextension.xml configurtaion do you have? What is installed besides print?

Former Member
0 Kudos

Hi Rainer my clocalextension.xml is

 <extensions>
     <!-- 
             All extensions located in ${HYBRIS_BIN_DIR}/platform/ext are automatically loaded. 
             More information about how to configure available extensions can be found here : https://wiki.hybris.com/x/nZVzC
     -->
             
     <path dir="${HYBRIS_BIN_DIR}" />
     

                                     
     <!-- ext-platform -->
     <extension name="admincockpit" />
     <extension name="backoffice" />
     <extension name="cockpit" />
     <extension name="hmc" />
     <extension name="mcc" />
     <extension name="platformhmc" />

                                     
     <!-- ext-commerce -->
     <extension name="btg" />
     <extension name="btgcockpit" />
     <extension name="commercesearch" />
     <extension name="commercesearchbackoffice" />
     <extension name="commercesearchhmc" />
     <extension name="commerceservices" />
     <extension name="basecommerce" />
     <extension name="payment" />
     <extension name="promotions" />
     <extension name="voucher" />
     <extension name="customerreview" />
     <extension name="ticketsystem" />
     <extension name="solrfacetsearch" />
     <extension name="solrfacetsearchhmc" />
     <extension name="b2bcommerce" />
     <extension name="b2bapprovalprocess" />
     <extension name="b2badmincockpit" />
     <extension name="oci" />
     <extension name="wishlist" />
     <extension name="commercefacades" />

                                     
     <!-- ext-data -->
     <extension name="commercesearchsampledata" />
     <extension name="apparelstore" />
     <extension name="electronicsstore" />
     <extension name="b2bacceleratorsampledata" />
     <extension name="instoresampledata" />

                                     
     <!-- ext-content -->
     <extension name="productcockpit" />
     <extension name="cms2" />
     <extension name="cms2lib" />
     <extension name="cmscockpit" />
     <extension name="bmecat" />
     <extension name="bmecathmc" />
     <extension name="importcockpit" />
     <extension name="classificationsystems" />
     <extension name="classificationsystemshmc" />

                                     
     <!-- ext-channel -->
     <extension name="cscockpit" />
     <extension name="mobileoptionals" />
     <extension name="mobileservices" />
     <extension name="instore" />

                                     
     <!-- ext-addon -->
     <extension name="addonsupport" />
     <extension name="b2ccheckoutaddon" />

                                     
     <!-- ext-print -->
     <extension name="print" />
     <extension name="printcockpit" />
     <extension name="printhmc" />
     <extension name="printsampledata" />

                                     
     <!-- ext-template -->
     <extension name="ycommercewebservices" />
     <extension name="ycommercewebserviceshmc" />
     <extension name="yacceleratorfulfilmentprocess" />
     <extension name="yaddon" />
     <extension name="yacceleratortest" />
     <extension name="yacceleratorstorefront" />
     <extension name="yacceleratorinitialdata" />
     <extension name="yacceleratorcockpits" />
     <extension name="yb2bacceleratorcore" />
     <extension name="yb2bacceleratorfacades" />
     <extension name="yb2bacceleratorinitialdata" />
     <extension name="yb2bacceleratorstorefront" />
     <extension name="yb2bacceleratortest" />
     <extension name="yinstoreinitialdata" />

                                     
     <!-- ext-accelerator -->
     <extension name="acceleratorservices" />
     <extension name="acceleratorfacades" />
     <extension name="acceleratorcms" />
     <extension name="acceleratorstorefrontcommons" />
     <extension name="b2bacceleratorfacades" />
     <extension name="b2bacceleratorservices" />

             
 </extensions>

Former Member
0 Kudos

Hi Rainer, Any luck to find solution ? I am stuck on it .

former_member190306
Participant
0 Kudos

Hi,

some questions to narrow down the root cause:

  • Is this the only error message you get, or are there other messages poping up mentioning other xml files that could not be read?

  • Do you see some error messages on the hybris console? What are they saying?

  • Do you get this error on a freshly initialized hybris platform (with demo data), or is this an older/migrated system?

Former Member
0 Kudos

Hi any luck to find out the solution ?is it hybris 5.5.1 bug ?

Former Member
0 Kudos

I have exactly the same problem under Mac OS.

Same version of InDesign, Comet plugin version 3.4

Former Member
0 Kudos

Hi did you find solution ?