Skip to content

Instantly share code, notes, and snippets.

ipfw add pipe 1 ip from any to any out;
ipfw add pipe 2 ip from any to any in;
ipfw pipe 1 config bw 20KByte/s queue 10Kbytes;
ipfw pipe 2 config bw 20KByte/s queue 10Kbytes;
echo ipfw delete 00100 00200
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'container-execution' defined in class path resource [org/springframework/beans/factory/support/security/callbacks.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.beans.factory.support.security.support.ConstructorBean]: Constructor threw exception; nested exception is java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.A
/*
* Copyright 2002-2011 the original author or authors.
*
* Licensed 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
OVERVIEW
==================================
The release process consists of six steps:
1. staging a release via bamboo to http://repo.springsource.org
2. verifying the contents of that staged release
3. verifying distribution, docs and schema publication
4. pushing the release into maven central
5. promoting the release out of staging at repo.springsource.org
def repoUser = project.properties['REPO_USERNAME']
def repoPass = project.properties['REPO_PASSWORD']
gradle.taskGraph.whenReady {taskGraph ->
if (taskGraph.hasTask(':artifactoryPublish') &&
(repoUser == null || repoPass == null)) {
logger.warn("WARNING: 'artifactoryPublish' goal specified, but " +
"REPO_USERNAME/REPO_PASSWORD properties have not been provided. " +
"Authorization may fail.")
}
switch (project.gradle.startParameter.logLevel) {
case LogLevel.DEBUG:
case LogLevel.INFO:
break;
default:
// only show verbose fop output if the user has specified 'gradle -d' or 'gradle -i'
LoggerFactory.getILoggerFactory().getLogger('org.apache.fop').level = ch.qos.logback.classic.Level.ERROR
}
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.mock.env.MockEnvironment;
2011-11-02 20:15:17,393 ["ajp-bio-backip/10.10.7.153-8067"-exec-6280] [ERROR] (o.a.a.plugin.GroovyRunnerImpl:224) Script execution error.
java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor441.invoke(Unknown Source) [na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0]
at org.artifactory.addon.plugin.GroovyRunnerImpl.executePluginAction(GroovyRunnerImpl.java:213) [artifactory-addon-plugins-2.3.4.1e.jar:na]
at org.artifactory.addon.plugin.GroovyRunnerImpl.execPluginActions(GroovyRunnerImpl.java:90) [artifactory-addon-plugins-2.3.4.1e.jar:na]
at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) [na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0]
@cbeams
cbeams / pgpSign.groovy
Created October 19, 2011 09:10
artifactory-pgp-plugin
/*
* Copyright 2011 the original author or authors.
*
* Licensed 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@cbeams
cbeams / osoPush.groovy
Created October 8, 2011 09:00 — forked from jbaruch/osoPush.groovy
OSO push plugin for Artifactory
/*
* Copyright (C) 2011 JFrog Ltd.
*
* Licensed 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software