[jacorb-developer] Exception in thread "main" org.omg.CORBA.OBJECT_NOT_EXIST: Server-side Exception: null

Ram Naik ram at omnipayments.com
Tue Aug 6 23:37:38 CEST 2013


Hello,

I need to tell one thing the jacorb version 2.2 is working with OLD corba
version.  We have installed new corba version on server side and same
jacorb is not working with new corba version. I used new jacorb version but
it is giving following error messages.


Thank you for the help.

I tried it but it is not working :(

C:\RAMN\RAM\HUB\TESTINGTOOL\TVTester> java -cp
.;lib\slf4j-api-1.6.4.jar;lib\slf
4j-jdk14-1.6.4.jar;lib\jacorb.jar;lib\slf4j-jdk14-1.7.5.jar;lib\slf4j-simple-1.7
.5.jar -jar TVTester.jar signon-csr-bladeTest.xml
signon-csr-bladeTestOut.xml
-- Reading input from
C:\RAMN\RAM\HUB\TESTINGTOOL\TVTester\signon-csr-bladeTest.
xml -
---- SENDING -----
<IFX xmlns="http://www.popularinc.com" xmlns:ifx="
http://www.ifxforum.org/1.5">
  <SignonRq>
    <ifx:SignonPswd>
      <ifx:SignonRole>CSR</ifx:SignonRole>
      <ifx:CustId>
        <ifx:SPName>popularinc.com</ifx:SPName>
        <ifx:CustLoginId>user_0</ifx:CustLoginId>
      </ifx:CustId>
      <ifx:CustPswd>
        <ifx:CryptType>none</ifx:CryptType>
        <ifx:Pswd>oc at 123</ifx:Pswd>
      </ifx:CustPswd>
      <ifx:GenSessKey>1</ifx:GenSessKey>
    </ifx:SignonPswd>
    <ifx:ClientDt>2013-07-31</ifx:ClientDt>
    <ifx:CustLangPref>en-us</ifx:CustLangPref>
        <ifx:ClientApp>
                <ifx:Org>Popular</ifx:Org>
                <ifx:Name>MIBANCO</ifx:Name>
                <ifx:Version>1</ifx:Version>
        </ifx:ClientApp>
  </SignonRq>
</IFX>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFacto
ry
        at
org.jacorb.config.JacORBConfiguration.getLogger(JacORBConfiguration.j
ava:783)
        at
org.jacorb.config.JacORBConfiguration.<init>(JacORBConfiguration.java
:229)
        at
org.jacorb.config.JacORBConfiguration.getConfiguration(JacORBConfigur
ation.java:206)
        at org.jacorb.orb.ORB.set_parameters(ORB.java:1813)
        at org.omg.CORBA.ORB.init(ORB.java:337)
        at TVCORBAInterface.<init>(TVCORBAInterface.java:42)
        at CorbaTester.main(CorbaTester.java:53)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 7 more


Thanks and  Regards,
Ram








On Tue, Aug 6, 2013 at 5:28 PM, Amadeu Andrade Barbosa Junior <
amadeu at tecgraf.puc-rio.br> wrote:

> You have to put all jar files in your classpath! In Java, AFAIK the
> CLASSPATH system variable doesn't load the jars in that directories
> automatically.
> You should list the complete path for all .jar files (one by one) in your
> classpath.
>
> cd C:\RAMN\RAM\HUB\TESTINGTOOL\TVTester
> java -cp
> .;lib\slf4j-api-1.6.4.jar;lib\slf4j-jdk14-1.6.4.jar;lib\jacorb.jar -jar
> TVTester.jar
>
> Try it, please.
>
> Regards,
> Amadeu
>
> On Aug 6, 2013, at 4:37 PM, Ram Naik <ram at omnipayments.com> wrote:
> > Hello,
> >
> > I have set classpath. please look at this
> >
> > C:\RAMN\RAM\HUB\TESTINGTOOL\TVTester>set CLASSPATH
> > CLASSPATH=C:\Sun\SDK\lib;C:\RAMN\RAM\HUB\TESTINGTOOL\TVTester\lib
> >
> > Could you please help on this.?
> >
> > Thanks and Regards,
> > Ram
> >
> >
> > On Tue, Aug 6, 2013 at 3:20 PM, Amadeu Andrade Barbosa Junior <
> > amadeu at tecgraf.puc-rio.br> wrote:
> >
> >> Hi,
> >>
> >> This is a classpath problem with your environment, because:
> >>
> >>> Exception in thread "main" java.lang.NoClassDefFoundError:
> >>> org/slf4j/LoggerFactory
> >>
> >>
> >> You aren't filling the classpath needed by SLF4J (logging framework).
> >> Be sure that you're using -Djava.endorsed.dirs and -cp arguments in your
> >> JVM.
> >>
> >> Regards,
> >> Amadeu
> >>
> >> On Aug 6, 2013, at 3:53 PM, Ram Naik <ram at omnipayments.com> wrote:
> >>> Hello Nick,
> >>>
> >>> I am using new lib for jacorb.jar list of libraries are :
> >>> - slf4j-api-1.6.4.jar
> >>> - slf4j-jdk14-1.6.4.jar
> >>> - jacorb.jar
> >>>
> >>>
> >>> Here is the output :
> >>>
> >>> C:\RAM N\RAM\HUB\TESTING TOOL\TVTester>java -jar TVTester.jar
> >>> signon-csr-bladeTe
> >>> st.xml  signon-csr-bladeTestOut.xml
> >>> -- Reading input from C:\RAM N\RAM\HUB\TESTING
> >>> TOOL\TVTester\signon-csr-bladeTes
> >>> t.xml -
> >>> ---- SENDING -----
> >>> <IFX xmlns="http://www.popularinc.com" xmlns:ifx="
> >>> http://www.ifxforum.org/1.5">
> >>> <SignonRq>
> >>>   <ifx:SignonPswd>
> >>>     <ifx:SignonRole>CSR</ifx:SignonRole>
> >>>     <ifx:CustId>
> >>>       <ifx:SPName>popularinc.com</ifx:SPName>
> >>>       <ifx:CustLoginId>user_0</ifx:CustLoginId>
> >>>     </ifx:CustId>
> >>>     <ifx:CustPswd>
> >>>       <ifx:CryptType>none</ifx:CryptType>
> >>>       <ifx:Pswd>oc at 123</ifx:Pswd>
> >>>     </ifx:CustPswd>
> >>>     <ifx:GenSessKey>1</ifx:GenSessKey>
> >>>   </ifx:SignonPswd>
> >>>   <ifx:ClientDt>2013-07-31</ifx:ClientDt>
> >>>   <ifx:CustLangPref>en-us</ifx:CustLangPref>
> >>>       <ifx:ClientApp>
> >>>               <ifx:Org>Popular</ifx:Org>
> >>>               <ifx:Name>MIBANCO</ifx:Name>
> >>>               <ifx:Version>1</ifx:Version>
> >>>       </ifx:ClientApp>
> >>> </SignonRq>
> >>> </IFX>
> >>> Exception in thread "main" java.lang.NoClassDefFoundError:
> >>> org/slf4j/LoggerFacto
> >>> ry
> >>>       at
> >>> org.jacorb.config.JacORBConfiguration.getLogger(JacORBConfiguration.j
> >>> ava:762)
> >>>       at
> >>> org.jacorb.config.JacORBConfiguration.<init>(JacORBConfiguration.java
> >>> :208)
> >>>       at
> >>> org.jacorb.config.JacORBConfiguration.getConfiguration(JacORBConfigur
> >>> ation.java:185)
> >>>       at org.jacorb.orb.ORB.set_parameters(ORB.java:1589)
> >>>       at org.omg.CORBA.ORB.init(ORB.java:337)
> >>>       at TVCORBAInterface.<init>(TVCORBAInterface.java:42)
> >>>       at CorbaTester.main(CorbaTester.java:53)
> >>> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> >>>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >>>       at java.security.AccessController.doPrivileged(Native Method)
> >>>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >>>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >>>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >>>       ... 7 more
> >>>
> >>>
> >>> Thanks and Regards,
> >>> Ram
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Tue, Aug 6, 2013 at 1:34 PM, Nick Cross <jacorb at goots.org> wrote:
> >>>
> >>>>
> >>>>
> >>>> Please retest using the current version.
> >>>>
> >>>> Regards
> >>>>
> >>>> Nick
> >>>>
> >>>>
> >>>> On 06/08/13 17:13, Ram Naik wrote:
> >>>>
> >>>>> Hello Nick,
> >>>>> I checked the naming service is configured.
> >>>>> We are doing the cerfitication of product but it is not working could
> >>>>> you please help me on this.
> >>>>> This is the error message :
> >>>>> </IFX>
> >>>>> [jacorb.orb] INFO :
> >>>>>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
> >>>>> ~~
> >>>>>        JacORB V 2.2.2, www.jacorb.org <http://www.jacorb.org>
> >>>>>
> >>>>>        (C) The JacORB project 1-Jun-2005
> >>>>>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
> >>>>> ~~
> >>>>> [jacorb.orb.giop] DEBUG : Maximum connection threads: 1000
> >>>>> [jacorb.orb] INFO : Property "jacorb.hashtable_class" not present.
> Will
> >>>>> use defa
> >>>>> ult hashtable implementation
> >>>>> [jacorb.orb.delegate] DEBUG : Delegate.getReference with POA < empty>
> >>>>> [jacorb.orb.delegate] DEBUG : trying is_a remotely
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.orb.giop] INFO : ClientConnectionManager: created new conn to
> >>>>> target 10.
> >>>>> 254.12.33:4000
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.orb.policies] DEBUG : get_policy_overrides returns 0 policies
> >>>>> [jacorb.giop.conn] DEBUG : No CodeSetComponentInfo in IOR. Will use
> >>>>> default Code
> >>>>> Sets
> >>>>> [jacorb.giop.conn] DEBUG : Successfully negotiated Codesets. Using
> >>>>> ISO-8859-1 as
> >>>>> TCS and UTF-16 as TCSW
> >>>>> [jacorb.orb.iiop] DEBUG : Trying to connect to 10.254.12.33:4000
> >>>>> <http://10.254.12.33:4000> with timeout=0
> >>>>>
> >>>>> [jacorb.orb.iiop] INFO : Connected to 10.254.12.33:4000
> >>>>> <http://10.254.12.33:4000> from local port 65285
> >>>>>
> >>>>> Exception in thread "main" org.omg.CORBA.COMM_FAILURE: Server-side
> >>>>> Exception: nu
> >>>>> ll  vmcid: 0x4e530000  minor code: 1200  completed: No
> >>>>>        at
> >>>>> sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native
> >> Method)
> >>>>>        at
> >>>>>
> >>
> sun.reflect.**NativeConstructorAccessorImpl.**newInstance(NativeConstruct
> >>>>> orAccessorImpl.java:39)
> >>>>>        at
> >>>>>
> >>
> sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(DelegatingC
> >>>>> onstructorAccessorImpl.java:**27)
> >>>>>        at
> >> java.lang.reflect.Constructor.**newInstance(Constructor.java:
> >>>>> **513)
> >>>>>        at org.jacorb.orb.**SystemExceptionHelper.read(**Unknown
> >> Source)
> >>>>>        at org.jacorb.orb.ReplyReceiver.**getReply(Unknown Source)
> >>>>>        at org.jacorb.orb.Delegate.**invoke_internal(Unknown Source)
> >>>>>        at org.jacorb.orb.Delegate.**invoke(Unknown Source)
> >>>>>        at org.jacorb.orb.Delegate.is_a(**Unknown Source)
> >>>>>        at org.omg.CORBA.portable.**ObjectImpl._is_a(ObjectImpl.**
> >>>>> java:112)
> >>>>>        at
> >>>>>
> >>
> org.omg.CosNaming.**NamingContextExtHelper.narrow(**NamingContextExtHelpe
> >>>>> r.java:73)
> >>>>>        at TVCORBAInterface.<init>(**TVCORBAInterface.java:43)
> >>>>>        at CorbaTester.main(CorbaTester.**java:53)
> >>>>> Thanks and Regards,
> >>>>> Ram
> >>>>>
> >>>>>
> >>>>> On Tue, Aug 6, 2013 at 8:44 AM, Ram Naik <ram at omnipayments.com
> >>>>> <mailto:ram at omnipayments.com>> wrote:
> >>>>>
> >>>>>   Hello Nick,
> >>>>>   Thank you for reply. Server is running state.   Let me check the
> >>>>>   naming service in db what is configured in server side.
> >>>>>   Thanks and Regards,
> >>>>>   Ram
> >>>>>
> >>>>>
> >>>>>   On Tue, Aug 6, 2013 at 5:37 AM, Nick Cross <jacorb at goots.org
> >>>>>   <mailto:jacorb at goots.org>> wrote:
> >>>>>
> >>>>>       Hi,
> >>>>>
> >>>>>       Looks like your server isn't running? And are you using an
> older
> >>>>>       version of JacORB ?
> >>>>>
> >>>>>       Regards
> >>>>>
> >>>>>       Nick
> >>>>>
> >>>>>
> >>>>>
> >>>>>       On 06/08/13 03:25, Ram Naik wrote:
> >>>>>
> >>>>>           Repsected Sir,
> >>>>>
> >>>>>           I am trying to execute my jar file with CORBA and I am
> >>>>>           getting the
> >>>>>           following issue.
> >>>>>
> >>>>>           Could you please help me on this asap
> >>>>>
> >>>>>           Exception in thread "main" org.omg.CORBA.OBJECT_NOT___**
> >>>>> EXIST:
> >>>>>
> >>>>>           Server-side
> >>>>>           Exception: null  vmcid: 0x4e530000  minor code: 1109
> >>>>>             completed: No
> >>>>>                     at
> >>>>>           sun.reflect.__**NativeConstructorAccessorImpl.**
> >>>>> __newInstance0(Native
> >>>>>           Method)
> >>>>>                     at
> >>>>>           sun.reflect.__**NativeConstructorAccessorImpl.**
> >>>>> __newInstance(NativeConstruct
> >>>>>           orAccessorImpl.java:39)
> >>>>>                     at
> >>>>>           sun.reflect.__**DelegatingConstructorAccessorI**
> >>>>> __mpl.newInstance(DelegatingC
> >>>>>           onstructorAccessorImpl.java:__**27)
> >>>>>                     at
> >>>>>
> java.lang.reflect.Constructor.**__newInstance(Constructor.**
> >>>>> java:__513)
> >>>>>                     at
> >>>>>           org.jacorb.orb.__**SystemExceptionHelper.read(__**Unknown
> >>>>> Source)
> >>>>>                     at org.jacorb.orb.ReplyReceiver._**
> >>>>> _getReply(Unknown
> >>>>>           Source)
> >>>>>                     at
> >>>>>           org.jacorb.orb.Delegate.__**invoke_internal(Unknown Source)
> >>>>>                     at org.jacorb.orb.Delegate.__**invoke(Unknown
> >>>>> Source)
> >>>>>                     at org.jacorb.orb.Delegate.is_a(_**_Unknown
> >> Source)
> >>>>>                     at
> >>>>>           org.omg.CORBA.portable.__**ObjectImpl._is_a(ObjectImpl.__**
> >>>>> java:112)
> >>>>>                     at
> >>>>>           org.omg.CosNaming.__**NamingContextExtHelper.narrow(**
> >>>>> __NamingContextExtHelpe
> >>>>>           r.java:73)
> >>>>>                     at TVCORBAInterface.<init>(__**
> >>>>> TVCORBAInterface.java:43)
> >>>>>                     at CorbaTester.main(CorbaTester._**_java:53)
> >>>>>
> >>>>>           Thanks and Regards,
> >>>>>           Ram
> >>>>>           ______________________________**___________________
> >>>>>           jacorb-developer maillist  -
> >>>>>           jacorb-developer at lists.spline.**__inf.fu-berlin.de
> >>>>>           <mailto:jacorb-developer@**lists.spline.inf.fu-berlin.de<
> >> jacorb-developer at lists.spline.inf.fu-berlin.de>
> >>>>>>
> >>>>>           https://lists.spline.inf.fu-__**
> >> berlin.de/mailman/listinfo/__
> >>>>> **jacorb-developer<
> >>
> https://lists.spline.inf.fu-__berlin.de/mailman/listinfo/__jacorb-developer
> >>>
> >>>>>           <https://lists.spline.inf.fu-**
> >> berlin.de/mailman/listinfo/**
> >>>>> jacorb-developer<
> >> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> >
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>> _______________________________________________
> >>> jacorb-developer maillist  -
> >> jacorb-developer at lists.spline.inf.fu-berlin.de
> >>>
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> >> _______________________________________________
> >> jacorb-developer maillist  -
> >> jacorb-developer at lists.spline.inf.fu-berlin.de
> >> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> >>
> > _______________________________________________
> > jacorb-developer maillist  -
> jacorb-developer at lists.spline.inf.fu-berlin.de
> > https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
> _______________________________________________
> jacorb-developer maillist  -
> jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>


More information about the jacorb-developer mailing list