You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Pospisil, Pavel" <Po...@gedas.cz> on 2004/05/12 09:11:50 UTC

Compile SOAP 2.3.1 for ORACLE 8.1.7

Hello,

I try to use SOAP 2.3.1 withing oracle 8.1.7 (Java 1.2.2). 
I have still 2 problems:

1) If I run binaries from release version, my project is running and well
operate with ORACLE XML Parser v2 (except fault element -:( )
This version however not uses Base64Binary type (only Base64) for byte[].
I downloaded source and binaries from nightly build 2003-09-09 (this uses
already Base64Binary)

If I use these nightly build binaries in ORACLE JDeveloper 9.0.3
  a) I cannot use ORACLE XML Parser v2 because I get (with release version
this does not make !!):
  [SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing error, response
was:
Start of root element expected.;
targetException=oracle.xml.parser.v2.XMLParseException: Start of root
element expected.] 	

  So I changed parser to XERCES 1.3.1 (result is the same) 
  and last to XERCES 1.3.0 hurrah my project is again running.
  
  but in runtime i get:

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in : 
  'org/apache/soap/util/mime/MimeUtils.getContentType
(Ljava/lang/String;)Ljavax/mail/internet/ContentType;': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in : 
  'org/apache/soap/encoding/SOAPMappingRegistry.getBaseRegistry
(Ljava/lang/String;)Lorg/apache/soap/encoding/SOAPMappingRegistry;':
Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in : 
  'org/apache/soap/rpc/SOAPContext.<init> ()V': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

Exception in thread "main" A nonfatal internal JIT (3.10.107(x)) error
'chgTarg: Conditional' has occurred in : 
  'org/apache/soap/SOAPException.printStackTrace (Ljava/io/PrintStream;)V':
Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

my project is running but these errors are writing to ORACLE logs and are
very nasty.

2) So I take source from nightly build 09-09-2003 and tried to compile with
JDeveloper 9.0.3 and JDK 1.2.2 (ORACLE env) myself.
    I downloaded: mail.jar, activation.jar, bsf.jar .....
    But i am still not able to compile 
    Problem are com.ibm.network com.ibm.xmi ....
    I don't know where are these classes.
    
Why I cannot use Oracle XML Parser v2 ?
Why I am not able to compile SOAP 2.3.1 ?

I will be grateful for any help.
Regards 
Pavel


Re: Compile SOAP 2.3.1 for ORACLE 8.1.7

Posted by Scott Nichol <sn...@scottnichol.com>.
> 2) So I take source from nightly build 09-09-2003 and tried to compile with
> JDeveloper 9.0.3 and JDK 1.2.2 (ORACLE env) myself.
>     I downloaded: mail.jar, activation.jar, bsf.jar .....
>     But i am still not able to compile 
>     Problem are com.ibm.network com.ibm.xmi ....
>     I don't know where are these classes.

You should build using ant, and it should gracefully skip compilation of classes that depend on other classes you do not have.  You should not need those classes.  If you did need these, Oracle would have to include them in its distribution, so they would be on your system somewhere.

However, I understand that you may want to build a "complete" version.  The jars originally supplied by IBM can be found at, e.g., http://archive.apache.org/dist/ws/soap/version-2.2/.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

AW: Compile SOAP 2.3.1 for ORACLE 8.1.7

Posted by Malte Kempff <Ke...@medicalcolumbus.de>.
Hi Pavel,
I am really not an expert and cannot solve your problem. But the packages
you are missing seem to have something to do with WebSphere, the
applicationserver from IBM.

Malte

-----Ursprüngliche Nachricht-----
Von: Pospisil, Pavel [mailto:Pospisil@gedas.cz]
Gesendet: Mittwoch, 12. Mai 2004 09:12
An: soap-user@ws.apache.org
Betreff: Compile SOAP 2.3.1 for ORACLE 8.1.7


Hello,

I try to use SOAP 2.3.1 withing oracle 8.1.7 (Java 1.2.2).
I have still 2 problems:

1) If I run binaries from release version, my project is running and well
operate with ORACLE XML Parser v2 (except fault element -:( )
This version however not uses Base64Binary type (only Base64) for byte[].
I downloaded source and binaries from nightly build 2003-09-09 (this uses
already Base64Binary)

If I use these nightly build binaries in ORACLE JDeveloper 9.0.3
  a) I cannot use ORACLE XML Parser v2 because I get (with release version
this does not make !!):
  [SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing error, response
was:
Start of root element expected.;
targetException=oracle.xml.parser.v2.XMLParseException: Start of root
element expected.]

  So I changed parser to XERCES 1.3.1 (result is the same)
  and last to XERCES 1.3.0 hurrah my project is again running.

  but in runtime i get:

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/soap/util/mime/MimeUtils.getContentType
(Ljava/lang/String;)Ljavax/mail/internet/ContentType;': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/soap/encoding/SOAPMappingRegistry.getBaseRegistry
(Ljava/lang/String;)Lorg/apache/soap/encoding/SOAPMappingRegistry;':
Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/soap/rpc/SOAPContext.<init> ()V': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

Exception in thread "main" A nonfatal internal JIT (3.10.107(x)) error
'chgTarg: Conditional' has occurred in :
  'org/apache/soap/SOAPException.printStackTrace (Ljava/io/PrintStream;)V':
Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

my project is running but these errors are writing to ORACLE logs and are
very nasty.

2) So I take source from nightly build 09-09-2003 and tried to compile with
JDeveloper 9.0.3 and JDK 1.2.2 (ORACLE env) myself.
    I downloaded: mail.jar, activation.jar, bsf.jar .....
    But i am still not able to compile
    Problem are com.ibm.network com.ibm.xmi ....
    I don't know where are these classes.

Why I cannot use Oracle XML Parser v2 ?
Why I am not able to compile SOAP 2.3.1 ?

I will be grateful for any help.
Regards
Pavel