Hi Per,
You should never encounter that kind of error. The service-jar.xml
is what we use internally to package and make available
implementations of pluggable architectural things. Definitely not an
app-level concept.
Can you post your openejb.conf and the log info leading up to that
error?
-David
On Feb 1, 2007, at 1:01 AM, Per Newgro wrote:
Hey David,
I run into an issue at startup of my application. I have to provide a
service-jar.xml. But where and what else has to be in it? I checked
website
and JIRA for any document, but havent found anything. It's not
listed in the
ejb-3 spec to.
Can you point me please to the correct config or at least to a
document
desribing it?
Thank you
Per
DEBUG: Instantiating assembler class
org.apache.openejb.assembler.classic.Assembler
FATAL: OpenEJB has encountered a fatal error and cannot be
started: Assembler
failed to build the container system.
org.apache.openejb.OpenEJBException: Cannot find the
ServiceProvider id MyDS
in the service-jar.xml at MyDS. Check that your OpenEJB conf
iguration file is point to the right ServiceProvider id."
at
org.apache.openejb.config.ServiceUtils.getServiceProvider
(ServiceUtils.java:75)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:450)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:427)
at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration
(ConfigurationFactory.java:203)
at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
179)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:
145)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:279)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:264)
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:585)
at
org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
36)
at
org.apache.openejb.client.LocalInitialContextFactory.init
(LocalInitialContextFactory.java:56)
at
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext
(LocalInitialContextFactory.java:42)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:
667)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at