[Concern-users] RE: server.log and jmx-console output
Brought to you by:
hengels,
leonchiver
|
From: Raoul Z. <rao...@to...> - 2004-05-14 09:40:06
|
It's probably getting quite irritating for you, but yet there's another error :-( This time it's got something to do with the DB. It's nagging it can't fetch the next PK as the user is unknown. Is there a user set for this query somewhere and if not, can I set it somewhere?? Normally I would like to believe Jboss already has an open connection to the DB with the user specified in the custom-build.properties, which loads just fine. Raoul -----Oorspronkelijk bericht----- Van: Holger Engels [mailto:he...@me...]=20 Verzonden: vrijdag 14 mei 2004 11:23 Aan: Raoul Zon CC: con...@li... Onderwerp: RE: server.log and jmx-console output Quoting Raoul Zon <rao...@to...>:=20 =20 > Probably doing something wrong..... (again) > I'm running from eclipse now, as I kept getting NoClassDefFoundError.=20 > Now I get other errors, like:=20 > "Need to specify class name in environment or system property, or as an=20 > applet parameter, or in an application resource file:=20 > java.naming.factory.initial"=20 > =20 > Which appears when executing: > controllerHome =3D (ControllerHome)new InitialContext().lookup(name +=20 > "/Controller");=20 =20 there's a jndi.properties file in the etc directory. put the etc directory in=20 the classpath.=20 =20 > Seems it does not have access to the Jboss server. I've checked my lib > directory and have the exact same jars there as you do...=20 > =20 > Is there any other way to do what you'd normally do with the script or > this class?=20 > =20 > How do you specify the pk?? > I've tried [SQLUser].Engagement.id, just Engagement.id and just id.=20 > =20 > Raoul > =20 > =20 > -----Oorspronkelijk bericht----- > Van: Holger Engels [mailto:he...@me...] =20 > Verzonden: vrijdag 14 mei 2004 10:16=20 > Aan: Raoul Zon=20 > CC: con...@li...=20 > Onderwerp: RE: server.log and jmx-console output=20 > =20 > =20 > Quoting Raoul Zon <rao...@to...>: > =20 > > Holger, > > =20 > > I've checked in the new AbstractActivity class. > =20 > Thanks! > =20 > > I've tried running both: <pk> and the primary key, both fail. > > The first one (how stupid of me to even try...) gives the newline=20 > error. > > The other one gives: > > "[: =3D=3D: unknown operand =20 > > Exception in thread "main" java.lang.NoClassDefFoundError: =20 > > org/concern/j2ee/client/commandline/Concern" =20 > > I've checked the dist/lib and the jar containing the class does exist.=20 > =20 > > I've tried setting the classpath manually by overriding the > shellscript, > > but without success. > =20 > The cygwin bash has problems to interprete the script. Don't know why. > =20 > > I run the command from the root of the project...in my case: > > /cygdrive/c/eclipse/workspace/concern =20 > =20 > You need the jboss client jars to access jboss. The client jars are > copied by =20 > the build script, if you set jboss.client in the custom-build.properties=20 > of =20 > this module. The content of my client/dist/lib is: =20 > =20 > dist/ > dist/lib =20 > dist/lib/concern-client.jar =20 > dist/lib/concern-client-commandline.jar =20 > dist/lib/jboss-j2ee.jar =20 > dist/lib/concern-controller.jar =20 > dist/lib/concern-model.jar =20 > dist/lib/jsse.jar =20 > dist/lib/jbossjmx-ant.jar =20 > dist/lib/jbosssx-client.jar =20 > dist/lib/jacorb.jar =20 > dist/lib/getopt.jar =20 > dist/lib/jboss-common-client.jar =20 > dist/lib/log4j.jar =20 > dist/lib/jbosscx-client.jar =20 > dist/lib/jboss-client.jar =20 > dist/lib/jmx-ejb-connector-client.jar =20 > dist/lib/jboss-transaction-client.jar =20 > dist/lib/jbossha-client.jar =20 > dist/lib/gnu-regexp.jar =20 > dist/lib/jnet.jar =20 > dist/lib/concurrent.jar =20 > dist/lib/jboss-net-client.jar =20 > dist/lib/auth.conf =20 > dist/lib/jmx-connector-client-factory.jar =20 > dist/lib/xdoclet-module-jboss-net.jar =20 > dist/lib/jboss-jaas.jar =20 > dist/lib/jmx-rmi-connector-client.jar =20 > dist/lib/jboss-system-client.jar =20 > dist/lib/jbossmqha.jar =20 > dist/lib/jboss-iiop-client.jar =20 > dist/lib/jmx-invoker-adaptor-client.jar =20 > dist/lib/jbossmq-client.jar =20 > dist/lib/jboss-jsr77-client.jar =20 > dist/lib/jbossall-client.jar =20 > dist/lib/jnp-client.jar =20 > dist/lib/jcert.jar =20 > =20 > =20 > Holger > =20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/=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/ |