Test BPEL process exception: java.lang.NoClassDefFoundError: javax/activation/DataSource

View: New views
2 Messages — Rating Filter:   Alert me  

Test BPEL process exception: java.lang.NoClassDefFoundError: javax/activation/DataSource

by Razvan Popescu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Using NB6.5 compiled from sources, I get the following exception when  
I try to test a BPEL process (through a composite application).
Note: The same process/composite application works fine with the full  
version of NB6.1, which I downloaded (not compiled).

************************************************************************************************************************************************************
...
Testcase:  
TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):        
Caused an ERROR
javax/activation/DataSource
java.lang.NoClassDefFoundError: javax/activation/DataSource
         at  
com
.sun
.xml
.messaging
.saaj
.soap
.ver1_1
.SOAPMessageFactory1_1Impl
.createMessage(SOAPMessageFactory1_1Impl.java:78)
         at  
org
.netbeans
.modules.compapp.catd.ConfiguredTest.loadMessage(ConfiguredTest.java:
1885)
         at  
org
.netbeans
.modules
.compapp
.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:704)


Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
test-report:
/Users/raz/NetBeansProjects/CompositeApp1/nbproject/build-impl.xml:
333: Some tests failed; see details above.
BUILD FAILED (total time: 3 seconds)
************************************************************************************************************************************************************

Any ideas?

Thanks,
razvan.

Re: Test BPEL process exception: java.lang.NoClassDefFoundError: javax/activation/DataSource

by jqian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like some jars (activation.jar for example) have been moved around
in NB 6.5. We will fix this by tomorrow.

BTW, if you are looking for any new SOA functionality post NB 6.1
release, NB 6.5 is not the right place. Currently, new SOA development
is done in a special branch (soa-dev) based on NB 6.1 and it is released
through the OpenESB installer at https://open-esb.dev.java.net/ .

Thanks,
Jun

> Hi all,
>
> Using NB6.5 compiled from sources, I get the following exception when
> I try to test a BPEL process (through a composite application).
> Note: The same process/composite application works fine with the full
> version of NB6.1, which I downloaded (not compiled).
>
> ************************************************************************************************************************************************************
>
> ...
> Testcase:
> TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):        
> Caused an ERROR
> javax/activation/DataSource
> java.lang.NoClassDefFoundError: javax/activation/DataSource
>         at
> com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:78)
>
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.loadMessage(ConfiguredTest.java:1885)
>
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:704)
>
>
>
> Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
> test-report:
> /Users/raz/NetBeansProjects/CompositeApp1/nbproject/build-impl.xml:333:
> Some tests failed; see details above.
> BUILD FAILED (total time: 3 seconds)
> ************************************************************************************************************************************************************
>
>
> Any ideas?
>
> Thanks,
> razvan.


--
Jun Qian

NetBeans SOA Tools, http://enterprise.netbeans.org
Open ESB Community, http://open-esb.org