org.osgi.framework.BundleException: Could not find bundle: unknown

Jadine
Posts: 7
Joined: Tue Feb 21, 2017 2:12 pm

org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Jadine » Tue Feb 21, 2017 2:25 pm

Hello,

We have already looked in the manual and now we are trying to start with point 5: First Run - Available Products
https://wiki.odysseus.informatik.uni-ol ... h+Odysseus

But if we want to run the server (de.uniol.inf.is.odysseus.server.starter -> Odysseus Server.product) we receive the following exception:
!ENTRY org.eclipse.osgi 4 0 2017-02-21 12:44:46.737
!MESSAGE Could not find bundle: unknown
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: unknown
at org.eclipse.core.runtime.internal.adaptor.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:58)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:331)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Starting application: 2420
345 INFO OdysseusServerApplication - Odysseus application is fully started! - de.uniol.inf.is.odysseus.product.server.starter.OdysseusServerApplication.start(OdysseusServerApplication.java:31)
Please help.
Greetings :)

User avatar
Marco Grawunder
Posts: 272
Joined: Tue Jul 29, 2014 10:29 am
Location: Oldenburg, Germany
Contact:

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Marco Grawunder » Tue Feb 21, 2017 2:28 pm

Hi,

welcome to Odysseus!

This message can be ignored. Odysseus server should be working without any problems..

Greetings,

Marco

Jadine
Posts: 7
Joined: Tue Feb 21, 2017 2:12 pm

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Jadine » Tue Feb 21, 2017 2:41 pm

Thank you very much for the quick reply, but then we have the problem that the client can simply not connect to the server.
We used the client and server from your webside and followed the steps.

After waiting some time the client throws the following exception:
Write something to finish: Login to Odysseus ...
Starting the internal HTTP client
Stopping the internal HTTP client
de.uniol.inf.is.odysseus.client.communication.rest.RestException: org.restlet.resource.ResourceException: Communication Error (1001) - The connector failed to complete the communication with the server
at de.uniol.inf.is.odysseus.client.communication.rest.RestService.login(RestService.java:84)
at OdysseusCommunication.startQuery(OdysseusCommunication.java:67)
at OdysseusCommunication$1.run(OdysseusCommunication.java:30)

User avatar
Marco Grawunder
Posts: 272
Joined: Tue Jul 29, 2014 10:29 am
Location: Oldenburg, Germany
Contact:

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Marco Grawunder » Tue Feb 21, 2017 2:57 pm

Ah ok. You are using the non studio client, I guess.

The REST-Service is not a standard module. To use the REST feature you will need to add the rest feature to the server product:
- Open the product file
- Contents (on the lower side of the window)
Add...
in the window type: rest.feature and only de.uniol.inf.is.odysseus.rest.feature will stay
- Save!
- Back to overview
- Sychronize (important, when configuration changes, e.g. with new features or plugins)
- Launch an Eclipse application

Please try again to connect.

Jadine
Posts: 7
Joined: Tue Feb 21, 2017 2:12 pm

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Jadine » Tue Feb 21, 2017 3:44 pm

Thank you.
Unfortunately it is still not working and throws the same exception.

User avatar
Marco Grawunder
Posts: 272
Joined: Tue Jul 29, 2014 10:29 am
Location: Oldenburg, Germany
Contact:

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Marco Grawunder » Tue Feb 21, 2017 3:50 pm

Can you type ls in the console window? Could you please paste the result here?

Another question: Are client and server on the same machine?

Jadine
Posts: 7
Joined: Tue Feb 21, 2017 2:12 pm

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Jadine » Tue Feb 21, 2017 4:00 pm

This is the result:

Code: Select all

All Components:
ID	State			Component Name			Located in bundle
1	Active		de.uniol.inf.is.odysseus.aggregation.AVG			de.uniol.inf.is.odysseus.aggregation(bid=5)
2	Active		de.uniol.inf.is.odysseus.aggregation.Count			de.uniol.inf.is.odysseus.aggregation(bid=5)
3	Active		de.uniol.inf.is.odysseus.aggregation.DistinctCount			de.uniol.inf.is.odysseus.aggregation(bid=5)
4	Active		de.uniol.inf.is.odysseus.aggregation.DistinctNest			de.uniol.inf.is.odysseus.aggregation(bid=5)
5	Active		de.uniol.inf.is.odysseus.aggregation.Max			de.uniol.inf.is.odysseus.aggregation(bid=5)
6	Active		de.uniol.inf.is.odysseus.aggregation.Min			de.uniol.inf.is.odysseus.aggregation(bid=5)
7	Active		de.uniol.inf.is.odysseus.aggregation.Sum			de.uniol.inf.is.odysseus.aggregation(bid=5)
8	Active		de.uniol.inf.is.odysseus.aggregation.AggregationFunctionRegistry			de.uniol.inf.is.odysseus.aggregation(bid=5)
9	Active		de.uniol.inf.is.odysseus.aggregation.Nest			de.uniol.inf.is.odysseus.aggregation(bid=5)
10	Active		de.uniol.inf.is.odysseus.aggregation.Topk			de.uniol.inf.is.odysseus.aggregation(bid=5)
11	Active		de.uniol.inf.is.odysseus.aggregation.Trigger			de.uniol.inf.is.odysseus.aggregation(bid=5)
12	Active		de.uniol.inf.is.odysseus.aggregation.Variance			de.uniol.inf.is.odysseus.aggregation(bid=5)
13	Active		de.uniol.inf.is.odysseus.console.executor.impl.CommandProviderBinder			de.uniol.inf.is.odysseus.console.executor(bid=7)
14	Registered		de.uniol.inf.is.odysseus.console.executor.ConsoleCommandExecutor			de.uniol.inf.is.odysseus.console.executor(bid=7)
15	Active		de.uniol.inf.is.odysseus.core.BitVectorDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
16	Active		de.uniol.inf.is.odysseus.core.datahandler.BooleanHandler			de.uniol.inf.is.odysseus.core(bid=8)
17	Active		de.uniol.inf.is.odysseus.core.datahandler.ByteBufferDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
18	Active		de.uniol.inf.is.odysseus.core.ByteBufferHandler			de.uniol.inf.is.odysseus.core(bid=8)
19	Active		de.uniol.inf.is.odysseus.core.datahandler.ByteDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
20	Active		de.uniol.inf.is.odysseus.core.datahandler.DataHandlerRegistry			de.uniol.inf.is.odysseus.core(bid=8)
21	Active		de.uniol.inf.is.odysseus.core.datahandler.DateHandler			de.uniol.inf.is.odysseus.core(bid=8)
22	Active		de.uniol.inf.is.odysseus.core.datahandler.DocumentHandler			de.uniol.inf.is.odysseus.core(bid=8)
23	Active		de.uniol.inf.is.odysseus.core.datahandler.DoubleHandler			de.uniol.inf.is.odysseus.core(bid=8)
24	Active		de.uniol.inf.is.odysseus.core.datahandler.DStringHandler			de.uniol.inf.is.odysseus.core(bid=8)
25	Active		de.uniol.inf.is.odysseus.core.datahandler.FloatDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
26	Active		de.uniol.inf.is.odysseus.core.datahandler.IntegerHandler			de.uniol.inf.is.odysseus.core(bid=8)
27	Active		de.uniol.inf.is.odysseus.core.datahandler.LongHandler			de.uniol.inf.is.odysseus.core(bid=8)
28	Active		de.uniol.inf.is.odysseus.core.datahandler.MatrixDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
29	Active		de.uniol.inf.is.odysseus.core.NioTcpClientHandler			de.uniol.inf.is.odysseus.core(bid=8)
30	Active		de.uniol.inf.is.odysseus.core.NioTcpClientHandler_Netty			de.uniol.inf.is.odysseus.core(bid=8)
31	Active		de.uniol.inf.is.odysseus.core.NioTcpServerHandler			de.uniol.inf.is.odysseus.core(bid=8)
32	Active		de.uniol.inf.is.odysseus.core.NioTcpServerHandler_Netty			de.uniol.inf.is.odysseus.core(bid=8)
33	Active		de.uniol.inf.is.odysseus.core.NioUcpClientHandler			de.uniol.inf.is.odysseus.core(bid=8)
34	Active		de.uniol.inf.is.odysseus.core.NioUdpServerHandler			de.uniol.inf.is.odysseus.core(bid=8)
35	Active		de.uniol.inf.is.odysseus.core.NullAwareTupleDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
36	Active		de.uniol.inf.is.odysseus.core.ObjectHandlerRegistry			de.uniol.inf.is.odysseus.core(bid=8)
37	Active		de.uniol.inf.is.odysseus.core.OdysseusProtocolHandler			de.uniol.inf.is.odysseus.core(bid=8)
38	Active		de.uniol.inf.is.odysseus.core.OdysseusProtocolHandler2			de.uniol.inf.is.odysseus.core(bid=8)
39	Active		de.uniol.inf.is.odysseus.core.ProtocolHandlerRegistry			de.uniol.inf.is.odysseus.core(bid=8)
40	Active		de.uniol.inf.is.odysseus.core.ShortDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
41	Active		de.uniol.inf.is.odysseus.core.SimpleByteBufferHandler			de.uniol.inf.is.odysseus.core(bid=8)
42	Active		de.uniol.inf.is.odysseus.core.SimpleUDPReceiveTransportHandler			de.uniol.inf.is.odysseus.core(bid=8)
43	Active		de.uniol.inf.is.odysseus.core.SizeByteBufferHandler			de.uniol.inf.is.odysseus.core(bid=8)
44	Active		de.uniol.inf.is.odysseus.core.datahandler.StringHandler			de.uniol.inf.is.odysseus.core(bid=8)
45	Active		de.uniol.inf.is.odysseus.core.TransportHandlerRegistry			de.uniol.inf.is.odysseus.core(bid=8)
46	Active		de.uniol.inf.is.odysseus.core.datahandler.TupleDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
47	Active		de.uniol.inf.is.odysseus.core.datahandler.VectorDataHandler			de.uniol.inf.is.odysseus.core(bid=8)
48	Active		de.uniol.inf.is.odysseus.core.server.AggregateFunctionBuilderRegistry			de.uniol.inf.is.odysseus.core.server(bid=9)
49	Active		de.uniol.inf.is.odysseus.core.server.datahandler.AvgSumPartialAggregateDataHandler			de.uniol.inf.is.odysseus.core.server(bid=9)
50	Active		de.uniol.inf.is.odysseus.core.server.ConfigurationPermissionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
51	Active		de.uniol.inf.is.odysseus.core.server.datahandler.CountPartialAggregateDataHandler			de.uniol.inf.is.odysseus.core.server(bid=9)
52	Active		de.uniol.inf.is.odysseus.core.server.DataDictionaryPermissionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
53	Active		de.uniol.inf.is.odysseus.core.server.usermanagement.DataDictionaryProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
54	Active		de.uniol.inf.is.odysseus.server.executor			de.uniol.inf.is.odysseus.core.server(bid=9)
55	Active		de.uniol.inf.is.odysseus.core.server.usermanagement.ExecutorPermissionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
56	Active		de.uniol.inf.is.odysseus.core.server.FileStore			de.uniol.inf.is.odysseus.core.server(bid=9)
57	Active		de.uniol.inf.is.odysseus.core.server.MemoryStore			de.uniol.inf.is.odysseus.core.server(bid=9)
58	Active		MEP			de.uniol.inf.is.odysseus.core.server(bid=9)
59	Active		de.uniol.inf.is.odysseus.core.server.MetadataRegistry			de.uniol.inf.is.odysseus.core.server(bid=9)
60	Active		de.uniol.inf.is.odysseus.core.server.operatorbuilder			de.uniol.inf.is.odysseus.core.server(bid=9)
61	Active		de.uniol.inf.is.odysseus.core.server.planmanagement.function.functionprovider			de.uniol.inf.is.odysseus.core.server(bid=9)
62	Active		de.uniol.inf.is.odysseus.core.server.planmanagement.executor.transport.PlanModificationWatcherTransportHandler			de.uniol.inf.is.odysseus.core.server(bid=9)
63	Active		de.uniol.inf.is.odysseus.core.server.sourcedescription.sdf.function.SDFFunctionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
64	Active		de.uniol.inf.is.odysseus.core.server.store.function.storefunctionprovider			de.uniol.inf.is.odysseus.core.server(bid=9)
65	Active		de.uniol.inf.is.odysseus.core.server.StoreRegistry			de.uniol.inf.is.odysseus.core.server(bid=9)
66	Active		de.uniol.inf.is.odysseus.core.server.UpdatePermissionPermissionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
67	Active		de.uniol.inf.is.odysseus.core.server.usermanagement.UserManagementProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
68	Active		de.uniol.inf.is.odysseus.core.server.UserManagementPermissionProvider			de.uniol.inf.is.odysseus.core.server(bid=9)
69	Active		de.uniol.inf.is.odysseus.core.server.console.OdysseusConsole			de.uniol.inf.is.odysseus.core.server.console(bid=10)
70	Active		de.uniol.inf.is.odysseus.core.server.datadictionary.DataDictionary			de.uniol.inf.is.odysseus.core.server.datadictionary(bid=11)
71	Active		de.uniol.inf.is.odysseus.datatype.interval.IntervalDatatypeProvider			de.uniol.inf.is.odysseus.datatype.interval(bid=12)
72	Active		de.uniol.inf.is.odysseus.datatype.interval.IntervalFunctionProvider			de.uniol.inf.is.odysseus.datatype.interval(bid=12)
73	Active		de.uniol.inf.is.odysseus.datatype.interval.IntervalDoubleDataHandler			de.uniol.inf.is.odysseus.datatype.interval(bid=12)
74	Active		de.uniol.inf.is.odysseus.intervalapproach.DefaultTISweepArea			de.uniol.inf.is.odysseus.intervalapproach(bid=13)
75	Active		de.uniol.inf.is.odysseus.memstore.mdastore.MDAPreParserKeywordProvider			de.uniol.inf.is.odysseus.memstore.mdastore(bid=15)
76	Active		de.uniol.inf.is.odysseus.memstore.mdastore.FunctionProvider			de.uniol.inf.is.odysseus.memstore.mdastore(bid=15)
77	Active		de.uniol.inf.is.odysseus.mep.commons.math.AggregationFunctionBuilder			de.uniol.inf.is.odysseus.mep.commons.math(bid=17)
78	Active		de.uniol.inf.is.odysseus.mep.matrix.MatrixFunctionProvider			de.uniol.inf.is.odysseus.mep.matrix(bid=18)
79	Active		de.uniol.inf.is.odysseus.parser.cql.CQLParser			de.uniol.inf.is.odysseus.parser.cql(bid=19)
80	Active		de.uniol.inf.is.odysseus.parser.cql			de.uniol.inf.is.odysseus.parser.cql(bid=19)
81	Active		de.uniol.inf.is.odysseus.parser.pql			de.uniol.inf.is.odysseus.parser.pql(bid=20)
82	Active		de.uniol.inf.is.odysseus.parser.pql.generator.PQLStatementGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
83	Active		de.uniol.inf.is.odysseus.parser.pql.generator.AbstractAccessAOPQLStatementGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
84	Active		de.uniol.inf.is.odysseus.parser.pql.generator.SenderAOGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
85	Active		de.uniol.inf.is.odysseus.parser.pql.generator.PQLGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
86	Active		de.uniol.inf.is.odysseus.parser.pql.generator.AccessAOPQLStatementGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
87	Active		de.uniol.inf.is.odysseus.parser.pql.generator.CSVFileSourcePQLGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
88	Active		de.uniol.inf.is.odysseus.parser.pql.generator.StreamAOPQLGenerator			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
89	Active		de.uniol.inf.is.odysseus.parser.pql.generator.Console			de.uniol.inf.is.odysseus.parser.pql.generator(bid=21)
90	Active		de.uniol.inf.is.odysseus.planmanagement.bufferplacement.querybufferplacement			de.uniol.inf.is.odysseus.planmanagement.bufferplacement.querybufferplacement(bid=23)
91	Active		de.uniol.inf.is.odysseus.planmanagement.bufferplacement.sourcebufferplacementstrategy.sourcebufferplacementstrategy			de.uniol.inf.is.odysseus.planmanagement.bufferplacement.sourcebufferplacementstrategy(bid=24)
92	Active		de.uniol.inf.is.odysseus.planmanagement.bufferplacement.standardbufferplacementstrategy.standardbufferplacementstrategy			de.uniol.inf.is.odysseus.planmanagement.bufferplacement.standardbufferplacementstrategy(bid=25)
93	Active		de.uniol.inf.is.odysseus.planmanagement.compiler.standardcompiler			de.uniol.inf.is.odysseus.planmanagement.compiler.standardcompiler(bid=26)
94	Active		de.uniol.inf.is.odysseus.planmanagement.executor.standardexecutor			de.uniol.inf.is.odysseus.planmanagement.executor.standardexecutor(bid=27)
95	Active		de.uniol.inf.is.odysseus.planmanagement.executor.standardexecutor.ReloadLog			de.uniol.inf.is.odysseus.planmanagement.executor.standardexecutor(bid=27)
96	Active		de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server.binding			de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server(bid=28)
97	Active		de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server.OperatorBuilderFactory			de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server(bid=28)
98	Active		de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server.SecurityProviderServiceBinding			de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server(bid=28)
99	Active		de.uniol.inf.is.odysseus.planmanagement.optimization.query.standardqueryoptimizer.			de.uniol.inf.is.odysseus.planmanagement.optimization.query.standardqueryoptimizer(bid=29)
100	Active		de.uniol.inf.is.odysseus.planmanagement.optimization.querysharing.querysharingoptimizer			de.uniol.inf.is.odysseus.planmanagement.optimization.querysharing(bid=30)
101	Active		de.uniol.inf.is.odysseus.planmanagement.optimization.standardoptimizer			de.uniol.inf.is.odysseus.planmanagement.optimization.standardoptimizer(bid=31)
102	Active		de.uniol.inf.is.odysseus.physicaloperator.relational.RelationalAggregateFunctionBuilder			de.uniol.inf.is.odysseus.relational.base(bid=32)
103	Active		de.uniol.inf.is.odysseus.relational.datahandler.RelationalElementPartialAggregateDataHandler			de.uniol.inf.is.odysseus.relational.base(bid=32)
104	Active		de.uniol.inf.is.odysseus.relational.rewrite.RuleService			de.uniol.inf.is.odysseus.relational.base(bid=32)
105	Active		de.uniol.inf.is.odysseus.relational_interval.StandardQueryBuildConfigurationTemplate			de.uniol.inf.is.odysseus.relational_interval(bid=33)
106	Active		de.uniol.inf.is.odysseus.relational_interval.ReplacementRegistry			de.uniol.inf.is.odysseus.relational_interval(bid=33)
107	Active		de.uniol.inf.is.odysseus.report.ReportProviderBinder			de.uniol.inf.is.odysseus.report(bid=34)
108	Active		de.uniol.inf.is.odysseus.report.Generator			de.uniol.inf.is.odysseus.report(bid=34)
109	Active		de.uniol.inf.is.odysseus.report.console.Console			de.uniol.inf.is.odysseus.report.console(bid=35)
110	Active		de.uniol.inf.is.odysseus.report.executor.ServerExecutor			de.uniol.inf.is.odysseus.report.executor(bid=36)
111	Active		de.uniol.inf.is.odysseus.report.executor.ReportProvider			de.uniol.inf.is.odysseus.report.executor(bid=36)
112	Active		de.uniol.inf.is.odysseus.report.general.System			de.uniol.inf.is.odysseus.report.general(bid=37)
113	Active		de.uniol.inf.is.odysseus.report.general.Bundle			de.uniol.inf.is.odysseus.report.general(bid=37)
114	Active		de.uniol.inf.is.odysseus.report.general.Services			de.uniol.inf.is.odysseus.report.general(bid=37)
115	Active		de.uniol.inf.is.odysseus.rest.service.RestService			de.uniol.inf.is.odysseus.rest(bid=38)
116	Active		de.uniol.inf.is.odysseus.rest.ExecutorServiceBinding			de.uniol.inf.is.odysseus.rest(bid=38)
117	Active		de.uniol.inf.is.odysseus.rest.impl.CoreRestProvider			de.uniol.inf.is.odysseus.rest(bid=38)
118	Active		de.uniol.inf.is.odysseus.rewrite			de.uniol.inf.is.odysseus.rewrite(bid=39)
119	Active		de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager.SingleSchedulerManager			de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager(bid=41)
120	Active		de.uniol.inf.is.odysseus.scheduler.STSchedulerFactoryMS_RR_LimitSourcesPThread			de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler(bid=42)
121	Active		de.uniol.inf.is.odysseus.scheduler.SimpleThreadSchedulerMSLimitThreadsMultiSourceRR			de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler(bid=42)
122	Active		de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler.SingleThreadSchedulerFactoryRR			de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler(bid=42)
123	Active		de.uniol.inf.is.odysseus.scheduler.strategy.factory.aurorafactory.AuroraMinCostIterFactory			de.uniol.inf.is.odysseus.scheduler.strategy.factory.aurorafactory(bid=43)
124	Active		de.uniol.inf.is.odysseus.scheduler.strategy.factory.aurorafactory.AuroraMinLatencyFactory			de.uniol.inf.is.odysseus.scheduler.strategy.factory.aurorafactory(bid=43)
125	Active		de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory.BiggestQueueFactory			de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory(bid=44)
126	Active		de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory.RoundRobinIterFactory			de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory(bid=44)
127	Active		de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory.RoundRobinNoIterFactory			de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory(bid=44)
128	Active		de.uniol.inf.is.odysseus.script.executor.PreParserKeywordProvider			de.uniol.inf.is.odysseus.script.executor(bid=45)
129	Registered		de.uniol.inf.is.odysseus.script.generator			de.uniol.inf.is.odysseus.script.generator(bid=46)
130	Active		de.uniol.inf.is.odysseus.script.parser.PreParserKeywordProvider			de.uniol.inf.is.odysseus.script.parser(bid=47)
131	Active		de.uniol.inf.is.odysseus.script.parser.OdysseusScriptParser			de.uniol.inf.is.odysseus.script.parser(bid=47)
132	Active		de.uniol.inf.is.odysseus.script.parser.executor			de.uniol.inf.is.odysseus.script.parser(bid=47)
133	Active		de.uniol.inf.is.odysseus.script.parser.Config			de.uniol.inf.is.odysseus.script.parser(bid=47)
134	Active		de.uniol.inf.is.odysseus.script.parser.QuerySharingConfigSetting			de.uniol.inf.is.odysseus.script.parser(bid=47)
135	Active		de.uniol.inf.is.odysseus.script.parser.DistributeConfigSetting			de.uniol.inf.is.odysseus.script.parser(bid=47)
136	Active		de.uniol.inf.is.odysseus.script.parser.ReplacementProviderManager			de.uniol.inf.is.odysseus.script.parser(bid=47)
137	Active		de.uniol.inf.is.odysseus.script.parser.SystemPropertyReplacementProvider			de.uniol.inf.is.odysseus.script.parser(bid=47)
138	Active		de.uniol.inf.is.odysseus.script.parser.Console			de.uniol.inf.is.odysseus.script.parser(bid=47)
139	Active		de.uniol.inf.is.odysseus.script.parser.RecoveryConfigKeyword			de.uniol.inf.is.odysseus.script.parser(bid=47)
140	Active		de.uniol.inf.is.odysseus.security			de.uniol.inf.is.odysseus.security(bid=48)
141	Active		de.uniol.inf.is.odysseus.server.autostart			de.uniol.inf.is.odysseus.server.autostart(bid=49)
142	Active		de.uniol.inf.is.odysseus.server.intervalapproach.Interval			de.uniol.inf.is.odysseus.server.intervalapproach(bid=50)
143	Active		de.uniol.inf.is.odysseus.server.intervalapproach.JoinTISweepArea			de.uniol.inf.is.odysseus.server.intervalapproach(bid=50)
144	Active		de.uniol.inf.is.odysseus.server.intervalapproach.rewrite.RewriteRuleProvider			de.uniol.inf.is.odysseus.server.intervalapproach(bid=50)
145	Active		de.uniol.inf.is.odysseus.sweeparea.SweepAreaRegistry			de.uniol.inf.is.odysseus.sweeparea(bid=54)
146	Active		de.uniol.inf.is.odysseus.transform			de.uniol.inf.is.odysseus.transform(bid=55)
147	Active		de.uniol.inf.is.odysseus.trust.Trust			de.uniol.inf.is.odysseus.trust(bid=56)
148	Active		de.uniol.inf.is.odysseus.usermanagement.filestore.permissionHandler			de.uniol.inf.is.odysseus.usermanagement.filestore(bid=58)
149	Active		UsermanagementFilestore			de.uniol.inf.is.odysseus.usermanagement.filestore(bid=58)
150	Active		org.eclipse.equinox.event			org.eclipse.equinox.event(bid=92)
151	Registered		org.eclipse.equinox.frameworkadmin.equinox			org.eclipse.equinox.frameworkadmin.equinox(bid=94)
152	Registered		org.eclipse.equinox.p2.artifact.repository			org.eclipse.equinox.p2.artifact.repository(bid=98)
153	Registered		org.eclipse.equinox.p2.core.eventbus			org.eclipse.equinox.p2.core(bid=100)
154	Registered		org.eclipse.equinox.p2.di.agentProvider			org.eclipse.equinox.p2.core(bid=100)
155	Registered		org.eclipse.equinox.p2.director			org.eclipse.equinox.p2.director(bid=101)
156	Registered		org.eclipse.equinox.p2.planner			org.eclipse.equinox.p2.director(bid=101)
157	Registered		org.eclipse.equinox.p2.engine.registry			org.eclipse.equinox.p2.engine(bid=103)
158	Registered		org.eclipse.equinox.p2.engine			org.eclipse.equinox.p2.engine(bid=103)
159	Registered		org.eclipse.equinox.p2.garbagecollector			org.eclipse.equinox.p2.garbagecollector(bid=104)
160	Registered		org.eclipse.equinox.p2.metadata.repository			org.eclipse.equinox.p2.metadata.repository(bid=107)
161	Registered		org.eclipse.equinox.p2.repository			org.eclipse.equinox.p2.repository(bid=111)
162	Registered		org.eclipse.equinox.p2.transport.ecf			org.eclipse.equinox.p2.transport.ecf(bid=115)
163	Registered		org.eclipse.equinox.p2.updatechecker			org.eclipse.equinox.p2.updatechecker(bid=116)
164	Registered		org.eclipse.equinox.simpleconfigurator.manipulator			org.eclipse.equinox.simpleconfigurator.manipulator(bid=122)
165	Active		org.eclipse.update.configurator.bundlegroup			org.eclipse.update.configurator(bid=133)
osgi> 
Yes they're running on the same machine.

User avatar
Marco Grawunder
Posts: 272
Joined: Tue Jul 29, 2014 10:29 am
Location: Oldenburg, Germany
Contact:

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Marco Grawunder » Tue Feb 21, 2017 4:36 pm

Hmm strange. Could you please also use and paste the "ss" command?

Tobias will have a look.

Jadine
Posts: 7
Joined: Tue Feb 21, 2017 2:12 pm

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by Jadine » Tue Feb 21, 2017 4:56 pm

Here is the result:

Code: Select all

osgi> ss
"Framework is launched."


id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.10.101.v20150820-1432
	            Fragments=130
1	ACTIVE      org.eclipse.equinox.simpleconfigurator_1.1.100.v20150423-1455
2	ACTIVE      Commons.Math_1.0.0
3	ACTIVE      com.google.guava_18.0.0
4	ACTIVE      com.rits.cloning_1.8.5
5	ACTIVE      de.uniol.inf.is.odysseus.aggregation_1.0.0.qualifier
6	STARTING    de.uniol.inf.is.odysseus.compiler_1.0.0.qualifier
7	ACTIVE      de.uniol.inf.is.odysseus.console.executor_1.0.0.qualifier
8	ACTIVE      de.uniol.inf.is.odysseus.core_1.0.0.qualifier
9	ACTIVE      de.uniol.inf.is.odysseus.core.server_1.0.0.qualifier
10	ACTIVE      de.uniol.inf.is.odysseus.core.server.console_1.0.0.qualifier
11	ACTIVE      de.uniol.inf.is.odysseus.core.server.datadictionary_1.0.0.qualifier
12	ACTIVE      de.uniol.inf.is.odysseus.datatype.interval_1.0.0.qualifier
13	ACTIVE      de.uniol.inf.is.odysseus.intervalapproach_1.0.0.qualifier
14	ACTIVE      de.uniol.inf.is.odysseus.logicaloperator.builder_1.0.0.qualifier
15	ACTIVE      de.uniol.inf.is.odysseus.memstore.mdastore_1.0.0.qualifier
16	ACTIVE      de.uniol.inf.is.odysseus.mep_1.0.0.qualifier
17	ACTIVE      de.uniol.inf.is.odysseus.mep.commons.math_1.0.0.qualifier
18	ACTIVE      de.uniol.inf.is.odysseus.mep.matrix_1.0.0.qualifier
19	ACTIVE      de.uniol.inf.is.odysseus.parser.cql_1.0.0.qualifier
20	ACTIVE      de.uniol.inf.is.odysseus.parser.pql_1.0.0.qualifier
21	ACTIVE      de.uniol.inf.is.odysseus.parser.pql.generator_1.0.0.qualifier
22	ACTIVE      de.uniol.inf.is.odysseus.parser.pql.relational_1.0.0.qualifier
23	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.bufferplacement.querybufferplacement_1.0.0.qualifier
24	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.bufferplacement.sourcebufferplacementstrategy_1.0.0.qualifier
25	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.bufferplacement.standardbufferplacementstrategy_1.0.0.qualifier
26	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.compiler.standardcompiler_1.0.0.qualifier
27	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.executor.standardexecutor_1.0.0.qualifier
28	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.executor.webservice.server_1.0.0.qualifier
29	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.optimization.query.standardqueryoptimizer_1.0.0.qualifier
30	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.optimization.querysharing_1.0.0.qualifier
31	ACTIVE      de.uniol.inf.is.odysseus.planmanagement.optimization.standardoptimizer_1.0.0.qualifier
32	ACTIVE      de.uniol.inf.is.odysseus.relational.base_1.0.0.qualifier
33	ACTIVE      de.uniol.inf.is.odysseus.relational_interval_1.0.0.qualifier
34	ACTIVE      de.uniol.inf.is.odysseus.report_1.0.0.qualifier
35	ACTIVE      de.uniol.inf.is.odysseus.report.console_1.0.0.qualifier
36	ACTIVE      de.uniol.inf.is.odysseus.report.executor_1.0.0.qualifier
37	ACTIVE      de.uniol.inf.is.odysseus.report.general_1.0.0.qualifier
38	ACTIVE      de.uniol.inf.is.odysseus.rest_1.0.0.qualifier
39	ACTIVE      de.uniol.inf.is.odysseus.rewrite_1.0.0.qualifier
40	ACTIVE      de.uniol.inf.is.odysseus.ruleengine_1.0.0.qualifier
41	ACTIVE      de.uniol.inf.is.odysseus.scheduler.manager.singleschedulermanager_1.0.0.qualifier
42	ACTIVE      de.uniol.inf.is.odysseus.scheduler.singlethreadscheduler_2.0.0.qualifier
43	ACTIVE      de.uniol.inf.is.odysseus.scheduler.strategy.factory.aurorafactory_1.0.1.qualifier
44	ACTIVE      de.uniol.inf.is.odysseus.scheduler.strategy.factory.simplestratfactory_1.0.0.qualifier
45	ACTIVE      de.uniol.inf.is.odysseus.script.executor_1.0.0.qualifier
46	ACTIVE      de.uniol.inf.is.odysseus.script.generator_1.0.0.qualifier
47	ACTIVE      de.uniol.inf.is.odysseus.script.parser_1.0.0.qualifier
48	ACTIVE      de.uniol.inf.is.odysseus.security_1.0.0.qualifier
49	ACTIVE      de.uniol.inf.is.odysseus.server.autostart_1.0.0.qualifier
50	ACTIVE      de.uniol.inf.is.odysseus.server.intervalapproach_1.0.0.qualifier
51	ACTIVE      de.uniol.inf.is.odysseus.server.replication_1.0.0.qualifier
52	ACTIVE      de.uniol.inf.is.odysseus.server.starter_1.0.0.qualifier
53	ACTIVE      de.uniol.inf.is.odysseus.slf4j_1.7.16
54	ACTIVE      de.uniol.inf.is.odysseus.sweeparea_1.0.0.qualifier
55	ACTIVE      de.uniol.inf.is.odysseus.transform_1.0.0.qualifier
56	ACTIVE      de.uniol.inf.is.odysseus.trust_1.0.0.qualifier
57	ACTIVE      de.uniol.inf.is.odysseus.updater_1.0.0.qualifier
58	ACTIVE      de.uniol.inf.is.odysseus.usermanagement.filestore_1.0.0.qualifier
59	ACTIVE      fastutil_7.0.2
60	ACTIVE      io.netty_4.0.33
61	ACTIVE      javax.servlet_3.1.0.v201410161800
62	ACTIVE      javax.xml_1.3.4.v201005080400
63	ACTIVE      org.apache.commons.codec_1.6.0.v201305230611
64	ACTIVE      org.apache.commons.io_1.0.0
65	ACTIVE      org.apache.commons.lang3_3.1.0
66	ACTIVE      org.apache.commons.logging_1.1.1.v201101211721
67	ACTIVE      org.apache.commons.math3_3.2.0
68	ACTIVE      org.apache.felix.gogo.command_0.10.0.v201209301215
69	ACTIVE      org.apache.felix.gogo.runtime_0.10.0.v201209301036
70	ACTIVE      org.apache.felix.gogo.shell_0.10.0.v201212101605
71	ACTIVE      org.apache.httpcomponents.httpclient_4.3.6.v201411290715
72	ACTIVE      org.apache.httpcomponents.httpcore_4.3.3.v201411290715
73	ACTIVE      org.eclipse.core.commands_3.7.0.v20150422-0725
74	ACTIVE      org.eclipse.core.contenttype_3.5.0.v20150421-2214
75	STARTING    org.eclipse.core.expressions_3.5.0.v20150421-2214
76	STARTING    org.eclipse.core.filesystem_1.5.0.v20150725-1910
77	ACTIVE      org.eclipse.core.jobs_3.7.0.v20150330-2103
78	STARTING    org.eclipse.core.resources_3.10.1.v20150725-1910
79	ACTIVE      org.eclipse.core.runtime_3.11.1.v20150903-1804
80	STARTING    org.eclipse.ecf_3.5.0.v20150810-1719
	            Fragments=87
81	STARTING    org.eclipse.ecf.filetransfer_5.0.0.v20150810-1719
82	STARTING    org.eclipse.ecf.identity_3.6.0.v20150810-1719
83	STARTING    org.eclipse.ecf.provider.filetransfer_3.2.200.v20150810-1719
	            Fragments=86
84	STARTING    org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.2000.v20150810-1719
	            Fragments=85
85	RESOLVED    org.eclipse.ecf.provider.filetransfer.httpclient4.ssl_1.1.0.v20150810-1719
	            Master=84
86	RESOLVED    org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20150810-1719
	            Master=83
87	RESOLVED    org.eclipse.ecf.ssl_1.2.0.v20150810-1719
	            Master=80
88	ACTIVE      org.eclipse.equinox.app_1.3.300.v20150423-1356
89	ACTIVE      org.eclipse.equinox.common_3.7.0.v20150402-1709
90	ACTIVE      org.eclipse.equinox.console_1.1.100.v20141023-1406
91	ACTIVE      org.eclipse.equinox.ds_1.4.300.v20150423-1356
92	ACTIVE      org.eclipse.equinox.event_1.3.100.v20140115-1647
93	STARTING    org.eclipse.equinox.frameworkadmin_2.0.200.v20150423-1455
94	STARTING    org.eclipse.equinox.frameworkadmin.equinox_1.0.600.v20150522-2234
95	STARTING    org.eclipse.equinox.http.jetty_3.1.1.v20150818-2108
96	STARTING    org.eclipse.equinox.http.servlet_1.2.1.v20150828-1818
97	ACTIVE      org.eclipse.equinox.launcher_1.3.100.v20150511-1540
98	STARTING    org.eclipse.equinox.p2.artifact.repository_1.1.400.v20150513-2116
99	STARTING    org.eclipse.equinox.p2.console_1.0.400.v20150423-1455
100	STARTING    org.eclipse.equinox.p2.core_2.4.0.v20150527-1706
101	STARTING    org.eclipse.equinox.p2.director_2.3.200.v20150423-1455
102	STARTING    org.eclipse.equinox.p2.director.app_1.0.400.v20150423-1455
103	STARTING    org.eclipse.equinox.p2.engine_2.4.0.v20150511-1532
104	STARTING    org.eclipse.equinox.p2.garbagecollector_1.0.200.v20131115-1210
105	ACTIVE      org.eclipse.equinox.p2.jarprocessor_1.0.400.v20150430-1836
106	STARTING    org.eclipse.equinox.p2.metadata_2.3.0.v20150511-1532
107	STARTING    org.eclipse.equinox.p2.metadata.repository_1.2.200.v20150428-1613
108	STARTING    org.eclipse.equinox.p2.operations_2.4.100.v20150423-1455
109	STARTING    org.eclipse.equinox.p2.publisher_1.4.0.v20141117-0929
110	STARTING    org.eclipse.equinox.p2.publisher.eclipse_1.2.0.v20150601-1708
111	STARTING    org.eclipse.equinox.p2.repository_2.3.100.v20150428-1613
112	STARTING    org.eclipse.equinox.p2.repository.tools_2.1.100.v20150423-1455
113	STARTING    org.eclipse.equinox.p2.touchpoint.eclipse_2.1.300.v20150423-1455
114	STARTING    org.eclipse.equinox.p2.touchpoint.natives_1.2.0.v20150519-1136
115	STARTING    org.eclipse.equinox.p2.transport.ecf_1.1.100.v20150521-1342
116	STARTING    org.eclipse.equinox.p2.updatechecker_1.1.200.v20131119-0908
117	STARTING    org.eclipse.equinox.p2.updatesite_1.0.500.v20150423-1455
118	ACTIVE      org.eclipse.equinox.preferences_3.5.300.v20150408-1437
119	ACTIVE      org.eclipse.equinox.registry_3.6.0.v20150318-1503
120	STARTING    org.eclipse.equinox.security_1.2.100.v20150423-1356
	            Fragments=121
121	RESOLVED    org.eclipse.equinox.security.win32.x86_64_1.0.100.v20130327-1442
	            Master=120
122	STARTING    org.eclipse.equinox.simpleconfigurator.manipulator_2.0.100.v20150423-1455
123	ACTIVE      org.eclipse.equinox.util_1.0.500.v20130404-1337
124	ACTIVE      org.eclipse.jetty.http_9.2.13.v20150730
125	ACTIVE      org.eclipse.jetty.io_9.2.13.v20150730
126	ACTIVE      org.eclipse.jetty.security_9.2.13.v20150730
127	ACTIVE      org.eclipse.jetty.server_9.2.13.v20150730
128	ACTIVE      org.eclipse.jetty.servlet_9.2.13.v20150730
129	ACTIVE      org.eclipse.jetty.util_9.2.13.v20150730
130	RESOLVED    org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551
	            Master=0
131	ACTIVE      org.eclipse.osgi.services_3.5.0.v20150519-2006
132	ACTIVE      org.eclipse.osgi.util_3.3.100.v20150423-1351
133	ACTIVE      org.eclipse.update.configurator_3.3.300.v20140518-1928
134	ACTIVE      org.objenesis_1.2.0
135	ACTIVE      org.sat4j.core_2.3.5.v201308161310
136	ACTIVE      org.sat4j.pb_2.3.5.v201404071733
137	ACTIVE      org.simpleframework.xml_1.0.0.qualifier
138	ACTIVE      org.tukaani.xz_1.3.0.v201308270617
139	ACTIVE      restlet-osgi-2.3.1_1.0.0.qualifier
Is there anything we have to do in the client project?
We have downloaded the client from the bitbucket server, imported in eclipse and exportet as a .jar. In a new project we inluced the .jar and took the code from the ReadMe as a class. Because of the exception:

Code: Select all

Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/restlet/resource/ClientResource
	at de.uniol.inf.is.odysseus.client.communication.rest.RestService.login(RestService.java:73)
	at OdysseusCommunication.startQuery(OdysseusCommunication.java:67)
	at OdysseusCommunication$1.run(OdysseusCommunication.java:30)
Caused by: java.lang.ClassNotFoundException: org.restlet.resource.ClientResource
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 3 more
we had to import all librarys from the downloaded bitbucket client. Did we do anything wrong?

tbrandt
Posts: 4
Joined: Fri Dec 16, 2016 5:55 pm

Re: org.osgi.framework.BundleException: Could not find bundle: unknown

Post by tbrandt » Tue Feb 21, 2017 5:11 pm

Hi,

I'm not sure where the error lies. I just tried to do your steps and it worked for me.

A first guess from me is that the port could be wrong. Sometimes, a different than the standard port is used. When you startup the Odysseus Server, there should be a message like this:

Code: Select all

Feb 21, 2017 4:04:23 PM org.restlet.engine.connector.NetServerHelper start
INFO: Starting the internal [HTTP/1.1] server on port 9679
98   INFO  RestService  - Restservice published at 9679 - de.uniol.inf.is.odysseus.rest.service.RestService.start(RestService.java:52) 
Is this the case for you? What exact message do you have there?

Greetings,
Tobias

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest