Перейти к публикации

Вопрос по 4-хзвенке


Рекомендованные сообщения

Как централизованно обновлять клиентов? Куда копировать новые классы на сервере, чтобы при входе они у клиентов появлялись?

Ссылка на сообщение
Поделиться на других сайтах


Как централизованно обновлять клиентов? Куда копировать новые классы на сервере, чтобы при входе они у клиентов появлялись?

сервер дистрибьюции
Ссылка на сообщение
Поделиться на других сайтах

а каким образом? Можно подробности вкратце?

у вас какая архитектура двухуровневая или четырехуровневая ?
Ссылка на сообщение
Поделиться на других сайтах

Четырех. Собственно тема о ней.

ну вообще-то сервер дистрибьюции за это и отвечает.если провели например обновление серверной части клииентская автоматом при запуске их получает.вы разворачивали 4х звенку опираясь на какую документацию,какие материалы?или все методом тыка?
Ссылка на сообщение
Поделиться на других сайтах

Не проводится обновление на клиентской части при запуске. Как то по особенному надо серверную часть обновлять?

Ссылка на сообщение
Поделиться на других сайтах

Не лучше ли на сетевой диск поместить клиентскую часть тимцентра. В 4-х звеной архитектуре так совсмем мало будет файлов запускаться (по крайней мере, если сравнивать с 2-звенкой). С обновлением тогда меньше мороки будет: файлы заменил, genregxml.bat выполнил и всё. Но если шара на windows-сервере находится, то надо пользователей от файлов отключать, а если на юниксовом сервере, то можно каталог portal переименовать.

Ссылка на сообщение
Поделиться на других сайтах
  • 2 месяца спустя...

Я тоже озадачился данным вопросом. Вот что нашёл в доке:

Distributing customizations to four-tier rich clients

--------------------------------------------------------------------------------

If you used Over-the-Web Installer (OTW) to initially install a rich client, you can use OTW to distribute your customized files to it.

Package your customized files into a JAR file.

Create an installable component descriptor (ICD) file that defines your custom solution.

For more information creating a solution file, see Creating a solution file.

Run the Web Application Manager (insweb) to create a distribution instance for your custom solution.

For more information, see Distribute a solution file.

Creating a solution file

The following code shows a sample solution file named sample.icd. This file deploys the sample.jar file to the RC_ROOT\plugins directory on the rich client machine.

#The name of the solution. It appears on the solution list in the Web 

#Application Manager.

[NAME]

Sample Solution for Rich Client 4-Tier

#The description of the solution that appears in a tooltip when the user

#hovers the mouse over the solution name in the solution list. You can use

#HTML code to format the text.

[DESCRIPTION]

This installs the sample.jar file.

#Specify the jar file. If you have more than one jars, you need to repeat 

#this section for each file like this:

#[COPYFILE]

#{

#	[FROM]

#	sample.jar

#

#	[TO]

#	plugins

#}

#[COPYFILE]

#{

#	[FROM]

#	sample2.jar

#

#	[TO]

#	plugins

#}

#[COPYFILE]

#{

#	[FROM]

#	sample3.jar

#

#	[TO]

#	plugins

#}

[COPYFILE]

{

	[FROM]

	sample.jar

	[TO]

	plugins

}

#The version of this Sample Solution.

[VERSION]

11

#This file defines a Solution.

[SOLUTION]

Y

#It's a Distribution Instance Solution.

[SOLUTION_TYPE]

DS_INSTANCE

#Install information

[MANIFEST_INFO]

{

   #This is the RC_ROOT.

   [SUBDIR]  

   rac

   [TARGETS]

	<target name="file_download_unix">

	</target>

	<target name="new_solution_unix">

	</target>

	<target name="file_download_win">

	</target>

	<target name="new_solution_win">

	</target>

   [DOWNLOAD_FILES]  

   {

	  #This section tells the OTW installer to download the jar. 

	  #The location is subfolder to [SUBDIR] from above.

	  #If you have more than one jar, you need to list them here like this:

	  #[COMMON]

	  #plugins/sample.jar:1.0

	  #plugins/sample2.jar:1.0

	  #plugins/sample3.jar:1.0

	  [COMMON]

	  plugins/sample.jar:1.0

	  [SOLARIS]

	  [HPUX]

	  [AIX]

	  [NT_INTEL]

   }

   [PACKAGED_FILES]

   {

	  [SOLARIS]

	  [HPUX]

	  [AIX]

	  [NT_INTEL]

   }

}
Distribute a solution file

Launch the Web Application Manager:

Open the WEB_ROOT directory.

This is the directory in which you installed the Web Application Manager on your hard drive.

In Windows, double-click the insweb.bat file. In UNIX, type the following command:

insweb

The Web Application Manager displays the Teamcenter Web Application Manager dialog box.

Click Copy ICDs.

The Web Application Manager displays the Copy ICD Files dialog box.

Enter the path to your solution file and click OK.

The Web Application Manager displays a Progress dialog box and copies the ICD file.

When copying is complete, click OK.

The Web Application Manager displays the Teamcenter Web Application Manager dialog box.

In the Web Applications list, select the rich client instance and click Modify.

The Web Application Manager displays the Modify Web Application dialog box.

Click Modify Disk Locations.

The Web Application Manager displays the Modify Disk Locations dialog box.

Ensure the path to your solution files is listed in the Disk Locations for Install Images box. If it is not, click Add.

Click Add Solutions.

The Web Application Manager displays the Add Solutions dialog box.

Select your solution and click OK.

The Web Application Manager begins installation of the solutions and displays a Progress dialog box.

When installation is complete, click OK to close the Progress dialog box.

The Web Application Manager displays the Modify Web Application dialog box.

Click OK.

Deploy the distribution instance as described in the appropriate Teamcenter server installation guide (either the Installation on UNIX and Linux Servers Guide or the Installation on Windows Servers Guide).

Launch the Over-the-Web-installed rich client or the local otw.bat file to download and use the sample.jar file. You can verify the JAR file was downloaded to the designated installation location by looking in the RC_ROOT\plugins directory.

Note:

Once you install a customization using a solution file, you cannot remove it using Over-the-Web Installer.

Таким образом, что бы установить кастомизацию для 4х звенки построенной на сервере дистрибуции, необходимо кастомизацию оформлять как отдельный модуль, подгрузить его ICD в менеджер и установить через сервер дистрибуции. Сам пока не пробовал, только предстоит этот процесс.

Изменено пользователем Zhuka
Ссылка на сообщение
Поделиться на других сайтах

Таким образом, что бы установить кастомизацию для 4х звенки построенной на сервере дистрибуции, необходимо кастомизацию оформлять как отдельный модуль, подгрузить его ICD в менеджер и установить через сервер дистрибуции. Сам пока не пробовал, только предстоит этот процесс.

Спасибо, полезная инфа. Тоже попробую так обновиться. Главное видимо грамотно ICD составить.
Ссылка на сообщение
Поделиться на других сайтах
Гость
Эта тема закрыта для публикации сообщений.
  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.




  • Сообщения

×
×
  • Создать...