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.

Error Creating Component

2 posts in General Discussion (old) Last posting was on 2000-03-10 04:47:55.0Z
Suresh Subrmaniam Posted on 2000-03-09 18:06:03.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 09 Mar 2000 13:06:03 -0500
From: Suresh Subrmaniam <ssubramaniam@psc.gov>
X-Mailer: Mozilla 4.08 [en] (WinNT; I)
MIME-Version: 1.0
Subject: Error Creating Component
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 24
NNTP-Posting-Host: 158.72.55.43
Message-ID: <347_38C7E80B.D3029D5D@psc.gov>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26773
Article PK: 157750

Hi,

I created a project in PB7.0 and build the project
Logged to Jaguar manager built stubs and skeleton
At dos prompt, did javac n_validate_login.java & no errors
Stopped WebServer & Jaguar and restarted.

Whenever I open the page & execute the line below:

var complogin =
java.CreateComponent("pkg_validate_login/n_validate_login","iiop://158.72.55.227:9000","jagadmin","");

It gives the following error:
----------------------------------------------------
Exception thrown:
java.lang.NoClassDefFoundError:pkg_validate_login._st_n_validate_ling in

method of class pkg_validate_logiini.n_validate_loginHelper. Unable to
narrow component
to the required interface:"pkg_validate_login/n_validatelonghelper.
----------------------------------------------------
This was working an hour ago and lately started giving errors.

Any idea what is happening

Any input is appreciated

thanks


Larry Cermak[Team Sybase] Posted on 2000-03-10 04:47:55.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak[Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: Error Creating Component
Date: Thu, 9 Mar 2000 22:47:55 -0600
Lines: 50
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: node6.dhcpchi.dslspeed.zyan.com 208.41.199.6
Message-ID: <347_j6CiP0ki$GA.74@forums.sybase.com>
References: <347_38C7E80B.D3029D5D@psc.gov>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26720
Article PK: 157707

WHen you compile compile all the files, not just 1.

javac *.java

See if that helps.

--

Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com
Web DataWindow Articles
(http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)

"Suresh Subrmaniam" <ssubramaniam@psc.gov> wrote in message
news:38C7E80B.D3029D5D@psc.gov...
> Hi,
>
> I created a project in PB7.0 and build the project
> Logged to Jaguar manager built stubs and skeleton
> At dos prompt, did javac n_validate_login.java & no errors
> Stopped WebServer & Jaguar and restarted.
>
> Whenever I open the page & execute the line below:
>
> var complogin =
>

java.CreateComponent("pkg_validate_login/n_validate_login","iiop://158.72.55
.227:9000","jagadmin","");
>
> It gives the following error:
> ----------------------------------------------------
> Exception thrown:
> java.lang.NoClassDefFoundError:pkg_validate_login._st_n_validate_ling in
>
> method of class pkg_validate_logiini.n_validate_loginHelper. Unable to
> narrow component
> to the required interface:"pkg_validate_login/n_validatelonghelper.
> ----------------------------------------------------
> This was working an hour ago and lately started giving errors.
>
> Any idea what is happening
>
> Any input is appreciated
>
> thanks
>