X-application generator and TOMCAT4.0.3

X-Application Version: 3.1.2,
Tamino Version : 3.1.1.4
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 4.0.3
JDK Version : 1.3.1-01

to start the x-application generator please create the needed context information just behind the manager context in the server xml file. if not the call of the xappgen=x-application generator gui will not work.

then i start the generation of a x-application, but the generation process stops just after finishing the DFS and BFS process before starting the XSL process. this can be seen in the tomcat dos box.

question why???

Hi mkh,

unfortunately there’s no output of your Tomcat Dos Box displayed. Please attach it to a new reply.

From your description, a possible reason for your problem may be, that you have installed jaxp.
If you’ve done this please have a look at the limitations chapter section Compatibility Limitations in the documentation. There’s described how to remove a preinstalled jaxp version.

In any case it would be helpfull, if you could add the output of your Tomcat Dos Box.

Thank you for your contribution.

Stefan Schwalm,
Software AG, Darmstadt

Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
Starting service Tomcat-Apache
Apache Tomcat/4.0.3
[GuiServlet] Session isNew(): true
[GuiServlet] No schemaContainer created!
[GuiServlet] ############## attribute values ###############
[GuiServlet] TAMINO_COLLECTION: xapplication312
[GuiServlet] TOMCAT_HOME: d:\tomcat-4.0.3
[GuiServlet] TAMINO_SCHEMA_TEXT:
[GuiServlet] TARGET_DIR: d:\tomcat-4.0.3\webapps
[GuiServlet] TAMINO_URL: http://pcmkh02/tamino/MKH02INODB01
[GuiServlet] MODE:
[GuiServlet] XAPP_HOME: D:\xapplication_312
[GuiServlet] TAMINO_SCHEMA_FILE:
[GuiServlet] TAMINO_SCHEMA:
[GuiServlet] DOCTYPE:
[GuiServlet] ################################################
[GuiServlet] Session isNew(): false
[GuiServlet] No schemaContainer created!
[GuiServlet] ############## attribute values ###############
[GuiServlet] TAMINO_COLLECTION: TEST01
[GuiServlet] genType: generate
[GuiServlet] TOMCAT_HOME: d:\tomcat-4.0.3
[GuiServlet] submitButton: Start Generation
[GuiServlet] TAMINO_SCHEMA_TEXT:
[GuiServlet] TARGET_DIR: d:\tomcat-4.0.3\webapps\customer
[GuiServlet] TAMINO_URL: http://pcmkh02/tamino/MKH02INODB01
[GuiServlet] MODE:
[GuiServlet] USER_ID:
[GuiServlet] XAPP_HOME: D:\xapplication_312
[GuiServlet] TAMINO_SCHEMA_FILE:
[GuiServlet] TAMINO_SCHEMA: CUST_RECORD
[GuiServlet] DOCTYPE: CUST_RECORD
[GuiServlet] PASSWORD: CONFIDENTIAL
[GuiServlet] ################################################
[GuiServlet] Generate target dir: d:\tomcat-4.0.3\webapps\customer
[ConfigContainer] reading d:\tomcat-4.0.3\webapps\customer\config.xml
[ConfigContainer] done reading d:\tomcat-4.0.3\webapps\customer\config.xml
[ConfigContainer] reading d:\tomcat-4.0.3\webapps\customer\WEB-INF\web.xml
[ConfigContainer] done reading d:\tomcat-4.0.3\webapps\customer\WEB-INF\web.xml
[Generator] Initializing Generator!
[Generator] Reading Schema!
[Generator] schemaRootElemName: CUST_RECORD
[Generator] schemaRootElem: [Element: ]
[Generator] Generator creation finished!
[Generator]
[Generator] Performing BFS for browse page…
[Generator]
[Generator] Performing DFS for other pages…
[Generator] Generation finished!

Hi mkh,

Somehow Tomcat 4.0.3 only works properly when Java 1.4 is used. Therefore you have to set the JAVA_HOME environment variable to a Java 1.4 JDK.

Another possibility is to switch to Tomcat 4.0.4, this should run with a 1.3.1 JDK too.

I hope this solves your problem

Stefan Schwalm
Software AG, Darmstadt