Oracle Primavera P6
https://www.oracleprimavera.ru/

Не запускается dbsetup
https://www.oracleprimavera.ru/viewtopic.php?f=4&t=400
Страница 1 из 1

Автор:  Вячеслав [ 12 июн 2020, 02:39 ]
Заголовок сообщения:  Не запускается dbsetup

Доброго!

Подскажите почему при запуске создателя базы данных для MSQLServer Primavera P6 выдает ошибку "unable to access jarfile lib\dbmt.jar?

Версия P6 Professional 19.2

Автор:  Primus [ 14 июн 2020, 16:43 ]
Заголовок сообщения:  Re: Не запускается dbsetup

Нет прав доступа, там же написано. Под Админом ставите?
Делайте по инструкции, как в документации и все получится. Там еще путь надо прописать до самой Java.

Автор:  HasanGULER [ 12 июн 2021, 15:52 ]
Заголовок сообщения:  Re: Не запускается dbsetup

Hi, I had a same problem but I solved it. I will explain in parts.

1-Change C: driver saving settings. You must be directly downloads and all installation setup (JDK,Primavera etc) in C. driver. Only JDK versions java is running with Primavera. Please check your JDK version compatibility with Primavera version.

-Windows+R and type "regedit"
-\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System select "EnableLUA" and change value data "0"

2-My Computer(Right click)\ Propeties\ Environment Variables

-To User Variables Area (Select "Path" and add JDK File path.for example "C:\jdk1.8.x_xxx\bin".Type the path of the JDK folder in whichever folder you have.
-To System Variables Area (Create "CLASSPATH" and add JDK File path. example "C:\jdk1.8.x_xxx\bin".Type the path of the JDK folder in whichever folder you have.
-To System Variables Area (Create "JAVA_HOME" and add JDK File path without "bin". example "C:\jdk1.8.x_xxx".Type the path of the JDK folder in whichever folder you have.

3.Check your java

-Open Command Prompt (CMD) Run as administartor
- type "java" and enter. You must be see "where option include" options like above
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-server to select the "server" VM
...

- type "javac" and enter. You must be see "where option include" options like above

-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
...

3.Download Jarx application from https://jarx.software.informer.com. Jarx is just show your java path and version information.


5-Initilally your Windows license must be Windows 10 Pro. I was upgrade my license to Windows 10 Pro. Windows Home Standalone license doesn't offer a different language option. (At least that was on my computer)
6-Start\Settings\Language. Change Windows Display language (should be English-United States)

Now the "dbsetup.bat" file should be working correctly with "dbmt.jar" file.

7-Change SQL Server Collation

-Stop your SQL Server from SQL Server 20xx Configuration Manager or Task Manager\Services select SQL Server and stop
-Open Command Prompt (CMD) Run as administartor.Type command above.
sqlservr -m -T4022 -T3659 -s"MSSQLSERVER" -q"Latin1_General_CI_AS"

My compter SQL Filestream name (Also Windows Share name) is MSSQLSERVER at that reason i typed in command MSSQLSERVER. If you aren't sure Filestream name, follow the steps below to find out.

-SQL Server Configuration Manager: In the SQL Server Configuration Manager (start -> Programs -> SQL Server Configuration Manager), select SQL Server Services right click to the SQL Server and go to Properties
-In the SQL Server properties, you can see a tab ‘FILESTREAM’. Click on ‘FILESTREAM’. Here you can see that this feature is not enabled by default.
-Put a tick in the checkbox ‘Enable FILESTREAM for Transact-SQL access’
-We can also enable the read\write access from the windows for file I/O access. Put a tick on the ‘Enable FILESTREAM for file I/O access’ as well
-You can see Windows share name. This name is also Filestream name.
Click Apply to activate the FILESTREAM feature in SQL Server. You will get a prompt to restart the SQL Server service.

8-Setup P6 Primavera Project Management Installation

-You must directly download installation files from https://edelivery.oracle.com to C: drive
-Initially run dbsetup.bat (right click Run as administartor) in P6 Database files.
-Select Install a new database and Microsoft SQL Server (If you are working SQL server)
-You must working with "sa" DBA user name. You can edit in SQL Server "sa" user and password.Host is localhost or Computer name. Port 1433
-If you don't know how to enabled port 1433, you can see this page https://tensix.com/2012/02/sqlserverexc ... as-failed/
-Click next and Type Database name "PMDB".
-Important!!! Database code page is "Latin1" select. then click next.
-After type privuser and pubuser password. Also pubuser password is pubuser, privuser password is privuser.
-Last you should be type name admin and password is admin.

Автор:  Вячеслав [ 30 июл 2021, 23:49 ]
Заголовок сообщения:  Re: Не запускается dbsetup

Спасибо тебе добрый человек. Одна проблема ушла, теперь dbmt.jar не требует.

! Но теперь файл dbsetup.bat запускается и гаснет. И ничего не происходит...
Я нашел на сайте поддержки Pracle аналогичную проблему как на картинке, но у меня нет доступа к базе знаний. Помогите.

Вложения:
Capture.PNG
Capture.PNG [ 209.18 KiB | Просмотров: 4076 ]

Автор:  HasanGULER [ 27 авг 2021, 15:33 ]
Заголовок сообщения:  Re: Не запускается dbsetup

Dear Вячеслав,

Please follow the steps below, your problem will fix,

5-Initilally your Windows license must be Windows 10 Pro. I was upgrade my license to Windows 10 Pro. Windows Home Standalone license doesn't offer a different language option. (At least that was on my computer)
6-Start\Settings\Language. Change Windows Display language (should be English-United States)

Now the "dbsetup.bat" file should be working correctly with "dbmt.jar" file.

7-Change SQL Server Collation

-Stop your SQL Server from SQL Server 20xx Configuration Manager or Task Manager\Services select SQL Server and stop
-Open Command Prompt (CMD) Run as administartor.Type command above.
sqlservr -m -T4022 -T3659 -s"MSSQLSERVER" -q"Latin1_General_CI_AS"

Страница 1 из 1 Часовой пояс: UTC + 6 часов
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/