The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

jaikishore (1) [Avatar] Offline
#1
Hi Guys,

I am trying to deploy jdbcbc.jar file serviceMix/hotdeploy directory for JDBC usage in serviceMix.
I have copied wsdl4j-sun.jar in servicemix/lib. But I am getting the below exceptions while deploying JDBCBC.jar. please suggest me.....

javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:220)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.util.concurrent.Executors$PrivilegedThreadFactory.<init>(Executors.java:567)
at java.util.concurrent.Executors.privilegedThreadFactory(Executors.java:301)
at com.sun.jbi.jdbcbc.OutboundReceiver.<init>(OutboundReceiver.java:109)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.startOutbound(JDBCBindingLifeCycle.java:547)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:215)
... 11 more
14:40:24,877 | ERROR | Timer-3 | InstallationService | .framework.InstallationService 340 | Failed to start Component: sun-jdbc-binding
javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:220)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.util.concurrent.Executors$PrivilegedThreadFactory.<init>(Executors.java:567)
at java.util.concurrent.Executors.privilegedThreadFactory(Executors.java:301)
at com.sun.jbi.jdbcbc.OutboundReceiver.<init>(OutboundReceiver.java:109)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.startOutbound(JDBCBindingLifeCycle.java:547)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:215)
... 11 more
14:40:24,890 | ERROR | Timer-3 | AutoDeploymentService | ramework.AutoDeploymentService 302 | Failed to update Component: sun-jdbc-binding
javax.jbi.management.DeploymentException: javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:341)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:220)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
... 7 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.util.concurrent.Executors$PrivilegedThreadFactory.<init>(Executors.java:567)
at java.util.concurrent.Executors.privilegedThreadFactory(Executors.java:301)
at com.sun.jbi.jdbcbc.OutboundReceiver.<init>(OutboundReceiver.java:109)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.startOutbound(JDBCBindingLifeCycle.java:547)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:215)
... 11 more
14:40:24,901 | WARN | Timer-3 | AutoDeploymentService | ramework.AutoDeploymentService 670 | Directory: hotdeploy: Automatic install of C:apache-servicemix-3.3hotdeployjdbcbc.jar failed
javax.jbi.management.DeploymentException: Failed to update Component: sun-jdbc-binding
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:303)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:341)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
... 6 more
Caused by: javax.jbi.JBIException: Failed to start the outbound receiver: access denied (java.lang.RuntimePermission setContextClassLoader)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:220)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
... 7 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.util.concurrent.Executors$PrivilegedThreadFactory.<init>(Executors.java:567)
at java.util.concurrent.Executors.privilegedThreadFactory(Executors.java:301)
at com.sun.jbi.jdbcbc.OutboundReceiver.<init>(OutboundReceiver.java:109)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.startOutbound(JDBCBindingLifeCycle.java:547)
at com.sun.jbi.jdbcbc.JDBCBindingLifeCycle.init(JDBCBindingLifeCycle.java:215)
... 11 more