ATG 2006.3 startup on Linux using JBoss 4.0.3SP1

View: New views
3 Messages — Rating Filter:   Alert me  

ATG 2006.3 startup on Linux using JBoss 4.0.3SP1

by qmnonic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the following startup error while starting with ATG_HOME/bin/startDynamoOnJBOSS.sh :

Warning: ./localconfig/dasEnv.sh does not exist; did you run the installer?
         I will try to work around the problem.
DAS_ROOT=./..
ATGJRE=java
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(Versionator.java:277)
        at atg.applauncher.versioner.Versionator.<init>(Versionator.java:87)
        at atg.applauncher.MultiInstallLocalAppModuleManager.expandSearchPath(MultiInstallLocalAppModuleManager.java:154)
        at atg.applauncher.MultiInstallLocalAppModuleManager.<init>(MultiInstallLocalAppModuleManager.java:131)
        at atg.applauncher.dynamo.DynamoServerLauncher.main(DynamoServerLauncher.java:166)
Assembly started.
Target application is /Applications/jboss-4.0.3SP1/server/default/deploy/ATGDAF.ear.
Creating exploded ear file /Applications/jboss-4.0.3SP1/server/default/deploy/ATGDAF.ear.
Initializing...

----

It doesn't appear to stop my startup, but is problematic.  There is no J2EEAPI module anywhere, and DAS isn't the target application server, so why is it running dasEnv.sh?

Not sure why this is happening..

Re: ATG 2006.3 startup on Linux using JBoss 4.0.3SP1

by qmnonic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Solve this issue by creating my own DYNAMO_HOME/localconfig/dasEnv.sh, which contains the following:

---- contents of dasEnv.sh
export ATGJRE=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java

export JBOSS_VERSION=4.0.3
----

In other deployments, it contained the JBOSS_HOME variable, but I already have this set as an environment variable, so I didn't reset it here, but you might want to.

This fixes the Warning, and the Error.

Re: ATG 2006.3 startup on Linux using JBoss 4.0.3SP1

by david.mulligan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was getting the same error on ATG7.2.  It turns out that I was starting the app server all wrong.  No startDynamo anymore :)  jboss's "bin\run -c atg" is now required.