New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuse Camel Projects Fail to load on install #19
Comments
Hi @jgammon612 Can you check if your fuse is running on http://localhost:8181 and you can login to it with ID/PWD admin/admin? |
Yes -- I can definitely login fine -- projects are not deployed however On 02/24/2016 06:15 AM, Christina Lin wrote:
|
Was you fabric created successfully? Because from the error of your log, seem to me fabric8 can't find the jolokia endpoint from fuse server. "Failed to invoke mbean io.fabric8:type=ProjectDeployer on jolokia URL: http://localhost:8181/jolokia with user: admin. Error: java.lang.IllegalStateException and did you set your ID/PWD in the setting.xml? |
Ah -- so I can login but this is the error with the fabric: java.lang.SecurityException: Authentication Failed on remote server http://jgammon612.redhat.com:8181/jolokia/?maxDepth=7&maxCollectionSize=500&ignoreErrors=true&canonicalNaming=false /Powered by Jetty:/// I did add the login info to the settings.xml as you specify: settings.xml attached SOlution steps? Thanks, John On 02/24/2016 08:23 AM, Christina Lin wrote:
|
I just tested mine, looks alright, you are using fuse 6.2.0 right? |
yes -- see my original post with a picture of the install directory On 02/24/2016 08:34 AM, Christina Lin wrote:
|
My only difference from yours is the JDK version I am using 1.7 |
I gues I'll try with Java 7 -- could you try with java 8? Thanks, John On 02/24/2016 08:37 AM, Christina Lin wrote:
|
openjdk version "1.8.0_60" On 02/24/2016 09:26 AM, john gammon wrote:
|
Sure, but will have to wait till tomorrow. I am going to bed :) |
Checked with JDK 1.8, works fine. Saw this on you log, "Authentication Failed on remote server Can you access this URL and login, did you set jgammon612.redhat.com in your hostfile? |
ok very weird. The install worked the second time i tried. Here is what I rm -rf target and then run init.sh -- install fails SO I remove target This is troubling to me because I cannot explain what really changed. I What would explain this? Thanks John On 02/24/2016 09:42 PM, Christina Lin wrote:
[jgammon612@jgammon612 bpms-fuse-travel-agency-integration-demo]$ ./init.sh > fusefailurelog.txt �[3;J�[H�[2J Setting up theJBoss BPM Suite & Fuse Travel Agency Integration Demo#### #### # # ### #### # # #### # # # # # # # # # # # # ##### #### # # # ## ### ### # # ### # # # # # # # # # ##### # # # ### # #### ###brought to you by,Christina Lin, Andrew Block, Eric D. Schabellgit@github.com:jbossdemocentral/bpms-fuse-travel-agency-integration-demo.git##################################################################################### Correct Maven version 3.2.3 Product sources are present... Product sources BPM are present... Product sources FUSE are present... JBoss EAP installer running now... [ Starting automated installation ] JBoss BPM Suite installer running now... [ Starting automated installation ] Starting standalone Server using .xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Starting standalone Server using -ha.xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Starting standalone Server using -full.xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Starting standalone Server using -osgi.xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Starting standalone Server using -full-ha.xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Starting domain Server using host.xml config.JBoss Bootstrap Environment JBOSS_HOME: /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/target/jboss-eap-6.4 JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
JBoss Fuse installer running now...
client: JAVA_HOME not set; results may vary It may take a couple of seconds for the container to provision...
[INFO] Scanning for projects... |
This is totally not weird, because this is what zookeeper does, it pickup and use http://jgammon612.redhat.com for your fuse host, so you will need to set it to the host file. Closing this issue. |
My environment details:
OS: RHEL7
[jgammon612@jgammon612 ~]$ mvn -v
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T15:58:10-05:00)
Maven home: /home/jgammon612/ThirdParty/maven/apache-maven-3.2.3
Java version: 1.8.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.60-4.b27.el7.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-316.el7.x86_64", arch: "amd64", family: "unix"
and Maven settings.xml config snippet:
fabric8.upload.repo
admin
admin
First, the BPMS product installs seem to work fine and builds and deploys -- no errors to this point:
[INFO] Reactor Summary:
[INFO]
[INFO] acmeDataModel ...................................... SUCCESS [ 5.381 s]
[INFO] external-client-ui-form ............................ SUCCESS [ 39.494 s]
[INFO] JBoss BPM Travel Agency parent ..................... SUCCESS [ 13.912 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.891 s
[INFO] Finished at: 2016-02-23T07:58:51-06:00
[INFO] Final Memory: 21M/211M
[INFO] ----------------------------
Now the Fuse Problems begin:
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.blogdemo.travelagency:hotelbookingservice:bundle:1.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.camel:camel-jpa:jar -> duplicate declaration of version (?) @ org.blogdemo.travelagency:hotelbookingservice:[unknown-version], /home/jgammon612/redhat/ProductDemos/FuseTravelAgency/bpms-fuse-travel-agency-integration-demo/projects/fuseparent/hotelbookingservice/pom.xml, line 44, column 14
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Travel Agency Fuse Demo Parent
[INFO] Travel Agency Flight Contract first Web Endpoint Service (CXF)
[INFO] Travel Agency Hotel Contract first Web Endpoint Service (CXF)
[INFO] Travel Agency Promotion Flights service (JDBC)
[INFO] Travel Agency Promotion Hotel service (JDBC)
[INFO] Travel Agency Flights Booking service (JPA)
[INFO] Travel Agency Hotel Booking service (JPA)
[INFO] Travel Agency Features
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Travel Agency Fuse Demo Parent 1.0
[INFO] -----------------------------------------------
[INFO] About to invoke mbean io.fabric8:type=ProjectDeployer on jolokia URL: http://localhost:8181/jolokia with user: admin
[ERROR] Failed to invoke mbean io.fabric8:type=ProjectDeployer on jolokia URL: http://localhost:8181/jolokia with user: admin. Error: java.lang.IllegalStateException
[ERROR] Stack: java.lang.IllegalStateException: Push rejected: [RemoteRefUpdate[remoteName=refs/heads/master, REJECTED_NONFASTFORWARD, (null)...29bfe0543b5561cc968eedfec9dddef965e21065, srcRef=refs/heads/master, message=null]]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Travel Agency Fuse Demo Parent ..................... FAILURE [ 3.185 s]
[INFO] Travel Agency Flight Contract first Web Endpoint Service (CXF) SKIPPED
[INFO] Travel Agency Hotel Contract first Web Endpoint Service (CXF) SKIPPED
[INFO] Travel Agency Promotion Flights service (JDBC) ..... SKIPPED
[INFO] Travel Agency Promotion Hotel service (JDBC) ....... SKIPPED
[INFO] Travel Agency Flights Booking service (JPA) ........ SKIPPED
[INFO] Travel Agency Hotel Booking service (JPA) .......... SKIPPED
[INFO] Travel Agency Features ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.380 s
[INFO] Finished at: 2016-02-23T08:00:00-06:00
[INFO] Final Memory: 38M/341M
The text was updated successfully, but these errors were encountered: