Hello,
We have a problem (or problems accually) deploying a CXF web service on an
oracle OC4J server.
We just tried to deploy an ear (with war that works on local tomcat server),
but we had error after error we could fix (mostly jar issue) untill this
one. And we have no clue on how to solve this.
SEVERE: ProgressObjectImpl.reportError Error creating bean with name
'testService': Invocation of init method failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionExceptionoracle.oc4j.admin.jmx.shared.exceptions.InternalException:
Error creating bean with name 'testService': Invocation of init method
failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
at
oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at
oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at
oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:130)
at
oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at
oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error creating bean
with name 'testService': Invocation of init method failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1279)
at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
at
com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
at
com.evermind.server.Application.getHttpApplication(Application.java:592)
at
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
at
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
at
com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
at
oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
at
oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
at
oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
... 4 more
11/06/07 13:02:10 Notification ==>Operation failed with error:
Error creating bean with name 'testService': Invocation of init method
failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
SEVERE: J2EEDeploymentManager.deploy Deploy error: Operation failed with
error:
Error creating bean with name 'testService': Invocation of init method
failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
oracle.oc4j.admin.deploy.api.J2EEDeploymentException: Operation failed with
error:
Error creating bean with name 'testService': Invocation of init method
failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
at
oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.deploy(J2EEDeploymentManager.java:369)
at
oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.deploy(J2EEDeploymentManager.java:318)
at
oracle.oc4j.admin.deploy.cmdline.DeployCommand.doExecute(DeployCommand.java:187)
at
oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:63)
at
oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:110)
at
oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:75)
Deploy error: Deploy error: Operation failed with error:
Error creating bean with name 'testService': Invocation of init method
failed;
nested exception is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
Anybody who has a clue on what is wrong?
Thanks !
--
View this message in context:
http://cxf.547215.n5.nabble.com/Deploy-CXF-on-oracle-OC4J-tp4461467p4461467.html
Sent from the cxf-user mailing list archive at Nabble.com.