You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by Reinhard Hnat <hn...@logotronic.co.at> on 2011/07/11 10:54:27 UTC

Form no longer displayed

I am developing a web-application using Eclipse and Apache click 
deploing it with a Tomcat 6.6. Everything went fine until i inserted a 
line to an htm file and deleted it immediately afterwards. Since then i 
get the following output to the browser instead of my form:

/$headElements $form $jsElements
/
What could be broken? I am searching for the problem but can not find 
any cause.

Please give me some hints where to search for the problem.

Thanks
Reinhard


Re: Form no longer displayed

Posted by "Hans C. Poo" <ha...@welinux.cl>.
Reinhard,

I've experimented this with eclipse, i recommend to delete the server an re-create it again:
- Select the Server view (Tab) and make active the server you are using, then right click on it an select Delete.

Sometimes when you run tomcat from inside eclipse, eclipse us unable to stop it, i use the next command:

kill -KILL `ps -fea | grep -vw $$ | awk '/tomcat/ {print $2}'`

Bye
Hans

----- Mensaje original -----
De: "Reinhard Hnat" <hn...@logotronic.co.at>
Para: user@click.apache.org
Enviados: Viernes, 15 de Julio 2011 4:07:29
Asunto: Re: Form no longer displayed

I explicitely kill all tomcat processes before starting with eclipse. 
the select htm becomes displayed as if it was static html. The class 
select.class becomes never instanciated. I have tried to export my 
project t a WAR-file and deployed it on another server. This worked 
without problems.

Reinhard


Am 2011-07-12 11:42, schrieb Bob Schellink:
> java.net.BindException: Address already in use
>
> means you already have an instance of TC running. Shut down the old
> version first.
>
> Bob
>
> On Tue, Jul 12, 2011 at 10:52 AM, Reinhard Hnat<hn...@logotronic.co.at>  wrote:
>> Do exist whiches only because brooms exist?? Sometimes i believe so.
>>
>> I renamed the deploy directory from
>> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/GealogForWeb
>> to
>> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/GealogForWeb
>>
>> and now i get new logfiles. catalina.2011-07-12.log shows the following:
>>
>> 12.07.2011 10:32:43 org.apache.catalina.core.AprLifecycleListener init
>> INFO: The APR based Apache Tomcat Native library which allows optimal
>> performance in production environments was not found on the
>> java.library.path:
>> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
>> 12.07.2011 10:32:44 org.apache.coyote.http11.Http11Protocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8081
>> 12.07.2011 10:32:44 org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1231 ms
>> 12.07.2011 10:32:44 org.apache.catalina.core.StandardService start
>> INFO: Starting service Catalina
>> 12.07.2011 10:32:44 org.apache.catalina.core.StandardEngine start
>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
>> 12.07.2011 10:32:44 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor examples.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor ROOT.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor docs.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor host-manager.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor manager.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory GealogWeb
>> 12.07.2011 10:32:47 org.apache.coyote.http11.Http11Protocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8081
>> 12.07.2011 10:32:47 org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 3087 ms
>> 12.07.2011 10:32:47 org.apache.catalina.core.StandardServer await
>> SCHWERWIEGEND: StandardServer.await: create[8005]:
>> java.net.BindException: Address already in use
>>      at java.net.PlainSocketImpl.socketBind(Native Method)
>>      at
>> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
>>      at java.net.ServerSocket.bind(ServerSocket.java:336)
>>      at java.net.ServerSocket.<init>(ServerSocket.java:202)
>>      at
>> org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>>      at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
>>      at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      at java.lang.reflect.Method.invoke(Method.java:616)
>>      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>
>> I am confused!!
>>
>> Reinhard
>>
>>
>>
>>
>> Am 2011-07-12 09:55, schrieb Bob Schellink:
>>
>> And if you restart tomcat you still don't get a log file? I suggest
>> you get the log files working first, otherwise you won't receive any
>> debug information.
>>
>> regards
>>
>> Bob
>>
>> On Tue, Jul 12, 2011 at 9:52 AM, Bob Schellink<sa...@gmail.com>  wrote:
>>
>> Are you using custom Click services or just vanilla Click?
>>
>> Is login.htm the template that does not render the form?
>>
>> Things to check:
>> - Is the form added to the page through addControl(form)?
>> - is methods of Page being overridden such as addControl or addModel?
>> Does the BorderTemplate override Page methods?
>>
>> regards
>>
>> Bob
>>
>>
>> On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat<hn...@logotronic.co.at>
>> wrote:
>>
>> This is what catalina.out says (All other log-files are gone, i do not know
>> why.
>>
>> [Click] [debug] GET http://localhost:8080/GealogWeb/
>> [Click] [trace]    is Ajax request: false
>> [Click] [trace]    invoked: Login.<<init>>
>> [Click] [trace]    invoked: Login.onSecurityCheck() : true
>> [Click] [trace]    invoked: Login.onInit()
>> [Click] [trace]    invoked: Login.onGet()
>> [Click] [trace]    invoked: Login.onRender()
>> [Click] [info ]    renderTemplate: /login.htm - 4 ms
>> [Click] [trace]    invoked: Login.onDestroy()
>> [Click] [info ] handleRequest:  /login.htm - 6 ms
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/manager]
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context []
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/GealogWeb]
>> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
>> [Click] [info ] initialized LogService:
>> org.apache.click.service.ConsoleLogService
>> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [trace] deployed files from jars and folders - 364 ms
>> [Click] [debug] click.xml pages:
>> [Click] [debug] /login.htm ->  Rootpack.Login
>> [Click] [debug] /user/select.htm ->  Rootpack.Select
>> [Click] [debug] /user/graphik.htm ->  Rootpack.Graphik
>> [Click] [debug] /user/tabelle.htm ->  Rootpack.Tabelle
>> [Click] [debug] automapped pages:
>> [Click] [debug] /click/error.htm ->  CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.Error
>> [Click] [debug] /click/not-found.htm ->  CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.NotFound
>> [Click] [debug] initializing FileLoadService:
>> org.apache.click.service.CommonsFileUploadService
>> [Click] [debug] initializing TemplateService:
>> org.apache.click.service.VelocityTemplateService
>> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
>> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
>> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
>> resource.loader=webapp, class,
>> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
>> velocimacro.library=/click/VM_global_library.vm,
>> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
>> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
>> [Click] [debug] initializing ResourceService:
>> org.apache.click.service.ClickResourceService
>> [Click] [debug] initializing MessagesMapService:
>> org.apache.click.service.DefaultMessagesMapService
>> [Click] [info ] Click 2.3.0 initialized in trace mode
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/docs]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/examples]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/host-manager]
>>
>> Reinhard
>>
>>
>> Am 2011-07-12 06:56, schrieb Bob Schellink:
>>
>> Hi Reinhard,
>>
>> Sounds like the template is not processed by Click. What URL are using and
>> what does the log say?
>>
>> regards
>>
>> Bob
>>
>> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>>
>> I am developing a web-application using Eclipse and Apache click deploing
>> it with a Tomcat 6.6.
>> Everything went fine until i inserted a line to an htm file and deleted
>> it immediately afterwards.
>> Since then i get the following output to the browser instead of my form:
>>
>> /$headElements $form $jsElements
>> /
>> What could be broken? I am searching for the problem but can not find any
>> cause.
>>
>> Please give me some hints where to search for the problem.
>>
>> Thanks
>> Reinhard
>>
>>

Re: Form no longer displayed

Posted by Reinhard Hnat <hn...@logotronic.co.at>.
I explicitely kill all tomcat processes before starting with eclipse. 
the select htm becomes displayed as if it was static html. The class 
select.class becomes never instanciated. I have tried to export my 
project t a WAR-file and deployed it on another server. This worked 
without problems.

Reinhard


Am 2011-07-12 11:42, schrieb Bob Schellink:
> java.net.BindException: Address already in use
>
> means you already have an instance of TC running. Shut down the old
> version first.
>
> Bob
>
> On Tue, Jul 12, 2011 at 10:52 AM, Reinhard Hnat<hn...@logotronic.co.at>  wrote:
>> Do exist whiches only because brooms exist?? Sometimes i believe so.
>>
>> I renamed the deploy directory from
>> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/GealogForWeb
>> to
>> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/GealogForWeb
>>
>> and now i get new logfiles. catalina.2011-07-12.log shows the following:
>>
>> 12.07.2011 10:32:43 org.apache.catalina.core.AprLifecycleListener init
>> INFO: The APR based Apache Tomcat Native library which allows optimal
>> performance in production environments was not found on the
>> java.library.path:
>> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
>> 12.07.2011 10:32:44 org.apache.coyote.http11.Http11Protocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8081
>> 12.07.2011 10:32:44 org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1231 ms
>> 12.07.2011 10:32:44 org.apache.catalina.core.StandardService start
>> INFO: Starting service Catalina
>> 12.07.2011 10:32:44 org.apache.catalina.core.StandardEngine start
>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
>> 12.07.2011 10:32:44 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor examples.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor ROOT.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor docs.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor host-manager.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
>> INFO: Deploying configuration descriptor manager.xml
>> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory GealogWeb
>> 12.07.2011 10:32:47 org.apache.coyote.http11.Http11Protocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8081
>> 12.07.2011 10:32:47 org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 3087 ms
>> 12.07.2011 10:32:47 org.apache.catalina.core.StandardServer await
>> SCHWERWIEGEND: StandardServer.await: create[8005]:
>> java.net.BindException: Address already in use
>>      at java.net.PlainSocketImpl.socketBind(Native Method)
>>      at
>> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
>>      at java.net.ServerSocket.bind(ServerSocket.java:336)
>>      at java.net.ServerSocket.<init>(ServerSocket.java:202)
>>      at
>> org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>>      at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
>>      at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      at java.lang.reflect.Method.invoke(Method.java:616)
>>      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>>
>> I am confused!!
>>
>> Reinhard
>>
>>
>>
>>
>> Am 2011-07-12 09:55, schrieb Bob Schellink:
>>
>> And if you restart tomcat you still don't get a log file? I suggest
>> you get the log files working first, otherwise you won't receive any
>> debug information.
>>
>> regards
>>
>> Bob
>>
>> On Tue, Jul 12, 2011 at 9:52 AM, Bob Schellink<sa...@gmail.com>  wrote:
>>
>> Are you using custom Click services or just vanilla Click?
>>
>> Is login.htm the template that does not render the form?
>>
>> Things to check:
>> - Is the form added to the page through addControl(form)?
>> - is methods of Page being overridden such as addControl or addModel?
>> Does the BorderTemplate override Page methods?
>>
>> regards
>>
>> Bob
>>
>>
>> On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat<hn...@logotronic.co.at>
>> wrote:
>>
>> This is what catalina.out says (All other log-files are gone, i do not know
>> why.
>>
>> [Click] [debug] GET http://localhost:8080/GealogWeb/
>> [Click] [trace]    is Ajax request: false
>> [Click] [trace]    invoked: Login.<<init>>
>> [Click] [trace]    invoked: Login.onSecurityCheck() : true
>> [Click] [trace]    invoked: Login.onInit()
>> [Click] [trace]    invoked: Login.onGet()
>> [Click] [trace]    invoked: Login.onRender()
>> [Click] [info ]    renderTemplate: /login.htm - 4 ms
>> [Click] [trace]    invoked: Login.onDestroy()
>> [Click] [info ] handleRequest:  /login.htm - 6 ms
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/manager]
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context []
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/GealogWeb]
>> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
>> [Click] [info ] initialized LogService:
>> org.apache.click.service.ConsoleLogService
>> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [trace] deployed files from jars and folders - 364 ms
>> [Click] [debug] click.xml pages:
>> [Click] [debug] /login.htm ->  Rootpack.Login
>> [Click] [debug] /user/select.htm ->  Rootpack.Select
>> [Click] [debug] /user/graphik.htm ->  Rootpack.Graphik
>> [Click] [debug] /user/tabelle.htm ->  Rootpack.Tabelle
>> [Click] [debug] automapped pages:
>> [Click] [debug] /click/error.htm ->  CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.Error
>> [Click] [debug] /click/not-found.htm ->  CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.NotFound
>> [Click] [debug] initializing FileLoadService:
>> org.apache.click.service.CommonsFileUploadService
>> [Click] [debug] initializing TemplateService:
>> org.apache.click.service.VelocityTemplateService
>> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
>> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
>> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
>> resource.loader=webapp, class,
>> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
>> velocimacro.library=/click/VM_global_library.vm,
>> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
>> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
>> [Click] [debug] initializing ResourceService:
>> org.apache.click.service.ClickResourceService
>> [Click] [debug] initializing MessagesMapService:
>> org.apache.click.service.DefaultMessagesMapService
>> [Click] [info ] Click 2.3.0 initialized in trace mode
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/docs]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/examples]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/host-manager]
>>
>> Reinhard
>>
>>
>> Am 2011-07-12 06:56, schrieb Bob Schellink:
>>
>> Hi Reinhard,
>>
>> Sounds like the template is not processed by Click. What URL are using and
>> what does the log say?
>>
>> regards
>>
>> Bob
>>
>> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>>
>> I am developing a web-application using Eclipse and Apache click deploing
>> it with a Tomcat 6.6.
>> Everything went fine until i inserted a line to an htm file and deleted
>> it immediately afterwards.
>> Since then i get the following output to the browser instead of my form:
>>
>> /$headElements $form $jsElements
>> /
>> What could be broken? I am searching for the problem but can not find any
>> cause.
>>
>> Please give me some hints where to search for the problem.
>>
>> Thanks
>> Reinhard
>>
>>

Re: Form no longer displayed

Posted by Bob Schellink <sa...@gmail.com>.
java.net.BindException: Address already in use

means you already have an instance of TC running. Shut down the old
version first.

Bob

On Tue, Jul 12, 2011 at 10:52 AM, Reinhard Hnat <hn...@logotronic.co.at> wrote:
> Do exist whiches only because brooms exist?? Sometimes i believe so.
>
> I renamed the deploy directory from
> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/GealogForWeb
> to
> /home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/GealogForWeb
>
> and now i get new logfiles. catalina.2011-07-12.log shows the following:
>
> 12.07.2011 10:32:43 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
> 12.07.2011 10:32:44 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8081
> 12.07.2011 10:32:44 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1231 ms
> 12.07.2011 10:32:44 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 12.07.2011 10:32:44 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
> 12.07.2011 10:32:44 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor examples.xml
> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor ROOT.xml
> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor docs.xml
> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor host-manager.xml
> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor manager.xml
> 12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory GealogWeb
> 12.07.2011 10:32:47 org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8081
> 12.07.2011 10:32:47 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3087 ms
> 12.07.2011 10:32:47 org.apache.catalina.core.StandardServer await
> SCHWERWIEGEND: StandardServer.await: create[8005]:
> java.net.BindException: Address already in use
>     at java.net.PlainSocketImpl.socketBind(Native Method)
>     at
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
>     at java.net.ServerSocket.bind(ServerSocket.java:336)
>     at java.net.ServerSocket.<init>(ServerSocket.java:202)
>     at
> org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>     at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
> I am confused!!
>
> Reinhard
>
>
>
>
> Am 2011-07-12 09:55, schrieb Bob Schellink:
>
> And if you restart tomcat you still don't get a log file? I suggest
> you get the log files working first, otherwise you won't receive any
> debug information.
>
> regards
>
> Bob
>
> On Tue, Jul 12, 2011 at 9:52 AM, Bob Schellink <sa...@gmail.com> wrote:
>
> Are you using custom Click services or just vanilla Click?
>
> Is login.htm the template that does not render the form?
>
> Things to check:
> - Is the form added to the page through addControl(form)?
> - is methods of Page being overridden such as addControl or addModel?
> Does the BorderTemplate override Page methods?
>
> regards
>
> Bob
>
>
> On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat <hn...@logotronic.co.at>
> wrote:
>
> This is what catalina.out says (All other log-files are gone, i do not know
> why.
>
> [Click] [debug] GET http://localhost:8080/GealogWeb/
> [Click] [trace]    is Ajax request: false
> [Click] [trace]    invoked: Login.<<init>>
> [Click] [trace]    invoked: Login.onSecurityCheck() : true
> [Click] [trace]    invoked: Login.onInit()
> [Click] [trace]    invoked: Login.onGet()
> [Click] [trace]    invoked: Login.onRender()
> [Click] [info ]    renderTemplate: /login.htm - 4 ms
> [Click] [trace]    invoked: Login.onDestroy()
> [Click] [info ] handleRequest:  /login.htm - 6 ms
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/manager]
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context []
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/GealogWeb]
> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
> [Click] [info ] initialized LogService:
> org.apache.click.service.ConsoleLogService
> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
> [Click] [trace] deployed files from jars and folders - 364 ms
> [Click] [debug] click.xml pages:
> [Click] [debug] /login.htm -> Rootpack.Login
> [Click] [debug] /user/select.htm -> Rootpack.Select
> [Click] [debug] /user/graphik.htm -> Rootpack.Graphik
> [Click] [debug] /user/tabelle.htm -> Rootpack.Tabelle
> [Click] [debug] automapped pages:
> [Click] [debug] /click/error.htm -> CLASS NOT FOUND
> [Click] [trace] class not found: Rootpack.click.Error
> [Click] [debug] /click/not-found.htm -> CLASS NOT FOUND
> [Click] [trace] class not found: Rootpack.click.NotFound
> [Click] [debug] initializing FileLoadService:
> org.apache.click.service.CommonsFileUploadService
> [Click] [debug] initializing TemplateService:
> org.apache.click.service.VelocityTemplateService
> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
> resource.loader=webapp, class,
> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
> velocimacro.library=/click/VM_global_library.vm,
> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
> [Click] [debug] initializing ResourceService:
> org.apache.click.service.ClickResourceService
> [Click] [debug] initializing MessagesMapService:
> org.apache.click.service.DefaultMessagesMapService
> [Click] [info ] Click 2.3.0 initialized in trace mode
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/docs]
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/examples]
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/host-manager]
>
> Reinhard
>
>
> Am 2011-07-12 06:56, schrieb Bob Schellink:
>
> Hi Reinhard,
>
> Sounds like the template is not processed by Click. What URL are using and
> what does the log say?
>
> regards
>
> Bob
>
> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>
> I am developing a web-application using Eclipse and Apache click deploing
> it with a Tomcat 6.6.
> Everything went fine until i inserted a line to an htm file and deleted
> it immediately afterwards.
> Since then i get the following output to the browser instead of my form:
>
> /$headElements $form $jsElements
> /
> What could be broken? I am searching for the problem but can not find any
> cause.
>
> Please give me some hints where to search for the problem.
>
> Thanks
> Reinhard
>
>

Re: Form no longer displayed

Posted by Reinhard Hnat <hn...@logotronic.co.at>.
Do exist whiches only because brooms exist?? Sometimes i believe so.

I renamed the deploy directory from 
/home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/_wtpwebapps_/GealogForWeb 
to
/home/hnat/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/_webapps_/GealogForWeb

and now i get new logfiles. catalina.2011-07-12.log shows the following:

12.07.2011 10:32:43 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the 
java.library.path: 
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
12.07.2011 10:32:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
12.07.2011 10:32:44 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1231 ms
12.07.2011 10:32:44 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12.07.2011 10:32:44 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
12.07.2011 10:32:44 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor examples.xml
12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor docs.xml
12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
12.07.2011 10:32:45 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory GealogWeb
12.07.2011 10:32:47 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
12.07.2011 10:32:47 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3087 ms
12.07.2011 10:32:47 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
     at java.net.PlainSocketImpl.socketBind(Native Method)
     at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
     at java.net.ServerSocket.bind(ServerSocket.java:336)
     at java.net.ServerSocket.<init>(ServerSocket.java:202)
     at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
     at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

I am confused!!

Reinhard




Am 2011-07-12 09:55, schrieb Bob Schellink:
> And if you restart tomcat you still don't get a log file? I suggest
> you get the log files working first, otherwise you won't receive any
> debug information.
>
> regards
>
> Bob
>
> On Tue, Jul 12, 2011 at 9:52 AM, Bob Schellink<sa...@gmail.com>  wrote:
>> Are you using custom Click services or just vanilla Click?
>>
>> Is login.htm the template that does not render the form?
>>
>> Things to check:
>> - Is the form added to the page through addControl(form)?
>> - is methods of Page being overridden such as addControl or addModel?
>> Does the BorderTemplate override Page methods?
>>
>> regards
>>
>> Bob
>>
>>
>> On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat<hn...@logotronic.co.at>  wrote:
>>> This is what catalina.out says (All other log-files are gone, i do not know
>>> why.
>>>
>>> [Click] [debug] GET http://localhost:8080/GealogWeb/
>>> [Click] [trace]    is Ajax request: false
>>> [Click] [trace]    invoked: Login.<<init>>
>>> [Click] [trace]    invoked: Login.onSecurityCheck() : true
>>> [Click] [trace]    invoked: Login.onInit()
>>> [Click] [trace]    invoked: Login.onGet()
>>> [Click] [trace]    invoked: Login.onRender()
>>> [Click] [info ]    renderTemplate: /login.htm - 4 ms
>>> [Click] [trace]    invoked: Login.onDestroy()
>>> [Click] [info ] handleRequest:  /login.htm - 6 ms
>>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context [/manager]
>>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context []
>>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context [/GealogWeb]
>>> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
>>> [Click] [info ] initialized LogService:
>>> org.apache.click.service.ConsoleLogService
>>> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
>>> [Click] [debug] listing classes in
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] find jar url:
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] inner url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] extracted jar url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>>> [Click] [info ] found jar:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>>> [Click] [debug] listing classes in
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>>> [Click] [trace] find jar url:
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>>> [Click] [trace] inner url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>>> [Click] [trace] extracted jar url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>>> [Click] [info ] found jar:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>>> [Click] [debug] listing classes in
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>>> [Click] [trace] find jar url:
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>>> [Click] [trace] inner url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>>> [Click] [trace] extracted jar url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>>> [Click] [info ] found jar:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>>> [Click] [debug] listing classes in
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] find jar url:
>>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] inner url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>>> [Click] [trace] extracted jar url:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>>> [Click] [info ] found jar:
>>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>>> [Click] [trace] deployed files from jars and folders - 364 ms
>>> [Click] [debug] click.xml pages:
>>> [Click] [debug] /login.htm ->  Rootpack.Login
>>> [Click] [debug] /user/select.htm ->  Rootpack.Select
>>> [Click] [debug] /user/graphik.htm ->  Rootpack.Graphik
>>> [Click] [debug] /user/tabelle.htm ->  Rootpack.Tabelle
>>> [Click] [debug] automapped pages:
>>> [Click] [debug] /click/error.htm ->  CLASS NOT FOUND
>>> [Click] [trace] class not found: Rootpack.click.Error
>>> [Click] [debug] /click/not-found.htm ->  CLASS NOT FOUND
>>> [Click] [trace] class not found: Rootpack.click.NotFound
>>> [Click] [debug] initializing FileLoadService:
>>> org.apache.click.service.CommonsFileUploadService
>>> [Click] [debug] initializing TemplateService:
>>> org.apache.click.service.VelocityTemplateService
>>> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
>>> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
>>> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
>>> resource.loader=webapp, class,
>>> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
>>> velocimacro.library=/click/VM_global_library.vm,
>>> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
>>> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
>>> [Click] [debug] initializing ResourceService:
>>> org.apache.click.service.ClickResourceService
>>> [Click] [debug] initializing MessagesMapService:
>>> org.apache.click.service.DefaultMessagesMapService
>>> [Click] [info ] Click 2.3.0 initialized in trace mode
>>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context [/docs]
>>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context [/examples]
>>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>>> INFO: Reloading context [/host-manager]
>>>
>>> Reinhard
>>>
>>>
>>> Am 2011-07-12 06:56, schrieb Bob Schellink:
>>>> Hi Reinhard,
>>>>
>>>> Sounds like the template is not processed by Click. What URL are using and
>>>> what does the log say?
>>>>
>>>> regards
>>>>
>>>> Bob
>>>>
>>>> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>>>>> I am developing a web-application using Eclipse and Apache click deploing
>>>>> it with a Tomcat 6.6.
>>>>> Everything went fine until i inserted a line to an htm file and deleted
>>>>> it immediately afterwards.
>>>>> Since then i get the following output to the browser instead of my form:
>>>>>
>>>>> /$headElements $form $jsElements
>>>>> /
>>>>> What could be broken? I am searching for the problem but can not find any
>>>>> cause.
>>>>>
>>>>> Please give me some hints where to search for the problem.
>>>>>
>>>>> Thanks
>>>>> Reinhard
>>>>>

Re: Form no longer displayed

Posted by Bob Schellink <sa...@gmail.com>.
And if you restart tomcat you still don't get a log file? I suggest
you get the log files working first, otherwise you won't receive any
debug information.

regards

Bob

On Tue, Jul 12, 2011 at 9:52 AM, Bob Schellink <sa...@gmail.com> wrote:
> Are you using custom Click services or just vanilla Click?
>
> Is login.htm the template that does not render the form?
>
> Things to check:
> - Is the form added to the page through addControl(form)?
> - is methods of Page being overridden such as addControl or addModel?
> Does the BorderTemplate override Page methods?
>
> regards
>
> Bob
>
>
> On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat <hn...@logotronic.co.at> wrote:
>> This is what catalina.out says (All other log-files are gone, i do not know
>> why.
>>
>> [Click] [debug] GET http://localhost:8080/GealogWeb/
>> [Click] [trace]    is Ajax request: false
>> [Click] [trace]    invoked: Login.<<init>>
>> [Click] [trace]    invoked: Login.onSecurityCheck() : true
>> [Click] [trace]    invoked: Login.onInit()
>> [Click] [trace]    invoked: Login.onGet()
>> [Click] [trace]    invoked: Login.onRender()
>> [Click] [info ]    renderTemplate: /login.htm - 4 ms
>> [Click] [trace]    invoked: Login.onDestroy()
>> [Click] [info ] handleRequest:  /login.htm - 6 ms
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/manager]
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context []
>> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/GealogWeb]
>> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
>> [Click] [info ] initialized LogService:
>> org.apache.click.service.ConsoleLogService
>> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
>> [Click] [debug] listing classes in
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] find jar url:
>> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] inner url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
>> [Click] [trace] extracted jar url:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [info ] found jar:
>> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
>> [Click] [trace] deployed files from jars and folders - 364 ms
>> [Click] [debug] click.xml pages:
>> [Click] [debug] /login.htm -> Rootpack.Login
>> [Click] [debug] /user/select.htm -> Rootpack.Select
>> [Click] [debug] /user/graphik.htm -> Rootpack.Graphik
>> [Click] [debug] /user/tabelle.htm -> Rootpack.Tabelle
>> [Click] [debug] automapped pages:
>> [Click] [debug] /click/error.htm -> CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.Error
>> [Click] [debug] /click/not-found.htm -> CLASS NOT FOUND
>> [Click] [trace] class not found: Rootpack.click.NotFound
>> [Click] [debug] initializing FileLoadService:
>> org.apache.click.service.CommonsFileUploadService
>> [Click] [debug] initializing TemplateService:
>> org.apache.click.service.VelocityTemplateService
>> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
>> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
>> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
>> resource.loader=webapp, class,
>> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
>> velocimacro.library=/click/VM_global_library.vm,
>> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
>> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
>> [Click] [debug] initializing ResourceService:
>> org.apache.click.service.ClickResourceService
>> [Click] [debug] initializing MessagesMapService:
>> org.apache.click.service.DefaultMessagesMapService
>> [Click] [info ] Click 2.3.0 initialized in trace mode
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/docs]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/examples]
>> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
>> INFO: Reloading context [/host-manager]
>>
>> Reinhard
>>
>>
>> Am 2011-07-12 06:56, schrieb Bob Schellink:
>>>
>>> Hi Reinhard,
>>>
>>> Sounds like the template is not processed by Click. What URL are using and
>>> what does the log say?
>>>
>>> regards
>>>
>>> Bob
>>>
>>> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>>>>
>>>> I am developing a web-application using Eclipse and Apache click deploing
>>>> it with a Tomcat 6.6.
>>>> Everything went fine until i inserted a line to an htm file and deleted
>>>> it immediately afterwards.
>>>> Since then i get the following output to the browser instead of my form:
>>>>
>>>> /$headElements $form $jsElements
>>>> /
>>>> What could be broken? I am searching for the problem but can not find any
>>>> cause.
>>>>
>>>> Please give me some hints where to search for the problem.
>>>>
>>>> Thanks
>>>> Reinhard
>>>>
>>>
>>
>

Re: Form no longer displayed

Posted by Bob Schellink <sa...@gmail.com>.
Are you using custom Click services or just vanilla Click?

Is login.htm the template that does not render the form?

Things to check:
- Is the form added to the page through addControl(form)?
- is methods of Page being overridden such as addControl or addModel?
Does the BorderTemplate override Page methods?

regards

Bob


On Tue, Jul 12, 2011 at 9:40 AM, Reinhard Hnat <hn...@logotronic.co.at> wrote:
> This is what catalina.out says (All other log-files are gone, i do not know
> why.
>
> [Click] [debug] GET http://localhost:8080/GealogWeb/
> [Click] [trace]    is Ajax request: false
> [Click] [trace]    invoked: Login.<<init>>
> [Click] [trace]    invoked: Login.onSecurityCheck() : true
> [Click] [trace]    invoked: Login.onInit()
> [Click] [trace]    invoked: Login.onGet()
> [Click] [trace]    invoked: Login.onRender()
> [Click] [info ]    renderTemplate: /login.htm - 4 ms
> [Click] [trace]    invoked: Login.onDestroy()
> [Click] [info ] handleRequest:  /login.htm - 6 ms
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/manager]
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context []
> 17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/GealogWeb]
> [Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
> [Click] [info ] initialized LogService:
> org.apache.click.service.ConsoleLogService
> [Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
> [Click] [debug] listing classes in
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] find jar url:
> jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] inner url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
> [Click] [trace] extracted jar url:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
> [Click] [info ] found jar:
> file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
> [Click] [trace] deployed files from jars and folders - 364 ms
> [Click] [debug] click.xml pages:
> [Click] [debug] /login.htm -> Rootpack.Login
> [Click] [debug] /user/select.htm -> Rootpack.Select
> [Click] [debug] /user/graphik.htm -> Rootpack.Graphik
> [Click] [debug] /user/tabelle.htm -> Rootpack.Tabelle
> [Click] [debug] automapped pages:
> [Click] [debug] /click/error.htm -> CLASS NOT FOUND
> [Click] [trace] class not found: Rootpack.click.Error
> [Click] [debug] /click/not-found.htm -> CLASS NOT FOUND
> [Click] [trace] class not found: Rootpack.click.NotFound
> [Click] [debug] initializing FileLoadService:
> org.apache.click.service.CommonsFileUploadService
> [Click] [debug] initializing TemplateService:
> org.apache.click.service.VelocityTemplateService
> [Click] [trace] velocity properties: {class.resource.loader.cache=false,
> class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader,
> directive.if.tostring.nullcheck=false, input.encoding=UTF-8,
> resource.loader=webapp, class,
> runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter,
> velocimacro.library=/click/VM_global_library.vm,
> velocimacro.library.autoreload=true, webapp.resource.loader.cache=false,
> webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
> [Click] [debug] initializing ResourceService:
> org.apache.click.service.ClickResourceService
> [Click] [debug] initializing MessagesMapService:
> org.apache.click.service.DefaultMessagesMapService
> [Click] [info ] Click 2.3.0 initialized in trace mode
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/docs]
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/examples]
> 17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
> INFO: Reloading context [/host-manager]
>
> Reinhard
>
>
> Am 2011-07-12 06:56, schrieb Bob Schellink:
>>
>> Hi Reinhard,
>>
>> Sounds like the template is not processed by Click. What URL are using and
>> what does the log say?
>>
>> regards
>>
>> Bob
>>
>> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>>>
>>> I am developing a web-application using Eclipse and Apache click deploing
>>> it with a Tomcat 6.6.
>>> Everything went fine until i inserted a line to an htm file and deleted
>>> it immediately afterwards.
>>> Since then i get the following output to the browser instead of my form:
>>>
>>> /$headElements $form $jsElements
>>> /
>>> What could be broken? I am searching for the problem but can not find any
>>> cause.
>>>
>>> Please give me some hints where to search for the problem.
>>>
>>> Thanks
>>> Reinhard
>>>
>>
>

Re: Form no longer displayed

Posted by Reinhard Hnat <hn...@logotronic.co.at>.
This is what catalina.out says (All other log-files are gone, i do not 
know why.

[Click] [debug] GET http://localhost:8080/GealogWeb/
[Click] [trace]    is Ajax request: false
[Click] [trace]    invoked: Login.<<init>>
[Click] [trace]    invoked: Login.onSecurityCheck() : true
[Click] [trace]    invoked: Login.onInit()
[Click] [trace]    invoked: Login.onGet()
[Click] [trace]    invoked: Login.onRender()
[Click] [info ]    renderTemplate: /login.htm - 4 ms
[Click] [trace]    invoked: Login.onDestroy()
[Click] [info ] handleRequest:  /login.htm - 6 ms
17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/manager]
17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context []
17.06.2011 10:29:32 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/GealogWeb]
[Click] [info ] ***  Initializing Click 2.3.0 in trace mode  ***
[Click] [info ] initialized LogService: 
org.apache.click.service.ConsoleLogService
[Click] [trace] resource deploy folder: /var/lib/tomcat6/webapps/GealogWeb/
[Click] [debug] listing classes in 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
[Click] [trace] find jar url: 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
[Click] [trace] inner url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar!/META-INF/resources
[Click] [trace] extracted jar url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
[Click] [info ] found jar: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-2.2.0.jar
[Click] [debug] listing classes in 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
[Click] [trace] find jar url: 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
[Click] [trace] inner url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar!/META-INF/resources
[Click] [trace] extracted jar url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
[Click] [info ] found jar: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.2.0.jar
[Click] [debug] listing classes in 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
[Click] [trace] find jar url: 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
[Click] [trace] inner url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar!/META-INF/resources
[Click] [trace] extracted jar url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
[Click] [info ] found jar: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-calendar-1.3.0.jar
[Click] [debug] listing classes in 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
[Click] [trace] find jar url: 
jar:file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
[Click] [trace] inner url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar!/META-INF/resources
[Click] [trace] extracted jar url: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
[Click] [info ] found jar: 
file:/var/lib/tomcat6/webapps/GealogWeb/WEB-INF/lib/click-extras-2.2.0.jar
[Click] [trace] deployed files from jars and folders - 364 ms
[Click] [debug] click.xml pages:
[Click] [debug] /login.htm -> Rootpack.Login
[Click] [debug] /user/select.htm -> Rootpack.Select
[Click] [debug] /user/graphik.htm -> Rootpack.Graphik
[Click] [debug] /user/tabelle.htm -> Rootpack.Tabelle
[Click] [debug] automapped pages:
[Click] [debug] /click/error.htm -> CLASS NOT FOUND
[Click] [trace] class not found: Rootpack.click.Error
[Click] [debug] /click/not-found.htm -> CLASS NOT FOUND
[Click] [trace] class not found: Rootpack.click.NotFound
[Click] [debug] initializing FileLoadService: 
org.apache.click.service.CommonsFileUploadService
[Click] [debug] initializing TemplateService: 
org.apache.click.service.VelocityTemplateService
[Click] [trace] velocity properties: {class.resource.loader.cache=false, 
class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader, 
directive.if.tostring.nullcheck=false, input.encoding=UTF-8, 
resource.loader=webapp, class, 
runtime.log.logsystem.class=org.apache.click.service.VelocityTemplateService$LogChuteAdapter, 
velocimacro.library=/click/VM_global_library.vm, 
velocimacro.library.autoreload=true, webapp.resource.loader.cache=false, 
webapp.resource.loader.class=org.apache.velocity.tools.view.WebappResourceLoader}
[Click] [debug] initializing ResourceService: 
org.apache.click.service.ClickResourceService
[Click] [debug] initializing MessagesMapService: 
org.apache.click.service.DefaultMessagesMapService
[Click] [info ] Click 2.3.0 initialized in trace mode
17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/docs]
17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/examples]
17.06.2011 10:29:34 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/host-manager]

Reinhard


Am 2011-07-12 06:56, schrieb Bob Schellink:
> Hi Reinhard,
>
> Sounds like the template is not processed by Click. What URL are using 
> and what does the log say?
>
> regards
>
> Bob
>
> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>> I am developing a web-application using Eclipse and Apache click 
>> deploing it with a Tomcat 6.6.
>> Everything went fine until i inserted a line to an htm file and 
>> deleted it immediately afterwards.
>> Since then i get the following output to the browser instead of my form:
>>
>> /$headElements $form $jsElements
>> /
>> What could be broken? I am searching for the problem but can not find 
>> any cause.
>>
>> Please give me some hints where to search for the problem.
>>
>> Thanks
>> Reinhard
>>
>

Re: Form no longer displayed

Posted by Reinhard Hnat <hn...@logotronic.co.at>.
I must correct my last posting. The log i have posted is one month old. 
But it is the last information in catalina.out.
Reinhard


Am 2011-07-12 06:56, schrieb Bob Schellink:
> Hi Reinhard,
>
> Sounds like the template is not processed by Click. What URL are using 
> and what does the log say?
>
> regards
>
> Bob
>
> On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
>> I am developing a web-application using Eclipse and Apache click 
>> deploing it with a Tomcat 6.6.
>> Everything went fine until i inserted a line to an htm file and 
>> deleted it immediately afterwards.
>> Since then i get the following output to the browser instead of my form:
>>
>> /$headElements $form $jsElements
>> /
>> What could be broken? I am searching for the problem but can not find 
>> any cause.
>>
>> Please give me some hints where to search for the problem.
>>
>> Thanks
>> Reinhard
>>
>

Re: Form no longer displayed

Posted by Bob Schellink <sa...@gmail.com>.
Hi Reinhard,

Sounds like the template is not processed by Click. What URL are using and what does the log say?

regards

Bob

On 2011/07/11 10:54 AM, Reinhard Hnat wrote:
> I am developing a web-application using Eclipse and Apache click deploing it with a Tomcat 6.6.
> Everything went fine until i inserted a line to an htm file and deleted it immediately afterwards.
> Since then i get the following output to the browser instead of my form:
>
> /$headElements $form $jsElements
> /
> What could be broken? I am searching for the problem but can not find any cause.
>
> Please give me some hints where to search for the problem.
>
> Thanks
> Reinhard
>


Re: Form no longer displayed

Posted by Reinhard Hnat <hn...@logotronic.co.at>.
Yes the servlet and servlet-mapping exist. I did compare the good and 
the bad version usig cvs and there are no differences.


Reinhard


Am 2011-07-11 11:22, schrieb Mike Hoolehan:
> Something else must be causing the issue, as inserting a line and then 
> deleting it from a velocity template would seem to leave you precisely 
> where you started.
>
> Since you're working with Eclipse, try checking your web.xml  If you 
> add/remove the Web Module facet, Eclipse may overwrite it.  Ensure 
> web.xml includes the servlet and servlet-mapping elements as described 
> here: http://click.apache.org/docs/quick-start.html
>
>
> On Mon, Jul 11, 2011 at 11:54, Reinhard Hnat <hnat@logotronic.co.at 
> <ma...@logotronic.co.at>> wrote:
>
>     I am developing a web-application using Eclipse and Apache click
>     deploing it with a Tomcat 6.6. Everything went fine until i
>     inserted a line to an htm file and deleted it immediately
>     afterwards. Since then i get the following output to the browser
>     instead of my form:
>
>     /$headElements $form $jsElements
>     /
>     What could be broken? I am searching for the problem but can not
>     find any cause.
>
>     Please give me some hints where to search for the problem.
>
>     Thanks
>     Reinhard
>
>

Re: Form no longer displayed

Posted by Mike Hoolehan <mi...@hoolehan.com>.
Something else must be causing the issue, as inserting a line and then
deleting it from a velocity template would seem to leave you precisely where
you started.

Since you're working with Eclipse, try checking your web.xml  If you
add/remove the Web Module facet, Eclipse may overwrite it.  Ensure web.xml
includes the servlet and servlet-mapping elements as described here:
http://click.apache.org/docs/quick-start.html


On Mon, Jul 11, 2011 at 11:54, Reinhard Hnat <hn...@logotronic.co.at> wrote:

> **
> I am developing a web-application using Eclipse and Apache click deploing
> it with a Tomcat 6.6. Everything went fine until i inserted a line to an htm
> file and deleted it immediately afterwards. Since then i get the following
> output to the browser instead of my form:
>
> *$headElements $form $jsElements
> *
> What could be broken? I am searching for the problem but can not find any
> cause.
>
> Please give me some hints where to search for the problem.
>
> Thanks
> Reinhard
>
>

Re: Form no longer displayed

Posted by Gilberto <gi...@gmail.com>.
I remembered having this type of error when using @Bindable feature[1]
and this[2] discussion can help.

Hth,

Gilberto

[1] http://click.apache.org/docs/click-api/org/apache/click/util/Bindable.html
[2] http://click.1134972.n2.nabble.com/Bindable-td6036734.html

On Mon, Jul 11, 2011 at 9:30 AM, Gilberto <gi...@gmail.com> wrote:
> Change to TRACE mode in the click.xml file and check the startup log.
> Also, take a time and create a simple test for your click page controller[1].
>
> Regards,
>
> Gilberto
>
> [1] http://click.apache.org/docs/mock-api/overview-summary.html
>
>
> On Mon, Jul 11, 2011 at 5:54 AM, Reinhard Hnat <hn...@logotronic.co.at> wrote:
>> I am developing a web-application using Eclipse and Apache click deploing it
>> with a Tomcat 6.6. Everything went fine until i inserted a line to an htm
>> file and deleted it immediately afterwards. Since then i get the following
>> output to the browser instead of my form:
>>
>> $headElements $form $jsElements
>>
>> What could be broken? I am searching for the problem but can not find any
>> cause.
>>
>> Please give me some hints where to search for the problem.
>>
>> Thanks
>> Reinhard
>>
>

Re: Form no longer displayed

Posted by Gilberto <gi...@gmail.com>.
Change to TRACE mode in the click.xml file and check the startup log.
Also, take a time and create a simple test for your click page controller[1].

Regards,

Gilberto

[1] http://click.apache.org/docs/mock-api/overview-summary.html


On Mon, Jul 11, 2011 at 5:54 AM, Reinhard Hnat <hn...@logotronic.co.at> wrote:
> I am developing a web-application using Eclipse and Apache click deploing it
> with a Tomcat 6.6. Everything went fine until i inserted a line to an htm
> file and deleted it immediately afterwards. Since then i get the following
> output to the browser instead of my form:
>
> $headElements $form $jsElements
>
> What could be broken? I am searching for the problem but can not find any
> cause.
>
> Please give me some hints where to search for the problem.
>
> Thanks
> Reinhard
>