You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by AS <sa...@yahoo.com> on 2007/04/06 06:04:43 UTC

Problem while importing ServiceMix as project in Eclipse

Hi All,

I am trying to import ServiceMix as project in eclipse by following
instructions in the documentation at
http://incubator.apache.org/servicemix/importing-servicemix-into-eclipse.html

In section "Preparing the Files for Eclipse" step 2, I got the error as
stated in doc so
I executed command 

mvn -Dprofile=step1

from servicemix src directory as advised, but I get following error


Running org.apache.servicemix.jbi.security.SecuredBrokerTest
java.lang.SecurityException: Endpoint is not authorized for this user
        at
org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(S
ecuredBroker.java:75)
        at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
ainer.java:793)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
ryChannelImpl.java:381)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
veryChannelImpl.java:456)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
veryChannelImpl.java:428)
        at
org.apache.servicemix.client.DefaultServiceMixClient.sendSync(Default
ServiceMixClient.java:147)
        at
org.apache.servicemix.jbi.security.SecuredBrokerTest.testNOk(SecuredB
rokerTest.java:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:213)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su



Please can somebody give some pointers..

Thanks in advance.


-- 
View this message in context: http://www.nabble.com/Problem-while-importing-ServiceMix-as-project-in-Eclipse-tf3535175s12049.html#a9867606
Sent from the ServiceMix - User mailing list archive at Nabble.com.