Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: pl2java on solaris

Re: pl2java on solaris

From: C. Ferguson <c_ferguson_at_rationalconcepts.com>
Date: Thu, 30 Sep 1999 02:24:58 GMT
Message-ID: <37F2CA8A.39104C37@rationalconcepts.com>


Hi David,
  I haven't used p12java, but here's my 2 cents worth. Your stack trace is indicating buggy code. Whoever wrote it appears to be breaking a string into tokens, and the StringTokenizer class threw the exception, because the string didn't contain the expected token. Because the author of the code did not put a try/catch block around the tokenizer operation, the unhandled exception was thrown.

  If Oracle support suggests you give up on p12java, then I would agree with them since that indicates that they are not willing to fix the code.

regards,
Cindy

David Tatum wrote:

> Having problems using pl2java. Using OAS 4.0.7 and Oracle 8.0.5.
> Installed the dbms_package to SYS on database. I'm getting the same
> java stack trace error no matter what the command line arguements are:
>
> ie: pl2java -help
> pl2java user/psswd_at_conctstr package_name
>
> stack trace is:
>
> $ pl2java
> java.util.NoSuchElementException
> at java.util.StringTokenizer.nextToken(StringTokenizer.java)
> at oracle.owas.nls.NLS_LANG.setValue(NLS_LANG.java:142)
> at oracle.owas.nls.NLS_LANG.<init>(NLS_LANG.java:45)
> at oracle.owas.nls.NLS_LANG.getCurrent(NLS_LANG.java:67)
> at
> oracle.owas.nls.CharacterSetManager.getCharacterSet(CharacterSetMana)
> at
> oracle.owas.nls.CharacterSetManager.getCharacterSet(CharacterSetMana)
> at
> oracle.owas.wrb.services.logger.OutputLogStream.<init>(OutputLogStre)
> at oracle.plsql.tools.pl2java.Main.setLogStream(Main.java:126)
> at oracle.plsql.tools.pl2java.Main.main(Main.java:373)
>
> I've checked that the CLASSPATH and PATH conatain the correct
> directories for the java classes and executables.
>
> Any suggestions as to where to look?
> Oracle support suggested abandoning pl2java ALL TOGETHER....?
> Thanks,
>
> --
> David Tatum
> Software Engineer
> Third Millennium Communications Inc.
> 125 Clairemont Ave. Suite 100
> Decatur, Ga 30030
> dtatum_at_3mc.com
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Sep 29 1999 - 21:24:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US