Skip to content

Creator does not allow directories as ServerStart.ClassPath #344

Closed
@aroemers

Description

@aroemers

When declaring the ServerStart.ClassPath attribute to have a directory as its value, the Creator is unable to continue. For example:

ServerStart:
  ClassPath: 'wlsdeploy/classpathLibraries/some-directory'

yields the following error:

WLSDPLY-12409: createDomain failed to create the domain: The attribute ClassPath in 
model location topology:/Server/some-server/ServerStart/NO_NAME_0 has value 
wlsdeploy/classpathLibraries/some-directory that references a file inside the archive 
file <method ModelContext.get_archive_file_name of ModelContext instance 14850> 
that does not exist

If backslashes are used, the Validator yields some warnings, but the Creator works fine. It nicely copies all files from the archive, and sets the Classpath in the domain. But, using backslashes in the Classpath entry only works on Windows machines, when actually starting the WebLogic server. We need it to work with slashes as well, for the unix/linux environments.

Is this a bug? Or how to deal with this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions