I'm really stumped on this one and haven't gotten any enlightenment from the
mail archives. I'm running Win2K, Jetspeed 1.4-b3, MySQL 4.05b on Tomcat
4.1.12.
When I open ...jetspeed/index.jsp in my browser (IE 6.0), the topnav,
leftnav, and bottomnav are rendered, but as to the content, I have the
following message displayed (or something close to it): yadayadayad:
Profile not found. This occurs for both the anon and named users. Sure
enough, when I dig into the jetspeed tables in the mysql database, the anon
and named users exist in the turbine tables but all of the jetspeed profile
tables are empty (jetspeed_user_profile, jetspeet_role_profile, and
jetspeed_group_profile). So, the error makes sense.
Searching through the mail archives, I came across a tidbit indicating that
I need to import the psml data into the database by running the build.bat
file in the ...jetspeed-1.4b2/build dir with the 'import arg, which is
basically the same as running 'ant import' from the command line from inside
the build dir. When I do this, I consistently get the following stack
trace:
[java] ***** PSML Importer *****
[java] java.io.FileNotFoundException:
null\WEB-INF\conf\TurbineResources.properties (The system cannot find the
path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:103)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[java] at
org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesCo
nfiguration.java:190)
[java] at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:179)
[java] at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:123)
[java] at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:149)
[java] at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
java:139)
[java] at
org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
ces.java:193)
[java] at org.apache.turbine.Turbine.init(Turbine.java:247)
[java] at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[java] at
org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
[java] at
org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:179)
[java] (!) NOTICE: init
[java] (!) NOTICE: ServiceBroker: LoggingService enabled.
[java] at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.main(PsmlImporter.java
:123)
[java] (!) NOTICE: Turbine: init() failed:
org.apache.turbine.services.InitializationException: Can't load file
null/WEB-INF/conf/TurbineResources.properties
[java] at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:184)
[java] at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:123)
[java] at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:149)
[java] at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
java:139)
[java] at
org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
ces.java:193)
[java] at org.apache.turbine.Turbine.init(Turbine.java:247)
[java] at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[java] org.apache.turbine.services.InstantiationException:
ServiceBroker: unknown service LoggingService requested
[java] at
org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
[java] at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:354)
[java] at
org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:179)
[java] at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.main(PsmlImporter.java
:123)
[java] at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:296)
[java] at org.apache.turbine.util.Log.error(Log.java:447)
[java] at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.main(PsmlImporter.java
:147)
[java] Exception in thread "main"
[java] Java Result: 1
Some previous responses to related posts indicate this may be a problem with
the WEB-INF/web.xml file - specifically the initilization of the
'properties' property (WEB-INF/conf/TurbineResources.properties). I've
tried hardcoding the full path for the appContext, but no luck.
Any help is very much appreciated.
Thanks,
John Arnold
Director, IT Web Strategies
2k3 Technologies
915.439.1660