ERROR: org.omg.CORBA.DATA_CONVERSION
Halil AKINCI <[email protected]> Wed, 20 Nov 2002 14:26:00 +0200
| Newsgroups | gmane.comp.java.sun.idl.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C290A0.C004C3A0
Content-Type: text/plain;
charset="windows-1254"
Content-Transfer-Encoding: quoted-printable
Hi,
I developed a "servlet-to-CORBA " intercommunication application. In =
this application; I defined a data type in IDL (struct OwnerInfo). In =
the implementation (servant) code, I connect an Access database, execute =
a query, and create a ResultSet. Then I designated the ResultSet =
information to OwnerInfo attribute. For example:=20
OwnerInfo.Name =3D rset.getString("Name");
OwnerInfo.taxno =3D rset.getString("TaxNumber");
This is the OwnerInfo:
struct OwnerInfo {
string Name;
string taxno;
string address;
}
=20
and When I started to application, following error message displayed on =
the tomcat DOS console:
org.omg.CORBA.DATA_CONVERSION: wmcid : OMG minor code : 1 completed : No
at sun.reflect.GeneratedConstructorAccessor9.newInstanse(Unknown Source)
...
...
...
How can I correct this error? Can anyone help me?
------=_NextPart_000_0009_01C290A0.C004C3A0
Content-Type: text/html;
charset="windows-1254"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1254">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I developed a "servlet-to-CORBA "=20
intercommunication application. In this application; I defined a data =
type in=20
IDL (struct OwnerInfo). In the implementation (servant) code, =
I connect an=20
Access database, execute a query, and create a ResultSet. </FONT><FONT=20
face=3DArial size=3D2>Then I designated the ResultSet =
information to=20
OwnerInfo attribute. </FONT><FONT face=3DArial size=3D2>For =
example:=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>OwnerInfo.Name =3D=20
rset.getString("Name");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>OwnerInfo.taxno =3D=20
rset.getString("TaxNumber");</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This is the OwnerInfo:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>struct OwnerInfo {</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> string Name;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> string taxno;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> string =
address;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> and When I started to =
application, following=20
error message displayed on the tomcat DOS console:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>org.omg.CORBA.DATA_CONVERSION: wmcid : =
OMG minor=20
code : 1 completed : No</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at=20
sun.reflect.GeneratedConstructorAccessor9.newInstanse(Unknown=20
Source)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How can I correct this error? Can =
anyone help=20
me?</FONT></DIV></BODY></HTML>
------=_NextPart_000_0009_01C290A0.C004C3A0--
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff IDL-USERS". For general help, send email to
[email protected] and include in the body of the message "help".