YenFen Hsu | 1 Dec 2003 02:50
Favicon

org.omg.CORBA.UNKNOWN vmcid: 0x0 minor code: 0 completed: No

Hi,

I'm using ORBAcus 4.0.5 for java on Solaris 8 inside a jboss J2EE container. 
The applicaiton takes parameters from a Servlet and passes the values to a CORBA stub in jboss DAO layer. The
CORBA Server is on the same machine.

I'm getting CORBA UNKNOWN exception at com.ooc.OB.Util.unmarshalSystemException(Util.java:272).
This method basically takes 3 Strings and none of them is null. The exception doesn't happen to another
method in the same stub. 
Any idea on what went wrong?   At the bottom is the complete track trace.

Thanks,
YenFen Hsu

Caused by: org.omg.CORBA.UNKNOWN  vmcid: 0x0  minor code: 0  completed: No
        at com.ooc.OB.Util.unmarshalSystemException(Util.java:272)
        at com.ooc.OB.GIOPClientWorker.execute(GIOPClientWorker.java:570)
        at com.ooc.OB.GIOPClientWorkerBlocking.receiveNoSync(GIOPClientWorkerBlocking.java:370)
        at com.ooc.OB.GIOPClientWorkerBlocking.sendReceive(GIOPClientWorkerBlocking.java:420)
        at com.ooc.OB.Downcall.request(Downcall.java:313)
        at com.ooc.OB.DowncallStub.invoke(DowncallStub.java:560)
        at com.ooc.CORBA.Delegate.invoke(Delegate.java:556)
        at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
        at com.sylantro.CTC_TELCORDIA._ctcTelcordiaStub.UserDirectedRoutingRequest(_ctcTelcordiaStub.java:114)
        at com.sylantro.wmi.ejb.application.clicktocall.dao.ClickToCallManagerDAOImpl.notifyUserDirectedRouting(Cl
ickToCallManagerDAOImpl.java:261)
        at com.sylantro.wmi.ejb.application.clicktocall.ClickToCallManagerEJB.notifyUserDirectedRouting(ClickToCal
lManagerEJB.java:507)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
(Continue reading)

David Weir | 1 Dec 2003 15:30
Favicon

Re: ServiceName

Hello,

On Sat, Nov 29, 2003 at 01:41:10PM -0600, Armando Fausto Flores wrote:
> How can I use in my  client class a context  binded in the server class. I want 
> to use it to bind a corba object from my client class at the ServiceName service?
>  
> I am using jdk1.3.1, ob4.0.1
>  
> Thank you in advance. 
> 

I suggest that you take a look at the "naming" demo in the Orbacus distribution. 
What you have described above is the basic functionality of the naming service and 
would be best explained by the standard demo (OB-4.0.1/naming/demo).

Cheers,
Dave

--

-- 
David Weir                          
Team Orbacus - Your CORBA Source
E-Mail: david.weir <at> iona.com
Phone: (709) 738-3725 x20
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

(Continue reading)

Mark | 1 Dec 2003 17:53
Picon
Favicon

SOAP client calling a CORBA SERVICE

Hi
I am calling a CORBA (orbacus 4.1) service thru a SOAP(axis) client, its working. I am trying out the hello world example in the orbacus manual. I wrote the WSDL for the CORBA service and deployed it in soap-tomcat. When I deploy the wsdl for the "server" then there is no problem. But ideally the hello class should be deployed. But if i deploy it then gives me a cannot instantiate error in the soap call.invoke(...) line?
 
What exact corba class - i.e. hello_impl or hello or server  - should I deploy in soap client? i.e. for which exact corba class should i write a wsdl?
 
thanks

Brent Eagles <brent.eagles <at> iona.com> wrote:
Mark wrote:

> Hi Brent
> It doesn't seem to be working...the method calls also seem to be static
> in the test/main suite. will u be able to give a code simple example for
> a dynamic call ? I am sure that will be useful to a lot of people...
>
> thanks in advance..

See my previous email. I recommend looking at the typed event channel
implementation for an example that is pretty much as dynamic as it gets.

Best regards

Brent

--
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

Do you Yahoo!?
Free Pop-Up Blocker - Get it now
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
Martin Simmons | 3 Dec 2003 14:19
Favicon

Re: Servant Invocation related

>>>>> On Wed, 26 Nov 2003 21:59:25 +0530, "Mayank Mishra" <mayank_mishra <at> da-iict.org> said:

  Mayank> I have some doubts , please clearify them.

  Mayank> 1. Before dispatching the request,Does client site ORB verify that 
  Mayank> ObjectID in IOR at particular host:port exist or not? I have a look at 
  Mayank> class com.ooc.OB.DowncallStub ,it has setupRequest() method, but i am 
  Mayank> not sure whether it does the same job, or other class or none?

I can't speak for Orbacus, but there is no need for an ORB to do this.  The
server side will return an error code if the object doesn't exist, so there
isn't much point in checking.

  Mayank> 2. Does IOR is also passed along with the method name and parameter 
  Mayank> values to the Server ORB.

Not the whole IOR, just the object_key for that server.

  Mayank> Actually ,if the server does not listen to the particular port, i want 
  Mayank> to change the port of request or redirect the same request to another 
  Mayank> port.

Possibly Orbacus supports IORs with multiple profiles or components?

--

-- 
Martin Simmons
Xanalys Ltd, Compass House, Vision Park
Histon, Cambridge CB4 9AD, England.
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Vinod Gandikota | 4 Dec 2003 14:29

Question regarding CORBA_NO_RESPONSE



Hi,

I have a client that makes multiple simultaneous calls to a CORBA server with a request timeout of 30 seconds. When everything is working fine, I usually see a response within couple of seconds. In the worst case (if the server is taking too long), my client catches a CORBA_NO_RESPONSE exception after 30 seconds. Recently I have noticed a peculiar behavior where my client is catching CORBA_NO_RESPONSE exception on all the outstanding requests to the server (as if someone severed the connection) at exactly the same moment (so, some calls seem to be timing out in 20 seconds, some in 12 seconds and even some in just couple of seconds...please remember that the set timeout onm these requests is 30 seconds). What would cause this behavior? I have confirmed that the server is receiving all the requests, but the client isn't receiving any response from the  server and it is receiving CORBA_NO_RESPONSE before the set timeout.
Does this mean that the server is resetting all the connections or the client is resetting them? Please remember that the client is receiving bunch of NO_RESPONSE exceptions exactly at the same moment. Also, note that the situation corrects itself without restarting either the server or my client and the same thing happens after maybe few days.
I am trying to monitor the network traffic for further clues.

Thanks for your response.

-Vinod



_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
Brent Eagles | 4 Dec 2003 19:40
Favicon

Re: Re: Servant Invocation related

Mayank Mishra wrote:
> Hi all,
> 
> Is any thing wrong with my question, please atleast clear some doubts 
> in case not all are wrong.
> 
> Thanking You in advance,
> Mayank Mishra.
> 
> 
>>Hi Friends,
>>
>>I have some doubts , please clearify them.
>>
>>1. Before dispatching the request,Does client site ORB verify that 
>>ObjectID in IOR at particular host:port exist or not? I have a look 
> 
> at 
> 
>>class com.ooc.OB.DowncallStub ,it has setupRequest() method, but i am 
>>not sure whether it does the same job, or other class or none?

Only the server can determine whether or not an object exists, so the 
checking is done when the call is made.

>>2. Does IOR is also passed along with the method name and parameter 
>>values to the Server ORB.I think Request would be consisting of 
>>IOR,Op name and Arguments and other context info.

Why do you feel that the IOR should be part of the request?

>>Actually ,if the server does not listen to the particular port, i 
> 
> want 
> 
>>to change the port of request or redirect the same request to another 
>>port.I know that can be done with Location_Forward, but is that can 
>>be doneat the Server side.

Orbacus supports multi-profile IORs which can be used for this.  Plase 
consult the Orbacus documentation.

>>3.Please tell me how the Server ORB which handles the 
>>request stream?
>>
>>Thanking You in advance.
>>
>>With Regards,
>>Mayank Mishra.

I'm not sure I understand this last question.  If you are wondering how 
the ORB works, you can get a conceptual idea from the Orbacus 
documentation and the CORBA specification.  If you want detailed 
explanation, the best thing is to simply trace through the code.

Best rergards,

Brent

--

-- 
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Brent Eagles | 4 Dec 2003 19:47
Favicon

Re: Question regarding CORBA_NO_RESPONSE

Vinod Gandikota wrote:
> 
> 
> Hi,
> 
> I have a client that makes multiple simultaneous calls to a CORBA server 
> with a request timeout of 30 seconds. When everything is working fine, I 
> usually see a response within couple of seconds. In the worst case (if 
> the server is taking too long), my client catches a CORBA_NO_RESPONSE 
> exception after 30 seconds. Recently I have noticed a peculiar behavior 
> where my client is catching CORBA_NO_RESPONSE exception on all the 
> outstanding requests to the server (as if someone severed the 
> connection) at exactly the same moment (so, some calls seem to be timing 
> out in 20 seconds, some in 12 seconds and even some in just couple of 
> seconds...please remember that the set timeout onm these requests is 30 
> seconds). What would cause this behavior? I have confirmed that the 
> server is receiving all the requests, but the client isn't receiving any 
> response from the  server and it is receiving CORBA_NO_RESPONSE before 
> the set timeout.
> Does this mean that the server is resetting all the connections or the 
> client is resetting them? Please remember that the client is receiving 
> bunch of NO_RESPONSE exceptions exactly at the same moment. Also, note 
> that the situation corrects itself without restarting either the server 
> or my client and the same thing happens after maybe few days.
> I am trying to monitor the network traffic for further clues.
> 
> Thanks for your response.
> 
> -Vinod

Are all of the requests from the client to the same server?  Are there 
any policies or properties being set on the server that we should know 
about?

Its also useful for us to know what version of Orbacus you are using and 
  the OS and compiler version of your host systems.

Best regards,

Brent

--

-- 
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Brent Eagles | 4 Dec 2003 20:01
Favicon

Re: a bug in package JOB-4.1.2

ken wrote:
> ob-users,hi!
> 
> 	i unpackage JOB-4.1.2 . then start making all sources.
> 	when I make test/pi application , there is a error when compile *java.
> 	the message from compiler:
> 	
> 	generated/test/pi/MyClientPolicyOperations.java:22: cannot resolve symbol
> 	symbol  : class PolicyOperations 	
> 	location: package CORBA
> 	public interface MyClientPolicyOperations extends test.pi.CORBA.PolicyOperations
>                                                                ^
> 	generated/test/pi/MyClientPolicy.java:23: cannot resolve symbol
> 	symbol  : class Policy
> 	location: package CORBA
>     test.pi.CORBA.Policy
> 
> 	i check the TestPolicy.idl
> 	it's defined as 
> 		local interface MyClientPolicy : CORBA::Policy
> 		{
>    		 readonly attribute long value;
> 		};
> 
> 
> 	i think maybe jidl translate wrong , why MyClientPolicyOperations don't derived from 
> 	omg.org.CORBA correctly , but test.pi.CORBA ?
> 
> 	what's wrong with JIDL translation ? 
> 
> ken

If you are using JDK 1.4, you need to enable the Xbootclasspath argument 
for building Orbacus.  See the release README and INSTALL files and 
remove the comment in front of the BOOTCLASSPATH line in config/Make.rules.

Best regards,

Brent

--

-- 
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Brent Eagles | 4 Dec 2003 19:57
Favicon

Re: Can we return a null value in a CORBA call or a Holder passed in as an argument?

Hi,

Vinod Gandikota wrote:
> Thanks for the response. I have an interface which takes a reference
> holder as an input argument. I am wondering if I can fill that holder
> with a null or not. Wile trying to test this idea, I tried to
> populate a StringHolder with a null value and it bombed. Probably it
> bombed because it is a String. Can I fill a null value in a reference
> holder (holder that is expecting an IOR)? Probably yes, but just
> wanted to confirm....I will try to test it, anyway, before I
> implement it.
> 
> Thanks! Vinod

I expect that you've confirmed that you can pass a null as an object 
reference, correct?

Best regards,

Brent

--

-- 
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Brent Eagles | 4 Dec 2003 19:56
Favicon

Re: SOAP client calling a CORBA SERVICE

Mark wrote:
> Hi
> I am calling a CORBA (orbacus 4.1) service thru a SOAP(axis) client, its 
> working. I am trying out the hello world example in the orbacus manual. 
> I wrote the WSDL for the CORBA service and deployed it in soap-tomcat. 
> When I deploy the wsdl for the "server" then there is no problem. But 
> ideally the hello class should be deployed. But if i deploy it then 
> gives me a cannot instantiate error in the soap call.invoke(...) line?
>  
> What exact corba class - i.e. hello_impl or hello or server  - should I 
> deploy in soap client? i.e. for which exact corba class should i write a 
> wsdl?
>  
> thanks
  http://www.orbacus.com/faq/support.html

Unless I'm totally missing the boat, the WSDL should be for the IDL in 
general, but also needs to refer to the CORBA object that the request is 
being made on.

I cannot tell from the description you've given what it is that is 
failing for you.  Can you be more specific about where things are 
breaking down?

Best regards,

Brent

--

-- 
Brent Eagles
Team Orbacus - Your CORBA Source
Email: mailto:brent.eagles <at> iona.com
Phone: (709) 738-3725 x18
WWW: http://www.orbacus.com/

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html


Gmane