|
Home > Archive > WebSphere Application Server > November 2005 > wsadmin - Shared Library with multiple classpath entries
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
wsadmin - Shared Library with multiple classpath entries
|
|
|
| Hello,
I can create a Shared Library with "$AdminConfig create Library $node {{name
MyLibrary} {classPath /path/file1.jar}}".
But I can't figure out how to create a shared library with several classpath
entries (/path/file1.jar, /path/file2.jar, /path/file3.jar).
Help appreciated... :-)
| |
|
| Can you try this?
set path [ list classpath1 classpath2]
$AdminConfig create Library $node {{name
MyLibrary} {classPath $path}}
Please let me know whether it works.
Thanks
Jane
"Ben_" <reply@newsgroup.com> wrote in message
news:dm260g$6i4k$1@news.boulder.ibm.com...
> Hello,
>
> I can create a Shared Library with "$AdminConfig create Library $node
> {{name
> MyLibrary} {classPath /path/file1.jar}}".
>
> But I can't figure out how to create a shared library with several
> classpath
> entries (/path/file1.jar, /path/file2.jar, /path/file3.jar).
>
> Help appreciated... :-)
>
>
| |
|
| That doesn't work: it creates a Classpath entry with "$path" as text.
wsadmin>$AdminConfig show $library
{classPath $path}
{name MyLibrary}
{nativePath {}}
But I found it by making it the other way round: create one from the
Administrative Console and display the details.
The separator is ";".
wsadmin>$AdminConfig show [$AdminConfig list Library]
{classPath /path/file1.jar;/path/file2.jar}
{name MyLibrary}
{nativePath {}}
Don't know why I didn't think to this before... :-)
Thanks anyway.
|
|
|
|
|