You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Moberg Dale <dm...@axway.com> on 2008/01/24 21:13:13 UTC

Helloword-bpel initialization issues, follow up information

>>Moberg, first of all, welcome to Tuscany.
 
Thank you.
 
>>Could you please check if there is anything wrong in your derby.log
>>inside samples/helloworld-bpel/target/derby.log 
 
No, derby.log was blank initially.
 
>>and also certify that the ODE server db is available in
>>/samples/helloworld-bpel/target/test-classes/jpadb.
 
There was no test-classes subdirectory under target!
 
I then ran mvn in the subdirectory and it created the test-classes
subdirectory
but mvn did not complete successfully. I moved to mvn 2.0.5, rebuilt
repository,
tried pom.xml fix concerning (readme says version 2.2, and pom had 2.3-
tried both)
 

                  <plugin>

                        <groupId>org.apache.maven.plugins</groupId>

                        <artifactId>maven-surefire-plugin</artifactId>

                                <!--
http://jira.codehaus.org/browse/SUREFIRE-322 -->

                                <version>2.3</version>

                        <configuration>

                              <useFile>false</useFile>

                              <trimStackTrace>false</trimStackTrace>

                                        

 
<useSystemClassLoader>true</useSystemClassLoader>

                                        

                        </configuration>

                  </plugin>

        
At any rate, the failure has now gotten to the following under maven
 
[INFO] Nothing to compile - all classes are up to date
[INFO] [dependency:unpack {execution: unpack}]
[INFO] Configured Artifact:
org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
[INFO] Expanding: C:\Documents and
Settings\dmoberg\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.
1\ode-dao-jpa-ojpa-derby-1.1.zip into
C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bp
el\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bp
el\target\surefire-reports
[INFO] Building jar:
C:\DOCUME~1\dmoberg\LOCALS~1\Temp\surefirebooter60806.jar
java.lang.NoClassDefFoundError:
org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
 
(I see no surefirebooter60806.jar and I think there is a failure to
create it.)
 

If I turn off the readme update for  pom.xml by reverting to <!--
useSystemClassLoader>true</useSystemClassLoader -->

 
I now see that the derby.log now contains
 
----------------------------------------------------------------
2008-01-24 20:04:48.112 GMT:
 Booting Derby version The Apache Software Foundation - Apache Derby -
10.1.3.1 - (417277): instance c013800d-0117-ad67-0c77-000000138078
on database directory
C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bp
el\target\test-classes\jpadb 
Database Class Loader started - derby.database.classpath=''
 
 
and there is a lot of errors in the surefire-reports (attached)
 
But within eclipse, I still obtain:
 

INFO - GeronimoLog.info(79) | Using embedded Geronimo transaction
manager

Starting BPELHelloWorldComponent
org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl

INFO - GeronimoLog.info(79) | Using Embedded Derby:
jdbc:derby:file:\C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\lib\
ode-dao-jpa-ojpa-derby-1.1.zip!/jpadb

INFO - GeronimoLog.info(79) | Using DAO Connection Factory class
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.

Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
java.lang.RuntimeException: BPEl Component Type Implementation
initialization failure : null

      at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADoma
in.java:264)

      at
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.jav
a:69)

      at helloworld.BPELClient.main(BPELClient.java:33)

Caused by: java.lang.RuntimeException: BPEl Component Type
Implementation initialization failure : null

      at
org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationPr
ovider.start(BPELImplementationProvider.java:106)

      at
org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(Compos
iteActivatorImpl.java:484)

      at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Defaul
tSCADomain.java:189)

      at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADoma
in.java:230)

      ... 2 more

Caused by: java.lang.NullPointerException

      at
org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.
java:321)

      at
org.apache.ode.scheduler.simple.JdbcDelegate.guessDialect(JdbcDelegate.j
ava:290)

      at
org.apache.ode.scheduler.simple.JdbcDelegate.<init>(JdbcDelegate.java:78
)

      at
org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.createS
cheduler(EmbeddedODEServer.java:187)

      at
org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.initBpe
lServer(EmbeddedODEServer.java:145)

      at
org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.init(Em
beddedODEServer.java:94)

      at
org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationPr
ovider.start(BPELImplementationProvider.java:82)

        ... 5 more
 
I'm taking a deeper look to see if I can find anything that might be
causing this...
 
Looks like I need to see if I can discover why this subdirectory is
missing.
 

 


Re: Helloword-bpel initialization issues, follow up information

Posted by Luciano Resende <lu...@gmail.com>.
BTW, could you please let me know how are you importing to eclipse ?
And, for building, could you try mvn clean install.

Thanks.

On Jan 25, 2008 9:32 AM, Luciano Resende <lu...@gmail.com> wrote:
> Hi Moberg
>
>    I downloaded the SCA 1.0.1 distros to try the same environment you
> have, and trying to run the samples on the binary distro only worked
> with the exact changes described on the README file :
>
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-surefire-plugin</artifactId>
>                                 <!--
> http://jira.codehaus.org/browse/SUREFIRE-322 -->
>                                 <version>2.2</version>
>                                 <configuration>
>                                         <useFile>false</useFile>
>                                         <trimStackTrace>false</trimStackTrace>
>                                         <!--
>                                         <skip>true</skip>
>                                         -->
>                                         <useSystemClassLoader>true</useSystemClassLoader>
>                                 </configuration>
>                         </plugin>
>
> Using other surefire versions didn't work for me, and I was getting
> the same error as you mentioned. Note that you need to comment the
> skip element and enable the useSystemClassLoader element as above.
>
> Note that this issues seems all resolved in our trunk code and sca 1.1
> release candidates, so I'd recommend moving to the new release as soon
> as it gets out.
>
> Please let me know if this helps.
>
>
>
>
> On Jan 24, 2008 12:57 PM, Raymond Feng <en...@gmail.com> wrote:
> > Hi,
> >
> > Can you try to use maven-surefire-plugin 2.3.1 or 2.4? You probably need to get the maven build going before you run it inside Eclipse because the mvn build will create a derdy DB for ODE.
> >
> > Thanks,
> > Raymond
> >
> >   ----- Original Message -----
> >   From: Moberg Dale
> >   To: tuscany-user@ws.apache.org
> >   Sent: Thursday, January 24, 2008 12:13 PM
> >   Subject: Helloword-bpel initialization issues, follow up information
> >
> >
> > >>Moberg, first of all, welcome to Tuscany. Thank you. >>Could you please check if there is anything wrong in your derby.log>>inside samples/helloworld-bpel/target/derby.log  No, derby.log was blank initially. >>and also certify that the ODE server db is available in>>/samples/helloworld-bpel/target/test-classes/jpadb. There was no test-classes subdirectory under target! I then ran mvn in the subdirectory and it created the test-classes subdirectorybut mvn did not complete successfully. I moved to mvn 2.0.5, rebuilt repository,tried pom.xml fix concerning (readme says version 2.2, and pom had 2.3- tried both)                   <plugin>
> >
> >                           <groupId>org.apache.maven.plugins</groupId>
> >
> >                           <artifactId>maven-surefire-plugin</artifactId>
> >
> >                                   <!-- http://jira.codehaus.org/browse/SUREFIRE-322 -->
> >
> >                                   <version>2.3</version>
> >
> >                           <configuration>
> >
> >                                 <useFile>false</useFile>
> >
> >                                 <trimStackTrace>false</trimStackTrace>
> >
> >
> >
> >                                 <useSystemClassLoader>true</useSystemClassLoader>
> >
> >
> >
> >                           </configuration>
> >
> >                     </plugin>
> >
> >         At any rate, the failure has now gotten to the following under maven [INFO] Nothing to compile - all classes are up to date[INFO] [dependency:unpack {execution: unpack}][INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip[INFO] Expanding: C:\Documents and Settings\dmoberg\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes[INFO] [surefire:test][INFO] Surefire report directory: C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\surefire-reports[INFO] Building jar: C:\DOCUME~1\dmoberg\LOCALS~1\Temp\surefirebooter60806.jarjava.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooterException in thread "main"[INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE (I see no surefirebooter60806.jar and I think there is a failure to create it.) If I turn off the readme update for  pom.xml by reverting to <!-- useSystemClassLoader>true</useSystemClassLoader -->
> >
> >  I now see that the derby.log now contains ----------------------------------------------------------------2008-01-24 20:04:48.112 GMT: Booting Derby version The Apache Software Foundation - Apache Derby - 10.1.3.1 - (417277): instance c013800d-0117-ad67-0c77-000000138078on database directory C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes\jpadb Database Class Loader started - derby.database.classpath=''  and there is a lot of errors in the surefire-reports (attached) But within eclipse, I still obtain: INFO - GeronimoLog.info(79) | Using embedded Geronimo transaction manager
> >
> >   Starting BPELHelloWorldComponent org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl
> >
> >   INFO - GeronimoLog.info(79) | Using Embedded Derby: jdbc:derby:file:\C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\lib\ode-dao-jpa-ojpa-derby-1.1.zip!/jpadb
> >
> >   INFO - GeronimoLog.info(79) | Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> >
> >   Exception in thread "main" org.osoa.sca.ServiceRuntimeException: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null
> >
> >         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
> >
> >         at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
> >
> >         at helloworld.BPELClient.main(BPELClient.java:33)
> >
> >   Caused by: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null
> >
> >         at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:106)
> >
> >         at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:484)
> >
> >         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:189)
> >
> >         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
> >
> >         ... 2 more
> >
> >   Caused by: java.lang.NullPointerException
> >
> >         at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:321)
> >
> >         at org.apache.ode.scheduler.simple.JdbcDelegate.guessDialect(JdbcDelegate.java:290)
> >
> >         at org.apache.ode.scheduler.simple.JdbcDelegate.<init>(JdbcDelegate.java:78)
> >
> >         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.createScheduler(EmbeddedODEServer.java:187)
> >
> >         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.initBpelServer(EmbeddedODEServer.java:145)
> >
> >         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.init(EmbeddedODEServer.java:94)
> >
> >         at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:82)
> >
> >         ... 5 more I'm taking a deeper look to see if I can find anything that might becausing this... Looks like I need to see if I can discover why this subdirectory is missing.
> >
> >
> >
> > ------------------------------------------------------------------------------
> >
> >
> >   ---------------------------------------------------------------------
> >   To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> >   For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Helloword-bpel initialization issues, follow up information

Posted by Luciano Resende <lu...@gmail.com>.
Hi Moberg

   I downloaded the SCA 1.0.1 distros to try the same environment you
have, and trying to run the samples on the binary distro only worked
with the exact changes described on the README file :

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
                                <!--
http://jira.codehaus.org/browse/SUREFIRE-322 -->
                                <version>2.2</version>
				<configuration>
					<useFile>false</useFile>
					<trimStackTrace>false</trimStackTrace>
                                        <!--
                                        <skip>true</skip>
                                        -->
					<useSystemClassLoader>true</useSystemClassLoader>
				</configuration>
			</plugin>

Using other surefire versions didn't work for me, and I was getting
the same error as you mentioned. Note that you need to comment the
skip element and enable the useSystemClassLoader element as above.

Note that this issues seems all resolved in our trunk code and sca 1.1
release candidates, so I'd recommend moving to the new release as soon
as it gets out.

Please let me know if this helps.



On Jan 24, 2008 12:57 PM, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> Can you try to use maven-surefire-plugin 2.3.1 or 2.4? You probably need to get the maven build going before you run it inside Eclipse because the mvn build will create a derdy DB for ODE.
>
> Thanks,
> Raymond
>
>   ----- Original Message -----
>   From: Moberg Dale
>   To: tuscany-user@ws.apache.org
>   Sent: Thursday, January 24, 2008 12:13 PM
>   Subject: Helloword-bpel initialization issues, follow up information
>
>
> >>Moberg, first of all, welcome to Tuscany. Thank you. >>Could you please check if there is anything wrong in your derby.log>>inside samples/helloworld-bpel/target/derby.log  No, derby.log was blank initially. >>and also certify that the ODE server db is available in>>/samples/helloworld-bpel/target/test-classes/jpadb. There was no test-classes subdirectory under target! I then ran mvn in the subdirectory and it created the test-classes subdirectorybut mvn did not complete successfully. I moved to mvn 2.0.5, rebuilt repository,tried pom.xml fix concerning (readme says version 2.2, and pom had 2.3- tried both)                   <plugin>
>
>                           <groupId>org.apache.maven.plugins</groupId>
>
>                           <artifactId>maven-surefire-plugin</artifactId>
>
>                                   <!-- http://jira.codehaus.org/browse/SUREFIRE-322 -->
>
>                                   <version>2.3</version>
>
>                           <configuration>
>
>                                 <useFile>false</useFile>
>
>                                 <trimStackTrace>false</trimStackTrace>
>
>
>
>                                 <useSystemClassLoader>true</useSystemClassLoader>
>
>
>
>                           </configuration>
>
>                     </plugin>
>
>         At any rate, the failure has now gotten to the following under maven [INFO] Nothing to compile - all classes are up to date[INFO] [dependency:unpack {execution: unpack}][INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip[INFO] Expanding: C:\Documents and Settings\dmoberg\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes[INFO] [surefire:test][INFO] Surefire report directory: C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\surefire-reports[INFO] Building jar: C:\DOCUME~1\dmoberg\LOCALS~1\Temp\surefirebooter60806.jarjava.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooterException in thread "main"[INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE (I see no surefirebooter60806.jar and I think there is a failure to create it.) If I turn off the readme update for  pom.xml by reverting to <!-- useSystemClassLoader>true</useSystemClassLoader -->
>
>  I now see that the derby.log now contains ----------------------------------------------------------------2008-01-24 20:04:48.112 GMT: Booting Derby version The Apache Software Foundation - Apache Derby - 10.1.3.1 - (417277): instance c013800d-0117-ad67-0c77-000000138078on database directory C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes\jpadb Database Class Loader started - derby.database.classpath=''  and there is a lot of errors in the surefire-reports (attached) But within eclipse, I still obtain: INFO - GeronimoLog.info(79) | Using embedded Geronimo transaction manager
>
>   Starting BPELHelloWorldComponent org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl
>
>   INFO - GeronimoLog.info(79) | Using Embedded Derby: jdbc:derby:file:\C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\lib\ode-dao-jpa-ojpa-derby-1.1.zip!/jpadb
>
>   INFO - GeronimoLog.info(79) | Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
>
>   Exception in thread "main" org.osoa.sca.ServiceRuntimeException: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null
>
>         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>
>         at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
>
>         at helloworld.BPELClient.main(BPELClient.java:33)
>
>   Caused by: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null
>
>         at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:106)
>
>         at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:484)
>
>         at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:189)
>
>         at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
>
>         ... 2 more
>
>   Caused by: java.lang.NullPointerException
>
>         at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:321)
>
>         at org.apache.ode.scheduler.simple.JdbcDelegate.guessDialect(JdbcDelegate.java:290)
>
>         at org.apache.ode.scheduler.simple.JdbcDelegate.<init>(JdbcDelegate.java:78)
>
>         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.createScheduler(EmbeddedODEServer.java:187)
>
>         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.initBpelServer(EmbeddedODEServer.java:145)
>
>         at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.init(EmbeddedODEServer.java:94)
>
>         at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:82)
>
>         ... 5 more I'm taking a deeper look to see if I can find anything that might becausing this... Looks like I need to see if I can discover why this subdirectory is missing.
>
>
>
> ------------------------------------------------------------------------------
>
>
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
>   For additional commands, e-mail: tuscany-user-help@ws.apache.org



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Helloword-bpel initialization issues, follow up information

Posted by Raymond Feng <en...@gmail.com>.
Hi,

Can you try to use maven-surefire-plugin 2.3.1 or 2.4? You probably need to get the maven build going before you run it inside Eclipse because the mvn build will create a derdy DB for ODE.

Thanks,
Raymond

  ----- Original Message ----- 
  From: Moberg Dale 
  To: tuscany-user@ws.apache.org 
  Sent: Thursday, January 24, 2008 12:13 PM
  Subject: Helloword-bpel initialization issues, follow up information


>>Moberg, first of all, welcome to Tuscany. Thank you. >>Could you please check if there is anything wrong in your derby.log>>inside samples/helloworld-bpel/target/derby.log  No, derby.log was blank initially. >>and also certify that the ODE server db is available in>>/samples/helloworld-bpel/target/test-classes/jpadb. There was no test-classes subdirectory under target! I then ran mvn in the subdirectory and it created the test-classes subdirectorybut mvn did not complete successfully. I moved to mvn 2.0.5, rebuilt repository,tried pom.xml fix concerning (readme says version 2.2, and pom had 2.3- tried both)                   <plugin>

                          <groupId>org.apache.maven.plugins</groupId>

                          <artifactId>maven-surefire-plugin</artifactId>

                                  <!-- http://jira.codehaus.org/browse/SUREFIRE-322 -->

                                  <version>2.3</version>

                          <configuration>

                                <useFile>false</useFile>

                                <trimStackTrace>false</trimStackTrace>

                                          

                                <useSystemClassLoader>true</useSystemClassLoader>

                                          

                          </configuration>

                    </plugin>

        At any rate, the failure has now gotten to the following under maven [INFO] Nothing to compile - all classes are up to date[INFO] [dependency:unpack {execution: unpack}][INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip[INFO] Expanding: C:\Documents and Settings\dmoberg\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes[INFO] [surefire:test][INFO] Surefire report directory: C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\surefire-reports[INFO] Building jar: C:\DOCUME~1\dmoberg\LOCALS~1\Temp\surefirebooter60806.jarjava.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooterException in thread "main"[INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE (I see no surefirebooter60806.jar and I think there is a failure to create it.) If I turn off the readme update for  pom.xml by reverting to <!-- useSystemClassLoader>true</useSystemClassLoader -->

 I now see that the derby.log now contains ----------------------------------------------------------------2008-01-24 20:04:48.112 GMT: Booting Derby version The Apache Software Foundation - Apache Derby - 10.1.3.1 - (417277): instance c013800d-0117-ad67-0c77-000000138078on database directory C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\samples\helloworld-bpel\target\test-classes\jpadb Database Class Loader started - derby.database.classpath=''  and there is a lot of errors in the surefire-reports (attached) But within eclipse, I still obtain: INFO - GeronimoLog.info(79) | Using embedded Geronimo transaction manager

  Starting BPELHelloWorldComponent org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl

  INFO - GeronimoLog.info(79) | Using Embedded Derby: jdbc:derby:file:\C:\OpenSource\tuscany\tuscany-sca-1.0.1-incubating\lib\ode-dao-jpa-ojpa-derby-1.1.zip!/jpadb

  INFO - GeronimoLog.info(79) | Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.

  Exception in thread "main" org.osoa.sca.ServiceRuntimeException: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null

        at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)

        at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)

        at helloworld.BPELClient.main(BPELClient.java:33)

  Caused by: java.lang.RuntimeException: BPEl Component Type Implementation initialization failure : null

        at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:106)

        at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:484)

        at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:189)

        at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)

        ... 2 more

  Caused by: java.lang.NullPointerException

        at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:321)

        at org.apache.ode.scheduler.simple.JdbcDelegate.guessDialect(JdbcDelegate.java:290)

        at org.apache.ode.scheduler.simple.JdbcDelegate.<init>(JdbcDelegate.java:78)

        at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.createScheduler(EmbeddedODEServer.java:187)

        at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.initBpelServer(EmbeddedODEServer.java:145)

        at org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer.init(EmbeddedODEServer.java:94)

        at org.apache.tuscany.sca.implementation.bpel.provider.BPELImplementationProvider.start(BPELImplementationProvider.java:82)

        ... 5 more I'm taking a deeper look to see if I can find anything that might becausing this... Looks like I need to see if I can discover why this subdirectory is missing.  



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
  For additional commands, e-mail: tuscany-user-help@ws.apache.org