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 00:37:50 UTC
BPEL example initialization NPE issue
Environment
Eclipse Platform
Version: 3.3.1.1
Build id: M20071023-1652
JRE System Library jre1.5.0_6
Built without error and run as java application on main in BPELClient as
part of the helloworld-bpel project.
I am studying the SCA Assembly and Policy specifications and have
special interest in understanding the deployment of BPEL composites
within SCA environment.
Runtime Exception report
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
Re: BPEL example initialization NPE issue
Posted by Luciano Resende <lu...@gmail.com>.
Moberg, first of all, welcome to Tuscany.
Could you please check if there is anything wrong in your derby.log
inside samples/helloworld-bpel/target/derby.log and also certify that
the ODE server db is available in
/samples/helloworld-bpel/target/test-classes/jpadb.
I'm taking a deeper look to see if I can find anything that might be
causing this...
On Jan 23, 2008 3:37 PM, Moberg Dale <dm...@axway.com> wrote:
> Environment
>
>
>
> Eclipse Platform
>
> Version: 3.3.1.1
>
> Build id: M20071023-1652
>
>
>
> JRE System Library jre1.5.0_6
>
>
>
>
>
> Built without error and run as java application on main in BPELClient as
> part of the helloworld-bpel project.
>
>
>
> I am studying the SCA Assembly and Policy specifications and have
> special interest in understanding the deployment of BPEL composites
> within SCA environment.
>
>
>
>
>
>
>
>
>
> Runtime Exception report
>
>
>
> 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
>
>
>
>
--
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