[Concern-users] CROSS POSTING: new demo process
Brought to you by:
hengels,
leonchiver
|
From: Holger E. <he...@me...> - 2004-01-06 17:52:15
|
1. the jars have been marked as binary in the repository (hopefully ;-) 2. the new demo process is checked in ant xdoclet ejb jca web cp -r build/web/engagement.war $DEPLOY cp build/jca $DEPLOY cp src/controller/Application* $DEPLOY cp src/controller/Engagement* $DEPLOY cp build/ejb/ApplicationProcess.jar $DEPLOY cp build/ejb/BasicActivityLibrary.jar $DEPLOY cp build/ejb/ControllerSupport.jar $DEPLOY cp build/ejb/EngagementProcess.jar $DEPLOY cp build/ejb/WingsClient.jar $DEPLOY run the Engagement_model.ddl in etc/db run the src/ddl/Engagement*-scripts that match your db run the src/ddl/Application*-scripts that match your db be sure to remove ApplicationSupport.jar and maybe other old stuff from $DEPLOY. access http://localhost:8080/engagement/engagement-index.html with your browser we should automate the deployment process somehow! tell me, if something doesn't work! This will help me, so I will help you ;-) regards, holger Quoting Holger Engels <he...@me...>: > Quoting Lisa Retief <lis...@sa...>: > > > Okay Holger, > > > > After reverting to revision 1.5 of src/ant/concern-build.xml I got > > further, but this error occurred: > > > > [signjar] Signing Jar : > > /home/lisa/concern/concern-src-1.0.1/demo/build/web/mo > > deller/lib/jgraph.jar > > [signjar] jarsigner error: java.lang.RuntimeException: keystore load: > > null > > > > BUILD FAILED > > file:/home/lisa/concern/concern-src-1.0.1/demo/build.xml:224: exec > > returned: 1 > > > > So I commented the signjar task out of build.xml and it worked! Thanks. > > That's ok. The signed jars are only for webstarting the modeller. > > > > Now I have problems deploying. Initially there were problems again with > > corrupt jars under $CONCERN_HOME/demo/build/web/WEB_INF/lib but I sorted > > that out. Below some information on problems I cannot solve... any help > > appreciated. Compressed JBoss log file attached. I can help to write the > > English docs when I am done :) > > > > 1) I have a postgres db called TST (user test, password test) with all > > the tables in demo/etc/db/claim_postgres.ddl and > > dist/etc/db/concern_postgres.ddl created. > > 2) I have test-postgres-ds.xml in $JBOSS_HOME/server/default/deploy and > > JBoss is establishing a connection to the datasource just fine, and the > > JNDI ref corresponds to the one in process.properties. > > 3)I have copied contents of $CONCERN_HOME/demo/build/web to > > $JBOSS_HOME/server/default/deploy/irl.war > > 4) I have copied contents of $CONCERN_HOME/demo/build/ejb to > > $JBOSS_HOME/server/default/deploy/ > > 5) In the JBoss logs I get the following error on startup and it > > continues recurring: > > 2004-01-05 21:06:50,462 ERROR [STDERR] javax.ejb.FinderException: Find > > failed: j > > ava.sql.SQLException: ERROR: parser: parse error at or near "." at > > character 15 > > 2 > > 2004-01-05 21:06:50,466 ERROR [STDERR] at > > org.jboss.ejb.plugins.cmp.jdbc.JDBCAb > > stractQueryCommand.execute(JDBCAbstractQueryCommand.java:238) > > 2004-01-05 21:06:50,467 ERROR [STDERR] at > > org.jboss.ejb.plugins.cmp.jdbc.JDBCAb > > stractQueryCommand.execute(JDBCAbstractQueryCommand.java:111) > > 2004-01-05 21:06:50,467 ERROR [STDERR] at > > org.jboss.ejb.plugins.cmp.jdbc.JDBCFi > > ndEntitiesCommand.execute(JDBCFindEntitiesCommand.java:38) > > 2004-01-05 21:06:50,467 ERROR [STDERR] at > > org.jboss.ejb.plugins.cmp.jdbc.JDBCSt > > oreManager.findEntities(JDBCStoreManager.java:579) > > 2004-01-05 21:06:50,468 ERROR [STDERR] at > > org.jboss.ejb.plugins.CMPPersistenceM > > anager.findEntities(CMPPersistenceManager.java:311) > > 2004-01-05 21:06:50,468 ERROR [STDERR] at > > org.jboss.resource.connectionmanager. > > CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.jav > > a:322) > > 2004-01-05 21:06:50,468 ERROR [STDERR] at > > org.jboss.ejb.EntityContainer.findLoc > > al(EntityContainer.java:613) etc....... > > Hm, seems like something in the generated deployment descriptors of the > controller is corrupt. Have a look in: > > $CONCERN_HOME/dist/etc/process/jbosscmp-jdbc.xml > > You have deployed two processes: claim and project. I remember, there was a > > deployment problem some time ago, if you have more than one process at a > time. > However, the new packaging on my machine is working (the new demo actually > has > two processes). > > Also try to remove the claim scheduler and add it, when jboss has started. > > > > 6) Also, I am trying to access the demo web interface at URL > > http://myserver:8080/claim > > http://myserver:8080/claim/ClaimWorker > > as per your online demo. Is this correct? > > Yes, that's ok. > > Holger > > > > -----Original Message----- > > From: con...@li... > > [mailto:con...@li...] On Behalf Of Holger > > Engels > > Sent: 05 January 2004 19:41 > > To: con...@li... > > Cc: lis...@sa... > > Subject: [Concern-users] RE: [Concern-developers] New demo process > > > > Quoting Lisa Retief <lis...@sa...>: > > > > > Hi, > > > > > > Okay, fixed that then got: > > > > > > BUILD FAILED > > > file:/home/lisa/concern/concern-src-1.0.1/demo/build.xml:166: > > > /home/lisa/concern/concern-src-1.0.1/dist/dist/deploy not found. > > > > > > So, I thought I would go to $CONCERN_HOME/dist and run ant first, and > > > then I end up with this: > > > > > > BUILD FAILED > > > file:/home/lisa/concern/concern-src-1.0.1/dist/build.xml:47: Warning: > > > Could not find file > > > /home/lisa/concern/concern-src-1.0.1/dist/lib/ControllerSupport.jar to > > > > > copy. > > > > > > I can't find that anywhere. What next? > > > > Shit, I changed the packaging too and accidentally commited a new > > src/ant/ > > concern-build.xml, that is inconsistent with the old version. Go to > > $CONCERN_HOME and: > > > > rm src/ant/concern-build.xml > > cvs update -r 1.5 src/ant/concern-build.xml > > ant dist > > > > Then try 'ant' in $CONCERN_HOME/dist again. It should work now! If your > > patience isn't used up already ... where do you get now? > > > > You have been added as a developer to the project .. you're welcome! You > > will > > keep your write access to the repository as long as you make more or > > less > > valuable contributions from time to time. > > > > Regards, > > > > Holger Engels > > (Dipl Inf Med) > > > > -- > > Consultant, Architect, Developer > > Mobile: +49 176 20119752 > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > > IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys > > admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Concern-users mailing list > > Con...@li... > > https://lists.sourceforge.net/lists/listinfo/concern-users > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.558 / Virus Database: 350 - Release Date: 02/01/2004 > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.558 / Virus Database: 350 - Release Date: 02/01/2004 > > > > > > > > > Holger Engels > (Dipl Inf Med) > > -- > Consultant, Architect, Developer > Mobile: +49 176 20119752 > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Concern-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/concern-users > > Holger Engels (Dipl Inf Med) -- Consultant, Architect, Developer Mobile: +49 176 20119752 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |