In this part of the eLearning about DSP Web Development after downloading the first 2 examples I had no problem executing them before and after making modifications.
In the 2nd 2 examples (Using JavaScript in webtriggers & Dynamically changing HTML Layout) both of them gave an error before even making any changes.
Is it my configuration on U10CE V10,4 or has anyone else had the same experience? I would be most greatful for any help or advice.
------------------------------
Alan Cavilla
Stater N.V.
Amersfoort NL
------------------------------
Hi Alan,
Do you have configured the Tomcat Context (virtual directory) for Web Development. It looks like you are using the default uniface virtual directory. The needed files should be in the same directory.
The docbase for uniface is : Uniface installation's uniface\\webapps\\uniface. If I am correct your docbase directory will be C:\\Program Files (x86)\\Uniface 10 Common Edition\\uniface\\webapps\\uniface. So the files for EL_LOGIN should reside there.
I am using a seperate URL http://localhost:8080/u10learn instead of the default http://localhost:8080/uniface
It is configured in the tomcat-directory\\conf\\Catalina\\localhost\\u10learn.xml file.
The content of this file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Context configuration file for Uniface
-->
<Context docBase="<root of the learning directory>\\web">
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="u10learn" suffix=".log" pattern="common"/>
</Context>
I had looked at the Apache Tomcat documentation. You can find here more details on the use of virtual directories and Tomcat stuff in general.
p.s. I would advise you to use the Uniface User Forum instead of this General Discussion & Announcements forum.
------------------------------
Richard de Vries
Sogeti Nederland B.V.
Deventer NL
------------------------------
In this part of the eLearning about DSP Web Development after downloading the first 2 examples I had no problem executing them before and after making modifications.
In the 2nd 2 examples (Using JavaScript in webtriggers & Dynamically changing HTML Layout) both of them gave an error before even making any changes.
Is it my configuration on U10CE V10,4 or has anyone else had the same experience? I would be most greatful for any help or advice.
------------------------------
Alan Cavilla
Stater N.V.
Amersfoort NL
------------------------------
Hi Alan,
Do you have a copy of the needed files in the correct directory? There is a Tomcat Context (virtual directory) for Web Development. This is the part behind http://localhost:8080/, i.c. uniface. The docbase for these files should be the directory C:\\Program Files\\Rocket Uniface 10 Community Edition\\uniface\\webapps\\uniface. This is configured in the file uniface.xml, which can be found in the directory C:\\Program Files (x86)\\Uniface 10 Community Edition\\common\\tomcat\\conf\\Catalina\\localhost\\.
I have my projects in seperate directories with it own directory structure. When I want to use the webcomponent with in it's web subdirectory I need to have the docbase directed to this specific folder.
I uses the URL http://localhost:8080/u10learn/ as base for the leaening web development. I have a u10learn.xml file, which is configured in my Uniface installation's common\\tomcat\\conf\\Catalina\\localhost\\ directory.
The content of the u10learn.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Context configuration file for Uniface
-->
<Context docBase="<install-dir of learning>\\web">
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="u10learn" suffix=".log" pattern="common"/>
</Context>
In this way Tomcat can find the nessecary components.
You can find more information about this virtual directory topic in the document of Apache Tomcat.
p.s. I would suggest you post these kind of questions in the Rocket Uniface User Forum. The General Discussion & Announcements forum is more for topics unrelated to a Rocket product, such as general news, questions about the forum itself, etc.
------------------------------
Richard de Vries
Sogeti Nederland B.V.
Deventer NL
------------------------------
Hi Alan,
Do you have a copy of the needed files in the correct directory? There is a Tomcat Context (virtual directory) for Web Development. This is the part behind http://localhost:8080/, i.c. uniface. The docbase for these files should be the directory C:\\Program Files\\Rocket Uniface 10 Community Edition\\uniface\\webapps\\uniface. This is configured in the file uniface.xml, which can be found in the directory C:\\Program Files (x86)\\Uniface 10 Community Edition\\common\\tomcat\\conf\\Catalina\\localhost\\.
I have my projects in seperate directories with it own directory structure. When I want to use the webcomponent with in it's web subdirectory I need to have the docbase directed to this specific folder.
I uses the URL http://localhost:8080/u10learn/ as base for the leaening web development. I have a u10learn.xml file, which is configured in my Uniface installation's common\\tomcat\\conf\\Catalina\\localhost\\ directory.
The content of the u10learn.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Context configuration file for Uniface
-->
<Context docBase="<install-dir of learning>\\web">
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="u10learn" suffix=".log" pattern="common"/>
</Context>
In this way Tomcat can find the nessecary components.
You can find more information about this virtual directory topic in the document of Apache Tomcat.
p.s. I would suggest you post these kind of questions in the Rocket Uniface User Forum. The General Discussion & Announcements forum is more for topics unrelated to a Rocket product, such as general news, questions about the forum itself, etc.
------------------------------
Richard de Vries
Sogeti Nederland B.V.
Deventer NL
------------------------------
Hi Richard,
Thank you for your help and I've made the changes you suggested, but sadly still not working for me so I'll keep searching. Version 10.3 installed into directory C:\\Program Files (x86)\\Uniface 10 Community Edition, but version 10.4 installed into directory C:\\Program Files\\Rocket Uniface 10 Community Edition.
Thanks anyway,
Regards,
Alan
------------------------------
Alan Cavilla
Stater N.V.
Amersfoort NL
------------------------------
Hi Richard,
Thank you for your help and I've made the changes you suggested, but sadly still not working for me so I'll keep searching. Version 10.3 installed into directory C:\\Program Files (x86)\\Uniface 10 Community Edition, but version 10.4 installed into directory C:\\Program Files\\Rocket Uniface 10 Community Edition.
Thanks anyway,
Regards,
Alan
------------------------------
Alan Cavilla
Stater N.V.
Amersfoort NL
------------------------------
Hello Alan,
Do you use the correct webserver running? I have got the path from the screenprints. It seems you are running the webserver of the version 10.3 and not the webserver of version 10.4.
The components needs to be available within the directory structure of the webserver or by a virtual directory (docbase).
------------------------------
Richard de Vries
Sogeti Nederland B.V.
Deventer NL
------------------------------
Hi Richard,
Thank you for your help and I've made the changes you suggested, but sadly still not working for me so I'll keep searching. Version 10.3 installed into directory C:\\Program Files (x86)\\Uniface 10 Community Edition, but version 10.4 installed into directory C:\\Program Files\\Rocket Uniface 10 Community Edition.
Thanks anyway,
Regards,
Alan
------------------------------
Alan Cavilla
Stater N.V.
Amersfoort NL
------------------------------
Dag Alan Cavilla, loop komende maandag ff langs op D3 dan leg ik wel uit hoe je een en ander aan de gang kan krijgen in Uniface 10.x Met vriendelijke groet, Dino Seelig
------------------------------
Dino Seelig
CTO
Tcco
Drunen NL
------------------------------