-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ-1060747 - Deployment of Business-central to WebSphere app server 8…
….5 fails with "Singleton is not set" exception
- Loading branch information
Showing
18 changed files
with
2,790 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
121 changes: 121 additions & 0 deletions
121
...drools-wb-distribution-wars/src/main/assembly/assembly-kie-drools-wb-websphere-as-8_5.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
|
||
<id>was8</id> | ||
<formats> | ||
<format>war</format> | ||
</formats> | ||
|
||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<fileSets> | ||
<fileSet> | ||
<directory>${project.basedir}/src/main/was7</directory> | ||
<outputDirectory>.</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
<dependencySets> | ||
<!-- Add ANT dependency excluded in WAR pom that runs on Hosted Mode --> | ||
<dependencySet> | ||
<includes> | ||
<include>org.apache.ant:ant:jar</include> | ||
<include>org.apache.ant:ant-launcher:jar</include> | ||
</includes> | ||
<unpack>false</unpack> | ||
<outputDirectory>WEB-INF/lib</outputDirectory> | ||
</dependencySet> | ||
<dependencySet> | ||
<includes> | ||
<include>org.kie:kie-drools-wb-webapp:war</include> | ||
</includes> | ||
<outputDirectory>.</outputDirectory> | ||
<unpack>true</unpack> | ||
<unpackOptions> | ||
<excludes> | ||
<exclude>WEB-INF/jetty-env.xml</exclude> | ||
<exclude>WEB-INF/web.xml</exclude> | ||
|
||
<!-- UF client related --> | ||
<exclude>WEB-INF/lib/uberfire-js-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-client-api-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-widget-markdown-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-widgets-core-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-security-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-workbench-*.jar</exclude> | ||
<exclude>WEB-INF/lib/uberfire-widgets-commons-*.jar</exclude> | ||
|
||
<!-- Guvnor client related --> | ||
<exclude>WEB-INF/lib/guvnor-inbox-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/guvnor-m2repo-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/guvnor-workingset-client-*.jar</exclude> | ||
|
||
<!-- Kie Workbench client related--> | ||
<exclude>WEB-INF/lib/kie-wb-common-ui-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-data-modeller-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-project-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-project-explorer-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-project-imports-editor-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-search-screen-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-home-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-common-organizationalunit-manager-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-config-resource-widget-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-decorated-grid-widget-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-metadata-widget-*.jar</exclude> | ||
<exclude>WEB-INF/lib/kie-wb-view-source-widget-*.jar</exclude> | ||
|
||
<!-- Drools Workbench client related --> | ||
<exclude>WEB-INF/lib/drools-wb-categories-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-default-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-drl-text-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-dsl-text-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-dtable-xls-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-enum-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-globals-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-guided-dtable-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-guided-rule-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-guided-scorecard-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-guided-template-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-scorecard-xls-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-test-scenario-editor-client-*.jar</exclude> | ||
<exclude>WEB-INF/lib/drools-wb-workitems-editor-client-*.jar</exclude> | ||
|
||
<!-- GWT Client Related --> | ||
<exclude>WEB-INF/lib/gwt-bootstrap-*.jar</exclude> | ||
<exclude>WEB-INF/lib/gwt-user-*.jar</exclude> | ||
<exclude>WEB-INF/lib/guava-gwt-*.jar</exclude> | ||
<exclude>WEB-INF/lib/gwt-dnd-*.jar</exclude> | ||
<exclude>WEB-INF/lib/gchart-*.jar</exclude> | ||
|
||
<!-- General --> | ||
<exclude>WEB-INF/lib/*-sources.jar</exclude> | ||
<exclude>WEB-INF/lib/el-api-*.jar</exclude> | ||
<exclude>WEB-INF/lib/jboss-el-api_*.jar</exclude> | ||
<exclude>WEB-INF/lib/xml-apis-*.jar</exclude> | ||
|
||
<!-- Errai --> | ||
<exclude>WEB-INF/lib/errai-codegen-gwt-*.jar</exclude> | ||
<exclude>WEB-INF/lib/errai-cdi-jetty-*.jar</exclude> | ||
<exclude>WEB-INF/lib/errai-jboss-as-support-*.jar</exclude> | ||
<exclude>WEB-INF/lib/netty-4.0.0.*.errai.*.jar</exclude> | ||
|
||
<!-- Jetty --> | ||
<exclude>WEB-INF/lib/jetty-*.jar</exclude> | ||
<!-- mail.jar is needed by tomcat--> | ||
<!--exclude>WEB-INF/lib/mail-*.jar</exclude--> | ||
<exclude>WEB-INF/lib/geronimo-spec-jta-*.jar</exclude> | ||
<exclude>WEB-INF/lib/servlet-api-*.jar</exclude> | ||
<exclude>WEB-INF/lib/jboss-servlet-api_*.jar</exclude> | ||
<exclude>WEB-INF/lib/jsp-api-*.jar</exclude> | ||
<exclude>WEB-INF/lib/jboss-jsp-api_*.jar</exclude> | ||
|
||
<!-- exclude UF form-based login.jsp --> | ||
<exclude>login.jsp</exclude> | ||
|
||
</excludes> | ||
</unpackOptions> | ||
<useStrictFiltering>true</useStrictFiltering> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
</assembly> |
13 changes: 13 additions & 0 deletions
13
kie-drools-wb/kie-drools-wb-distribution-wars/src/main/was8/README.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Installation notes | ||
|
||
Configure JEE security for kie-wb on tomcat (with default realm backed by tomcat-users.xml) | ||
|
||
1. Copy kie-tomcat-integration jar into TOMCAT_HOME/lib | ||
2. Copy jacc lib into TOMCAT_HOME/lib (javax.security.jacc-api in jboss maven repository) | ||
3. Add valve configuration into TOMCAT_HOME/conf/server.xml inside Host element as last valve definition | ||
<Valve className="org.kie.integration.tomcat.JACCValve" /> | ||
4. Edit TOMCAT_HOME/conf/tomcat-users.xml to include roles and users, make sure there will be 'analyst' or 'admin' roles defined as it's required to be authorized to use kie-wb | ||
5. Edit web.xml and uncomment all entries that are marked with TOMCAT-JEE-SECURITY | ||
6. Rename org.uberfire.security.auth.AuthenticationSource to org.uberfire.security.auth.AuthenticationSource-ORIGIN and | ||
rename org.uberfire.security.auth.AuthenticationSource-TOMCAT-JEE-SECURITY to org.uberfire.security.auth.AuthenticationSource | ||
inside WEB-INF/classes/META-INF/services |
1 change: 1 addition & 0 deletions
1
...in/was8/WEB-INF/classes/META-INF/services/org.uberfire.security.auth.AuthenticationSource
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.uberfire.security.server.auth.source.HttpServletRequestAuthenticationSource |
Oops, something went wrong.