1 2 Previous Next 19 Replies Latest reply on Feb 17, 2009 9:45 AM by tomjenkinson

    blacktie EJB example failure

    blackwaller

      I'm trying to test EJB sample in blacktie examples, I've an error in jboss console when I run BarServiceTestCase class (modified to include main),

      No error when I start Jboss and deploy ear file which result correctly deployed and started. Following the output console when I run Test:

      15:59:29,831 ERROR [LogInterceptor] EJBException in method: public abstract org.jboss.blacktie.example.ejb.BarService org.jboss.blacktie.example.ejb.BarServiceHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException, causedBy:
      java.lang.reflect.UndeclaredThrowableException
      at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:204)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:95)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
      at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
      at org.jboss.ejb.Container.invoke(Container.java:981)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
      at $Proxy14.invoke(Unknown Source)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
      Caused by: java.lang.NoClassDefFoundError: org/jboss/blacktie/jatmibroker/core/AtmiBroker_CallbackConverter
      at org.jboss.blacktie.jatmibroker.ejb.connector.impl.ConnectorFactoryImpl.getConnector(ConnectorFactoryImpl.java:78)
      at org.jboss.blacktie.example.ejb.BarServiceBean.(BarServiceBean.java:28)
      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:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.jboss.ejb.Container.createBeanClassInstance(Container.java:630)
      at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)
      ... 35 more
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.blacktie.jatmibroker.core.AtmiBroker_CallbackConverter
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 45 more
      15:59:43,576 ERROR [LogInterceptor] EJBException in method: public abstract org.jboss.blacktie.example.ejb.BarService org.jboss.blacktie.example.ejb.BarServiceHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException, causedBy:
      java.lang.reflect.UndeclaredThrowableException
      at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:204)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:95)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
      at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
      at org.jboss.ejb.Container.invoke(Container.java:981)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
      at $Proxy14.invoke(Unknown Source)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.blacktie.example.ejb.BarServiceBean
      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:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.jboss.ejb.Container.createBeanClassInstance(Container.java:630)
      at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)
      ... 35 more


      Seems to be related to the create() method of BarServiceBean,

      Regards
      Nicola

        • 1. Re: blacktie EJB example failure
          mmusgrov

          Could you let me know which Blacktie version you are using because I just tried the test on trunk without errors.

          Note that you don't need to change the test source - you can run BarServiceTestCase using "mvn test" provided you modify pom.xml as follows:

          - change the skipTests config property of the maven-surefire-plugin to false.

          • 2. Re: blacktie EJB example failure
            tomjenkinson

            Hi,

            I agree with Mike that this works here for me too on trunk. The only clue I can offer at this time is the line:
            Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.blacktie.example.ejb.BarServiceBean

            This indicates the static initializer failed, which I expect to be due to the CORBA name service not running on port 3528 (or the value you may have altered in the examples blacktie.properties....

            Hope this helps,
            Tom

            • 3. Re: blacktie EJB example failure
              tomjenkinson

              The other thing to note would be that in MR3 we hope to have refreshed the EJB connector services so that they will accept CORBA requests natively (i.e. through the iiop invoker) rather than that aspect of the jatmibroker-core API which currently provides this behavior which would mean that the EJB would get the issue at deployment time which would hopefully be clearer what the cause of the problem is.

              Thanks again,
              Tom

              • 4. Re: blacktie EJB example failure
                blackwaller

                Hi mmusgrov,

                I follow your guideline using maven, my blacktie version is 1.0_M1, but the test fail again with output file:

                org.jboss.blacktie.example.ejb.BarServiceTestCase.txt
                TEST-org.jboss.blacktie.example.ejb.BarServiceTestCase.xml

                -------------------------------------------------------
                T E S T S
                -------------------------------------------------------
                Running org.jboss.blacktie.example.ejb.BarServiceTestCase
                Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.61 sec <<< FAILURE!

                Results :

                Tests in error:
                testConnectorCall(org.jboss.blacktie.example.ejb.BarServiceTestCase)

                Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

                [INFO] ------------------------------------------------------------------------
                [ERROR] BUILD FAILURE
                [INFO] ------------------------------------------------------------------------
                [INFO] There are test failures.





                I run the mvn test two times, the first time the bottom error output was:

                Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.blacktie.jatmibroker.core.AtmiBroker_CallbackConverter
                at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
                at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
                at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
                ... 45 more


                the second time I run mvn test:

                Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.blacktie.example.ejb.BarServiceBean
                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:513)
                at java.lang.Class.newInstance0(Class.java:355)
                at java.lang.Class.newInstance(Class.java:308)
                at org.jboss.ejb.Container.createBeanClassInstance(Container.java:630)
                at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)
                ... 35 more

                I precise I'm not smart on java but we should test the EJB case to compare it with Tuxedo Jolt system and understand difference and (if there are) compatibility,

                thanks

                Nicola




                • 5. Re: blacktie EJB example failure
                  tomjenkinson

                  Hi Nicola,

                  Can you confirm that the CORBA NamingService is running?

                  One way to do this is:
                  netstat -a | grep LISTEN | grep 3528
                  or
                  netstat -a | grep LISTEN | grep jboss-iiop

                  Thanks in advance,
                  Tom

                  • 6. Re: blacktie EJB example failure
                    tomjenkinson

                    Hi Nicola,

                    Also, you may be interested in our JAB client library. This is a non-JEE version of the implementation.

                    JAB is mainly for Java client applications to use existing C services.

                    It doesn't require the full JBoss application server to be running but does the Transaction Service and Naming Service.

                    To run the JAB example:

                    cd BLACKTIE/examples/xatmi/fooapp
                    follow the short README
                    cd BLACKTIE/examples/jab/fooapp
                    follow the short README

                    Hope this is of use,
                    Tom

                    • 7. Re: blacktie EJB example failure
                      blackwaller

                      Hi tom,

                      my output :

                      # netstat -na | grep LISTEN | grep 3528
                      tcp 0 0 :::3528 :::* LISTEN
                      # netstat -a | grep LISTEN | grep jboss-iiop
                      tcp 0 0 *:jboss-iiop *:* LISTEN

                      I've tested successfully JAB, but it isn't Jolt like case, we're interested to try EJB case too, I appreciate every suggestion to make it run,

                      thanks a lot in advance,

                      Nicola

                      • 8. Re: blacktie EJB example failure
                        tomjenkinson

                        Hi Nicola,

                        I have download the Blacktie 1.0 release and managed to run the example successfully but it did require some tweaks when I used the binary rather than the source distribution which is were I think this problem may have arisen from:

                        1. Unfortunately our poms have not been version managed so well recently so you will need to have the 1.0_M1 in your maven repos
                        jar xf repo.jar in the folder ~/.m2/repository/org/jboss/blackie to end up with ejb-connector, atmibroker-idl and jatmibroker-core in this folder
                        2. download MR1 from: http://www.jboss.org/blacktie/downloads/
                        3. download JBoss AS 4.2.3 GA and unzip it
                        4. edit the BLACKTIE/examples/ejb-connector/fooapp/ejb-connector-example/pom.xml and set removed the skipTests configuration
                        5. cd ejb-connector-example and type mvn install -DskipTests
                        6. cd ejb-connector-example-ear and type mvn install
                        7. cp BLACKTIE/examples/ejb-connector/fooapp/ejb-connector-example-ear/target/ejb-connector-example-ear-1.0-SNAPSHOT.ear JBOSSAS_HOME/server/default/deploy
                        8. cd jboss-4.2.3.GA/bin
                        ./run
                        9. cd ejb-connector-example and type mvn test

                        So, given that, the thing I think you need to do first is download this repo.jar that I have created from http://www.jboss.org/community/servlet/JiveServlet/download/13243-8-6143/repo.jar

                        Hope this helps,
                        Tom

                        • 9. Re: blacktie EJB example failure
                          mmusgrov

                          I tried downloading the M1 release and I am seeing a similar (but not identical) problem. I will continue investigating. FYI my error is:

                          Caused by: java.lang.NoClassDefFoundError
                          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:494)
                          at java.lang.Class.newInstance0(Class.java:350)
                          at java.lang.Class.newInstance(Class.java:303)
                          at org.jboss.ejb.Container.createBeanClassInstance(Container.java:630)
                          at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)


                          • 10. Re: blacktie EJB example failure
                            tomjenkinson

                            Also, if you would like to use the binaries that were provided in the actual release (rather than my repo.jar I uploaded) for ejb-connector, jatmibroker-core and atmibroker-idl you can do this by:

                            cd BLACKTIE/connectors/ejb
                            mvn install:install-file -Dfile=ejb-connector-1.0-SNAPSHOT.jar -Dpackaging=jar -DgroupId=org.jboss.blacktie -Dversion=1.0-SNAPSHOT -DartifactId=ejb-connector

                            cd BLACKTIE/connectors/jab
                            mvn install:install-file -Dfile=atmibroker-idl-1.0-SNAPSHOT.jar -Dpackaging=jar -DgroupId=org.jboss.blacktie -Dversion=1.0-SNAPSHOT -DartifactId=atmibroker-idl
                            mvn install:install-file -Dfile=jatmibroker-core-1.0-SNAPSHOT.jar -Dpackaging=jar -DgroupId=org.jboss.blacktie -Dversion=1.0-SNAPSHOT -DartifactId=jatmibroker-core


                            "tomjenkinson" wrote:

                            1. Unfortunately our poms have not been version managed so well recently so you will need to have the 1.0_M1 in your maven repos
                            jar xf repo.jar in the folder ~/.m2/repository/org/jboss/blackie to end up with ejb-connector, atmibroker-idl and jatmibroker-core in this folder


                            • 11. Re: blacktie EJB example failure
                              tomjenkinson

                              Hi Nicola,

                              Just by way of clarification, the JAB client library is intended for applications that are running standalone or in non-JEE containers. Meanwhile, the EJB connector library is intended for use by JEE applications, for instance it should respect the JTS transaction in play (although this feature is not likely to be complete until closer to our official community release.

                              In this way, the main difference between them is:

                              1. The provision of a JABTransaction class for demarcing transactions in JAB, which is done using the standard JTA/JTS API's for EJB connector.
                              2. The ability to implement Java XATMI services for the EJB connector, rather than just clients.

                              Thanks,
                              Tom



                              "BlackWaller" wrote:


                              I've tested successfully JAB, but it isn't Jolt like case, we're interested to try EJB case too, I appreciate every suggestion to make it run,

                              thanks a lot in advance,

                              Nicola


                              • 12. Re: blacktie EJB example failure
                                blackwaller

                                Ok Tom,

                                mvn test seems go:

                                [root]>/opt/blacktie/1.0_M1/examples/ejb-connector/fooapp/ejb-connector-example# mvn test
                                [INFO] Scanning for projects...
                                [INFO] ------------------------------------------------------------------------
                                [INFO] Building Blacktie EJB Proxy
                                [INFO] task-segment: [test]
                                [INFO] ------------------------------------------------------------------------
                                [INFO] [resources:resources]
                                [INFO] Using default encoding to copy filtered resources.
                                Downloading: http://repo1.maven.org/maven2/org/jacorb/jacorb/2.2.3/jacorb-2.2.3.pom
                                Downloading: http://repo1.maven.org/maven2/jboss/jbossall-client/4.2.3.GA/jbossall-client-4.2.3.GA.pom
                                [INFO] [compiler:compile]
                                [INFO] Nothing to compile - all classes are up to date
                                [INFO] [resources:testResources]
                                [INFO] Using default encoding to copy filtered resources.
                                [INFO] [compiler:testCompile]
                                [INFO] Nothing to compile - all classes are up to date
                                [INFO] [surefire:test]
                                [INFO] Surefire report directory: /opt/blacktie/1.0_M1/examples/ejb-connector/fooapp/ejb-connector-example/target/surefire-reports

                                -------------------------------------------------------
                                T E S T S
                                -------------------------------------------------------
                                Running org.jboss.blacktie.example.ejb.BarServiceTestCase
                                2009-02-11 15:01:49,828 ERROR Thread-7 (AtmiBrokerServerImpl:271 ) - This uses a busy wait implementation which delays work for up to five seconds
                                Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.194 sec

                                Results :

                                Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

                                [INFO] ------------------------------------------------------------------------
                                [INFO] BUILD SUCCESSFUL
                                [INFO] ------------------------------------------------------------------------
                                [INFO] Total time: 6 seconds
                                [INFO] Finished at: Wed Feb 11 15:01:50 CET 2009
                                [INFO] Final Memory: 9M/247M
                                [INFO] ------------------------------------------------------------------------


                                but I see also an error, on Jboss consolle I see:

                                14:59:53,094 INFO [ConnectorImpl] Advertising: BAR
                                14:59:53,139 INFO [ConnectorImpl] Advertised: BAR
                                14:59:53,976 ERROR [AtmiBroker_ServerImpl] NO-OP register_client
                                14:59:54,059 ERROR [AtmiBroker_ServiceFactoryImpl] NO-OP get_service_id


                                on blacktie consolle I don't see anything:

                                vlxibit11:[root]>/opt/blacktie/1.0_M1/bin/services-scripts# ./start_all.sh
                                putting: OAPort,3528
                                Setting up environment
                                [root]>/opt/blacktie/1.0_M1/bin/services-scripts# Setting up environment
                                [jacorb.poa] INFO : oid:
                                00 15 4B 2D 36 2E 39 0E 01 4A 42 ..K-6.9..JB
                                object is activated
                                [jacorb.poa] INFO : Using server ID (594444150) for transient POA
                                **checking 2
                                **registering**
                                Ready
                                Ready


                                I don't understand what it will should do but I think there's something still missing, (steep more)

                                Nicola

                                • 13. Re: blacktie EJB example failure
                                  tomjenkinson

                                  Hi Nicola,

                                  The output that you saw in the test window is actually all that we would expect! It looks like it is working now to me, here are some comments:

                                  1. The "blacktie console" is just the output from the CORBA Naming Service and the Transaction Service. It looks normal to me...

                                  2. The output on the JBoss console is normal for 1.0 Milestone 1, if you were to use the trunk those ERROR messages are now gone but for the version you are using they are OK.

                                  3. The output from maven although anticlimatic does indicate that the client application talked successfully to the Blacktie service deployed in JBoss via the tpcall method. (if you want to see what the client did, take a look at the following file: org.jboss.blacktie.example.ejb.BarServiceTestCase

                                  Hopefully this is OK for you?
                                  Tom

                                  • 14. Re: blacktie EJB example failure
                                    blackwaller

                                    Hi Tom,

                                    so it goes how you say, but I've a doubt regarding the flow of calling in EJB mode. In particular when I run "BarServiceTestCase" whit mvn test this call to jboss is forwarded to blacktie server ?

                                    More .. I hope that the request achieve the server I've started under control of blacktie (xatmi server).

                                    So the EJB act like a proxy and transaction manager, but if my reasoning is wrong, please help to clarify me,

                                    thanks

                                    Nicola

                                    1 2 Previous Next