Error Exporting killbill/osgi/jdbc

127 views
Skip to first unread message

Muhammad Iqbal Pratama

unread,
Jun 28, 2018, 5:34:30 AM6/28/18
to Kill Bill users mailing-list
i got error message like this, any clue ?
Error exporting killbill/osgi/jdbc
javax.naming.CommunicationException: null
at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:177)
at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:182)
at javax.naming.InitialContext.rebind(InitialContext.java:433)
at org.killbill.billing.platform.jndi.JNDIManager.doExport(JNDIManager.java:114)
at org.killbill.billing.platform.jndi.JNDIManager.export(JNDIManager.java:66)
at org.killbill.billing.osgi.KillbillActivator.start(KillbillActivator.java:162)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4701)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix.init(Felix.java:791)
at org.killbill.billing.osgi.DefaultOSGIService.createAndInitFelixFrameworkWithSystemBundle(DefaultOSGIService.java:164)
at org.killbill.billing.osgi.DefaultOSGIService.createAndInitFramework(DefaultOSGIService.java:149)
at org.killbill.billing.osgi.DefaultOSGIService.initialize(DefaultOSGIService.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.killbill.billing.lifecycle.DefaultLifecycle.doFireStage(DefaultLifecycle.java:150)
at org.killbill.billing.lifecycle.DefaultLifecycle.fireSequence(DefaultLifecycle.java:137)
at org.killbill.billing.lifecycle.DefaultLifecycle.fireStartupSequencePriorEventRegistration(DefaultLifecycle.java:78)
at org.killbill.billing.server.listeners.KillbillPlatformGuiceListener.startLifecycle(KillbillPlatformGuiceListener.java:303)
at org.killbill.billing.server.listeners.KillbillPlatformGuiceListener.contextInitialized(KillbillPlatformGuiceListener.java:126)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:525)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:375)
at sun.rmi.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java:155)
at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:175)
... 62 common frames omitted

Pierre-Alexandre Meyer

unread,
Jun 28, 2018, 9:34:47 AM6/28/18
to Muhammad Iqbal Pratama, Kill Bill users mailing-list
Hello,

This can happen if you have another Java application running on the same host and sharing the same JVM properties (like com.sun.management.jmxremote.*, java.rmi.server, etc.). Make sure also you don't have any stale debugging session (Eclipse / IntelliJ).

Hope that helps,

--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-users+unsubscribe@googlegroups.com.
To post to this group, send email to killbilling-users@googlegroups.com.
Visit this group at https://groups.google.com/group/killbilling-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/712f0fc8-fba3-413c-815c-10b6fd4aac2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Pierre

Muhammad Iqbal Pratama

unread,
Jun 29, 2018, 2:24:12 AM6/29/18
to Kill Bill users mailing-list
what different with tomcat version 7 from default killbill ? this error get in version 8 and 9, what location to setting this ? cause i need to know and configuration killbill used in tomcat. can you give me some info ?
Hope that helps,

To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To post to this group, send email to killbill...@googlegroups.com.



--
Pierre

Muhammad Iqbal Pratama

unread,
Jun 29, 2018, 2:27:46 AM6/29/18
to Kill Bill users mailing-list
cause in tomcat version 7 killbill run as well, but not in version 8 and 9

youngc...@insertcoin.me

unread,
Sep 20, 2018, 6:09:59 AM9/20/18
to Kill Bill users mailing-list
Hello~! I try to setup killbill on my mac.
I have same problem above.
I also checked any Java application is not running on the same host.
Can you help me?
I've already sent you a mail but not response to me yet.
Thanks.


2018-09-20T09:57:25,787+0000 lvl='INFO', log='DefaultOSGIService', th='RMI TCP Connection(4)-127.0.0.1', xff='', rId='', aRId='', tRId='', Deleted recursively /var/tmp/felix/osgi-cache
Sep 20, 2018 9:57:26 AM java.io.ObjectInputStream filterCheck
정보: ObjectInputFilter REJECTED: class com.sun.jndi.rmi.registry.ReferenceWrapper_Stub, array length: -1, nRefs: 3, depth: 1, bytes: 114, ex: n/a
Sep 20, 2018 9:57:39 AM org.apache.catalina.startup.HostConfig deployDirectory
정보: Deploying web application directory /Users/b329/Sources/apache-tomcat-7.0.90/webapps/manager
2018-09-20T09:59:28,734+0000 lvl='WARN', log='JNDIManager', th='RMI TCP Connection(4)-127.0.0.1', xff='', rId='', aRId='', tRId='', Error exporting killbill/osgi/jdbc
javax.naming.CommunicationException: null
at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:177)
at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:182)
at javax.naming.InitialContext.rebind(InitialContext.java:433)
at org.killbill.billing.platform.jndi.JNDIManager.doExport(JNDIManager.java:114)
at org.killbill.billing.platform.jndi.JNDIManager.export(JNDIManager.java:66)
at org.killbill.billing.osgi.KillbillActivator.start(KillbillActivator.java:162)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4701)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix.init(Felix.java:791)
at org.killbill.billing.osgi.DefaultOSGIService.createAndInitFelixFrameworkWithSystemBundle(DefaultOSGIService.java:162)
at org.killbill.billing.osgi.DefaultOSGIService.createAndInitFramework(DefaultOSGIService.java:147)
at org.killbill.billing.osgi.DefaultOSGIService.initialize(DefaultOSGIService.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.killbill.billing.lifecycle.DefaultLifecycle.doFireStage(DefaultLifecycle.java:150)
at org.killbill.billing.lifecycle.DefaultLifecycle.fireSequence(DefaultLifecycle.java:137)
at org.killbill.billing.lifecycle.DefaultLifecycle.fireStartupSequencePriorEventRegistration(DefaultLifecycle.java:78)
at org.killbill.billing.server.listeners.KillbillPlatformGuiceListener.startLifecycle(KillbillPlatformGuiceListener.java:254)
at org.killbill.billing.server.listeners.KillbillPlatformGuiceListener.contextInitialized(KillbillPlatformGuiceListener.java:110)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1017)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:993)

Pierre-Alexandre Meyer

unread,
Sep 20, 2018, 11:46:52 AM9/20/18
to youngc...@insertcoin.me, Kill Bill users mailing-list
On Thu, Sep 20, 2018 at 11:09 AM, <youngc...@insertcoin.me> wrote:
Hello~! I try to setup killbill on my mac.
I have same problem above.
I also checked any Java application is not running on the same host.

How are you deploying Kill Bill? Also, are you specifying any specific JMX properties?
 
I've already sent you a mail but not response to me yet.

We don't have the bandwidth to answer individual emails, please only use the mailing-list.

Thanks,

--
Pierre

Youngcheol Na

unread,
Nov 26, 2018, 2:32:51 AM11/26/18
to pie...@kill-bill.org, killbill...@googlegroups.com

Hello~!
I'm sending a mail again after receiving your mail which you sent 3 months ago.
Actually I really try to make killbill setting on my eclipse.
Its is not easy to set as you know because there is not any information detailed.
If I use docker to use killbill, I'm afraid of not being able to customize or change source code to adjust for our business.

Can you make Eclipse setting version for developers? 

Thank you~!


2018년 9월 21일 (금) 오전 12:46, Pierre-Alexandre Meyer <pie...@kill-bill.org>님이 작성:

Pierre-Alexandre Meyer

unread,
Nov 26, 2018, 3:37:18 AM11/26/18
to youngc...@insertcoin.me, killbill...@googlegroups.com
Hello,

The Kill Bill core developers don't have any experience with Eclipse unfortunately. Try the Eclipse community instead?

Note also that if you change the source code in any way, we wouldn't be able to help you on this mailing-list anymore.

Best regards,
--
Pierre
Reply all
Reply to author
Forward
0 new messages