install ocpsoft-prettyfaces failes
by Gunnar.Bostrom@tieto.com
Hi,
I'm trying to install the ocpsoft-prettyfaces plugin both from Eclipse console (Forge version 1.0.2.Final) and from prompt Ubuntu 12.04 (Forge version 1.0.4.Final) but it fails' in install phase.
Below is the console log.
What can be wrong?
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.944s
[INFO] Finished at: Thu May 24 10:23:42 CEST 2012
[INFO] Final Memory: 15M/218M
[INFO] ------------------------------------------------------------------------
***INFO*** Installing plugin artifact.
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee/prettyfaces-plugin.jar
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee/module.xml
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/dependencies/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/dependencies/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee/prettyfaces-jsf2-3.3.0.jar
Wrote /home/gunnar/.forge/plugins/com/ocpsoft/forge/prettyfaces-plugin/dependencies/1.0.0-SNAPSHOT-19b7fba4-5424-4f22-84c9-630e25a97aee/module.xml
***ERROR*** [forge install-plugin] null
/Gunnar
12 years, 9 months
hibernate-tools & seam-persistence plugins not compiling
by Chris Martin
All,
I am in the process of migrating from Seam 2 to Seam 3. Currently, I am evaluating the Forge tool and I cannot get the hibernate-tools or seam-persistence plugins to install due to compilation issues. Should I have the expectation that the branches should compile or does this project leave the solving of these issues to the users ?
1 )[no project] bin $ forge install-plugin seam-persistenceConnecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!***INFO*** Preparing to install plugin: seam-persistence***INFO*** Checking out plugin source files to [C:\/Users/CHMART~1.COR/AppData/Local/Temp/forgetemp8434134212888573150/repo] via 'git'***INFO*** Switching to branch/tag [refs/tags/1.0.0.Final]***WARNING*** Dependency [org.jboss.forge:forge-shell-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.***WARNING*** Dependency [org.jboss.forge:forge-maven-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.***WARNING*** Dependency [org.jboss.forge:forge-javaee-api:jar::1.0.0-SNAPSHOT] was not correctly marked as PROVIDED scope; this has been corrected.***INFO*** Invoking build with underlying build system.[INFO] Scanning for projects...[INFO][INFO] ------------------------------------------------------------------------[INFO] Building plugin-seam-persistence 1.0.0-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO][INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ plugin-seam-persistence ---[INFO][INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ plugin-seam-persistence ---[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent![INFO] Copying 2 resources[INFO][INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ plugin-seam-persistence ---[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent![INFO] Compiling 1 source file to C:\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\target\classes[INFO] -------------------------------------------------------------[ERROR] COMPILATION ERROR :[INFO] -------------------------------------------------------------[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] error: cannot find symbol[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] error: cannot find symbol[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[148,24] error: cannot find symbol[INFO] 3 errors[INFO] -------------------------------------------------------------[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 4.397s[INFO] Finished at: Mon May 14 13:48:47 MST 2012[INFO] Final Memory: 49M/363M[INFO] ------------------------------------------------------------------------[WARNING] The requested profile "env-dev" could not be activated because it does not exist.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project plugin-seam-persistence: Compilation failure: Compilation failure:[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[136,26] error: cannot find symbol[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[147,24] error: cannot find symbol[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp8434134212888573150\repo\src\main\java\org\jboss\forge\seam\persistence\SeamPersistencePlugin.java:[148,24] error: cannot find symbol[ERROR] -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptionWrote C:\/Users/ChMartin.CORP/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yamlWrote C:\/Users/CHMART~1.COR/AppData/Local/Temp/forgetemp8434134212888573150/repo/pom.xml***ERROR*** [forge install-plugin] Build failed.
2) hibernate-tools
[no project] bin $ forge install-plugin hibernate-toolsforge install-plugin hibernate-toolsConnecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!***INFO*** Preparing to install plugin: hibernate-tools***INFO*** Checking out plugin source files to [C:\/Users/CHMART~1.COR/AppData/Local/Temp/forgetemp2118547512268803578/repo] via 'git'***INFO*** Switching to branch/tag [refs/heads/master]***INFO*** Invoking build with underlying build system.[INFO] Scanning for projects...[INFO][INFO] ------------------------------------------------------------------------[INFO] Building hibernate-tools-plugin 1.0.0-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO][INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hibernate-tools-plugin ---[INFO][INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ hibernate-tools-plugin ---Downloading: http://repo1.maven.org/maven2/org/sonatype/forge/forge-parent/3/forge-par...: http://repo1.maven.org/maven2/org/sonatype/forge/forge-parent/3/forge-par... (5 KB at 12.3 KB/sec)[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent![INFO] Copying 2 resources[INFO][INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hibernate-tools-plugin ---[INFO] Compiling 2 source files to C:\Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\target\classes[INFO] -------------------------------------------------------------[ERROR] COMPILATION ERROR :[INFO] -------------------------------------------------------------[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\src\main\java\org\hibernate\forge\plugin\DelegatingDriver.java:[9,7] error: DelegatingDriver is not abstract and does not override abstract method getParentLogger() in Driver[INFO] 1 error[INFO] -------------------------------------------------------------[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 4.792s[INFO] Finished at: Mon May 14 13:38:23 MST 2012[INFO] Final Memory: 49M/363M[INFO] ------------------------------------------------------------------------[WARNING] The requested profile "env-dev" could not be activated because it does not exist.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project hibernate-tools-plugin: Compilation failure[ERROR] \Users\CHMART~1.COR\AppData\Local\Temp\forgetemp2118547512268803578\repo\src\main\java\org\hibernate\forge\plugin\DelegatingDriver.java:[9,7] error: DelegatingDriver is not abstract and does not override abstract method getParentLogger() in Driver[ERROR] -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptionWrote C:\/Users/ChMartin.CORP/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml***ERROR*** [forge install-plugin] Build failed.[no project] bin $[no project] bin $
Thanks
12 years, 10 months
Has anyone successfully used Forge to persist data in PostgreSQL back end
by Tony Kaska
I tried using Forge to setup persistence using Postgres as the backend database. The command is successful. However the application still uses the ExampleDS data source and the H2 database. Persistence.xml also referring to ExampleDS only. I am wondering how to make it use the Postgres database. Please see below for what I am trying. Thank you.
test $ persistence setup --provider HIBERNATE --container JBOSS_AS7 --
database POSTGRES
***INFO*** Setting transaction-type="JTA"
***INFO*** Using example data source [java:jboss/datasources/ExampleDS]
? The JPA provider [HIBERNATE], also supplies extended APIs. Install these as w
ell? [y/N] Y
Install which version of [org.hibernate:hibernate-entitymanager:::]?
1 - [org.hibernate:hibernate-entitymanager:::3.3.1.ga]*
2 - [org.hibernate:hibernate-entitymanager:::3.3.2.Beta1]*
3 - [org.hibernate:hibernate-entitymanager:::3.3.2.GA]*
4 - [org.hibernate:hibernate-entitymanager:::3.4.0.CR1]*
5 - [org.hibernate:hibernate-entitymanager:::3.4.0.CR2]*
6 - [org.hibernate:hibernate-entitymanager:::3.4.0.GA]*
7 - [org.hibernate:hibernate-entitymanager:::3.5.0-Beta-2]*
8 - [org.hibernate:hibernate-entitymanager:::3.5.0-Beta-3]*
9 - [org.hibernate:hibernate-entitymanager:::3.5.0-Beta-4]*
10 - [org.hibernate:hibernate-entitymanager:::3.5.0-CR-1]*
11 - [org.hibernate:hibernate-entitymanager:::3.5.0-CR-2]*
12 - [org.hibernate:hibernate-entitymanager:::3.5.0.Beta-1]*
13 - [org.hibernate:hibernate-entitymanager:::3.5.0-Final]*
14 - [org.hibernate:hibernate-entitymanager:::3.5.1-Final]*
15 - [org.hibernate:hibernate-entitymanager:::3.5.2-Final]*
16 - [org.hibernate:hibernate-entitymanager:::3.5.3-Final]*
17 - [org.hibernate:hibernate-entitymanager:::3.5.4-Final]*
18 - [org.hibernate:hibernate-entitymanager:::3.5.5-Final]*
19 - [org.hibernate:hibernate-entitymanager:::3.5.6-Final]*
20 - [org.hibernate:hibernate-entitymanager:::3.6.0.Beta1]*
21 - [org.hibernate:hibernate-entitymanager:::3.6.0.Beta2]*
22 - [org.hibernate:hibernate-entitymanager:::3.6.0.Beta3]*
23 - [org.hibernate:hibernate-entitymanager:::3.6.0.Beta4]*
24 - [org.hibernate:hibernate-entitymanager:::3.6.0.CR1]*
25 - [org.hibernate:hibernate-entitymanager:::3.6.0.CR2]*
26 - [org.hibernate:hibernate-entitymanager:::3.6.0.Final]*
27 - [org.hibernate:hibernate-entitymanager:::3.6.1.Final]*
28 - [org.hibernate:hibernate-entitymanager:::3.6.2.Final]*
29 - [org.hibernate:hibernate-entitymanager:::3.6.3-SNAPSHOT]*
30 - [org.hibernate:hibernate-entitymanager:::3.6.3.Final]*
31 - [org.hibernate:hibernate-entitymanager:::3.6.4-SNAPSHOT]*
32 - [org.hibernate:hibernate-entitymanager:::3.6.4.Final]*
33 - [org.hibernate:hibernate-entitymanager:::3.6.5-SNAPSHOT]*
34 - [org.hibernate:hibernate-entitymanager:::3.6.5.Final]*
35 - [org.hibernate:hibernate-entitymanager:::3.6.6-SNAPSHOT]*
36 - [org.hibernate:hibernate-entitymanager:::3.6.6.Final]*
37 - [org.hibernate:hibernate-entitymanager:::3.6.7-SNAPSHOT]*
38 - [org.hibernate:hibernate-entitymanager:::3.6.7.Final]*
39 - [org.hibernate:hibernate-entitymanager:::3.6.8-SNAPSHOT]*
40 - [org.hibernate:hibernate-entitymanager:::3.6.8.Final]*
41 - [org.hibernate:hibernate-entitymanager:::3.6.9-SNAPSHOT]*
42 - [org.hibernate:hibernate-entitymanager:::3.6.9.Final]*
43 - [org.hibernate:hibernate-entitymanager:::3.6.10-SNAPSHOT]*
44 - [org.hibernate:hibernate-entitymanager:::3.6.10.Final]*
45 - [org.hibernate:hibernate-entitymanager:::3.6.11-SNAPSHOT]*
46 - [org.hibernate:hibernate-entitymanager:::4.0.0-SNAPSHOT]*
47 - [org.hibernate:hibernate-entitymanager:::4.0.0.Alpha1]*
48 - [org.hibernate:hibernate-entitymanager:::4.0.0.Alpha2]*
49 - [org.hibernate:hibernate-entitymanager:::4.0.0.Alpha3]*
50 - [org.hibernate:hibernate-entitymanager:::4.0.0.Beta1]*
51 - [org.hibernate:hibernate-entitymanager:::4.0.0.Beta2]*
52 - [org.hibernate:hibernate-entitymanager:::4.0.0.Beta3]*
53 - [org.hibernate:hibernate-entitymanager:::4.0.0.Beta4]*
54 - [org.hibernate:hibernate-entitymanager:::4.0.0.Beta5]*
55 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR1]*
56 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR2]*
57 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR3]*
58 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR4]*
59 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR5]*
60 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR6]*
61 - [org.hibernate:hibernate-entitymanager:::4.0.0.CR7]*
62 - [org.hibernate:hibernate-entitymanager:::4.0.0.Final]*
63 - [org.hibernate:hibernate-entitymanager:::4.0.1-SNAPSHOT]*
64 - [org.hibernate:hibernate-entitymanager:::4.0.1.Final]*
65 - [org.hibernate:hibernate-entitymanager:::4.1.0-SNAPSHOT]*
66 - [org.hibernate:hibernate-entitymanager:::4.1.0.Final]*
67 - [org.hibernate:hibernate-entitymanager:::4.1.1-SNAPSHOT]*
68 - [org.hibernate:hibernate-entitymanager:::4.1.1.Final]*
69 - [org.hibernate:hibernate-entitymanager:::4.1.2]*
70 - [org.hibernate:hibernate-entitymanager:::4.1.3-SNAPSHOT]*
71 - [org.hibernate:hibernate-entitymanager:::4.1.3.Final]*
72 - [org.hibernate:hibernate-entitymanager:::4.1.4-SNAPSHOT]*
? Choose an option by typing the number of the selection [*-default] [0] 72
***SUCCESS*** Persistence (JPA) is installed.
12 years, 10 months
Re: [forge-users] As7 Deploy command is failing for me...
by Anand S. Anandan
Has this changed in the recent version of forge. I am using 1.0.4 final. I did not run the AS7 server. It is magically running the application. I say deploy and go to localhost:8080\test-program it is magically running.
I appreciate the help.
________________________________
From: "Lincoln Baxter, III" <lincolnbaxter(a)gmail.com>
To: Anand S. Anandan <lanandan(a)yahoo.com>
Sent: Sunday, March 4, 2012 11:31 AM
Subject: Re: [forge-users] As7 Deploy command is failing for me...
You're welcome! Glad I could help.
On Sun, Mar 4, 2012 at 12:30 PM, Anand S. Anandan <lanandan(a)yahoo.com> wrote:
Thank you. I was trying to make sure.
>
>-Anand
>
>
>
>________________________________
> From: "Lincoln Baxter, III" <lincolnbaxter(a)gmail.com>
>To: Anand S. Anandan <lanandan(a)yahoo.com>; forge-users List <forge-users(a)lists.jboss.org>
>Sent: Saturday, March 3, 2012 11:17 PM
>Subject: Re: [forge-users] As7 Deploy command is failing for me...
>
>
>
>Hi. Forge will not download and install AS7. You need to download AS7, then start the server in order for the AS7 plugin to function :)
>
>You don't need to tell Forge where AS7 is located, that is why it is looking for a port.
>
>~Lincoln
>
>
>On Sat, Mar 3, 2012 at 11:42 AM, Anand S. Anandan <lanandan(a)yahoo.com> wrote:
>
>I am new Forge as well as Java and JBoss. When I execute the as7 deploy command I get the following error. I am assuming forge will download and install JBoss AS7 image. Or should I install JBoss AS7 before hand for this command to work. I appreciate any help. As well if you can point me to any documentation on this, I will appreciate it. Thank you.
>>
>>
>>[INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.
>>[INFO] ------------------------------------------------------------------------
>>[INFO] BUILD FAILURE
>>[INFO] ------------------------------------------------------------------------
>>[INFO] Total time: 1.683s
>>[INFO] Finished at: Sat Mar 03 10:27:49 CST 2012
>>[INFO] Final Memory: 25M/61M
>>[INFO] ------------------------------------------------------------------------
>>[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.
>>CR1:deploy (default-cli) on project stest: Could not execute goal deploy on stes
>>t.war. Reason: java.net.ConnectException: JBAS012174: Could not connect to remot
>>e://localhost:9999. The connection failed: Connection refused: no further inform
>>ation -> [Help 1]
>>[ERROR]
>>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
>>ch.
>>[ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>[ERROR]
>>[ERROR] For more information about the errors and possible solutions, please rea
>>d the following articles:
>>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
>>xception
>>[stest] stest $
>>
>>
>>_______________________________________________
>>forge-users mailing list
>>forge-users(a)lists.jboss.org
>>https://lists.jboss.org/mailman/listinfo/forge-users
>>
>>
>
>
>--
>Lincoln Baxter, III
>http://ocpsoft.com
>http://scrumshark.com
>"Keep it Simple"
>
>
>
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
12 years, 10 months