Re: About monitor the server's status
Hi, Dave, thank you very much. 2012/7/10 Dave Horsey > From memory 2.1.x supports ServerProxy which allows you to test > IsFullyStarted as a bool. > > I have a start test written using the ServerProxy to interface over JMX. > > I'll forward this to myself at work and can confirm in the morning. > > Cheers > Dave > > > On Mon, Jul 9, 2012 at 10:02 AM, Zhi Xie wrote: > >> I need to write a script in linux which starts a geronimo server, and >> deploy a war on it. So I need to know when could I start to deploy. >> >> I know geronimo3.0 don't support gshell, and I see there is a command >> wait-for-server in gshell commands. So I guess there is maybe a reference. >> The other solution is from my colleage to judge if the geronimo server >> starts by the started successfully message in the server.out. >> >> Does anybody know how does the wait-for-server work or provide a better >> solution? >> >> >> 2012/7/9 Zhi Xie >> >>> Does anybody know how to judge the server is started or not after >>> execute ./geronimo.sh start. >>> >>> -- >>> Best Regards >>> Gary >>> Apache Geronimo >>> >>> >> >> >> -- >> Best Regards >> Gary >> Apache Geronimo >> >> > > > -- > Cheers, > > Dave > -- Best Regards Gary Apache Geronimo
Re: [VOTE] Release Geronimo 3.0.0 (3rd Try)
+1 Jarek On Tue, Jul 3, 2012 at 7:19 PM, Forrest Xia wrote: > Hi Devs, > > With correction of repositoryList URL, here we have the 3rd release > candidate for vote. Please help vote at your earliest convenient time. > > The server code up for vote is: > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/geronimo/3.0.0/geronimo-3.0.0-source-release.tar.gz > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/geronimo/3.0.0/geronimo-3.0.0-source-release.zip > > The binary code up for vote is: > Java EE 6 Full Profile Tomcat Assemblies: > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-javaee6/3.0.0/geronimo-tomcat7-javaee6-3.0.0-bin.tar.gz > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-javaee6/3.0.0/geronimo-tomcat7-javaee6-3.0.0-bin.zip > > Java EE 6 Web Profile Tomcat Assemblies: > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-javaee6-web/3.0.0/geronimo-tomcat7-javaee6-web-3.0.0-bin.tar.gz > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-javaee6-web/3.0.0/geronimo-tomcat7-javaee6-web-3.0.0-bin.zip > > Little-G Tomcat Assemblies: > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-minimal/3.0.0/geronimo-tomcat7-minimal-3.0.0-bin.tar.gz > https://repository.apache.org/content/repositories/orgapachegeronimo-015/org/apache/geronimo/assemblies/geronimo-tomcat7-minimal/3.0.0/geronimo-tomcat7-minimal-3.0.0-bin.zip > > Staging repo is: > https://repository.apache.org/content/repositories/orgapachegeronimo-015 > > The tag has created at: > http://svn.apache.org/repos/asf/geronimo/server/tags/geronimo-3.0.0 > > Java EE 6 TCKs all passed! > > Vote will be at least open for 72 hours. > [ ] +1 approve > [ ] +0 no opinion > [ ] -1 disapprove (and reason why) > > -- > Thanks! > > Regards, Forrest >
Re: About monitor the server's status
>From memory 2.1.x supports ServerProxy which allows you to test IsFullyStarted as a bool. I have a start test written using the ServerProxy to interface over JMX. I'll forward this to myself at work and can confirm in the morning. Cheers Dave On Mon, Jul 9, 2012 at 10:02 AM, Zhi Xie wrote: > I need to write a script in linux which starts a geronimo server, and > deploy a war on it. So I need to know when could I start to deploy. > > I know geronimo3.0 don't support gshell, and I see there is a command > wait-for-server in gshell commands. So I guess there is maybe a reference. > The other solution is from my colleage to judge if the geronimo server > starts by the started successfully message in the server.out. > > Does anybody know how does the wait-for-server work or provide a better > solution? > > > 2012/7/9 Zhi Xie > >> Does anybody know how to judge the server is started or not after execute >> ./geronimo.sh start. >> >> -- >> Best Regards >> Gary >> Apache Geronimo >> >> > > > -- > Best Regards > Gary > Apache Geronimo > > -- Cheers, Dave
Re: svn commit: r1358803 - in /geronimo/server/branches/2.2/plugins/dojo: dojo-jetty/pom.xml dojo-tomcat/pom.xml
Sure. But, as far as I knew, the portlets were using the 1.4.x version of Dojo. I did update that from 1.4.2 to 1.4.3 - they should have kept that compatible. But I will check to make sure that all of the monitor pages still work. Jay On 07/08/2012 11:24 PM, Shawn Jiang wrote: > Hi Jay, > > Could you please help to make sure the portlets that are using dojo can > work flawlessly after the upgrading ? > > you know, dojo was not doing a good job on backward-compatibility. > > On Mon, Jul 9, 2012 at 2:09 AM, wrote: > >> Author: jaydm >> Date: Sun Jul 8 18:09:46 2012 >> New Revision: 1358803 >> >> URL: http://svn.apache.org/viewvc?rev=1358803&view=rev >> Log: >> Upgrading the version of Dojo to 1.7.2 >> >> Modified: >> geronimo/server/branches/2.2/plugins/dojo/dojo-jetty/pom.xml >> geronimo/server/branches/2.2/plugins/dojo/dojo-tomcat/pom.xml >> >> Modified: geronimo/server/branches/2.2/plugins/dojo/dojo-jetty/pom.xml >> URL: >> http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/dojo/dojo-jetty/pom.xml?rev=1358803&r1=1358802&r2=1358803&view=diff >> >> == >> --- geronimo/server/branches/2.2/plugins/dojo/dojo-jetty/pom.xml (original) >> +++ geronimo/server/branches/2.2/plugins/dojo/dojo-jetty/pom.xml Sun Jul >> 8 18:09:46 2012 >> @@ -43,7 +43,7 @@ >> >> org.dojotoolkit >> dojo-war >> -1.6.1 >> +1.7.2 >> war >> provided >> >> @@ -78,7 +78,7 @@ >> >> org.dojotoolkit >> dojo-war >> -1.4.2 >> +1.4.3 >> war >> >> >> >> Modified: geronimo/server/branches/2.2/plugins/dojo/dojo-tomcat/pom.xml >> URL: >> http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/dojo/dojo-tomcat/pom.xml?rev=1358803&r1=1358802&r2=1358803&view=diff >> >> == >> --- geronimo/server/branches/2.2/plugins/dojo/dojo-tomcat/pom.xml >> (original) >> +++ geronimo/server/branches/2.2/plugins/dojo/dojo-tomcat/pom.xml Sun Jul >> 8 18:09:46 2012 >> @@ -43,7 +43,7 @@ >> >> org.dojotoolkit >> dojo-war >> -1.6.1 >> +1.7.2 >> war >> provided >> >> @@ -78,7 +78,7 @@ >> >> org.dojotoolkit >> dojo-war >> -1.4.2 >> +1.4.3 >> war >> >> >> >> >> > >
Re: About monitor the server's status
I need to write a script in linux which starts a geronimo server, and deploy a war on it. So I need to know when could I start to deploy. I know geronimo3.0 don't support gshell, and I see there is a command wait-for-server in gshell commands. So I guess there is maybe a reference. The other solution is from my colleage to judge if the geronimo server starts by the started successfully message in the server.out. Does anybody know how does the wait-for-server work or provide a better solution? 2012/7/9 Zhi Xie > Does anybody know how to judge the server is started or not after execute > ./geronimo.sh start. > > -- > Best Regards > Gary > Apache Geronimo > > -- Best Regards Gary Apache Geronimo
Re: svn commit: r1358959 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF
we need to externalize these versions to pom.xml like what we did for versions in karaf starting bundles. Or we have to maintain them manually for good. On Mon, Jul 9, 2012 at 4:08 PM, wrote: > Author: violalu > Date: Mon Jul 9 08:08:19 2012 > New Revision: 1358959 > > URL: http://svn.apache.org/viewvc?rev=1358959&view=rev > Log: > update manifest bundle-classpath with correct server version 3.0.1-SNAPSHOT > > Modified: > > geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF > > Modified: > geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF > URL: > http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF?rev=1358959&r1=1358958&r2=1358959&view=diff > > == > --- > geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF > (original) > +++ > geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v30/META-INF/MANIFEST.MF > Mon Jul 9 08:08:19 2012 > @@ -6,22 +6,22 @@ Bundle-Version: 3.0.0 > Require-Bundle: > org.eclipse.osgi, > org.apache.geronimo.runtime.common;visibility:=reexport > -Bundle-ClassPath: lib/geronimo-common-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-deployment-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-j2ee-schema-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-kernel-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-plugin-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-system-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-util-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-deploy-config-3.0-beta-2-SNAPSHOT.jar, > +Bundle-ClassPath: lib/geronimo-common-3.0.1-SNAPSHOT.jar, > + lib/geronimo-deployment-3.0.1-SNAPSHOT.jar, > + lib/geronimo-j2ee-schema-3.0.1-SNAPSHOT.jar, > + lib/geronimo-kernel-3.0.1-SNAPSHOT.jar, > + lib/geronimo-plugin-3.0.1-SNAPSHOT.jar, > + lib/geronimo-system-3.0.1-SNAPSHOT.jar, > + lib/geronimo-util-3.0.1-SNAPSHOT.jar, > + lib/geronimo-deploy-config-3.0.1-SNAPSHOT.jar, > lib/plexus-archiver-1.0-alpha-12.jar, > - lib/geronimo-crypto-3.0-beta-2-SNAPSHOT.jar, > + lib/geronimo-crypto-3.0.1-SNAPSHOT.jar, > lib/slf4j-api-1.6.0.jar, > lib/slf4j-simple-1.6.1.jar, > - lib/geronimo-bundle-recorder-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-cli-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-deploy-jsr88-3.0-beta-2-SNAPSHOT.jar, > - lib/geronimo-deploy-tool-3.0-beta-2-SNAPSHOT.jar > + lib/geronimo-bundle-recorder-3.0.1-SNAPSHOT.jar, > + lib/geronimo-cli-3.0.1-SNAPSHOT.jar, > + lib/geronimo-deploy-jsr88-3.0.1-SNAPSHOT.jar, > + lib/geronimo-deploy-tool-3.0.1-SNAPSHOT.jar > Export-Package: > org.apache.geronimo.common;version=3.0, > org.apache.geronimo.common.propertyeditor;version=3.0, > > > -- Shawn
About monitor the server's status
Does anybody know how to judge the server is started or not after execute ./geronimo.sh start. -- Best Regards Gary Apache Geronimo
Re: Problem of deploying dayTrader
Thank you Forrest, I tried your suggestion, but I got the following error: E:\workload\geronimo>deploy --user system --password manager deploy E:\workload\dayTrader3.0-Beta\javaee6\assemblies\da ytrader-ear\target\daytrader-ear-3.0-beta-1.ear E:\workload\dayTrader3.0-Beta\javaee6\plans\src\main\resources\daytrader -db2-xa-plan.xml Using GERONIMO_HOME: E:\workload\geronimo Using GERONIMO_TMPDIR: var\temp Using JRE_HOME:C:\Program Files\Java\jdk1.7.0\jre 2012-07-09 15:48:57,937 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Operation failed: com/ibm/db2/jcc/DB2XADataSource at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) I am not sure if I missed anything in the plan.xml file, could you please help to take a look? thank you very much! 2012/6/14 Forrest Xia > You need to use a command like this to deploy ear: > > deploy --user system --password manager deploy > E:\workload\dayTrader3.0-Beta\ > javaee6\assemblies\daytrader-ear\target\daytrader-ear-3.0-beta-1.ear > path2db_plan.xml > > The path2db_plan.xml is to be replaced by plan files generated from folder > https://svn.apache.org/repos/asf/geronimo/daytrader/tags/daytrader-3.0-beta-1/javaee6/plans/src/main/resources/ > . > > Good luck! > > On Thu, Jun 14, 2012 at 5:15 PM, Jing Xu wrote: > >> Hello everyone, could someone please give me some suggestions on this >> problem? >> >> >> -- Forwarded message -- >> From: Jing Xu >> Date: 2012/6/12 >> Subject: Problem of deploying dayTrader >> To: dev@geronimo.apache.org >> >> >> Hi everybody, >> >> I am trying to deploy dayTrader(3.0 beta-1) into Geromino server(3.0 >> beta-1), but I found the instructions is a little out of date. >> >> >> https://cwiki.apache.org/GMOxDOC22/daytrader-a-more-complex-application.html >> Building Daytrader >> >> Once all the sources get checked out the next step is to build Daytrader. >> Daytrader requires Maven 2 for building the binaries. >> >> From the ** directory run the following command. >> >> *mvn install* >> >> This process will take a couple of minutes. The binaries will be >> generated in the corresponding *target* directory for each of the >> modules in the *modules* directory. >> But I can not find this directory after build, there is only one ear file >> at >> $DAYTRADER_HOME\javaee6\assemblies\daytrader-ear\target\daytrader-ear-3.0-beta-1.ear, >> and when I was trying to deploy this file, one error was hit, can someone >> please give me some advices? I am using db2 data source, not sure if there >> should be any more config. Any reply will be very appreciated. >> >> E:\workload\geronimo-tomcat7-javaee6-3.0-beta-1\bin>deploy --user system >> --password manager deploy >> E:\workload\dayTrader3.0-Beta\javaee6\assemblies\daytrader-ear\target\daytrader-ear-3.0-beta-1.ear >> Using GERONIMO_HOME: E:\workload\geronimo-tomcat7-javaee6-3.0-beta-1 >> Using GERONIMO_TMPDIR: var\temp >> Using JRE_HOME:C:\Program Files\Java\jdk1.7.0\jre >> 2012-06-12 12:53:23,968 ERROR [DeployTool] Error: >> org.apache.geronimo.common.DeploymentException: Unable to deploy >> daytrader-ear-3.0-beta-1.ear: Unable to resolve resource reference >> 'java:comp/env/jdbc/TradeDataSource' (Could not find resource >> 'jdbc/TradeDataSource'. Perhaps it has not yet been configured, or your >> application does not have a dependency declared for that resource module? >> Search conducted in current module and dependencies: >> [all: org.apache.geronimo.configs/j2ee-server//car] >> [all: org.apache.geronimo.configs/openjpa2/3.0-beta-1/car] >> [all: org.apache.geronimo.configs/axis//car] >> [all: org.apache.geronimo.configs/axis2//car] >> [classes: org.apache.geronimo.configs/openejb//car] >> [all: org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car] >> [all: org.apache.geronimo.modules/geronimo-bval//jar] >> [all: org.apache.geronimo.configs/tomcat7/3.0-beta-1/car] >> [all: org.apache.geronimo.configs/myfaces/3.0-beta-1/car] >> [all: org.apache.geronimo.modules/geronimo-openejb//jar] >> [all: org.apache.openwebbeans/openwebbeans-impl//jar] >> [all: org.apache.openwebbeans/openwebbeans-web//jar] >> [all: org.apache.geronimo.configs/system-database//car] >> [all: org.apache.geronimo.configs/tomcat7//car] >> [all: org.apache.geronimo.configs/wink/3.0-beta-1/car] >> [all: org.apache.geronimo.configs/openjpa2//car] >> ) >> at >> org.apache.geronimo.deployment.cli.CommandDeploy.runCom
[jira] [Commented] (GERONIMO-6371) Bundle can't be generated automatically when mysql jdbc driver was installed through Repository in admin console
[ https://issues.apache.org/jira/browse/GERONIMO-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409236#comment-13409236 ] Shawn Jiang commented on GERONIMO-6371: --- Is this stated in our document ? > Bundle can't be generated automatically when mysql jdbc driver was installed > through Repository in admin console > > > Key: GERONIMO-6371 > URL: https://issues.apache.org/jira/browse/GERONIMO-6371 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: osgi-bundles >Affects Versions: 3.0-beta-2 > Environment: Linux oc0184113215.ibm.com 2.6.32-131.2.1.el6.x86_64 #1 > SMP Wed May 18 07:07:37 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode) >Reporter: Tina Li >Priority: Minor > Attachments: mysql-connector-java-5.1.7-bin.jar > > > 1. Start server successfully of geronimo > 2. Install mysql jdbc driver named mysql-connector-java-5.1.7-bin.jar through > repository in admin console > 3. Check repository you can find one entry added: > > ... > > ... > > mysql > mysql-connector-java > 5.1.7-bin > jar > > > > 4. Check osgi bundles porlet in admin console, but can't find the according > bundle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (GERONIMO-6371) Bundle can't be generated automatically when mysql jdbc driver was installed through Repository in admin console
[ https://issues.apache.org/jira/browse/GERONIMO-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tina Li closed GERONIMO-6371. - Resolution: Invalid Invalid. Only this driver be used, then the bundle can be generated accordingly. For example, deploy a datasource and use this driver as a dependency. > Bundle can't be generated automatically when mysql jdbc driver was installed > through Repository in admin console > > > Key: GERONIMO-6371 > URL: https://issues.apache.org/jira/browse/GERONIMO-6371 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: osgi-bundles >Affects Versions: 3.0-beta-2 > Environment: Linux oc0184113215.ibm.com 2.6.32-131.2.1.el6.x86_64 #1 > SMP Wed May 18 07:07:37 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode) >Reporter: Tina Li >Priority: Minor > Attachments: mysql-connector-java-5.1.7-bin.jar > > > 1. Start server successfully of geronimo > 2. Install mysql jdbc driver named mysql-connector-java-5.1.7-bin.jar through > repository in admin console > 3. Check repository you can find one entry added: > > ... > > ... > > mysql > mysql-connector-java > 5.1.7-bin > jar > > > > 4. Check osgi bundles porlet in admin console, but can't find the according > bundle. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira