[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Embedded usage mode on CITRIX  XML
Forum Index -> Development
Author Message
mlauer

Active
[Avatar]

Joined: 04/12/2012 15:53:35
Messages: 5
Offline

Hi,

does the embedded usage mode works in a CITRIX environment? I Want to install the application once and then run application in several CITRIX sessions.

Sometimes there is a file named SESSIONS.ser inside the embeddedserver directory:
<INSTALLDIR>\embeddedserver\work\embedded\embedded\myapp\SESSIONS.ser

What happens if several client session exists?

Thanks in advance
Michael
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,

I do not have practical experience on this, but...: I would be astonished, if it was NOT working.

Also in Citrix tow instances of the clientWithEmbeddedServer should be started - and this is the crucial issue.

Did you experience any problems when trying to run it - or was it "just" a question?

Regards,
Björn

Björn Müller, CaptainCasa GmbH
mlauer

Active
[Avatar]

Joined: 04/12/2012 15:53:35
Messages: 5
Offline

Hi,

it was simple a question.

At first glance, I noticed the file
<INSTALLDIR>\embeddedserver\work\embedded\embedded\myapp\SESSIONS.ser

This file seems to be problematic.

What do you mean with clientWithEmbeddedServer. I don't know this method.

I will start the application with the following command:
start jre\bin\javaw.exe -cp %TCP% org.eclnt.client.page.PageBrowser embedded://embedded ....

Regards,
Michael
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...I meant: two instances of the "Client with embedded server" should be started. I.e. two virtual machines...

Oh, yes, and about SESSIONS.ser:
Please check /conf/context.xml in the embedded server directory. There is a section like this:

Code:
     <!-- Uncomment this to disable session persistence across Tomcat restarts -->
     <!--
     <Manager pathname="" />
     -->
 


If you uncomment this section, then there should not be any serializing of session information anymore.

Regards, Björn

Björn Müller, CaptainCasa GmbH
mlauer

Active
[Avatar]

Joined: 04/12/2012 15:53:35
Messages: 5
Offline

Thanks for your quick reply.

Last question:

The captain casa log files should be placed at an other location:

<INSTALLDIR>\embeddedserver\work\embedded\embedded\myapp\log_eclntjsfserver.txt.x.y

Please tell me the configuration.

Regards
Michael
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...there is the file /eclntjsfserver/config/logging.xml within your webcontent. Here you can define a different log-location. Please take a look into the template file in the same directory, in which the parameters are explained.

Regards, Björn

PS: ...and, hmmm...: will all instances write into one log file or use separate one. I assume that they will use different logs, because Java logging locks its log file - but again, I am not 100% sure...

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team