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.

ejb proxy generation error: Bad Java class name

9 posts in EJB Client Last posting was on 2004-02-05 22:55:17.0Z
Vlad Zlotskiy Posted on 2004-02-02 22:09:07.0Z
From: "Vlad Zlotskiy" <vladz@imsi.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: ejb proxy generation error: Bad Java class name
Lines: 12
Organization: IMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: exit.imsi.com
X-Original-NNTP-Posting-Host: exit.imsi.com
Message-ID: <401eca83$1@forums-1-dub>
Date: 2 Feb 2004 14:09:07 -0800
X-Trace: forums-1-dub 1075759747 199.253.174.9 (2 Feb 2004 14:09:07 -0800)
X-Original-Trace: 2 Feb 2004 14:09:07 -0800, exit.imsi.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:236
Article PK: 424420

Hi,
I am getting the following error message, while trying to generate proxies
around javax.naming classes.
"Bad Java class name: java.nio.channels.Pipe."
This class definitely exists in JRE that is installed on my machine. It
exists also in jre that was supplied with PB 9 installation.
Could anyone please explain what could be wrong in this case.

Thanks
Vlad


Jim O'Neil [Sybase] Posted on 2004-02-02 22:38:38.0Z
From: joneil@sybase.com (Jim O'Neil [Sybase])
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: ejb proxy generation error: Bad Java class name
Organization: Sybase Technical Support
Reply-To: joneil_REMOVETHISPART@sybase.com
Message-ID: <401ecd3b.31551168@forums.sybase.com>
References: <401eca83$1@forums-1-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: joneilpc.sybase.com
X-Original-NNTP-Posting-Host: joneilpc.sybase.com
Date: 2 Feb 2004 14:38:38 -0800
X-Trace: forums-1-dub 1075761518 10.18.61.244 (2 Feb 2004 14:38:38 -0800)
X-Original-Trace: 2 Feb 2004 14:38:38 -0800, joneilpc.sybase.com
Lines: 27
X-Authenticated-User: TeamPS
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:237
Article PK: 424422

Do you get any error when running

javap java.nio.channels.Pipe

That's what PB is doing under the covers. I recall a similar issue
where for some reason javap could not handle some of the newer
classes.

On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:

>Hi,
>I am getting the following error message, while trying to generate proxies
>around javax.naming classes.
>"Bad Java class name: java.nio.channels.Pipe."
> This class definitely exists in JRE that is installed on my machine. It
>exists also in jre that was supplied with PB 9 installation.
>Could anyone please explain what could be wrong in this case.
>
>Thanks
>Vlad
>
>

Jim O'Neil
Principal Technical Support Engineer
Sybase, Inc.
Concord, MA


Vlad Zlotskiy Posted on 2004-02-02 22:45:20.0Z
From: "Vlad Zlotskiy" <vladz@imsi.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com>
Subject: Re: ejb proxy generation error: Bad Java class name
Lines: 43
Organization: IMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: exit.imsi.com
X-Original-NNTP-Posting-Host: exit.imsi.com
Message-ID: <401ed300$1@forums-1-dub>
Date: 2 Feb 2004 14:45:20 -0800
X-Trace: forums-1-dub 1075761920 199.253.174.9 (2 Feb 2004 14:45:20 -0800)
X-Original-Trace: 2 Feb 2004 14:45:20 -0800, exit.imsi.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:238
Article PK: 424421

javap worked fine. here is the output :
D:\Program Files\Sybase\Shared\PowerBuilder>javap java.nio.channels.Pipe
Compiled from "Pipe.java"
public abstract class java.nio.channels.Pipe extends java.lang.Object{
protected java.nio.channels.Pipe();
public static java.nio.channels.Pipe open();
throws java/io/IOException
public abstract java.nio.channels.Pipe$SinkChannel sink();
public abstract java.nio.channels.Pipe$SourceChannel source();
}

"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
news:401ecd3b.31551168@forums.sybase.com...
> Do you get any error when running
>
> javap java.nio.channels.Pipe
>
> That's what PB is doing under the covers. I recall a similar issue
> where for some reason javap could not handle some of the newer
> classes.
>
> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>
> >Hi,
> >I am getting the following error message, while trying to generate
proxies
> >around javax.naming classes.
> >"Bad Java class name: java.nio.channels.Pipe."
> > This class definitely exists in JRE that is installed on my machine. It
> >exists also in jre that was supplied with PB 9 installation.
> >Could anyone please explain what could be wrong in this case.
> >
> >Thanks
> >Vlad
> >
> >
>
> Jim O'Neil
> Principal Technical Support Engineer
> Sybase, Inc.
> Concord, MA


Jim O'Neil [Sybase] Posted on 2004-02-03 00:09:22.0Z
From: joneil@sybase.com (Jim O'Neil [Sybase])
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: ejb proxy generation error: Bad Java class name
Organization: Sybase Technical Support
Reply-To: joneil_REMOVETHISPART@sybase.com
Message-ID: <401ee27f.36994665@forums.sybase.com>
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
X-Original-NNTP-Posting-Host: joneilpc.sybase.com
X-Original-Trace: 2 Feb 2004 16:19:46 -0800, joneilpc.sybase.com
Lines: 54
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 2 Feb 2004 15:52:15 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 2 Feb 2004 16:09:22 -0800
X-Trace: forums-1-dub 1075766962 10.22.108.75 (2 Feb 2004 16:09:22 -0800)
X-Original-Trace: 2 Feb 2004 16:09:22 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:239
Article PK: 424424

I don't see why this shouldn't be working then... can you send me your
EJB home and remote interface classes - and any dependent classes that
I wouldn't already have as part of the JDK.

On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:

>javap worked fine. here is the output :
>D:\Program Files\Sybase\Shared\PowerBuilder>javap java.nio.channels.Pipe
>Compiled from "Pipe.java"
>public abstract class java.nio.channels.Pipe extends java.lang.Object{
> protected java.nio.channels.Pipe();
> public static java.nio.channels.Pipe open();
> throws java/io/IOException
> public abstract java.nio.channels.Pipe$SinkChannel sink();
> public abstract java.nio.channels.Pipe$SourceChannel source();
>}
>
>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
>news:401ecd3b.31551168@forums.sybase.com...
>> Do you get any error when running
>>
>> javap java.nio.channels.Pipe
>>
>> That's what PB is doing under the covers. I recall a similar issue
>> where for some reason javap could not handle some of the newer
>> classes.
>>
>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>>
>> >Hi,
>> >I am getting the following error message, while trying to generate
>proxies
>> >around javax.naming classes.
>> >"Bad Java class name: java.nio.channels.Pipe."
>> > This class definitely exists in JRE that is installed on my machine. It
>> >exists also in jre that was supplied with PB 9 installation.
>> >Could anyone please explain what could be wrong in this case.
>> >
>> >Thanks
>> >Vlad
>> >
>> >
>>
>> Jim O'Neil
>> Principal Technical Support Engineer
>> Sybase, Inc.
>> Concord, MA
>
>

Jim O'Neil
Principal Technical Support Engineer
Sybase, Inc.
Concord, MA


Jim O'Neil [Sybase] Posted on 2004-02-03 14:22:43.0Z
From: joneil@sybase.com (Jim O'Neil [Sybase])
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: ejb proxy generation error: Bad Java class name
Organization: Sybase Technical Support
Reply-To: joneil_REMOVETHISPART@sybase.com
Message-ID: <401faa98.1824783@forums.sybase.com>
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub> <401ee27f.36994665@forums.sybase.com>
X-Newsreader: Forte Free Agent 1.21/32.243
X-Original-NNTP-Posting-Host: joneilpc.sybase.com
X-Original-Trace: 3 Feb 2004 06:33:11 -0800, joneilpc.sybase.com
Lines: 65
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Feb 2004 06:05:34 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Feb 2004 06:22:43 -0800
X-Trace: forums-1-dub 1075818163 10.22.108.75 (3 Feb 2004 06:22:43 -0800)
X-Original-Trace: 3 Feb 2004 06:22:43 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:242
Article PK: 424425

Please e-mail me the files, I'm having some trouble detaching them in
Free Agent.

On 2 Feb 2004 16:09:22 -0800, joneil@sybase.com (Jim O'Neil [Sybase])

wrote:

>I don't see why this shouldn't be working then... can you send me your
>EJB home and remote interface classes - and any dependent classes that
>I wouldn't already have as part of the JDK.
>
>On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>
>>javap worked fine. here is the output :
>>D:\Program Files\Sybase\Shared\PowerBuilder>javap java.nio.channels.Pipe
>>Compiled from "Pipe.java"
>>public abstract class java.nio.channels.Pipe extends java.lang.Object{
>> protected java.nio.channels.Pipe();
>> public static java.nio.channels.Pipe open();
>> throws java/io/IOException
>> public abstract java.nio.channels.Pipe$SinkChannel sink();
>> public abstract java.nio.channels.Pipe$SourceChannel source();
>>}
>>
>>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
>>news:401ecd3b.31551168@forums.sybase.com...
>>> Do you get any error when running
>>>
>>> javap java.nio.channels.Pipe
>>>
>>> That's what PB is doing under the covers. I recall a similar issue
>>> where for some reason javap could not handle some of the newer
>>> classes.
>>>
>>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>>>
>>> >Hi,
>>> >I am getting the following error message, while trying to generate
>>proxies
>>> >around javax.naming classes.
>>> >"Bad Java class name: java.nio.channels.Pipe."
>>> > This class definitely exists in JRE that is installed on my machine. It
>>> >exists also in jre that was supplied with PB 9 installation.
>>> >Could anyone please explain what could be wrong in this case.
>>> >
>>> >Thanks
>>> >Vlad
>>> >
>>> >
>>>
>>> Jim O'Neil
>>> Principal Technical Support Engineer
>>> Sybase, Inc.
>>> Concord, MA
>>
>>
>
>Jim O'Neil
>Principal Technical Support Engineer
>Sybase, Inc.
>Concord, MA

Jim O'Neil
Principal Technical Support Engineer
Sybase, Inc.
Concord, MA


Vlad Zlotskiy Posted on 2004-02-03 16:49:01.0Z
From: "Vlad Zlotskiy" <vladz@imsi.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub> <401ee27f.36994665@forums.sybase.com> <401faa98.1824783@forums.sybase.com>
Subject: Re: ejb proxy generation error: Bad Java class name
Lines: 489
Organization: IMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: exit.imsi.com
X-Original-NNTP-Posting-Host: exit.imsi.com
Message-ID: <401fd0fd@forums-1-dub>
Date: 3 Feb 2004 08:49:01 -0800
X-Trace: forums-1-dub 1075826941 199.253.174.9 (3 Feb 2004 08:49:01 -0800)
X-Original-Trace: 3 Feb 2004 08:49:01 -0800, exit.imsi.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:243
Article PK: 424426

Sorry, here it is:

public class PB_javax_namingHome {
}



import javax.naming.*;
import javax.naming.directory.*;
import javax.naming.event.*;
import javax.naming.ldap.*;
import javax.naming.spi.*;

public class PB_javax_naming {
public javax.naming.AuthenticationException
javax_naming_AuthenticationException(String val0 ) { return new
javax.naming.AuthenticationException( val0); }
public javax.naming.AuthenticationException
javax_naming_AuthenticationException( ) { return new
javax.naming.AuthenticationException(); }
public javax.naming.AuthenticationNotSupportedException
javax_naming_AuthenticationNotSupportedException(String val0 ) { return new
javax.naming.AuthenticationNotSupportedException( val0); }
public javax.naming.AuthenticationNotSupportedException
javax_naming_AuthenticationNotSupportedException( ) { return new
javax.naming.AuthenticationNotSupportedException(); }
public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String val0,
byte[] val1, int val2, int val3 ) { return new javax.naming.BinaryRefAddr(
val0, val1, val2, val3); }
public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String val0,
byte[] val1 ) { return new javax.naming.BinaryRefAddr( val0, val1); }
public javax.naming.Binding javax_naming_Binding(String val0, Object val1,
boolean val2 ) { return new javax.naming.Binding( val0, val1, val2); }
public javax.naming.Binding javax_naming_Binding(String val0, String val1,
Object val2 ) { return new javax.naming.Binding( val0, val1, val2); }
public javax.naming.Binding javax_naming_Binding(String val0, String val1,
Object val2, boolean val3 ) { return new javax.naming.Binding( val0, val1,
val2, val3); }
public javax.naming.Binding javax_naming_Binding(String val0, Object val1 )
{ return new javax.naming.Binding( val0, val1); }
public javax.naming.CannotProceedException
javax_naming_CannotProceedException(String val0 ) { return new
javax.naming.CannotProceedException( val0); }
public javax.naming.CannotProceedException
javax_naming_CannotProceedException( ) { return new
javax.naming.CannotProceedException(); }
public javax.naming.CommunicationException
javax_naming_CommunicationException(String val0 ) { return new
javax.naming.CommunicationException( val0); }
public javax.naming.CommunicationException
javax_naming_CommunicationException( ) { return new
javax.naming.CommunicationException(); }
public javax.naming.CompositeName javax_naming_CompositeName(String val0 )
throws InvalidNameException { return new javax.naming.CompositeName(
val0); }
public javax.naming.CompositeName javax_naming_CompositeName( ) { return
new javax.naming.CompositeName(); }
public javax.naming.CompoundName javax_naming_CompoundName(String val0,
java.util.Properties val1 ) throws InvalidNameException { return new
javax.naming.CompoundName( val0, val1); }
public javax.naming.ConfigurationException
javax_naming_ConfigurationException(String val0 ) { return new
javax.naming.ConfigurationException( val0); }
public javax.naming.ConfigurationException
javax_naming_ConfigurationException( ) { return new
javax.naming.ConfigurationException(); }
public void javax_naming_Context(javax.naming.Context val ) {}
public javax.naming.ContextNotEmptyException
javax_naming_ContextNotEmptyException(String val0 ) { return new
javax.naming.ContextNotEmptyException( val0); }
public javax.naming.ContextNotEmptyException
javax_naming_ContextNotEmptyException( ) { return new
javax.naming.ContextNotEmptyException(); }
public javax.naming.InitialContext javax_naming_InitialContext( ) throws
NamingException { return new javax.naming.InitialContext(); }
public javax.naming.InitialContext
javax_naming_InitialContext(java.util.Hashtable val0 ) throws
NamingException { return new javax.naming.InitialContext( val0); }
public javax.naming.InsufficientResourcesException
javax_naming_InsufficientResourcesException(String val0 ) { return new
javax.naming.InsufficientResourcesException( val0); }
public javax.naming.InsufficientResourcesException
javax_naming_InsufficientResourcesException( ) { return new
javax.naming.InsufficientResourcesException(); }
public javax.naming.InterruptedNamingException
javax_naming_InterruptedNamingException(String val0 ) { return new
javax.naming.InterruptedNamingException( val0); }
public javax.naming.InterruptedNamingException
javax_naming_InterruptedNamingException( ) { return new
javax.naming.InterruptedNamingException(); }
public javax.naming.InvalidNameException
javax_naming_InvalidNameException(String val0 ) { return new
javax.naming.InvalidNameException( val0); }
public javax.naming.InvalidNameException
javax_naming_InvalidNameException( ) { return new
javax.naming.InvalidNameException(); }
public javax.naming.LimitExceededException
javax_naming_LimitExceededException( ) { return new
javax.naming.LimitExceededException(); }
public javax.naming.LimitExceededException
javax_naming_LimitExceededException(String val0 ) { return new
javax.naming.LimitExceededException( val0); }
public javax.naming.LinkException javax_naming_LinkException(String val0 )
{ return new javax.naming.LinkException( val0); }
public javax.naming.LinkException javax_naming_LinkException( ) { return
new javax.naming.LinkException(); }
public javax.naming.LinkLoopException javax_naming_LinkLoopException(String
val0 ) { return new javax.naming.LinkLoopException( val0); }
public javax.naming.LinkLoopException javax_naming_LinkLoopException( ) {
return new javax.naming.LinkLoopException(); }
public javax.naming.LinkRef javax_naming_LinkRef(Name val0 ) { return new
javax.naming.LinkRef( val0); }
public javax.naming.LinkRef javax_naming_LinkRef(String val0 ) { return new
javax.naming.LinkRef( val0); }
public javax.naming.MalformedLinkException
javax_naming_MalformedLinkException(String val0 ) { return new
javax.naming.MalformedLinkException( val0); }
public javax.naming.MalformedLinkException
javax_naming_MalformedLinkException( ) { return new
javax.naming.MalformedLinkException(); }
public void javax_naming_Name(javax.naming.Name val ) {}
public javax.naming.NameAlreadyBoundException
javax_naming_NameAlreadyBoundException(String val0 ) { return new
javax.naming.NameAlreadyBoundException( val0); }
public javax.naming.NameAlreadyBoundException
javax_naming_NameAlreadyBoundException( ) { return new
javax.naming.NameAlreadyBoundException(); }
public javax.naming.NameClassPair javax_naming_NameClassPair(String val0,
String val1 ) { return new javax.naming.NameClassPair( val0, val1); }
public javax.naming.NameClassPair javax_naming_NameClassPair(String val0,
String val1, boolean val2 ) { return new javax.naming.NameClassPair( val0,
val1, val2); }
public javax.naming.NameNotFoundException
javax_naming_NameNotFoundException(String val0 ) { return new
javax.naming.NameNotFoundException( val0); }
public javax.naming.NameNotFoundException
javax_naming_NameNotFoundException( ) { return new
javax.naming.NameNotFoundException(); }
public void javax_naming_NameParser(javax.naming.NameParser val ) {}
public void javax_naming_NamingEnumeration(javax.naming.NamingEnumeration
val ) {}
public javax.naming.NamingException javax_naming_NamingException(String
val0 ) { return new javax.naming.NamingException( val0); }
public javax.naming.NamingException javax_naming_NamingException( ) {
return new javax.naming.NamingException(); }
public void
javax_naming_NamingSecurityException(javax.naming.NamingSecurityException
val ) {}
public javax.naming.NoInitialContextException
javax_naming_NoInitialContextException( ) { return new
javax.naming.NoInitialContextException(); }
public javax.naming.NoInitialContextException
javax_naming_NoInitialContextException(String val0 ) { return new
javax.naming.NoInitialContextException( val0); }
public javax.naming.NoPermissionException
javax_naming_NoPermissionException(String val0 ) { return new
javax.naming.NoPermissionException( val0); }
public javax.naming.NoPermissionException
javax_naming_NoPermissionException( ) { return new
javax.naming.NoPermissionException(); }
public javax.naming.NotContextException
javax_naming_NotContextException(String val0 ) { return new
javax.naming.NotContextException( val0); }
public javax.naming.NotContextException javax_naming_NotContextException( )
{ return new javax.naming.NotContextException(); }
public javax.naming.OperationNotSupportedException
javax_naming_OperationNotSupportedException( ) { return new
javax.naming.OperationNotSupportedException(); }
public javax.naming.OperationNotSupportedException
javax_naming_OperationNotSupportedException(String val0 ) { return new
javax.naming.OperationNotSupportedException( val0); }
public javax.naming.PartialResultException
javax_naming_PartialResultException(String val0 ) { return new
javax.naming.PartialResultException( val0); }
public javax.naming.PartialResultException
javax_naming_PartialResultException( ) { return new
javax.naming.PartialResultException(); }
public void javax_naming_RefAddr(javax.naming.RefAddr val ) {}
public javax.naming.Reference javax_naming_Reference(String val0, RefAddr
val1 ) { return new javax.naming.Reference( val0, val1); }
public javax.naming.Reference javax_naming_Reference(String val0, String
val1, String val2 ) { return new javax.naming.Reference( val0, val1,
val2); }
public javax.naming.Reference javax_naming_Reference(String val0, RefAddr
val1, String val2, String val3 ) { return new javax.naming.Reference( val0,
val1, val2, val3); }
public javax.naming.Reference javax_naming_Reference(String val0 ) { return
new javax.naming.Reference( val0); }
public void javax_naming_Referenceable(javax.naming.Referenceable val ) {}
public void javax_naming_ReferralException(javax.naming.ReferralException
val ) {}
public javax.naming.ServiceUnavailableException
javax_naming_ServiceUnavailableException(String val0 ) { return new
javax.naming.ServiceUnavailableException( val0); }
public javax.naming.ServiceUnavailableException
javax_naming_ServiceUnavailableException( ) { return new
javax.naming.ServiceUnavailableException(); }
public javax.naming.SizeLimitExceededException
javax_naming_SizeLimitExceededException( ) { return new
javax.naming.SizeLimitExceededException(); }
public javax.naming.SizeLimitExceededException
javax_naming_SizeLimitExceededException(String val0 ) { return new
javax.naming.SizeLimitExceededException( val0); }
public javax.naming.StringRefAddr javax_naming_StringRefAddr(String val0,
String val1 ) { return new javax.naming.StringRefAddr( val0, val1); }
public javax.naming.TimeLimitExceededException
javax_naming_TimeLimitExceededException( ) { return new
javax.naming.TimeLimitExceededException(); }
public javax.naming.TimeLimitExceededException
javax_naming_TimeLimitExceededException(String val0 ) { return new
javax.naming.TimeLimitExceededException( val0); }
public void
javax_naming_directory_Attribute(javax.naming.directory.Attribute val ) {}
public javax.naming.directory.AttributeInUseException
javax_naming_directory_AttributeInUseException(String val0 ) { return new
javax.naming.directory.AttributeInUseException( val0); }
public javax.naming.directory.AttributeInUseException
javax_naming_directory_AttributeInUseException( ) { return new
javax.naming.directory.AttributeInUseException(); }
public javax.naming.directory.AttributeModificationException
javax_naming_directory_AttributeModificationException(String val0 ) { return
new javax.naming.directory.AttributeModificationException( val0); }
public javax.naming.directory.AttributeModificationException
javax_naming_directory_AttributeModificationException( ) { return new
javax.naming.directory.AttributeModificationException(); }
public void
javax_naming_directory_Attributes(javax.naming.directory.Attributes val ) {}
public javax.naming.directory.BasicAttribute
javax_naming_directory_BasicAttribute(String val0 ) { return new
javax.naming.directory.BasicAttribute( val0); }
public javax.naming.directory.BasicAttribute
javax_naming_directory_BasicAttribute(String val0, Object val1 ) { return
new javax.naming.directory.BasicAttribute( val0, val1); }
public javax.naming.directory.BasicAttribute
javax_naming_directory_BasicAttribute(String val0, boolean val1 ) { return
new javax.naming.directory.BasicAttribute( val0, val1); }
public javax.naming.directory.BasicAttribute
javax_naming_directory_BasicAttribute(String val0, Object val1, boolean
val2 ) { return new javax.naming.directory.BasicAttribute( val0, val1,
val2); }
public javax.naming.directory.BasicAttributes
javax_naming_directory_BasicAttributes(boolean val0 ) { return new
javax.naming.directory.BasicAttributes( val0); }
public javax.naming.directory.BasicAttributes
javax_naming_directory_BasicAttributes(String val0, Object val1 ) { return
new javax.naming.directory.BasicAttributes( val0, val1); }
public javax.naming.directory.BasicAttributes
javax_naming_directory_BasicAttributes(String val0, Object val1, boolean
val2 ) { return new javax.naming.directory.BasicAttributes( val0, val1,
val2); }
public javax.naming.directory.BasicAttributes
javax_naming_directory_BasicAttributes( ) { return new
javax.naming.directory.BasicAttributes(); }
public void
javax_naming_directory_DirContext(javax.naming.directory.DirContext val ) {}
public javax.naming.directory.InitialDirContext
javax_naming_directory_InitialDirContext( ) throws
javax.naming.NamingException { return new
javax.naming.directory.InitialDirContext(); }
public javax.naming.directory.InitialDirContext
javax_naming_directory_InitialDirContext(java.util.Hashtable val0 ) throws
javax.naming.NamingException { return new
javax.naming.directory.InitialDirContext( val0); }
public javax.naming.directory.InvalidAttributeIdentifierException
javax_naming_directory_InvalidAttributeIdentifierException(String val0 ) {
return new javax.naming.directory.InvalidAttributeIdentifierException(
val0); }
public javax.naming.directory.InvalidAttributeIdentifierException
javax_naming_directory_InvalidAttributeIdentifierException( ) { return new
javax.naming.directory.InvalidAttributeIdentifierException(); }
public javax.naming.directory.InvalidAttributeValueException
javax_naming_directory_InvalidAttributeValueException(String val0 ) { return
new javax.naming.directory.InvalidAttributeValueException( val0); }
public javax.naming.directory.InvalidAttributeValueException
javax_naming_directory_InvalidAttributeValueException( ) { return new
javax.naming.directory.InvalidAttributeValueException(); }
public javax.naming.directory.InvalidAttributesException
javax_naming_directory_InvalidAttributesException(String val0 ) { return new
javax.naming.directory.InvalidAttributesException( val0); }
public javax.naming.directory.InvalidAttributesException
javax_naming_directory_InvalidAttributesException( ) { return new
javax.naming.directory.InvalidAttributesException(); }
public javax.naming.directory.InvalidSearchControlsException
javax_naming_directory_InvalidSearchControlsException( ) { return new
javax.naming.directory.InvalidSearchControlsException(); }
public javax.naming.directory.InvalidSearchControlsException
javax_naming_directory_InvalidSearchControlsException(String val0 ) { return
new javax.naming.directory.InvalidSearchControlsException( val0); }
public javax.naming.directory.InvalidSearchFilterException
javax_naming_directory_InvalidSearchFilterException( ) { return new
javax.naming.directory.InvalidSearchFilterException(); }
public javax.naming.directory.InvalidSearchFilterException
javax_naming_directory_InvalidSearchFilterException(String val0 ) { return
new javax.naming.directory.InvalidSearchFilterException( val0); }
public javax.naming.directory.ModificationItem
javax_naming_directory_ModificationItem(int val0, Attribute val1 ) { return
new javax.naming.directory.ModificationItem( val0, val1); }
public javax.naming.directory.NoSuchAttributeException
javax_naming_directory_NoSuchAttributeException(String val0 ) { return new
javax.naming.directory.NoSuchAttributeException( val0); }
public javax.naming.directory.NoSuchAttributeException
javax_naming_directory_NoSuchAttributeException( ) { return new
javax.naming.directory.NoSuchAttributeException(); }
public javax.naming.directory.SchemaViolationException
javax_naming_directory_SchemaViolationException( ) { return new
javax.naming.directory.SchemaViolationException(); }
public javax.naming.directory.SchemaViolationException
javax_naming_directory_SchemaViolationException(String val0 ) { return new
javax.naming.directory.SchemaViolationException( val0); }
public javax.naming.directory.SearchControls
javax_naming_directory_SearchControls( ) { return new
javax.naming.directory.SearchControls(); }
public javax.naming.directory.SearchControls
javax_naming_directory_SearchControls(int val0, long val1, int val2,
String[] val3, boolean val4, boolean val5 ) { return new
javax.naming.directory.SearchControls( val0, val1, val2, val3, val4,
val5); }
public javax.naming.directory.SearchResult
javax_naming_directory_SearchResult(String val0, Object val1, Attributes
val2 ) { return new javax.naming.directory.SearchResult( val0, val1,
val2); }
public javax.naming.directory.SearchResult
javax_naming_directory_SearchResult(String val0, Object val1, Attributes
val2, boolean val3 ) { return new javax.naming.directory.SearchResult( val0,
val1, val2, val3); }
public javax.naming.directory.SearchResult
javax_naming_directory_SearchResult(String val0, String val1, Object val2,
Attributes val3 ) { return new javax.naming.directory.SearchResult( val0,
val1, val2, val3); }
public javax.naming.directory.SearchResult
javax_naming_directory_SearchResult(String val0, String val1, Object val2,
Attributes val3, boolean val4 ) { return new
javax.naming.directory.SearchResult( val0, val1, val2, val3, val4); }
public void javax_naming_event_EventContext(javax.naming.event.EventContext
val ) {}
public void
javax_naming_event_EventDirContext(javax.naming.event.EventDirContext val )
{}
public void
javax_naming_event_NamespaceChangeList(javax.naming.event.NamespaceChangeLis
tener val ) {}
public javax.naming.event.NamingEvent
javax_naming_event_NamingEvent(EventContext val0, int val1,
javax.naming.Binding val2, javax.naming.Binding val3, Object val4 ) { return
new javax.naming.event.NamingEvent( val0, val1, val2, val3, val4); }
public javax.naming.event.NamingExceptionEvent
javax_naming_event_NamingExceptionEvent(EventContext val0,
javax.naming.NamingException val1 ) { return new
javax.naming.event.NamingExceptionEvent( val0, val1); }
public void
javax_naming_event_NamingListener(javax.naming.event.NamingListener val ) {}
public void
javax_naming_event_ObjectChangeListene(javax.naming.event.ObjectChangeListen
er val ) {}
public void javax_naming_ldap_Control(javax.naming.ldap.Control val ) {}
public void
javax_naming_ldap_ControlFactory(javax.naming.ldap.ControlFactory val ) {}
public void
javax_naming_ldap_ExtendedRequest(javax.naming.ldap.ExtendedRequest val ) {}
public void
javax_naming_ldap_ExtendedResponse(javax.naming.ldap.ExtendedResponse val )
{}
public void javax_naming_ldap_HasControls(javax.naming.ldap.HasControls
val ) {}
public javax.naming.ldap.InitialLdapContext
javax_naming_ldap_InitialLdapContext( ) throws javax.naming.NamingException
{ return new javax.naming.ldap.InitialLdapContext(); }
public javax.naming.ldap.InitialLdapContext
javax_naming_ldap_InitialLdapContext(java.util.Hashtable val0, Control[]
val1 ) throws javax.naming.NamingException { return new
javax.naming.ldap.InitialLdapContext( val0, val1); }
public void javax_naming_ldap_LdapContext(javax.naming.ldap.LdapContext
val ) {}
public void
javax_naming_ldap_LdapReferralExceptio(javax.naming.ldap.LdapReferralExcepti
on val ) {}
public javax.naming.ldap.StartTlsRequest
javax_naming_ldap_StartTlsRequest( ) { return new
javax.naming.ldap.StartTlsRequest(); }
public void
javax_naming_ldap_StartTlsResponse(javax.naming.ldap.StartTlsResponse val )
{}
public void
javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotifica
tion val ) {}
public javax.naming.ldap.UnsolicitedNotificationEvent
javax_naming_ldap_UnsolicitedNotificationEvent(Object val0,
UnsolicitedNotification val1 ) { return new
javax.naming.ldap.UnsolicitedNotificationEvent( val0, val1); }
public void
javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotifica
tionListener val ) {}
public void
javax_naming_spi_DirObjectFactory(javax.naming.spi.DirObjectFactory val ) {}
public void
javax_naming_spi_DirStateFactory(javax.naming.spi.DirStateFactory val ) {}
public void
javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFactor
y val ) {}
public void
javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFactor
yBuilder val ) {}
public void javax_naming_spi_ObjectFactory(javax.naming.spi.ObjectFactory
val ) {}
public void
javax_naming_spi_ObjectFactoryBuilder(javax.naming.spi.ObjectFactoryBuilder
val ) {}
public javax.naming.spi.ResolveResult javax_naming_spi_ResolveResult(Object
val0, String val1 ) { return new javax.naming.spi.ResolveResult( val0,
val1); }
public javax.naming.spi.ResolveResult javax_naming_spi_ResolveResult(Object
val0, javax.naming.Name val1 ) { return new
javax.naming.spi.ResolveResult( val0, val1); }
public void javax_naming_spi_Resolver(javax.naming.spi.Resolver val ) {}
public void javax_naming_spi_StateFactory(javax.naming.spi.StateFactory
val ) {}
}

"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
news:401faa98.1824783@forums.sybase.com...
> Please e-mail me the files, I'm having some trouble detaching them in
> Free Agent.
>
> On 2 Feb 2004 16:09:22 -0800, joneil@sybase.com (Jim O'Neil [Sybase])
> wrote:
>
> >I don't see why this shouldn't be working then... can you send me your
> >EJB home and remote interface classes - and any dependent classes that
> >I wouldn't already have as part of the JDK.
> >
> >On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
> >
> >>javap worked fine. here is the output :
> >>D:\Program Files\Sybase\Shared\PowerBuilder>javap java.nio.channels.Pipe
> >>Compiled from "Pipe.java"
> >>public abstract class java.nio.channels.Pipe extends java.lang.Object{
> >> protected java.nio.channels.Pipe();
> >> public static java.nio.channels.Pipe open();
> >> throws java/io/IOException
> >> public abstract java.nio.channels.Pipe$SinkChannel sink();
> >> public abstract java.nio.channels.Pipe$SourceChannel source();
> >>}
> >>
> >>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> >>news:401ecd3b.31551168@forums.sybase.com...
> >>> Do you get any error when running
> >>>
> >>> javap java.nio.channels.Pipe
> >>>
> >>> That's what PB is doing under the covers. I recall a similar issue
> >>> where for some reason javap could not handle some of the newer
> >>> classes.
> >>>
> >>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
> >>>
> >>> >Hi,
> >>> >I am getting the following error message, while trying to generate
> >>proxies
> >>> >around javax.naming classes.
> >>> >"Bad Java class name: java.nio.channels.Pipe."
> >>> > This class definitely exists in JRE that is installed on my machine.
It
> >>> >exists also in jre that was supplied with PB 9 installation.
> >>> >Could anyone please explain what could be wrong in this case.
> >>> >
> >>> >Thanks
> >>> >Vlad
> >>> >
> >>> >
> >>>
> >>> Jim O'Neil
> >>> Principal Technical Support Engineer
> >>> Sybase, Inc.
> >>> Concord, MA
> >>
> >>
> >
> >Jim O'Neil
> >Principal Technical Support Engineer
> >Sybase, Inc.
> >Concord, MA
>
> Jim O'Neil
> Principal Technical Support Engineer
> Sybase, Inc.
> Concord, MA


Jim O'Neil [Sybase] Posted on 2004-02-03 18:32:55.0Z
From: joneil@sybase.com (Jim O'Neil [Sybase])
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: ejb proxy generation error: Bad Java class name
Organization: Sybase Technical Support
Reply-To: joneil_REMOVETHISPART@sybase.com
Message-ID: <401fe40f.16534895@forums.sybase.com>
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub> <401ee27f.36994665@forums.sybase.com> <401faa98.1824783@forums.sybase.com> <401fd0fd@forums-1-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
X-Original-NNTP-Posting-Host: joneilpc.sybase.com
X-Original-Trace: 3 Feb 2004 10:43:23 -0800, joneilpc.sybase.com
Lines: 544
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 3 Feb 2004 10:15:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 3 Feb 2004 10:32:55 -0800
X-Trace: forums-1-dub 1075833175 10.22.108.75 (3 Feb 2004 10:32:55 -0800)
X-Original-Trace: 3 Feb 2004 10:32:55 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:244
Article PK: 424427

Well, the problem occurs because of the output of javap... look
closely at the fifth line below.... there is a space between "Pipe."
and "SinkChannel" which is throwing off the PB parser. I suspect this
is a bug in javap, but I'm not really sure how you might be able to
get around it other than 'mocking' up this same class in a Java class
of your own. If you are not planning to use this class directly in
your app, the 'fake' proxy for it could be an empty class.

This might require putting your class in the BOOTCLASSPATH so when
javap runs on java.nio.channels.Pipe it picks up your version and not
the one in rt.jar.

I have seen this happen before with javap output and I am not sure
whether or not a patch is available from Sun.

C:\sandbox>javap java.nio.channels.Pipe
Compiled from Pipe.java
public abstract class java.nio.channels.Pipe extends java.lang.Object
{
protected java.nio.channels.Pipe();
public abstract java.nio.channels.Pipe.SourceChannel source();
public abstract java.nio.channels.Pipe.SinkChannel sink();
public static java.nio.channels.Pipe open() throws
java.io.IOException;
public abstract static class java.nio.channels.Pipe. SinkChannel
extends java.nio.channels.spi.AbstractSelectableChannel implements
java.nio.channels.WritableByteChannel,
java.nio.channels.GatheringByteChannel
/* ACC_SUPER bit NOT set */
{
protected
java.nio.channels.Pipe.SinkChannel(java.nio.channels.spi.Selec
torProvider);
public final int validOps();
}
public abstract static class java.nio.channels.Pipe. SourceChannel
extends j
ava.nio.channels.spi.AbstractSelectableChannel implements
java.nio.channels.Read
ableByteChannel, java.nio.channels.ScatteringByteChannel
/* ACC_SUPER bit NOT set */
{
protected
java.nio.channels.Pipe.SourceChannel(java.nio.channels.spi.Sel
ectorProvider);
public final int validOps();
}
}

On 3 Feb 2004 08:49:01 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:

>Sorry, here it is:
>
>public class PB_javax_namingHome {
>}
>
>
>
>import javax.naming.*;
>import javax.naming.directory.*;
>import javax.naming.event.*;
>import javax.naming.ldap.*;
>import javax.naming.spi.*;
>
>public class PB_javax_naming {
> public javax.naming.AuthenticationException
>javax_naming_AuthenticationException(String val0 ) { return new
>javax.naming.AuthenticationException( val0); }
> public javax.naming.AuthenticationException
>javax_naming_AuthenticationException( ) { return new
>javax.naming.AuthenticationException(); }
> public javax.naming.AuthenticationNotSupportedException
>javax_naming_AuthenticationNotSupportedException(String val0 ) { return new
>javax.naming.AuthenticationNotSupportedException( val0); }
> public javax.naming.AuthenticationNotSupportedException
>javax_naming_AuthenticationNotSupportedException( ) { return new
>javax.naming.AuthenticationNotSupportedException(); }
> public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String val0,
>byte[] val1, int val2, int val3 ) { return new javax.naming.BinaryRefAddr(
>val0, val1, val2, val3); }
> public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String val0,
>byte[] val1 ) { return new javax.naming.BinaryRefAddr( val0, val1); }
> public javax.naming.Binding javax_naming_Binding(String val0, Object val1,
>boolean val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> public javax.naming.Binding javax_naming_Binding(String val0, String val1,
>Object val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> public javax.naming.Binding javax_naming_Binding(String val0, String val1,
>Object val2, boolean val3 ) { return new javax.naming.Binding( val0, val1,
>val2, val3); }
> public javax.naming.Binding javax_naming_Binding(String val0, Object val1 )
>{ return new javax.naming.Binding( val0, val1); }
> public javax.naming.CannotProceedException
>javax_naming_CannotProceedException(String val0 ) { return new
>javax.naming.CannotProceedException( val0); }
> public javax.naming.CannotProceedException
>javax_naming_CannotProceedException( ) { return new
>javax.naming.CannotProceedException(); }
> public javax.naming.CommunicationException
>javax_naming_CommunicationException(String val0 ) { return new
>javax.naming.CommunicationException( val0); }
> public javax.naming.CommunicationException
>javax_naming_CommunicationException( ) { return new
>javax.naming.CommunicationException(); }
> public javax.naming.CompositeName javax_naming_CompositeName(String val0 )
>throws InvalidNameException { return new javax.naming.CompositeName(
>val0); }
> public javax.naming.CompositeName javax_naming_CompositeName( ) { return
>new javax.naming.CompositeName(); }
> public javax.naming.CompoundName javax_naming_CompoundName(String val0,
>java.util.Properties val1 ) throws InvalidNameException { return new
>javax.naming.CompoundName( val0, val1); }
> public javax.naming.ConfigurationException
>javax_naming_ConfigurationException(String val0 ) { return new
>javax.naming.ConfigurationException( val0); }
> public javax.naming.ConfigurationException
>javax_naming_ConfigurationException( ) { return new
>javax.naming.ConfigurationException(); }
> public void javax_naming_Context(javax.naming.Context val ) {}
> public javax.naming.ContextNotEmptyException
>javax_naming_ContextNotEmptyException(String val0 ) { return new
>javax.naming.ContextNotEmptyException( val0); }
> public javax.naming.ContextNotEmptyException
>javax_naming_ContextNotEmptyException( ) { return new
>javax.naming.ContextNotEmptyException(); }
> public javax.naming.InitialContext javax_naming_InitialContext( ) throws
>NamingException { return new javax.naming.InitialContext(); }
> public javax.naming.InitialContext
>javax_naming_InitialContext(java.util.Hashtable val0 ) throws
>NamingException { return new javax.naming.InitialContext( val0); }
> public javax.naming.InsufficientResourcesException
>javax_naming_InsufficientResourcesException(String val0 ) { return new
>javax.naming.InsufficientResourcesException( val0); }
> public javax.naming.InsufficientResourcesException
>javax_naming_InsufficientResourcesException( ) { return new
>javax.naming.InsufficientResourcesException(); }
> public javax.naming.InterruptedNamingException
>javax_naming_InterruptedNamingException(String val0 ) { return new
>javax.naming.InterruptedNamingException( val0); }
> public javax.naming.InterruptedNamingException
>javax_naming_InterruptedNamingException( ) { return new
>javax.naming.InterruptedNamingException(); }
> public javax.naming.InvalidNameException
>javax_naming_InvalidNameException(String val0 ) { return new
>javax.naming.InvalidNameException( val0); }
> public javax.naming.InvalidNameException
>javax_naming_InvalidNameException( ) { return new
>javax.naming.InvalidNameException(); }
> public javax.naming.LimitExceededException
>javax_naming_LimitExceededException( ) { return new
>javax.naming.LimitExceededException(); }
> public javax.naming.LimitExceededException
>javax_naming_LimitExceededException(String val0 ) { return new
>javax.naming.LimitExceededException( val0); }
> public javax.naming.LinkException javax_naming_LinkException(String val0 )
>{ return new javax.naming.LinkException( val0); }
> public javax.naming.LinkException javax_naming_LinkException( ) { return
>new javax.naming.LinkException(); }
> public javax.naming.LinkLoopException javax_naming_LinkLoopException(String
>val0 ) { return new javax.naming.LinkLoopException( val0); }
> public javax.naming.LinkLoopException javax_naming_LinkLoopException( ) {
>return new javax.naming.LinkLoopException(); }
> public javax.naming.LinkRef javax_naming_LinkRef(Name val0 ) { return new
>javax.naming.LinkRef( val0); }
> public javax.naming.LinkRef javax_naming_LinkRef(String val0 ) { return new
>javax.naming.LinkRef( val0); }
> public javax.naming.MalformedLinkException
>javax_naming_MalformedLinkException(String val0 ) { return new
>javax.naming.MalformedLinkException( val0); }
> public javax.naming.MalformedLinkException
>javax_naming_MalformedLinkException( ) { return new
>javax.naming.MalformedLinkException(); }
> public void javax_naming_Name(javax.naming.Name val ) {}
> public javax.naming.NameAlreadyBoundException
>javax_naming_NameAlreadyBoundException(String val0 ) { return new
>javax.naming.NameAlreadyBoundException( val0); }
> public javax.naming.NameAlreadyBoundException
>javax_naming_NameAlreadyBoundException( ) { return new
>javax.naming.NameAlreadyBoundException(); }
> public javax.naming.NameClassPair javax_naming_NameClassPair(String val0,
>String val1 ) { return new javax.naming.NameClassPair( val0, val1); }
> public javax.naming.NameClassPair javax_naming_NameClassPair(String val0,
>String val1, boolean val2 ) { return new javax.naming.NameClassPair( val0,
>val1, val2); }
> public javax.naming.NameNotFoundException
>javax_naming_NameNotFoundException(String val0 ) { return new
>javax.naming.NameNotFoundException( val0); }
> public javax.naming.NameNotFoundException
>javax_naming_NameNotFoundException( ) { return new
>javax.naming.NameNotFoundException(); }
> public void javax_naming_NameParser(javax.naming.NameParser val ) {}
> public void javax_naming_NamingEnumeration(javax.naming.NamingEnumeration
>val ) {}
> public javax.naming.NamingException javax_naming_NamingException(String
>val0 ) { return new javax.naming.NamingException( val0); }
> public javax.naming.NamingException javax_naming_NamingException( ) {
>return new javax.naming.NamingException(); }
> public void
>javax_naming_NamingSecurityException(javax.naming.NamingSecurityException
>val ) {}
> public javax.naming.NoInitialContextException
>javax_naming_NoInitialContextException( ) { return new
>javax.naming.NoInitialContextException(); }
> public javax.naming.NoInitialContextException
>javax_naming_NoInitialContextException(String val0 ) { return new
>javax.naming.NoInitialContextException( val0); }
> public javax.naming.NoPermissionException
>javax_naming_NoPermissionException(String val0 ) { return new
>javax.naming.NoPermissionException( val0); }
> public javax.naming.NoPermissionException
>javax_naming_NoPermissionException( ) { return new
>javax.naming.NoPermissionException(); }
> public javax.naming.NotContextException
>javax_naming_NotContextException(String val0 ) { return new
>javax.naming.NotContextException( val0); }
> public javax.naming.NotContextException javax_naming_NotContextException( )
>{ return new javax.naming.NotContextException(); }
> public javax.naming.OperationNotSupportedException
>javax_naming_OperationNotSupportedException( ) { return new
>javax.naming.OperationNotSupportedException(); }
> public javax.naming.OperationNotSupportedException
>javax_naming_OperationNotSupportedException(String val0 ) { return new
>javax.naming.OperationNotSupportedException( val0); }
> public javax.naming.PartialResultException
>javax_naming_PartialResultException(String val0 ) { return new
>javax.naming.PartialResultException( val0); }
> public javax.naming.PartialResultException
>javax_naming_PartialResultException( ) { return new
>javax.naming.PartialResultException(); }
> public void javax_naming_RefAddr(javax.naming.RefAddr val ) {}
> public javax.naming.Reference javax_naming_Reference(String val0, RefAddr
>val1 ) { return new javax.naming.Reference( val0, val1); }
> public javax.naming.Reference javax_naming_Reference(String val0, String
>val1, String val2 ) { return new javax.naming.Reference( val0, val1,
>val2); }
> public javax.naming.Reference javax_naming_Reference(String val0, RefAddr
>val1, String val2, String val3 ) { return new javax.naming.Reference( val0,
>val1, val2, val3); }
> public javax.naming.Reference javax_naming_Reference(String val0 ) { return
>new javax.naming.Reference( val0); }
> public void javax_naming_Referenceable(javax.naming.Referenceable val ) {}
> public void javax_naming_ReferralException(javax.naming.ReferralException
>val ) {}
> public javax.naming.ServiceUnavailableException
>javax_naming_ServiceUnavailableException(String val0 ) { return new
>javax.naming.ServiceUnavailableException( val0); }
> public javax.naming.ServiceUnavailableException
>javax_naming_ServiceUnavailableException( ) { return new
>javax.naming.ServiceUnavailableException(); }
> public javax.naming.SizeLimitExceededException
>javax_naming_SizeLimitExceededException( ) { return new
>javax.naming.SizeLimitExceededException(); }
> public javax.naming.SizeLimitExceededException
>javax_naming_SizeLimitExceededException(String val0 ) { return new
>javax.naming.SizeLimitExceededException( val0); }
> public javax.naming.StringRefAddr javax_naming_StringRefAddr(String val0,
>String val1 ) { return new javax.naming.StringRefAddr( val0, val1); }
> public javax.naming.TimeLimitExceededException
>javax_naming_TimeLimitExceededException( ) { return new
>javax.naming.TimeLimitExceededException(); }
> public javax.naming.TimeLimitExceededException
>javax_naming_TimeLimitExceededException(String val0 ) { return new
>javax.naming.TimeLimitExceededException( val0); }
> public void
>javax_naming_directory_Attribute(javax.naming.directory.Attribute val ) {}
> public javax.naming.directory.AttributeInUseException
>javax_naming_directory_AttributeInUseException(String val0 ) { return new
>javax.naming.directory.AttributeInUseException( val0); }
> public javax.naming.directory.AttributeInUseException
>javax_naming_directory_AttributeInUseException( ) { return new
>javax.naming.directory.AttributeInUseException(); }
> public javax.naming.directory.AttributeModificationException
>javax_naming_directory_AttributeModificationException(String val0 ) { return
>new javax.naming.directory.AttributeModificationException( val0); }
> public javax.naming.directory.AttributeModificationException
>javax_naming_directory_AttributeModificationException( ) { return new
>javax.naming.directory.AttributeModificationException(); }
> public void
>javax_naming_directory_Attributes(javax.naming.directory.Attributes val ) {}
> public javax.naming.directory.BasicAttribute
>javax_naming_directory_BasicAttribute(String val0 ) { return new
>javax.naming.directory.BasicAttribute( val0); }
> public javax.naming.directory.BasicAttribute
>javax_naming_directory_BasicAttribute(String val0, Object val1 ) { return
>new javax.naming.directory.BasicAttribute( val0, val1); }
> public javax.naming.directory.BasicAttribute
>javax_naming_directory_BasicAttribute(String val0, boolean val1 ) { return
>new javax.naming.directory.BasicAttribute( val0, val1); }
> public javax.naming.directory.BasicAttribute
>javax_naming_directory_BasicAttribute(String val0, Object val1, boolean
>val2 ) { return new javax.naming.directory.BasicAttribute( val0, val1,
>val2); }
> public javax.naming.directory.BasicAttributes
>javax_naming_directory_BasicAttributes(boolean val0 ) { return new
>javax.naming.directory.BasicAttributes( val0); }
> public javax.naming.directory.BasicAttributes
>javax_naming_directory_BasicAttributes(String val0, Object val1 ) { return
>new javax.naming.directory.BasicAttributes( val0, val1); }
> public javax.naming.directory.BasicAttributes
>javax_naming_directory_BasicAttributes(String val0, Object val1, boolean
>val2 ) { return new javax.naming.directory.BasicAttributes( val0, val1,
>val2); }
> public javax.naming.directory.BasicAttributes
>javax_naming_directory_BasicAttributes( ) { return new
>javax.naming.directory.BasicAttributes(); }
> public void
>javax_naming_directory_DirContext(javax.naming.directory.DirContext val ) {}
> public javax.naming.directory.InitialDirContext
>javax_naming_directory_InitialDirContext( ) throws
>javax.naming.NamingException { return new
>javax.naming.directory.InitialDirContext(); }
> public javax.naming.directory.InitialDirContext
>javax_naming_directory_InitialDirContext(java.util.Hashtable val0 ) throws
>javax.naming.NamingException { return new
>javax.naming.directory.InitialDirContext( val0); }
> public javax.naming.directory.InvalidAttributeIdentifierException
>javax_naming_directory_InvalidAttributeIdentifierException(String val0 ) {
>return new javax.naming.directory.InvalidAttributeIdentifierException(
>val0); }
> public javax.naming.directory.InvalidAttributeIdentifierException
>javax_naming_directory_InvalidAttributeIdentifierException( ) { return new
>javax.naming.directory.InvalidAttributeIdentifierException(); }
> public javax.naming.directory.InvalidAttributeValueException
>javax_naming_directory_InvalidAttributeValueException(String val0 ) { return
>new javax.naming.directory.InvalidAttributeValueException( val0); }
> public javax.naming.directory.InvalidAttributeValueException
>javax_naming_directory_InvalidAttributeValueException( ) { return new
>javax.naming.directory.InvalidAttributeValueException(); }
> public javax.naming.directory.InvalidAttributesException
>javax_naming_directory_InvalidAttributesException(String val0 ) { return new
>javax.naming.directory.InvalidAttributesException( val0); }
> public javax.naming.directory.InvalidAttributesException
>javax_naming_directory_InvalidAttributesException( ) { return new
>javax.naming.directory.InvalidAttributesException(); }
> public javax.naming.directory.InvalidSearchControlsException
>javax_naming_directory_InvalidSearchControlsException( ) { return new
>javax.naming.directory.InvalidSearchControlsException(); }
> public javax.naming.directory.InvalidSearchControlsException
>javax_naming_directory_InvalidSearchControlsException(String val0 ) { return
>new javax.naming.directory.InvalidSearchControlsException( val0); }
> public javax.naming.directory.InvalidSearchFilterException
>javax_naming_directory_InvalidSearchFilterException( ) { return new
>javax.naming.directory.InvalidSearchFilterException(); }
> public javax.naming.directory.InvalidSearchFilterException
>javax_naming_directory_InvalidSearchFilterException(String val0 ) { return
>new javax.naming.directory.InvalidSearchFilterException( val0); }
> public javax.naming.directory.ModificationItem
>javax_naming_directory_ModificationItem(int val0, Attribute val1 ) { return
>new javax.naming.directory.ModificationItem( val0, val1); }
> public javax.naming.directory.NoSuchAttributeException
>javax_naming_directory_NoSuchAttributeException(String val0 ) { return new
>javax.naming.directory.NoSuchAttributeException( val0); }
> public javax.naming.directory.NoSuchAttributeException
>javax_naming_directory_NoSuchAttributeException( ) { return new
>javax.naming.directory.NoSuchAttributeException(); }
> public javax.naming.directory.SchemaViolationException
>javax_naming_directory_SchemaViolationException( ) { return new
>javax.naming.directory.SchemaViolationException(); }
> public javax.naming.directory.SchemaViolationException
>javax_naming_directory_SchemaViolationException(String val0 ) { return new
>javax.naming.directory.SchemaViolationException( val0); }
> public javax.naming.directory.SearchControls
>javax_naming_directory_SearchControls( ) { return new
>javax.naming.directory.SearchControls(); }
> public javax.naming.directory.SearchControls
>javax_naming_directory_SearchControls(int val0, long val1, int val2,
>String[] val3, boolean val4, boolean val5 ) { return new
>javax.naming.directory.SearchControls( val0, val1, val2, val3, val4,
>val5); }
> public javax.naming.directory.SearchResult
>javax_naming_directory_SearchResult(String val0, Object val1, Attributes
>val2 ) { return new javax.naming.directory.SearchResult( val0, val1,
>val2); }
> public javax.naming.directory.SearchResult
>javax_naming_directory_SearchResult(String val0, Object val1, Attributes
>val2, boolean val3 ) { return new javax.naming.directory.SearchResult( val0,
>val1, val2, val3); }
> public javax.naming.directory.SearchResult
>javax_naming_directory_SearchResult(String val0, String val1, Object val2,
>Attributes val3 ) { return new javax.naming.directory.SearchResult( val0,
>val1, val2, val3); }
> public javax.naming.directory.SearchResult
>javax_naming_directory_SearchResult(String val0, String val1, Object val2,
>Attributes val3, boolean val4 ) { return new
>javax.naming.directory.SearchResult( val0, val1, val2, val3, val4); }
> public void javax_naming_event_EventContext(javax.naming.event.EventContext
>val ) {}
> public void
>javax_naming_event_EventDirContext(javax.naming.event.EventDirContext val )
>{}
> public void
>javax_naming_event_NamespaceChangeList(javax.naming.event.NamespaceChangeLis
>tener val ) {}
> public javax.naming.event.NamingEvent
>javax_naming_event_NamingEvent(EventContext val0, int val1,
>javax.naming.Binding val2, javax.naming.Binding val3, Object val4 ) { return
>new javax.naming.event.NamingEvent( val0, val1, val2, val3, val4); }
> public javax.naming.event.NamingExceptionEvent
>javax_naming_event_NamingExceptionEvent(EventContext val0,
>javax.naming.NamingException val1 ) { return new
>javax.naming.event.NamingExceptionEvent( val0, val1); }
> public void
>javax_naming_event_NamingListener(javax.naming.event.NamingListener val ) {}
> public void
>javax_naming_event_ObjectChangeListene(javax.naming.event.ObjectChangeListen
>er val ) {}
> public void javax_naming_ldap_Control(javax.naming.ldap.Control val ) {}
> public void
>javax_naming_ldap_ControlFactory(javax.naming.ldap.ControlFactory val ) {}
> public void
>javax_naming_ldap_ExtendedRequest(javax.naming.ldap.ExtendedRequest val ) {}
> public void
>javax_naming_ldap_ExtendedResponse(javax.naming.ldap.ExtendedResponse val )
>{}
> public void javax_naming_ldap_HasControls(javax.naming.ldap.HasControls
>val ) {}
> public javax.naming.ldap.InitialLdapContext
>javax_naming_ldap_InitialLdapContext( ) throws javax.naming.NamingException
>{ return new javax.naming.ldap.InitialLdapContext(); }
> public javax.naming.ldap.InitialLdapContext
>javax_naming_ldap_InitialLdapContext(java.util.Hashtable val0, Control[]
>val1 ) throws javax.naming.NamingException { return new
>javax.naming.ldap.InitialLdapContext( val0, val1); }
> public void javax_naming_ldap_LdapContext(javax.naming.ldap.LdapContext
>val ) {}
> public void
>javax_naming_ldap_LdapReferralExceptio(javax.naming.ldap.LdapReferralExcepti
>on val ) {}
> public javax.naming.ldap.StartTlsRequest
>javax_naming_ldap_StartTlsRequest( ) { return new
>javax.naming.ldap.StartTlsRequest(); }
> public void
>javax_naming_ldap_StartTlsResponse(javax.naming.ldap.StartTlsResponse val )
>{}
> public void
>javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotifica
>tion val ) {}
> public javax.naming.ldap.UnsolicitedNotificationEvent
>javax_naming_ldap_UnsolicitedNotificationEvent(Object val0,
>UnsolicitedNotification val1 ) { return new
>javax.naming.ldap.UnsolicitedNotificationEvent( val0, val1); }
> public void
>javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotifica
>tionListener val ) {}
> public void
>javax_naming_spi_DirObjectFactory(javax.naming.spi.DirObjectFactory val ) {}
> public void
>javax_naming_spi_DirStateFactory(javax.naming.spi.DirStateFactory val ) {}
> public void
>javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFactor
>y val ) {}
> public void
>javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFactor
>yBuilder val ) {}
> public void javax_naming_spi_ObjectFactory(javax.naming.spi.ObjectFactory
>val ) {}
> public void
>javax_naming_spi_ObjectFactoryBuilder(javax.naming.spi.ObjectFactoryBuilder
>val ) {}
> public javax.naming.spi.ResolveResult javax_naming_spi_ResolveResult(Object
>val0, String val1 ) { return new javax.naming.spi.ResolveResult( val0,
>val1); }
> public javax.naming.spi.ResolveResult javax_naming_spi_ResolveResult(Object
>val0, javax.naming.Name val1 ) { return new
>javax.naming.spi.ResolveResult( val0, val1); }
> public void javax_naming_spi_Resolver(javax.naming.spi.Resolver val ) {}
> public void javax_naming_spi_StateFactory(javax.naming.spi.StateFactory
>val ) {}
>}
>
>
>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
>news:401faa98.1824783@forums.sybase.com...
>> Please e-mail me the files, I'm having some trouble detaching them in
>> Free Agent.
>>
>> On 2 Feb 2004 16:09:22 -0800, joneil@sybase.com (Jim O'Neil [Sybase])
>> wrote:
>>
>> >I don't see why this shouldn't be working then... can you send me your
>> >EJB home and remote interface classes - and any dependent classes that
>> >I wouldn't already have as part of the JDK.
>> >
>> >On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>> >
>> >>javap worked fine. here is the output :
>> >>D:\Program Files\Sybase\Shared\PowerBuilder>javap java.nio.channels.Pipe
>> >>Compiled from "Pipe.java"
>> >>public abstract class java.nio.channels.Pipe extends java.lang.Object{
>> >> protected java.nio.channels.Pipe();
>> >> public static java.nio.channels.Pipe open();
>> >> throws java/io/IOException
>> >> public abstract java.nio.channels.Pipe$SinkChannel sink();
>> >> public abstract java.nio.channels.Pipe$SourceChannel source();
>> >>}
>> >>
>> >>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
>> >>news:401ecd3b.31551168@forums.sybase.com...
>> >>> Do you get any error when running
>> >>>
>> >>> javap java.nio.channels.Pipe
>> >>>
>> >>> That's what PB is doing under the covers. I recall a similar issue
>> >>> where for some reason javap could not handle some of the newer
>> >>> classes.
>> >>>
>> >>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>> >>>
>> >>> >Hi,
>> >>> >I am getting the following error message, while trying to generate
>> >>proxies
>> >>> >around javax.naming classes.
>> >>> >"Bad Java class name: java.nio.channels.Pipe."
>> >>> > This class definitely exists in JRE that is installed on my machine.
>It
>> >>> >exists also in jre that was supplied with PB 9 installation.
>> >>> >Could anyone please explain what could be wrong in this case.
>> >>> >
>> >>> >Thanks
>> >>> >Vlad
>> >>> >
>> >>> >
>> >>>
>> >>> Jim O'Neil
>> >>> Principal Technical Support Engineer
>> >>> Sybase, Inc.
>> >>> Concord, MA
>> >>
>> >>
>> >
>> >Jim O'Neil
>> >Principal Technical Support Engineer
>> >Sybase, Inc.
>> >Concord, MA
>>
>> Jim O'Neil
>> Principal Technical Support Engineer
>> Sybase, Inc.
>> Concord, MA
>
>

Jim O'Neil
Principal Technical Support Engineer
Sybase, Inc.
Concord, MA


Vlad Zlotskiy Posted on 2004-02-03 19:03:56.0Z
From: "Vlad Zlotskiy" <vladz@imsi.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub> <401ee27f.36994665@forums.sybase.com> <401faa98.1824783@forums.sybase.com> <401fd0fd@forums-1-dub> <401fe40f.16534895@forums.sybase.com>
Subject: Re: ejb proxy generation error: Bad Java class name
Lines: 629
Organization: IMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: exit.imsi.com
X-Original-NNTP-Posting-Host: exit.imsi.com
Message-ID: <401ff09c$1@forums-1-dub>
Date: 3 Feb 2004 11:03:56 -0800
X-Trace: forums-1-dub 1075835036 199.253.174.9 (3 Feb 2004 11:03:56 -0800)
X-Original-Trace: 3 Feb 2004 11:03:56 -0800, exit.imsi.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:245
Article PK: 424428

Good catch , Thank you Jim, I'll use a dummy class to bypass this problem

"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
news:401fe40f.16534895@forums.sybase.com...
> Well, the problem occurs because of the output of javap... look
> closely at the fifth line below.... there is a space between "Pipe."
> and "SinkChannel" which is throwing off the PB parser. I suspect this
> is a bug in javap, but I'm not really sure how you might be able to
> get around it other than 'mocking' up this same class in a Java class
> of your own. If you are not planning to use this class directly in
> your app, the 'fake' proxy for it could be an empty class.
>
> This might require putting your class in the BOOTCLASSPATH so when
> javap runs on java.nio.channels.Pipe it picks up your version and not
> the one in rt.jar.
>
> I have seen this happen before with javap output and I am not sure
> whether or not a patch is available from Sun.
>
> C:\sandbox>javap java.nio.channels.Pipe
> Compiled from Pipe.java
> public abstract class java.nio.channels.Pipe extends java.lang.Object
> {
> protected java.nio.channels.Pipe();
> public abstract java.nio.channels.Pipe.SourceChannel source();
> public abstract java.nio.channels.Pipe.SinkChannel sink();
> public static java.nio.channels.Pipe open() throws
> java.io.IOException;
> public abstract static class java.nio.channels.Pipe. SinkChannel
> extends java.nio.channels.spi.AbstractSelectableChannel implements
> java.nio.channels.WritableByteChannel,
> java.nio.channels.GatheringByteChannel
> /* ACC_SUPER bit NOT set */
> {
> protected
> java.nio.channels.Pipe.SinkChannel(java.nio.channels.spi.Selec
> torProvider);
> public final int validOps();
> }
> public abstract static class java.nio.channels.Pipe. SourceChannel
> extends j
> ava.nio.channels.spi.AbstractSelectableChannel implements
> java.nio.channels.Read
> ableByteChannel, java.nio.channels.ScatteringByteChannel
> /* ACC_SUPER bit NOT set */
> {
> protected
> java.nio.channels.Pipe.SourceChannel(java.nio.channels.spi.Sel
> ectorProvider);
> public final int validOps();
> }
> }
> On 3 Feb 2004 08:49:01 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
>
> >Sorry, here it is:
> >
> >public class PB_javax_namingHome {
> >}
> >
> >
> >
> >import javax.naming.*;
> >import javax.naming.directory.*;
> >import javax.naming.event.*;
> >import javax.naming.ldap.*;
> >import javax.naming.spi.*;
> >
> >public class PB_javax_naming {
> > public javax.naming.AuthenticationException
> >javax_naming_AuthenticationException(String val0 ) { return new
> >javax.naming.AuthenticationException( val0); }
> > public javax.naming.AuthenticationException
> >javax_naming_AuthenticationException( ) { return new
> >javax.naming.AuthenticationException(); }
> > public javax.naming.AuthenticationNotSupportedException
> >javax_naming_AuthenticationNotSupportedException(String val0 ) { return
new
> >javax.naming.AuthenticationNotSupportedException( val0); }
> > public javax.naming.AuthenticationNotSupportedException
> >javax_naming_AuthenticationNotSupportedException( ) { return new
> >javax.naming.AuthenticationNotSupportedException(); }
> > public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String
val0,
> >byte[] val1, int val2, int val3 ) { return new
javax.naming.BinaryRefAddr(
> >val0, val1, val2, val3); }
> > public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String
val0,
> >byte[] val1 ) { return new javax.naming.BinaryRefAddr( val0, val1); }
> > public javax.naming.Binding javax_naming_Binding(String val0, Object
val1,
> >boolean val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> > public javax.naming.Binding javax_naming_Binding(String val0, String
val1,
> >Object val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> > public javax.naming.Binding javax_naming_Binding(String val0, String
val1,
> >Object val2, boolean val3 ) { return new javax.naming.Binding( val0,
val1,
> >val2, val3); }
> > public javax.naming.Binding javax_naming_Binding(String val0, Object
val1 )
> >{ return new javax.naming.Binding( val0, val1); }
> > public javax.naming.CannotProceedException
> >javax_naming_CannotProceedException(String val0 ) { return new
> >javax.naming.CannotProceedException( val0); }
> > public javax.naming.CannotProceedException
> >javax_naming_CannotProceedException( ) { return new
> >javax.naming.CannotProceedException(); }
> > public javax.naming.CommunicationException
> >javax_naming_CommunicationException(String val0 ) { return new
> >javax.naming.CommunicationException( val0); }
> > public javax.naming.CommunicationException
> >javax_naming_CommunicationException( ) { return new
> >javax.naming.CommunicationException(); }
> > public javax.naming.CompositeName javax_naming_CompositeName(String
val0 )
> >throws InvalidNameException { return new javax.naming.CompositeName(
> >val0); }
> > public javax.naming.CompositeName javax_naming_CompositeName( ) { return
> >new javax.naming.CompositeName(); }
> > public javax.naming.CompoundName javax_naming_CompoundName(String val0,
> >java.util.Properties val1 ) throws InvalidNameException { return new
> >javax.naming.CompoundName( val0, val1); }
> > public javax.naming.ConfigurationException
> >javax_naming_ConfigurationException(String val0 ) { return new
> >javax.naming.ConfigurationException( val0); }
> > public javax.naming.ConfigurationException
> >javax_naming_ConfigurationException( ) { return new
> >javax.naming.ConfigurationException(); }
> > public void javax_naming_Context(javax.naming.Context val ) {}
> > public javax.naming.ContextNotEmptyException
> >javax_naming_ContextNotEmptyException(String val0 ) { return new
> >javax.naming.ContextNotEmptyException( val0); }
> > public javax.naming.ContextNotEmptyException
> >javax_naming_ContextNotEmptyException( ) { return new
> >javax.naming.ContextNotEmptyException(); }
> > public javax.naming.InitialContext javax_naming_InitialContext( ) throws
> >NamingException { return new javax.naming.InitialContext(); }
> > public javax.naming.InitialContext
> >javax_naming_InitialContext(java.util.Hashtable val0 ) throws
> >NamingException { return new javax.naming.InitialContext( val0); }
> > public javax.naming.InsufficientResourcesException
> >javax_naming_InsufficientResourcesException(String val0 ) { return new
> >javax.naming.InsufficientResourcesException( val0); }
> > public javax.naming.InsufficientResourcesException
> >javax_naming_InsufficientResourcesException( ) { return new
> >javax.naming.InsufficientResourcesException(); }
> > public javax.naming.InterruptedNamingException
> >javax_naming_InterruptedNamingException(String val0 ) { return new
> >javax.naming.InterruptedNamingException( val0); }
> > public javax.naming.InterruptedNamingException
> >javax_naming_InterruptedNamingException( ) { return new
> >javax.naming.InterruptedNamingException(); }
> > public javax.naming.InvalidNameException
> >javax_naming_InvalidNameException(String val0 ) { return new
> >javax.naming.InvalidNameException( val0); }
> > public javax.naming.InvalidNameException
> >javax_naming_InvalidNameException( ) { return new
> >javax.naming.InvalidNameException(); }
> > public javax.naming.LimitExceededException
> >javax_naming_LimitExceededException( ) { return new
> >javax.naming.LimitExceededException(); }
> > public javax.naming.LimitExceededException
> >javax_naming_LimitExceededException(String val0 ) { return new
> >javax.naming.LimitExceededException( val0); }
> > public javax.naming.LinkException javax_naming_LinkException(String
val0 )
> >{ return new javax.naming.LinkException( val0); }
> > public javax.naming.LinkException javax_naming_LinkException( ) { return
> >new javax.naming.LinkException(); }
> > public javax.naming.LinkLoopException
javax_naming_LinkLoopException(String
> >val0 ) { return new javax.naming.LinkLoopException( val0); }
> > public javax.naming.LinkLoopException javax_naming_LinkLoopException( )
{
> >return new javax.naming.LinkLoopException(); }
> > public javax.naming.LinkRef javax_naming_LinkRef(Name val0 ) { return
new
> >javax.naming.LinkRef( val0); }
> > public javax.naming.LinkRef javax_naming_LinkRef(String val0 ) { return
new
> >javax.naming.LinkRef( val0); }
> > public javax.naming.MalformedLinkException
> >javax_naming_MalformedLinkException(String val0 ) { return new
> >javax.naming.MalformedLinkException( val0); }
> > public javax.naming.MalformedLinkException
> >javax_naming_MalformedLinkException( ) { return new
> >javax.naming.MalformedLinkException(); }
> > public void javax_naming_Name(javax.naming.Name val ) {}
> > public javax.naming.NameAlreadyBoundException
> >javax_naming_NameAlreadyBoundException(String val0 ) { return new
> >javax.naming.NameAlreadyBoundException( val0); }
> > public javax.naming.NameAlreadyBoundException
> >javax_naming_NameAlreadyBoundException( ) { return new
> >javax.naming.NameAlreadyBoundException(); }
> > public javax.naming.NameClassPair javax_naming_NameClassPair(String
val0,
> >String val1 ) { return new javax.naming.NameClassPair( val0, val1); }
> > public javax.naming.NameClassPair javax_naming_NameClassPair(String
val0,
> >String val1, boolean val2 ) { return new javax.naming.NameClassPair(
val0,
> >val1, val2); }
> > public javax.naming.NameNotFoundException
> >javax_naming_NameNotFoundException(String val0 ) { return new
> >javax.naming.NameNotFoundException( val0); }
> > public javax.naming.NameNotFoundException
> >javax_naming_NameNotFoundException( ) { return new
> >javax.naming.NameNotFoundException(); }
> > public void javax_naming_NameParser(javax.naming.NameParser val ) {}
> > public void
javax_naming_NamingEnumeration(javax.naming.NamingEnumeration
> >val ) {}
> > public javax.naming.NamingException javax_naming_NamingException(String
> >val0 ) { return new javax.naming.NamingException( val0); }
> > public javax.naming.NamingException javax_naming_NamingException( ) {
> >return new javax.naming.NamingException(); }
> > public void
> >javax_naming_NamingSecurityException(javax.naming.NamingSecurityException
> >val ) {}
> > public javax.naming.NoInitialContextException
> >javax_naming_NoInitialContextException( ) { return new
> >javax.naming.NoInitialContextException(); }
> > public javax.naming.NoInitialContextException
> >javax_naming_NoInitialContextException(String val0 ) { return new
> >javax.naming.NoInitialContextException( val0); }
> > public javax.naming.NoPermissionException
> >javax_naming_NoPermissionException(String val0 ) { return new
> >javax.naming.NoPermissionException( val0); }
> > public javax.naming.NoPermissionException
> >javax_naming_NoPermissionException( ) { return new
> >javax.naming.NoPermissionException(); }
> > public javax.naming.NotContextException
> >javax_naming_NotContextException(String val0 ) { return new
> >javax.naming.NotContextException( val0); }
> > public javax.naming.NotContextException
javax_naming_NotContextException( )
> >{ return new javax.naming.NotContextException(); }
> > public javax.naming.OperationNotSupportedException
> >javax_naming_OperationNotSupportedException( ) { return new
> >javax.naming.OperationNotSupportedException(); }
> > public javax.naming.OperationNotSupportedException
> >javax_naming_OperationNotSupportedException(String val0 ) { return new
> >javax.naming.OperationNotSupportedException( val0); }
> > public javax.naming.PartialResultException
> >javax_naming_PartialResultException(String val0 ) { return new
> >javax.naming.PartialResultException( val0); }
> > public javax.naming.PartialResultException
> >javax_naming_PartialResultException( ) { return new
> >javax.naming.PartialResultException(); }
> > public void javax_naming_RefAddr(javax.naming.RefAddr val ) {}
> > public javax.naming.Reference javax_naming_Reference(String val0,
RefAddr
> >val1 ) { return new javax.naming.Reference( val0, val1); }
> > public javax.naming.Reference javax_naming_Reference(String val0, String
> >val1, String val2 ) { return new javax.naming.Reference( val0, val1,
> >val2); }
> > public javax.naming.Reference javax_naming_Reference(String val0,
RefAddr
> >val1, String val2, String val3 ) { return new javax.naming.Reference(
val0,
> >val1, val2, val3); }
> > public javax.naming.Reference javax_naming_Reference(String val0 ) {
return
> >new javax.naming.Reference( val0); }
> > public void javax_naming_Referenceable(javax.naming.Referenceable val )
{}
> > public void
javax_naming_ReferralException(javax.naming.ReferralException
> >val ) {}
> > public javax.naming.ServiceUnavailableException
> >javax_naming_ServiceUnavailableException(String val0 ) { return new
> >javax.naming.ServiceUnavailableException( val0); }
> > public javax.naming.ServiceUnavailableException
> >javax_naming_ServiceUnavailableException( ) { return new
> >javax.naming.ServiceUnavailableException(); }
> > public javax.naming.SizeLimitExceededException
> >javax_naming_SizeLimitExceededException( ) { return new
> >javax.naming.SizeLimitExceededException(); }
> > public javax.naming.SizeLimitExceededException
> >javax_naming_SizeLimitExceededException(String val0 ) { return new
> >javax.naming.SizeLimitExceededException( val0); }
> > public javax.naming.StringRefAddr javax_naming_StringRefAddr(String
val0,
> >String val1 ) { return new javax.naming.StringRefAddr( val0, val1); }
> > public javax.naming.TimeLimitExceededException
> >javax_naming_TimeLimitExceededException( ) { return new
> >javax.naming.TimeLimitExceededException(); }
> > public javax.naming.TimeLimitExceededException
> >javax_naming_TimeLimitExceededException(String val0 ) { return new
> >javax.naming.TimeLimitExceededException( val0); }
> > public void
> >javax_naming_directory_Attribute(javax.naming.directory.Attribute val )
{}
> > public javax.naming.directory.AttributeInUseException
> >javax_naming_directory_AttributeInUseException(String val0 ) { return new
> >javax.naming.directory.AttributeInUseException( val0); }
> > public javax.naming.directory.AttributeInUseException
> >javax_naming_directory_AttributeInUseException( ) { return new
> >javax.naming.directory.AttributeInUseException(); }
> > public javax.naming.directory.AttributeModificationException
> >javax_naming_directory_AttributeModificationException(String val0 ) {
return
> >new javax.naming.directory.AttributeModificationException( val0); }
> > public javax.naming.directory.AttributeModificationException
> >javax_naming_directory_AttributeModificationException( ) { return new
> >javax.naming.directory.AttributeModificationException(); }
> > public void
> >javax_naming_directory_Attributes(javax.naming.directory.Attributes val )
{}
> > public javax.naming.directory.BasicAttribute
> >javax_naming_directory_BasicAttribute(String val0 ) { return new
> >javax.naming.directory.BasicAttribute( val0); }
> > public javax.naming.directory.BasicAttribute
> >javax_naming_directory_BasicAttribute(String val0, Object val1 ) { return
> >new javax.naming.directory.BasicAttribute( val0, val1); }
> > public javax.naming.directory.BasicAttribute
> >javax_naming_directory_BasicAttribute(String val0, boolean val1 ) {
return
> >new javax.naming.directory.BasicAttribute( val0, val1); }
> > public javax.naming.directory.BasicAttribute
> >javax_naming_directory_BasicAttribute(String val0, Object val1, boolean
> >val2 ) { return new javax.naming.directory.BasicAttribute( val0, val1,
> >val2); }
> > public javax.naming.directory.BasicAttributes
> >javax_naming_directory_BasicAttributes(boolean val0 ) { return new
> >javax.naming.directory.BasicAttributes( val0); }
> > public javax.naming.directory.BasicAttributes
> >javax_naming_directory_BasicAttributes(String val0, Object val1 ) {
return
> >new javax.naming.directory.BasicAttributes( val0, val1); }
> > public javax.naming.directory.BasicAttributes
> >javax_naming_directory_BasicAttributes(String val0, Object val1, boolean
> >val2 ) { return new javax.naming.directory.BasicAttributes( val0, val1,
> >val2); }
> > public javax.naming.directory.BasicAttributes
> >javax_naming_directory_BasicAttributes( ) { return new
> >javax.naming.directory.BasicAttributes(); }
> > public void
> >javax_naming_directory_DirContext(javax.naming.directory.DirContext val )
{}
> > public javax.naming.directory.InitialDirContext
> >javax_naming_directory_InitialDirContext( ) throws
> >javax.naming.NamingException { return new
> >javax.naming.directory.InitialDirContext(); }
> > public javax.naming.directory.InitialDirContext
> >javax_naming_directory_InitialDirContext(java.util.Hashtable val0 )
throws
> >javax.naming.NamingException { return new
> >javax.naming.directory.InitialDirContext( val0); }
> > public javax.naming.directory.InvalidAttributeIdentifierException
> >javax_naming_directory_InvalidAttributeIdentifierException(String val0 )
{
> >return new javax.naming.directory.InvalidAttributeIdentifierException(
> >val0); }
> > public javax.naming.directory.InvalidAttributeIdentifierException
> >javax_naming_directory_InvalidAttributeIdentifierException( ) { return
new
> >javax.naming.directory.InvalidAttributeIdentifierException(); }
> > public javax.naming.directory.InvalidAttributeValueException
> >javax_naming_directory_InvalidAttributeValueException(String val0 ) {
return
> >new javax.naming.directory.InvalidAttributeValueException( val0); }
> > public javax.naming.directory.InvalidAttributeValueException
> >javax_naming_directory_InvalidAttributeValueException( ) { return new
> >javax.naming.directory.InvalidAttributeValueException(); }
> > public javax.naming.directory.InvalidAttributesException
> >javax_naming_directory_InvalidAttributesException(String val0 ) { return
new
> >javax.naming.directory.InvalidAttributesException( val0); }
> > public javax.naming.directory.InvalidAttributesException
> >javax_naming_directory_InvalidAttributesException( ) { return new
> >javax.naming.directory.InvalidAttributesException(); }
> > public javax.naming.directory.InvalidSearchControlsException
> >javax_naming_directory_InvalidSearchControlsException( ) { return new
> >javax.naming.directory.InvalidSearchControlsException(); }
> > public javax.naming.directory.InvalidSearchControlsException
> >javax_naming_directory_InvalidSearchControlsException(String val0 ) {
return
> >new javax.naming.directory.InvalidSearchControlsException( val0); }
> > public javax.naming.directory.InvalidSearchFilterException
> >javax_naming_directory_InvalidSearchFilterException( ) { return new
> >javax.naming.directory.InvalidSearchFilterException(); }
> > public javax.naming.directory.InvalidSearchFilterException
> >javax_naming_directory_InvalidSearchFilterException(String val0 ) {
return
> >new javax.naming.directory.InvalidSearchFilterException( val0); }
> > public javax.naming.directory.ModificationItem
> >javax_naming_directory_ModificationItem(int val0, Attribute val1 ) {
return
> >new javax.naming.directory.ModificationItem( val0, val1); }
> > public javax.naming.directory.NoSuchAttributeException
> >javax_naming_directory_NoSuchAttributeException(String val0 ) { return
new
> >javax.naming.directory.NoSuchAttributeException( val0); }
> > public javax.naming.directory.NoSuchAttributeException
> >javax_naming_directory_NoSuchAttributeException( ) { return new
> >javax.naming.directory.NoSuchAttributeException(); }
> > public javax.naming.directory.SchemaViolationException
> >javax_naming_directory_SchemaViolationException( ) { return new
> >javax.naming.directory.SchemaViolationException(); }
> > public javax.naming.directory.SchemaViolationException
> >javax_naming_directory_SchemaViolationException(String val0 ) { return
new
> >javax.naming.directory.SchemaViolationException( val0); }
> > public javax.naming.directory.SearchControls
> >javax_naming_directory_SearchControls( ) { return new
> >javax.naming.directory.SearchControls(); }
> > public javax.naming.directory.SearchControls
> >javax_naming_directory_SearchControls(int val0, long val1, int val2,
> >String[] val3, boolean val4, boolean val5 ) { return new
> >javax.naming.directory.SearchControls( val0, val1, val2, val3, val4,
> >val5); }
> > public javax.naming.directory.SearchResult
> >javax_naming_directory_SearchResult(String val0, Object val1, Attributes
> >val2 ) { return new javax.naming.directory.SearchResult( val0, val1,
> >val2); }
> > public javax.naming.directory.SearchResult
> >javax_naming_directory_SearchResult(String val0, Object val1, Attributes
> >val2, boolean val3 ) { return new javax.naming.directory.SearchResult(
val0,
> >val1, val2, val3); }
> > public javax.naming.directory.SearchResult
> >javax_naming_directory_SearchResult(String val0, String val1, Object
val2,
> >Attributes val3 ) { return new javax.naming.directory.SearchResult( val0,
> >val1, val2, val3); }
> > public javax.naming.directory.SearchResult
> >javax_naming_directory_SearchResult(String val0, String val1, Object
val2,
> >Attributes val3, boolean val4 ) { return new
> >javax.naming.directory.SearchResult( val0, val1, val2, val3, val4); }
> > public void
javax_naming_event_EventContext(javax.naming.event.EventContext
> >val ) {}
> > public void
> >javax_naming_event_EventDirContext(javax.naming.event.EventDirContext
val )
> >{}
> > public void
>
>javax_naming_event_NamespaceChangeList(javax.naming.event.NamespaceChangeLi
s
> >tener val ) {}
> > public javax.naming.event.NamingEvent
> >javax_naming_event_NamingEvent(EventContext val0, int val1,
> >javax.naming.Binding val2, javax.naming.Binding val3, Object val4 ) {
return
> >new javax.naming.event.NamingEvent( val0, val1, val2, val3, val4); }
> > public javax.naming.event.NamingExceptionEvent
> >javax_naming_event_NamingExceptionEvent(EventContext val0,
> >javax.naming.NamingException val1 ) { return new
> >javax.naming.event.NamingExceptionEvent( val0, val1); }
> > public void
> >javax_naming_event_NamingListener(javax.naming.event.NamingListener val )
{}
> > public void
>
>javax_naming_event_ObjectChangeListene(javax.naming.event.ObjectChangeListe
n
> >er val ) {}
> > public void javax_naming_ldap_Control(javax.naming.ldap.Control val ) {}
> > public void
> >javax_naming_ldap_ControlFactory(javax.naming.ldap.ControlFactory val )
{}
> > public void
> >javax_naming_ldap_ExtendedRequest(javax.naming.ldap.ExtendedRequest val )
{}
> > public void
> >javax_naming_ldap_ExtendedResponse(javax.naming.ldap.ExtendedResponse
val )
> >{}
> > public void javax_naming_ldap_HasControls(javax.naming.ldap.HasControls
> >val ) {}
> > public javax.naming.ldap.InitialLdapContext
> >javax_naming_ldap_InitialLdapContext( ) throws
javax.naming.NamingException
> >{ return new javax.naming.ldap.InitialLdapContext(); }
> > public javax.naming.ldap.InitialLdapContext
> >javax_naming_ldap_InitialLdapContext(java.util.Hashtable val0, Control[]
> >val1 ) throws javax.naming.NamingException { return new
> >javax.naming.ldap.InitialLdapContext( val0, val1); }
> > public void javax_naming_ldap_LdapContext(javax.naming.ldap.LdapContext
> >val ) {}
> > public void
>
>javax_naming_ldap_LdapReferralExceptio(javax.naming.ldap.LdapReferralExcept
i
> >on val ) {}
> > public javax.naming.ldap.StartTlsRequest
> >javax_naming_ldap_StartTlsRequest( ) { return new
> >javax.naming.ldap.StartTlsRequest(); }
> > public void
> >javax_naming_ldap_StartTlsResponse(javax.naming.ldap.StartTlsResponse
val )
> >{}
> > public void
>
>javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotific
a
> >tion val ) {}
> > public javax.naming.ldap.UnsolicitedNotificationEvent
> >javax_naming_ldap_UnsolicitedNotificationEvent(Object val0,
> >UnsolicitedNotification val1 ) { return new
> >javax.naming.ldap.UnsolicitedNotificationEvent( val0, val1); }
> > public void
>
>javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotific
a
> >tionListener val ) {}
> > public void
> >javax_naming_spi_DirObjectFactory(javax.naming.spi.DirObjectFactory val )
{}
> > public void
> >javax_naming_spi_DirStateFactory(javax.naming.spi.DirStateFactory val )
{}
> > public void
>
>javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFacto
r
> >y val ) {}
> > public void
>
>javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFacto
r
> >yBuilder val ) {}
> > public void
javax_naming_spi_ObjectFactory(javax.naming.spi.ObjectFactory
> >val ) {}
> > public void
>
>javax_naming_spi_ObjectFactoryBuilder(javax.naming.spi.ObjectFactoryBuilder
> >val ) {}
> > public javax.naming.spi.ResolveResult
javax_naming_spi_ResolveResult(Object
> >val0, String val1 ) { return new javax.naming.spi.ResolveResult( val0,
> >val1); }
> > public javax.naming.spi.ResolveResult
javax_naming_spi_ResolveResult(Object
> >val0, javax.naming.Name val1 ) { return new
> >javax.naming.spi.ResolveResult( val0, val1); }
> > public void javax_naming_spi_Resolver(javax.naming.spi.Resolver val ) {}
> > public void javax_naming_spi_StateFactory(javax.naming.spi.StateFactory
> >val ) {}
> >}
> >
> >
> >"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> >news:401faa98.1824783@forums.sybase.com...
> >> Please e-mail me the files, I'm having some trouble detaching them in
> >> Free Agent.
> >>
> >> On 2 Feb 2004 16:09:22 -0800, joneil@sybase.com (Jim O'Neil [Sybase])
> >> wrote:
> >>
> >> >I don't see why this shouldn't be working then... can you send me your
> >> >EJB home and remote interface classes - and any dependent classes that
> >> >I wouldn't already have as part of the JDK.
> >> >
> >> >On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
> >> >
> >> >>javap worked fine. here is the output :
> >> >>D:\Program Files\Sybase\Shared\PowerBuilder>javap
java.nio.channels.Pipe
> >> >>Compiled from "Pipe.java"
> >> >>public abstract class java.nio.channels.Pipe extends
java.lang.Object{
> >> >> protected java.nio.channels.Pipe();
> >> >> public static java.nio.channels.Pipe open();
> >> >> throws java/io/IOException
> >> >> public abstract java.nio.channels.Pipe$SinkChannel sink();
> >> >> public abstract java.nio.channels.Pipe$SourceChannel source();
> >> >>}
> >> >>
> >> >>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> >> >>news:401ecd3b.31551168@forums.sybase.com...
> >> >>> Do you get any error when running
> >> >>>
> >> >>> javap java.nio.channels.Pipe
> >> >>>
> >> >>> That's what PB is doing under the covers. I recall a similar issue
> >> >>> where for some reason javap could not handle some of the newer
> >> >>> classes.
> >> >>>
> >> >>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com>
wrote:
> >> >>>
> >> >>> >Hi,
> >> >>> >I am getting the following error message, while trying to generate
> >> >>proxies
> >> >>> >around javax.naming classes.
> >> >>> >"Bad Java class name: java.nio.channels.Pipe."
> >> >>> > This class definitely exists in JRE that is installed on my
machine.
> >It
> >> >>> >exists also in jre that was supplied with PB 9 installation.
> >> >>> >Could anyone please explain what could be wrong in this case.
> >> >>> >
> >> >>> >Thanks
> >> >>> >Vlad
> >> >>> >
> >> >>> >
> >> >>>
> >> >>> Jim O'Neil
> >> >>> Principal Technical Support Engineer
> >> >>> Sybase, Inc.
> >> >>> Concord, MA
> >> >>
> >> >>
> >> >
> >> >Jim O'Neil
> >> >Principal Technical Support Engineer
> >> >Sybase, Inc.
> >> >Concord, MA
> >>
> >> Jim O'Neil
> >> Principal Technical Support Engineer
> >> Sybase, Inc.
> >> Concord, MA
> >
> >
>
> Jim O'Neil
> Principal Technical Support Engineer
> Sybase, Inc.
> Concord, MA


Gökhan Demir Posted on 2004-02-05 22:55:17.0Z
Message-ID: <4022C766.E4BA67C2@igonline.biz>
From: =?iso-8859-1?Q?G=F6khan?= Demir <gokhan.demir@igonline.biz>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: ejb proxy generation error: Bad Java class name
References: <401eca83$1@forums-1-dub> <401ecd3b.31551168@forums.sybase.com> <401ed300$1@forums-1-dub> <401ee27f.36994665@forums.sybase.com> <401faa98.1824783@forums.sybase.com> <401fd0fd@forums-1-dub> <401fe40f.16534895@forums.sybase.com> <401ff09c$1@forums-1-dub>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
X-Original-NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
Date: 5 Feb 2004 14:55:17 -0800
X-Trace: forums-1-dub 1076021717 212.174.52.141 (5 Feb 2004 14:55:17 -0800)
X-Original-Trace: 5 Feb 2004 14:55:17 -0800, adsluser-1165.adsl.ttnet.net.tr
Lines: 643
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:246
Article PK: 424429

I have seen similar "bad class" messages after changing to a newer jdk from sun,
say 1.4.2_xx. However, after restoring the original jdk14 distributed with
powerbuilder, proxy generation goes smoothly. Therefore, I usually switch to
original jdk distribution that came with powerbuilder when I need to generate
proxies, and then switch back to the newer jdk14, that I use to run my ejb
server, and let powerbuilder ejb client functionality run with the newer jdk.

I don't have an idea if your problem is related with this one, or if it is a bug
with the original jdk14 javap thing. Anyway, I wanted to share this here.

HTH,
Gokhan

Vlad Zlotskiy wrote:

> Good catch , Thank you Jim, I'll use a dummy class to bypass this problem
>
> "Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> news:401fe40f.16534895@forums.sybase.com...
> > Well, the problem occurs because of the output of javap... look
> > closely at the fifth line below.... there is a space between "Pipe."
> > and "SinkChannel" which is throwing off the PB parser. I suspect this
> > is a bug in javap, but I'm not really sure how you might be able to
> > get around it other than 'mocking' up this same class in a Java class
> > of your own. If you are not planning to use this class directly in
> > your app, the 'fake' proxy for it could be an empty class.
> >
> > This might require putting your class in the BOOTCLASSPATH so when
> > javap runs on java.nio.channels.Pipe it picks up your version and not
> > the one in rt.jar.
> >
> > I have seen this happen before with javap output and I am not sure
> > whether or not a patch is available from Sun.
> >
> > C:\sandbox>javap java.nio.channels.Pipe
> > Compiled from Pipe.java
> > public abstract class java.nio.channels.Pipe extends java.lang.Object
> > {
> > protected java.nio.channels.Pipe();
> > public abstract java.nio.channels.Pipe.SourceChannel source();
> > public abstract java.nio.channels.Pipe.SinkChannel sink();
> > public static java.nio.channels.Pipe open() throws
> > java.io.IOException;
> > public abstract static class java.nio.channels.Pipe. SinkChannel
> > extends java.nio.channels.spi.AbstractSelectableChannel implements
> > java.nio.channels.WritableByteChannel,
> > java.nio.channels.GatheringByteChannel
> > /* ACC_SUPER bit NOT set */
> > {
> > protected
> > java.nio.channels.Pipe.SinkChannel(java.nio.channels.spi.Selec
> > torProvider);
> > public final int validOps();
> > }
> > public abstract static class java.nio.channels.Pipe. SourceChannel
> > extends j
> > ava.nio.channels.spi.AbstractSelectableChannel implements
> > java.nio.channels.Read
> > ableByteChannel, java.nio.channels.ScatteringByteChannel
> > /* ACC_SUPER bit NOT set */
> > {
> > protected
> > java.nio.channels.Pipe.SourceChannel(java.nio.channels.spi.Sel
> > ectorProvider);
> > public final int validOps();
> > }
> > }
> > On 3 Feb 2004 08:49:01 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
> >
> > >Sorry, here it is:
> > >
> > >public class PB_javax_namingHome {
> > >}
> > >
> > >
> > >
> > >import javax.naming.*;
> > >import javax.naming.directory.*;
> > >import javax.naming.event.*;
> > >import javax.naming.ldap.*;
> > >import javax.naming.spi.*;
> > >
> > >public class PB_javax_naming {
> > > public javax.naming.AuthenticationException
> > >javax_naming_AuthenticationException(String val0 ) { return new
> > >javax.naming.AuthenticationException( val0); }
> > > public javax.naming.AuthenticationException
> > >javax_naming_AuthenticationException( ) { return new
> > >javax.naming.AuthenticationException(); }
> > > public javax.naming.AuthenticationNotSupportedException
> > >javax_naming_AuthenticationNotSupportedException(String val0 ) { return
> new
> > >javax.naming.AuthenticationNotSupportedException( val0); }
> > > public javax.naming.AuthenticationNotSupportedException
> > >javax_naming_AuthenticationNotSupportedException( ) { return new
> > >javax.naming.AuthenticationNotSupportedException(); }
> > > public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String
> val0,
> > >byte[] val1, int val2, int val3 ) { return new
> javax.naming.BinaryRefAddr(
> > >val0, val1, val2, val3); }
> > > public javax.naming.BinaryRefAddr javax_naming_BinaryRefAddr(String
> val0,
> > >byte[] val1 ) { return new javax.naming.BinaryRefAddr( val0, val1); }
> > > public javax.naming.Binding javax_naming_Binding(String val0, Object
> val1,
> > >boolean val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> > > public javax.naming.Binding javax_naming_Binding(String val0, String
> val1,
> > >Object val2 ) { return new javax.naming.Binding( val0, val1, val2); }
> > > public javax.naming.Binding javax_naming_Binding(String val0, String
> val1,
> > >Object val2, boolean val3 ) { return new javax.naming.Binding( val0,
> val1,
> > >val2, val3); }
> > > public javax.naming.Binding javax_naming_Binding(String val0, Object
> val1 )
> > >{ return new javax.naming.Binding( val0, val1); }
> > > public javax.naming.CannotProceedException
> > >javax_naming_CannotProceedException(String val0 ) { return new
> > >javax.naming.CannotProceedException( val0); }
> > > public javax.naming.CannotProceedException
> > >javax_naming_CannotProceedException( ) { return new
> > >javax.naming.CannotProceedException(); }
> > > public javax.naming.CommunicationException
> > >javax_naming_CommunicationException(String val0 ) { return new
> > >javax.naming.CommunicationException( val0); }
> > > public javax.naming.CommunicationException
> > >javax_naming_CommunicationException( ) { return new
> > >javax.naming.CommunicationException(); }
> > > public javax.naming.CompositeName javax_naming_CompositeName(String
> val0 )
> > >throws InvalidNameException { return new javax.naming.CompositeName(
> > >val0); }
> > > public javax.naming.CompositeName javax_naming_CompositeName( ) { return
> > >new javax.naming.CompositeName(); }
> > > public javax.naming.CompoundName javax_naming_CompoundName(String val0,
> > >java.util.Properties val1 ) throws InvalidNameException { return new
> > >javax.naming.CompoundName( val0, val1); }
> > > public javax.naming.ConfigurationException
> > >javax_naming_ConfigurationException(String val0 ) { return new
> > >javax.naming.ConfigurationException( val0); }
> > > public javax.naming.ConfigurationException
> > >javax_naming_ConfigurationException( ) { return new
> > >javax.naming.ConfigurationException(); }
> > > public void javax_naming_Context(javax.naming.Context val ) {}
> > > public javax.naming.ContextNotEmptyException
> > >javax_naming_ContextNotEmptyException(String val0 ) { return new
> > >javax.naming.ContextNotEmptyException( val0); }
> > > public javax.naming.ContextNotEmptyException
> > >javax_naming_ContextNotEmptyException( ) { return new
> > >javax.naming.ContextNotEmptyException(); }
> > > public javax.naming.InitialContext javax_naming_InitialContext( ) throws
> > >NamingException { return new javax.naming.InitialContext(); }
> > > public javax.naming.InitialContext
> > >javax_naming_InitialContext(java.util.Hashtable val0 ) throws
> > >NamingException { return new javax.naming.InitialContext( val0); }
> > > public javax.naming.InsufficientResourcesException
> > >javax_naming_InsufficientResourcesException(String val0 ) { return new
> > >javax.naming.InsufficientResourcesException( val0); }
> > > public javax.naming.InsufficientResourcesException
> > >javax_naming_InsufficientResourcesException( ) { return new
> > >javax.naming.InsufficientResourcesException(); }
> > > public javax.naming.InterruptedNamingException
> > >javax_naming_InterruptedNamingException(String val0 ) { return new
> > >javax.naming.InterruptedNamingException( val0); }
> > > public javax.naming.InterruptedNamingException
> > >javax_naming_InterruptedNamingException( ) { return new
> > >javax.naming.InterruptedNamingException(); }
> > > public javax.naming.InvalidNameException
> > >javax_naming_InvalidNameException(String val0 ) { return new
> > >javax.naming.InvalidNameException( val0); }
> > > public javax.naming.InvalidNameException
> > >javax_naming_InvalidNameException( ) { return new
> > >javax.naming.InvalidNameException(); }
> > > public javax.naming.LimitExceededException
> > >javax_naming_LimitExceededException( ) { return new
> > >javax.naming.LimitExceededException(); }
> > > public javax.naming.LimitExceededException
> > >javax_naming_LimitExceededException(String val0 ) { return new
> > >javax.naming.LimitExceededException( val0); }
> > > public javax.naming.LinkException javax_naming_LinkException(String
> val0 )
> > >{ return new javax.naming.LinkException( val0); }
> > > public javax.naming.LinkException javax_naming_LinkException( ) { return
> > >new javax.naming.LinkException(); }
> > > public javax.naming.LinkLoopException
> javax_naming_LinkLoopException(String
> > >val0 ) { return new javax.naming.LinkLoopException( val0); }
> > > public javax.naming.LinkLoopException javax_naming_LinkLoopException( )
> {
> > >return new javax.naming.LinkLoopException(); }
> > > public javax.naming.LinkRef javax_naming_LinkRef(Name val0 ) { return
> new
> > >javax.naming.LinkRef( val0); }
> > > public javax.naming.LinkRef javax_naming_LinkRef(String val0 ) { return
> new
> > >javax.naming.LinkRef( val0); }
> > > public javax.naming.MalformedLinkException
> > >javax_naming_MalformedLinkException(String val0 ) { return new
> > >javax.naming.MalformedLinkException( val0); }
> > > public javax.naming.MalformedLinkException
> > >javax_naming_MalformedLinkException( ) { return new
> > >javax.naming.MalformedLinkException(); }
> > > public void javax_naming_Name(javax.naming.Name val ) {}
> > > public javax.naming.NameAlreadyBoundException
> > >javax_naming_NameAlreadyBoundException(String val0 ) { return new
> > >javax.naming.NameAlreadyBoundException( val0); }
> > > public javax.naming.NameAlreadyBoundException
> > >javax_naming_NameAlreadyBoundException( ) { return new
> > >javax.naming.NameAlreadyBoundException(); }
> > > public javax.naming.NameClassPair javax_naming_NameClassPair(String
> val0,
> > >String val1 ) { return new javax.naming.NameClassPair( val0, val1); }
> > > public javax.naming.NameClassPair javax_naming_NameClassPair(String
> val0,
> > >String val1, boolean val2 ) { return new javax.naming.NameClassPair(
> val0,
> > >val1, val2); }
> > > public javax.naming.NameNotFoundException
> > >javax_naming_NameNotFoundException(String val0 ) { return new
> > >javax.naming.NameNotFoundException( val0); }
> > > public javax.naming.NameNotFoundException
> > >javax_naming_NameNotFoundException( ) { return new
> > >javax.naming.NameNotFoundException(); }
> > > public void javax_naming_NameParser(javax.naming.NameParser val ) {}
> > > public void
> javax_naming_NamingEnumeration(javax.naming.NamingEnumeration
> > >val ) {}
> > > public javax.naming.NamingException javax_naming_NamingException(String
> > >val0 ) { return new javax.naming.NamingException( val0); }
> > > public javax.naming.NamingException javax_naming_NamingException( ) {
> > >return new javax.naming.NamingException(); }
> > > public void
> > >javax_naming_NamingSecurityException(javax.naming.NamingSecurityException
> > >val ) {}
> > > public javax.naming.NoInitialContextException
> > >javax_naming_NoInitialContextException( ) { return new
> > >javax.naming.NoInitialContextException(); }
> > > public javax.naming.NoInitialContextException
> > >javax_naming_NoInitialContextException(String val0 ) { return new
> > >javax.naming.NoInitialContextException( val0); }
> > > public javax.naming.NoPermissionException
> > >javax_naming_NoPermissionException(String val0 ) { return new
> > >javax.naming.NoPermissionException( val0); }
> > > public javax.naming.NoPermissionException
> > >javax_naming_NoPermissionException( ) { return new
> > >javax.naming.NoPermissionException(); }
> > > public javax.naming.NotContextException
> > >javax_naming_NotContextException(String val0 ) { return new
> > >javax.naming.NotContextException( val0); }
> > > public javax.naming.NotContextException
> javax_naming_NotContextException( )
> > >{ return new javax.naming.NotContextException(); }
> > > public javax.naming.OperationNotSupportedException
> > >javax_naming_OperationNotSupportedException( ) { return new
> > >javax.naming.OperationNotSupportedException(); }
> > > public javax.naming.OperationNotSupportedException
> > >javax_naming_OperationNotSupportedException(String val0 ) { return new
> > >javax.naming.OperationNotSupportedException( val0); }
> > > public javax.naming.PartialResultException
> > >javax_naming_PartialResultException(String val0 ) { return new
> > >javax.naming.PartialResultException( val0); }
> > > public javax.naming.PartialResultException
> > >javax_naming_PartialResultException( ) { return new
> > >javax.naming.PartialResultException(); }
> > > public void javax_naming_RefAddr(javax.naming.RefAddr val ) {}
> > > public javax.naming.Reference javax_naming_Reference(String val0,
> RefAddr
> > >val1 ) { return new javax.naming.Reference( val0, val1); }
> > > public javax.naming.Reference javax_naming_Reference(String val0, String
> > >val1, String val2 ) { return new javax.naming.Reference( val0, val1,
> > >val2); }
> > > public javax.naming.Reference javax_naming_Reference(String val0,
> RefAddr
> > >val1, String val2, String val3 ) { return new javax.naming.Reference(
> val0,
> > >val1, val2, val3); }
> > > public javax.naming.Reference javax_naming_Reference(String val0 ) {
> return
> > >new javax.naming.Reference( val0); }
> > > public void javax_naming_Referenceable(javax.naming.Referenceable val )
> {}
> > > public void
> javax_naming_ReferralException(javax.naming.ReferralException
> > >val ) {}
> > > public javax.naming.ServiceUnavailableException
> > >javax_naming_ServiceUnavailableException(String val0 ) { return new
> > >javax.naming.ServiceUnavailableException( val0); }
> > > public javax.naming.ServiceUnavailableException
> > >javax_naming_ServiceUnavailableException( ) { return new
> > >javax.naming.ServiceUnavailableException(); }
> > > public javax.naming.SizeLimitExceededException
> > >javax_naming_SizeLimitExceededException( ) { return new
> > >javax.naming.SizeLimitExceededException(); }
> > > public javax.naming.SizeLimitExceededException
> > >javax_naming_SizeLimitExceededException(String val0 ) { return new
> > >javax.naming.SizeLimitExceededException( val0); }
> > > public javax.naming.StringRefAddr javax_naming_StringRefAddr(String
> val0,
> > >String val1 ) { return new javax.naming.StringRefAddr( val0, val1); }
> > > public javax.naming.TimeLimitExceededException
> > >javax_naming_TimeLimitExceededException( ) { return new
> > >javax.naming.TimeLimitExceededException(); }
> > > public javax.naming.TimeLimitExceededException
> > >javax_naming_TimeLimitExceededException(String val0 ) { return new
> > >javax.naming.TimeLimitExceededException( val0); }
> > > public void
> > >javax_naming_directory_Attribute(javax.naming.directory.Attribute val )
> {}
> > > public javax.naming.directory.AttributeInUseException
> > >javax_naming_directory_AttributeInUseException(String val0 ) { return new
> > >javax.naming.directory.AttributeInUseException( val0); }
> > > public javax.naming.directory.AttributeInUseException
> > >javax_naming_directory_AttributeInUseException( ) { return new
> > >javax.naming.directory.AttributeInUseException(); }
> > > public javax.naming.directory.AttributeModificationException
> > >javax_naming_directory_AttributeModificationException(String val0 ) {
> return
> > >new javax.naming.directory.AttributeModificationException( val0); }
> > > public javax.naming.directory.AttributeModificationException
> > >javax_naming_directory_AttributeModificationException( ) { return new
> > >javax.naming.directory.AttributeModificationException(); }
> > > public void
> > >javax_naming_directory_Attributes(javax.naming.directory.Attributes val )
> {}
> > > public javax.naming.directory.BasicAttribute
> > >javax_naming_directory_BasicAttribute(String val0 ) { return new
> > >javax.naming.directory.BasicAttribute( val0); }
> > > public javax.naming.directory.BasicAttribute
> > >javax_naming_directory_BasicAttribute(String val0, Object val1 ) { return
> > >new javax.naming.directory.BasicAttribute( val0, val1); }
> > > public javax.naming.directory.BasicAttribute
> > >javax_naming_directory_BasicAttribute(String val0, boolean val1 ) {
> return
> > >new javax.naming.directory.BasicAttribute( val0, val1); }
> > > public javax.naming.directory.BasicAttribute
> > >javax_naming_directory_BasicAttribute(String val0, Object val1, boolean
> > >val2 ) { return new javax.naming.directory.BasicAttribute( val0, val1,
> > >val2); }
> > > public javax.naming.directory.BasicAttributes
> > >javax_naming_directory_BasicAttributes(boolean val0 ) { return new
> > >javax.naming.directory.BasicAttributes( val0); }
> > > public javax.naming.directory.BasicAttributes
> > >javax_naming_directory_BasicAttributes(String val0, Object val1 ) {
> return
> > >new javax.naming.directory.BasicAttributes( val0, val1); }
> > > public javax.naming.directory.BasicAttributes
> > >javax_naming_directory_BasicAttributes(String val0, Object val1, boolean
> > >val2 ) { return new javax.naming.directory.BasicAttributes( val0, val1,
> > >val2); }
> > > public javax.naming.directory.BasicAttributes
> > >javax_naming_directory_BasicAttributes( ) { return new
> > >javax.naming.directory.BasicAttributes(); }
> > > public void
> > >javax_naming_directory_DirContext(javax.naming.directory.DirContext val )
> {}
> > > public javax.naming.directory.InitialDirContext
> > >javax_naming_directory_InitialDirContext( ) throws
> > >javax.naming.NamingException { return new
> > >javax.naming.directory.InitialDirContext(); }
> > > public javax.naming.directory.InitialDirContext
> > >javax_naming_directory_InitialDirContext(java.util.Hashtable val0 )
> throws
> > >javax.naming.NamingException { return new
> > >javax.naming.directory.InitialDirContext( val0); }
> > > public javax.naming.directory.InvalidAttributeIdentifierException
> > >javax_naming_directory_InvalidAttributeIdentifierException(String val0 )
> {
> > >return new javax.naming.directory.InvalidAttributeIdentifierException(
> > >val0); }
> > > public javax.naming.directory.InvalidAttributeIdentifierException
> > >javax_naming_directory_InvalidAttributeIdentifierException( ) { return
> new
> > >javax.naming.directory.InvalidAttributeIdentifierException(); }
> > > public javax.naming.directory.InvalidAttributeValueException
> > >javax_naming_directory_InvalidAttributeValueException(String val0 ) {
> return
> > >new javax.naming.directory.InvalidAttributeValueException( val0); }
> > > public javax.naming.directory.InvalidAttributeValueException
> > >javax_naming_directory_InvalidAttributeValueException( ) { return new
> > >javax.naming.directory.InvalidAttributeValueException(); }
> > > public javax.naming.directory.InvalidAttributesException
> > >javax_naming_directory_InvalidAttributesException(String val0 ) { return
> new
> > >javax.naming.directory.InvalidAttributesException( val0); }
> > > public javax.naming.directory.InvalidAttributesException
> > >javax_naming_directory_InvalidAttributesException( ) { return new
> > >javax.naming.directory.InvalidAttributesException(); }
> > > public javax.naming.directory.InvalidSearchControlsException
> > >javax_naming_directory_InvalidSearchControlsException( ) { return new
> > >javax.naming.directory.InvalidSearchControlsException(); }
> > > public javax.naming.directory.InvalidSearchControlsException
> > >javax_naming_directory_InvalidSearchControlsException(String val0 ) {
> return
> > >new javax.naming.directory.InvalidSearchControlsException( val0); }
> > > public javax.naming.directory.InvalidSearchFilterException
> > >javax_naming_directory_InvalidSearchFilterException( ) { return new
> > >javax.naming.directory.InvalidSearchFilterException(); }
> > > public javax.naming.directory.InvalidSearchFilterException
> > >javax_naming_directory_InvalidSearchFilterException(String val0 ) {
> return
> > >new javax.naming.directory.InvalidSearchFilterException( val0); }
> > > public javax.naming.directory.ModificationItem
> > >javax_naming_directory_ModificationItem(int val0, Attribute val1 ) {
> return
> > >new javax.naming.directory.ModificationItem( val0, val1); }
> > > public javax.naming.directory.NoSuchAttributeException
> > >javax_naming_directory_NoSuchAttributeException(String val0 ) { return
> new
> > >javax.naming.directory.NoSuchAttributeException( val0); }
> > > public javax.naming.directory.NoSuchAttributeException
> > >javax_naming_directory_NoSuchAttributeException( ) { return new
> > >javax.naming.directory.NoSuchAttributeException(); }
> > > public javax.naming.directory.SchemaViolationException
> > >javax_naming_directory_SchemaViolationException( ) { return new
> > >javax.naming.directory.SchemaViolationException(); }
> > > public javax.naming.directory.SchemaViolationException
> > >javax_naming_directory_SchemaViolationException(String val0 ) { return
> new
> > >javax.naming.directory.SchemaViolationException( val0); }
> > > public javax.naming.directory.SearchControls
> > >javax_naming_directory_SearchControls( ) { return new
> > >javax.naming.directory.SearchControls(); }
> > > public javax.naming.directory.SearchControls
> > >javax_naming_directory_SearchControls(int val0, long val1, int val2,
> > >String[] val3, boolean val4, boolean val5 ) { return new
> > >javax.naming.directory.SearchControls( val0, val1, val2, val3, val4,
> > >val5); }
> > > public javax.naming.directory.SearchResult
> > >javax_naming_directory_SearchResult(String val0, Object val1, Attributes
> > >val2 ) { return new javax.naming.directory.SearchResult( val0, val1,
> > >val2); }
> > > public javax.naming.directory.SearchResult
> > >javax_naming_directory_SearchResult(String val0, Object val1, Attributes
> > >val2, boolean val3 ) { return new javax.naming.directory.SearchResult(
> val0,
> > >val1, val2, val3); }
> > > public javax.naming.directory.SearchResult
> > >javax_naming_directory_SearchResult(String val0, String val1, Object
> val2,
> > >Attributes val3 ) { return new javax.naming.directory.SearchResult( val0,
> > >val1, val2, val3); }
> > > public javax.naming.directory.SearchResult
> > >javax_naming_directory_SearchResult(String val0, String val1, Object
> val2,
> > >Attributes val3, boolean val4 ) { return new
> > >javax.naming.directory.SearchResult( val0, val1, val2, val3, val4); }
> > > public void
> javax_naming_event_EventContext(javax.naming.event.EventContext
> > >val ) {}
> > > public void
> > >javax_naming_event_EventDirContext(javax.naming.event.EventDirContext
> val )
> > >{}
> > > public void
> >
> >javax_naming_event_NamespaceChangeList(javax.naming.event.NamespaceChangeLi
> s
> > >tener val ) {}
> > > public javax.naming.event.NamingEvent
> > >javax_naming_event_NamingEvent(EventContext val0, int val1,
> > >javax.naming.Binding val2, javax.naming.Binding val3, Object val4 ) {
> return
> > >new javax.naming.event.NamingEvent( val0, val1, val2, val3, val4); }
> > > public javax.naming.event.NamingExceptionEvent
> > >javax_naming_event_NamingExceptionEvent(EventContext val0,
> > >javax.naming.NamingException val1 ) { return new
> > >javax.naming.event.NamingExceptionEvent( val0, val1); }
> > > public void
> > >javax_naming_event_NamingListener(javax.naming.event.NamingListener val )
> {}
> > > public void
> >
> >javax_naming_event_ObjectChangeListene(javax.naming.event.ObjectChangeListe
> n
> > >er val ) {}
> > > public void javax_naming_ldap_Control(javax.naming.ldap.Control val ) {}
> > > public void
> > >javax_naming_ldap_ControlFactory(javax.naming.ldap.ControlFactory val )
> {}
> > > public void
> > >javax_naming_ldap_ExtendedRequest(javax.naming.ldap.ExtendedRequest val )
> {}
> > > public void
> > >javax_naming_ldap_ExtendedResponse(javax.naming.ldap.ExtendedResponse
> val )
> > >{}
> > > public void javax_naming_ldap_HasControls(javax.naming.ldap.HasControls
> > >val ) {}
> > > public javax.naming.ldap.InitialLdapContext
> > >javax_naming_ldap_InitialLdapContext( ) throws
> javax.naming.NamingException
> > >{ return new javax.naming.ldap.InitialLdapContext(); }
> > > public javax.naming.ldap.InitialLdapContext
> > >javax_naming_ldap_InitialLdapContext(java.util.Hashtable val0, Control[]
> > >val1 ) throws javax.naming.NamingException { return new
> > >javax.naming.ldap.InitialLdapContext( val0, val1); }
> > > public void javax_naming_ldap_LdapContext(javax.naming.ldap.LdapContext
> > >val ) {}
> > > public void
> >
> >javax_naming_ldap_LdapReferralExceptio(javax.naming.ldap.LdapReferralExcept
> i
> > >on val ) {}
> > > public javax.naming.ldap.StartTlsRequest
> > >javax_naming_ldap_StartTlsRequest( ) { return new
> > >javax.naming.ldap.StartTlsRequest(); }
> > > public void
> > >javax_naming_ldap_StartTlsResponse(javax.naming.ldap.StartTlsResponse
> val )
> > >{}
> > > public void
> >
> >javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotific
> a
> > >tion val ) {}
> > > public javax.naming.ldap.UnsolicitedNotificationEvent
> > >javax_naming_ldap_UnsolicitedNotificationEvent(Object val0,
> > >UnsolicitedNotification val1 ) { return new
> > >javax.naming.ldap.UnsolicitedNotificationEvent( val0, val1); }
> > > public void
> >
> >javax_naming_ldap_UnsolicitedNotificat(javax.naming.ldap.UnsolicitedNotific
> a
> > >tionListener val ) {}
> > > public void
> > >javax_naming_spi_DirObjectFactory(javax.naming.spi.DirObjectFactory val )
> {}
> > > public void
> > >javax_naming_spi_DirStateFactory(javax.naming.spi.DirStateFactory val )
> {}
> > > public void
> >
> >javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFacto
> r
> > >y val ) {}
> > > public void
> >
> >javax_naming_spi_InitialContextFactory(javax.naming.spi.InitialContextFacto
> r
> > >yBuilder val ) {}
> > > public void
> javax_naming_spi_ObjectFactory(javax.naming.spi.ObjectFactory
> > >val ) {}
> > > public void
> >
> >javax_naming_spi_ObjectFactoryBuilder(javax.naming.spi.ObjectFactoryBuilder
> > >val ) {}
> > > public javax.naming.spi.ResolveResult
> javax_naming_spi_ResolveResult(Object
> > >val0, String val1 ) { return new javax.naming.spi.ResolveResult( val0,
> > >val1); }
> > > public javax.naming.spi.ResolveResult
> javax_naming_spi_ResolveResult(Object
> > >val0, javax.naming.Name val1 ) { return new
> > >javax.naming.spi.ResolveResult( val0, val1); }
> > > public void javax_naming_spi_Resolver(javax.naming.spi.Resolver val ) {}
> > > public void javax_naming_spi_StateFactory(javax.naming.spi.StateFactory
> > >val ) {}
> > >}
> > >
> > >
> > >"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> > >news:401faa98.1824783@forums.sybase.com...
> > >> Please e-mail me the files, I'm having some trouble detaching them in
> > >> Free Agent.
> > >>
> > >> On 2 Feb 2004 16:09:22 -0800, joneil@sybase.com (Jim O'Neil [Sybase])
> > >> wrote:
> > >>
> > >> >I don't see why this shouldn't be working then... can you send me your
> > >> >EJB home and remote interface classes - and any dependent classes that
> > >> >I wouldn't already have as part of the JDK.
> > >> >
> > >> >On 2 Feb 2004 14:45:20 -0800, "Vlad Zlotskiy" <vladz@imsi.com> wrote:
> > >> >
> > >> >>javap worked fine. here is the output :
> > >> >>D:\Program Files\Sybase\Shared\PowerBuilder>javap
> java.nio.channels.Pipe
> > >> >>Compiled from "Pipe.java"
> > >> >>public abstract class java.nio.channels.Pipe extends
> java.lang.Object{
> > >> >> protected java.nio.channels.Pipe();
> > >> >> public static java.nio.channels.Pipe open();
> > >> >> throws java/io/IOException
> > >> >> public abstract java.nio.channels.Pipe$SinkChannel sink();
> > >> >> public abstract java.nio.channels.Pipe$SourceChannel source();
> > >> >>}
> > >> >>
> > >> >>"Jim O'Neil [Sybase]" <joneil@sybase.com> wrote in message
> > >> >>news:401ecd3b.31551168@forums.sybase.com...
> > >> >>> Do you get any error when running
> > >> >>>
> > >> >>> javap java.nio.channels.Pipe
> > >> >>>
> > >> >>> That's what PB is doing under the covers. I recall a similar issue
> > >> >>> where for some reason javap could not handle some of the newer
> > >> >>> classes.
> > >> >>>
> > >> >>> On 2 Feb 2004 14:09:07 -0800, "Vlad Zlotskiy" <vladz@imsi.com>
> wrote:
> > >> >>>
> > >> >>> >Hi,
> > >> >>> >I am getting the following error message, while trying to generate
> > >> >>proxies
> > >> >>> >around javax.naming classes.
> > >> >>> >"Bad Java class name: java.nio.channels.Pipe."
> > >> >>> > This class definitely exists in JRE that is installed on my
> machine.
> > >It
> > >> >>> >exists also in jre that was supplied with PB 9 installation.
> > >> >>> >Could anyone please explain what could be wrong in this case.
> > >> >>> >
> > >> >>> >Thanks
> > >> >>> >Vlad
> > >> >>> >
> > >> >>> >
> > >> >>>
> > >> >>> Jim O'Neil
> > >> >>> Principal Technical Support Engineer
> > >> >>> Sybase, Inc.
> > >> >>> Concord, MA
> > >> >>
> > >> >>
> > >> >
> > >> >Jim O'Neil
> > >> >Principal Technical Support Engineer
> > >> >Sybase, Inc.
> > >> >Concord, MA
> > >>
> > >> Jim O'Neil
> > >> Principal Technical Support Engineer
> > >> Sybase, Inc.
> > >> Concord, MA
> > >
> > >
> >
> > Jim O'Neil
> > Principal Technical Support Engineer
> > Sybase, Inc.
> > Concord, MA