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.

Powej Distributed tutorial help

3 posts in General Discussion (old) Last posting was on 2000-03-23 13:08:01.0Z
Hitesh Patel Posted on 2000-03-22 20:51:16.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 22 Mar 2000 15:51:16 -0500
From: Hitesh Patel <hpatel@cbsinc.com>
Organization: CBSI
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Powej Distributed tutorial help
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 65
NNTP-Posting-Host: 162.108.32.25
Message-ID: <347_38D93244.F9176C39@cbsinc.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25893
Article PK: 155934

While deploying EJB from PowerJ getting started tutorial for distributed
Application I am getting the following notfatal message:

A nonfatal internal JIT (3.10.107(x)) error 'regvar' has occurred in :
'com/sybase/jaguar/importer/JImporter.loadFromEJBJar ()V':
Interpreting method.
Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi


But While running the client part I am getting the following exception.
Can anyone tell what is wrong with this. Rest of the settings are all as
per tutorial.


javax.naming lookup failed for component: ContactManager
Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
has not been set! minor

The following is the content of Powerj Debug log.


Logging started Mar 22, 2000 3:43:18 PM
PowerJ component library (PJClass) version 3.5.1 (debug)
setInitialCtxName : Name was "com.sybase.ejb.InitialContextFactory"
changed to "com.sybase.ejb.InitialContextFactory"
SettingContextForEJB true
setUser: new user is jagadmin
setPassword: new password is
setURL: new URL is iiop://localhost:9000
powersoft.powerj.db.java_sql.Query: [Client.query_1 in setName] new name
is 'Client.query_1', now registered in the global name table
powersoft.powerj.db.java_sql.Query: [Client.query_1 in getColumnCount]
no result set or metadata is available
powersoft.powerj.db.java_sql.Query: [Client.query_1 in setSQL] setting
SQL string to 'SELECT *
FROM DBA.contact contact
ORDER BY contact.last_name'
connect: trigger event: Connecting
connect: Connecting using javax.naming
User:: jagadmin
Password::
Factory:: com.sybase.ejb.InitialContextFactory
About to create javax.naming.InitialContext in connectUsingJavaxNaming()

Listing Arguments --
Listing Properties --
java.naming.security.credentials =
java.naming.factory.initial = com.sybase.ejb.InitialContextFactory
java.naming.provider.url = iiop://localhost:9000
java.naming.security.principal = jagadmin
connect: trigger event: Connected
lookup: component ContactManager connected=true useJavaxNaming=true
javax.naming lookup failed for component: ContactManager
Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
has not been set! minor code: 0 completed:
No]javax.naming.NamingException
powersoft.powerj.db.java_sql.Query: [Client.query_1 in clearParameters]
clearing parameters
powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
name table
powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
name table


Scott McReynolds [Sybase] Posted on 2000-03-22 23:39:04.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: Powej Distributed tutorial help
Date: Wed, 22 Mar 2000 16:39:04 -0700
Lines: 75
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.22
Message-ID: <347_JJuyFiFl$GA.111@forums.sybase.com>
References: <347_38D93244.F9176C39@cbsinc.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25862
Article PK: 155897

Hitesh,

Have you tried removing the JIT compiler?

Scott

"Hitesh Patel" <hpatel@cbsinc.com> wrote in message
news:38D93244.F9176C39@cbsinc.com...
> While deploying EJB from PowerJ getting started tutorial for distributed
> Application I am getting the following notfatal message:
>
> A nonfatal internal JIT (3.10.107(x)) error 'regvar' has occurred in :
> 'com/sybase/jaguar/importer/JImporter.loadFromEJBJar ()V':
> Interpreting method.
> Please report this error in detail to
> http://java.sun.com/cgi-bin/bugreport.cgi
>
>
> But While running the client part I am getting the following exception.
> Can anyone tell what is wrong with this. Rest of the settings are all as
> per tutorial.
>
>
> javax.naming lookup failed for component: ContactManager
> Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
> has not been set! minor
>
> The following is the content of Powerj Debug log.
>
>
> Logging started Mar 22, 2000 3:43:18 PM
> PowerJ component library (PJClass) version 3.5.1 (debug)
> setInitialCtxName : Name was "com.sybase.ejb.InitialContextFactory"
> changed to "com.sybase.ejb.InitialContextFactory"
> SettingContextForEJB true
> setUser: new user is jagadmin
> setPassword: new password is
> setURL: new URL is iiop://localhost:9000
> powersoft.powerj.db.java_sql.Query: [Client.query_1 in setName] new name
> is 'Client.query_1', now registered in the global name table
> powersoft.powerj.db.java_sql.Query: [Client.query_1 in getColumnCount]
> no result set or metadata is available
> powersoft.powerj.db.java_sql.Query: [Client.query_1 in setSQL] setting
> SQL string to 'SELECT *
> FROM DBA.contact contact
> ORDER BY contact.last_name'
> connect: trigger event: Connecting
> connect: Connecting using javax.naming
> User:: jagadmin
> Password::
> Factory:: com.sybase.ejb.InitialContextFactory
> About to create javax.naming.InitialContext in connectUsingJavaxNaming()
>
> Listing Arguments --
> Listing Properties --
> java.naming.security.credentials =
> java.naming.factory.initial = com.sybase.ejb.InitialContextFactory
> java.naming.provider.url = iiop://localhost:9000
> java.naming.security.principal = jagadmin
> connect: trigger event: Connected
> lookup: component ContactManager connected=true useJavaxNaming=true
> javax.naming lookup failed for component: ContactManager
> Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
> has not been set! minor code: 0 completed:
> No]javax.naming.NamingException
> powersoft.powerj.db.java_sql.Query: [Client.query_1 in clearParameters]
> clearing parameters
> powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
> name table
> powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
> name table
>
>


Hitesh Patel Posted on 2000-03-23 13:08:01.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 23 Mar 2000 08:08:01 -0500
From: Hitesh Patel <hpatel@cbsinc.com>
Organization: CBSI
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Powej Distributed tutorial help
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 81
NNTP-Posting-Host: 162.108.32.25
Message-ID: <347_38DA1730.C5E834AD@cbsinc.com>
References: <347_38D93244.F9176C39@cbsinc.com> <347_JJuyFiFl$GA.111@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25842
Article PK: 155876

Hi Scott,

I don't know I am supposed to remove JIT complier. Can you tell me how to do
that? Thanks for your time. I really appreciate it.

-Hitesh

"Scott McReynolds [Sybase]" wrote:

> Hitesh,
>
> Have you tried removing the JIT compiler?
>
> Scott
>
> "Hitesh Patel" <hpatel@cbsinc.com> wrote in message
> news:38D93244.F9176C39@cbsinc.com...
> > While deploying EJB from PowerJ getting started tutorial for distributed
> > Application I am getting the following notfatal message:
> >
> > A nonfatal internal JIT (3.10.107(x)) error 'regvar' has occurred in :
> > 'com/sybase/jaguar/importer/JImporter.loadFromEJBJar ()V':
> > Interpreting method.
> > Please report this error in detail to
> > http://java.sun.com/cgi-bin/bugreport.cgi
> >
> >
> > But While running the client part I am getting the following exception.
> > Can anyone tell what is wrong with this. Rest of the settings are all as
> > per tutorial.
> >
> >
> > javax.naming lookup failed for component: ContactManager
> > Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
> > has not been set! minor
> >
> > The following is the content of Powerj Debug log.
> >
> >
> > Logging started Mar 22, 2000 3:43:18 PM
> > PowerJ component library (PJClass) version 3.5.1 (debug)
> > setInitialCtxName : Name was "com.sybase.ejb.InitialContextFactory"
> > changed to "com.sybase.ejb.InitialContextFactory"
> > SettingContextForEJB true
> > setUser: new user is jagadmin
> > setPassword: new password is
> > setURL: new URL is iiop://localhost:9000
> > powersoft.powerj.db.java_sql.Query: [Client.query_1 in setName] new name
> > is 'Client.query_1', now registered in the global name table
> > powersoft.powerj.db.java_sql.Query: [Client.query_1 in getColumnCount]
> > no result set or metadata is available
> > powersoft.powerj.db.java_sql.Query: [Client.query_1 in setSQL] setting
> > SQL string to 'SELECT *
> > FROM DBA.contact contact
> > ORDER BY contact.last_name'
> > connect: trigger event: Connecting
> > connect: Connecting using javax.naming
> > User:: jagadmin
> > Password::
> > Factory:: com.sybase.ejb.InitialContextFactory
> > About to create javax.naming.InitialContext in connectUsingJavaxNaming()
> >
> > Listing Arguments --
> > Listing Properties --
> > java.naming.security.credentials =
> > java.naming.factory.initial = com.sybase.ejb.InitialContextFactory
> > java.naming.provider.url = iiop://localhost:9000
> > java.naming.security.principal = jagadmin
> > connect: trigger event: Connected
> > lookup: component ContactManager connected=true useJavaxNaming=true
> > javax.naming lookup failed for component: ContactManager
> > Exception: [Root exception is org.omg.CORBA.BAD_OPERATION: The delegate
> > has not been set! minor code: 0 completed:
> > No]javax.naming.NamingException
> > powersoft.powerj.db.java_sql.Query: [Client.query_1 in clearParameters]
> > clearing parameters
> > powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
> > name table
> > powersoft.powerj.db.java_sql.Query: [in setName] no name, removing from
> > name table
> >
> >