[Concern-users] RE: server.log and jmx-console output
Brought to you by:
hengels,
leonchiver
|
From: Holger E. <he...@me...> - 2004-05-14 09:22:59
|
Quoting Raoul Zon <rao...@to...>: > Probably doing something wrong..... (again) > I'm running from eclipse now, as I kept getting NoClassDefFoundError. > Now I get other errors, like: > "Need to specify class name in environment or system property, or as an > applet parameter, or in an application resource file: > java.naming.factory.initial" > > Which appears when executing: > controllerHome = (ControllerHome)new InitialContext().lookup(name + > "/Controller"); there's a jndi.properties file in the etc directory. put the etc directory in the classpath. > 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... > > Is there any other way to do what you'd normally do with the script or > this class? > > How do you specify the pk?? > I've tried [SQLUser].Engagement.id, just Engagement.id and just id. > > Raoul > > > -----Oorspronkelijk bericht----- > Van: Holger Engels [mailto:he...@me...] > Verzonden: vrijdag 14 mei 2004 10:16 > Aan: Raoul Zon > CC: con...@li... > Onderwerp: RE: server.log and jmx-console output > > > Quoting Raoul Zon <rao...@to...>: > > > Holger, > > > > I've checked in the new AbstractActivity class. > > Thanks! > > > 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 > error. > > The other one gives: > > "[: ==: unknown operand > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/concern/j2ee/client/commandline/Concern" > > I've checked the dist/lib and the jar containing the class does exist. > > > I've tried setting the classpath manually by overriding the > shellscript, > > but without success. > > The cygwin bash has problems to interprete the script. Don't know why. > > > I run the command from the root of the project...in my case: > > /cygdrive/c/eclipse/workspace/concern > > You need the jboss client jars to access jboss. The client jars are > copied by > the build script, if you set jboss.client in the custom-build.properties > of > this module. The content of my client/dist/lib is: > > dist/ > dist/lib > dist/lib/concern-client.jar > dist/lib/concern-client-commandline.jar > dist/lib/jboss-j2ee.jar > dist/lib/concern-controller.jar > dist/lib/concern-model.jar > dist/lib/jsse.jar > dist/lib/jbossjmx-ant.jar > dist/lib/jbosssx-client.jar > dist/lib/jacorb.jar > dist/lib/getopt.jar > dist/lib/jboss-common-client.jar > dist/lib/log4j.jar > dist/lib/jbosscx-client.jar > dist/lib/jboss-client.jar > dist/lib/jmx-ejb-connector-client.jar > dist/lib/jboss-transaction-client.jar > dist/lib/jbossha-client.jar > dist/lib/gnu-regexp.jar > dist/lib/jnet.jar > dist/lib/concurrent.jar > dist/lib/jboss-net-client.jar > dist/lib/auth.conf > dist/lib/jmx-connector-client-factory.jar > dist/lib/xdoclet-module-jboss-net.jar > dist/lib/jboss-jaas.jar > dist/lib/jmx-rmi-connector-client.jar > dist/lib/jboss-system-client.jar > dist/lib/jbossmqha.jar > dist/lib/jboss-iiop-client.jar > dist/lib/jmx-invoker-adaptor-client.jar > dist/lib/jbossmq-client.jar > dist/lib/jboss-jsr77-client.jar > dist/lib/jbossall-client.jar > dist/lib/jnp-client.jar > dist/lib/jcert.jar > > > Holger > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > Holger Engels (Dipl Inf Med) -- Consultant, Architect, Developer Mobile: +49 176 20119752 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |