This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface EncryptionFactory { | |
| Encryption createEncryption(Map<String,String> params); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LoginModule: { | |
| encryption = jasypt | |
| encryption.algorithm = MD5 | |
| encryption.outputType = hex | |
| encryption.iterations = 1000 | |
| } | |
| leads to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/pom.xml b/pom.xml | |
| index c95f085..179ab74 100644 | |
| --- a/pom.xml | |
| +++ b/pom.xml | |
| @@ -105,12 +105,8 @@ | |
| <junit.bundle.version>4.7_1</junit.bundle.version> | |
| <commons.logging.version>1.1.1</commons.logging.version> | |
| - <commons-configuration.version>1.4_1-SNAPSHOT</commons-configuration.version> | |
| - <commons-beanutils.version>1.8.2_1-SNAPSHOT</commons-beanutils.version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| speed 9600 baud; 47 rows; 155 columns; | |
| lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl | |
| -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo | |
| -extproc | |
| iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel iutf8 | |
| -ignbrk brkint -inpck -ignpar -parmrk | |
| oflags: opost onlcr -oxtabs -onocr -onlret | |
| cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow | |
| -dtrflow -mdmbuf | |
| cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:prepare | |
| > mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:perform | |
| .... auth failure in site:deploy ... | |
| > cd target/checkout | |
| > mvn -Prelease,repos.sonatype.staging source:jar javadoc:jar deploy | |
| > git push |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.NullPointerException | |
| at org.ops4j.pax.web.service.jetty.internal.ResourceServlet.doGet(ResourceServlet.java:164) | |
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) | |
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) | |
| at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) | |
| at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1351) | |
| at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilter.java:169) | |
| at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) | |
| at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) | |
| at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (String id : container.getComponentIds()) { | |
| ComponentMetadata meta = container.getComponentMetadata(id); | |
| if (meta instanceof ExtendedBeanMetadata) { | |
| Class clazz = ((ExtendedBeanMetadata) meta).getRuntimeClass(); | |
| if (AbstractPropertyPlaceholder.class.isAssignableFrom(clazz)) { | |
| AbstractPropertyPlaceholder ph = (AbstractPropertyPlaceholder) container.getComponentInstance(id); | |
| ... | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 16:00:16,071 | ERROR | NAPSHOT_war/test | TemplateEngine | calate.util.Log$$anonfun$error$2 92 | 86 - org.fusesource.scalate.scalate-util - 1.5.0.SNAPSHOT | Compilation failed: | |
| error: class file needed by TemplateSource is missing. | |
| reference value util of package org.fusesource.scalate refers to nonexisting symbol. | |
| one error found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/main/src/main/java/org/apache/karaf/main/Main.java b/main/src/main/java/org/apache/karaf/main/Main.java | |
| index 70c0b59..4f019bd 100644 | |
| --- a/main/src/main/java/org/apache/karaf/main/Main.java | |
| +++ b/main/src/main/java/org/apache/karaf/main/Main.java | |
| @@ -264,11 +264,9 @@ public class Main { | |
| FrameworkFactory factory = (FrameworkFactory) classLoader.loadClass(factoryClass).newInstance(); | |
| framework = factory.newFramework(new StringMap(configProps, false)); | |
| framework.init(); | |
| - // If we have a clean state, install everything | |
| - if (framework.getBundleContext().getBundles().length == 1) { |