[JBoss OSGi] - Problem of running jboss-osgi-1.0.0beta2
by jackiejuju
Hi All,
After I installed jboss-osgi-1.0.0bet2 following the instructions of http://jbmuc.dyndns.org:8280/hudson/job/jbossosgi-jdk16/ws/jboss-osgi/dis..., ( deselect OGGI-Integration, and choose Felix OSGiFramework), and started up the runtime, the web console( should be at http://localhost:8090/jboss-osgi) doesn't work.
And an exception timely appeared
18:18:07,796 ERROR [jboss-osgi-hotdeploy] Deployment error
java.lang.NullPointerException
at org.jboss.osgi.service.hotdeploy.internal.DeploymentScannerImpl.getBundles(DeploymentScannerImpl.java:232)
at org.jboss.osgi.service.hotdeploy.internal.DeploymentScannerImpl.scan(DeploymentScannerImpl.java:146)
at org.jboss.osgi.service.hotdeploy.internal.ScannerThread.run(ScannerThread.java:59)
Anyone has hint about the reason? or any workaround?
====== startup log =====
uweihuas-macbook:bin juweihua$ ./run.sh
=========================================================================
JBossOSGi Bootstrap Environment
OSGI_HOME: /Users/juweihua/jboss-osgi-1.0.0.Beta2/runtime
JAVA: /Library/Java/Home/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Dosgi.home=/Users/juweihua/jboss-osgi-1.0.0.Beta2/runtime -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
=========================================================================
18:04:17,193 INFO [FelixIntegration] OSGi Integration Felix - 1.0.0.Beta2
18:04:17,571 INFO [FelixIntegration] Installed bundle [1]: org.osgi.compendium
18:04:17,576 INFO [FelixIntegration] Installed bundle [2]: org.apache.felix.log
18:04:17,585 INFO [FelixIntegration] Installed bundle [3]: jboss-osgi-common
18:04:17,601 INFO [FelixIntegration] Installed bundle [4]: jboss-osgi-hotdeploy
18:04:17,632 INFO [FelixIntegration] Started bundle: org.apache.felix.log
18:04:17,717 INFO [FelixIntegration] Started bundle: jboss-osgi-common
18:04:17,717 INFO [jboss-osgi-common] ServiceEvent REGISTERED
18:04:17,718 INFO [jboss-osgi-common] BundleEvent STARTED
18:04:17,718 INFO [jboss-osgi-common] ServiceEvent REGISTERED
18:04:17,725 INFO [jboss-osgi-hotdeploy] BundleEvent RESOLVED
18:04:17,733 INFO [jboss-osgi-hotdeploy] Start DeploymentScanner: [scandir=.../server/default/deploy,interval=2000ms]
18:04:17,733 INFO [jboss-osgi-hotdeploy] ServiceEvent REGISTERED
18:04:17,734 INFO [FelixIntegration] Started bundle: jboss-osgi-hotdeploy
18:04:17,734 INFO [OSGiBootstrap] JBossOSGi Runtime booted in 0.541sec
18:04:17,733 INFO [jboss-osgi-hotdeploy] BundleEvent STARTED
18:04:17,791 INFO [jboss-osgi-common-core] BundleEvent INSTALLED
18:04:17,792 INFO [jboss-osgi-common] Installed: jboss-osgi-common-core [5]
18:04:17,818 INFO [jboss-osgi-jmx] BundleEvent INSTALLED
18:04:17,824 INFO [jboss-osgi-common] Installed: jboss-osgi-jmx [6]
18:04:17,830 INFO [jboss-osgi-common] Installed: jboss-osgi-jndi [7]
18:04:17,832 INFO [jboss-osgi-jndi] BundleEvent INSTALLED
18:04:17,842 INFO [jboss-osgi-common-core] BundleEvent STARTED
18:04:17,842 INFO [jboss-osgi-common-core] BundleEvent RESOLVED
18:04:17,862 INFO [jboss-osgi-jndi] BundleEvent RESOLVED
18:04:17,864 INFO [jboss-osgi-jmx] BundleEvent RESOLVED
18:04:17,960 INFO [jboss-osgi-jmx] ServiceEvent REGISTERED
18:04:17,961 INFO [jboss-osgi-jmx] ServiceEvent REGISTERED
18:04:17,986 INFO [jboss-osgi-jmx] BundleEvent STARTED
18:04:18,281 INFO [jboss-osgi-jndi] JNDI started: JNP=localhost:1099, RMI=localhost:1098
18:04:18,459 INFO [jboss-osgi-jndi] BundleEvent STARTED
18:04:18,459 INFO [jboss-osgi-jndi] ServiceEvent REGISTERED
18:04:18,459 INFO [jboss-osgi-jmx] MBeanServerConnection bound to: jmx/invoker/RMIAdaptor
18:04:20,458 INFO [OSGiBootstrap] JBossOSGi Runtime started in 1.262sec
Regards,
Jackie Ju
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237849#4237849
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237849
17 years, 1 month
[JBoss Messaging] - Problems while creating a bridge service
by PaulMe
Hi all,
I've some problems with creating a bridge service.
I get to the point when I try to look for a queue that isn't there, it get the error 'Name not found' which indicates that it can reach the server, etc.
However when I try to lookup a name that is on the server. I get the following error :
anonymous wrote : 2009-06-15 11:34:42,604 WARN [org.jboss.jms.server.bridge.Bridge] (main) jboss.jms:name=TestBridge,service=Bridge Failed to set up connections
| javax.jms.JMSException: Failed to connect to the server at tcp://W2K-TBC04O:7222
| at com.tibco.tibjms.TibjmsxLinkTcp._createSocket(TibjmsxLinkTcp.java:817)
| at com.tibco.tibjms.TibjmsxLinkTcp.connect(TibjmsxLinkTcp.java:913)
| at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1002)
| at com.tibco.tibjms.TibjmsConnection.(TibjmsConnection.java:2699)
| at com.tibco.tibjms.TibjmsQueueConnection.(TibjmsQueueConnection.java:36)
| at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:186)
| at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:239)
| at com.tibco.tibjms.TibjmsConnectionFactory.createConnection(TibjmsConnectionFactory.java:58)
| at org.jboss.jms.server.bridge.Bridge.createConnection(Bridge.java:906)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:1015)
| at org.jboss.jms.server.bridge.Bridge.start(Bridge.java:320)
| at org.jboss.jms.server.bridge.BridgeService.startService(BridgeService.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269)
| 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
| at $Proxy38.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
| at org.jboss.system.ServiceController.start(ServiceController.java:460)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
| at org.jboss.Main.boot(Main.java:221)
| at org.jboss.Main$1.run(Main.java:556)
| at java.lang.Thread.run(Thread.java:595)
| 2009-06-15 11:34:42,931 WARN [org.jboss.jms.server.bridge.Bridge] (main) jboss.jms:name=TestBridge,service=Bridge Failed to start bridge
I try to connect to a Tibco EMS server using a jar given to me by the Tibco developers.
Futher I use the standard settings with a extra queue and an extra datasource (jms-ds.xml)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237846#4237846
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237846
17 years, 1 month