Well I searched briefly and couldn't find anyway to configure the MIME types for Jetty, but figured you may still be right so I downloaded and installed apache 2.2.2 and set it up to run on localhost. I navigated to the examples and they partially work. It appears as though most of the functionality works, but there are exceptions generated in the log file, even for the simple Hello World example. From the exception, it appears as though it is not finding the source file for the zimbra label, but the webpage still displays just as it does from the XAP website. Furthermore, I changed the google maps key in the EMS demo to work with my own key on localhost and the page appeared to load correctly, but there were lots of errors in the log and more occurred every time I clicked a tree item. Anyway, I'd like to get the hello world demo working correctly before I move onto the more complex ones. The following is the output from the log: [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add plugin description] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): 3 mapped tags] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:panel:xap.bridges.zimbra.DwtCompositeBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:label:xap.bridges.zimbra.DwtLabelBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:button:xap.bridges.zimbra.DwtButtonBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:tabPane:xap.bridges.zimbra.DwtTabViewBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:tab:xap.bridges.zimbra.DwtTabBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:splitPane:xap.bridges.zimbra.DwtSplitterBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:left:xap.bridges.zimbra.DwtSplitChildBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:right:xap.bridges.zimbra.DwtSplitChildBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:top:xap.bridges.zimbra.DwtSplitChildBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:bottom:xap.bridges.zimbra.DwtSplitChildBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:tree:xap.bridges.zimbra.DwtTreeBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:treeItem:xap.bridges.zimbra.DwtTreeItemBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:textField:xap.bridges.zimbra.DwtTextFieldBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:verticalLayoutPanel:xap.bridges.zimbra.DwtVerticalLayoutPanelBr idge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:horizontalLayoutPanel:xap.bridges.zimbra.DwtHorizontalLayoutPan elBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:textView:xap.bridges.basic.TextViewBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:button:xap.bridges.dojo.DojoButtonBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:contentPane:xap.bridges.dojo.DojoContentPaneBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:floatingPane:xap.bridges.dojo.DojoFloatingPaneBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:generic:xap.bridges.dojo.DojoGenericWidgetBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:layoutPane:xap.bridges.dojo.DojoLayoutPaneBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:gMap:xap.bridges.google.GoogleMapBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:infoWindow:xap.bridges.google.GoogleInfoWindowBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:marker:xap.bridges.google.GoogleMarkerBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:markers:xap.bridges.google.GoogleMarkersBridge] [Debug - Wed Jul 12 2006 11:32:27 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:icons:xap.bridges.google.GoogleIconsBridge] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Add tag mapping:icon:xap.bridges.google.GoogleIconBridge] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): Parse unmapped tags] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): 0 unmapped tags] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (PluginRegistryImpl): lifecycle class = undefined] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (Profiler): Parse plugin.xml[0] took 704ms] [Debug - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (XalNamespaceHandler): receiveDispatch:[object Object]] [Exception - Wed Jul 12 2006 11:32:28 GMT-0400 (Eastern Standard Time) (PluginDocumentHandler): Exception during eval:TypeError: xap.bridges.zimbra.DwtLabelBridge is not a constructor]
________________________________ From: Rob Gagne [mailto:[EMAIL PROTECTED] Sent: Wed 7/12/2006 9:28 AM To: [email protected] Subject: RE: getting started One possible problem is with the file extension of the user interface definition files. For instance the "hello world" app loads index.xal. Running the samples on Apache has no problem; running on IIS requires configuring the "XAL" extension as a mime type, in this case XML. Possibly Jetty has a similar requirement? -----Original Message----- From: Scholten, Dan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:16 AM To: [email protected] Subject: RE: getting started Ok, I looked at the build file and saw that webappsRoot was pointing to the /staging directory, which was created once I ran "build examples". I then set my Jetty server to use the staging folder as its deployment area. I started up the server but when I clicked on the examples, no dynamic content was loaded. The pages were blank for the most part. Are there file associations that I need to somehow link with the with the XAP source? Also, I noticed there was a "build all" which runs the test cases for you. After I set the jsunit-server-properties xml file to use my Firefox browser, I ran the build all command. I received the following error: <testCase name="http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginR egistryImpl.html:testAddPluginDescription <http://localhost:9999/jsunit/testsrc/xap/taghandling/_TestPluginRegist ryImpl.html:testAddPluginDescription> " time="0.016"> <error> Error message is: "TypeError: ConsoleLog.s_logWindow has no properties" There is a stack trace I can post if needed. Did I forget to download something or am I configuring it wrong? Thanks, Dan
