I have checked the iiop implementation with sun jdk 1.4 (windows NT)...

If I start jboss with:

JAVA_OPTS="-Dpolicy.expandProperties=false
-Xbootclasspath/p:$JBOSS_HOME/lib/jacorb.jar"

I don't have problems in deploy.

If I don't prepend jacorb.jar to the bootclasspath, I have this exception in
deploy:

INFO
[org.jboss.ejb.plugins.iiop.server.IIOPContainerInvoker.helloworld/Hello]
Bound HelloWorld to helloworld/Hello
INFO  [STDOUT] [ ConnectionManager: found conn to target 10.213.8.193:5000 ]
INFO  [STDOUT] [ Bound context: helloworld ]
ERROR
[org.jboss.ejb.plugins.iiop.server.IIOPContainerInvoker.helloworld/Hello]
        Cannot bind EJBHome in CORBA naming service
org.omg.CORBA.NO_IMPLEMENT:   vmcid: 0x0  minor code: 0  completed: No  
at org.jacorb.orb.CDRInputStream.read_Object(CDRInputStream.java:561) 
at org.omg.CosNaming.NamingContextHelper.read(NamingContextHelper.java:55)  
at
org.omg.CosNaming._NamingContextExtStub.bind_new_context(_NamingContextExtSt
ub.java:549)
at
org.jboss.ejb.plugins.iiop.server.IIOPContainerInvoker.rebind(IIOPContainerI
nvoker.java:859) 
at
org.jboss.ejb.plugins.iiop.server.IIOPContainerInvoker.start(IIOPContainerIn
voker.java:512) 
at
org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContainer.java
:206) 

(I have logged the stack trace of NO_IMPLEMENTED exception)

Where org.omg.* are SUN classes (not jacorb classes)

When I run the testsuite I have this exceptions with helloiiop (client
side):

    java.lang.ClassCastException
        at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemo
teObject.java:293)
        at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134) 
        at
org.jboss.test.helloiiop.test.HelloTimingStressTestCase.testData(HelloTiming
StressTestCase.java:74) 

I don't have exceptions in server logs.

The bankiiop does not run :-( (I think my problems, I have a FilePermission
violation -> M$ Windows #@##@)

        Claudio

PS:

policy.expandProperties=false is needed because I have an exception when I
try to run jboss (jboss does not start). This problem is explained some days
before in mailing list

prepending jacorb.jar in classpath permit to deploy a ejb module with an
iiop invoker.

PS2: I'll try the iiop at home with linux and sun jdk 1.4...


> -----Original Message-----
> From: Jung , Dr. Christoph [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 4:50 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      AW: [JBoss-dev] JBoss.net/IIOP and JBossMX integration
> 
> Oh, I forgot to mention that I only looked at the JBoss.net code and
> only under JDK1.3 ...
> 
> CGJ
> 
> -----Urspr�ngliche Nachricht-----
> Von: Vesco Claudio [mailto:[EMAIL PROTECTED]] 
> Gesendet: Dienstag, 2. April 2002 19:23
> An: 'Jung , Dr. Christoph'
> Cc: '[EMAIL PROTECTED]'
> Betreff: RE: [JBoss-dev] JBoss.net/IIOP and JBossMX integration
> 
> 
> Ehm...
> 
> When I try to compile the iiop module with jdk 1.4 I have this error that
> I
> try to bring back to memory since I have corrected it:
> 
> at line 607 of
> iiop/src/main/org/jboss/ejb/plugins/iiop/server/IIOPContainerInvoker.java
> the exception WrongPolicy is not raised
> 
> Does create_reference_with_id not raise WrongPolicy in jdk 1.4?
> 
> When I run the testsuite I have ClassPathException exceptions, if you want
> I
> send you the log...
> 
>       Claudio
> 
> > -----Original Message-----
> > From:       Jung , Dr. Christoph [SMTP:[EMAIL PROTECTED]]
> > Sent:       Tuesday, April 02, 2002 6:20 PM
> > To: '[EMAIL PROTECTED]'
> > Subject:    AW: [JBoss-dev] JBoss.net/IIOP and JBossMX integration
> > 
> > Hi Adrian,
> > 
> > Just a quick feedback. Compilation is ok, most stuff runs fine and 
> > faster
> > ;-)
> > 
> > From what I saw, the reflection of the Mbean interfaces in jboss-jmx 
> > seems to differ  from jmxri.jar ...
> > 
> > Because I use to define first client-side (non-Mbean) interfaces from 
> > which the Mbean interfaces are extended, I know run
> > into ReflectionException(NoSuchMethodException) when trying to invoke
> > those
> > methods via MBeanServer.invoke
> > 
> > I have to check how to work-around this issue. I have no idea what the 
> > spec says to this pattern.
> > 
> > Best,
> > CGJ
> > 
> > _______________________________________________
> > Jboss-development mailing list [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to