Skip to Main Content

About Error<BEA-149205> <Failed to initialize the application content-...

648918Jul 8 2008 — edited Jul 8 2008
When using BEA WL Domain Template Builder to create a new domain based on an original that is configured as Portal and Collaboration , if you just Click NEXT (leave all defaults) and after creating the new domain via BEA WL Configuration Wizard you can receive a lot of errors when you try to start the WL Server. Actually the Server doesn’t start.
Some errors:
<Error> <Deployer> <BEA-149205> <Failed to initialize the application
'content-management-app-lib [LibSpecVersion=10.2.0,LibImplVersion=10.2.0.1]'
due to error weblogic.application.library.LibraryDeploymentException …
.. etc.


About these applications:
content-management-app-lib.ear
webdav-app-lib.ear
content-management-web-lib.war
webdav-web-lib.war

and
bea_wls_internal.war

After creating the new Domain, take a look at %DOMAIN_HOME%/init-info/
1. tokenValue.properties:
@APPLICATIONS_DIRECTORY=$APPLICATIONS_DIRECTORY$
For example:
@APPLICATIONS_DIRECTORY=D\:\\bea102\\user_projects\\applications\\wlp_collab_prod_domain

2. domain-info.xml
appdir="$APPLICATIONS_DIRECTORY$"
For example:
appdir="D:\bea102\user_projects\applications\wlp_collab_prod_domain"

I found a personal solution, I don’t pretend to be right, please correct me if somebody has found better or the right solution.

Start BEA WL Domain Template Builder

I. The CM Apps solution
1. The Relative Path ./ ...... /content-management-app-lib.ear
Usually should be:
$USER_INSTALL_DIR$/cm/lib/modules/maintenance/1020/default/content-management-app-lib.ear
(if you prefer to use the existing apps from their original location)
where:
$USER_INSTALL_DIR$ = $BEAHOME$/$WLHOME$ - (for example: D:/bea102/wlserver_10.0)

2. Copy the Current Application Path (the section 'Location:' ) OMMIT the $BEAHOME$/$WLHOME$ and APP_NAME and paste it into 'Relative Path ./'
For example:
Location:
D:/bea102/wlserver_10.0/cm/lib/modules/maintenance/1020/default/content-management-app-lib.ear
Copy ONLY cm/lib/modules/maintenance/1020/default
and Paste it into 'Relative Path ./'
So it should be:
RelativePath./cm/lib/modules/maintenance/1020/default/content-management-app-lib.ear
Do this for all the apps where you have 'Relative Path ./' (Imported Application Path)
Note:
* Later you will mofgify the config.xml file in your template as:
- Open the JAR file
- Browse to[b] /config folder
- Delete the file config.lok
- Delete the _apps_ folder - if you have some custom apps into _apps_ folder, delete ONLY /cm subfolder
- Open and Modify config.xml:
- Search and Replace "$APPLICATIONS_DIRECTORY$" with $USER_INSTALL_DIR$
- save the file

II. The WLS Internal App solution
1. On the Add Files section, add yours JKS files to the current template view, select the relivant folder
For example add:
DemoIdentity.jks
DemoTrust.jks
wsrpKeystore.jks

INTO
<Domain Root Directory>

III. (Optional) If you want to keep the DB from the original domain
Point Base Example :
Copy
weblogic_eval.dbn
weblogic_eval$1.wal
USER.dat
INTO
<Domain Root Directory>
Note:
* You don’t need to run ‘create_db’ scripts if you do the steps above

IV. Using BEA WL Configuration Wizard create the new domain based on your template

V. STARTING THE DOMAIN
1. start your Data Base
2. Execute the script from 'SQLAuthenticator.sql' and Commit
3. start WebLogic Server
Post Details
Locked due to inactivity on Aug 5 2008
Added on Jul 8 2008
0 comments
6,918 views