Thanks, I am able to build karaf 3.0.2-SNAPSHOT now. However, when I start, I
get a number of errors:

On the very first startup (when data/ is empty, probably some race condition
exists), I get the following error [This behaviour is there in karaf 3.0.1
also, if there is a wrap: URL, then the first startup fails]:

Error installing bundle listed in startup.properties with url:
wrap:mvn:javax.servlet.jsp/jsp-api/2.1 and startlevel: 30
/Exception in thread "main" java.lang.NullPointerException
        at org.apache.karaf.main.Main.destroy(Main.java:521)
        at org.apache.karaf.main.Main.main(Main.java:177)/

After this, I start karaf again, but this time, I get 

/karaf@root()> ERROR: Bundle org.apache.geronimo.ext.tomcat.catalina [56]
Error starting mvn:org.apache.geronimo.ext.tomcat/catalina/7.0.27.1
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.geronimo.ext.tomcat.catalina logs.txt
<http://karaf.922171.n3.nabble.com/file/n4034326/logs.txt>   [56]: Unable to
resolve 56.0: missing requirement [56.0] osgi.wiring.package;
(osgi.wiring.package=javax.servlet.jsp.resources))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.geronimo.ext.tomcat.catalina [56]: Unable to resolve 56.0:
missing requirement [56.0] osgi.wiring.package;
(osgi.wiring.package=javax.servlet.jsp.resources)
        at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)/

In the logs I see:

/2014-07-21 08:51:42,697 | INFO  | FelixStartLevel  | BlueprintContainerImpl    
      
| 19 - org.apache.aries.blueprint.core - 1.4.1 | Bundle
org.apache.karaf.bundle.command is waiting for dependencies
[(objectClass=org.apache.karaf.bundle.core.BundleWatcher),
(objectClass=org.apache.karaf.bundle.core.BundleService)]
2014-07-21 08:51:42,708 | INFO  | rint Extender: 1 | BlueprintContainerImpl     
     
| 19 - org.apache.aries.blueprint.core - 1.4.1 | Bundle
org.apache.karaf.bundle.command is waiting for dependencies
[(objectClass=org.apache.karaf.bundle.core.BundleWatcher)]/

The shell prompt is hung after this, and I am unable to execute any command
like bundle:list etc.

After this, I tried setting the featuresBootAsynchronous=true. Now I get the
shell prompt, but it does not accept any command. So, effectively, it is
still hung.

Also, logs still showed the "waiting" logs. Logs are attached for reference.

*Note:*I am testing without any internet connection, using a standalone
karaf.






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-Kar-Deployer-tp4034294p4034326.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to