Hi,
I'm sorry I'm reposting this question. I'm trying again. I read that
Jetspeed 1.6 comes with the ability to import xreg files to database. I
used the RegistryImport.java along with RegistryImport.properties and
tried using the import but it does not put anything in the database, In
fact there is a exception (please look at end of email). Please experts
or anyone who has an idea tell me where I'm going wrong or is there a
doc that I can refer to. I think I have all the configuration right
since I looked at the mailing list and found an email that explained how
to do it (Link:
http://translate.google.com/translate?hl=en&sl=ja&u=http://www.egroups.c
o.jp/group/jetspeed/messages/313%3Fexpand%3D1&prev=/search%3Fq%3DHybridR
egistryService%26hl%3Den%26hs%3DeFp%26lr%3D%26client%3Dfirefox-a%26rls%3
Dorg.mozilla:en-US:official).
Please any pointers will be helpful. I looked at the code and it seems
like putting the portlet in the database is failing (I do not see any
exceptions along those lines in any log file).
Regards,
Archana
The exception that is happening when I run RegistryImport is :
java.lang.NullPointerException
at
org.apache.jetspeed.om.registry.base.BaseRegistry.addLocalEntry(BaseR
egistry.java:222)
at
org.apache.jetspeed.om.registry.base.BasePortletRegistry.addLocalEntr
y(BasePortletRegistry.java:268)
at
org.apache.jetspeed.services.registry.HybridRegistryService.save(Hybr
idRegistryService.java:407)
at
org.apache.jetspeed.services.registry.HybridRegistryService.addEntry(
HybridRegistryService.java:314)
at
org.apache.jetspeed.services.registry.RegistryImporter.run(RegistryIm
porter.java:142)
at
org.apache.jetspeed.services.registry.RegistryImporter.main(RegistryI
mporter.java:103)
**** Registry Importer - completed
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s) to
whom it is addressed. Any use, copying, retention or disclosure by any person
other than the intended recipient or the intended recipient's designees is
strictly prohibited. If you are the intended recipient, you must treat the
information in confidence and in accordance with all laws related to the
privacy and confidentiality of such information. If you are not the intended
recipient or their designee, please notify the sender immediately by return
e-mail and delete all copies of this email, including all attachments.