Wine & Pro/Intralink

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Wine & Pro/Intralink

Post by icelolli »

Hi

My name i Lorenzo, I'm new on linux's world. I wold like to know is someone has tried to use Wine with Pro/Intralink (a PTC product). During installation...no problem. Lunching the program after installation... no results.

Following, more informations:

WINE Version: Wine 1.2-rc1

TERMINAL OUTPUT DURING INSTALLATION

[code]icelolli@ascari:/media/PRO$ wine setup.exe
icelolli@ascari:/media/PRO$ fixme:win:LockWindowUpdate (0x30030), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:imm:ImmReleaseContext (0x100cc, 0x175050): stub[/code]

TERMINAL OUTPUT AFTER LUNCHING PROGRAM

[code]C:\ptc\proiclient3.4\bin>dir
Il volume nell'unit� C �
Il numero seriale del volume � 0000-0000

Directory of C:\ptc\proiclient3.4\bin

31/05/2010 9.16 <DIR> .
31/05/2010 8.51 <DIR> ..
31/05/2010 8.51 1,546 distribute_object.bat
31/05/2010 8.50 40,960 i486_nt_ptc_setvars.exe
31/05/2010 8.51 1,094 ldbcompact.bat
31/05/2010 8.51 1,766 mark_replica.bat
31/05/2010 8.51 4,905 proilink3.4.bat
31/05/2010 8.51 1,852 ptcflush.bat
31/05/2010 8.51 1,283 ptchostid.bat
31/05/2010 8.51 2,374 ptcsetup.bat
31/05/2010 8.51 1,763 ptcstatus.bat
31/05/2010 8.51 1,541 replicate_folder.bat
31/05/2010 8.51 1,546 subscribe_package.bat
31/05/2010 8.51 1,518 sync_names.bat
31/05/2010 8.51 1,279 tnsping.bat
13 files 63,427 bytes
2 directories 66,792,452,096 bytes free


C:\ptc\proiclient3.4\bin>proilink3.4.bat
fixme:exec:SHELL_execute flags ignored: 0x00000100
Non � stato possibile eseguire l'applicazione, o nessuna applicazione � associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter

Path not found[/code]
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine & Pro/Intralink

Post by dimesio »

icelolli wrote:

Code: Select all

C:\ptc\proiclient3.4\bin>proilink3.4.bat
Batch files need to be run with wine cmd. http://wiki.winehq.org/cmd
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

As you can see, i've already used "dir" instead of "ls" so the .bat file was lunched under CMD.
Any idea?
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

This code with after:

Code: Select all

icelolli@ascari:~$ wine cmd
Versione di CMD 1.2-rc2

Code: Select all

Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>proilink3.4.bat
File not found

Path not found


Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>proilink3.4.bat
File not found

fixme:exec:SHELL_execute flags ignored: 0x00000100
Non � stato possibile eseguire l'applicazione, o nessuna applicazione � associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter

Path not found


Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

no help??
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Try changing to the program directory before running wine cmd.

I see one exe in the list of files. Does it work if you run it directly with Wine?
Gert van den Berg

Wine & Pro/Intralink

Post by Gert van den Berg »

On Tue, Jun 8, 2010 at 15:51, dimesio <[email protected]> wrote:
Try changing to the program directory before running wine cmd.

I see one exe in the list of files. Does it work if you run it directly with Wine?
He's trying to run a batch file...

(Not sure if it might need to be set executable for Wine cmd to run it?)

PATHEXT might also be relevant...

You can also try calling the bat with
call bleh.bat

Gert
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

icelolli wrote:
This code with after:


Code:

icelolli@ascari:~$ wine cmd
Versione di CMD 1.2-rc2





Code:

Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>proilink3.4.bat
File not found

Path not found


Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>proilink3.4.bat
File not found

fixme:exec:SHELL_execute flags ignored: 0x00000100
Non ý stato possibile eseguire l'applicazione, o nessuna applicazione ý associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter

Path not found


Z:\home\icelolli\.wine\drive_c\ptc\proiclient3.4\bin>

Are you trying to run an installer or a DOS type batch file.

If you are trying to do the latter, I might try asking you to run it in
DOSBox.

If it is an installer, run it from the location where the program
installs from.

Also you are trying to run the program from your C: drive so you could try:

wine 'c:\ptc\proiclient3.4\bin\proilink3.4.bat'

Advise what happens, please.

James McKenzie
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

@James McKenzie

proilink3.4.bat is the .bat for lunching the program.
The installation has no prblem.

This is the results

Code: Select all

icelolli@ascari:/home$ wine 'c:\ptc\proiclient3.4\bin\proilink3.4.bat'
wine: Bad EXE format for C:\ptc\proiclient3.4\bin\proilink3.4.bat
icelolli@ascari:/home$
@dimesio

This after running cmd under wine:
icelolli@ascari:~/.wine/drive_c/ptc/proiclient3.4/bin$ wine cmd
Versione di CMD 1.2-rc2
C:\ptc\proiclient3.4\bin>call proilink3.4.bat
fixme:exec:SHELL_execute flags ignored: 0x00000100
Non � stato possibile eseguire l'applicazione, o nessuna applicazione � associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter

Path not found
In my previus post, I've attached proilink3.4.bat file. May be useful for you.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

The directory listing you posted awhile back included one exe file, i486_nt_ptc_setvars.exe. What happens when you try to run that file directly with wine (not wine cmd)?

I'm assuming that all those batch files invoke that exe. If the exe works directly, but the batch files don't, you could try writing shell scripts to replace those batch files, or just use the exe directly.
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

icelolli wrote:
@James McKenzie

proilink3.4.bat is the .bat for lunching the program.
The installation has no prblem.

This is the results


Code:

icelolli@ascari:/home$ wine 'c:\ptc\proiclient3.4\bin\proilink3.4.bat'
wine: Bad EXE format for C:\ptc\proiclient3.4\bin\proilink3.4.bat
icelolli@ascari:/home$

Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: Wine & Pro/Intralink

Post by Usurp »

James McKenzie wrote:Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

Usurp wrote:
James McKenzie wrote:
Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.

OK. I had deleted part of the thread from my mail reader. Has icelolli
tried the /start option as well? I may review the thread on the list
server and see if I can get the batch file and dissect it.

James McKenzie
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

Usurp wrote:
James McKenzie wrote:
Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.
Don't look that way from here. Also, the .bat file was stripped before
the message containing it was sent to the mailing list. This is for
security purposes. Guess I'll have to go to the Wine Forums and get it.

The reason that I'm stating that it does not look like it was run from
the command line is the error messages do not match those when you do so...

James McKenzie
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

Usurp wrote:
James McKenzie wrote:
Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.

The OP has also asked for help on the Ubuntu forums. I found the batch
file there. I'm also looking for a bug report and for the product itself.

I think we need to help the OP troubleshoot this problem and find an answer.

James McKenzie
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

Usurp wrote:
James McKenzie wrote:
Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.


To top this all off, there is no bug report for this program not
working, and I cannot download the batch file from the Ubuntu forums.

James McKenzie
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

Usurp wrote:
James McKenzie wrote:
Of course. Batch files are NOT executables. Try this:

Wine cmd (continue command line from here).

Also, any attachments are stripped, for the main part, before being sent
out to the mailing list.

James McKenzie
"Of course." icelolli has already run cmd since the very beginning of that thread, and started the .bat file from within it.
Read his previous comments.

I just visited the site and downloaded the compatibility listing for
this product.

I will attempt to attach to an Applications Database entry for all to
see. Looks like this product requires JAVA and ORACLE CLI CLIENT...(and
may require a local Oracle Database as well, something that Wine
presently does not appear to support, but I can and am willing to test.)

James McKenzie
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

It's true: Pro/Intralink requires JAVA. But what we are discussing on is the client side, so does't required Oracle installed on.... I suppose.

Some infos about Pro/Intralink.

Intralink is a PDM (Product Data Management) and works in boundle with Pro/Engineer (CAD 3D). At work, we are using both on Windows.
There is a client and a server version. As I said before, the client version is my target.
I'm attempting to investigate if is possible to use these software on Ubuntu to create a better CAD workstation. Pro/Engineer is natively compiled for Linux (I've got some problem during installation, but I'm confident). Intralink not.


Thanx for all support.
Let me know how I can give you all information needed, but start from hypotesis that i'm a newbie on linux's world and in programming in general.
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

After wine cmd command i've lunched proilink3.4.bat.
Following, what .bat does:

Code: Select all

C:\ptc\proiclient3.4\bin>proilink3.4.bat

C:\ptc\proiclient3.4\bin>set MC=unset

C:\ptc\proiclient3.4\bin>if "" == "INTEL_486" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if "x86" == "AMD64" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if "x86" == "x86" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if not "i486_nt" == "unset" goto mc_done

C:\ptc\proiclient3.4\bin>set PRO_MACHINE_TYPE=i486_nt

C:\ptc\proiclient3.4\bin>if "" == "" set PRO_DIRECTORY=

C:\ptc\proiclient3.4\bin>if NOT "" == "" "\bin\i486_nt_ptc_setvars" proilink3.4.bat "proilink3.4" bat

C:\ptc\proiclient3.4\bin>if "" == "" i486_nt_ptc_setvars proilink3.4.bat "proilink3.4" bat

C:\ptc\proiclient3.4\bin>call ptc_setvars.bat

C:\ptc\proiclient3.4\bin>set PTC_HOSTNAME=ascari

C:\ptc\proiclient3.4\bin>set PRODIR=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>del  ptc_setvars.bat

C:\ptc\proiclient3.4\bin>set start_cmd=start ""

C:\ptc\proiclient3.4\bin>set PRO_DIRECTORY=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>if NOT "true" == "" goto ptcpathset

C:\ptc\proiclient3.4\bin>REM ptc-cmdtype: ilink

C:\ptc\proiclient3.4\bin>set INTRALINK_DIR=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>if "i486_nt" == "i486_win95" goto pdmldbpathset

C:\ptc\proiclient3.4\bin>  if NOT "C:\users\icelolli" == "" goto pdmldbpathset

C:\ptc\proiclient3.4\bin>set intralinkparams=""

C:\ptc\proiclient3.4\bin>:aloop

C:\ptc\proiclient3.4\bin>if "" == "" goto bkloop

C:\ptc\proiclient3.4\bin>set logfile=".proi.log"

C:\ptc\proiclient3.4\bin>if [0]==[] set E2=0

C:\ptc\proiclient3.4\bin>if [0]==[] set E1=0

C:\ptc\proiclient3.4\bin>if [1]==[] set E0=0

C:\ptc\proiclient3.4\bin>set E2=0

C:\ptc\proiclient3.4\bin>set E1=0

C:\ptc\proiclient3.4\bin>set E0=0

C:\ptc\proiclient3.4\bin>:bloop

C:\ptc\proiclient3.4\bin>:E0

C:\ptc\proiclient3.4\bin>if 0==9 goto E1

C:\ptc\proiclient3.4\bin>if 0==8 set E0=9

C:\ptc\proiclient3.4\bin>if 0==7 set E0=8

C:\ptc\proiclient3.4\bin>if 0==6 set E0=7

C:\ptc\proiclient3.4\bin>if 0==5 set E0=6

C:\ptc\proiclient3.4\bin>if 0==4 set E0=5

C:\ptc\proiclient3.4\bin>if 0==3 set E0=4

C:\ptc\proiclient3.4\bin>if 0==2 set E0=3

C:\ptc\proiclient3.4\bin>if 0==1 set E0=2

C:\ptc\proiclient3.4\bin>if 0==0 set E0=1

C:\ptc\proiclient3.4\bin>goto edone

C:\ptc\proiclient3.4\bin>if 0==0 goto et1

C:\ptc\proiclient3.4\bin>if 0==0 goto et0

C:\ptc\proiclient3.4\bin>set count=1

C:\ptc\proiclient3.4\bin>:et

C:\ptc\proiclient3.4\bin>set logfile=".proi.log.1"

C:\ptc\proiclient3.4\bin>if EXIST "".proi.log.1"" goto d2loop

C:\ptc\proiclient3.4\bin>goto bzloop

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto janot95

C:\ptc\proiclient3.4\bin>  set PTC_JRE=C:\ptc\proiclient3.4\i486_nt\jre

C:\ptc\proiclient3.4\bin>  set JAVA_HOME=C:\ptc\proiclient3.4\i486_nt\jre

C:\ptc\proiclient3.4\bin>:jadone

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto not95jp

C:\ptc\proiclient3.4\bin>set path=C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\ptc\proiclient3.4\bin

C:\ptc\proiclient3.4\bin>:pdonejp

C:\ptc\proiclient3.4\bin>if "1239" == "" set PTCNMSPORT=1239

C:\ptc\proiclient3.4\bin>"C:\ptc\proiclient3.4\i486_nt\nms\nmsq.exe" -quiet -ping

C:\ptc\proiclient3.4\bin>if "300" == "" set NMSD_TIMEOUT=300

C:\ptc\proiclient3.4\bin>if ERRORLEVEL 1 start "" /min "C:\ptc\proiclient3.4\i486_nt\nms\nmsd.exe" -noservice -timeout 300
fixme:exec:SHELL_execute flags ignored: 0x00000100
Non � stato possibile eseguire l'applicazione, o nessuna applicazione � associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter


C:\ptc\proiclient3.4\bin>set GALAXYHOME=C:\ptc\proiclient3.4\i486_nt

C:\ptc\proiclient3.4\bin>set DELTAHOME=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>set PDM_ORA_APPL=intralink

C:\ptc\proiclient3.4\bin>set PDM_ORACLE_SERVER=intralink

C:\ptc\proiclient3.4\bin>set TNS_ADMIN=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>set ORACLE_HOME=C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920

C:\ptc\proiclient3.4\bin>set EPC_DISABLED=TRUE

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto not95op

C:\ptc\proiclient3.4\bin>set path=C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\ptc\proiclient3.4\bin

C:\ptc\proiclient3.4\bin>:doneop

C:\ptc\proiclient3.4\bin>if NOT "7788@srv-e80cad" == "" set PTC_D_LICENSE_FILE=7788@srv-e80cad;7788@srv-e80cad

C:\ptc\proiclient3.4\bin>if "7788@srv-e80cad;7788@srv-e80cad" == "" set PTC_D_LICENSE_FILE=7788@srv-e80cad

C:\ptc\proiclient3.4\bin>set ILINK_CLIENT_FEATURE_NAME=ILINK_CLIENT_License ()

C:\ptc\proiclient3.4\bin>if "" == "" goto pimsg

C:\ptc\proiclient3.4\bin>set PRO_COMM_MSG_EXE=C:\ptc\proiclient3.4\i486_nt\obj\pro_comm_msg

C:\ptc\proiclient3.4\bin>:pstmsg

C:\ptc\proiclient3.4\bin>set NAME_SERVICE_EXE=C:\ptc\proiclient3.4\i486_nt\obj\name_service

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\i486_nt\obj\pdm_edit_copy.exe" set PDM_ED_CP_PATH=C:\ptc\proiclient3.4\i486_nt\obj\pdm_edit_copy.exe

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\install\nt\docmgr_loc.bat" call "C:\ptc\proiclient3.4\install\nt\docmgr_loc.bat"

C:\ptc\proiclient3.4\bin>if NOT "C:\ptc\proiclient3.4\pdm\templates" == "" goto pstemp

C:\ptc\proiclient3.4\bin>set EPC_DISABLE=TRUE

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\rsexplorer.ini" set RSDB_INI_FILE=C:\ptc\proiclient3.4\rsexplorer.ini

C:\ptc\proiclient3.4\bin>if exist "C:\ptc\proiclient3.4\ptc_startup.bat" call "C:\ptc\proiclient3.4\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>if exist "C:\\users\icelolli\ptc_startup.bat" call "C:\\users\icelolli\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>if exist ".\ptc_startup.bat" call ".\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>start /B C:\ptc\proiclient3.4\i486_nt\jre\bin\javaw -Xmx256m -Xss8m -jar C:\ptc\proiclient3.4\java\lib\Intralink.jar -l  "" >> "".proi.log.1""
Path not found
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

icelolli wrote:
After wine cmd command i've lunched proilink3.4.bat.
Following, what .bat does:


Code:
C:\ptc\proiclient3.4\bin>proilink3.4.bat

C:\ptc\proiclient3.4\bin>set MC=unset

C:\ptc\proiclient3.4\bin>if "" == "INTEL_486" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if "x86" == "AMD64" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if "x86" == "x86" set MC=i486_nt

C:\ptc\proiclient3.4\bin>if not "i486_nt" == "unset" goto mc_done

C:\ptc\proiclient3.4\bin>set PRO_MACHINE_TYPE=i486_nt

C:\ptc\proiclient3.4\bin>if "" == "" set PRO_DIRECTORY=

C:\ptc\proiclient3.4\bin>if NOT "" == "" "\bin\i486_nt_ptc_setvars" proilink3.4.bat "proilink3.4" bat

C:\ptc\proiclient3.4\bin>if "" == "" i486_nt_ptc_setvars proilink3.4.bat "proilink3.4" bat

C:\ptc\proiclient3.4\bin>call ptc_setvars.bat

C:\ptc\proiclient3.4\bin>set PTC_HOSTNAME=ascari

C:\ptc\proiclient3.4\bin>set PRODIR=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>del ptc_setvars.bat

C:\ptc\proiclient3.4\bin>set start_cmd=start ""

C:\ptc\proiclient3.4\bin>set PRO_DIRECTORY=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>if NOT "true" == "" goto ptcpathset

C:\ptc\proiclient3.4\bin>REM ptc-cmdtype: ilink

C:\ptc\proiclient3.4\bin>set INTRALINK_DIR=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>if "i486_nt" == "i486_win95" goto pdmldbpathset

C:\ptc\proiclient3.4\bin> if NOT "C:\users\icelolli" == "" goto pdmldbpathset

C:\ptc\proiclient3.4\bin>set intralinkparams=""

C:\ptc\proiclient3.4\bin>:aloop

C:\ptc\proiclient3.4\bin>if "" == "" goto bkloop

C:\ptc\proiclient3.4\bin>set logfile=".proi.log"

C:\ptc\proiclient3.4\bin>if [0]==[] set E2=0

C:\ptc\proiclient3.4\bin>if [0]==[] set E1=0

C:\ptc\proiclient3.4\bin>if [1]==[] set E0=0

C:\ptc\proiclient3.4\bin>set E2=0

C:\ptc\proiclient3.4\bin>set E1=0

C:\ptc\proiclient3.4\bin>set E0=0

C:\ptc\proiclient3.4\bin>:bloop

C:\ptc\proiclient3.4\bin>:E0

C:\ptc\proiclient3.4\bin>if 0==9 goto E1

C:\ptc\proiclient3.4\bin>if 0==8 set E0=9

C:\ptc\proiclient3.4\bin>if 0==7 set E0=8

C:\ptc\proiclient3.4\bin>if 0==6 set E0=7

C:\ptc\proiclient3.4\bin>if 0==5 set E0=6

C:\ptc\proiclient3.4\bin>if 0==4 set E0=5

C:\ptc\proiclient3.4\bin>if 0==3 set E0=4

C:\ptc\proiclient3.4\bin>if 0==2 set E0=3

C:\ptc\proiclient3.4\bin>if 0==1 set E0=2

C:\ptc\proiclient3.4\bin>if 0==0 set E0=1

C:\ptc\proiclient3.4\bin>goto edone

C:\ptc\proiclient3.4\bin>if 0==0 goto et1

C:\ptc\proiclient3.4\bin>if 0==0 goto et0

C:\ptc\proiclient3.4\bin>set count=1

C:\ptc\proiclient3.4\bin>:et

C:\ptc\proiclient3.4\bin>set logfile=".proi.log.1"

C:\ptc\proiclient3.4\bin>if EXIST "".proi.log.1"" goto d2loop

C:\ptc\proiclient3.4\bin>goto bzloop

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto janot95

C:\ptc\proiclient3.4\bin> set PTC_JRE=C:\ptc\proiclient3.4\i486_nt\jre

C:\ptc\proiclient3.4\bin> set JAVA_HOME=C:\ptc\proiclient3.4\i486_nt\jre
Looks like the program does use the Java RunTime (jrt) engine. Change
to this directory and see if there is a bin directory under it. If
there is type in the following command:

wine java -version

You should get a reply with the java version.
C:\ptc\proiclient3.4\bin>:jadone

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto not95jp

C:\ptc\proiclient3.4\bin>set path=C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\ptc\proiclient3.4\bin

C:\ptc\proiclient3.4\bin>:pdonejp

C:\ptc\proiclient3.4\bin>if "1239" == "" set PTCNMSPORT=1239

C:\ptc\proiclient3.4\bin>"C:\ptc\proiclient3.4\i486_nt\nms\nmsq.exe" -quiet -ping

C:\ptc\proiclient3.4\bin>if "300" == "" set NMSD_TIMEOUT=300

C:\ptc\proiclient3.4\bin>if ERRORLEVEL 1 start "" /min "C:\ptc\proiclient3.4\i486_nt\nms\nmsd.exe" -noservice -timeout 300
fixme:exec:SHELL_execute flags ignored: 0x00000100
Non ý stato possibile eseguire l'applicazione, o nessuna applicazione ý associata con il file specificato.
ShellExecuteEx fallito: Invalid parameter


C:\ptc\proiclient3.4\bin>set GALAXYHOME=C:\ptc\proiclient3.4\i486_nt

C:\ptc\proiclient3.4\bin>set DELTAHOME=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>set PDM_ORA_APPL=intralink

C:\ptc\proiclient3.4\bin>set PDM_ORACLE_SERVER=intralink

C:\ptc\proiclient3.4\bin>set TNS_ADMIN=C:\ptc\proiclient3.4

C:\ptc\proiclient3.4\bin>set ORACLE_HOME=C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920
Looks like it needs/requires an Oracle Client and includes one of it's
own. See if you can look in this directory for a file called tnsping.
This is how you check connectivity to the Oracle Database.
C:\ptc\proiclient3.4\bin>set EPC_DISABLED=TRUE

C:\ptc\proiclient3.4\bin>if NOT "i486_nt" == "i486_win95" goto not95op

C:\ptc\proiclient3.4\bin>set path=C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\i486_nt\obj\ORACLE920\bin;C:\ptc\proiclient3.4\i486_nt\lib;C:\ptc\proiclient3.4\i486_nt\obj;C:\ptc\proiclient3.4\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\ptc\proiclient3.4\bin

C:\ptc\proiclient3.4\bin>:doneop

C:\ptc\proiclient3.4\bin>if NOT "7788@srv-e80cad" == "" set PTC_D_LICENSE_FILE=7788@srv-e80cad;7788@srv-e80cad

C:\ptc\proiclient3.4\bin>if "7788@srv-e80cad;7788@srv-e80cad" == "" set PTC_D_LICENSE_FILE=7788@srv-e80cad

C:\ptc\proiclient3.4\bin>set ILINK_CLIENT_FEATURE_NAME=ILINK_CLIENT_License ()

C:\ptc\proiclient3.4\bin>if "" == "" goto pimsg

C:\ptc\proiclient3.4\bin>set PRO_COMM_MSG_EXE=C:\ptc\proiclient3.4\i486_nt\obj\pro_comm_msg

C:\ptc\proiclient3.4\bin>:pstmsg
C:\ptc\proiclient3.4\bin>set NAME_SERVICE_EXE=C:\ptc\proiclient3.4\i486_nt\obj\name_service

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\i486_nt\obj\pdm_edit_copy.exe" set PDM_ED_CP_PATH=C:\ptc\proiclient3.4\i486_nt\obj\pdm_edit_copy.exe

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\install\nt\docmgr_loc.bat" call "C:\ptc\proiclient3.4\install\nt\docmgr_loc.bat"

C:\ptc\proiclient3.4\bin>if NOT "C:\ptc\proiclient3.4\pdm\templates" == "" goto pstemp

C:\ptc\proiclient3.4\bin>set EPC_DISABLE=TRUE

C:\ptc\proiclient3.4\bin>if EXIST "C:\ptc\proiclient3.4\rsexplorer.ini" set RSDB_INI_FILE=C:\ptc\proiclient3.4\rsexplorer.ini

C:\ptc\proiclient3.4\bin>if exist "C:\ptc\proiclient3.4\ptc_startup.bat" call "C:\ptc\proiclient3.4\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>if exist "C:\\users\icelolli\ptc_startup.bat" call "C:\\users\icelolli\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>if exist ".\ptc_startup.bat" call ".\ptc_startup.bat"

C:\ptc\proiclient3.4\bin>start /B C:\ptc\proiclient3.4\i486_nt\jre\bin\javaw -Xmx256m -Xss8m -jar C:\ptc\proiclient3.4\java\lib\Intralink.jar -l "" >> "".proi.log.1""
Path not found


Looks like the rest of the file should work Ok. However, getting Java
and Oracle to work under Wine has been problematic. One of the problems
is that there may not be enough memory space to run both. Also, check
if the PTC directory exists at .wine/drive_c/ptc as .wine/drive_c is
where the logical C:\ is located.

James McKenzie
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

James

Following the output for java version:

Code: Select all

icelolli@ascari:~/.wine/drive_c/ptc/proiclient3.4/i486_nt/jre/bin$ wine java -version 
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
tnsping exists:

Code: Select all

icelolli@ascari:~/.wine/drive_c/ptc/proiclient3.4/i486_nt/obj$ ls
cpu_id.exe             ldbcompact.exe      proilbase.dll
dbatchc.ico            ldbcompare.exe      proilcommon.dll
distribute_object.exe  ldbconvert.exe      proilcspace.dll
dsm.ico                ldbdump.exe         proildist.dll
icswrap.dll            ldbupgrade.exe      proilgroup.dll
icswswrap.dll          license_server.ico  proilws64.dll
idistwrap.dll          lmutil.exe          proilwspace.dll
ilacomm.dll            mmotion.ico         pvc.dll
ilacs.dll              modelcheck.ico      replicate_folder.exe
ilacsws.dll            mstruct.ico         rsd.ico
iladist.dll            mtherm.ico          subscribe_package.exe
iladistjavawraps.dll   noversion.exe       sync_names.exe
ilajavawraps.dll       oracle920           tnsping.exe
ilawrap.dll            plpf_status.exe     vconf.ico
ilaws.dll              proe.ico            xtop.ico
iwswrap.dll            proelogo.ico
As you can see in the code, ptc directory exist under ~/.wine/drive_c/ptc/


Now?
James McKenzie

Wine & Pro/Intralink

Post by James McKenzie »

icelolli wrote:
James

Following the output for java version:


Code:
icelolli@ascari:~/.wine/drive_c/ptc/proiclient3.4/i486_nt/jre/bin$ wine java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

Oracle 10g clients require Java 1.5.0_12 or higher. I would recommend
installing the latest available update for Windows of Java 1.5.
As you can see in the code, ptc directory exist under ~/.wine/drive_c/ptc/


Now?

Can you tnsping the Oracle instance from within Wine? This may require
the use of wine cmd or maybe it will run under Wine.

James McKenzie
icelolli
Level 1
Level 1
Posts: 9
Joined: Tue Jun 01, 2010 6:25 am

Post by icelolli »

Code: Select all

C:\ptc\proiclient3.4\i486_nt\obj\oracle920\bin>tnsping

TNS Ping Utility for 32-bit Windows: Version 9.2.0.7.0 - Production on 30-JUN-2010 08:25:47

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

TNS-03502: Insufficient arguments.  Usage:  tnsping <address> [<count>]

C:\ptc\proiclient3.4\i486_nt\obj\oracle920\bin>

Where I can find this address? I tried to use ip address where oracle server is installed. This is the result:

Code: Select all

TNS Ping Utility for 32-bit Windows: Version 9.2.0.7.0 - Production on 30-JUN-2010 08:34:05

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:
C:\ptc\proiclient3.4\sqlnet.ora

TNS-03505: Failed to resolve name
sqlnet.ora is the same in Ubuntu and Xp.

I tried the same thing on XP: same problem.
But in XP Intralink works.
Martin Gregorie

Wine & Pro/Intralink

Post by Martin Gregorie »

On Wed, 2010-06-30 at 01:42 -0500, icelolli wrote:
Where I can find this address? I tried to use ip address where oracle
server is installed. This is the result:


Code:
TNS Ping Utility for 32-bit Windows: Version 9.2.0.7.0 - Production on 30-JUN-2010 08:34:05

Copyright (c) 1997 Oracle Corporation. All rights reserved.

Used parameter files:
C:\ptc\proiclient3.4\sqlnet.ora

TNS-03505: Failed to resolve name
Does the standard Ubuntu 'ping' command; contact the server address used
in sqlnet.ora? Does it work with both the server's host name and its IP
address?

If not, the problem may be that you're not running a local name server
and the Oracle server host name isn't in /etc/hosts on your computer.
Things to check:

- if you're using a name server, is /etc/resolv.conf correctly set up on
your Ubuntu box, i.e. are the search and name server lines correct?
- is the name server running?
- if your box is seeing the name server, is the Oracle server correctly
identified in its zone files?

- if you're not using a name server, check that the Oracle server is
registered in /etc/hosts and add it in if it isn't there.


Martin
James Mckenzie

Wine & Pro/Intralink

Post by James Mckenzie »

icelolli <[email protected]> wrote:
Sent: Jun 29, 2010 11:42 PM
To: [email protected]
Subject: [Wine] Re: Wine & Pro/Intralink

Where I can find this address? I tried to use ip address where oracle server is
installed. This is the result:
You need to find a tnsnames.ora and put it in the network/admin directory under your ORACLE_HOME

Code:
TNS Ping Utility for 32-bit Windows: Version 9.2.0.7.0 - Production on 30-JUN-2010 08:34:05

Copyright (c) 1997 Oracle Corporation. All rights reserved.

Used parameter files:
C:\ptc\proiclient3.4\sqlnet.ora

TNS-03505: Failed to resolve name



sqlnet.ora is the same in Ubuntu and Xp.

I tried the same thing on XP: same problem.
But in XP Intralink works.
That may be because there is a tnsnames.ora file.

BTW, this is how things have worked since at least Oracle 8i.

James McKenzie
Locked