HP Bluestone Total-e-Server

developer notes


How to Get started
Visual XML
HTTP Listener in ULF
FTP Listener in ULF
Restrictions/Bugs/Problems

How to get started

Install Total-e-Server.
Install Maintainance Pack 5. NOTE: The Mp5 fix the problems with GreetingDemo and JSP-EJB Loan Calculator in the TrailMap. However, Mp5 caused other problems on my computer....i would recommend trying out the software without Mp5 to get a feeling for how the software is built up, and then install mp5.
Walk through the TrailMap to get a feeling for what Total-e-Server is.
Read the documentation, do the different examples they have got.
Start creating applications with Visual-XML, thats a way to connect XML-documents to the database and back. Modify the ULF so you can connect to the service in different way.

Visual XML

A good place to get info about visual XML is to search in the documentation for "Bluestone Visual XML Simple Tutorial". Walking through there you will create some basic applications.
Visual XML is having some annoying habits: So, if you create a project and you realized "oh, blamey, the default value should really be 1 instead of 2", you cant simply load the project and change the 1 to a 2, instead you have to redo the whole procedure.
Before you run away and start fooling around with Visual XML and re-doing the projects loads of times because of small changes, there is one solution: Load the projectfile into a text-editor.
The projectfiles are located in v-xml/Workspaces/Generated/<ProjName>/<ProjName>.pjx

XSL with Visual XML

If your .xsl file is not applied to your output when you are running the applications you created in Vxml on the UBS, make sure that you have added "file_path" in your c:\TeS\config\apserver.txt.
"file_path" should point to the directory where you have jsp-files, html-files and xsl-files, for example:

Problems with choosing Data Source in Data Publish Wizard (Visual XML)

If you can't open the examples that comes with bluestone, because the publishing wizard cant connect to the database, try this (probably depends on which version you have of MS Access):

HTTP Listener in ULF

If you want to use a form on a webpage to pass information to the ULF, make sure the datafield you want to pass is named "SaDoc" (case-sensitive). If for example the data you want to pass along is in a textarea, the name of the textarea should be "SaDoc".
This detail is not mentioned in the documentation, so if the UBS complains with SaXmlApp: SaGetXmlDoc: Errors Parsing document!!, check that the formfield has got the proper name and you will save yourself from going nuts trying to find info about the problem in the documentation.

FTP Listener in ULF

The FTP-listener does not support passive ftp, make sure you have disabled passive ftp in your ftpprogram when accessing the ULF. Once again, that is not mentioned in the documentation.

Restrictions/Bugs/Problems with Bluestone

Error message received when running Simple Example (and purchase tutorial?) in Visual XML

 This message is received when I put up an email listener for Simple Example,
 What it means is simply that it complains that I try to insert the same entry twice in the table.
 
 <?xml version="1.0" encoding="ISO-8859-2"?>
 <Author>
 <AuthorID>172-32-1176</AuthorID>
 <LastName>White</LastName>
 <FirstName>Johnson</FirstName>
 <Phone>408 496-7223</Phone>
 <Address>10932 Bigge Rd.</Address>
 <City>Menlo Park</City>
 <State>CA</State>
 <Country>USA</Country>
 <ZIP>94025     </ZIP>
 </Author>
 <errors>
 <error type='0' major='0' minor='0' state='0' line='0'>
 TableDriver: SQLException in PreparedStatement.executeUpdate
 while processing index '0' of '1'!!</error>
 <error type='0' major='0' minor='0' state='0' line='0'>SQLException(s) thrown!!
 Error Code:0
 SQL State :S1000
 Message   :General error
 </error>
 </errors>
 

More programming related pages

Workflow: Release process
Workflow: Bug tracking
Design Patterns
Git & Github
CVS
CVS backup script
Distribution process
Installation script
Java Server Faces
Facelets
jibx
jBoss
jBpm
Perl tips
Perl links
PostgreSQL
Python / py2app
Shell scripts
Xslt
Node.js
Facebook / Opengraph
PHP developer notes
Website optimization
jqTableKit demo
Javascript / html / css links