Deal of the Day

Home » Main » Manning Forums » 2007 » Open Source ESBs in Action

Thread: OPEN ESB JDBC Binding component for ServiceMix

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
jaikishore

Posts: 1
From: Chennai
Registered: 11/24/10
OPEN ESB JDBC Binding component for ServiceMix
Posted: Nov 24, 2010 3:32 AM
  Click to reply to this thread Reply

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.3\hotdeploy\jdbcbc.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

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor