atg.applauncher.AppLauncherException: Error

1,333 views
Skip to first unread message

avis

unread,
Jun 14, 2008, 11:12:26 AM6/14/08
to ATG_Tech
Hi all
i installed ATG7.2 on JBoss 4.03 sp1 and JDK is 1.4.12
when i am tring to start startDyanmo i am getting this error
i set Dynamo_root, Dynamo_home in Environment variables
please let me know it wat might be the problem

startDynamo -m xxx

Application Server: jboss
atg.applauncher.AppLauncherException: Error: There is no installed
ATG platform
or application package containing an AppModule which matches J2EEAPI
at
atg.applauncher.versioner.Versionator.createInitialRequirements(Versi
onator.java:277)
at
atg.applauncher.versioner.Versionator.<init>(Versionator.java:87)
at
atg.applauncher.MultiInstallLocalAppModuleManager.expandSearchPath(Mu
ltiInstallLocalAppModuleManager.java:154)
at
atg.applauncher.MultiInstallLocalAppModuleManager.<init>(MultiInstall
LocalAppModuleManager.java:131)
at
atg.applauncher.dynamo.DynamoServerLauncher.main(DynamoServerLauncher
.java:140)
Exception in thread "main" java.lang.NoClassDefFoundError: atg/service/
dynamo/En
vironmentLogger
Exception in thread "main" java.lang.NoClassDefFoundError: atg/service/
dynamo/Co
nfiguration
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
java full version "1.4.2_12-b03"
-------------------
JAVA_ARGS: -
Djava.naming.factory.initial=atg.j2ee.jndi.SerialInitContextFactory
-Djava.security.policy=lib/java.policy -Datg.dynamo.home="." -
Datg.dynamo.root=
".\.." -Datg.dynamo.display= -
Djava.protocol.handler.pkgs=atg.net.www.protocol -
Djava.naming.factory.url.pkgs=atg.jndi.url -Datg.dynamo.modulepath=".
\.." -Xms51
2m -Xmx1024m -Datg.dynamo.server.home="." -XX:MaxPermSize=96m -
XX:MaxNewSize=96m
-Datg.dynamo.modules=J2EEAPI;DAS;J2EEServer-UI;J2EEServer;J2EE-
Default;DSS -Ds
un.rmi.dgc.server.gcInterval=3600000 -
Djava.security.auth.login.config=.\lib\ser
verlogin.config
-------------------
DYN_EXTRA_ARGS:
-------------------
DYNAMO_MODULES: J2EEAPI;DAS;J2EEServer-UI;J2EEServer;J2EE-Default;DSS
-------------------
CONFIGPATH: ;localconfig
-------------------
CLASSPATH: .\locallib\;.\lib\launcher.jar;%path%;%JAVA_HOME%\lib;
-------------------
PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
%JAVA_HOME%\
bin;D:\ATG\ATG7.2\home\bin;%JBOSS_HOME%\bin;;.\..\DAS\os_specific_files
\i486-unk
nown-win32;.\..\DAS\os_specific_files\i486-unknown-win32\ice
atg.applauncher.AppLauncherException: Error: There is no installed
ATG platform
or application package containing an AppModule which matches J2EEAPI
at
atg.applauncher.versioner.Versionator.createInitialRequirements(Versi
onator.java:277)
at
atg.applauncher.versioner.Versionator.<init>(Versionator.java:87)
at
atg.applauncher.MultiInstallLocalAppModuleManager.expandSearchPath(Mu
ltiInstallLocalAppModuleManager.java:154)
at
atg.applauncher.MultiInstallLocalAppModuleManager.<init>(MultiInstall
LocalAppModuleManager.java:131)
at
atg.applauncher.dynamo.DynamoServerLauncher.main(DynamoServerLauncher
.java:265)

Adam Petri

unread,
Jun 14, 2008, 11:21:37 AM6/14/08
to atg_...@googlegroups.com
You can't use the startDynamo scripts, since that tries to start the ATG app server, which is no longer available in 2007.1. You have to run startDynamoOnJBoss, or just use runAssembler to create your ear file, copy it to your JBoss server directory, and then run JBoss's run.bat/run.sh command directly.

-AdamP

--- On Sat, 6/14/08, avis <sank...@gmail.com> wrote:

srini_r

unread,
Jun 15, 2008, 5:33:57 AM6/15/08
to ATG_Tech
Hi,

While installing ATG, you would have chosen the JBoss server instead
of DAS6.3 . So you need to start the Jboss server rather than the DAS.
ALso on JBoss, our applications need to be packed as an EAR file and
then JBoss has to be started.

This task can be done by the runAssembler command.

{Jboss.home}\server\atg\deploy\>runAssembler mybigear.ear -m
myModule;DafEar;DafEar.Admin

This will create the mybigear.ear directory under the deploy
directory. Remember, the .ear extension in important for the jboss to
recognize our EAR module.

Then go to the {jboss.home}\bin and call the command, run -c atg

This will start the Jboss with ATG.

If you use the startDynamoOnJBoss.bat command, this will internally
call the runAssembler, assemble a big ear file by name ATG.ear under
the Jboss deploy directory and then call the run-c atg.


regards


R.Srinivasan
Reply all
Reply to author
Forward
0 new messages