You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Miguel Angel Urrutia Soler <ur...@hotmail.com> on 2002/04/04 05:44:16 UTC
xupdate problem with jdk1.4
Hi All:
I recompile the xindice 1.0 (Birthday) using jdk1.4.0, everything works fine but xupdate... when a call the update method from the XUpdateQueryService a get this exception:
org.omg.CORBA.UNKNOWN: Server Exception: Unregistered vendor exception #0
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.openorb.CORBA.SystemExceptionHelper.create(SystemExceptionHelper.java:349)
at org.openorb.iiop.IIOPClientRequest.wait_for_response(IIOPClientRequest.java:491)
at org.openorb.CORBA.Delegate.invoke(Delegate.java:733)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:77)
at org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_CollectionStub.java:820)
at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:165)
at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:185)
at dbxmltest.Test2.main(Test2.java:41)
anyone else had been working with a jdk1.4 or knows how i can resolve this? This just happen when recompile xindice with 1.4...
Miguel Angel Urrutia
Re: xupdate problem with jdk1.4
Posted by Miguel Angel Urrutia Soler <ur...@hotmail.com>.
i made it works... the problem seems to be the new xalan-2.3.1 and/or
xerces-2.0.1 jars, replacing these versions with the old ones (xalan-2.0.1
and xerces-1.4.3) in the xindice's lib directory and the java lib's endorsed
directory seems works fine to me... I didn't go deeper to find if both of
them or just one cause the problem... maybe later.
thanks kimbro by your comment on the cvs commit mail... that had the
answer...
Miguel Angel Urrutia
----- Original Message -----
From: "Dominic Gamble" <do...@stratlink.com.au>
To: <xi...@xml.apache.org>
Sent: Friday, April 05, 2002 5:14 AM
Subject: Re: xupdate problem with jdk1.4
> I've had the exact same problem as you.
>
> I tried and tried rearranging libraries to get XUpdate to work with
> JDK1.4, but could not get it to work. I downgraded to jdk1.3.1_02, and
> everything worked perfectly after that.
>
> If you do manage to get it working, I would love to hear about how you
> did it!
>
> Regards,
> Dominic Gamble
>
>
>
> On Thu, 2002-04-04 at 13:44, Miguel Angel Urrutia Soler wrote:
> > Hi All:
> > I recompile the xindice 1.0 (Birthday) using jdk1.4.0, everything
works fine but xupdate... when a call the update method from the
XUpdateQueryService a get this exception:
> >
> > org.omg.CORBA.UNKNOWN: Server Exception: Unregistered vendor exception
#0
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
> > at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
> > at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > at
org.openorb.CORBA.SystemExceptionHelper.create(SystemExceptionHelper.java:34
9)
> > at
org.openorb.iiop.IIOPClientRequest.wait_for_response(IIOPClientRequest.java:
491)
> > at org.openorb.CORBA.Delegate.invoke(Delegate.java:733)
> > at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:77)
> > at
org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_Collecti
onStub.java:820)
> > at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResul
t(XUpdateQueryServiceImpl.java:165)
> > at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpd
ateQueryServiceImpl.java:185)
> > at dbxmltest.Test2.main(Test2.java:41)
> >
> > anyone else had been working with a jdk1.4 or knows how i can resolve
this? This just happen when recompile xindice with 1.4...
> >
> > Miguel Angel Urrutia
> >
>
>
>
Re: xupdate problem with jdk1.4
Posted by "Mark J. Stang" <ma...@earthlink.net>.
Dominic,
Have you tried this:
> Earlier, Kimbro Staken <ks...@xmldatabases.org> wrote:
>
> > Is this on 1.4 VM? If so you need to use the endorsed standards
> > override mechanism to use the older version of Xalan included with
> > Xindice·
> > http://java.sun.com/j2se/1.4/docs/guide/standards/index.html
>
HTH,
Mark
Dominic Gamble wrote:
> I've had the exact same problem as you.
>
> I tried and tried rearranging libraries to get XUpdate to work with
> JDK1.4, but could not get it to work. I downgraded to jdk1.3.1_02, and
> everything worked perfectly after that.
>
> If you do manage to get it working, I would love to hear about how you
> did it!
>
> Regards,
> Dominic Gamble
>
> On Thu, 2002-04-04 at 13:44, Miguel Angel Urrutia Soler wrote:
> > Hi All:
> > I recompile the xindice 1.0 (Birthday) using jdk1.4.0, everything works fine but xupdate... when a call the update method from the XUpdateQueryService a get this exception:
> >
> > org.omg.CORBA.UNKNOWN: Server Exception: Unregistered vendor exception #0
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > at org.openorb.CORBA.SystemExceptionHelper.create(SystemExceptionHelper.java:349)
> > at org.openorb.iiop.IIOPClientRequest.wait_for_response(IIOPClientRequest.java:491)
> > at org.openorb.CORBA.Delegate.invoke(Delegate.java:733)
> > at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:77)
> > at org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_CollectionStub.java:820)
> > at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:165)
> > at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:185)
> > at dbxmltest.Test2.main(Test2.java:41)
> >
> > anyone else had been working with a jdk1.4 or knows how i can resolve this? This just happen when recompile xindice with 1.4...
> >
> > Miguel Angel Urrutia
> >
Re: xupdate problem with jdk1.4
Posted by Dominic Gamble <do...@stratlink.com.au>.
I've had the exact same problem as you.
I tried and tried rearranging libraries to get XUpdate to work with
JDK1.4, but could not get it to work. I downgraded to jdk1.3.1_02, and
everything worked perfectly after that.
If you do manage to get it working, I would love to hear about how you
did it!
Regards,
Dominic Gamble
On Thu, 2002-04-04 at 13:44, Miguel Angel Urrutia Soler wrote:
> Hi All:
> I recompile the xindice 1.0 (Birthday) using jdk1.4.0, everything works fine but xupdate... when a call the update method from the XUpdateQueryService a get this exception:
>
> org.omg.CORBA.UNKNOWN: Server Exception: Unregistered vendor exception #0
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at org.openorb.CORBA.SystemExceptionHelper.create(SystemExceptionHelper.java:349)
> at org.openorb.iiop.IIOPClientRequest.wait_for_response(IIOPClientRequest.java:491)
> at org.openorb.CORBA.Delegate.invoke(Delegate.java:733)
> at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:77)
> at org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_CollectionStub.java:820)
> at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:165)
> at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:185)
> at dbxmltest.Test2.main(Test2.java:41)
>
> anyone else had been working with a jdk1.4 or knows how i can resolve this? This just happen when recompile xindice with 1.4...
>
> Miguel Angel Urrutia
>