RE: [Concern-users] Installation failures
Brought to you by:
hengels,
leonchiver
|
From: Raoul Z. <rao...@to...> - 2004-05-12 07:42:15
|
Holger,
I proceeded with the steps you mentioned and deployed everything step by
step.
The moment I deploy the war I get errors.
It seems to me there's some problem with the EJB's and some conversion
in the DB.
The first error I get is about unbound EJB's Engagement/Scheduler and
Application/Scheduler.
Then it loads the hibernate mappings without problems and runs into a
"ConversionExceptionSapDB: Cannot convert data 1084347054092 to type
Timestamp" from the SapDB driver.=20
Maybe I can send you my server.log so you can see what's wrong.
Raoul
-----Original Message-----
From: Holger Engels [mailto:he...@me...]=20
Sent: dinsdag 11 mei 2004 17:32
To: con...@li...
Cc: Raoul Zon
Subject: RE: [Concern-users] Installation failures
Raoul,=20
=20
I fixed a bug in the j2ee-demo/build.xml script. now con:cern should
generate=20
the correct ddl scripts for the specified database.vendor defined in=20
custom-build.properties=20
=20
Quoting Raoul Zon <rao...@to...>:=20
=20
> Holger,
> =20
> Sorry for my late reaction, but got a bit further with the process.
> I found the generated ddl-scripts don't comply with MaxDB 7.5=20
> I had to manually alter them and generate the tables. After that I had
> some problems with users on the DB as well, so I re-installed MaxDB
and=20
> while I was at it, I re-installed Jboss as well.=20
> The DB is now connecting properly, so that's fixed....=20
> The last time I ran con:cern it almost completely started without
error,=20
> but sometimes can't seem to register the EJB's and when started it=20
> starts generating errors.=20
=20
The errors during startup might be ok, if it is only the scheduler
errors. the=20
scheduler tries to call the controller before it is actually available.=20
=20
> I'm still using the CVS version, as the binary seems to be broken as I
> can't get it to build properly.=20
> Did a new checkout by the way, which I will start building in a
minute.=20
> =20
> What jars are required in server/lib that aren't part of the build of
> con:cern??=20
=20
Look at the deploy_* tasks in the j2ee-demo/build.xml. The build is
supposed=20
to copy all required files (hopefully).=20
=20
Regards,=20
=20
Holger=20
=20
> -----Original Message-----
> From: Holger Engels [mailto:he...@me...]=3D20=20
> Sent: maandag 10 mei 2004 17:28=20
> To: con...@li...=20
> Cc: Raoul Zon=20
> Subject: RE: [Concern-users] Installation failures=20
> =20
> Quoting Raoul Zon <rao...@to...>:=3D20
> =3D20=20
> > Holger,
> > =3D20=20
> > Didn't get the binary dist to run, but the one I checked out from
CVS=3D20=20
> > is=20
> > able to compile once I removed three invalid (non-existent) calls
to=3D20=20
> > methods within AbstractActivity.java=3D20=20
> =3D20
> I moved some methods from abstract activity to its descendants and was
> not=3D20=20
> finished. does it look like this:=3D20=20
> =3D20=20
> [javac]=3D20=20
>
/home/hengels/jdevel/concern/j2ee/src/java/org/concern/j2ee/AbstractActi
> vity.java:209:=3D20=20
> cannot resolve symbol=3D20=20
> [javac] symbol : method getTimeout ()=3D20=20
> [javac] location: class org.concern.j2ee.AbstractActivity=3D20=20
> [javac] buffer.append("" + getTimeout());=3D20=20
> [javac] ^=3D20=20
> [javac]=3D20=20
>
/home/hengels/jdevel/concern/j2ee/src/java/org/concern/j2ee/AbstractActi
> vity.java:213:=3D20=20
> cannot resolve symbol=3D20=20
> [javac] symbol : method getRetryDelay ()=3D20=20
> [javac] location: class org.concern.j2ee.AbstractActivity=3D20=20
> [javac] buffer.append("" + getRetryDelay());=3D20=20
> [javac] ^=3D20=20
> [javac]=3D20=20
>
/home/hengels/jdevel/concern/j2ee/src/java/org/concern/j2ee/AbstractActi
> vity.java:215:=3D20=20
> cannot resolve symbol=3D20=20
> [javac] symbol : method getTrials ()=3D20=20
> [javac] location: class org.concern.j2ee.AbstractActivity=3D20=20
> [javac] buffer.append("" + getTrials());=3D20=20
> =3D20=20
> if yes, you can savely ignore it.=3D20=20
> =3D20=20
> =3D20=20
> =3D20=20
> > However....when I deploy the j2ee-demo with the engagement war after
> > doing an "all" on the build file of j2ee-demo and running the server
I=20
> =20
> > get loads and loads of errors and can't seem to login, whatever I=20
> > use.
> =20
> > Probably something simple I overlooked to compile or run, but =
any=3D20
> > suggestions.=3D20=20
> =3D20
> try to deploy the components one by one:=3D20=20
> =3D20=20
> 0. remove all con:cern components from jboss=3D20=20
> 1. copy the required jars to jboss/default/server/lib=3D20=20
> 2. start jboss (you should see no errors)=3D20=20
> 3. configure your datasource and deploy it=3D20=20
> 4. deploy the jta session service=3D20=20
> 5. deploy the engagement model=3D20=20
> 6. deploy the engagement process=3D20=20
> 7. deploy the engagement controller=3D20=20
> 8. deploy the engagement scheduler=3D20=20
> 9. deploy application process/controller/scheduler=3D20=20
> 10. deploy the engagement.war=3D20=20
> =3D20=20
> send me your first errors.=3D20=20
> =3D20=20
> =3D20=20
> > FYI:
> > I'm using MaxDB (latest version) (old SapDB as you probably
know).=3D20=20
> > Jboss 3.2.3=3D20=20
> =3D20
> I'm using postgres. however maxdb should work, too. make sure, that
the=3D20=20
> engagement model is configured correctly (dialect / datasource). make=20
> sure,=3D20=20
> that the controller's entity beans are configured correctly=3D20=20
> (jbosscmp-jdbc.xml). normally these configurations are applied by the=20
> build=3D20=20
> scripts according to the respective etc/custom-build.properties. did
you=20
> =20
> customize them? can you please verify that your configuration is in
> effect?=3D20=20
> =3D20=20
> unzip -c EngagementModel.sar META-INF/jboss-service.xml=3D20=20
> unzip -c EngagementController.jar META-INF/jbosscmp-jdbc.xml=3D20=20
> =3D20=20
> thanks for your patience,=3D20=20
> =3D20=20
> holger=3D20=20
> =3D20=20
> =3D20=20
> > Raoul
> > =3D20=20
> > -----Oorspronkelijk bericht-----=20
> > Van: Holger Engels [mailto:he...@me...] =3D20=20
> > Verzonden: maandag 10 mei 2004 15:15=3D20=20
> > Aan: con...@li...=3D20=20
> > CC: Raoul Zon=3D20=20
> > Onderwerp: RE: [Concern-users] Installation failures=3D20=20
> > =3D20=20
> > =3D20=20
> > Hm,=20
> > =3D20=20
> > seems like there's a target dependency missing. dist should depend
on=20
> > build! =3D20=20
> > Try: =3D20=20
> > =3D20=20
> > cd client=20
> > ant build dist =3D20=20
> > =3D20=20
> > afterwards, the j2ee-demo build should work, too (hopefully).=20
> > =3D20=20
> > Holger=20
> > =3D20=20
> > =3D20=20
> > Quoting Raoul Zon <rao...@to...>:=20
> > =3D20=20
> > > Holger,
> > > =3D20=20
> > > Your suggestion does seem to work. I get two succesfull builds
and=3D20=20
> > > the=20
> > > search on *Local.java gave exactly the same results as you wrote.
=3D20=20
> > > =3D20=20
> > > Building model and modeller succeeded as well.=20
> > > =3D20=20
> > > Now only client and j2ee-demo fail:=20
> > > Client can't find the file concern-client.jar as it seems make a=20
> copy=3D20
> > of
> > > it somewhere.
> > > j2ee-demo gives 70 compilation errors concerning, among others,
the=20
> =20
> > > classes Work and DefaultWorkList, which it can't resolve. =3D20
> > > =3D20=20
> > > Raoul Zon=20
> > > =3D20=20
> > > -----Oorspronkelijk bericht-----=3D20=20
> > > Van: Holger Engels [mailto:he...@me...] =3D20=20
> > > Verzonden: maandag 10 mei 2004 14:34=20
> > > Aan: Raoul Zon =3D20=20
> > > Onderwerp: Re: [Concern-users] Installation failures =3D20=20
> > > =3D20=20
> > > =3D20=20
> > > try it like this:=20
> > > =3D20=20
> > > cd j2ee=3D20=20
> > > ant xdoclet =3D20=20
> > > ant dist =3D20=20
> > > =3D20=20
> > > some of the local interfaces should be generated by xdoclet:=20
> > > =3D20=20
> > > find -name *Local.java=3D20=20
> > > ./src/java/org/concern/j2ee/ActionLocal.java =3D20=20
> > > ./src/java/org/concern/j2ee/ActivityLocal.java =3D20=20
> > > ./src/java/org/concern/j2ee/ConditionLocal.java =3D20=20
> > > ./src/java/org/concern/j2ee/ExitLocal.java =3D20=20
> > > ./src/java/org/concern/j2ee/ControllerLocal.java =3D20=20
> > > ./src/java/org/concern/j2ee/LoaderLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/LogLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/ArchiveLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/TimerLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/EnlistmentLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/SchedulerLocal.java =3D20=20
> > > ./build/src/java/org/concern/j2ee/SubjectLocal.java =3D20=20
> > > =3D20=20
> > > can you confirm this? If not, come back to me,=20
> > > =3D20=20
> > > regards,=20
> > > =3D20=20
> > > Holger=20
> > > =3D20=20
> > > Quoting Raoul Zon <rao...@to...>:=20
> > > =3D20=20
> > > > Hi,=20
> > > > =3D20
> > > > I've downloaded the concern-all-1.1.tgz and followed the
procedure=20
> > > > on=3D20=20
> > > > the installation page. =3D20=20
> > > > I've tried installing on both windows and linux, but I keep=20
> getting=3D20
> > =3D20
> > > > build failures when compiling. =3D20
> > > > Model compiles oke. =3D20=20
> > > > =3D20=20
> > > > j2ee gives loads of errors, here's a bit of the list of errors:
=3D20=20
> > > > [javac]=3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle =
=3D20
> > > > rBean.java:346: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class EnlistmentLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.ControllerBean =
=3D20
> > > > [javac] EnlistmentLocal enlistment =3D3D =
=3D20=20
> > > > enlistmentHome.findBySu =3D20=20
> > > > bjectAndActivity(subject.getId(), activityName); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle =
=3D20
> > > > rBean.java:422: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class SubjectLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.ControllerBean =
=3D20
> > > > [javac] SubjectLocal subject =3D3D =3D20=20
> > > > subjectHome.findByUserValue(userV =3D20=20
> > > > alue); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle =
=3D20
> > > > rBean.java:423: incompatible types =3D20=20
> > > > [javac] found : void =3D20=20
> > > > [javac] required: boolean =3D20=20
> > > > [javac] while (process(subject)); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle =
=3D20
> > > > rBean.java:631: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class EnlistmentLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.ControllerBean =
=3D20
> > > > [javac] EnlistmentLocal enlistment =3D3D =3D20=20
> > > > getEnlistment(subject, acti =3D20=20
> > > > vity); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeControlle =
=3D20
> > > > rBean.java:685: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class EnlistmentLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.ControllerBean =
=3D20
> > > > [javac] EnlistmentLocal enlistment =3D3D =3D20=20
> > > > getEnlistment(subject, acti =3D20=20
> > > > vity); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeDelegate. =
=3D20
> > > > java:63: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class ControllerHome =3D20=20
> > > > [javac] location: class org.concern.j2ee.Delegate =3D20=20
> > > > [javac] controllerHome =3D3D =3D20=20
> > > > (ControllerHome)initialContext.lookup(p =3D20=20
> > > > rocessName + "/Controller"); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eejbossTri =
=3D20=20
> > > > gger.java:88: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class SchedulerLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.jboss.Trigger =
=3D20=20
> > > > [javac] Invocation invocation =3D3D new=3D20=20
> > Invocation(object,
> > > =3D20
> > > > Scheduler=3D20
> > > > Local.class.getMethod("trigger", null), null, null, null, null);
> =20
> > > > [javac]
> > > ^
> > > > [javac]=3D20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler =
=3D20
> > > > Bean.java:70: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class TimerLocalHome =3D20=20
> > > > [javac] location: class org.concern.j2ee.SchedulerBean =
=3D20=20
> > > > [javac] timerHome =3D3D (TimerLocalHome)new =
=3D20=20
> > > > InitialContext().lookup( =3D20=20
> > > > "java:" + processName + "/Timer"); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler =
=3D20
> > > > Bean.java:93: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class TimerLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.SchedulerBean =
=3D20=20
> > > > [javac] TimerLocal timerLocal =3D3D =3D20=20
> > > > (TimerLocal)iterator.next(); =3D20=20
> > > > =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac]=3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler =
=3D20
> > > > Bean.java:93: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class TimerLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.SchedulerBean =
=3D20=20
> > > > [javac] TimerLocal timerLocal =3D3D =3D20=20
> > > > (TimerLocal)iterator.next(); =3D20=20
> > > > =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac]=3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler =
=3D20
> > > > Bean.java:118: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class TimerLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.SchedulerBean =
=3D20=20
> > > > [javac] TimerLocal timer =3D3D =3D20=20
> > > > (TimerLocal)iterator.next(); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] =3D20=20
> > > > C:devtoolsconcern-all-1.1j2eesrcjavaorgconcernj2eeScheduler =
=3D20
> > > > Bean.java:118: cannot resolve symbol =3D20=20
> > > > [javac] symbol : class TimerLocal =3D20=20
> > > > [javac] location: class org.concern.j2ee.SchedulerBean =
=3D20=20
> > > > [javac] TimerLocal timer =3D3D =3D20=20
> > > > (TimerLocal)iterator.next(); =3D20=20
> > > > [javac] ^ =3D20=20
> > > > [javac] 68 errors =3D20=20
> > > > =3D20=20
> > > > Client keeps giving errors on the missing Scheduler class, =
in=3D20
> > > > total=20
> > > > 12=3D20=20
> > > > errors. =3D20=20
> > > > =3D20=20
> > > > This keeps going on. I've checked out the project with CVS in=20
> > > > Eclipse=3D20=20
> > > > IDE and tried to build that, again with errors. Those errors are
=3D20=20
> > > however
> > > > a bit different and seem to point to missing methods within=3D20
> > > > org.concern.j2ee.AbstractActivity =3D20=20
> > > > =3D20=20
> > > > I guess I'm missing some critical point in the installation=20
> > > > procedure,=3D20=20
> > > > but can't seem to figure out what. =3D20=20
> > > > =3D20=20
> > > > Can anyone point me to a solution or is there a more
extensive=3D20=20
> > > > installation guide for con:cern. =3D20=20
> > > > =3D20=20
> > > > Thanks a lot in advance,=20
> > > > =3D20=20
> > > > Raoul Zon=3D20=20
> > > > Java Software Developer =3D20=20
> > > > Topicus Information Architects =3D20=20
> > > > =3D20=20
> > > =3D20=20
> > > =3D20
> > > Holger Engels=3D20=20
> > > (Dipl Inf Med) =3D20=20
> > > =3D20=20
> > > --=3D20=20
> > > Consultant, Architect, Developer =3D20=20
> > > Mobile: +49 176 20119752 =3D20=20
> > > =3D20=20
> > > -------------------------------------------------=20
> > > This mail sent through IMP: http://horde.org/imp/ =3D20=20
> > > =3D20=20
> > > =3D20=20
> > =3D20
> > =3D20=20
> > Holger Engels=20
> > (Dipl Inf Med) =3D20=20
> > =3D20=20
> > --=20
> > Consultant, Architect, Developer =3D20=20
> > Mobile: +49 176 20119752 =3D20=20
> > =3D20=20
> > -------------------------------------------------=20
> > This mail sent through IMP: http://horde.org/imp/=3D20=20
> > =3D20=20
> > =3D20=20
> =3D20
> =3D20=20
> Holger Engels=3D20=20
> (Dipl Inf Med)=3D20=20
> =3D20=20
> --=3D20=20
> Consultant, Architect, Developer=3D20=20
> Mobile: +49 176 20119752=3D20=20
> =20
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/=20
> =20
> =20
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software=20
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use
to=3D20=20
> deliver higher performing products faster, at low TCO.=20
> http://www.sleepycat.com/telcomwpreg.php?From=3D3Dosdnemail3=20
> _______________________________________________=20
> Concern-users mailing list=20
> Con...@li...=20
> https://lists.sourceforge.net/lists/listinfo/concern-users=20
> =20
> =20
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software=20
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to =20
> deliver higher performing products faster, at low TCO.=20
> http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3=20
> _______________________________________________=20
> Concern-users mailing list=20
> Con...@li...=20
> https://lists.sourceforge.net/lists/listinfo/concern-users=20
> =20
> =20
=20
=20
Holger Engels=20
(Dipl Inf Med)=20
=20
--=20
Consultant, Architect, Developer=20
Mobile: +49 176 20119752=20
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to=20
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3
_______________________________________________
Concern-users mailing list
Con...@li...
https://lists.sourceforge.net/lists/listinfo/concern-users
|