Hello,

I'm working to test Borland Janeva with JBoss.

For this, i have made a simple jar HelloWorld (code here : 
http://www.techheadbrothers.net/DesktopDefault.aspx?tabindex=1&tabid=7&AId=33#D%C3%A9veloppement%20du%20client%20.Net).
 

I deployed this app in JBoss (v4 localhost) et start it (run -c all).
So.

I created a C# class with Java2cs and put it in a DLL.

And now, i want to make my client C# with reference to the dll and janeva 
runtime dll.
I type the code like the documentation chap 4 for Janeva.

Here my code : 

RemotingConfiguration.Configure("Hello.exe.config"); 
HelloServerHome myHelloServerHome = new HelloServerHomeRemotingProxy(); 
HelloServer myHelloServer = myHelloServerHome.Create(); 
Console.WriteLine(myHelloServer.SayHello()); 
Console.Read(); 

Here my app.config :

configuration
  configSections
    section name="janeva" type="Janeva.Settings, Borland.Janeva.Runtime"
  /configSections
  janeva
    naming url="corbaloc::localhost:3528/JBoss/Naming/root"/
  /janeva
/configuration

(I removed the '<' and '>' in tthis post else they my code is invisible !)

But when i execute the code, i have CORBA.BAD_PARAM error message at the 
Create() line.

Help me !!! Long hours to search but nothing :-(

Thanx

Christophe

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874859#3874859

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874859


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to