Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Source Control conflits with JVM

3 posts in EJB Client Last posting was on 2005-12-15 13:41:09.0Z
Yuri Posted on 2005-04-14 20:43:23.0Z
From: "Yuri" <ydench@yahoo.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Source Control conflits with JVM
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: 12.173.168.199
X-Original-NNTP-Posting-Host: 12.173.168.199
Message-ID: <425ed5eb$1@forums-1-dub>
Date: 14 Apr 2005 13:43:23 -0700
X-Trace: forums-1-dub 1113511403 12.173.168.199 (14 Apr 2005 13:43:23 -0700)
X-Original-Trace: 14 Apr 2005 13:43:23 -0700, 12.173.168.199
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:526
Article PK: 424659

Hello,
In our project we are using PB10 with PVCS version control. When
PowerBuilder starts it loads JVM regardless of PVCS status, whether it's
connected or not. It causes a problem on calling createJavaVM() with
classpath in it.
Classpath is not getting loaded because JVM is already loaded by PVCS when
PB starts.
Any ideas?
thanks,
Yuri


Bede <bede_nosp Posted on 2005-12-15 08:46:14.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Source Control conflits with JVM
Message-ID: <MPG.1e0b498f2edf8023989774@forums.sybase.com>
References: <425ed5eb$1@forums-1-dub>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-Trace: 15 Dec 2005 00:36:54 -0800, uu194-7-38-226.unknown.uunet.be
Lines: 18
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 15 Dec 2005 00:36:54 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 15 Dec 2005 00:46:14 -0800
X-Trace: forums-1-dub 1134636374 10.22.108.75 (15 Dec 2005 00:46:14 -0800)
X-Original-Trace: 15 Dec 2005 00:46:14 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:602
Article PK: 424730

I'm running into this problem too... any ideas?

Ben

In article <425ed5eb$1@forums-1-dub>, ydench@yahoo.com says...

> Hello,
> In our project we are using PB10 with PVCS version control. When
> PowerBuilder starts it loads JVM regardless of PVCS status, whether it's
> connected or not. It causes a problem on calling createJavaVM() with
> classpath in it.
> Classpath is not getting loaded because JVM is already loaded by PVCS when
> PB starts.
> Any ideas?
> thanks,
> Yuri
>
>
>


Bede <bede_nosp Posted on 2005-12-15 13:41:09.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Source Control conflits with JVM
Message-ID: <MPG.1e0b8ea1d52f50c5989776@forums.sybase.com>
References: <425ed5eb$1@forums-1-dub>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
Date: 15 Dec 2005 05:41:09 -0800
X-Trace: forums-1-dub 1134654069 194.7.38.226 (15 Dec 2005 05:41:09 -0800)
X-Original-Trace: 15 Dec 2005 05:41:09 -0800, uu194-7-38-226.unknown.uunet.be
Lines: 36
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:603
Article PK: 424731

Found a solution!

http://www.sybase.com/detail?id=1038295#CHDFGGAE

-------------------------------------------------------------------
4.2 Configuring Java VM initialization
When you connect to a source control system, PowerBuilder instantiates a
Java VM by default. For certain source code control (SCC) programs, such
as BorlandÆs StarTeam or SerenaÆs TrackerLink, the Java VM instantiated
by PowerBuilder conflicts with the Java VM instantiated by the SCC
program. To prevent Java VM conflicts, add the following section and
parameter setting to the PB.INI file:
[JavaVM]
CreateJavaVM=0

This prevents PowerBuilder from instantiating a Java VM when it connects
to a source control system.
-------------------------------------------------------------------


In article <425ed5eb$1@forums-1-dub>, ydench@yahoo.com says...

> Hello,
> In our project we are using PB10 with PVCS version control. When
> PowerBuilder starts it loads JVM regardless of PVCS status, whether it's
> connected or not. It causes a problem on calling createJavaVM() with
> classpath in it.
> Classpath is not getting loaded because JVM is already loaded by PVCS when
> PB starts.
> Any ideas?
> thanks,
> Yuri
>
>
>