Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Integrate Jetty/OSGI in Linux(Integrate Jetty/OSGI in Linux)
Integrate Jetty/OSGI in Linux [message #813890] Mon, 05 March 2012 20:31 Go to next message
chen shun is currently offline chen shunFriend
Messages: 3
Registered: March 2012
Junior Member
Hi,I have tried to integrate server Jetty and OSGI in Linux, but after following the step on the internet, I have those exceptions. And there are also some of file Jar which can't be actived and just installed. So i don't kwon if someone has the same problem. Thank you very much. Here is some information.
********************************************************
osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.7.2.v20120110-1415
1 INSTALLED org.eclipse.jetty.osgi.boot_7.5.4.v20111024

****************************
osgi> diag 1
initial@reference:file:jetty-osgi-boot-7.5.4.v20111024.jar/ [1]
Direct constraints which are unresolved:
Missing dynamically imported package org.eclipse.jetty.*_[7.3.0,8.0.0).
Missing optionally imported package javax.mail_1.4.0.
Missing optionally imported package javax.mail.event_1.4.0.
Missing optionally imported package javax.mail.internet_1.4.0.
Missing optionally imported package javax.mail.search_1.4.0.
Missing optionally imported package javax.mail.util_1.4.0.
Missing imported package javax.servlet_2.5.0.
Missing imported package javax.servlet.http_2.5.0.
Missing optionally imported package javax.transaction_1.1.0.
Missing optionally imported package javax.transaction.xa_1.1.0.
Missing imported package org.eclipse.jetty.deploy_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.deploy.providers_[7.5.0,8.0.0).
Missing optionally imported package org.eclipse.jetty.nested_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.server_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.server.handler_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.util_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.util.component_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.util.log_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.util.resource_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.webapp_[7.5.0,8.0.0).
Missing imported package org.eclipse.jetty.xml_[7.5.0,8.0.0).
Missing imported package org.osgi.service.cm_1.2.0.
Missing optionally imported package org.slf4j_0.0.0.
Missing optionally imported package org.slf4j.helpers_0.0.0.
Missing optionally imported package org.slf4j.spi_0.0.0.
************************************************************
And in configuration/config.ini:

eclipse.ignoreApp=true
osgi.bundles=osgi.bundles=com.ibm.icu@start, org.eclipse.core.commands@start,\
org.eclipse.text@start, org.eclipse.core.expressions@start,\
org.eclipse.core.filesystem@start, org.eclipse.core.resources@start,\
org.eclipse.jdt.core@start, org.apache.ant@start,\
org.eclipse.osgi.services@start, org.eclipse.equinox.app@start,\
org.eclipse.core.runtime.compatibility.auth@start,\
org.eclipse.core.contenttype@start, org.eclipse.equinox.registry@start,\
org.eclipse.equinox.preferences@start, org.eclipse.equinox.common@start,\
org.eclipse.core.jobs@start, org.eclipse.core.runtime@start,\
org.eclipse.core.variables@start, org.eclipse.ant.core@start, jetty-osgi-boot-7.5.4.v20111024.jar@start
org.osgi.framework.system.packages=javax.naming,\
javax.naming.directory,\
javax.naming.spi,\
javax.management,\
javax.management.loading,\
javax.management.modelmbean,\
javax.net,\
javax.net.ssl,\
javax.crypto,\
javax.crypto.interfaces,\
javax.crypto.spec,\
javax.security.auth,\
javax.security.auth.spi,\
javax.security.auth.callback,\
javax.security.auth.login,\
javax.security.cert,\
javax.xml.parsers,\
javax.xml.xpath,\
javax.xml.transform.sax,\
javax.xml.transform.dom,\
javax.xml.namespace,\
javax.xml.transform,\
javax.xml.transform.stream,\
javax.xml.validation,\
org.xml.sax,\
org.xml.sax.helpers,\
org.xml.sax.ext,\
com.sun.org.apache.xalan.internal,\
com.sun.org.apache.xalan.internal.res,\
com.sun.org.apache.xml.internal.utils,\
com.sun.org.apache.xpath.internal,\
com.sun.org.apache.xpath.internal.jaxp,\
com.sun.org.apache.xpath.internal.objects,\
com.sun.org.apache.xml.internal,\
org.w3c.dom,\
org.w3c.dom.traversal,\
org.w3c.dom.ls,\
javax.sql,\
javax.transaction,\
sun.misc
Re: Integrate Jetty/OSGI in Linux [message #814408 is a reply to message #813890] Tue, 06 March 2012 12:11 Go to previous message
chen shun is currently offline chen shunFriend
Messages: 3
Registered: March 2012
Junior Member
And there is result:
osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.7.2.v20120110-1415
1 INSTALLED org.eclipse.jetty.osgi.boot_7.5.4.v20111024
2 ACTIVE org.mortbay.jetty.server_6.1.5
3 ACTIVE org.mortbay.jetty.util_6.1.5
4 ACTIVE org.mortbay.jetty.servlet-api-2.5_2.5.0
5 ACTIVE org.mortbay.jetty.management_6.1.5
6 INSTALLED org.mortbay.naming_6.1.5
7 INSTALLED org.mortbay.jetty.plus_6.1.5
8 INSTALLED org.mortbay.jetty.jsp-2.1_6.1.5
9 ACTIVE org.mortbay.jetty.jsp-api-2.1_2.1.0
Previous Topic:Installation path containing bracket issue
Next Topic:Need to execute code while installing software
Goto Forum:
  


Current Time: Sun Nov 23 07:49:46 GMT 2014

Powered by FUDForum. Page generated in 0.01738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software