Benjamin Wolber 27.Oct.11 09:08 AM a Web browser Administration3.0.1Windows
Hey everybody,
my intention is to add all users, which have been logged on Connections at least once, to a specific Community.
Therefor I created a task which exports those Users (as mail or UUID) into a file. I then execute a batch-file, which opens up the wsadmin.bat and establishes a session. Then, a python (jython)-script is executed, which reads up the list with the users and adds them to the Community.
When I execute this I get the following error:
- Adding via CommunitiesService.addMembersToCommunityByMemberUuid
WASX7015E: Exception running command: "execfile("C:/jobs/addToCommunity.py")"; exception information:
javax.management.RuntimeMBeanException
java.lang.RuntimeException: java.lang.RuntimeException: Can't find resource for bundle java.util.PropertyResourceBundle, key err.bad.address.memberId
- Adding via CommunitiesService.addMembersToCommunityByEmail
WASX7015E: Exception running command: "execfile("C:/jobs/addToCommunity.py")"; exception information:
javax.management.RuntimeMBeanException
java.lang.RuntimeException: java.lang.RuntimeException: CLFRM0033E: Dieser E-Mail-Adresse (@) ist kein Verzeichnisprofil zugeordnet
When I add the test-users manually to the community it is working perfectly.
Here is my jython-script:
__________________________
import java.util
fobj = open("S:/exporttest.txt", "r")
content = fobj.readline()
list = "["