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.

Can't load EJB classes

3 posts in General Discussion (old) Last posting was on 2000-03-17 15:32:01.0Z
Yuhong Liu Posted on 2000-03-16 22:12:16.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Yuhong Liu" <yliu@si-ecc.com>
From: "Yuhong Liu" <yliu@si-ecc.com>
Subject: Can't load EJB classes
Date: Thu, 16 Mar 2000 17:12:16 -0500
Lines: 19
Organization: SI-ECC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 207.18.189.46
Message-ID: <347_zUGb#T5j$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:26244
Article PK: 156913

Hi,

I want to load my EJB use to run in Weblogic to Jaguar. I have My two
interfaces and my bean compiled, and try to "Install component.." in Jaguar
server. Selected "Import from EJB Class File", and put in the full path of
remote interface and home interface as well as my bean, I got:

"Cannot Resolve a file to a Java class name. Verify that the codebase is
specified in the CLASSPATH environment variable. If you change CLASSPATH,
restart Jaguar Manager and try to import the file again."

I did everything to set CLASSPATH and restart, nothing worked.

Any help ?

Yuhong Liu
yliu@si-ecc.com


Yuhong Liu Posted on 2000-03-17 14:21:41.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Yuhong Liu" <yliu@si-ecc.com>
From: "Yuhong Liu" <yliu@si-ecc.com>
Subject: Re: Can't load EJB classes
Date: Fri, 17 Mar 2000 09:21:41 -0500
Lines: 30
Organization: SI-ECC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 207.18.189.46
Message-ID: <347_x17AsxBk$GA.111@forums.sybase.com>
References: <347_zUGb#T5j$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:26214
Article PK: 156884

I put my class packege dir under syabse\Jaguar 3.5\html\classes, and get
around this, But still I don't under stand why Jaguar can't get the classes
in other dir, even those dir is in CLASSPATH.

--Yuhong

Yuhong Liu <yliu@si-ecc.com> wrote in message
news:zUGb#T5j$GA.111@forums.sybase.com...
> Hi,
>
> I want to load my EJB use to run in Weblogic to Jaguar. I have My two
> interfaces and my bean compiled, and try to "Install component.." in
Jaguar
> server. Selected "Import from EJB Class File", and put in the full path of
> remote interface and home interface as well as my bean, I got:
>
> "Cannot Resolve a file to a Java class name. Verify that the codebase is
> specified in the CLASSPATH environment variable. If you change CLASSPATH,
> restart Jaguar Manager and try to import the file again."
>
> I did everything to set CLASSPATH and restart, nothing worked.
>
> Any help ?
>
> Yuhong Liu
> yliu@si-ecc.com
>
>


Steve Fennessey Posted on 2000-03-17 15:32:01.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 17 Mar 2000 09:32:01 -0600
From: Steve Fennessey <fennessm@maritz.com>
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Can't load EJB classes
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 37
NNTP-Posting-Host: maritzfw01.maritz.com 207.239.112.18
Message-ID: <347_38D24FF1.F17F6B7F@maritz.com>
References: <347_zUGb#T5j$GA.111@forums.sybase.com> <347_x17AsxBk$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:26200
Article PK: 156870

Liu,
I had the same problem and Evan Ireland helped me out, he said when you
put in the full path of remote interface and home interface thats fine as you
select them from drop down menus but when you enter the path for the
bean you have to be sure and use dot notation(mypackage.mybean). The
help file does not tell you this but that is why there is no drop down selection

for the bean class.

Hope that helps,
Steve

Yuhong Liu wrote:

> I put my class packege dir under syabse\Jaguar 3.5\html\classes, and get
> around this, But still I don't under stand why Jaguar can't get the classes
> in other dir, even those dir is in CLASSPATH.
>
> --Yuhong
>
> Yuhong Liu <yliu@si-ecc.com> wrote in message
> news:zUGb#T5j$GA.111@forums.sybase.com...
> > Hi,
> >
> > I want to load my EJB use to run in Weblogic to Jaguar. I have My two
> > interfaces and my bean compiled, and try to "Install component.." in
> Jaguar
> > server. Selected "Import from EJB Class File", and put in the full path of
> > remote interface and home interface as well as my bean, I got:
> >
> > "Cannot Resolve a file to a Java class name. Verify that the codebase is
> > specified in the CLASSPATH environment variable. If you change CLASSPATH,
> > restart Jaguar Manager and try to import the file again."
> >
> > I did everything to set CLASSPATH and restart, nothing worked.
> >
> > Any help ?
> >
> > Yuhong Liu
> > yliu@si-ecc.com
> >
> >